]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Don't crash in iconv setup when getcwd fails.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-02-25 Roland McGrath <roland@hack.frob.com>
2
3 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4 returns a null pointer.
5
62015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9 to __memcpy_ppc only for static builds.
10
112015-02-25 Joseph Myers <joseph@codesourcery.com>
12
13 [BZ #18020]
14 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16 * math/auto-libm-test-in: Add more tests of asinh.
17 * math/auto-libm-test-out: Regenerated.
18 * sysdeps/i386/fpu/libm-test-ulps: Update.
19 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20
212015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
22
23 [BZ #15850]
24 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25 and ip6_mtuinfo definitions here.
26 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
27 in this define too. Update comment.
28
292015-02-24 Benno Schulenberg <bensberg@justemail.net>
30
31 * elf/sprof.c (load_shobj): Tweak error message to match others.
32
332015-02-24 Kevin Easton <kevin@guarana.org>
34
35 [BZ #16145] (partial fix)
36 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37 to reduce lock contention.
38
392015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
40
41 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
42 (struct timex): Update time comment.
43 (ADJ_SETOFFSET): Define.
44
452015-02-24 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #18019]
48 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49 2**56 not 2**28 as threshold for log (2x) formula.
50 * math/auto-libm-test-in: Add more tests of acosh.
51 * math/auto-libm-test-out: Regenerated.
52 * sysdeps/i386/fpu/libm-test-ulps: Update.
53 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54
552015-02-24 Mike Frysinger <vapier@gentoo.org>
56
57 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
58 parenthesis around the buf assignment.
59 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
60
612015-02-24 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #16783]
64 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
65 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
66 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
67 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
68 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
69 * math/libm-test.inc (scalb_test_data): Add more tests.
70
712015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
72
73 [BZ #17916]
74 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
75 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
76
772015-02-24 Eric Rannaud <e@nanocritical.com>
78
79 [BZ #17523]
80 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
81 * io/bits/fcntl2.h (open): Use it.
82 (openat): Likewise.
83 * io/open.c (__libc_open): Likewise.
84 * io/open64.c (__libc_open64): Likewise.
85 * io/open64_2.c (__open64_2): Likewise.
86 * io/open_2.c (__open_2): Likewise.
87 * io/openat.c (__openat): Likewise.
88 * io/openat64.c (__openat64): Likewise.
89 * io/openat64_2.c (__openat64_2): Likewise.
90 * io/openat_2.c (__openat_2): Likewise.
91 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
92 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
93 * sysdeps/posix/open64.c (__libc_open64): Likewise.
94 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
95 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
96 (__open_nocancel): Likewise.
97 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
98 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
99 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
100
1012015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
102
103 [BZ #14841]
104 * resolv/gethnamaddr.c (getanswer): Skip logging if
105 RES_USE_DNSSEC is set.
106 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
107
1082015-02-24 Mike Frysinger <vapier@gentoo.org>
109
110 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
111
1122015-02-23 Alexandre Oliva <aoliva@redhat.com>
113
114 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
115 201304L, for Unicode 7.
116
1172015-02-23 H.J. Lu <hongjiu.lu@intel.com>
118
119 [BZ #17836]
120 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
121 shared library. Add gmon-start.os otherwise.
122 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
123 $(objpfx)gmon-start.os if builing shared library.
124 ($(objpfx)g$(static-start-installed-name)): Likewise.
125
1262015-02-23 Andreas Schwab <schwab@suse.de>
127
128 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
129
1302015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
131
132 [BZ #17269]
133 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
134 (enlarge_userbuf): Likewise.
135
1362015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
137
138 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
139 * math/atest-exp.c (TIMEOUT): Adjust to 200.
140 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
141 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
142
1432015-02-20 Joseph Myers <joseph@codesourcery.com>
144
145 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
146 expression inside statement expression.
147
1482015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
149
150 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
151 <sysdeps/nptl/lowlevellock.h> and remove macros and
152 functions that are now defined there.
153 (SYS_futex): Remove.
154 (lll_compare_and_swap): Remove.
155 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
156
1572015-02-19 Joseph Myers <joseph@codesourcery.com>
158
159 [BZ #17999]
160 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
161 instead of scandirat.
162 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
163 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
164 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
165 __scandirat.
166 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
167 (__scandirat): Declare. Use libc_hidden_proto.
168 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
169 Remove variable.
170 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
171
1722015-02-18 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #15319]
175 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
176 (MO): New macro.
177 (__ieee754_atan2): For results with small absolute value, force
178 underflow exception and remove excess range and precision from
179 return value.
180 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
181 (MO): New macro.
182 (__ieee754_atan2f): For results with small absolute value, force
183 underflow exception and remove excess range and precision from
184 return value.
185 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
186 (MO): New macro.
187 (__atan): For results with small absolute value, force underflow
188 exception and remove excess range and precision from return value.
189 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
190 (MO): New macro.
191 (__atanf): For results with small absolute value, force underflow
192 exception and remove excess range and precision from return value.
193 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
194 <math.h>.
195 (__ieee754_atan2): Force underflow exception for results with
196 small absolute value.
197 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
198 <math_private.h>.
199 (atan): Force underflow exception for results with small absolute
200 value.
201 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
202 (__atanf): Force underflow exception for results with small
203 absolute value.
204 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
205 <math.h>.
206 (__atanl): Force underflow exception for results with small
207 absolute value.
208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
209 (__atanl): Force underflow exception for results with small
210 absolute value.
211 * sysdeps/x86/fpu/bits/mathinline.h
212 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
213 (__ieee754_atan2): Only define inline for long double.
214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
215 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
216 * math/auto-libm-test-in: Do not mark underflow exceptions as
217 possibly missing for bug 15319. Add more tests of atan2.
218 * math/auto-libm-test-out: Regenerated.
219 * math/libm-test.inc (casin_test_data): Do not mark underflow
220 exceptions as possibly missing for bug 15319.
221 (casinh_test_data): Likewise.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223
2242015-02-18 Steve Ellcey <sellcey@imgtec.com>
225
226 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
227 * sysdeps/mips/bits/endian.h: Fix comments.
228
2292015-02-18 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #17996]
232 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
233 (hdestroy_r): Likewise.
234 (hsearch_r): Likewise.
235 (__hcreate_r): Declare and use libc_hidden_proto.
236 (__hdestroy_r): Likewise.
237 (__hsearch_r): Likewise.
238 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
239 (hcreate): Call __hcreate_r instead of hcreate_r.
240 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
241 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
242 as weak alias of __hcreate_r.
243 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
244 __hdestroy_r.
245 (hsearch_r): Rename to __hsearch_r and define as weak alias of
246 __hsearch_r.
247 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
248 Remove variable.
249 (test-xfail-XPG4/search.h/linknamespace): Likewise.
250 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
251 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
253
2542015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
255
256 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
257 arena_lock into a single arena_get.
258
2592015-02-17 Carlos O'Donell <carlos@redhat.com>
260
261 * dl-reloc.c: Inlucde libc-internal.h.
262 (_dl_try_allocate_static_tls): Call ALIGN_UP.
263 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
264 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
265 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
266 (grow_heap): Likewise.
267 * malloc/malloc.c: Include libc-internal.h.
268 (do_check_malloc): Call powerof2.
269 (sysmalloc): Use pagesize. Call ALIGN_UP.
270 (systrim): Use pagesize.
271 (mremap_chunk): Use pagesize. Call ALIGN_UP.
272 (__libc_valloc): Use pagesize.
273 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
274
2752015-02-17 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #17991]
278 * include/sys/resource.h (__getrlimit64): Declare. Use
279 libc_hidden_proto.
280 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
281 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
282 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
283 getrlimit64.
284 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
285 __getrlimit64.
286 [!getrlimit64] (getrlimit64): Define as weak alias of
287 __getrlimit64. Use libc_hidden_weak.
288 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
289 using __getrlimit64 not __new_getrlimit64.
290 (__GI_getrlimit64): Likewise.
291 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
292 Likewise.
293 (__GI_getrlimit64): Likewise.
294 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
296 (getrlimit): Add __getrlimit64 alias.
297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
298 Likewise.
299 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
300 Remove variable.
301 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
302 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
303
3042015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
305
306 * libio/fileops.c: Add missing sys/mman.h
307 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
308
3092015-02-17 Joseph Myers <joseph@codesourcery.com>
310
311 * manual/math.texi (Errors in Math Functions): Clarify goals
312 regarding inexact and underflow exceptions.
313
3142015-02-17 Steve Ellcey <sellcey@imgtec.com>
315
316 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
317 * sysdeps/mips/memset.S: Ditto.
318
3192015-02-17 Steve Ellcey <sellcey@imgtec.com>
320
321 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
322
3232015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
324
325 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
326 (__v1longjmp): Remove versioned symbol.
327 (__v1siglongjmp): Remove alias and versioned symbol.
328 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
329 (__v2siglongjmp): Likewise.
330
3312015-02-16 Torvald Riegel <triegel@redhat.com>
332
333 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
334
3352015-02-16 Mike Frysinger <vapier@gentoo.org>
336
337 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
338
3392015-02-16 Joseph Myers <joseph@codesourcery.com>
340
341 [BZ #17987]
342 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
343 zero result does not depend on the sign resulting from
344 subtraction.
345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
346 Likewise.
347 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
348 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
350 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
351 * math/libm-test.inc (remquo_test_data): Add more tests.
352
3532015-02-16 Paul Eggert <eggert@cs.ucla.edu>
354
355 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
356 Problem reported by J William Piggott.
357
3582015-02-16 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #17978]
361 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
362 products 4 * y and 2 * y where those would overflow.
363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
364 Likewise.
365 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
366 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
367 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
368 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
369 * math/libm-test.inc (remquo_test_data): Add more tests.
370
371 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
372
373 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
374 [defined _COMPILING_NEWLIB].
375 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
376 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
377
378 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
379 [!defined __mips_isa_rev || __mips_isa_rev < 6].
380
3812015-02-16 Torvald Riegel <triegel@redhat.com>
382
383 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
384 acquired.
385
3862015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
387
388 [BZ #17792]
389 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
390 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
391 HOST_STACK_END_ADDR): Likewise.
392
3932015-02-13 Steve Ellcey <sellcey@imgtec.com>
394
395 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
396 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
397 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
398
3992015-02-13 Roland McGrath <roland@hack.frob.com>
400
401 * sysdeps/generic/c++-types.data: New file.
402 * sysdeps/generic/ld.abilist: New file.
403 * sysdeps/generic/libBrokenLocale.abilist: New file.
404 * sysdeps/generic/libanl.abilist: New file.
405 * sysdeps/generic/libc.abilist: New file.
406 * sysdeps/generic/libcrypt.abilist: New file.
407 * sysdeps/generic/libdl.abilist: New file.
408 * sysdeps/generic/libm.abilist: New file.
409 * sysdeps/generic/libpthread.abilist: New file.
410 * sysdeps/generic/libresolv.abilist: New file.
411 * sysdeps/generic/librt.abilist: New file.
412
4132015-02-13 Joseph Myers <joseph@codesourcery.com>
414
415 [BZ #17569]
416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
417 Compute absolute value of x as modified by fmod, not original
418 value of x.
419 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
420 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
421 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
422 RUN_TEST_ffI_f1_mod8.
423 (remquo_test_data): Add more tests.
424
4252015-02-13 Roland McGrath <roland@hack.frob.com>
426
427 * sysdeps/init_array/pt-crti.S: New file.
428
4292015-02-13 Joseph Myers <joseph@codesourcery.com>
430
431 [BZ #17967]
432 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
433 __builtin_fmaf instead of relying on contraction of a * b + c.
434
4352015-02-12 J William Piggott <elseifthen@gmx.com>
436
437 [BZ #17969]
438 * manual/time.texi: correct the zoneinfo path in the TZ Variable
439 node.
440
4412015-02-12 Joseph Myers <joseph@codesourcery.com>
442
443 [BZ #17964]
444 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
445 __builtin_fma instead of relying on contraction of a * b + c.
446
4472015-02-12 Roland McGrath <roland@hack.frob.com>
448
449 * Makeconfig (ASFLAGS): Add -Werror=undef.
450 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
451 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
452 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
453
454 * Makeconfig (after-link): New variable.
455 (+link-pie, +link-pie-tests): Use it.
456 (+link-static, +link-static-tests): Likewise.
457 (+link, +link-tests): Likewise.
458 * Makerules (build-module, build-module-asneeded): Likewise.
459 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
460 Likewise.
461 * elf/Makefile ($(objpfx)ld.so): Likewise.
462
4632015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
464
465 [BZ #17965]
466 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
467 both struct timeval and struct timespec.
468
4692015-02-12 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #16560]
472 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
473 and redefine.
474 (__ieee754_exp2l): Do not multiply small fractional parts by
475 M_LN2l.
476 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
477 small argument.
478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
479 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
480 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
481 * math/auto-libm-test-in: Add more tests of exp2.
482 * math/auto-libm-test-out: Regenerated.
483
4842015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
485
486 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
487 unaligned path.
488
4892015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
490
491 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
492 little endian.
493
4942015-02-12 Andreas Schwab <schwab@suse.de>
495
496 [BZ #15790]
497 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
498 Filter out elision flags from value returned in kind.
499 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
500 * nptl/tst-pthread-mutexattr.c: New file.
501
5022015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
503
504 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
505 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
506 into gnu-gnu, and update comment to refer to abi-tags.
507
5082015-02-11 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #15467]
511 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
512 (__sincos): Set errno to EDOM for infinite argument.
513 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
514 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
515 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
516 (__sincosl): Set errno to EDOM for infinite argument.
517 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
518 (__sincosl): Set errno to EDOM for infinite argument.
519 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
520 (__sincosl): Set errno to EDOM for infinite argument.
521 * math/libm-test.inc (sincos_test_data): Test errno setting.
522
5232015-02-11 Leonhard Holz <leonhard.holz@web.de>
524
525 * string/strxfrm_l.c: Remove #define STRCMP.
526 * string/strcoll_l.c: Remove #define STRLEN.
527 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
528 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
529
5302015-02-10 Joseph Myers <joseph@codesourcery.com>
531
532 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
533 * sysdeps/mips/mips32/sfp-machine.h: ... here.
534 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
535 * sysdeps/mips/mips64/Makefile: ... here.
536 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
537 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
538 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
539 * sysdeps/mips/mips64/sfp-machine.h: ... here.
540 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
541 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
542 * sysdeps/mips/mips64/n64/Implies: Likewise.
543
5442015-02-10 Roland McGrath <roland@hack.frob.com>
545
546 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
547 <sys/time.h>, <string.h>, and <errno.h>.
548 (dest_offset, dest_address, value, zero): Remove unused variables.
549 (ldouble): Remove typedef.
550 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
551 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
552 1). Fix code style.
553 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
554 (check): Function removed.
555 (CHECK): New macro.
556 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
557 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
558 Don't call set_sigaction_FP and remove_sigaction_FP here.
559 (ldouble_test): Just use 'long double' as macro argument, no need for
560 the 'ldouble' typedef.
561 (do_test): Set up SIGFPE handler at start, using plain signal rather
562 than sigaction. Fix code style.
563
5642015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
565
566 [BZ #17949]
567 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
568 jump label.
569
5702015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
571
572 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
573 * sysdeps/powerpc/powerpc32/configure: Regenerated.
574
575 * sysdeps/powerpc/configure.ac: Remove file.
576 * sysdeps/powerpc/configure: Likewise.
577
578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
579 [sysdep_routines]: Remove wordcopy-power6 object.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
581 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
583 (__memmove_ppc32): Likewise.
584 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
585 file.
586 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
587 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
588 Remove preprocessor.
589
590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
591 [sysdep_routines]: Remove wide chars objects.
592 [wcsmbs]: New rule for wide char objects.
593
594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
595 Remove wordcopy-power6 obejct.
596 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
597 Use local call for wordcopy and memcpy symbols.
598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
600 implementation for loader.
601 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
602
603 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
604 Remove wordcopy-power7 object.
605 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
606 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
607 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
608 (_wordcopy_fwd_dest_aligned): Likewise.
609 (_wordcopy_bwd_aligned): Likewise.
610 (_wordcopy_bwd_dest_aligned): Likewise.
611
612 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
613 Rewrite to call __memmove_ppc instead of include default
614 implementation.
615
616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
617 Remove wide chars objects.
618 [wcsmbs]: New rule for wide char objects.
619
6202015-02-09 Andreas Schwab <schwab@suse.de>
621
622 [BZ #17912]
623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
624 in terms of __O_DIRECTORY.
625
6262015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
627
628 * time/getdate.c: Include <stdbool.h>.
629 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
630 call PTR_MANGLE.
631 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
632 PTR_DEMANGLE.
633
6342015-02-07 Paul Eggert <eggert@cs.ucla.edu>
635
636 Add ersatz _Static_assert on older C hosts
637 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
638 pre-C11 C platform that is not known to support _Static_assert.
639
6402015-02-07 Richard Braun <rbraun@sceen.net>
641
642 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
643 sigstate.
644 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
645
6462015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
647
648 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
649 priority against unexistent AIO_PRIO_DELTA_MAX.
650 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
651 instead of int.
652 * misc/fchflags.c (fchflags): Likewise.
653 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
654 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
655 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
656 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
657 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
658 Declare macros.
659 [__USE_MISC] (chflags, fchflags): Declare functions.
660 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
661 EINVAL when nfds is greater than FD_SETSIZE.
662 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
663 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
664 45.
665 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
666 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
667 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
668 MACH_RCV_TIMED_OUT.
669 * hurd/hurd/signal.h (_hurd_self_sigstate,
670 _hurd_critical_section_lock, _hurd_critical_section_unlock):
671 Explicit casts from void *.
672 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
673 * abi-tags: Rename gnu-gnu os into gnu.
674
675 [BZ #4719]
676 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
677 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
678 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
679 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
680 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
681 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
682
683 [BZ #17944]
684 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
685 duplicates ADDR->sun_path with sockaddr LEN limitation.
686 * sysdeps/mach/hurd/connect.c: Include <string.h>
687 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
688 * sysdeps/mach/hurd/sendmsg.c: Likewise.
689 * sysdeps/mach/hurd/sendto.c: Likewise.
690 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
691 implementing it by hand.
692
6932015-02-06 Roland McGrath <roland@hack.frob.com>
694
695 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
696 Use sfi_breg on ldr.
697 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
698 Likewise.
699
700 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
701 it's defined.
702 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
703 Test SIGSETXID only if it's defined.
704
705 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
706
707 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
708 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
709
710 * nptl/tst-align2.c: Moved ...
711 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
712 * nptl/Makefile (tests): Remove tst-align2.
713 * sysdeps/unix/sysv/linux/Makefile
714 [$(subdir) = nptl] (tests): Add tst-align-clone.
715 * nptl/tst-getpid1.c: Moved ...
716 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
717 * nptl/tst-getpid2.c: Moved ...
718 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
719 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
720 * sysdeps/unix/sysv/linux/Makefile
721 [$(subdir) = nptl] (tests): ... here.
722 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
723 * sysdeps/unix/sysv/linux/Makefile
724 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
725
726 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
727 Drop trailing \n from perror argument. Use return rather than exit.
728
729 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
730 on [SA_SIGINFO].
731 * nptl/tst-cancel21.c (do_test): Likewise.
732 * debug/tst-backtrace6.c: Include <signal.h> first thing.
733 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
734 [!SA_SIGINFO]: Make it a stub test.
735
736 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
737 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
738
739 * posix/tst-getlogin.c: Move to ...
740 * login/tst-getlogin.c: ... here.
741 * posix/Makefile (tests): Move tst-getlogin to ...
742 * login/Makefile (tests): ... here.
743
744 * libio/tst-atime.c (do_test): Move local variables SV and E
745 inside [ST_NOATIME] conditional.
746
747 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
748
749 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
750
751 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
752 (wait_code): New function replaces macro.
753 Call nanosleep rather than syscall.
754
755 * nptl/pt-system.c: Rewritten. Put everything under
756 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
757 Use IFUNC to redirect when possible.
758
759 * nptl/pt-longjmp.c: Rewritten. Put everything under
760 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
761 Use IFUNC to redirect when possible.
762
763 * nptl/pt-fork.c: Rewritten. Put everything under
764 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
765 Use IFUNC to redirect when possible.
766 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
767
768 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
769 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
770 unconditionally nowadays. This included the only reference to
771 __vdso_clock_gettime that appears outside libc proper.
772 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
773 Remove version set (containing only __vdso_clock_gettime).
774 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
775 Add attribute_hidden.
776 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
777 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
778 libc_hidden_data_def.
779 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
780 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
781
782 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
783 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
784 setrpcent, and getrpcport to ...
785 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
786 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
787 getrpcbynumber_r, and getrpcent_r to ...
788 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
789 * inet/getrpcbyname.c: Moved ...
790 * sunrpc/getrpcbyname.c: ... here.
791 * inet/getrpcbyname_r.c: Moved ...
792 * sunrpc/getrpcbyname_r.c: ... here.
793 * inet/getrpcbynumber.c: Moved ...
794 * sunrpc/getrpcbynumber.c: ... here.
795 * inet/getrpcbynumber_r.c: Moved ...
796 * sunrpc/getrpcbynumber_r.c: ... here.
797 * inet/getrpcent.c: Moved ...
798 * sunrpc/getrpcent.c: ... here.
799 * inet/getrpcent_r.c: Moved ...
800 * sunrpc/getrpcent_r.c: ... here.
801 * inet/Makefile (routines): Move those to ...
802 * sunrpc/Makefile (routines): ... here.
803 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
804 the $(subdirs) list.
805 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
806 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
807 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
808 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
809
810 * elf/Makefile (routines): Include $(all-dl-routines), not just
811 $(dl-routines).
812 (rtld-routines): Likewise. Use = rather than :=.
813 * sysdeps/aarch64/Makefile [$(subdir) = elf]
814 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
815 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
816 * sysdeps/arm/Makefile: Likewise.
817 * sysdeps/i386/Makefile: Likewise.
818 * sysdeps/x86_64/Makefile: Likewise.
819 * sysdeps/hppa/Makefile [$(subdir) = elf]
820 (sysdep_routines, sysdep-rtld-routines): Don't add
821 $(sysdep-dl-routines) to these.
822 * sysdeps/ia64/Makefile: Likewise.
823 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
824 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
825 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
826 Don't add dl-static to these; sysdep-dl-routines alone is enough.
827 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
828 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
830 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
831 * sysdeps/powerpc/Makefile [$(subdir) = elf]
832 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
833 these; sysdep-dl-routines alone is enough.
834
8352015-02-06 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #17932]
838 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
839 where multiplication results in zero and third argument is finite
840 and nonzero.
841 * math/auto-libm-test-in: Add more tests of fma.
842 * math/auto-libm-test-out: Regenerated.
843
844 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
845 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
846 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
847 (_FP_CMP_EQ): Likewise.
848 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
849
850 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
851 extra argument CHECK_NAN. Redefine as wrapper around
852 _FP_EXTEND_CNAN.
853
8542015-02-06 Carlos O'Donell <carlos@systemhalted.org>
855
856 * version.h (RELEASE): Set to "stable".
857 (VERSION): Set to "2.21"
858 * include/features.h (__GLIBC_MINOR__): Set to 21.
859
860 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
861
8622015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
863 Paul Eggert <eggert@cs.ucla.edu>
864
865 [BZ #16618]
866 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
868 size in bytes. Store needed elements in wpmax. Use needed size
869 in bytes for extend_alloca.
870
8712015-02-05 Carlos O'Donell <carlos@systemhalted.org>
872
873 * manual/install.texi: Latest tested versions are GCC 4.9.2,
874 binutls 2.25, and texinfo 5.2.
875 * INSTALL: Regenerate.
876 * sysdeps/nios2/configure: Regenerate.
877 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
878 * manual/contrib.texi: Update.
879 * po/be.po: Update.
880 * po/bg.po: Update.
881 * po/ca.po: Update.
882 * po/cs.po: Update.
883 * po/da.po: Update.
884 * po/de.po: Update.
885 * po/el.po: Update.
886 * po/eo.po: Update.
887 * po/es.po: Update.
888 * po/fi.po: Update.
889 * po/fr.po: Update.
890 * po/gl.po: Update.
891 * po/hr.po: Update.
892 * po/hu.po: Update.
893 * po/ia.po: Update.
894 * po/id.po: Update.
895 * po/it.po: Update.
896 * po/ja.po: Update.
897 * po/ko.po: Update.
898 * po/lt.po: Update.
899 * po/nb.po: Update.
900 * po/nl.po: Update.
901 * po/pl.po: Update.
902 * po/pt_BR.po: Update.
903 * po/ru.po: Update.
904 * po/rw.po: Update.
905 * po/sk.po: Update.
906 * po/sl.po: Update.
907 * po/sv.po: Update.
908 * po/tr.po: Update.
909 * po/uk.po: Update.
910 * po/vi.po: Update.
911 * po/zh_CN.po: Update.
912 * po/zh_TW.po: Update.
913
914 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
915 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
916 * sysdeps/hppa/dl-irel.h: Remove #warning.
917 * sysdeps/hppa/entry.h: Provide prototype for
918 __canonicalize_funcptr_for_compare and cast argument.
919 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
920 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
921 * sysdeps/hppa/sotruss-lib.c: New file.
922 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
923 (atomic_compare_and_exchange_val_acq): Use __typeof__.
924 (atomic_compare_and_exchange_bool_acq): Likewise.
925 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
926 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
927
928 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
929 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
930 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
931
9322015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
933
934 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
935 called function in non-PIC case.
936
9372015-01-31 David S. Miller <davem@davemloft.net>
938
939 * sysdeps/sparc/sparc32/bits/atomic.h
940 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
941 unlock not after it.
942 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
943 volatile register usage warnings from the compiler.
944
945 * sysdeps/sparc/nptl/sem_init.c: Delete.
946 * sysdeps/sparc/nptl/sem_post.c: Delete.
947 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
948 * sysdeps/sparc/nptl/sem_wait.c: Delete.
949 * sysdeps/sparc/sparc32/sem_init.c: New file.
950 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
951 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
952 padding explicitly initialized.
953 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
954 padding for in-semaphore spinlock.
955 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
956 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
957 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
958 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
959 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
960 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
961 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
962 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
963 version.
964 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
965 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
966
9672015-01-30 H.J. Lu <hongjiu.lu@intel.com>
968
969 [BZ #17801]
970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
971 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
972 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
973 New.
974 (index_AVX_Fast_Unaligned_Load): Likewise.
975 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
976 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
977 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
978 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
979 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
980 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
981 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
982 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
983 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
984
9852015-01-29 Andreas Schwab <schwab@suse.de>
986
987 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
988
9892015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
990
991 [BZ #17892]
992 * nscd/nscd_stat.c (send_stats): Initialize DATA.
993
9942015-01-28 Martin Sebor <msebor@redhat.com>
995
996 * math/README.libm-test: Clarify. Add "How to read the test output."
997
9982015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
999
1000 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1001 Define to 0.
1002
10032015-01-28 Joseph Myers <joseph@codesourcery.com>
1004
1005 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1006 (__HAVE_64B_ATOMICS): Define to 0.
1007
10082015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1009
1010 [BZ #17885]
1011 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1012 value to set as new flag.
1013
1014 [BZ #16576]
1015 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1016 and use _ARCH_PPCSQ instead.
1017 (__ieee754_sqrt): Likewise.
1018 (__ieee754_sqrtf): Likewise.
1019 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1020 _ARCH_PPCSQ is defined.
1021 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1022 fsqrt instruction.
1023 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1024 _ARCH_PPCSQ is defined.
1025 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1026 fsqrts instruction.
1027 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1028
10292015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1030
1031 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1032 bug (GCC BZ #64739).
1033
10342015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1035
1036 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1037 Mark _retval as used.
1038 (lll_futex_wake_unlock): Likewise.
1039 (lll_futex_timed_wait_requeue_pi): Likewise.
1040
1041 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1042 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1043 register variables.
1044
1045 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1046 libm_hidden_def.
1047
1048 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1049 (__bswap_64): Mark as __always_inline.
1050
10512015-01-25 Bram <bug_rh@spam.wizbit.be>
1052
1053 [BZ #15378]
1054 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1055 when none of the search directories exist.
1056
10572015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1058
1059 [BZ #17869]
1060 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1061 power8 in .machine directive.
1062
1063 [BZ #17868]
1064 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1065 set dependency from opd value.
1066
10672015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1070 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1071 architecture.
1072
10732015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 [BZ #17870]
1076 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1077 with uint64_t.
1078 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1079 (uint64_t) 1.
1080 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1081 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1082 Replace 1UL with (uint64_t) 1.
1083 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1084 int with uint64_t.
1085
10862015-01-23 Roland McGrath <roland@hack.frob.com>
1087
1088 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1089 (if_freenameindex): Likewise.
1090
1091 * resource/getrlimit64.c: Add missing libc_hidden_def.
1092
10932015-01-22 Joseph Myers <joseph@codesourcery.com>
1094
1095 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1096 __label__.
1097 (_FP_FMA): Likewise.
1098 (_FP_TO_INT_ROUND): Likewise.
1099 (_FP_FROM_INT): Likewise.
1100
11012015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102
1103 [BZ #16418]
1104 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1105 Make code racy and cancel safe.
1106
11072015-01-21 Carlos O'Donell <carlos@redhat.com>
1108
1109 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1110 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1111 attribution.
1112
1113 * pwd/tst-getpw.c: Rewrite.
1114
1115 [BZ #17702]
1116 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1117 (modules-names): Add moddummy1 and moddummy2.
1118 ($(objpfx)tst-rec-dlopen): Define.
1119 * dlfcn/moddummy1.c: New file.
1120 * dlfcn/moddummy2.c: New file.
1121 * dlfcn/tst-rec-dlopen.c: New file.
1122 * elf/dl-cache.c (_dl_load_cache_lookup):
1123 Return char*. Copy result with alloca/strcpy/strdup.
1124 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1125 returns char*. Free cached. If not saving realname
1126 free cached.
1127 * elf/dl-open.c (dl_open_worker): Do not assert that
1128 _r_debug->r_state is RT_CONSISTENT.
1129 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1130 returns char*.
1131
11322015-01-21 Torvald Riegel <triegel@redhat.com>
1133 Carlos O'Donell <carlos@redhat.com>
1134
1135 [BZ #12674]
1136 * nptl/sem_waitcommon.c: New file.
1137 * nptl/sem_wait.c: Include sem_waitcommon.c.
1138 (__sem_wait_cleanup, do_futex_wait): Remove.
1139 (__new_sem_wait): Adapt.
1140 (__new_sem_trywait): New function.
1141 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1142 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1143 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1144 (sem_timedwait): Adapt.
1145 * nptl/sem_post.c (__new_sem_post): Adapt.
1146 (futex_wake): New function.
1147 (__old_sem_post): Add release MO fence.
1148 * nptl/sem_open.c (sem_open): Adapt.
1149 * nptl/sem_init.c (__new_sem_init): Adapt.
1150 (futex_private_if_supported): New function.
1151 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1152 (__old_sem_getvalue): Add using previous code.
1153 * sysdeps/nptl/internaltypes.h: Adapt.
1154 * nptl/tst-sem13.c (do_test): Adapt.
1155 * nptl/tst-sem11.c (main): Adapt.
1156 * nptl/sem_trywait.c: Remove.
1157 * nptl/DESIGN-sem.txt: Remove.
1158 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1159 (gen-as-const-headers): Remove structsem.sym.
1160 * nptl/structsem.sym: Remove.
1161 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1162 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1163 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1164 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1165 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1166 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1167 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1168 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1169 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1170 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1171 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1172 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1173 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1174 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1175 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1176 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1177 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1178 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1179 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1180 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1181 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1182 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1183
11842015-01-20 Carlos O'Donell <carlos@redhat.com>
1185
1186 * INSTALL: Regenerated.
1187
1188 * po/libc.pot: Regenerated.
1189
11902015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1191 Sandra Loosemore <sandra@codesourcery.com>
1192 Andrew Jenner <andrew@codesourcery.com>
1193 Joseph Myers <joseph@codesourcery.com>
1194 Nathan Sidwell <nathan@codesourcery.com>
1195
1196 * NEWS: Mention new Nios II port.
1197 * sysdeps/nios2/Implies: New file.
1198 * sysdeps/nios2/Makefile: New file.
1199 * sysdeps/nios2/Subdirs: New file.
1200 * sysdeps/nios2/Versions: New file.
1201 * sysdeps/nios2/__longjmp.S: New file.
1202 * sysdeps/nios2/abort-instr.h: New file.
1203 * sysdeps/nios2/backtrace.c: New file.
1204 * sysdeps/nios2/bits/endian.h: New file.
1205 * sysdeps/nios2/bits/fenv.h: New file.
1206 * sysdeps/nios2/bits/link.h: New file.
1207 * sysdeps/nios2/bits/setjmp.h: New file.
1208 * sysdeps/nios2/bsd-_setjmp.S: New file.
1209 * sysdeps/nios2/bsd-setjmp.S: New file.
1210 * sysdeps/nios2/configure: New generated file.
1211 * sysdeps/nios2/configure.ac: New file.
1212 * sysdeps/nios2/crti.S: New file.
1213 * sysdeps/nios2/crtn.S: New file.
1214 * sysdeps/nios2/dl-init.c: New file.
1215 * sysdeps/nios2/dl-machine.h: New file.
1216 * sysdeps/nios2/dl-sysdep.h: New file.
1217 * sysdeps/nios2/dl-tls.h: New file.
1218 * sysdeps/nios2/dl-trampoline.S: New file.
1219 * sysdeps/nios2/gccframe.h: New file.
1220 * sysdeps/nios2/gmp-mparam.h: New file.
1221 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1222 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1223 * sysdeps/nios2/ldsodefs.h: New file.
1224 * sysdeps/nios2/libc-tls.c: New file.
1225 * sysdeps/nios2/libm-test-ulps: New file.
1226 * sysdeps/nios2/machine-gmon.h: New file.
1227 * sysdeps/nios2/math-tests.h: New file.
1228 * sysdeps/nios2/math_private.h: New file.
1229 * sysdeps/nios2/memusage.h: New file.
1230 * sysdeps/nios2/nptl/Makefile: New file.
1231 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1232 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1233 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1234 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1235 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1236 * sysdeps/nios2/nptl/tls.h: New file.
1237 * sysdeps/nios2/preconfigure: New file.
1238 * sysdeps/nios2/s_fma.c: New file.
1239 * sysdeps/nios2/s_fmaf.c: New file.
1240 * sysdeps/nios2/setjmp.S: New file.
1241 * sysdeps/nios2/sfp-machine.h: New file.
1242 * sysdeps/nios2/sotruss-lib.c: New file.
1243 * sysdeps/nios2/stackguard-macros.h: New file.
1244 * sysdeps/nios2/stackinfo.h: New file.
1245 * sysdeps/nios2/start.S: New file.
1246 * sysdeps/nios2/sysdep.h: New file.
1247 * sysdeps/nios2/tls-macros.h: New file.
1248 * sysdeps/nios2/tst-audit.h: New file.
1249 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1250 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1251 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1252 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1253 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1254 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1255 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1256 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1257 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1258 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1259 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1260 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1261 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1262 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1263 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1264 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1265 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1266 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1267 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1268 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1269 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1270 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1271 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1272 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1273 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1274 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1275 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1276 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1277 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1278 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1279 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1280 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1281 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1282 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1283 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1284 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1285 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1286 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1287 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1288 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1289 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1290 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1291 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1292 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1293
12942015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1295
1296 [BZ #17844]
1297 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1298 (getutent): Use weak_alias in non SHARED case
1299 and default_symbol_version in SHARED case.
1300 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1301 (getutent_r, pututline): Likewise.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1303 (getutid): Likewise.
1304 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1305 (getutid_r): Likewise.
1306 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1307 (getutline): Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1309 (getutline_r): Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1311 (updwtmp): Likewise.
1312
13132015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1314
1315 [BZ #17848]
1316 * sysdeps/s390/s390-32/memcmp.S
1317 (memcmp_g5): Rename to __memcmp_g5.
1318 * sysdeps/s390/s390-32/memcpy.S
1319 (memcpy_g5): Rename to __memcpy_g5.
1320 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1321 (memcpy_mvcle) Rename to __memcpy_mvcle.
1322 * sysdeps/s390/s390-32/memset.S
1323 (memset_g5): Rename to __memset_g5.
1324 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1325 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1326 and use prefixed functions.
1327 * sysdeps/s390/s390-32/multiarch/memcmp.S
1328 (memcmp_z196): Rename to __memcmp_z196.
1329 (memcmp_z10): Rename to __memcmp_z10.
1330 (memcmp): Set alias to __memcmp_g5.
1331 (bcmp): Set alias to __memcmp_g5.
1332 * sysdeps/s390/s390-32/multiarch/memcpy.S
1333 (memcpy_z196): Rename to __memcpy_z196.
1334 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1335 (memcpy_z10): Rename to __memcpy_z10.
1336 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1337 (memcpy): Set alias to __memcpy_g5.
1338 * sysdeps/s390/s390-32/multiarch/memset.S
1339 (memset_z196): Rename to __memset_z196.
1340 Jump to __memset_mvcle instead of memset_mvcle.
1341 (memset_z10): Rename to __memset_z10.
1342 Jump to __memset_mvcle instead of memset_mvcle.
1343 (memset_mvcle) Rename to __memset_mvcle.
1344 (memset): Set alias to __memset_g5.
1345 * sysdeps/s390/s390-64/memcmp.S
1346 (memcmp_z900): Rename to __memcmp_z900.
1347 * sysdeps/s390/s390-64/memcpy.S
1348 (memcpy_z900): Rename to __memcpy_z900.
1349 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1350 (memcpy_mvcle) Rename to __memcpy_mvcle.
1351 * sysdeps/s390/s390-64/memset.S
1352 (memset_z900): Rename to __memset_z900.
1353 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1354 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1355 and use prefixed functions.
1356 * sysdeps/s390/s390-64/multiarch/memcmp.S
1357 (memcmp_z196): Rename to __memcmp_z196.
1358 (memcmp_z10): Rename to __memcmp_z10.
1359 (memcmp): Set alias to __memcmp_z900.
1360 (bcmp): Set alias to __memcmp_z900.
1361 * sysdeps/s390/s390-64/multiarch/memcpy.S
1362 (memcpy_z196): Rename to __memcpy_z196.
1363 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1364 (memcpy_z10): Rename to __memcpy_z10.
1365 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1366 (memcpy): Set alias to __memcpy_z900.
1367 * sysdeps/s390/s390-64/multiarch/memset.S
1368 (memset_z196): Rename to __memset_z196.
1369 Jump to __memset_mvcle instead of memset_mvcle.
1370 (memset_z10): Rename to __memset_z10.
1371 Jump to __memset_mvcle instead of memset_mvcle.
1372 (memset_mvcle) Rename to __memset_mvcle.
1373 (memset): Set alias to __memset_z900.
1374
13752015-01-14 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #17748]
1378 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1379 __fesetenv instead of fesetenv.
1380
13812015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1382
1383 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1384 macro.
1385
13862015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1389 regression on LE.
1390
1391 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1392 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1393 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1394 strncmp-power8 object.
1395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1396 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1397 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1398 * NEWS: Update.
1399
14002015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1401 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402
1403 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1404 trailing byte check.
1405
14062015-01-13 David S. Miller <davem@davemloft.net>
1407
1408 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1409
14102015-01-13 Roland McGrath <roland@hack.frob.com>
1411
1412 * login/logout.c (logout): Use memset rather than bzero.
1413 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1414 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1415 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1416 (_gethtbyaddr): Likewise.
1417 * locale/programs/simple-hash.c (bcopy): Macro removed.
1418
14192015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1420
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1422 Add strcmp-power8 object.
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1425 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1426 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1427 __strcmp_power8 implementation.
1428 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1429 * NEWS: Update.
1430
1431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1432 Add strncpy-power8 and stpncpy-power8 objects.
1433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1434 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1435 implementations.
1436 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1437 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1438 __stpncpy_power8 implementation.
1439 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1440 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1441 __strncpy_power8 implementation.
1442 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1443 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1444 * NEWS: Update.
1445
1446 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1447 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1448 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1449
1450 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1451 strncat-power8 object.
1452 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1453 __strcat_power8 implementation.
1454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1455 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1456 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1457 optimized strcat for power8.
1458
1459 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1460 strcpy-power8 and stpcpy-power8 objects.
1461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1462 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1463 implementations.
1464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1465 multiarch stpcpy implementation for POWER8.
1466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1467 multiarch strcpy implementation for POWER8.
1468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1469 __strcpy_power8 function.
1470 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1471 stpcpy for POWER8.
1472 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1473 strcpy for POWER8.
1474 * NEWS: Update.
1475
14762015-01-13 Leonhard Holz <leonhard.holz@web.de>
1477
1478 [BZ #16009]
1479 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1480 weights and rules. Use do_xfrm_cached if data fits in cache,
1481 do_xfrm otherwise. Moved former main loop to...
1482 * (do_xfrm_cached): New function.
1483 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1484 find_idx, find_position and stack_push.
1485 * (find_idx): New function.
1486 * (find_position): Likewise.
1487 * localedata/sort-test.sh: Added test run for do_xfrm.
1488 * localedata/xfrm-test.c (main): Added command line option
1489 -nocache to run the test with strings that are too large for
1490 the STRXFRM cache.
1491
14922015-01-13 Torvald Riegel <triegel@redhat.com>
1493
1494 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1495 variable to lll_futex_wake call, not the value itself.
1496
14972015-01-12 Joseph Myers <joseph@codesourcery.com>
1498
1499 [BZ #17803]
1500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1501 twom64. Adjust value to 0x1p-64L.
1502 (__scalblnl): Only return standard underflowing result for K <=
1503 -64 not K <= -63; adjust exponent for underflowing result by 64
1504 not 63.
1505 * math/libm-test.inc (scalbn_test_data): Add more tests.
1506 (scalbln_test_data): Likewise.
1507
1508 [BZ #17834]
1509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1510 0x1p63L.
1511 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1512 not HX.
1513 * math/libm-test.inc (scalbn_test_data): Add more tests.
1514 (scalbln_test_data): Likewise.
1515
15162015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517 Stefani Seibold <stefani@seibold.net>
1518
1519 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1520 (sysdep_routines): Add dl-vdso here, ...
1521 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1522 (sysdep_routines): ... not here.
1523 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1524 fallback when vDSO is not presented.
1525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1526 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1527 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1528 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1529 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1530 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1531 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1532 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1533 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1535 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1536 fallback configurable symbol when vDSO is not available.
1537 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1538 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1539 be able to redefine fallback symbol when vDSO is not available.
1540 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1541 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1542
15432015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1544
1545 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1546 (TLS_INIT_TP): Add tm_capable initialization.
1547 (TLS_DEFINE_INIT_TP): Likewise.
1548 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1549 TCB.
1550 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1551 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1552 calculation.
1553 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1554 transactoion is lock elision is built and TCB tm_capable is set.
1555 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1557 (INTERNAL_SYSCALL_NCS): Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1559 (INTERNAL_SYSCALL_NCS): Likewise.
1560 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1561
1562 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1563 for powerpc.
1564 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1565 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1566 and remove it for 32 bits case.
1567 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1569 initialization.
1570 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1571 Disable lock elision with rdlocks if elision is not available.
1572
1573 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1574 (sysdep_routines): Add lock elision objects.
1575 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1576 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1577 [pthread_mutex_t] (__elision): Add field.
1578 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1579 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1580 elision definitions for powerpc.
1581 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1582 implementation of lock elision for powerpc.
1583 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1584 implementation of timed lock elision for powerpc.
1585 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1586 implementation of trylock with lock elision for powerpc.
1587 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1588 implementaion of unlock for lock elision for powerpc.
1589 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1590 automatic enable lock elision for mutexes.
1591 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1592 transaction execution definitions for powerpc.
1593 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1594 definitions.
1595 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1596 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1599 * NEWS: Update.
1600
16012015-01-09 Roland McGrath <roland@hack.frob.com>
1602
1603 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1604 for #include of <shm-directory.h>.
1605
16062015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1607
1608 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1609 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1610
16112015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1612
1613 [BZ #17791]
1614 * NEWS: Mention bug fix.
1615 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1616 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1617 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1618
16192015-01-09 Torvald Riegel <triegel@redhat.com>
1620
1621 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1622
16232015-01-09 Torvald Riegel <triegel@redhat.com>
1624
1625 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1626
16272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1628
1629 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1630 pointer and cast to uintptr_t.
1631
16322015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1633
1634 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1635 removed.
1636 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1637
16382015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1639
1640 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1641 of 0.
1642
16432015-01-08 Roland McGrath <roland@hack.frob.com>
1644
1645 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1646 <nptl/pthreadP.h> instead.
1647 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1648
1649 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1650 already defined.
1651 [__SIGRTMIN] (init): Function removed.
1652 [__SIGRTMIN] (initialized): Variable removed.
1653 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1654 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1655 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1656 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1657 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1658 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1659 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1660 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1661 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1662 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1663 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1664 * sysdeps/nptl/allocrtsig.c: New file.
1665 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1666 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1667 * sysdeps/generic/testrtsig.h: File removed.
1668
1669 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1670 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1671
1672 * nptl/nptl-init.c (pthread_functions): Conditionalize
1673 .ptr__nptl_setxid initialization on [SIGSETXID].
1674
1675 * sysdeps/nptl/sys/procfs.h: New file.
1676 * nptl_db/Makefile (headers): Add it.
1677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1678
1679 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1680 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1681 * nptl/pthread_attr_setaffinity.c: Include it.
1682 * nptl/pthread_setattr_default_np.c: Likewise.
1683 * nptl/check-cpuset.h: New file.
1684
16852015-01-08 Richard Henderson <rth@redhat.com>
1686
1687 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1688 (CFLAGS-tst-execstack-prog.c): Likewise.
1689 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1690
16912015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1692 Sandra Loosemore <sandra@codesourcery.com>
1693 Andrew Jenner <andrew@codesourcery.com>
1694 Joseph Myers <joseph@codesourcery.com>
1695 Nathan Sidwell <nathan@codesourcery.com>
1696
1697 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1698 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1699 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1700 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1701 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1702 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1703 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1704 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1705 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1706 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1707 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1708 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1709 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1710 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1711 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1712 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1713 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1714
17152015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716
1717 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1718 timespec struct member in syscall macro.
1719 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1720 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1721 first timeval struct member in syscall macro.
1722 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1723
17242015-01-07 Joseph Myers <joseph@codesourcery.com>
1725
1726 [BZ #17748]
1727 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1728 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1729 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1730 __feupdateenv and define as weak alias of __feupdateenv. Use
1731 libm_hidden_weak.
1732 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1733 libm_hidden_def.
1734 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1735 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1736 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1737 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1738 libm_hidden_def.
1739 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1740 __feupdateenv and define as weak alias of __feupdateenv. Use
1741 libm_hidden_weak.
1742 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1743 libm_hidden_def.
1744 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1745 __feupdateenv and define as weak alias of __feupdateenv. Use
1746 libm_hidden_weak.
1747 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1748 libm_hidden_def.
1749 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1750 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1751 (__feupdateenv): Likewise.
1752 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1753 __feupdateenv and define as weak alias of __feupdateenv. Use
1754 libm_hidden_weak.
1755 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1756 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1757 libm_hidden_def.
1758 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1759 function.
1760 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1761 libm_hidden_def.
1762 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1763 __feupdateenv instead of feupdateenv.
1764 (default_libc_feupdateenv_test): Likewise.
1765 (libc_feresetround_ctx): Likewise.
1766
17672015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768
1769 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1770 prototype.
1771
17722015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1773
1774 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1775 COLL_SYM in a couple of places to avoid uninitialized variable
1776 wanings on tilegx gcc 4.8.2.
1777
17782015-01-07 Richard Earnshaw <rearnsha@arm.com>
1779
1780 * sysdeps/aarch64/strcpy.S: New file.
1781 * sysdeps/aarch64/stpcpy.S: New file.
1782 * NEWS: Updated.
1783
17842015-01-07 Richard Earnshaw <rearnsha@arm.com>
1785
1786 * sysdeps/aarch64/strrchr.S: New file.
1787 * NEWS: Updated.
1788
17892015-01-07 Eric Biggers <ebiggers3@gmail.com>
1790
1791 [BZ #17658]
1792 * stdlib/setenv.c: Fix memory leak when setting large,
1793 duplicate string.
1794
17952015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1796
1797 [BZ #17273]
1798 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1799 and tabs from buffer before parsing fstab entry.
1800 * misc/tst-mntent.c (main): Add test for mount entry with
1801 trailing spaces and tabs.
1802
18032015-01-06 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #17748]
1806 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1807 * math/fesetround.c (fesetround): Rename to __fesetround and
1808 define as weak alias of __fesetround. Use libm_hidden_weak.
1809 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1810 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1811 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1812 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1813 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1814 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1815 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1816 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1817 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1818 __fesetround_inline.
1819 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1820 __fesetround_inline instead of __fesetround.
1821 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1822 __fesetround and define as weak alias of __fesetround. Use
1823 libm_hidden_weak. Call __fesetround_inline instead of
1824 __fesetround.
1825 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1826 __fesetround and define as weak alias of __fesetround. Use
1827 libm_hidden_weak.
1828 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1829 Likewise.
1830 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1832 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1833 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1834 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1835 __fesetround and define as weak alias of __fesetround. Use
1836 libm_hidden_weak.
1837 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1838 __fesetround instead of fesetround.
1839 (default_libc_feholdexcept_setround): Likewise.
1840 (libc_feholdsetround_ctx): Likewise.
1841 (libc_feholdsetround_noex_ctx): Likewise.
1842
1843 [BZ #17748]
1844 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1845 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1846 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1847 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1848 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1849 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1850 define as weak alias of __fesetenv. Use libm_hidden_weak.
1851 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1852 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1853 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1854 define as weak alias of __fesetenv. Use libm_hidden_weak.
1855 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1856 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1857 define as weak alias of __fesetenv. Use libm_hidden_weak.
1858 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1859 libm_hidden_def.
1860 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1861 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1862 Likewise.
1863 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1864 define as weak alias of __fesetenv. Use libm_hidden_weak.
1865 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1866 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1867 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1868 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1869 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1870 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1871 __fesetenv instead of fesetenv.
1872 (libc_feresetround_noex_ctx): Likewise.
1873 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1874 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1875 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1876 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1877 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1878 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1879 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1880 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1881 (__feupdateenv): Likewise.
1882 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1883 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1884 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1885 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1886
18872015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1888
1889 [BZ #17806]
1890 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1891 addresses have been freed.
1892
18932015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1894
1895 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1896 and nservall.
1897
18982015-01-06 Ondřej Bílka <neleai@seznam.cz>
1899
1900 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1901 Clean up check_pf allocation pattern. addresses
1902
19032015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1906 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1907 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1908 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1909 * nptl/pthread_join.c (pthread_join): Likewise.
1910 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1911 * sysdeps/posix/waitid.c (__waitid): Likewise.
1912 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1913 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1914 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1915 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1916 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1917 Likewise.
1918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1919 (__libc_pread64): Likewise.
1920 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1921 (__libc_pwrite): Likewise.
1922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1923 (__libc_pwrite64): Likewsie.
1924 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1925 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1926 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1927 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1928 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1929 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1930 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1932 Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1934 (__libc_pread64): Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1936 Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1938 (__libc_pwrite64): Likewise.
1939 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1940 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1941 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1942 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1943 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1944 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1945 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1946 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1947 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1948 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1949 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1950 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1951 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1952 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1953 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1955 Likewise.
1956
19572015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1958
1959 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1960 (CFLAGS-test-double.c): Likewise.
1961 (CFLAGS-test-ldouble.c): Likewise.
1962 (CPPFLAGS-test-ifloat.c): Likewise.
1963 (CPPFLAGS-test-idouble.c): Likewise.
1964 (CPPFLAGS-test-ildoubl.c): Likewise.
1965 (CFLAGS-test-test-fenv.c): Remove variable.
1966 (CFLAGS-test-misc.c): Likewise.
1967
19682015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 [BZ #17797]
1971 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1972 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1973 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1974 CLOCKS_PER_SEC == 1000000.
1975 * time/clocktest.c (main): Replace %ld with %jd and cast to
1976 intmax_t.
1977
19782015-01-05 Roland McGrath <roland@hack.frob.com>
1979
1980 * sysdeps/generic/unwind-resume.h: New file.
1981 * sysdeps/gnu/unwind-resume.c: Include it.
1982 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1983 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1984 argument list.
1985 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1986 global rather than static.
1987 (_Unwind_Resume): Update user.
1988 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1989 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1990 rather than static. Add __attribute__ ((cold)).
1991 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1992 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1993 * sysdeps/arm/arm-unwind-resume.S: New file.
1994 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1995 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1996 * sysdeps/arm/Makefile [$(subdir) = csu]
1997 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1998 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1999 Add rt-arm-unwind-resume.
2000 [$(subdir) = nptl]
2001 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2002 Add pt-arm-unwind-resume.
2003 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2004 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2005
20062015-01-05 Joseph Myers <joseph@codesourcery.com>
2007
2008 [BZ #17748]
2009 * include/fenv.h (__feholdexcept): Declare. Use
2010 libm_hidden_proto.
2011 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2012 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2013 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2014 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2015 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2016 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2017 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2018 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2019 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2020 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2021 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2022 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2023 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2024 (feholdexcept): Likewise.
2025 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2027 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2028 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2029 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2030 __feholdexcept instead of feholdexcept.
2031 (default_libc_feholdexcept_setround): Likewise.
2032
20332015-01-05 Steve Ellcey <sellcey@imgtec.com>
2034
2035 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2036 to avoid using stl/str to align destination.
2037
20382015-01-05 Steve Ellcey <sellcey@imgtec.com>
2039
2040 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2041
20422015-01-05 Joseph Myers <joseph@codesourcery.com>
2043
2044 [BZ #17796]
2045 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2046 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2047 Define as weak alias not strong alias.
2048
20492015-01-05 Steve Ellcey <sellcey@imgtec.com>
2050
2051 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2052 bltzal with addiupc.
2053 (RTLD_START): Ditto.
2054
20552015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2056
2057 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2058 for __vdso_* functions in declarations.
2059 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2060 definitions.
2061 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2062 INTERNAL_VSYSCALL): Use struct return types to check for error.
2063
2064 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2065 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2066 function with cast from llround().
2067 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2068 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2069 Define.
2070
20712015-01-05 Joseph Myers <joseph@codesourcery.com>
2072
2073 [BZ #17793]
2074 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2075 Define as weak alias not strong alias.
2076
2077 [BZ #17635]
2078 * ctype/ctype-c99.c: New file. isblank implementation moved from
2079 ...
2080 * ctype/ctype-extn.c: ... here.
2081 (__isblank_l): Move to ...
2082 * ctype/ctype-c99_l.c: ... here. New file.
2083 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2084 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2085 Remove variable.
2086 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2087 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2088 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2089 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2090 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2091
2092 [BZ #17777]
2093 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2094 (posix_fadvise64): Define as weak alias not strong alias.
2095 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2096 (posix_fallocate64): Likewise.
2097 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2098 Remove variable.
2099 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2100 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2101 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2102 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2103 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2104
21052015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2106
2107 [BZ #16191]
2108 * NEWS: Mention bug fix.
2109 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2110 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2111 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2112 (HOST_STACK_END_ADDR): Likewise.
2113
21142015-01-02 Joseph Myers <joseph@codesourcery.com>
2115
2116 [BZ #17748]
2117 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2118 * math/fegetround.c (fegetround): Rename to __fegetround and
2119 define as weak alias of __fegetround. Use libm_hidden_weak.
2120 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2121 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2122 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2123 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2124 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2125 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2126 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2127 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2128 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2129 Undefine after rather than before function definition; use
2130 parentheses around function name in definition.
2131 (__fegetround): Also undefine macro after function definition.
2132 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2133 __fegetround and define as weak alias of __fegetround. Use
2134 libm_hidden_weak. Do not undefine as macro.
2135 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2136 Likewise.
2137 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2138 __fegetround and define as weak alias of __fegetround. Use
2139 libm_hidden_weak.
2140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2141 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2142 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2143 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2144 __fegetround and define as weak alias of __fegetround. Use
2145 libm_hidden_weak.
2146 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2147 __fegetround instead of fegetround.
2148
2149 [BZ #17782]
2150 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2151 Condition macro definition on [__USE_MISC].
2152
2153 [BZ #17781]
2154 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2155 (struct sigaction): Change type of sa_flags field to int.
2156
2157 [BZ #17780]
2158 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2159 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2160 __glibc_reserved0.
2161
2162 * nptl/version.c (banner): Use single year in copyright notice.
2163
2164 * NEWS: Update copyright dates.
2165 * catgets/gencat.c (print_version): Likewise.
2166 * csu/version.c (banner): Likewise.
2167 * debug/catchsegv.sh: Likewise.
2168 * debug/pcprofiledump.c (print_version): Likewise.
2169 * debug/xtrace.sh (do_version): Likewise.
2170 * elf/ldconfig.c (print_version): Likewise.
2171 * elf/ldd.bash.in: Likewise.
2172 * elf/pldd.c (print_version): Likewise.
2173 * elf/sotruss.sh: Likewise.
2174 * elf/sprof.c (print_version): Likewise.
2175 * iconv/iconv_prog.c (print_version): Likewise.
2176 * iconv/iconvconfig.c (print_version): Likewise.
2177 * locale/programs/locale.c (print_version): Likewise.
2178 * locale/programs/localedef.c (print_version): Likewise.
2179 * login/programs/pt_chown.c (print_version): Likewise.
2180 * malloc/memusage.sh (do_version): Likewise.
2181 * malloc/memusagestat.c (print_version): Likewise.
2182 * malloc/mtrace.pl: Likewise.
2183 * manual/libc.texinfo: Likewise.
2184 * nptl/version.c (banner): Likewise.
2185 * nscd/nscd.c (print_version): Likewise.
2186 * nss/getent.c (print_version): Likewise.
2187 * nss/makedb.c (print_version): Likewise.
2188 * posix/getconf.c (main): Likewise.
2189 * scripts/test-installation.pl: Likewise.
2190 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2191
21922015-01-02 Will Newton <will.newton@linaro.org>
2193
2194 * sysdeps/arm/armv7/configure: Removed.
2195 * sysdeps/arm/armv7/configure.ac: Likewise.
2196
21972015-01-02 Joseph Myers <joseph@codesourcery.com>
2198
2199 * All files with FSF copyright notices: Update copyright dates
2200 using scripts/update-copyrights.
2201 * intl/plural.c: Regenerated.
2202 * locale/programs/charmap-kw.h: Likewise.
2203 * locale/programs/locfile-kw.h: Likewise.
2204
22052015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2206
2207 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2208
22092014-12-31 Joseph Myers <joseph@codesourcery.com>
2210
2211 [BZ #17748]
2212 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2213 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2214 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2215 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2216 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2217 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2218 define as weak alias of __fegetenv. Use libm_hidden_weak.
2219 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2220 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2221 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2222 define as weak alias of __fegetenv. Use libm_hidden_weak.
2223 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2224 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2225 define as weak alias of __fegetenv. Use libm_hidden_weak.
2226 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2227 libm_hidden_def.
2228 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2229 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2230 Likewise.
2231 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2232 define as weak alias of __fegetenv. Use libm_hidden_weak.
2233 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2234 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2235 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2236 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2237 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2238 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2239 __fegetenv instead of fegetenv.
2240 (libc_feholdsetround_noex_ctx): Likewise.
2241
22422014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2243
2244 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2245 (Elf_MIPS_ABIFlags_v0): New structure.
2246 (EF_MIPS_FP64): Define.
2247 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2248 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2249 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2250 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2251 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2252 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2253 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2254 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2255 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2256 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2257 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2258 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2259 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2260 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2261 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2262 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2263 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2264 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2265 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2266 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2267 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2268 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2269 field.
2270 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2271 EF_MIPS_FP64.
2272 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2273 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2274 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2275 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2276 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2277 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2278 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2279 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2280 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2281 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2282 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2283 record the current FP ABI extension.
2284 (mips-mode-switch): Define to show if kernel headers support mode
2285 switching.
2286 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2287 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2288 supported SYSV ABI version to 3.
2289 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2290 feature.
2291
22922014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2293 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2294
2295 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2296 path.
2297 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2298
22992014-12-31 Joseph Myers <joseph@codesourcery.com>
2300
2301 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2302 __fegetround and redefine to call __fegetround. Remove condition
2303 on [!__NO_MATH_INLINES].
2304 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2305 function.
2306 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2307 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2308 Remove macro.
2309 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2310 instead of <fenv_libc.h>.
2311 (__llrintl): Call fegetround instead of __fegetround.
2312 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2313 instead of <fenv_libc.h>.
2314 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2315 (__lrintl): Call fegetround instead of __fegetround.
2316 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2317 instead of <fenv_libc.h>.
2318 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2319 (__rintl): Call fegetround instead of __fegetround.
2320
23212014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2322
2323 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2324 arrays.
2325
23262014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2327
2328 [BZ #17775]
2329 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2330 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2331 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2332
23332014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2334
2335 * sysdeps/i386/tls-macros.h: Include <features.h>.
2336 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2337 (TLS_IE): Likewise.
2338 (TLS_LD): Likewise.
2339 (TLS_GD): Likewise.
2340 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2341 define for GCC >= 5.0.
2342
23432014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2344
2345 * math/test-fenv.c (test_single_exception, set_single_exc,
2346 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2347 feexcp_mask_test, feenable_test, fe_single_test): Add
2348 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2349 case where they are not used.
2350 * math/libm-test.inc: Likewise.
2351 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2352 unused in the absence of FP rounding/exception support.
2353 * stdio-common/tst-printf-round.c: Likewise.
2354 * stdlib/tst-strtod-round.c: Likewise.
2355 * stdlib/tst-strtod-underflow.c: Likewise.
2356
23572014-12-30 Joseph Myers <joseph@codesourcery.com>
2358
2359 [BZ #17723]
2360 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2361 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2362 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2363 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2364 libm_hidden_weak.
2365 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2366 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2367 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2368 libm_hidden_def.
2369 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2370 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2371 libm_hidden_weak.
2372 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2373 Likewise.
2374 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2375 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2376 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2377 libm_hidden_weak.
2378 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2379 libm_hidden_def.
2380 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2381 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2382 (__feraiseexcept): Likewise.
2383 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2384 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2385 libm_hidden_weak.
2386 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2387 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2388 libm_hidden_def.
2389 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2390 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2391 Use libm_hidden_def.
2392 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2393 libm_hidden_def.
2394 (feraiseexcept): Define as weak not strong alias. Use
2395 libm_hidden_weak.
2396 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2397 New inline function. Factored out of ...
2398 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2399 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2400 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2401 feraiseexcept.
2402 * math/w_acos.c (__acos): Likewise.
2403 * math/w_asin.c (__asin): Likewise.
2404 * math/w_ilogb.c (__ilogb): Likewise.
2405 * math/w_j0.c (y0): Likewise.
2406 * math/w_j1.c (y1): Likewise.
2407 * math/w_jn.c (yn): Likewise.
2408 * math/w_log.c (__log): Likewise.
2409 * math/w_log10.c (__log10): Likewise.
2410 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2411 * sysdeps/aarch64/fpu/math_private.h
2412 (libc_feupdateenv_test_aarch64): Likewise.
2413 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2414 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2415 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2416 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2417 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2418 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2419 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2420 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2421 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2422 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2423
24242014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 [BZ #17732]
2427 * io/test-utime.c (main): Replace %ld with %jd and cast to
2428 intmax_t.
2429 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2430 * nptl/tst-mutex5.c: Include <stdint.h>.
2431 (do_test): Replace %ld with %jd and cast to intmax_t.
2432 * posix/tst-regex.c (run_test): Likewise.
2433 (run_test_backwards): Likewise.
2434 * rt/tst-clock.c: Include <stdint.h>.
2435 (clock_test): Replace %ld with %jd and cast to intmax_t.
2436 * rt/tst-cpuclock1.c: Include <stdint.h>.
2437 (do_test): Replace %lu with %ju and cast to uintmax_t.
2438 * rt/tst-cpuclock2.c: Include <stdint.h>.
2439 (do_test): Replace %lu with %ju and cast to uintmax_t.
2440 * rt/tst-mqueue1.c: Include <stdint.h>.
2441 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2442 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2443 intmax_t.
2444 * rt/tst-mqueue4.c (do_test): Likewise.
2445 * rt/tst-timer4.c: Include <stdint.h>.
2446 (check_ts): Replace %ld with %jd and cast to intmax_t.
2447 (do_test): Likewise.
2448 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2449 and cast to intmax_t.
2450 * sysdeps/pthread/tst-timer.c (main): Likewise.
2451 * time/clocktest.c (main): Likewise.
2452 * time/tst-posixtz.c (do_test): Likewise.
2453 * timezone/tst-timezone.c (main): Likewise.
2454
24552014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2456 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2459 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2461 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2462 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2463 version if bit_Fast_Unaligned_Load is set.
2464 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2465 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2466 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2467 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2468 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2469 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2471 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2472 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2473 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2474 to 4.
2475 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2476 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2477 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2478 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2479
24802014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2481
2482 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2483 instead of #if to avoid a Wundef warning.
2484 * stdlib/tst-limits.c (do_test): Likewise.
2485
2486 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2487 parallel other exception macros.
2488 (fegetenv): Convert from macro to extern inline so that it applies
2489 retroactively to inline functions already seen by the compiler.
2490 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2491
2492 * posix/Makefile (before-compile): Use $(objpfx) for
2493 posix-conf-vars-def.h.
2494
24952014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2496
2497 * posix/getconf.c (main): Use size_t for type of I.
2498 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2499 NSPEC.
2500
2501 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2502 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2503 * posix/posix-envs.def: Likewise.
2504 * sysdeps/posix/sysconf.c: Likewise.
2505 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2506 (specs): Remove array.
2507 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2508 array.
2509
2510 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2511 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2512 (__sysconf): Use CONF_IS_* macros.
2513
2514 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2515 ($(objpfx)posix-conf-vars-def.h): New target.
2516 * posix/posix-conf-vars.list: New file.
2517 * posix/posix-conf-vars.h: New file.
2518 * posix/confstr.c: Include posix-conf-vars.h.
2519 (confstr): Use CONF_IS_* macros.
2520 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2521 CONF_IS_* macros.
2522 * scripts/gen-posix-conf-vars.awk: New file.
2523
25242014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2525
2526 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2527 fegetround): Add no-op macros to avoid linknamespace issues.
2528
2529 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2530 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2531
2532 * sysdeps/unix/sysv/linux/tile/sysdep.h
2533 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2534 assembly-specific section to avoid a redefinition warning.
2535
2536 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2537 long before casting to pointer to avoid a cast warning.
2538
25392014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2540
2541 * sysdeps/tile/tilegx/Implies: New file.
2542
25432014-12-23 Richard Earnshaw <rearnsha@arm.com>
2544
2545 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2546
25472014-12-23 Florian Weimer <fweimer@redhat.com>
2548
2549 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2550
25512014-12-22 Joseph Myers <joseph@codesourcery.com>
2552
2553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2554 not define.
2555 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2556 <kernel-features.h>.
2557 (__utimes) [__NR_utimes]: Make code unconditional.
2558 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2560 (__ASSUME_UTIMES): Do not undefine.
2561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2562 (__ASSUME_UTIMES): Likewise.
2563 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2564 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2565 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2566 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2567
25682014-12-22 Steve Ellcey <sellcey@imgtec.com>
2569
2570 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2571
25722014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2573
2574 [BZ #17747]
2575 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2576 alias to weak alias for j0l, y0l.
2577 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2578 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2579
2580 [BZ #17746]
2581 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2582 conversion.
2583
25842014-12-22 Steve Ellcey <sellcey@imgtec.com>
2585
2586 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2587 to zero if not already defined.
2588
25892014-12-22 Joseph Myers <joseph@codesourcery.com>
2590
2591 [BZ #17724]
2592 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2593 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2594 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2595 (char *) casts added.
2596 * sysdeps/ieee754/k_standardf.c: New file.
2597 * sysdeps/ieee754/k_standardl.c: Likewise.
2598 * math/Makefile (libm-support): Remove k_standard.
2599 (libm-calls): Add k_standard.
2600
26012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2602
2603 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2604 Optimize to avoid an unnecessary FPCR read.
2605
26062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2607
2608 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2609 Optimize to reduce FPCR/FPSR accesses.
2610
26112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2612
2613 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2614 Call libc_fetestexcept_aarch64.
2615
26162014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2617
2618 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2619 Call libc_fesetround_aarch64.
2620
26212014-12-22 Joseph Myers <joseph@codesourcery.com>
2622
2623 [BZ #17733]
2624 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2625 (__bind): Do not define as weak alias.
2626 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2627 define.
2628 (__getsockname): Do not define as weak alias.
2629
26302014-12-22 Will Newton <will.newton@linaro.org>
2631
2632 * manual/install.texi: Document that we require bison 2.7
2633 or above.
2634 * INSTALL: Regenerate.
2635 * configure.ac: Use AC_CHECK_PROG_VER instead of
2636 AC_PATH_PROG when checking for bison and check for
2637 version 2.7 or above.
2638 * configure: Regenerate.
2639
26402014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2641
2642 [BZ #17745]
2643 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2644 * sysdeps/tile/ffsll.c (ffsll): To here.
2645
2646 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2647
26482014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2651 if not defined.
2652 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2653 definition.
2654 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2655 hidden ___tls_get_addr.
2656 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2657 hidden __tls_get_addr.
2658 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2659 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2660 Likewise.
2661
26622014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2663
2664 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2665 _dl_init call.
2666
26672014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2670 from "call _dl_init@PLT".
2671 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2672
26732014-12-21 Anders Kaseorg <andersk@mit.edu>
2674
2675 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2676 guarantees.
2677
26782014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2679
2680 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2681
26822014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2683
2684 [BZ #17744]
2685 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2686 strnlen.
2687
26882014-12-19 Steve Ellcey <sellcey@imgtec.com>
2689
2690 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2691 of multu on MIPSr6.
2692 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2693 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2694 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2695 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2696 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2697
26982014-12-19 Steve Ellcey <sellcey@imgtec.com>
2699
2700 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2701 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2702 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2703 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2704 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2705 mips32r6/mips64r6.
2706 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2707
27082014-12-19 Ondřej Bílka <neleai@seznam.cz>
2709
2710 * string/strncat.c (STRNCAT): Simplify implementation.
2711
27122014-12-19 David S. Miller <davem@davemloft.net>
2713
2714 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2715 access the quad as both a long double and as a series of 4 words.
2716
2717 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2718 link_map->l_info array access.
2719
27202014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2721
2722 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2723
2724 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2725 * math/atest-exp2.c (TIMEOUT): Likewise.
2726 * math/atest-sincos.c (TIMEOUT): Likewise.
2727
27282014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2729
2730 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2731 -Wno-error with -fno-builtin-lround.
2732
27332014-12-19 Torvald Riegel <triegel@redhat.com>
2734
2735 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2736 Contains futex constants and functions moved over from ...
2737 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2738 <lowlevellock-futex.h>.
2739 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2740 (lll_timedwait_tid): Add comments and parentheses around macro
2741 arguments.
2742
27432014-12-19 Torvald Riegel <triegel@redhat.com>
2744
2745 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2746 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2747 (__lll_private_flag): Remove.
2748 (lll_futex_wait): Likewise.
2749 (lll_futex_timed_wait): Likewise.
2750 (lll_futex_wake): Likewise.
2751 (lll_futex_requeue): Likewise.
2752 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2753 (__lll_timedwait_tid): Spell out argument names.
2754 (lll_timedwait_tid): Add comments and parentheses around macro
2755 arguments.
2756 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2757 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2758
27592014-12-19 Torvald Riegel <triegel@redhat.com>
2760
2761 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2762 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2763 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2765 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2766 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2767 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2768 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2769 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2770 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2774 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2775 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2776 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2777 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2778 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2779 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2780
27812014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86_64/x32/Makefile: New file.
2784
27852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2788 1L with (mp_limb_t) 1.
2789
27902014-12-17 Roland McGrath <roland@hack.frob.com>
2791
2792 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2793 * nptl/libc_pthread_init.c: ... here.
2794 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2795 * nptl/register-atfork.c: ... here.
2796
2797 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2798 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2799 Use assert_perror to check its return value.
2800 (__gai_create_helper_thread): Likewise.
2801
2802 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2803
2804 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2805
28062014-12-17 Joseph Myers <joseph@codesourcery.com>
2807
2808 [BZ #17725]
2809 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2810 __profil_counter.
2811 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2812 Likewise.
2813 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2814 Likewise.
2815 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2816 Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2818 (profil_counter): Likewise.
2819 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2820 (profil_counter): Likewise.
2821 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2826 (profil_counter): Likewise.
2827 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2828 Likewise.
2829 [!__profil_counter] (profil_counter): Define as weak alias of
2830 __profil_counter.
2831 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2832 (profil_counter): Rename to __profil_counter.
2833 [!__profil_counter] (profil_counter): Define as weak alias of
2834 __profil_counter.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2836 (profil_counter): Rename to __profil_counter.
2837 [!__profil_counter] (profil_counter): Define as weak alias of
2838 __profil_counter.
2839 * sysdeps/posix/profil.c: Update comment referring to
2840 profil_counter.
2841 (__profil): Use __profil_counter instead of profil_counter.
2842 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2843 __profil_counter. Use __profil_counter_ushort and
2844 __profil_counter_uint in definitions.
2845 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2846 instead of profil_counter_uint and profil_counter_ushort.
2847
2848 [BZ #17722]
2849 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2850 define as weak alias of __inet_makeaddr.
2851 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2852 as weak alias of __inet_addr.
2853 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2854 as weak alias of __inet_pton. Use libc_hidden_weak.
2855 * include/arpa/inet.h (__inet_pton): Declare. Use
2856 libc_hidden_proto.
2857 (inet_makeaddr): Don't use libc_hidden_proto.
2858 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2859 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2860 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2861 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2862 Remove variable.
2863 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2864 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2865
28662014-12-17 Steve Ellcey <sellcey@imgtec.com>
2867
2868 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2869
28702014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2871
2872 * stdio-common/bug-vfprintf-nargs.c (do_test):
2873 Cast value to intptr_t to avoid format warning
2874 for usage with PRIdPTR printing macro.
2875
28762014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2877
2878 * libio/tst-widetext.c (do_test):
2879 Use format type %td instead of %Zd for ptrdiff_t
2880 in order to avoid format warning.
2881
28822014-12-17 Andreas Schwab <schwab@suse.de>
2883
2884 * nscd/mem.c (gc): Add size_t cast to match printf format.
2885
28862014-12-16 Roland McGrath <roland@hack.frob.com>
2887
2888 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2889 (init): Apply PTR_MANGLE to pointers before storing them.
2890 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2891 before using them.
2892
28932014-12-16 Joseph Myers <joseph@codesourcery.com>
2894
2895 [BZ #17719]
2896 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2897 define as weak alias of __memrchr.
2898 (__memrchr): Do not define as strong alias of memrchr.
2899 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2900 Remove variable.
2901 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2902 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2903 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2904
2905 [BZ #17717]
2906 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2907 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2908 (if_indextoname): Rename to __if_indextoname and define as weak
2909 alias of __if_indextoname. Use libc_hidden_weak.
2910 (if_freenameindex): Rename to __if_freenameindex and define as
2911 weak alias of __if_freenameindex.
2912 (if_nameindex): Rename to __if_nameindex and define as weak alias
2913 of __if_nameindex.
2914 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2915 __if_nametoindex and define as weak alias of __if_nametoindex.
2916 Use libc_hidden_weak.
2917 (if_freenameindex): Rename to __if_freenameindex and define as
2918 weak alias of __if_freenameindex.
2919 (if_nameindex): Rename to __if_nameindex and define as weak alias
2920 of __if_nameindex.
2921 (if_indextoname): Rename to __if_indextoname and define as weak
2922 alias of __if_indextoname. Use libc_hidden_weak.
2923 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2924 __if_nametoindex and define as weak alias of __if_nametoindex.
2925 Use libc_hidden_weak.
2926 (if_freenameindex): Rename to __if_freenameindex and define as
2927 weak alias of __if_freenameindex. Use libc_hidden_weak.
2928 (if_nameindex_netlink): Use __if_freenameindex instead of
2929 if_freenameindex.
2930 (if_nameindex): Rename to __if_nameindex and define as weak alias
2931 of __if_nameindex. Use libc_hidden_weak.
2932 (if_indextoname): Rename to __if_indextoname and define as weak
2933 alias of __if_indextoname. Use libc_hidden_weak.
2934 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2935 libc_hidden_proto.
2936 [!_ISOMAC] (__if_freenameindex): Likewise.
2937 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2938 if_nametoindex.
2939 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2940 variable.
2941 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2942 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2943 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2944 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2945 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2946 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2947 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2948
2949 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2950 Remove variable.
2951 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2952 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2953
29542014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2957 subscript above bounds'
2958
2959 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2960 bounds.
2961
29622014-12-16 Arjun Shankar <arjun.is@lostca.se>
2963
2964 * libio/tst-fopenloc.c: Use test-skeleton.c.
2965
2966 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2967 (entry): Rename to ITEM.
2968 (do_test, comp): Adjust.
2969
2970 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2971
29722014-12-16 Torvald Riegel <triegel@redhat.com>
2973
2974 * string/tester.c: Include <libc-internal.h>.
2975 (test_memset): Ignore -Wmemset-transposed-args.
2976
29772014-12-16 Torvald Riegel <triegel@redhat.com>
2978
2979 * misc/tst-mntent2.c (do_test): Fix warning.
2980
29812014-12-16 Torvald Riegel <triegel@redhat.com>
2982
2983 * elf/tst-unique4lib.cc(a): Mark as used.
2984
29852014-12-16 Florian Weimer <fweimer@redhat.com>
2986
2987 [BZ #17630]
2988 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2989 names.
2990
29912014-12-16 Allan McRae <allan@archlinux.org>
2992
2993 * stdio-common/Makefile (tests): Re-add bug26.
2994
29952014-12-15 Ondřej Bílka <neleai@seznam.cz>
2996
2997 [BZ #17657]
2998 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2999 static array.
3000
30012014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3002
3003 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3004 (__lll_lock_wait): Likewise.
3005 (__lll_timedlock_wait): Likewise.
3006 (__lll_timedwait_tid): Likewise.
3007 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3008 (__lll_robust_timedlock_wait): Likewise.
3009 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3010 (lll_cond_trylock): Likewise.
3011 (__lll_lock): Likewise.
3012 (__lll_robust_lock): Likewise.
3013 (__lll_cond_lock): Likewise.
3014 (lll_robust_cond_lock): Likewise.
3015 (__lll_timedlock): Likewise.
3016 (__lll_robust_timedlock): Likewise.
3017 (__lll_unlock): Likewise.
3018 (__lll_robust_unlock): Likewise.
3019 (lll_wait_tid): Likewise.
3020 (lll_timedwait_tid): Likewise.
3021
30222014-12-15 Torvald Riegel <triegel@redhat.com>
3023
3024 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3025
30262014-12-15 Torvald Riegel <triegel@redhat.com>
3027
3028 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3029
30302014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3031
3032 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3033 * stdio-common/tst-sprintf.c: Likewise.
3034
30352014-12-15 Torvald Riegel <triegel@redhat.com>
3036
3037 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3038
30392014-12-15 Jeff Law <law@redhat.com>
3040
3041 [BZ #16617]
3042 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3043 on the heap. (CVE-2012-3406)
3044 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3045 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3046 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3047
30482014-12-15 Will Newton <will.newton@linaro.org>
3049
3050 * manual/install.texi: Bump required version of texinfo
3051 to 4.7 from 4.5.
3052 * INSTALL: Regenerated.
3053 * configure.ac: Check for makeinfo version 4.7 and above.
3054 * configure: Regenerated.
3055
30562014-12-12 Roland McGrath <roland@hack.frob.com>
3057
3058 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3059 PREFIX, string constant to insert between directory and name.
3060 * sysdeps/posix/shm_open.c: Update caller.
3061 * sysdeps/posix/shm_unlink.c: Likewise.
3062 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3063 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3064 (SEM_SHM_PREFIX): New macro.
3065 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3066 [$(have-thread-library) = no].
3067 * nptl/Makefile (libpthread-routines): Add shm-directory.
3068 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3069 * sysdeps/nptl/shm-directory.h: New file.
3070 * sysdeps/posix/shm-directory.c
3071 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3072 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3073 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3074 INTERNAL_SYSCALL.
3075 (__where_is_shmfs): Function removed.
3076 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3077 Variables removed.
3078 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3079 Use SHM_GET_NAME.
3080 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3081
3082 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3083 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3084 unconditional for use inside libpthread.
3085 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3086
30872014-12-12 Roland McGrath <roland@hack.frob.com>
3088
3089 * nptl/pthread_getaffinity.c: New file.
3090 * nptl/pthread_setaffinity.c: New file.
3091 * nptl/pthread_getname.c: New file.
3092 * nptl/pthread_setname.c: New file.
3093
3094 * nptl/pthread_create.c (START_THREAD_DEFN)
3095 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3096
30972014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3098 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3099
3100 * resolv/res_send.c (send_vc): Disable warning resplen may
3101 be used uninitialized.
3102
31032014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3104
3105 * nptl/tst-mutex6.c
3106 (ATTR_NULL): New define checks ATTR against NULL.
3107 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3108 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3109
31102014-12-11 James Lemke <jwlemke@codesourcery.com>
3111
3112 [BZ #17581]
3113 * malloc/hooks.c
3114 (mem2mem_check): Revert my previous change.
3115 (malloc_check_get_size): Revert my previous change.
3116 (mem2chunk_check): Revert my previous change.
3117
31182014-12-11 Roland McGrath <roland@hack.frob.com>
3119
3120 * sysdeps/posix/shm-directory.c: New file.
3121 * sysdeps/posix/shm-directory.h: New file.
3122 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3123 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3124 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3125 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3126 Transmute EPERM to EACCES.
3127 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3128 from ...
3129 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3130 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3131
31322014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3133
3134 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3135 pointer and cast to uintptr_t.
3136 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3137 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3138 Add cast to avoid warning.
3139 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3140
31412014-12-11 Joseph Myers <joseph@codesourcery.com>
3142
3143 * nptl/semaphore.h: Move to ...
3144 * sysdeps/pthread/semaphore.h: ... here.
3145 * Makefile (installed-headers): Change nptl/semaphore.h to
3146 sysdeps/pthread/semaphore.h.
3147
31482014-12-11 Roland McGrath <roland@hack.frob.com>
3149
3150 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3151 generated error format strings.
3152
3153 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3154 -Wformat-extra-args warnings for scanf formats.
3155 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3156 test of zero-length format (duh).
3157 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3158 corner-case scanf format test.
3159 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3160 generated fprintf format string.
3161 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3162 corner-case sprintf format tests.
3163 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3164 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3165 -Wformat-extra-args warnings throughout.
3166 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3167 (CFLAGS-scanf4.c): Likewise.
3168 (CFLAGS-scanf7.c): Likewise.
3169 (CFLAGS-tst-sprintf.c): Likewise.
3170 (CFLAGS-tst-printf.c): Likewise.
3171 (CFLAGS-tst-printfsz.c): Likewise.
3172
31732014-12-11 Joseph Myers <joseph@codesourcery.com>
3174
3175 * include/cpio.h: New file.
3176 * include/fmtmsg.h: Likewise.
3177
3178 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3179 corresponding format argument to size_t.
3180 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3181 arguments.
3182 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3183 corresponding format argument to size_t.
3184 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3185 arguments.
3186 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3187 corresponding format argument to size_t.
3188 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3189 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3190 (CFLAGS-tst-mbswcs2.c): Likewise.
3191 (CFLAGS-tst-mbswcs3.c): Likewise.
3192 (CFLAGS-tst-mbswcs4.c): Likewise.
3193 (CFLAGS-tst-mbswcs5.c): Likewise.
3194 (CFLAGS-tst-trans.c): Likewise
3195
31962014-12-11 Roland McGrath <roland@hack.frob.com>
3197
3198 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3199 rather than assuming they won't contain any '%'s.
3200
32012014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3202
3203 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3204 inhibit_loop_to_libcall to avoid recursive calls.
3205 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3206 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3207
32082014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3209
3210 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3211 prototype.
3212
32132014-12-11 Steve Ellcey <sellcey@imgtec.com>
3214
3215 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3216 integer value instead of boolean.
3217
32182014-12-11 Steve Ellcey <sellcey@imgtec.com>
3219
3220 * malloc/malloc.c: Fix powerof2 check.
3221
32222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3223
3224 * locale/programs/locfile.h (maybe_swap_uint32):
3225 Remove inline and add unused attribute.
3226
32272014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3228
3229 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3230 Truncating assembler expression to a .long expression.
3231
32322014-12-11 Andreas Schwab <schwab@suse.de>
3233
3234 * elf/rtld.c (struct map_args): Constify str member.
3235 (do_preload): Constify fname argument.
3236
32372014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3238
3239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3240 constants definition.
3241
32422014-12-11 Andreas Schwab <schwab@suse.de>
3243
3244 [BZ #16657]
3245 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3246 FORCE_ELISION instead of DO_ELISION.
3247 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3248 Remove.
3249 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3250 Likewise.
3251
3252 * iconvdata/gconv-modules: Remove duplicate entry.
3253
32542014-12-11 Will Newton <will.newton@linaro.org>
3255
3256 Merge gettext 0.19.3 into intl/.
3257
3258 This involves a number of cosmetic changes to comments
3259 and ANSI function definitions and prototypes throughout
3260 all the files. The gettext copyright header is used but
3261 with the date ranges taken from the glibc copy.
3262
3263 * NEWS: Add gettext merge to 2.21.
3264 * intl/bindtextdom.c: Switch to gettext copyright.
3265 Use ANSI definitions and prototypes.
3266 Use gl_* locking primitives rather than __libc_* ones.
3267 Use __builtin_expect rather than __glibc_likely/unlikely.
3268 * intl/dcgettext.c: Switch to gettext copyright.
3269 Use ANSI definitions and prototypes.
3270 * intl/dcigettext.c: Switch to gettext copyright.
3271 Use ANSI definitions and prototypes.
3272 (INTDIV0_RAISES_SIGFPE): New define.
3273 Use gl_* locking primitives rather than __libc_* ones.
3274 Include eval-plural.h instead of plural-eval.c.
3275 Use __builtin_expect rather than __glibc_likely/unlikely.
3276 * intl/dcngettext.c: Switch to gettext copyright.
3277 Use ANSI definitions and prototypes.
3278 * intl/dgettext.c: Likewise.
3279 * intl/dngettext.c: Likewise.
3280 * intl/plural-eval.c: Renamed to...
3281 * intl/eval-plural.h: ...this.
3282 * intl/explodename.c: Switch to gettext copyright.
3283 Use ANSI definitions and prototypes.
3284 (_nl_explode_name): Use strchr instead of __rawmemchr.
3285 * intl/finddomain.c: Switch to gettext copyright.
3286 Use ANSI definitions and prototypes.
3287 Use gl_* locking primitives rather than __libc_* ones.
3288 (_nl_find_domain): Use malloc rather than alloca for
3289 allocation of temporary locale name.
3290 * intl/gettext.c: Switch to gettext copyright.
3291 Use ANSI definitions and prototypes.
3292 * intl/gettextP.h: Switch to gettext copyright.
3293 Use ANSI definitions and prototypes.
3294 Use gl_* locking primitives rather than __libc_* ones.
3295 * intl/gmo.h: Switch to gettext copyright.
3296 (struct sysdep_string): Move struct segment_pair outside of
3297 struct definition.
3298 * intl/hash-string.c: Use ANSI definitions and prototypes.
3299 * intl/hash-string.h: Switch to gettext copyright.
3300 Use ANSI definitions and prototypes.
3301 * intl/l10nflist.c: Switch to gettext copyright.
3302 Use ANSI definitions and prototypes.
3303 (_nl_normalize_codeset): Avoid integer overflow.
3304 * intl/loadinfo.h: Switch to gettext copyright.
3305 Use ANSI definitions and prototypes.
3306 (LIBINTL_DLL_EXPORTED): New define.
3307 (PATH_SEPARATOR): New define.
3308 * intl/loadmsgcat.c: Switch to gettext copyright.
3309 * intl/localealias.c: Switch to gettext copyright.
3310 Use ANSI definitions and prototypes.
3311 (_nl_expand_alias): Use PATH_SEPARATOR.
3312 * intl/ngettext.c: Switch to gettext copyright.
3313 Use ANSI definitions and prototypes.
3314 * intl/plural-exp.c: Likewise.
3315 * intl/plural-exp.h: Switch to gettext copyright.
3316 Use ANSI definitions and prototypes.
3317 (struct expression): Move definition of enum operator outside
3318 of struct definition.
3319 * intl/plural.c: Regenerate.
3320 * intl/plural.y: Switch to gettext copyright.
3321 Use ANSI definitions and prototypes.
3322 Port to bison 3.0.
3323 * intl/textdomain.c: Switch to gettext copyright.
3324 Use ANSI definitions and prototypes.
3325 Use gl_* locking primitives rather than __libc_* ones.
3326
33272014-12-10 Steve Ellcey <sellcey@imgtec.com>
3328
3329 * debug/warning-nop.c: Add used atrribute.
3330
33312014-12-10 Joseph Myers <joseph@codesourcery.com>
3332
3333 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3334
3335 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3336 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3337 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3338
33392014-12-10 Joseph Myers <joseph@codesourcery.com>
3340 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3341
3342 [BZ #17634]
3343 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3344 Undefine after defining function. Define as weak alias of
3345 __wcschr. Use libc_hidden_weak.
3346 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3347 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3348 (libc_hidden_def): Also define __GI___wcschr alias.
3349 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3350 __wcschr and define as weak alias of __wcschr.
3351 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3352 __wcschr.
3353 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3354 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3355 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3356 libc_hidden_weak. Do not use libc_hidden_def.
3357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3358 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3359 __GI___wcschr alias.
3360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3361 [IS_IN (libc)] (wcschr): Define as macro expanding to
3362 __redirect_wcschr.
3363 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3364 [IS_IN (libc)] (__wcschr_power6): Likewise.
3365 [IS_IN (libc)] (__wcschr_power7): Likewise.
3366 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3367 instead of wcschr.
3368 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3369 __libc_wcschr.
3370 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3371 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3372 __wcschr and define as weak alias of __wcschr. Use
3373 libc_hidden_builtin_def.
3374 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3375 as weak alias of __wcschr. Use libc_hidden_weak.
3376 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3377 wcschr.
3378 * time/era.c (_nl_init_era_entries): Likewise.
3379 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3380 variable.
3381 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3382 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3383
33842014-12-10 Joseph Myers <joseph@codesourcery.com>
3385
3386 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3387 format for long int variable.
3388
33892014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3390
3391 [BZ #10672]
3392 * manual/search.texi: (Array Sort Function): Remove claim how to make
3393 qsort stable.
3394
33952014-12-10 Andreas Schwab <schwab@suse.de>
3396
3397 [BZ #12847]
3398 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3399 user-controlled locks.
3400
34012014-12-10 Richard Earnshaw <rearnsha@arm.com>
3402
3403 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3404 register.
3405
34062014-12-10 Joseph Myers <joseph@codesourcery.com>
3407
3408 * configure.ac (--disable-werror): New configure option.
3409 (enable_werror): New AC_SUBST.
3410 * configure: Regenerated.
3411 * config.make.in (enable-werror): New variable.
3412 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3413 -Wno-error=undef.
3414 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3415 * manual/install.texi (Configuring and compiling): Document
3416 --disable-werror.
3417 * INSTALL: Regenerated.
3418 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3419 (CFLAGS-tst-chk2.c): Likewise.
3420 (CFLAGS-tst-chk3.c): Likewise.
3421 (CFLAGS-tst-chk4.cc): Likewise.
3422 (CFLAGS-tst-chk5.cc): Likewise.
3423 (CFLAGS-tst-chk6.cc): Likewise.
3424 (CFLAGS-tst-lfschk1.c): Likewise.
3425 (CFLAGS-tst-lfschk2.c): Likewise.
3426 (CFLAGS-tst-lfschk3.c): Likewise.
3427 (CFLAGS-tst-lfschk4.cc): Likewise.
3428 (CFLAGS-tst-lfschk5.cc): Likewise.
3429 (CFLAGS-tst-lfschk6.cc): Likewise.
3430
3431 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3432 (main): Disable -Wdeprecated-declarations around calls to
3433 register_printf_function.
3434
3435 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3436 (do_test): Disable -Wdiv-by-zero around some calls to
3437 fwrite_unlocked and fread_unlocked.
3438
3439 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3440 (DIAG_POP_NEEDS_COMMENT): Likewise.
3441 (_DIAG_STR1): Likewise.
3442 (_DIAG_STR): Likewise.
3443 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3444 * stdio-common/bug21.c: Include <libc-internal.h>.
3445 (do_test): Disable -Wformat around call to sscanf.
3446 * stdio-common/scanf14.c: Include <libc-internal.h>.
3447 (main): Disable -Wformat around some calls to scanf functions.
3448
34492014-12-09 Torvald Riegel <triegel@redhat.com>
3450
3451 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3452
34532014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3456 stack variable alignment.
3457
34582014-12-06 Joseph Myers <joseph@codesourcery.com>
3459
3460 [BZ #17682]
3461 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3462 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3463 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3464 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3465 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3466 __getrlimit instead of getrlimit.
3467 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3468 __gettimeofday instead of gettimeofday.
3469 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3470 Likewise.
3471 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3472 Likewise.
3473 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3474 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3475 Remove variable.
3476 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3477 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3478
34792014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480
3481 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3482 for wide-character tests.
3483
34842014-12-04 Roland McGrath <roland@hack.frob.com>
3485
3486 * io/openat64.c: #include <libc-internal.h>
3487 (__openat64): Prototypify. Use ignore_value on MODE.
3488 * io/openat.c: Likewise.
3489 * misc/reboot.c: #include <libc-internal.h>
3490 (reboot): Prototypify. Use ignore_value on HOWTO.
3491 * misc/ptrace.c: #include <libc-internal.h>
3492 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3493
34942014-12-04 Joseph Myers <joseph@codesourcery.com>
3495
3496 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3497 XPG4, UNIX98 and XOPEN2K.
3498 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3499 Remove variable.
3500 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3501
35022014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3503
3504 * libio/fileops.c: Use ISO C style for function definitions.
3505 * libio/iofopen.c: Likewise.
3506 * libio/wfileops.c: Likewise.
3507
3508 [BZ #17653]
3509 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3510 offset on EOF.
3511 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3512 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3513 (fgets_func): Function pointer to fgets and fgetws.
3514 (do_ftell_test): Add test to verify ftell value after read
3515 EOF.
3516 (do_test): Set fgets_func.
3517
3518 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3519 O_TRUNC flag for w and w+ modes.
3520 (do_rewind_test): Likewise.
3521 (do_ftell_test): Likewise.
3522 (do_write_test): Likewise.
3523
3524 [BZ #17647]
3525 * libio/fileops.c (do_ftell): Seek only when there are
3526 unflushed writes.
3527 * libio/wfileops.c (do_ftell_wide): Likewise.
3528 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3529 test case.
3530 (do_one_test): Call it.
3531
35322014-12-03 Joseph Myers <joseph@codesourcery.com>
3533
3534 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3535 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3536 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3537 Remove variable.
3538 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3539 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3540 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3541
35422014-12-02 Joseph Myers <joseph@codesourcery.com>
3543
3544 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3545 Remove variable.
3546 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3547
3548 [BZ #17668]
3549 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3550 as weak alias of __getifaddrs. Use libc_hidden_weak.
3551 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3552 __freeifaddrs. Use libc_hidden_weak.
3553 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3554 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3555 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3556 __freeifaddrs. Use libc_hidden_weak.
3557 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3558 __getifaddrs and define as weak alias of __getifaddrs. Use
3559 libc_hidden_weak.
3560 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3561 __freeifaddrs. Use libc_hidden_weak.
3562 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3563 Remove variable.
3564 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3565 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3566
35672014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3568
3569 [BZ #17601]
3570 * sysdeps/mips/start.S (__start): Use indirect jump to call
3571 __libc_start_main.
3572
35732014-12-02 Joseph Myers <joseph@codesourcery.com>
3574
3575 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3576
3577 * nptl/tst-mutex1.c: Include <stdbool.h>.
3578 [!ATTR] (ATTR_NULL): New macro.
3579 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3580 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3581 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3582
3583 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3584 to char *.
3585
3586 [BZ #17665]
3587 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3588 Change conditional to [__USE_MISC].
3589
3590 [BZ #17664]
3591 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3592 fgets_unlocked.
3593 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3594 __fgets_unlocked.
3595 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3596 fgets_unlocked.
3597 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3598 Remove variable.
3599 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3600 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3601 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3602 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3604 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3605 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3606 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3607 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3608
3609 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3610
36112014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3612
3613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3614 Remove strpbrk objects.
3615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3616 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3617 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3618 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3619 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3620 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3621
3622 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3623 Remove strcspn objects.
3624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3625 (__libc_ifunc_impl_list): Remove strcspn implementation.
3626 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3627 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3628 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3629 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3630
3631 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3632 Remove strspn objetcs.
3633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3634 (__libc_ifunc_impl_list): Remove strspn implementation.
3635 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3636 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3637 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3638 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3639
36402014-12-01 James Lemke <jwlemke@codesourcery.com>
3641
3642 [BZ #17581]
3643 * malloc/hooks.c
3644 (mem2mem_check): Add a terminator to the chain of checking blocks.
3645 (malloc_check_get_size): Use it here.
3646 (mem2chunk_check): Ditto.
3647
36482014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3649
3650 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3651 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3652
36532014-11-29 Carlos O'Donell <carlos@redhat.com>
3654
3655 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3656
3657 * nptl/nptl-init.c: Include libc-internal.h.
3658 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3659
3660 * elf/ldconfig.c (search_dir): Expand comment.
3661
36622014-11-29 Joseph Myers <joseph@codesourcery.com>
3663
3664 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3665 variable.
3666 (linknamespace-symlist-stdlibs-tests): Likewise.
3667 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3668 instead of $(objpfx)symlist-stdlibs.
3669 (linknamespace-libs-isoc): New variable.
3670 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3671 (linknamespace-libs-ISO): New variable.
3672 (linknamespace-libs-ISO99): Likewise.
3673 (linknamespace-libs-ISO11): Likewise.
3674 (linknamespace-libs-XPG3): Likewise.
3675 (linknamespace-libs-XPG4): Likewise.
3676 (linknamespace-libs-POSIX): Likewise.
3677 (linknamespace-libs-UNIX98): Likewise.
3678 (linknamespace-libs-XOPEN2K): Likewise.
3679 (linknamespace-libs-POSIX2008): Likewise.
3680 (linknamespace-libs-XOPEN2K8): Likewise.
3681 ($(objpfx)symlist-stdlibs): Replace by
3682 $(linknamespace-symlist-stdlibs-tests). Use
3683 $(linknamespace-libs-$*) as set of libraries.
3684 ($(linknamespace-header-tests)): Update dependencies. Use
3685 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3686 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3687 * conform/linknamespace.pl: Remove comment about considering
3688 definitions of symbols from irrelevant libraries.
3689
36902014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 [BZ #13862]
3693 * elf/dl-tls.c: Include <atomic.h>.
3694 (oom): Remove #ifdef SHARED/#endif.
3695 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3696 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3697 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3698 big enough.
3699 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3700 * nptl/Makefile (tests): Add tst-stack4.
3701 (modules-names): Add tst-stack4mod.
3702 ($(objpfx)tst-stack4): New.
3703 (tst-stack4mod.sos): Likewise.
3704 ($(objpfx)tst-stack4.out): Likewise.
3705 ($(tst-stack4mod.sos)): Likewise.
3706 (clean): Likewise.
3707 * nptl/tst-stack4.c: New file.
3708 * nptl/tst-stack4mod.c: Likewise.
3709
37102014-11-27 J. Brown <jb999@gmx.de>
3711
3712 * sysdeps/x86/bits/string.h: Add recent CPUs.
3713
37142014-11-27 Joseph Myers <joseph@codesourcery.com>
3715
3716 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3717 sigblock.
3718
3719 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3720 feof.
3721
3722 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3723 variable.
3724
37252014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3726
3727 * nscd/connections.c: Include libc-internal.h because of macro
3728 usage ignore_value.
3729
37302014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3731
3732 * string/bits/string3.h (__warn_memset_zero_len): Don't
3733 declare for gcc newer than 5.0.
3734 (memset): Don't test for zero-length __LEN for gcc newer than
3735 5.0.
3736
37372014-11-27 Joseph Myers <joseph@codesourcery.com>
3738
3739 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3740 size_t for %zu format.
3741
3742 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3743 difference, not %ju.
3744
37452014-11-26 Joseph Myers <joseph@codesourcery.com>
3746
3747 * include/libc-internal.h (ignore_value): New macro.
3748 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3749 with ignore_value.
3750
3751 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3752 definition.
3753
3754 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3755 pthread_cleanup_push to void *.
3756
3757 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3758 Undefine.
3759
3760 [BZ #16619]
3761 [BZ #16740]
3762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3763 instead of 1L << 52.
3764
3765 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3766 * libio/bug-rewind2.c (do_test): Likewise.
3767
3768 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3769 * debug/test-strcpy_chk-ifunc.c: Likewise.
3770 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3771 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3772 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3773 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3774 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3775 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3776 * Rules [$(multi-arch) = no] (tests): Do not filter out
3777 $(tests-ifunc).
3778 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3779 * debug/Makefile (tests-ifunc): Remove variable.
3780 (tests): Do not add $(tests-ifunc).
3781 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3782 (tests): Do not add $(tests-ifunc).
3783 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3784 [TEST_IFUNC]: Remove conditionals.
3785 * string/test-string.h (TEST_IFUNC): Remove macro.
3786 [TEST_IFUNC]: Remove conditionals.
3787
3788 * string/test-strchr.c [!WIDE] (L): New macro.
3789 [WIDE] (L): Likewise.
3790 (check1): Use CHAR instead of char. Use L on string and character
3791 constants.
3792
37932014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3794
3795 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3796 tests.
3797 * sysdeps/powerpc/bits/atomic.h
3798 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3799 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3800 (atomic_exchange_and_add_acq): Likewise.
3801 (atomic_exchange_and_add_rel): Likewise.
3802 * sysdeps/powerpc/powerpc32/bits/atomic.h
3803 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3804 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3805 * sysdeps/powerpc/powerpc64/bits/atomic.h
3806 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3807 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3808
38092014-11-26 Torvald Riegel <triegel@redhat.com>
3810
3811 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3812 Change synchronization of __sched_fifo_min_prio and
3813 __sched_fifo_max_prio.
3814 * nptl/pthread_mutexattr_getprioceiling.c
3815 (pthread_mutexattr_getprioceiling): Likewise.
3816 * nptl/pthread_mutexattr_setprioceiling.c
3817 (pthread_mutexattr_setprioceiling): Likewise.
3818 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3819 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3820 Likewise.
3821
38222014-11-26 Joseph Myers <joseph@codesourcery.com>
3823
3824 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3825 void.
3826
38272014-11-25 Joseph Myers <joseph@codesourcery.com>
3828
3829 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3830 third argument const.
3831
38322014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3833
3834 fnmatch: work around GCC compiler warning bug with uninit var
3835 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3836 This works around a bug with x86-64 GCC 4.9.2 and earlier
3837 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3838 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3839 used uninitialized in this function [-Wmaybe-uninitialized]".
3840
38412014-11-25 Joseph Myers <joseph@codesourcery.com>
3842
3843 * posix/bug-regex31.c (main): Return RES not 0.
3844
38452014-11-25 Anton Blanchard <anton@samba.org>
3846
3847 * sysdeps/powerpc/bits/atomic.h
3848 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3849
38502014-11-24 Sterling Augustine <saugustine@google.com>
3851
3852 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3853
38542014-11-24 Ryan Cumming <etaoins@gmail.com>
3855
3856 [BZ #17608]
3857 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3858
38592014-11-24 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #17633]
3862 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3863 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3864 variable.
3865 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3866 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3867
38682014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3869
3870 * string/strncpy.c (strncpy): Improve performance by using memset.
3871
38722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3873
3874 * string/strcpy.c (strcpy):
3875 Improve performance by using strlen and memcpy.
3876
38772014-11-24 Leonhard Holz <leonhard.holz@web.de>
3878
3879 * string/strcoll_l.c (get_next_seq): __always_inline.
3880 * string/strcoll_l.c (do_compare): __always_inline.
3881
38822014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3883
3884 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3885 defined.
3886 * include/mqueue.h: Likewise.
3887 * include/stdlib.h: Likewise.
3888
3889 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3890 (get_null_defines): Adjust.
3891 * sunrpc/Makefile: Adjust comment.
3892 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3893 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3894 (CFLAGS-interp.c): Likewise.
3895 (CFLAGS-ldconfig.c): Likewise.
3896 (CPPFLAGS-.os): Likewise.
3897 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3898 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3899 * extra-modules.mk (extra-modules.mk): Likewise.
3900 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3901 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3902 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3903 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3904 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3905 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3906 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3907 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3908 * iconvdata/Makefile (CPPFLAGS): Likewise.
3909 (cpp-srcs-left): Add libof for all iconvdata routines.
3910 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3911 * include/assert.h: Likewise.
3912 * include/ctype.h: Likewise.
3913 * include/errno.h: Likewise.
3914 * include/libc-symbols.h: Likewise.
3915 * include/math.h: Likewise.
3916 * include/netdb.h: Likewise.
3917 * include/resolv.h: Likewise.
3918 * include/stdio.h: Likewise.
3919 * include/stdlib.h: Likewise.
3920 * include/string.h: Likewise.
3921 * include/sys/stat.h: Likewise.
3922 * include/wctype.h: Likewise.
3923 * intl/l10nflist.c: Likewise.
3924 * libidn/idn-stub.c: Likewise.
3925 * libio/libioP.h: Likewise.
3926 * nptl/libc_multiple_threads.c: Likewise.
3927 * nptl/pthreadP.h: Likewise.
3928 * posix/regex_internal.h: Likewise.
3929 * resolv/res_hconf.c: Likewise.
3930 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3931 * sysdeps/arm/memmove.S: Likewise.
3932 * sysdeps/arm/sysdep.h: Likewise.
3933 * sysdeps/generic/_itoa.h: Likewise.
3934 * sysdeps/generic/symbol-hacks.h: Likewise.
3935 * sysdeps/gnu/errlist.awk: Likewise.
3936 * sysdeps/gnu/errlist.c: Likewise.
3937 * sysdeps/i386/i586/memcpy.S: Likewise.
3938 * sysdeps/i386/i586/memset.S: Likewise.
3939 * sysdeps/i386/i686/memcpy.S: Likewise.
3940 * sysdeps/i386/i686/memmove.S: Likewise.
3941 * sysdeps/i386/i686/mempcpy.S: Likewise.
3942 * sysdeps/i386/i686/memset.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3944 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3945 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3946 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3949 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3959 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3960 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3961 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3962 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3963 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3964 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3965 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3966 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3967 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3968 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3969 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3970 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3972 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3980 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3990 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3998 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4001 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4004 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4005 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4006 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4007 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4008 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4009 * sysdeps/posix/closedir.c: Likewise.
4010 * sysdeps/posix/opendir.c: Likewise.
4011 * sysdeps/posix/readdir.c: Likewise.
4012 * sysdeps/posix/rewinddir.c: Likewise.
4013 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4014 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4015 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4016 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4017 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4019 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4025 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4026 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4027 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4032 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4049 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4050 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4052 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4053 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4054 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4055 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4057 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4058 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4059 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4060 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4061 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4062 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4064 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4065 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4066 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4067 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4070 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4071 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4072 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4073 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4075 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4076 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4077 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4078 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4079 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4080 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4081 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4082 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4083 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4084 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4085 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4087 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4089 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4090 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4091 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4092 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4093 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4095 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4096 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4097 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4098 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4099 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4100 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4101 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4102 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4103 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4104 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4105 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4109 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4112 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4114 * sysdeps/unix/alpha/sysdep.S: Likewise.
4115 * sysdeps/unix/alpha/sysdep.h: Likewise.
4116 * sysdeps/unix/make-syscalls.sh: Likewise.
4117 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4119 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4120 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4121 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4122 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4123 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4124 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4125 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4126 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4128 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4129 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4130 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4131 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4132 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4133 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4134 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4135 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4137 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4138 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4139 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4140 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4141 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4142 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4143 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4146 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4147 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4155 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4156 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4157 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4158 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4159 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4160 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4161 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4167 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4168 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4169 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4170 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4173 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4175 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4176 * sysdeps/x86_64/memcpy.S: Likewise.
4177 * sysdeps/x86_64/memmove.c: Likewise.
4178 * sysdeps/x86_64/memset.S: Likewise.
4179 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4181 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4182 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4183 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4184 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4186 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4188 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4189 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4190 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4191 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4194 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4196 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4198 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4199 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4200 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4203 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4204 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4205 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4206 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4208 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4209 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4210 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4211 * sysdeps/x86_64/strcmp.S: Likewise.
4212
4213 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4214
4215 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4216 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4217 * elf/rtld-Rules: Likewise.
4218 * elf/setup-vdso.h: Likewise.
4219 * include/assert.h: Likewise.
4220 * include/bits/stdlib-float.h: Likewise.
4221 * include/errno.h: Likewise.
4222 * include/sys/stat.h: Likewise.
4223 * include/unistd.h: Likewise.
4224 * sysdeps/aarch64/setjmp.S: Likewise.
4225 * sysdeps/alpha/setjmp.S: Likewise.
4226 * sysdeps/arm/__longjmp.S: Likewise.
4227 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4228 * sysdeps/arm/setjmp.S: Likewise.
4229 * sysdeps/arm/sysdep.h: Likewise.
4230 * sysdeps/generic/_itoa.h: Likewise.
4231 * sysdeps/generic/dl-sysdep.h: Likewise.
4232 * sysdeps/generic/ldsodefs.h: Likewise.
4233 * sysdeps/i386/dl-tls.h: Likewise.
4234 * sysdeps/i386/setjmp.S: Likewise.
4235 * sysdeps/m68k/setjmp.c: Likewise.
4236 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4237 * sysdeps/mach/hurd/opendir.c: Likewise.
4238 * sysdeps/posix/getcwd.c: Likewise.
4239 * sysdeps/posix/opendir.c: Likewise.
4240 * sysdeps/posix/profil.c: Likewise.
4241 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4242 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4245 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4248 * sysdeps/s390/dl-tls.h: Likewise.
4249 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4250 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4251 * sysdeps/sh/sh3/setjmp.S: Likewise.
4252 * sysdeps/sh/sh4/setjmp.S: Likewise.
4253 * sysdeps/unix/alpha/sysdep.h: Likewise.
4254 * sysdeps/unix/arm/sysdep.S: Likewise.
4255 * sysdeps/unix/i386/sysdep.S: Likewise.
4256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4257 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4258 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4259 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4262 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4263 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4264 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4265 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4266 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4267 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4271 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4274 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4279 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4280 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4284 * sysdeps/x86_64/setjmp.S: Likewise.
4285
4286 * include/math.h: Use IS_IN instead of IS_IN_libm.
4287 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4299 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4307 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4308 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4309 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4310 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4311 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4312 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4314 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4315 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4316 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4317 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4318 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4319 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4321 Likewise.
4322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4323 Likewise.
4324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4325 Likewise.
4326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4327 Likewise.
4328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4329 Likewise.
4330 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4332 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4333 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4334 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4335 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4341 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4342 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4344 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4346 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4348 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4351 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4354 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4356 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4357
4358 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4359 * nptl/pthreadP.h: Likewise.
4360 * nptl_db/structs.def: Likewise.
4361 * sysdeps/arm/sysdep.h: Likewise.
4362 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4363 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4364 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4365 * sysdeps/unix/alpha/sysdep.h: Likewise.
4366 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4367 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4368 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4369 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4370 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4375 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4376 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4379 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4384 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4387 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4388 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4389 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4391 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4392
4393 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4394 * nptl/pthreadP.h: Likewise.
4395 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4396 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4397 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4398 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4399 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4400 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4401 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4402 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4403 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4404 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4405 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4406 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4408 Likewise.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4410 Likewise.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4413 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4416 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4417 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4418 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4419
4420 * dlfcn/dladdr.c: Use IS_IN.
4421 * dlfcn/dladdr1.c: Likewise.
4422 * dlfcn/dlclose.c: Likewise.
4423 * dlfcn/dlerror.c: Likewise.
4424 * dlfcn/dlinfo.c: Likewise.
4425 * dlfcn/dlmopen.c: Likewise.
4426 * dlfcn/dlopen.c: Likewise.
4427 * dlfcn/dlsym.c: Likewise.
4428 * dlfcn/dlvsym.c: Likewise.
4429
4430 * include/ifaddrs.h: Use IS_IN.
4431 * inet/check_pf.c: Likewise.
4432 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4433 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4434
4435 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4436 IS_IN_ldconfig.
4437 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4438 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4439
4440 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4441 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4442 IS_IN (libc).
4443
4444 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4445
4446 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4447 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4448 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4449 * include/libc-symbols.h (IS_IN_LIB): New macro.
4450 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4451 * include/netdb.h: Likewise.
4452 * include/stap-probe.h: Remove all uses of IN_LIB.
4453
4454 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4455 instead of IN_MODULE.
4456 * include/libc-symbols.h (IN_MODULE): Define using
4457 MODULE_NAME.
4458 (PASTE_NAME, PASTE_NAME1): New macros.
4459 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4460 of IN_LIB.
4461 (STAP_PROBE_ASM): Likewise.
4462
44632014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4464
4465 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4466 __mach_init in dlopened libc.
4467
44682014-11-22 Mike Frysinger <vapier@gentoo.org>
4469
4470 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4471 * sysdeps/arm/preconfigure: Regenerate.
4472
44732014-11-21 Roland McGrath <roland@hack.frob.com>
4474
4475 * nptl/pthread_create.c (__pthread_create_2_1): Set
4476 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4477 when copying values from IATTR into PD.
4478
44792014-11-21 Will Newton <will.newton@linaro.org>
4480 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4481
4482 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4483 Refactor inline-asm. Also add comment.
4484
4485 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4486 ElfW macro instead of hardcoded Elf64 types.
4487 (la_aarch64_gnu_pltenter): Likewise.
4488 * sysdeps/aarch64/dl-machine.h
4489 (elf_machine_runtime_setup): Use ElfW(Addr).
4490
4491 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4492 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4493 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4494 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4495 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4496 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4497 (R_AARCH64_TLS_DTPMOD): This.
4498 (R_AARCH64_TLS_DTPREL64): Rename to ...
4499 (R_AARCH64_TLS_DTPREL): This.
4500 (R_AARCH64_TLS_TPREL64): Rename to ...
4501 (R_AARCH64_TLS_TPREL): This.
4502 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4503 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4504 R_AARCH64_TLS_TPREL64.
4505 (elf_machine_rela): Likewise.
4506
45072014-11-21 Torvald Riegel <triegel@redhat.com>
4508
4509 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4510 by setting it to 0. 64b atomics are not supported currently.
4511
45122014-11-21 Alexandre Oliva <aoliva@redhat.com>
4513
4514 [BZ #16469]
4515 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4516 search domain names.
4517
45182014-11-21 Alexandre Oliva <aoliva@redhat.com>
4519
4520 [BZ #16469]
4521 * NEWS: Update.
4522 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4523 trailing dot.
4524 * posix/tst-getaddrinfo5.c: New.
4525 * posix/Makefile (tests): Add it.
4526
45272014-11-21 Alexandre Oliva <aoliva@redhat.com>
4528
4529 [BZ #14498]
4530 * NEWS: Fixed.
4531 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4532 after parsing line but before break_if_match.
4533 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4534 if there is a protocol mismatch.
4535
45362014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4537
4538 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4539 because the potential race is on the user-supplied stream.
4540
45412014-11-21 Alexandre Oliva <aoliva@redhat.com>
4542
4543 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4544 string literal if not passed a buffer.
4545 * manual/job.texi (ctermid): Update reasoning, note deviation
4546 from posix, suggest mtasurace when not passed a buffer, for
4547 future non-preliminary safety notes.
4548
45492014-11-21 Alexandre Oliva <aoliva@redhat.com>
4550
4551 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4552 of not passing it a buffer.
4553 Reported by Peng Haitao.
4554
45552014-11-21 Alexandre Oliva <aoliva@redhat.com>
4556
4557 * manual/Makefile ($(objpfx)stamp-summary): Require
4558 check-safety.sh to pass.
4559 * manual/check-safety.sh: Wish for verification that every
4560 @deftypefn and @deftypefun is followed by a @safety remark.
4561
45622014-11-20 Roland McGrath <roland@hack.frob.com>
4563
4564 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4565
4566 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4567 PTHREAD_CANCEL_ASYNCHRONOUS.
4568 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4569 send SIGCANCEL.
4570
4571 * nptl/default-sched.h: New file.
4572 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4573 * nptl/pthread_create.c: Include it.
4574 (__pthread_create_2_1): Use collect_default_sched instead of making
4575 Linux syscalls here directly.
4576
45772014-11-20 Torvald Riegel <triegel@redhat.com>
4578
4579 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4580 __pthread_once): Use C11 atomics.
4581
45822014-11-20 Torvald Riegel <triegel@redhat.com>
4583
4584 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4585
45862014-11-20 Torvald Riegel <triegel@redhat.com>
4587
4588 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4589 atomic_thread_fence_acquire, atomic_thread_fence_release,
4590 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4591 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4592 atomic_compare_exchange_weak_relaxed,
4593 atomic_compare_exchange_weak_acquire,
4594 atomic_compare_exchange_weak_release,
4595 atomic_exchange_acquire, atomic_exchange_release,
4596 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4597 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4598 atomic_fetch_and_acquire,
4599 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4600
46012014-11-20 Torvald Riegel <triegel@redhat.com>
4602
4603 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4604 USE_ATOMIC_COMPILER_BUILTINS): Define.
4605 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4607 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4609 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4611 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4613 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4615 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4617 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4619 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4621 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4623 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4625 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4627 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4629 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4631 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4633 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4635 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4637 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4639 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4640 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4641 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4643 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4645
46462014-11-19 Roland McGrath <roland@hack.frob.com>
4647
4648 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4649 the sched_priority value here. It was already checked when the user
4650 called pthread_attr_setschedparam.
4651
4652 * nptl/tst-bad-schedattr.c: New file.
4653 * nptl/Makefile (tests): Add it.
4654
46552014-11-19 Carlos O'Donell <carlos@redhat.com>
4656 Florian Weimer <fweimer@redhat.com>
4657 Joseph Myers <joseph@codesourcery.com>
4658 Adam Conrad <adconrad@0c3.net>
4659 Andreas Schwab <schwab@suse.de>
4660 Brooks <bmoses@google.com>
4661
4662 [BZ #17625]
4663 * wordexp-test.c (__dso_handle): Add prototype.
4664 (__register_atfork): Likewise.
4665 (__app_register_atfork): New function.
4666 (registered_forks): New global.
4667 (register_fork): New function.
4668 (test_case): Add 3 new tests for WRDE_CMDSUB.
4669 (main): Call __app_register_atfork.
4670 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4671 fork count is non-zero fail the test.
4672 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4673 is set.
4674 (parse_dollars): Remove check for WRDE_NOCMD.
4675 (parse_dquote): Likewise.
4676
46772014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4678
4679 * Makeconfig (built-modules): List non-library modules to be
4680 built.
4681 (module-cppflags): Include libc-modules.h for
4682 everything except shlib-versions.v.i.
4683 (CPPFLAGS): Use it.
4684 (before-compile): Add libc-modules.h.
4685 ($(common-objpfx)libc-modules.h,
4686 $(common-objpfx)libc-modules.stmp): New targets.
4687 (common-generated): Add libc-modules.h and libc-modules.stmp.
4688 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4689 * include/libc-symbols.h: Don't include libc-modules.h.
4690 * include/libc-modules.h: Remove file.
4691 * scripts/gen-libc-modules.awk: New script to generate
4692 libc-modules.h.
4693 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4694 Depend on libc-modules.stmp.
4695
4696 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4697
4698 * Makeconfig (in-module): Get value of libof set for the
4699 translation unit.
4700 (CPPFLAGS): Use $(in-module).
4701 * Makerules: Don't suffix routine names for nonlib.
4702 * include/libc-modules.h: New file.
4703 * include/libc-symbols.h: Include libc-modules.h
4704 (IS_IN): New macro to replace IS_IN_* macros.
4705 * elf/Makefile: Set libof-* for each routine.
4706 * elf/rtld-Rules: Likewise.
4707 * extra-modules.mk: Likewise.
4708 * iconv/Makefile: Likewise.
4709 * iconvdata/Makefile: Likewise.
4710 * locale/Makefile: Likewise.
4711 * malloc/Makefile: Likewise.
4712 * nss/Makefile: Likewise.
4713 * sysdeps/gnu/Makefile: Likewise.
4714 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4715 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4716 * sysdeps/s390/s390-64/Makefile: Likewise.
4717 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4718 CPPFLAGS for nscd instead of nonlib.
4719
47202014-11-18 Roland McGrath <roland@hack.frob.com>
4721
4722 * nptl/createthread.c: New file.
4723
4724 * nptl/createthread.c: Moved ...
4725 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4726
4727 * nptl/createthread.c: Add proper top-line comment.
4728 (do_clone): Folded into ...
4729 (create_thread): ... here. Take new arguments STOPPED_START and
4730 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4731 increment __nptl_threads, do event-reporting logic, do
4732 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4733 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4734 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4735 just send SIGCANCEL.
4736 * nptl/pthread_create.c: Forward-declare create_thread before
4737 including createthread.c.
4738 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4739 declaration, and new macro START_THREAD_SELF to replace argument.
4740 Remove return statement.
4741 (report_thread_creation): New function.
4742 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4743 synchronization logic, and __nptl_nthreads increment here, around
4744 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4745 PD->parent_cancelhandling here, before create_thread. When
4746 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4747 __deallocate_stack, and ENOMEM translation here.
4748
47492014-11-18 Joseph Myers <joseph@codesourcery.com>
4750
4751 [BZ #17616]
4752 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4753 (mptwo): Rename to __mptwo.
4754 (__inv): Use __mptwo instead of mptwo.
4755 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4756 (mptwo): Rename to __mptwo.
4757 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4758 of mpone and __mptwo instead of mptwo.
4759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4760 instead of mpone.
4761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4762 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4763 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4764 of mpone and __mptwo instead of mptwo.
4765 (__mpranred): Use __mpone instead of mpone.
4766 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4767 variable.
4768 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4769 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4770 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4771 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4772 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4773 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4774 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4775 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4776 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4777 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4778 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4779 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4780 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4781 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4782 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4783 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4784 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4785 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4787
47882014-11-18 Tom de Vries <tom@codesoucery.com>
4789
4790 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4791 replace BSD Handler xref with BSD Signal Handling.
4792
47932014-11-17 Richard Henderson <rth@redhat.com>
4794
4795 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4796 (_FP_PACK_RAW_2): Remove.
4797 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4798 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4799 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4800 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4801 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4802 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4803 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4804 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4805 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4806 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4807 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4808 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4809 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4810 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4811 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4812 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4813
48142014-11-14 Roland McGrath <roland@hack.frob.com>
4815
4816 * signal/signal.h [__USE_MISC]
4817 (struct sigvec): Remove type.
4818 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4819 (sigvec): Remove declaration.
4820 * sysdeps/posix/sigvec.c: Moved ...
4821 * signal/sigvec.c: ... here, replacing old file.
4822 (struct sigvec): New type, copied from old signal.h definition.
4823 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4824 (__sigvec): Convert definition to prototype.
4825 (sigvec): Replace weak_alias with compat_symbol.
4826 * signal/Versions (libc: GLIBC_2.21): New version set.
4827 * include/signal.h: Remove __sigvec declaration.
4828 * sysdeps/unix/bsd/sigvec.c: Remove file.
4829 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4830 * manual/signal.texi (BSD Handler): Remove subsection.
4831 Move siginterrupt up to ...
4832 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4833 (Blocking in BSD): Fold subsection into its parent.
4834 * NEWS: Mention sigvec removal.
4835
48362014-11-14 Joseph Myers <joseph@codesourcery.com>
4837
4838 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4839 (DLA_FMS): Make definition conditional only on [__FMA4__].
4840 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4841 definition.
4842
4843 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4844 Make definition conditional only on [PROF].
4845 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4846 definition.
4847 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4848 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4849
4850 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4851 !__GNUC__].
4852 * include/signal.h (__sigpause): Move declaration above call to
4853 libc_hidden_proto.
4854 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4855 variable.
4856 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4857 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4858
48592014-11-14 David S. Miller <davem@davemloft.net>
4860
4861 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4862 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4863
48642014-11-14 Joseph Myers <joseph@codesourcery.com>
4865
4866 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4867 * configure: Regenerated.
4868 * manual/install.texi (Tools for Compilation): Document a
4869 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4870 compiler verified to work.
4871 * INSTALL: Regenerated.
4872
4873 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4874 redeclare with asm name.
4875 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4876 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4877 including <string.h>.
4878 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4879 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4880 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4881 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4882 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4883 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4884 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4885
48862014-11-13 Joseph Myers <joseph@codesourcery.com>
4887
4888 * stdlib/strtol.c (__strtol): Use prototype definition.
4889
4890 [BZ #17594]
4891 * stdlib/strtol.c (SYM__): New macro.
4892 (SYM__1): Likewise.
4893 (__strtol): Likewise.
4894 (strtol): Rename to __strtol and define as weak alias of
4895 __strtol. Use libc_hidden_weak.
4896
48972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4898
4899 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4900 Use numbered labels in inline assembly.
4901
49022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4903
4904 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4905 Add setjmp LIBC_PROBE.
4906 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4907 Likewise.
4908 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4909 Add longjmp, longjmp_target LIBC_PROBE.
4910 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4911 Likewise.
4912
49132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4914
4915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4916 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4917 to get rid of unused variable warning.
4918
49192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4920
4921 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4922 Check for unwind_backtrace == NULL only in SHARED case.
4923 (__backchain_backtrace): Compile only in SHARED case.
4924 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4925 Likewise.
4926 (__backchain_backtrace): Declare as static.
4927
49282014-11-12 Roland McGrath <roland@hack.frob.com>
4929
4930 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4931 (__libc_multiple_threads_ptr): Variable moved ...
4932 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4933
49342014-11-12 Joseph Myers <joseph@codesourcery.com>
4935
4936 * conform/GlibcConform.pm: New file.
4937 * conform/conformtest.pl: Use GlibcConform module.
4938 * conform/linknamespace.pl: New file.
4939 * conform/list-header-symbols.pl: Likewise.
4940 * conform/Makefile (linknamespace-symlists-base): New variable.
4941 (linknamespace-symlists-tests): Likewise.
4942 (linknamespace-header-base): Likewise.
4943 (linknamespace-header-tests): Likewise.
4944 (tests-special): Add new tests.
4945 ($(linknamespace-symlists-tests)): New rule.
4946 (linknamespace-libs): New variable.
4947 ($(objpfx)symlist-stdlibs): New rule.
4948 ($(linknamespace-header-tests)): Likewise.
4949 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4950 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4951 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4952 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4953 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4954 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4955 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4956 (test-xfail-ISO/math.h/linknamespace): Likewise.
4957 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4958 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4959 (test-xfail-ISO/time.h/linknamespace): Likewise.
4960 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4961 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4962 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4963 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4964 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4965 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4966 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4967 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4968 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4969 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4970 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4971 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4972 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4973 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4974 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4975 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4976 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4977 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4978 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4979 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4980 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4981 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4982 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4983 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4984 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4985 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4986 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4987 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4988 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4989 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4990 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4991 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4992 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4993 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4994 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4995 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4996 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4997 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4998 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4999 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5000 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5001 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5002 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5003 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5004 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5005 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5006 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5007 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5008 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5009 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5010 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5011 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5012 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5013 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5014 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5015 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5016 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5017 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5018 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5019 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5020 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5021 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5022 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5023 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5024 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5025 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5026 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5027 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5028 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5029 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5030 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5031 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5032 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5033 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5034 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5035 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5036 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5037 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5038 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5039 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5040 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5041 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5042 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5043 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5044 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5045 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5046 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5047 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5048 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5049 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5050 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5051 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5052 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5053 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5054 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5055 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5056 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5057 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5058 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5059 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5060 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5061 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5062 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5063 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5064 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5065 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5066 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5067 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5068 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5069 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5070 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5071 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5072 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5073 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5074 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5075 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5076 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5077 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5078 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5079 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5080 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5081 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5082 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5083 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5084 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5085 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5086 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5087 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5088 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5089 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5090 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5091 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5092 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5093 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5094 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5095 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5096 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5097 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5098 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5099 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5100 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5101 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5102 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5103 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5104 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5105 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5106 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5107 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5108 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5109 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5110
5111 [BZ #17589]
5112 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5113 of fgets_unlocked.
5114
5115 [BZ #17585]
5116 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5117 (memmem): Rename to __memmem and define as weak alias of
5118 __memmem. Use libc_hidden_weak.
5119 (__memmem): Use libc_hidden_def.
5120 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5121 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5122 memmem.
5123
5124 [BZ #17582]
5125 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5126 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5127 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5128 and define as weak alias of __fgets_unlocked. Use
5129 libc_hidden_weak.
5130 (__fgets_unlocked): Use libc_hidden_def.
5131 * include/stdio.h (__fgets_unlocked): Declare. Use
5132 libc_hidden_proto.
5133 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5134 __fgets_unlocked instead of fgets_unlocked.
5135 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5136 (GET_NPROCS_CONF_PARSER): Likewise.
5137 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5138 (GET_NPROCS_CONF_PARSER): Likewise.
5139
5140 [BZ #17574]
5141 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5142 weak alias of __wmemset. Use libc_hidden_weak.
5143 (__wmemset): Use libc_hidden_def.
5144 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5145 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5146 of wmemset.
5147
5148 [BZ #17573]
5149 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5150 with asm name __mempcpy.
5151 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5152
5153 [BZ #17572]
5154 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5155 and define as weak alias of __rawmemchr.
5156 (__rawmemchr): Do not define as strong alias of rawmemchr.
5157
5158 [BZ #17571]
5159 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5160 alias of __qsort_r.
5161 (qsort): Call __qsort_r instead of qsort_r.
5162 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5163 (__qsort_r): Declare. Call libc_hidden_proto.
5164 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5165 instead of qsort_r.
5166 * nscd/gai.c (__qsort_r): Define to qsort_r.
5167 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5168 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5169 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5170
5171 [BZ #17570]
5172 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5173 define as weak alias of __malloc_info.
5174
5175 [BZ #17584]
5176 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5177 as weak alias of __rewinddir. Don't use libc_hidden_def.
5178 (__rewinddir): Use libc_hidden_def.
5179 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5180 as weak alias of __rewinddir. Don't use libc_hidden_def.
5181 (__rewinddir): Use libc_hidden_def.
5182 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5183 weak alias of __rewinddir. Don't use libc_hidden_def.
5184 (__rewinddir): Use libc_hidden_def.
5185 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5186 (__rewinddir): Use libc_hidden_proto.
5187 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5188 rewinddir.
5189 (__getcwd): Use __rewinddir instead of rewinddir.
5190
5191 [BZ #17583]
5192 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5193 alias of __fileno. Use libc_hidden_weak.
5194 (__fileno): Use libc_hidden_def.
5195 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5196 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5197 alias of __ftello.
5198 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5199 __ftello.
5200 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5201 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5202 libc_hidden_def.
5203 (fread_unlocked): Don't use libc_hidden_ver.
5204 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5205 and define as weak alias of __fread_unlocked. Don't use
5206 libc_hidden_def.
5207 (__fread_unlocked): Use libc_hidden_def.
5208 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5209 (ftello): Don't use libc_hidden_proto.
5210 (__ftello): Declare. Use libc_hidden_proto.
5211 (fread_unlocked): Don't use libc_hidden_proto.
5212 (__fread_unlocked): Declare. Use libc_hidden_proto.
5213 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5214 and __ftello instead of fileno, fread_unlocked and ftello.
5215
52162012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5219 GOT12.
5220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5221 Likewise.
5222 (_dl_start_user): Likewise.
5223 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5224
52252014-11-12 Carlos O'Donell <carlos@redhat.com>
5226 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5229 Move argv and envp down instead of moving argc up.
5230 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5231
52322014-11-12 Leonhard Holz <leonhard.holz@web.de>
5233
5234 [BZ #17506]
5235 * test-skeleton.c (main): Return successful if one of
5236 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5237 * string/tst-strcoll-overflow.c: Define expected status.
5238
52392014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5240
5241 [BZ #17475]
5242 * locale/iso-639.def: Define Bhili and Tulu language codes.
5243
52442014-11-11 Alan Hayward <alan.hayward@arm.com>
5245
5246 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5247
52482014-11-10 Renlin Li <Renlin.Li@arm.com>
5249
5250 [BZ #17555]
5251 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5252
52532014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5254
5255 * configure.ac: Updated check of minimal required version to
5256 2.22.
5257 * manual/install.texi (Tools for Compilation): Updated version
5258 number.
5259 * configure: Regenerated.
5260 * INSTALL: Likewise.
5261
52622014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5263
5264 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5265 __tls_get_addr.
5266
52672014-11-07 Joseph Myers <joseph@codesourcery.com>
5268
5269 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5270 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5271 (__waitpid): Don't define as alias. Use libc_hidden_def not
5272 libc_hidden_weak.
5273 (waitpid): Define as alias of __waitpid.
5274 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5275 __waitpid.
5276 (__waitpid): Don't define as alias. Use libc_hidden_def not
5277 libc_hidden_weak.
5278 (waitpid): Define as alias of __waitpid.
5279 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5280 __libc_waitpid alias.
5281 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5283 Likewise.
5284 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5285 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5286 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5287 alias.
5288 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5289 __waitpid.
5290 (__waitpid): Don't define as alias. Use libc_hidden_def not
5291 libc_hidden_weak.
5292 (waitpid): Define as alias of __waitpid.
5293
52942014-11-06 Carlos O'Donell <carlos@redhat.com>
5295
5296 * manual/llio.texi: Add comment that write safety has been
5297 fixed in Linux.
5298
5299 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5300 (localplt-build-dso): Add elf/ld.so.
5301 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5302 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5303 and free for ld.so.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5305 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5307 Likewise.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5309 Likewise.
5310 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5311 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5312 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5313 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5314 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5315 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5316 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5318 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5321
53222014-11-05 Joseph Myers <joseph@codesourcery.com>
5323
5324 [BZ #14132]
5325 * include/libc-symbols.h (INTUSE): Remove macro.
5326 (INTDEF): Likewise.
5327 (INTVARDEF): Likewise.
5328 (_INTVARDEF): Likewise.
5329 (INTDEF2): Likewise.
5330 (INTVARDEF2): Likewise.
5331 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5332 rtld_hidden_def instead of INTVARDEF.
5333 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5334 (_dl_starting_up_internal): Remove declaration.
5335 (_dl_starting_up): Use rtld_hidden_proto.
5336 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5337 declaration.
5338 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5339 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5340 _dl_starting_up.
5341 * elf/dl-writev.h (_dl_writev): Likewise.
5342 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5343 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5344 _dl_starting_up_internal.
5345
53462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5347
5348 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5349 test-skeleton.c.
5350
53512014-11-05 Will Newton <will.newton@linaro.org>
5352
5353 * benchtests/Makefile: (bench-malloc): Add malloc thread
5354 scalability benchmark.
5355 * benchtests/bench-malloc-threads.c: New file.
5356
53572014-11-05 Richard Earnshaw <rearnsha@arm.com>
5358
5359 * sysdeps/aarch64/strchrnul.S: New file.
5360
53612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5362
5363 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5364 definition.
5365 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5366 Likwise.
5367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5368 Likewise.
5369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5370 Likewise.
5371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5372 Likewise.
5373 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5374 Likewise.
5375
53762014-11-05 Arjun Shankar <arjun.is@lostca.se>
5377
5378 * catgets/test-gencat.c: Use test-skeleton.c.
5379 * catgets/tst-catgets.c: Likewise.
5380 * csu/tst-empty.c: Likewise.
5381 * elf/tst-audit2.c: Likewise.
5382 * elf/tst-global1.c: Likewise.
5383 * elf/tst-pathopt.c: Likewise.
5384 * elf/tst-piemod1.c: Likewise.
5385 * elf/tst-tls10.c: Likewise.
5386 * elf/tst-tls11.c: Likewise.
5387 * elf/tst-tls12.c: Likewise.
5388 * gnulib/tst-gcc.c: Likewise.
5389 * iconvdata/tst-e2big.c: Likewise.
5390 * iconvdata/tst-loading.c: Likewise.
5391 * iconv/tst-iconv1.c: Likewise.
5392 * iconv/tst-iconv2.c: Likewise.
5393 * inet/test-inet6_opt.c: Likewise.
5394 * inet/tst-gethnm.c: Likewise.
5395 * inet/tst-network.c: Likewise.
5396 * inet/tst-ntoa.c: Likewise.
5397 * intl/tst-codeset.c: Likewise.
5398 * intl/tst-gettext2.c: Likewise.
5399 * intl/tst-gettext3.c: Likewise.
5400 * intl/tst-ngettext.c: Likewise.
5401 * intl/tst-translit.c: Likewise.
5402 * io/test-stat.c: Likewise.
5403 * libio/test-fmemopen.c: Likewise.
5404 * libio/tst-freopen.c: Likewise.
5405 * libio/tst-sscanf.c: Likewise.
5406 * libio/tst-ungetwc1.c: Likewise.
5407 * libio/tst-ungetwc2.c: Likewise.
5408 * libio/tst-widetext.c: Likewise.
5409 * localedata/tst-ctype.c: Likewise.
5410 * localedata/tst-digits.c: Likewise.
5411 * localedata/tst-leaks.c: Likewise.
5412 * localedata/tst-mbswcs1.c: Likewise.
5413 * localedata/tst-mbswcs2.c: Likewise.
5414 * localedata/tst-mbswcs3.c: Likewise.
5415 * localedata/tst-mbswcs4.c: Likewise.
5416 * localedata/tst-mbswcs5.c: Likewise.
5417 * localedata/tst-setlocale.c: Likewise.
5418 * localedata/tst-trans.c: Likewise.
5419 * localedata/tst-wctype.c: Likewise.
5420 * localedata/tst-xlocale1.c: Likewise.
5421 * login/tst-grantpt.c: Likewise.
5422 * malloc/tst-calloc.c: Likewise.
5423 * malloc/tst-malloc.c: Likewise.
5424 * malloc/tst-mallocstate.c: Likewise.
5425 * malloc/tst-mcheck.c: Likewise.
5426 * malloc/tst-mtrace.c: Likewise.
5427 * malloc/tst-obstack.c: Likewise.
5428 * math/atest-exp2.c: Likewise.
5429 * math/atest-exp.c: Likewise.
5430 * math/atest-sincos.c: Likewise.
5431 * math/test-matherr.c: Likewise.
5432 * math/test-misc.c: Likewise.
5433 * math/test-powl.c: Likewise.
5434 * math/tst-definitions.c: Likewise.
5435 * misc/tst-dirname.c: Likewise.
5436 * misc/tst-efgcvt.c: Likewise.
5437 * misc/tst-fdset.c: Likewise.
5438 * misc/tst-hsearch.c: Likewise.
5439 * misc/tst-mntent2.c: Likewise.
5440 * nptl/tst-sem7.c: Likewise.
5441 * nptl/tst-sem8.c: Likewise.
5442 * nptl/tst-sem9.c: Likewise.
5443 * nss/test-netdb.c: Likewise.
5444 * posix/tst-fnmatch.c: Likewise.
5445 * posix/tst-getlogin.c: Likewise.
5446 * posix/tst-gnuglob.c: Likewise.
5447 * posix/tst-mmap.c: Likewise.
5448 * pwd/tst-getpw.c: Likewise.
5449 * resolv/tst-inet_ntop.c: Likewise.
5450 * rt/tst-timer.c: Likewise.
5451 * stdio-common/test-fseek.c: Likewise.
5452 * stdio-common/test-popen.c: Likewise.
5453 * stdio-common/test-vfprintf.c: Likewise.
5454 * stdio-common/tst-cookie.c: Likewise.
5455 * stdio-common/tst-fileno.c: Likewise.
5456 * stdio-common/tst-gets.c: Likewise.
5457 * stdio-common/tst-obprintf.c: Likewise.
5458 * stdio-common/tst-perror.c: Likewise.
5459 * stdio-common/tst-sprintf2.c: Likewise.
5460 * stdio-common/tst-sprintf3.c: Likewise.
5461 * stdio-common/tst-sprintf.c: Likewise.
5462 * stdio-common/tst-swprintf.c: Likewise.
5463 * stdio-common/tst-tmpnam.c: Likewise.
5464 * stdio-common/tst-unbputc.c: Likewise.
5465 * stdio-common/tst-wc-printf.c: Likewise.
5466 * stdlib/tst-environ.c: Likewise.
5467 * stdlib/tst-fmtmsg.c: Likewise.
5468 * stdlib/tst-limits.c: Likewise.
5469 * stdlib/tst-rand48-2.c: Likewise.
5470 * stdlib/tst-rand48.c: Likewise.
5471 * stdlib/tst-random2.c: Likewise.
5472 * stdlib/tst-random.c: Likewise.
5473 * stdlib/tst-strtol.c: Likewise.
5474 * stdlib/tst-strtoll.c: Likewise.
5475 * stdlib/tst-tls-atexit.c: Likewise.
5476 * stdlib/tst-xpg-basename.c: Likewise.
5477 * string/test-ffs.c: Likewise.
5478 * string/tst-bswap.c: Likewise.
5479 * string/tst-inlcall.c: Likewise.
5480 * string/tst-strtok.c: Likewise.
5481 * string/tst-strxfrm.c: Likewise.
5482 * sysdeps/x86_64/tst-audit10.c: Likewise.
5483 * sysdeps/x86_64/tst-audit3.c: Likewise.
5484 * sysdeps/x86_64/tst-audit4.c: Likewise.
5485 * sysdeps/x86_64/tst-audit5.c: Likewise.
5486 * time/tst-ftime_l.c: Likewise.
5487 * time/tst-getdate.c: Likewise.
5488 * time/tst-mktime3.c: Likewise.
5489 * time/tst-mktime.c: Likewise.
5490 * time/tst-posixtz.c: Likewise.
5491 * time/tst-strptime2.c: Likewise.
5492 * time/tst-strptime3.c: Likewise.
5493 * wcsmbs/tst-btowc.c: Likewise.
5494 * wcsmbs/tst-mbrtowc.c: Likewise.
5495 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5496 * wcsmbs/tst-wchar-h.c: Likewise.
5497 * wcsmbs/tst-wcpncpy.c: Likewise.
5498 * wcsmbs/tst-wcrtomb.c: Likewise.
5499 * wcsmbs/tst-wcsnlen.c: Likewise.
5500 * wcsmbs/tst-wcstof.c: Likewise.
5501
55022014-11-04 Joseph Myers <joseph@codesourcery.com>
5503
5504 [BZ #14132]
5505 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5506 INTDEF.
5507 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5508 declaration.
5509 (_dl_mcount): Use rtld_hidden_proto.
5510 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5511 _dl_mcount.
5512 * elf/rtld.c (_rtld_global_ro): Likewise.
5513
5514 [BZ #14132]
5515 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5516 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5517 of _dl_init_internal.
5518 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5519 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5520 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5521 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5522 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5523 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5524 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5525 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5526 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5527 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5528 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5529 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5530 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5531 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5532 * sysdeps/tile/dl-start.S (_start): Likewise.
5533 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5534 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5535
5536 [BZ #14132]
5537 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5538 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5539 (rtld_progname): Make macro definition unconditional.
5540 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5541 INTDEF.
5542 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5543 (dl_main): Likewise.
5544 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5545 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5546 instead of _dl_argv_internal.
5547 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5548 __GI__dl_argv instead of INTUSE(_dl_argv).
5549 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5550 __GI__dl_argv instead of _dl_argv_internal.
5551
5552 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5553 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5554 macro.
5555 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5556 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5557 New macro.
5558 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5559 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5560 macro.
5561 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5562 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5563
55642014-11-04 Andreas Schwab <schwab@suse.de>
5565
5566 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5567
55682014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569
5570 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5571 mtvsrd instruction in binary form.
5572
55732014-11-03 Andreas Schwab <schwab@suse.de>
5574
5575 [BZ #17522]
5576 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5577 for less than MB_LEN_MAX use a local buffer of that size.
5578 * libio/tst-fputws.c: New file.
5579 * libio/Makefile (tests): Add tst-fputws.
5580
55812014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5582
5583 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5584 the size of the fpu_fr.fpu_dregs[] array.
5585
55862014-11-01 Joseph Myers <joseph@codesourcery.com>
5587
5588 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5589 (__nanosleep): Do not define as alias.
5590 (nanosleep): Define as alias of __nanosleep.
5591 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5592 __libc_nanosleep name.
5593
55942014-10-31 Joseph Myers <joseph@codesourcery.com>
5595
5596 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5597 install.texi in comment.
5598
55992014-10-31 Torvald Riegel <triegel@redhat.com>
5600
5601 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5602 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5603 ... add here and use lwsync or sync ...
5604 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5605 ... and add here using lwsync.
5606
56072014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5608
5609 * elf/dl-machine-reject-phdr.h: New file.
5610 * elf/dl-load.c: #include that.
5611 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5612 if that returned true.
5613
56142014-10-31 Roland McGrath <roland@hack.frob.com>
5615
5616 [BZ #17496]
5617 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5618 gen-as-const-headers chunk. Add a big scare comment after the last
5619 safe place to touch before-compile.
5620
56212014-10-31 Joseph Myers <joseph@codesourcery.com>
5622
5623 * manual/install.texi (Tools for Compilation): Update autoconf
5624 version requirements.
5625 * INSTALL: Regenerated.
5626
5627 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5628 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5629 (__libc_pselect): Likewise.
5630
5631 [BZ #14138]
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5636
56372014-10-31 Torvald Riegel <triegel@redhat.com>
5638
5639 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5640 correct barrier instruction.
5641 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5642 Likewise.
5643 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5644 Likewise.
5645
56462014-10-30 Roland McGrath <roland@hack.frob.com>
5647
5648 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5649 after defining inlines. Instead, just use parens to defeat macro
5650 expansion of __isctype in its declaration.
5651
56522014-10-30 Joseph Myers <joseph@codesourcery.com>
5653
5654 * include/sys/uio.h (__libc_readv): Remove declaration.
5655 (__libc_writev): Likewise.
5656 * misc/readv.c (__libc_readv): Rename to __readv.
5657 (__readv): Do not define as alias.
5658 (readv): Define as alias of __readv.
5659 * misc/writev.c (__libc_writev): Rename to __writev.
5660 (__writev): Do not define as alias.
5661 (writev): Define as alias of __writev.
5662 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5663 (__readv): Do not define as alias.
5664 (readv): Define unconditionally as alias of __readv.
5665 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5666 (__writev): Do not define as alias.
5667 (writev): Define unconditionally as alias of __writev.
5668 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5669 name.
5670 (writev): Do not define __libc_writev name.
5671
56722014-10-30 Roland McGrath <roland@hack.frob.com>
5673
5674 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5675 (convert_charseq): New function, broken out of ...
5676 (use_from_charmap): ... here. Call it.
5677 (use_to_charmap): Use convert_charseq and free instead of duplicating
5678 its code with a variable-length stack struct.
5679
56802014-10-30 Joseph Myers <joseph@codesourcery.com>
5681
5682 * include/fcntl.h (__libc_creat): Remove declaration.
5683 * io/creat.c (__libc_creat): Rename to creat.
5684 (creat): Do not define as alias.
5685 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5686 of creat instead of __libc_creat.
5687 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5688 to creat.
5689 (creat): Do not define as alias.
5690 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5691 __libc_creat.
5692 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5693 __libc_creat name.
5694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5695 Likewise.
5696
56972014-10-29 Carlos O'Donell <carlos@redhat.com>
5698
5699 * manual/llio.texi: Add comments discussing why write() may be
5700 considered MT-unsafe on Linux.
5701
57022014-10-28 Carlos O'Donell <carlos@redhat.com>
5703
5704 * dl-load.c (local_strdup): Remove.
5705 (expand_dynamic_string_token): Use __strdup.
5706 (decompose_rpath): Likewise.
5707 (_dl_map_object): Likewise.
5708
57092014-10-28 Joseph Myers <joseph@codesourcery.com>
5710
5711 [BZ #14132]
5712 * sysdeps/generic/unwind-dw2-fde.c
5713 (__register_frame_info_bases_internal): Do not declare.
5714 (__register_frame_info_table_bases_internal): Likewise.
5715 (__deregister_frame_info_bases_internal): Likewise.
5716 (__register_frame_info_bases): Declare and use hidden_proto before
5717 definition. Use hidden_def instead of INTDEF.
5718 (__register_frame_info_table_bases): Likewise.
5719 (__deregister_frame_info_bases): Likewise.
5720 (__register_frame_info): Do not use INTUSE.
5721 (__register_frame): Likewise.
5722 (__register_frame_info_table): Likewise.
5723 (__register_frame_table): Likewise.
5724 (__deregister_frame_info): Likewise.
5725 (__deregister_frame): Likewise.
5726
57272014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5728
5729 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5730 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5731 not undefine.
5732 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5733 Likewise.
5734 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5735 Likewise.
5736
57372014-10-27 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #14138]
5740 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5741 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5742 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5743 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5744 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5745 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5746 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5748 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5749 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5751 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5752 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5753 syscall.
5754 (setfsuid): Likewise.
5755 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5756 (setfsuid): Likewise.
5757 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5758 (setfsuid): Likewise.
5759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5760 Likewise.
5761 (setfsuid): Likewise.
5762 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5763 (setfsuid): Likewise.
5764 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5765 Likewise.
5766 (setfsuid): Likewise.
5767
57682014-10-27 Andreas Schwab <schwab@suse.de>
5769
5770 [BZ #17501]
5771 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5772 check for Slow_SSE4_2 feature bit.
5773 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5774 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5775 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5776 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5777
57782014-10-24 Roland McGrath <roland@hack.frob.com>
5779
5780 * configure.ac: Validate compiler version with a empirical test of
5781 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5782 $CC -v output.
5783 * configure: Regenerated.
5784
5785 * inet/htons.c (htons): Prototypify.
5786 * inet/htonl.c (htonl): Likewise.
5787
57882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5789
5790 * string/strncat.c (strncat): Improve performance by using strlen.
5791
57922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5793
5794 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5795
57962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5797
5798 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5799 Call libc_fetestexcept_aarch64.
5800
58012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5802
5803 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5804 Call libc_feholdexcept_aarch64.
5805
58062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5807
5808 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5809 Call get_rounding_mode.
5810
58112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5812
5813 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5814 Simplify logic.
5815
58162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5817
5818 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5819 Simplify logic.
5820
58212014-10-24 Joseph Myers <joseph@codesourcery.com>
5822
5823 [BZ #14138]
5824 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5825 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5826 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5827 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5828 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5829 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5830 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5831 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5832 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5833 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5834 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5835 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5836 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5837 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5838 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5839 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5840 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5841 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5842 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5843 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5844 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5845 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5846 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5848 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5849 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5850 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5851 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5852 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5853 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5854 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5855 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5856 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5858 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5864 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5865 syscall.
5866 (geteuid): Likewise.
5867 (getgid): Likewise.
5868 (getuid): Likewise.
5869 (getresgid): Likewise.
5870 (getresuid): Likewise.
5871 (getgroups): Likewise.
5872 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5873 (geteuid): Likewise.
5874 (getgid): Likewise.
5875 (getuid): Likewise.
5876 (getresgid): Likewise.
5877 (getresuid): Likewise.
5878 (getgroups): Likewise.
5879 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5880 (geteuid): Likewise.
5881 (getgid): Likewise.
5882 (getuid): Likewise.
5883 (getresgid): Likewise.
5884 (getresuid): Likewise.
5885 (getgroups): Likewise.
5886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5887 Likewise.
5888 (geteuid): Likewise.
5889 (getgid): Likewise.
5890 (getuid): Likewise.
5891 (getresgid): Likewise.
5892 (getresuid): Likewise.
5893 (getgroups): Likewise.
5894 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5895 (geteuid): Likewise.
5896 (getgid): Likewise.
5897 (getuid): Likewise.
5898 (getresgid): Likewise.
5899 (getresuid): Likewise.
5900 (getgroups): Likewise.
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5902 Likewise.
5903 (geteuid): Likewise.
5904 (getgid): Likewise.
5905 (getuid): Likewise.
5906 (getgroups): Likewise.
5907
5908 [BZ #14138]
5909 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5910 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5911 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5912 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5913 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5914 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5915 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5916 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5917 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5920 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5921 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5922 __chown.
5923 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5924 (lchown): Likewise.
5925 (fchown): Likewise.
5926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5927 Likewise.
5928 (lchown): Likewise.
5929 (fchown): Likewise.
5930 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5931 (lchown): Likewise.
5932 (fchown): Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5934 Likewise.
5935 (lchown): Likewise.
5936 (fchown): Likewise.
5937
59382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5939
5940 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5941 Simplify logic.
5942
59432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5944
5945 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5946 Cleanup logic.
5947
59482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5949
5950 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5951 Remove unused include.
5952
59532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5954
5955 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5956 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5957 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5958 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5959
59602014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5961 Helge Deller <deller@gmx.de>
5962
5963 [BZ #17508]
5964 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5965 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5966 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5967
59682014-10-23 Joseph Myers <joseph@codesourcery.com>
5969
5970 [BZ #14132]
5971 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5972 Remove macro definition.
5973 (__ashrdi3_v_glibc20): Likewise.
5974 (__lshrdi3_v_glibc20): Likewise.
5975 (__cmpdi2_v_glibc20): Likewise.
5976 (__ucmpdi2_v_glibc20): Likewise.
5977 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5978 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5979 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5980 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5981 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5982 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5983
59842014-10-22 Roland McGrath <roland@hack.frob.com>
5985
5986 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5987 old GNU extension [0] syntax.
5988 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5989 alloca rather than an array member with variable length.
5990 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5991 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5992 (parse_opt): ... here. Likewise use alloca there.
5993 Validate the -i argument before checking for rootness.
5994 (send_shutdown): New function, broken out of ...
5995 (parse_opt): ... here.
5996
59972014-10-22 Roland McGrath <roland@hack.frob.com>
5998
5999 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6000 macro to get at the _rt_local_ro field.
6001 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6002 ([PIC] case) or _dl_hwcap ([!PIC] case).
6003 * sysdeps/arm/setjmp.S: Likewise.
6004
6005 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6006 * sysdeps/arm/configure.ac: New check to define it.
6007 * sysdeps/arm/configure: Regenerated.
6008 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6009 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6010 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6011 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6012 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6013 Use move/movt pair instead of a load.
6014 (LDST_GLOBAL): Macro removed.
6015 (LDR_GLOBAL): New macro replaces it.
6016 (LDR_HIDDEN): New macro.
6017 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6018 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6019
6020 * setjmp/tst-setjmp-static.c: New file.
6021 * setjmp/Makefile (tests): Add it.
6022 (tests-static): New variable.
6023
60242014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6025
6026 [BZ #17485]
6027 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6028
60292014-10-21 Joseph Myers <joseph@codesourcery.com>
6030
6031 [BZ #14132]
6032 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6033
60342014-10-21 Roland McGrath <roland@hack.frob.com>
6035
6036 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6037
60382014-10-20 Roland McGrath <roland@hack.frob.com>
6039
6040 * io/fts.c (dirent_not_directory): New function.
6041 (fts_build): Call it.
6042
60432014-10-20 Roland McGrath <roland@hack.frob.com>
6044
6045 * nptl/version.c (__nptl_main): Use normal __write rather than
6046 INTERNAL_SYSCALL.
6047 (banner): Update copyright years.
6048
6049 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6050 gettimeofday.
6051 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6052 * nptl/pthread_cond_timedwait.c: Likewise.
6053 * nptl/pthread_mutex_timedlock.c: Likewise.
6054 * nptl/sem_timedwait.c: Likewise.
6055
6056 * sysdeps/nptl/bits/libc-lock.h
6057 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6058 (__libc_lock_init_recursive): Return void, not 0.
6059 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6060 (__libc_rwlock_init): Likewise.
6061 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6062
60632014-10-20 Torvald Riegel <triegel@redhat.com>
6064
6065 [BZ #15215]
6066 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6067 (__pthread_once_slow): ... here.
6068 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6069 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6070
60712014-10-20 Torvald Riegel <triegel@redhat.com>
6072
6073 [BZ #15215]
6074 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6075 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6076 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6077 * nptl/pthread_once.c (__pthread_once): Likewise.
6078 Update comments.
6079
60802014-10-20 Joseph Myers <joseph@codesourcery.com>
6081
6082 [BZ #14138]
6083 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6084 name.
6085 (writev): Use __libc_writev as strong name.
6086 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6087 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6088
60892014-10-17 Roland McGrath <roland@hack.frob.com>
6090
6091 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6092
6093 * sysdeps/i386/nptl/tls.h
6094 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6095 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6096 New macros.
6097 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6098 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6099 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6100 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6101 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6102 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6103
6104 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6105 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6106 on [__NR_futex].
6107 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6108 broken out of ...
6109 (__pthread_mutex_init): ... here. Call it.
6110 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6111 Conditionalize PI cases on [__NR_futex].
6112 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6113 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6114 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6115
6116 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6117 conditional on [SIGSETXID].
6118 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6119 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6120 is defined. Likewise for SIGSETXID.
6121 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6122 Conditionalize definitions on [SIGSETXID].
6123 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6124 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6125 unblocking on [SIGCANCEL].
6126
6127 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6128 [__NR_set_robust_list].
6129
61302014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
6132 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6133 (do_compare): Likewise.
6134
61352014-10-17 Leonhard Holz <leonhard.holz@web.de>
6136
6137 [BZ #15884]
6138 * string/strcoll_l.c: Don't include stdio.h.
6139 (coll_seq): Remove members idxarr and rulearr.
6140 (get_next_seq_cached): Remove function.
6141 (get_next_seq): Likewise.
6142 (get_next_seq_nocache): Rename to get_next_seq.
6143 (do_compare): Remove function.
6144 (do_compare_nocache): Rename to do_compare.
6145 (STRCOLL): Remove weight and rules cache.
6146
61472014-10-16 Roland McGrath <roland@hack.frob.com>
6148
6149 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6150 * sysdeps/arm/sfp-machine.h: ... to here.
6151 * sysdeps/arm/Implies: Remove arm/soft-fp.
6152
61532014-10-14 Joseph Myers <joseph@codesourcery.com>
6154
6155 * conform/data/sys/utsname.h-data (*_t): Allow.
6156 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6157 [POSIX] (WEXITED): Do not expect constant.
6158 [POSIX] (WSTOPPED): Likewise.
6159 [POSIX] (WNOHANG): Likewise.
6160 [POSIX] (WNOWAIT): Likewise.
6161 [POSIX] (siginfo_t): Do not expect type or elements.
6162 [POSIX] (pid_t): Do not expect type.
6163 [POSIX] (signal.h): Do not allow header.
6164 [POSIX] (sys/resource.h): Likewise.
6165 [POSIX] (si_*): Do not allow pattern.
6166 [POSIX] (W*): Likewise.
6167 [POSIX] (P_*): Likewise.
6168 [POSIX] (BUS_*): Likewise.
6169 [POSIX] (CLD_*): Likewise.
6170 [POSIX] (FPE_*): Likewise.
6171 [POSIX] (ILL_*): Likewise.
6172 [POSIX] (POLL_*): Likewise.
6173 [POSIX] (SEGV_*): Likewise.
6174 [POSIX] (SI_*): Likewise.
6175 [POSIX] (TRAP_*): Likewise.
6176 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6177 variable.
6178
61792014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6180
6181 [BZ #12926]
6182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6183 infinite loop when __recvmsg returns 0.
6184
61852014-10-10 Joseph Myers <joseph@codesourcery.com>
6186
6187 * CANCEL-FCT-WAIVE: Remove file.
6188 * CANCEL-FILE-WAIVE: Likewise.
6189
6190 [BZ #14132]
6191 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6192 instead of INTVARDEF.
6193 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6194 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6195 rtld_hidden_data_def instead of INTVARDEF.
6196 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6197 * elf/dl-deps.c (expand_dst): Likewise.
6198 * elf/dl-load.c (_dl_dst_count): Likewise.
6199 (_dl_dst_substitute): Likewise.
6200 (decompose_rpath): Likewise.
6201 (_dl_init_paths): Likewise.
6202 (open_path): Likewise.
6203 (_dl_map_object): Likewise.
6204 * elf/rtld.c (dl_main): Likewise.
6205 (process_dl_audit): Likewise.
6206 (process_envvars): Likewise.
6207 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6208 Remove declaration.
6209 (__libc_enable_secure): Use rtld_hidden_proto.
6210
62112014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6212
6213 * elf/dl-load.c
6214 (add_path): New function broken out of _dl_rtld_di_serinfo.
6215 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6216
62172014-10-09 Joseph Myers <joseph@codesourcery.com>
6218
6219 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6220 parentheses around macro arguments.
6221 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6224 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6226 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6227 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6228 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6231 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6232 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6233 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6234 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6235 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6236 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6237 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6239 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6245 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6249 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6250 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6251 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6252 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6253 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6254 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6255 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6256 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6257 Likewise.
6258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6259 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6260 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6262 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6263 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6264 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6265 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6266 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6267 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6268 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6269 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6270 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6273 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6274 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6275 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6279 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6280 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6281 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6282 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6283 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6284 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6285 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6286 (_FP_FRAC_SRS_1): Likewise.
6287 (_FP_FRAC_CLZ_1): Likewise.
6288 (_FP_MUL_MEAT_1_imm): Likewise.
6289 (_FP_MUL_MEAT_1_wide): Likewise.
6290 (_FP_MUL_MEAT_1_hard): Likewise.
6291 (_FP_SQRT_MEAT_1): Likewise.
6292 (_FP_FRAC_ASSEMBLE_1): Likewise.
6293 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6294 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6295 (__FP_CLZ_2): Likewise.
6296 (_FP_MUL_MEAT_2_wide): Likewise.
6297 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6298 (_FP_MUL_MEAT_2_gmp): Likewise.
6299 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6300 (_FP_SQRT_MEAT_2): Likewise.
6301 (_FP_FRAC_ASSEMBLE_2): Likewise.
6302 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6303 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6304 (_FP_FRAC_CLZ_4): Likewise.
6305 (_FP_MUL_MEAT_4_wide): Likewise.
6306 (_FP_MUL_MEAT_4_gmp): Likewise.
6307 (_FP_SQRT_MEAT_4): Likewise.
6308 (_FP_FRAC_ASSEMBLE_4): Likewise.
6309 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6310 * soft-fp/op-common.h (_FP_CMP): Likewise.
6311 (_FP_CMP_EQ): Likewise.
6312 (_FP_CMP_UNORD): Likewise.
6313 (_FP_TO_INT): Likewise.
6314 (_FP_FROM_INT): Likewise.
6315 [!__FP_CLZ] (__FP_CLZ): Likewise.
6316 (_FP_DIV_HELP_imm): Likewise.
6317 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6318 Likewise.
6319 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6321 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6322 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6323 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6324 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6325 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6326 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6327 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6330 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6331 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6332 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6333 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6334 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6335 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6336 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6337 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6339 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6343 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6348 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6351 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6352 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6353 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6354 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6355 (FP_UNPACK_RAW_SP): Likewise.
6356 (FP_PACK_RAW_S): Likewise.
6357 (FP_PACK_RAW_SP): Likewise.
6358 (FP_UNPACK_S): Likewise.
6359 (FP_UNPACK_SP): Likewise.
6360 (FP_UNPACK_SEMIRAW_S): Likewise.
6361 (FP_UNPACK_SEMIRAW_SP): Likewise.
6362 (FP_PACK_S): Likewise.
6363 (FP_PACK_SP): Likewise.
6364 (FP_PACK_SEMIRAW_S): Likewise.
6365 (FP_PACK_SEMIRAW_SP): Likewise.
6366 (_FP_SQRT_MEAT_S): Likewise.
6367 (FP_CMP_S): Likewise.
6368 (FP_CMP_EQ_S): Likewise.
6369 (FP_CMP_UNORD_S): Likewise.
6370 (FP_TO_INT_S): Likewise.
6371 (FP_FROM_INT_S): Likewise.
6372
6373 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6374
6375 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6376 (FP_EX_INVALID_IMZ): Likewise.
6377 (FP_EX_INVALID_IMZ_FMA): Likewise.
6378 (FP_EX_INVALID_ISI): Likewise.
6379 (FP_EX_INVALID_ZDZ): Likewise.
6380 (FP_EX_INVALID_IDI): Likewise.
6381 (FP_EX_INVALID_SQRT): Likewise.
6382 (FP_EX_INVALID_CVI): Likewise.
6383 (FP_EX_INVALID_VC): Likewise.
6384 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6385 "invalid" exceptions.
6386 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6387 (_FP_ADD_INTERNAL): Likewise.
6388 (_FP_MUL): Likewise.
6389 (_FP_FMA): Likewise.
6390 (_FP_DIV): Likewise.
6391 (_FP_CMP_CHECK_NAN): Likewise.
6392 (_FP_SQRT): Likewise.
6393 (_FP_TO_INT): Likewise.
6394 (FP_EXTEND): Likewise.
6395
63962014-10-09 Allan McRae <allan@archlinux.org>
6397
6398 * po/fr.po: Update French translation from translation project.
6399
64002014-10-09 Joseph Myers <joseph@codesourcery.com>
6401
6402 [BZ #14132]
6403 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6404 of INTDEF.
6405 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6406 (__cxa_atexit): Use libc_hidden_proto.
6407 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6408
6409 [BZ #14132]
6410 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6411 declaration.
6412 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6413 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6414 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6415 [!_ISOMAC] (__iswctype_internal): Likewise.
6416 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6417 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6418 alias.
6419 (fcntl): Remove __fcntl_internal alias.
6420 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6421 __connect_internal alias.
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6423 Likewise.
6424
6425 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6426 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6427 FP_DENORM_ZERO.
6428 (_FP_CHECK_FLUSH_ZERO): New macro.
6429 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6430 (_FP_CMP): Likewise.
6431 (_FP_CMP_EQ): Likewise.
6432 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6433 FP_DENORM_ZERO.
6434 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6435 (FP_TRUNC): Likewise.
6436
6437 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6438 treated as invalid conversion, not as normal exponent.
6439
6440 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6441 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6442 (_FP_CMP_EQ): Likewise.
6443 (_FP_CMP_UNORD): Likewise.
6444 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6445 (FP_CMP_EQ_D): Likewise.
6446 (FP_CMP_UNORD_D): Likewise.
6447 * soft-fp/extended.h (FP_CMP_E): Likewise.
6448 (FP_CMP_EQ_E): Likewise.
6449 (FP_CMP_UNORD_E): Likewise.
6450 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6451 (FP_CMP_EQ_Q): Likewise.
6452 (FP_CMP_UNORD_Q): Likewise.
6453 * soft-fp/single.h (FP_CMP_S): Likewise.
6454 (FP_CMP_EQ_S): Likewise.
6455 (FP_CMP_UNORD_S): Likewise.
6456 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6457 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6458 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6459 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6460 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6461 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6462 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6463 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6464 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6465 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6466 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6467 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6468 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6469 to FP_CMP_Q.
6470 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6471 FP_CMP_Q.
6472 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6473 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6474 FP_CMP_EQ_Q.
6475 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6476 FP_CMP_Q.
6477 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6478 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6479 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6480 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6481 FP_CMP_EQ_Q.
6482 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6483 FP_CMP_Q.
6484 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6485 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6486 FP_CMP_EQ_Q.
6487 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6488 FP_CMP_Q.
6489 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6490 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6491 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6492 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6493 FP_CMP_EQ_Q.
6494
6495 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6496 a subnormal result, set the underflow exception if trapping on
6497 underflow is enabled.
6498 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6499 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6500 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6501 redefine to 0.
6502 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6503 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6504 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6505 * soft-fp/extendxftf2.c (__extendxftf2): Use
6506 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6507
6508 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6509 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6510 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6511 FP_HANDLE_EXCEPTIONS.
6512 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6513 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6514 FP_HANDLE_EXCEPTIONS.
6515 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6516 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6517 FP_HANDLE_EXCEPTIONS.
6518 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6519 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6520 FP_HANDLE_EXCEPTIONS.
6521
65222014-10-08 Joseph Myers <joseph@codesourcery.com>
6523
6524 [BZ #14132]
6525 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6526 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6527 use INTUSE.
6528 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6529 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6530 Remove alias.
6531 (__adjtimex): Define using libc_hidden_ver.
6532 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6533 Remove declaration.
6534 (ntp_gettime): Call __adjtimex directly.
6535 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6536 Remove declaration.
6537 (ntp_gettimex): Call __adjtimex directly.
6538 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6539 __adjtimex_internal alias.
6540
65412014-10-08 Roland McGrath <roland@hack.frob.com>
6542
6543 [BZ #17460]
6544 * nscd/nscd.c (more_help): Rewrite list of tables collection
6545 using xstrdup and asprintf.
6546
6547 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6548
65492014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6550 Roland McGrath <roland@hack.frob.com>
6551
6552 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6553 (do_lookup_unique): ... local function 'enter' here; update callers.
6554
65552014-10-06 Joseph Myers <joseph@codesourcery.com>
6556
6557 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6558 compat_symbol calls on [SHARED].
6559 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6560 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6561 Remove.
6562 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6563 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6564 (oldsetrlimit): Remove.
6565 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6567 (lchown): New syscall entry.
6568 (oldsetrlimit): Remove.
6569 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6571 (oldsetrlimit): Remove.
6572 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6573
6574 [BZ #14138]
6575 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6576 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6577 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6578 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6579 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6580 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6581 (fchown): Likewise.
6582 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6583 (fchown): Likewise.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6585 Likewise.
6586
65872014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588
6589 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6590 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6591 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6592 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6593 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6594 Likewise.
6595 (__old_sem_post): Likewise.
6596
65972014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6598
6599 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6600 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6601 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6602 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6603 Use INLINE_VSYSCALL macro.
6604 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6605 __vdso_clock_gettime.
6606 * sysdeps/unix/sysv/linux/tile/init-first.c
6607 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6608 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6609 __vdso_clock_gettime.
6610
6611 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6612 to set up frame more cleanly.
6613
6614 * sysdeps/tile/memcmp.c: New file.
6615
6616 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6617
6618 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6619 * sysdeps/tile/tilegx/strcasestr.c: New file.
6620 * sysdeps/tile/tilegx/strnlen.c: New file.
6621 * sysdeps/tile/tilegx/strstr.c: New file.
6622
6623 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6624
66252014-10-06 Arjun Shankar <arjun.is@lostca.se>
6626
6627 * nptl/tst-setuid3.c: Write errors to stdout.
6628
66292014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6630
6631 * elf/dl-deps.c
6632 (preload): New functions broken out of _dl_map_object_deps.
6633 (_dl_map_object_deps): Remove a nested function. Update call sites.
6634
66352014-10-01 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #14138]
6638 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6639 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6640
66412014-10-01 Steve Ellcey <sellcey@mips.com>
6642
6643 * sysdeps/mips/strcmp.S: New.
6644
66452014-09-30 Joseph Myers <joseph@codesourcery.com>
6646
6647 [BZ #14138]
6648 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6649 (linkat): Likewise.
6650 (mkdirat): Likewise.
6651 (readlinkat): Likewise.
6652 (renameat): Likewise.
6653 (symlinkat): Likewise.
6654 (unlinkat): Likewise.
6655 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6656 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6657 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6658 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6659 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6660 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6661 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6662
66632014-09-30 Will Newton <will.newton@linaro.org>
6664
6665 * math/math.h: Define long double math functions if
6666 _LIBC_TEST is defined.
6667 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6668
6669 * localedata/Makefile: Move assignment to tests-special
6670 into an ifdef testing run-built-tests.
6671 * timezone/Makefile: Likewise.
6672
66732014-09-29 Joseph Myers <joseph@codesourcery.com>
6674
6675 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6676 with $(BASH) not $(SHELL).
6677
66782014-09-29 Carlos O'Donell <carlos@redhat.com>
6679 Matthew LeGendre <legendre1@llnl.gov>
6680
6681 [BZ #17411]
6682 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6683 l_reloc_result.
6684
66852014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6686
6687 * stdio-common/printf_fp.c
6688 (hack_digit): New function, broken out of ...
6689 (__printf_fp): ... local function here. Update call sites.
6690 hack_digit now takes an additional parameter that is a pointer
6691 to a struct of the referenced locals. Those locals moved inside
6692 the struct and references updated.
6693
66942014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6695
6696 * aclocal.m4: Require autoconf 2.69.
6697 * configure: Regenerated.
6698 * sysdeps/aarch64/configure: Likewise.
6699 * sysdeps/alpha/configure: Likewise.
6700 * sysdeps/arm/armv7/configure: Likewise.
6701 * sysdeps/arm/configure: Likewise.
6702 * sysdeps/ia64/configure: Likewise.
6703 * sysdeps/mach/configure: Likewise.
6704 * sysdeps/mips/configure: Likewise.
6705 * sysdeps/s390/configure: Likewise.
6706 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6708
6709 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6710 file.
6711 * sysdeps/ia64/configure.ac: Likewise.
6712
67132014-09-26 Joseph Myers <joseph@codesourcery.com>
6714
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6716 specify symbol version for ld.so. Do not include entry for
6717 libpthread.
6718 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6719 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6721
6722 [BZ #14171]
6723 * Makeconfig [$(build-shared) = yes]
6724 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6725 makefiles.
6726 [$(build-shared) = yes && $(soversions.mk-done) = t]
6727 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6728 [$(build-shared) = yes && $(soversions.mk-done) = t]
6729 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6730 to Makerules.
6731 [$(build-shared) = yes && $(soversions.mk-done) = t]
6732 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6733 here.
6734 [$(build-shared) = yes && $(soversions.mk-done) = t]
6735 (common-generated): Don't append gnu/lib-names.h and
6736 gnu/lib-names.stmp here.
6737 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6738 (lib-names-h-abi): New variable.
6739 [$(build-shared) = yes && $(soversions.mk-done) = t]
6740 (lib-names-stmp-abi): Likewise.
6741 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6742 abi-variants] (before-compile): Append
6743 $(common-objpfx)$(lib-names-h-abi).
6744 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6745 abi-variants] (common-generated): Append gnu/lib-names.h.
6746 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6747 abi-variants] (install-others-nosubdir): Depend on
6748 $(inst_includedir)/$(lib-names-h-abi).
6749 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6750 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6751 [$(build-shared) = yes && $(soversions.mk-done) = t]
6752 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6753 [$(build-shared) = yes && $(soversions.mk-done) = t]
6754 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6755 [$(build-shared) = yes && $(soversions.mk-done) = t]
6756 (common-generated): Append $(lib-names-h-abi) and
6757 $(lib-names-stmp-abi).
6758 * scripts/lib-names.awk: Do not handle multi being set.
6759 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6760 Remove variable.
6761 (abi-lp64_be-ld-soname): Likewise.
6762 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6763 Likewise.
6764 (abi-hard-ld-soname): Likewise.
6765 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6766 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6767 Remove variable.
6768 (abi-o32_hard-ld-soname): Likewise.
6769 (abi-o32_soft_2008-ld-soname): Likewise.
6770 (abi-o32_hard_2008-ld-soname): Likewise.
6771 (abi-n32_soft-ld-soname): Likewise.
6772 (abi-n32_hard-ld-soname): Likewise.
6773 (abi-n32_soft_2008-ld-soname): Likewise.
6774 (abi-n32_hard_2008-ld-soname): Likewise.
6775 (abi-n64_soft-ld-soname): Likewise.
6776 (abi-n64_hard-ld-soname): Likewise.
6777 (abi-n64_soft_2008-ld-soname): Likewise.
6778 (abi-n64_hard_2008-ld-soname): Likewise.
6779 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6780 Likewise.
6781 (abi-64-v2-ld-soname): Likewise.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6783 ld.so entries.
6784 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6785 variable.
6786 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6787 entry.
6788 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6789 variable.
6790 (abi-64-ld-soname): Likewise.
6791 (abi-x32-ld-soname): Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6793 entry.
6794 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6795
67962014-09-23 Joseph Myers <joseph@codesourcery.com>
6797
6798 [BZ #14138]
6799 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6801 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6802 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6803 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6804 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6805 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6806 syscall entry for GLIBC_2.2 symbol version.
6807 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6810 (setrlimit): Likewise.
6811 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6812 Likewise.
6813
68142014-09-23 Will Newton <will.newton@linaro.org>
6815
6816 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6817 _LINUX_ARM_SYSDEP_H include guard too.
6818 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6819 define.
6820
68212014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6822
6823 * sysdeps/unix/sysv/linux/eventfd.c:
6824 Make first argument unsigned.
6825 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6826 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6827
68282014-09-20 Ondřej Bílka <neleai@seznam.cz>
6829
6830 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6831 * socket/sys/socket.h: Likewise
6832 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6833
68342014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6835
6836 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6837
68382014-09-17 Arjun Shankar <arjun.is@lostca.se>
6839
6840 * time/tst-ftime.c: New test.
6841 * time/Makefile (tests): Add tst-ftime.
6842
68432014-09-17 Joseph Myers <joseph@codesourcery.com>
6844
6845 * soft-fp/extended.h: Fix comment formatting.
6846 * soft-fp/op-1.h: Likewise.
6847 * soft-fp/op-2.h: Likewise.
6848 * soft-fp/op-4.h: Likewise.
6849 * soft-fp/op-8.h: Likewise.
6850 * soft-fp/op-common.h: Likewise.
6851 * soft-fp/soft-fp.h: Likewise.
6852
6853 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6854
68552014-09-16 Joseph Myers <joseph@codesourcery.com>
6856
6857 [BZ #6652]
6858 * Makeconfig (soversions-default-setname): Remove variable.
6859 ($(common-objpfx)soversions.i): Don't pass default_setname to
6860 soversions.awk.
6861 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6862 oldest_abi to abi-versions.awk.
6863 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6864 * config.make.in (oldest-abi): Remove variable.
6865 * configure.ac (--enable-oldest-abi): Remove configure option.
6866 * configure: Regenerated.
6867 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6868 text.
6869 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6870 * scripts/soversions.awk: Do not handle default_setname variable.
6871 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6872 variable.
6873 * sysdeps/mach/hurd/configure: Regenerated.
6874 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6875 variable.
6876 * sysdeps/unix/sysv/linux/configure: Regenerated.
6877
68782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6879
6880 * elf/Makefile (CFLAGS-interp.c): Remove.
6881 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6882 path string.
6883 * elf/interp.c: Include generated runtime-linker.h
6884
6885 * Makerules (lib%.so): Don't include $(+interp) in
6886 prerequisites.
6887 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6888 * dlfcn/eval.c: Remove file.
6889
6890 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6891 macros.
6892
6893 [BZ #17266]
6894 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6895 4.2 and newer.
6896
6897 [BZ #17370]
6898 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6899
69002014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6901 Jakub Jelinek <jakub@redhat.com>
6902
6903 [BZ #17266]
6904 * libio/stdio.h: Check definition of __fortify_function
6905 instead of __extern_always_inline to include bits/stdio2.h.
6906 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6907 check if __extern_always_inline is defined.
6908 [__USE_MISC || __USE_XOPEN]: Likewise.
6909 [__USE_ISOC99] Likewise.
6910 * misc/sys/cdefs.h (__fortify_function): Define only if
6911 __extern_always_inline is defined.
6912 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6913 __extern_always_inline and __extern_inline only for g++-4.3
6914 and newer or a compatible gcc.
6915
69162014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6917
6918 [BZ #17371]
6919 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6920 last change to handle zero prefix length.
6921
69222014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6923
6924 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6925 _SC_REGEX_VERSION.
6926
6927 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6928 _POSIX_RAW_SOCKETS.
6929
69302014-09-13 Allan McRae <allan@archlinux.org>
6931
6932 * po/ru.po: Update Russian translation from translation project.
6933
69342014-09-12 Roland McGrath <roland@hack.frob.com>
6935
6936 * locale/programs/locale.c (show_locale_vars): Inline local function
6937 into its sole call site. Clean up some style nits.
6938 (print_item): New function, broken out of ...
6939 (show_info): ... local function here. Clean up style nits.
6940
6941 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6942 out of ...
6943 (set_class_defaults): ... local function set_default here.
6944 Define set_default as a macro locally to pass constant parameters.
6945 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6946 rather than a shared local.
6947
6948 * stdlib/rpmatch.c (try): New function, broken out of ...
6949 (rpmatch): ... local function here. Also, prototypify definition.
6950
69512014-09-12 Joseph Myers <joseph@codesourcery.com>
6952
6953 * scripts/soversions.awk: Do not handle configuration names.
6954 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6955 vendor and os variables to soversions.awk.
6956 * configure.ac: Do not modify gnu-* host_os.
6957 * configure: Regenerated
6958 * shlib-versions: Remove first column with configuration names.
6959 * nptl/shlib-versions: Likewise.
6960 * nptl_db/shlib-versions: Likewise.
6961 * sysdeps/hppa/shlib-versions: Likewise.
6962 * sysdeps/m68k/shlib-versions: Likewise.
6963 * sysdeps/mach/hurd/shlib-versions: Likewise.
6964 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6965 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6966 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6967 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6968 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6969 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6970 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6971 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6975 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6976 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6977 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6978 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6979 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6980 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6981 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6982
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6984 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6986 Regenerated.
6987 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6989 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6990
6991 * shlib-versions: Remove OS-specific entries. Moved to files in
6992 sysdeps.
6993 * sysdeps/mach/hurd/shlib-versions: New file.
6994 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6995
6996 * nptl/shlib-versions: Remove architecture-specific entries.
6997 Moved to files in sysdeps.
6998 * shlib-versions: Likewise.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7000 file.
7001 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7002 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7003 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7005
7006 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7007 (UDP_NO_CHECK6_RX): Likewise.
7008
70092014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7010
7011 * sysdeps/posix/sysconf.c (__sysconf): Spell
7012 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7013
70142014-08-12 Florian Weimer <fweimer@redhat.com>
7015
7016 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7017 loading.
7018 * iconv/Versions (__gconv_transliterate): Export for use from
7019 gconv modules.
7020 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7021 (struct __gconv_trans_data, __gconv_trans_fct,
7022 __gconv_trans_context_fct, __gconv_trans_query_fct,
7023 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7024 definitions.
7025 (struct __gconv_step_data): Remove __trans member.
7026 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7027 longer hidden. Remove unused trans_data argument.
7028 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7029 (__gconv_translit_find): Remove declaration.
7030 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7031 prototype.
7032 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7033 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7034 trans_data argument. Add hidden definition.
7035 (__gconv_translit_find): Remove.
7036 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7037 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7038 * iconv/skeleton.c: Remove transliteration initialization.
7039 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7040 __gconv_step_data initialization.
7041 * libio/iofwide.c (__libio_translit_): Remove.
7042 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7043 * wcsmbs/btowc.c (__btowc): Likewise.
7044 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7045 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7046 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7047 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7048 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7049 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7050 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7051 * wcsmbs/wctob.c (wctob): Likewise.
7052
70532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7054
7055 [BZ #16194]
7056 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7057 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7058 register usage.
7059 * sysdeps/x86/Makefile: Adjust.
7060
70612014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7062 Roland McGrath <roland@hack.frob.com>
7063
7064 * locale/weight.h: Add include guard.
7065 (findidx): Make static rather than auto; take new parameters
7066 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7067 * locale/weightwc.h: Likewise.
7068 * posix/fnmatch_loop.c
7069 (FCT): Change type of EXTRA from int32_t to wint_t.
7070 Don't include either header inside the function.
7071 Call FINDIDX rather than findidx, and pass new arguments.
7072 #undef FINDIDX at the end of the file.
7073 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7074 FINDIDX before including fnmatch_loop.c for the non-wide version.
7075 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7076 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7077 for the wide version.
7078 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7079 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7080 Pass new arguments to findidx.
7081 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7082 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7083 Don't #include it inside the function. Pass new arguments to findidx.
7084 * posix/regex_internal.h
7085 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7086 (re_string_elem_size_at): Don't #include it inside the function.
7087 Pass new arguments to findidx.
7088 * string/strcoll_l.c: #include WEIGHT_H at top level.
7089 (get_next_seq): Don't #include it inside the function.
7090 Pass new arguments to findidx.
7091 (get_next_seq_nocache): Likewise.
7092 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7093 (STRXFRM): Don't #include it inside the function.
7094 Pass new arguments to findidx.
7095
70962014-09-11 Florian Weimer <fweimer@redhat.com>
7097
7098 [BZ #17344]
7099 * malloc/malloc.c (unlink): Turn asserts into a call to
7100 malloc_printerr.
7101
71022014-09-11 Tim Lammens <tim.lammens@gmail.com>
7103
7104 [BZ #17370]
7105 * libio/wfileops (do_ftell_wide): Free OUT.
7106
71072014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7108
7109 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7110
71112014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7112
7113 [BZ #17363]
7114 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7115 group if the current group is empty.
7116
71172014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7118
7119 * benchtests/bench-memset.c (test_main): Add more test from size
7120 from 32 to 512 bytes.
7121 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7122 Add POWER8 memset object.
7123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7124 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7125 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7126 implementation.
7127 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7128 Likewise.
7129 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7130 multiarch POWER8 memset optimization.
7131 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7132 POWER8 memset optimization.
7133
7134 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7135 Remove bzero multiarch objects.
7136 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7137 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7138 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7139 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7140 Remove define.
7141 [__bzero]: Redefine to specific name.
7142 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7143 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7144 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7145 define.
7146 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7147 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7148
71492014-09-10 Florian Weimer <fweimer@redhat.com>
7150
7151 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7152 warnings into errors.
7153
7154 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7155 __cxa_thread_atexit_impl prototype.
7156
71572014-09-09 Steve Ellcey <sellcey@mips.com>
7158
7159 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7160 Fix capitalization of error message.
7161
71622014-09-09 Steve Ellcey <sellcey@mips.com>
7163
7164 * sysdeps/mips/preconfigure: Modify ABI tests.
7165
71662014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7167
7168 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7169
71702014-09-07 Roland McGrath <roland@hack.frob.com>
7171 Carlos O'Donell <carlos@systemhalted.org>
7172
7173 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7174 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7175 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7176 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7177 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7178 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7179 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7180 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7181 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7182 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7183 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7184 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7185 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7186 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7187 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7189 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7190 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7191 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7192 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7194 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7195 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7196 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7197 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7198 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7199 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7200 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7201 Deconditionalize the code that was previously under [RESET_PID].
7202 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7203 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7204 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7205 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7206 include sysdep.h.
7207
72082014-09-08 Allan McRae <allan@archlinux.org>
7209
7210 * version.h (RELEASE): Set to "development".
7211 (VERSION): Set to "2.20.90"
7212
72132014-09-07 Allan McRae <allan@archlinux.org
7214
7215 * version.h (RELEASE): Set to "stable".
7216 (VERSION): Set to "2.20"
7217 * include/features.h (__GLIBC_MINOR__): Set to 20.
7218
7219 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7220 Liebler.
7221
7222 * po/ko.po: Update Korean translation from translation project.
7223
72242014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7225
7226 [BZ #17354]
7227 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7228 macro for handling signed relocations.
7229
72302014-09-03 Florian Weimer <fweimer@redhat.com>
7231
7232 [BZ #17325]
7233 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7234 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7235 assert.
7236 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7237 * iconvdata/ibm935.c (BODY): Likewise.
7238 * iconvdata/ibm937.c (BODY): Likewise.
7239 * iconvdata/ibm939.c (BODY): Likewise.
7240 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7241 assert.
7242 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7243 script.
7244 * iconvdata/run-iconv-test.sh: New test loop for checking for
7245 decoder crashers.
7246
72472014-09-02 Khem Raj <raj.khem@gmail.com>
7248
7249 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7250 libm_hidden_ver.
7251
72522014-09-01 Allan McRae <allan@archlinux.org>
7253
7254 * po/eo.po: Update Esperanto translation from translation project.
7255
7256 * po/ca.po: Update Catalan translation from translation project.
7257
72582014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7259
7260 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7261 __proc_dostop call.
7262
72632014-08-27 Mark Wielaard <mjw@redhat.com>
7264
7265 [BZ #17319]
7266 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7267 to call set_thread_area instead of hand written asm.
7268 (__NR_set_thread_area): Removed define.
7269 (TLS_FLAG_WRITABLE): Likewise.
7270 (__ASSUME_SET_THREAD_AREA): Remove check.
7271 (TLS_EBX_ARG): Remove define.
7272 (TLS_LOAD_EBX): Likewise.
7273
72742014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7275
7276 Simplify atomicity of socket creation in bind.
7277
7278 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7279 looking up the name after linking the file.
7280
72812014-08-27 Allan McRae <allan@archlinux.org>
7282
7283 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7284
72852014-08-26 Florian Weimer <fweimer@redhat.com>
7286
7287 [BZ #17187]
7288 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7289 trans_compare, open_translit, __gconv_translit_find):
7290 Remove module loading code.
7291
72922014-08-26 Allan McRae <allan@archlinux.org>
7293
7294 * po/vi.po: Update Vietnamese translation from translation project.
7295
7296 * po/uk.po: Update Ukrainian translation from translation project.
7297
7298 * po/fr.po: Update French translation from translation project.
7299
7300 * po/ru.po: Update Russian translation from translation project.
7301
7302 * po/pl.po: Update Polish translation from translation project.
7303
7304 * po/cs.po: Update Czech translation from translation project.
7305
7306 * po/de.po: Update German translation from translation project.
7307
7308 * po/bg.po: Update Bulgarian translation from translation project.
7309
7310 * po/sv.po: Update Sweedish translation from translation project.
7311
7312 * po/nl.po: Update Dutch translation from translation project.
7313
7314 * po/es.po: Update Spanish translation from translation project.
7315
73162014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
7318 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7319
7320 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7321 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7322 (CPPFLAGS-iconvconfig): Likewise.
7323 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7324
7325 * include/libc-symbols.h: Remove unnecessary check for
7326 NOT_IN_libc.
7327 * nptl/pthreadP.h: Likewise.
7328 * sysdeps/aarch64/setjmp.S: Likewise.
7329 * sysdeps/alpha/setjmp.S: Likewise.
7330 * sysdeps/arm/sysdep.h: Likewise.
7331 * sysdeps/i386/setjmp.S: Likewise.
7332 * sysdeps/m68k/setjmp.c: Likewise.
7333 * sysdeps/posix/getcwd.c: Likewise.
7334 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7335 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7336 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7337 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7338 * sysdeps/sh/sh3/setjmp.S: Likewise.
7339 * sysdeps/sh/sh4/setjmp.S: Likewise.
7340 * sysdeps/unix/alpha/sysdep.h: Likewise.
7341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7342 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7343 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7344 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7352 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7354 * sysdeps/x86_64/setjmp.S: Likewise.
7355
73562014-08-13 Joseph Myers <joseph@codesourcery.com>
7357
7358 [BZ #17263]
7359 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7360 <stdint.h>.
7361 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7362 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7363
73642014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7365
7366 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7367
7368 [BZ #17262]
7369 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7370 and __x86_64__ when disabling x87 inline functions.
7371
73722014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7373
7374 [BZ #17259]
7375 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7376 asm statement with __cpuid_count.
7377
73782014-08-12 Mike Frysinger <vapier@gentoo.org>
7379
7380 * configure.ac: Change __ehdr_start code to dereference the struct.
7381 Run readelf on the output to look for relocations.
7382 * configure: Regenerated.
7383
73842014-08-12 Joseph Myers <joseph@codesourcery.com>
7385
7386 [BZ #17261]
7387 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7388 value to 0.
7389 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7390
73912014-08-12 Roland McGrath <roland@hack.frob.com>
7392
7393 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7394
73952014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7396
7397 [BZ #16892]
7398 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7399 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7400
74012014-08-12 Sean Anderson <seanga2@gmail.com>
7402
7403 * malloc/malloc.c: Fix typo in comment.
7404
74052014-08-09 Allan McRae <allan@archlinux.org>
7406
7407 * Regenerate libc.po.
7408
74092014-08-08 Mike Frysinger <vapier@gentoo.org>
7410
7411 * intl/tst-gettext2.sh: Check every lang file for creation.
7412
74132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7414
7415 * sysdeps/aarch64/fpu/math_private.h
7416 (libc_feholdsetround_noex_aarch64_ctx): New function.
7417
74182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7419
7420 * sysdeps/arm/armv6/strcpy.S (strcpy):
7421 Fix performance issue in misaligned cases.
7422
74232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7424
7425 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7426 Move definition from termios.h.
7427 (struct termio): Likewise.
7428 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7429 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7430 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7431 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7432 Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7434 Move definition to ioctl-types.h
7435 (struct termio): Likewise.
7436 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7437 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7438 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7439 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7440 Likewise.
7441
74422014-08-05 Richard Henderson <rth@redhat.com>
7443
7444 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7445 exceptions.
7446 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7447 Add fraiseexcpt.
7448 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7449 Use __feraiseexcept.
7450 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7451 Protect libm symbols with IS_IN_libm.
7452
7453 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7454
74552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7456
7457 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7458
74592014-08-04 Will Newton <will.newton@linaro.org>
7460
7461 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7462 file.
7463
74642014-08-04 Mike Frysinger <vapier@gentoo.org>
7465
7466 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7467 variants for each function.
7468
74692014-08-04 Roland McGrath <roland@hack.frob.com>
7470
7471 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7472 appended ...
7473 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7474 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7475 appended ...
7476 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7477 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7478 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7479 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7480 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7481 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7482 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7483 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7484 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7485 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7504 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7506 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7507 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7508 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7509 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7510 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7512 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7513 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7514 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7515 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7518 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7520 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7522 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7523 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7524 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7525 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7526 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7527 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7528 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7529 Update #include.
7530 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7531 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7532
75332014-08-04 Roland McGrath <roland@hack.frob.com>
7534
7535 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7536 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7537 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7538 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7540 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7541
75422014-08-04 Roland McGrath <roland@hack.frob.com>
7543
7544 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7545 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7546 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7547 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7548
75492014-08-04 Roland McGrath <roland@hack.frob.com>
7550
7551 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7552 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7553 (__libc_vfork): Define function under this name.
7554 (__vfork): Define as an alias.
7555 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7556 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7557
75582014-08-04 Roland McGrath <roland@hack.frob.com>
7559
7560 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7561 that was previously under [RESET_PID].
7562 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7563
75642014-08-04 Andreas Schwab <schwab@suse.de>
7565
7566 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7567
75682014-08-03 Mike Frysinger <vapier@gentoo.org>
7569
7570 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7571 (main): Likewise.
7572
75732014-08-01 Roland McGrath <roland@hack.frob.com>
7574
7575 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7576
75772014-08-01 Richard Henderon <rth@redhat.com>
7578
7579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7580 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7581 typo in exact zero test.
7582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7585
75862014-08-01 Roland McGrath <roland@hack.frob.com>
7587
7588 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7589 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7590 * sysdeps/arm/sysdep.h: ... here.
7591 [!__ASSEMBLER__]: Include <stdint.h>.
7592
75932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7594
7595 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7596 (HAVE_WCTYPE_H): Likewise.
7597 (HAVE_ISWCTYPE): Likewise.
7598 (ENABLE_NLS): Likewise.
7599 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7600 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7601
7602 * posix/regex_internal.c: Check if DEBUG is defined and is
7603 set.
7604
7605 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7606 (HAVE_MBSRTOWCS): Likewise.
7607 * posix/fnmatch.c: Include string.h unconditionally.
7608
76092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7610
7611 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7612 reversal.
7613
76142014-07-31 Roland McGrath <roland@hack.frob.com>
7615
7616 * sysdeps/generic/safe-fatal.h: New file.
7617 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7618 * nptl/forward.c: Include it.
7619 (__pthread_unwind): Use __safe_fatal as default action, rather
7620 than a bogus use of INTERNAL_SYSCALL that could never work.
7621
7622 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7623 * configure.ac (libc_cv_builtin_trap): New test.
7624 * configure: Regenerated.
7625 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7626 (ABORT_INSTRUCTION): Define using __builtin_trap.
7627
7628 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7629 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7630 * sysdeps/nptl/nptl-signals.h: New file.
7631 * nptl/pthreadP.h: Include <nptl-signals.h>.
7632
76332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7634
7635 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7636 (ONE_DIRECTION): Define.
7637 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7638 (ONE_DIRECTION): Define.
7639 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7640 (ONE_DIRECTION): Define.
7641
76422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7643
7644 * sysdeps/s390/Makefile: Delete file.
7645 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7646 * sysdeps/s390/__longjmp.c: Delete file.
7647 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7648 Remove fields __flags and __reserved.
7649 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7650 and add versioning.
7651 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7652 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7653 * sysdeps/s390/rtld-setjmp.S: Likewise.
7654 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7655 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7656 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7657 * sysdeps/s390/s390-32/setjmp.S: ... here.
7658 Add versioning.
7659 (__sigsetjmp): Remove setting __flags field.
7660 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7661 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7662 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7663 * sysdeps/s390/s390-64/setjmp.S: ... here.
7664 Add versioning.
7665 (__sigsetjmp): Remove setting __flags field.
7666 * sysdeps/s390/setjmp.S: Delete file.
7667 * sysdeps/s390/sigjmp.c: Likewise.
7668 * sysdeps/s390/v1-longjmp.c: Likewise.
7669 * sysdeps/s390/v1-setjmp.h: Likewise.
7670 * sysdeps/s390/v1-sigjmp.c: Likewise.
7671 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7672 Remove v1-longjmp_chk.
7673 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7674 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7675 Include debug/longjmp_chk.c and add versioning.
7676 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7677 Include nptl/pt-longjmp.c and add versioning.
7678 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7680 Include __longjmp.c.
7681 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7682 Move to ...
7683 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7684 (__getcontext): Remove setting __flags field.
7685 Add versioning.
7686 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7687 Don't restore upper high grps.
7688 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7689 Likewise.
7690 (__swapcontext): Remove setting uc_flags field.
7691 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7692 Delete file.
7693 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7694 Include __longjmp.c.
7695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7696 Move to ...
7697 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7698 (__getcontext): Remove setting __flags field.
7699 Add versioning.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7701 (__swapcontext): Remove setting uc_flags field.
7702 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7703 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7704 Remove fields uc_high_gprs and __reserved.
7705 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7706 New file with reverted content.
7707 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7709 Regenerated.
7710 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7711 Regenerated.
7712
77132014-07-31 Andreas Schwab <schwab@suse.de>
7714
7715 * config.h.in (HAVE_IFUNC): Define to 0.
7716 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7717 definedness.
7718
77192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7720
7721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7722 memmove-avx-unaligned, memcpy-avx-unaligned and
7723 mempcpy-avx-unaligned.
7724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7725 Add tests for AVX memcpy functions.
7726 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7727 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7728 memcpy_chk.
7729 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7730 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7731 memmove_chk.
7732 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7733 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7734 mempcpy_chk.
7735 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7736 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7737 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7738
77392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7740
7741 [BZ #17213]
7742 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7743 powerpc64le.
7744
77452014-07-29 Jeff Layton <jlayton@poochiereds.net>
7746
7747 [BZ #16839]
7748 * manual/llio.texi: Add section about open file description locks.
7749 * manual/examples/ofdlocks.c: Example of open file description
7750 lock usage.
7751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7752 F_OFD_SETLK, and F_OFD_SETLKW.
7753
77542014-07-23 Allan McRae <allan@archlinux.org>
7755
7756 * po/es.po: Update Spanish translation from translation project.
7757
77582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7759
7760 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7761
77622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7763
7764 [BZ #17078]
7765 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7766 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7767 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7768
77692014-07-17 Joseph Myers <joseph@codesourcery.com>
7770
7771 [BZ #17088]
7772 * math/fesetenv.c (__fesetenv)
7773 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7774 * math/feupdateenv.c (__feupdateenv)
7775 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7776
7777 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7778 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7779 (__ASSUME_SOCKETCALL): Do not define.
7780
7781 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7782 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7783 (__ASSUME_SOCKETCALL): Do not define.
7784 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7785 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7786 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7787 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7788 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7789 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7790 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7791 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7792
7793 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7794 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7795 (__ASSUME_SOCKETCALL): Do not define.
7796 (__ASSUME_IPC64): Define unconditionally.
7797 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7798 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7799 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7800 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7801 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7802 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7803 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7804 Likewise.
7805
7806 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7807 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7808 (__ASSUME_SOCKETCALL): Do not define.
7809 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7810 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7811 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7812 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7813 (__ASSUME_REQUEUE_PI): Define unconditionally.
7814 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7815 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7816 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7817 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7818 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7819 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7820
7821 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7822 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7823 (__ASSUME_SOCKETCALL): Do not define.
7824 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7825 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7826 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7827 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7829 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7830
7831 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7832 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7833 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7834 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7835 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7836 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7837 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7838 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7839 (__ASSUME_GETCPU_SYSCALL): Likewise.
7840
7841 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7842 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7843 cases for individual architectures.
7844 * sysdeps/gnu/configure: Regenerated.
7845 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7846 LIBC_SLIBDIR_RTLDDIR.
7847 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7848 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7849 LIBC_SLIBDIR_RTLDDIR.
7850 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7852 LIBC_SLIBDIR_RTLDDIR.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7854 Regenerated.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7856 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7857 file.
7858 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7859 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7860 file.
7861 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7865
7866 * sysdeps/aarch64/shlib-versions: Move to ...
7867 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7868 * sysdeps/alpha/shlib-versions: Move to ...
7869 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7870 * sysdeps/arm/shlib-versions: Move to ...
7871 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7872 * sysdeps/hppa/shlib-versions: Move all contents except for
7873 libgcc_s entry to ...
7874 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7875 entry from ...
7876 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7877 * sysdeps/ia64/shlib-versions: Move to ...
7878 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7879 entry from ...
7880 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7881 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7882 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7883 * sysdeps/microblaze/shlib-versions: Move to ...
7884 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7885 * sysdeps/mips/shlib-versions: Move to ...
7886 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7887 entry from ...
7888 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7889 * sysdeps/tile/shlib-versions: Move to ...
7890 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7891 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7892 from ...
7893 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7895 entry from ...
7896 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7897
78982014-07-17 Will Newton <will.newton@linaro.org>
7899
7900 * sysdeps/arm/bits/atomic.h
7901 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7902 (__arch_compare_and_exchange_bool_16_int): Likewise.
7903 (__arch_compare_and_exchange_bool_64_int): Likewise.
7904
7905 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7906 into an #else block.
7907
79082014-07-16 Roland McGrath <roland@hack.frob.com>
7909
7910 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7911 just Linux configurations. Test empirically that the compiler sets
7912 __ARM_EABI__, rather than using the tuple to decide.
7913 * sysdeps/arm/preconfigure: Regenerated.
7914 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7915 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7916 contents appended ...
7917 * sysdeps/arm/configure.ac: ... here.
7918 * sysdeps/arm/configure: Regenerated.
7919
79202014-07-15 Roland McGrath <roland@hack.frob.com>
7921
7922 * nptl/pthread_kill.c: New file.
7923 * nptl/pthread_sigmask.c: New file.
7924 * nptl/pthread_sigqueue.c: New file.
7925
7926 * sysdeps/nptl/lowlevellock.h: New file.
7927 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7928 * sysdeps/nptl/lowlevellock-futex.h: New file.
7929
7930 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7931 Remove dead declarations.
7932
79332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7936 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7937 config-cflags-avx2.
7938 * sysdeps/x86_64/configure.ac: Likewise.
7939 * sysdeps/i386/configure: Regenerated.
7940 * sysdeps/x86_64/configure: Likewise.
7941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7942 memset-avx2 only if config-cflags-avx2 is yes.
7943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7944 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7945 defined.
7946 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7947 only if HAVE_AVX2_SUPPORT is defined.
7948 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7949
79502014-07-14 Alan Modra <amodra@gmail.com>
7951
7952 [BZ #17153]
7953 * elf/elf.h (DT_PPC64_NUM): Correct value.
7954 * NEWS: Add to fixed bug list.
7955
79562014-07-13 Jim Meyering <meyering@fb.com>
7957
7958 [BZ 17150]
7959 regex: don't deref NULL upon heap allocation failure
7960 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7961 failure in one more place.
7962 To trigger the segfault, configure grep -with-included-regex,
7963 build it, and run these commands:
7964 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7965
79662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7967
7968 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7969
79702014-07-11 Richard Henderson <rth@redhat.com>
7971
7972 * sysdeps/aarch64/libm-test-ulps: Update.
7973
79742014-07-10 Florian Weimer <fweimer@redhat.com>
7975
7976 [BZ #17135]
7977 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7978 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7979 (__nptl_setxid): Initialize error member. Call
7980 __nptl_setxid_error.
7981 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7982 * nptl/descr.h (struct xid_command): Add error member.
7983 * nptl/tst-setuid3.c: New file.
7984 * nptl/Makefile (tests): Add it.
7985
79862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7987
7988 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7989 New define.
7990 (__lll_trylock): Use __lll_base_trylock.
7991 (__lll_cond_trylock): Likewise.
7992
79932014-07-10 Roland McGrath <roland@hack.frob.com>
7994
7995 * nptl/pthread_create.c (start_thread): Use atomic_or and
7996 lll_futex_wake directly rather than lll_robust_dead.
7997 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7998 (lll_robust_dead): Macro removed.
7999 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8000 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8001 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8002 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8003 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8004 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8005 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8006 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8007 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8009 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8010 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8012 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8014
8015 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8016 Use atomic_compare_and_exchange_val_acq directly rather than
8017 lll_robust_trylock.
8018 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8019 (__lll_robust_trylock, lll_robust_trylock): Removed.
8020 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8021 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8022 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8023 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8024 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8025 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8026 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8027 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8030 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8031 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8032 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8033 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8034
80352014-07-02 Florian Weimer <fweimer@redhat.com>
8036
8037 * manual/locale.texi (Locale Names): New section documenting
8038 locale name syntax. Adjust menu and node chaining accordingly.
8039 (Choosing Locale): Reference Locale Names, Locale Categories.
8040 Mention setting LC_ALL=C. Reflect that name syntax is now
8041 documented.
8042 (Locale Categories): New section title. Reference Locale Names.
8043 LC_ALL is an environment variable, but not a category.
8044 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8045 description, now in Locale Name. Reference that section. Locale
8046 name syntax is now documented.
8047
80482014-07-02 Florian Weimer <fweimer@redhat.com>
8049
8050 [BZ #17137]
8051 * locale/findlocale.c (name_present, valid_locale_name): New
8052 functions.
8053 (_nl_find_locale): Use the loc_name variable to store name
8054 candidates. Call name_present and valid_locale_name to check and
8055 validate locale names. Return an error if the locale is invalid.
8056
80572014-07-02 Florian Weimer <fweimer@redhat.com>
8058
8059 * locale/setlocale.c (setlocale): Use strdup for allocating
8060 composite name copy.
8061
80622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
8064 Sync up with gnulib.
8065 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8066 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8067 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8068 and _GL_ARG_NONNULL.
8069 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8070 [!_LIBC]: Include code for Windows and Cygwin.
8071 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8072 Include prototype for int strerror_r.
8073 [!_LIBC] (is_open): New function.
8074 (flush_stdout): New function.
8075 (print_errno_message): Use it.
8076 (error): Likewise.
8077 (error_at_line): Likewise.
8078 (error_tail) Add function attribute macros. Use
8079 __builtin_expect.
8080
8081 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8082
8083 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8084
8085 * io/ftw.c: Include sys/param.h unconditionally.
8086
8087 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8088
8089 [BZ #17125]
8090 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8091 libc_freeres_ptr.
8092 (freecache): New function to free CACHE on exit.
8093
8094 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8095 initialization.
8096
80972014-07-09 David S. Miller <davem@davemloft.net>
8098
8099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8100
8101 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8102 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8103 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8104 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8105 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8106 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8107 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8108 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8109 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8110 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8111 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8112 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8113 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8114
81152014-07-09 Andreas Schwab <schwab@suse.de>
8116
8117 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8118 output.
8119 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8120 (do_test): Likewise.
8121
8122 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8123
81242014-07-09 Will Newton <will.newton@linaro.org>
8125
8126 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8127 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8128 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8129 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8130 * sysdeps/hppa/start.S (_start): Likewise.
8131
81322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8133
8134 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8135
8136 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8137 defined.
8138
81392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
8141 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8142 after checking that it is non-NULL.
8143
8144 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8145
81462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8147
8148 * sysdeps/powerpc/memmove.c: Remove file.
8149 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8150 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8152 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8154 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8156 string memmove instead of removed powerpc one.
8157
8158 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8159 [weak_alias]: Fix compiler warning due trailing data.
8160 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8161 [weak_alias]: Likewise.
8162 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8163 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8164
8165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8166 (__libc_ifunc_impl_list): Add memmove functions.
8167
81682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8169
8170 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8171 Remove code.
8172 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8173 Likewise
8174 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8175 Likewise
8176 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8177 Likewise
8178 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8179 Likewise
8180 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8181 Likewise
8182 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8183 Likewise
8184 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8185 Likewise
8186 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8187 Likewise
8188 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8189 Likewise
8190 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8191 Likewise
8192 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8193 Likewise
8194 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8195 Likewise
8196 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8197 Likewise
8198 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8199 Likewise
8200 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8201 Likewise
8202 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8203 Likewise
8204
82052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8206
8207 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8208 to avoid alignment traps in non-cacheable memory.
8209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8210
8211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8212 multiarch objects.
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8214 file: multiarch power7 memmove.
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8216 multiarch default memmove.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8218 multiarch memove for powerpc32/power4.
8219
8220 * string/bcopy.c: Use full path to include memmove.c.
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8222 multiarch objects.
8223 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8224 bcopy for powerpc64.
8225 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8226 bcopy for powerpc64.
8227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8228 and memmove implementations.
8229 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8230 optimized multiarch memmove for POWER7/powerpc64.
8231 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8232 default multiarch memmove for powerpc64.
8233 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8234 multiarch for powerpc64.
8235 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8236 for POWER7/powerpc64.
8237 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8238 memmove for POWER7/powerpc64.
8239
8240 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8241 glibc default one.
8242
8243 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8244 __ELF_NATIVE_CLASS equal to 64.
8245
82462014-07-07 Roland McGrath <roland@hack.frob.com>
8247
8248 * sysdeps/nptl/lowlevellock.h: File removed.
8249
8250 * NEWS: NPTL is no longer an add-on!
8251 * nptl/internaltypes.h: Moved ...
8252 * sysdeps/nptl/internaltypes.h: ... here.
8253 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8254 * sysdeps/nptl/fork.c: Likewise.
8255 * sysdeps/nptl/gai_misc.h: Likewise.
8256 * sysdeps/nptl/librt-cancellation.c: Likewise.
8257 * sysdeps/nptl/jmp-unwind.c: Likewise.
8258 * sysdeps/nptl/setxid.h: Likewise.
8259 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8260 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8261 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8262 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8263 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8264 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8265 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8266 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8267 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8268 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8269 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8270 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8271 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8272 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8273 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8274 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8275 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8276 * nptl/Makeconfig: Moved ...
8277 * sysdeps/nptl/Makeconfig: ... here.
8278 * nptl/configure: File removed.
8279 * nptl/ANNOUNCE: File removed.
8280 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8281 * sysdeps/unix/sysv/linux/configure: Regenerated.
8282
8283 * nptl/Makefile (routines): Add libc_pthread_init,
8284 libc_multiple_threads, register-atfork and unregister-atfork.
8285 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8286 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8287 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8288 pthread-pi-defines.sym, structsem.sym.
8289 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8290 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8291 [$(subdir) = nptl] (tests): Add tst-setgetname.
8292 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8293 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8294 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8295 [!LIBC_SIGACTION]: Remove aliases.
8296 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8297 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8298 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8299 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8300 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8301 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8305 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8306 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8307 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8308 __libc_allocate_rtsig_private.
8309 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8310 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8311 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8312 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8313 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8314 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8315 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8316 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8317 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8318 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8319 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8320 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8321 * nptl/internaltypes.h: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8323 * sysdeps/nptl/jmp-unwind.c: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8325 * nptl/libc-lowlevellock.c: ... here.
8326 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8327 * nptl/libc_multiple_threads.c: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8329 * nptl/libc_pthread_init.c: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8331 * nptl/lowlevelbarrier.sym: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8333 * nptl/lowlevelcond.sym: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8335 * nptl/lowlevellock.c: ... here.
8336 * nptl/lowlevellock.h: Moved ...
8337 * sysdeps/nptl/lowlevellock.h: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8339 * nptl/lowlevelrobustlock.c: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8341 * nptl/lowlevelrobustlock.sym: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8343 * nptl/lowlevelrwlock.sym: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8345 * nptl/pt-fork.c: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8347 * nptl/pthread-pi-defines.sym: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8349 * nptl/pthread_attr_getaffinity.c: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8351 * nptl/pthread_attr_setaffinity.c: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8353 * nptl/pthread_mutex_cond_lock.c: ... here.
8354 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8355 Update #include.
8356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8357 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8358 * nptl/pthread_once.c: ... here, replacing old file.
8359 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8360 * nptl/pthread_yield.c: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8362 * nptl/register-atfork.c: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8364 * nptl/sem_post.c: ... here.
8365 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8366 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8367 * nptl/sem_timedwait.c: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8369 * nptl/sem_trywait.c: ... here.
8370 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8371 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8372 * nptl/sem_wait.c: ... here.
8373 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8374 * nptl/structsem.sym: ... here.
8375 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8376 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8377 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8378 * nptl/unregister-atfork.c: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8380 * nptl/unwindbuf.sym: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8382 * sysdeps/nptl/fork.c: ... here.
8383 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8384 * sysdeps/nptl/fork.h: ... here.
8385 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8386 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8387 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8389 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8391 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8393 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8395 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8397 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8399 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8401 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8403 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8405 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8407 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8408 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8409 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8411 * sysdeps/unix/sysv/linux/raise.c: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8413 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8415 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8417 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8419 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8421 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8423 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8425 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8426 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8427
84282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8429
8430 * sysdeps/generic/memcopy.h: Add comment for
8431 MEMCPY_OK_FOR_FWD_MEMMOVE.
8432
84332014-07-04 Will Newton <will.newton@linaro.org>
8434
8435 * string/memchr.c: Merge from gnulib.
8436 [_LIBC]: Remove conditionals.
8437 (__ptr_t): Remove define.
8438 (LONG_MAX_32_BITS): Likewise.
8439 (LONG_MAX): Likewise.
8440 (MEMCHR): Use ANSI prototype and optimize algorithm.
8441
8442 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8443
84442014-07-03 Roland McGrath <roland@hack.frob.com>
8445
8446 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8447 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8448
8449 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8450 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8451 in a bare environment with no <stdlib.h> installed.
8452 * sysdeps/nptl/configure: Regenerated.
8453
8454 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8455
8456 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8457 AC_EGREP_CPP for kernel header checks, so they only succeed if
8458 including <linux/version.h> actually works right.
8459 * sysdeps/unix/sysv/linux/configure: Regenerated.
8460
8461 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8462 value so it's not diagnosed as unused.
8463
8464 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8465 thing) with "ifeq ($(subdir),rt)".
8466
84672014-07-03 Richard Henderson <rth@redhat.com>
8468
8469 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8470 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8471 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8472
8473 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8474 (math_force_eval): New.
8475
8476 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8477 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8478
8479 * sysdeps/alpha/fpu/s_round.c: Remove file.
8480 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8481
8482 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8483 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8484 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8485 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8486 (_dl_start, print_statistics): Likewise.
8487 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8488 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8489
8490 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8491 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8492 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8493 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8495 (HP_SMALL_TIMING_AVAIL): Define.
8496 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8497 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8498 (HP_SMALL_TIMING_AVAIL): Define.
8499 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8500 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8501
8502 * sysdeps/aarch64/hp-timing.h: New file.
8503
8504 * sysdeps/generic/hp-timing.h: Remove dead comment.
8505 * sysdeps/generic/hp-timing-common.h: New file.
8506 * sysdeps/alpha/hp-timing.h: Include it.
8507 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8508 * sysdeps/i386/i686/hp-timing.h: Likewise.
8509 * sysdeps/ia64/hp-timing.h: Likewise.
8510 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8512 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8513 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8514 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8515 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8516 (hp_timing_t): New.
8517
8518 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8519 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8520 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8521 * elf/rtld.c (_dl_start_final): Likewise.
8522 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8523 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8524 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8525 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8526 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8527 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8528 (HP_TIMING_DIFF_INIT): Remove.
8529 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8531 (HP_TIMING_DIFF_INIT): Remove.
8532 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8533 * sysdeps/i386/i686/hp-timing.c: Remove file.
8534 * sysdeps/x86_64/hp-timing.c: Remove file.
8535 * sysdeps/ia64/hp-timing.c: Remove file.
8536 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8537 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8539 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8540
8541 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8542 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8543 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8544 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8545 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8546 (HP_TIMING_ACCUM): Remove.
8547 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8549 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8550
8551 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8552 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8553 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8554 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8555 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8556 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8557 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8558 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8559
8560 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8561
85622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8563
8564 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8565
85662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8567
8568 Sync up with gettext.
8569 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8570 [_MSC_VER]: Include malloc.h
8571 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8572 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8573 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8574 TEMP_FAILURE_RETRY. Cast return of alloca.
8575 [!_LIBC] Call gl_rwlock_init.
8576 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8577
85782014-07-02 Roland McGrath <roland@hack.frob.com>
8579
8580 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8581 before checking its value.
8582
85832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8584
8585 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8586
8587 * debug/memcpy_chk.c: Don't include pagecopy.h.
8588 * debug/mempcpy_chk.c: Likewise.
8589 * string/memcpy.c: Likewise.
8590 * string/memmove.c: Likewise.
8591 * sysdeps/powerpc/memmove.c: Likewise.
8592 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8593 definition of PAGE_COPY_FWD_MAYBE here...
8594 * sysdeps/generic/pagecopy.h: ... from here.
8595 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8596
85972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8598 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8599
8600 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8602 optimizations.
8603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8604 (__libc_ifunc_impl_list): Likewise.
8605 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8606 multiarch strcat for PPC64.
8607 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8608 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8609
86102014-07-02 Roland McGrath <roland@hack.frob.com>
8611
8612 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8613
86142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8615
8616 * intl/loadmsgcat.c: Remove declaration of
8617 get_sysdep_segment_value.
8618 (get_sysdep_segment_value): Use ISO C style.
8619 (_nl_load_domain): Use ISO C style. Get rid of redundant
8620 semicolon. Fix typo and formatting in comment.
8621 (_nl_unload_domain): Use ISO C style.
8622
8623 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8624
86252014-07-02 Will Newton <will.newton@linaro.org>
8626
8627 * malloc/obstack.c: Merge from gnulib master.
8628 [HAVE_CONFIG_H]: Remove conditional code.
8629 [!_LIBC]: Include config.h.
8630 [!ELIDE_CODE]: Don't include inttypes.h, include
8631 stdint.h unconditionally.
8632 (print_and_abort): Mark as _Noreturn.
8633 (_obstack_allocated_p): Mark as __attribute_pure__.
8634 (obstack_free): Rename to __obstack_free.
8635 [!__attribute__]: Remove conditional code.
8636 * malloc/obstack.h: Merge from gnulib master.
8637 [__cplusplus]: Move conditional down.
8638 [!__attribute_pure__]: Define __attribute_pure__ here
8639 if it is not already defined.
8640 (_obstack_memory_used): Mark as __attribute_pure__.
8641 [!__obstack_free]: Define as obstack_free.
8642 [__GNUC__]: Remove check for ancient NeXT gcc.
8643
86442014-07-02 Will Newton <will.newton@linaro.org>
8645 Paul Eggert <eggert@cs.ucla.edu>
8646
8647 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8648
86492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8650
8651 * resolv/gethnamaddr.c: Add comment warning that the file is
8652 not maintained.
8653
86542014-07-01 Carlos O'Donell <carlos@redhat.com>
8655
8656 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8657 entries.
8658
8659 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8660 entry for aio_cancel and aio_cancel64.
8661 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8662 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8663 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8664 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8665 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8666 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8667 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8668 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8669 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8670 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8671 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8672 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8673 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8674
86752014-07-01 Roland McGrath <roland@hack.frob.com>
8676
8677 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8678 * nptl/pthread_mutex_lock.c: Likewise.
8679 * nptl/pthread_mutex_timedlock.c: Likewise.
8680 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8681
86822014-07-01 Richard henderson <rth@redhat.com>
8683
8684 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8685 (__isnan, __isnanl): Remove.
8686 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8687
8688 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8689
86902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8691
8692 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8693
86942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8695
8696 * resolv/nss_dns/dns-host.c (getanswer_r)
8697 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8698
86992014-07-01 Joseph Myers <joseph@codesourcery.com>
8700
8701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8702 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8703 undefine.
8704 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8705 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8706
87072014-07-01 Roland McGrath <roland@hack.frob.com>
8708
8709 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8710 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8711
8712 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8713 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8714
8715 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8716 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8717 ... here.
8718 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8719 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8720
8721 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8722 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8723 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8724 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8725
8726 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8727 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8728 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8731 Moved ...
8732 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8733 ... here.
8734 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8739 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8741 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8745 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8746 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8747 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8751 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8752 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8753 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8754 ... here.
8755 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8758 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8759 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8760 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8761 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8762 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8763
87642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8765
8766 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8767 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8768 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8769 Add sysdep.
8770
87712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772
8773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8774
87752014-06-30 Joseph Myers <joseph@codesourcery.com>
8776
8777 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8778 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8779
8780 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8781
8782 * sysdeps/arm/libm-test-ulps: Regenerated.
8783
87842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8785 Roland McGrath <roland@hack.frob.com>
8786
8787 * test-skeleton.c (signal_handler): Kill the whole process group
8788 before killing the child individually.
8789 (main): Report any failure on `setpgid'.
8790
87912014-06-30 Roland McGrath <roland@hack.frob.com>
8792
8793 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8794 from _TLS_H to _ARM_NPTL_TLS_H.
8795 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8796 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8797
87982014-06-30 Joseph Myers <joseph@codesourcery.com>
8799
8800 [BZ #16539]
8801 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8802 (__expm1l): Return argument unchanged when small but not
8803 subnormal.
8804
8805 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8806 include macro name.
8807 (_FP_UNPACK_RAW_1_P): Likewise.
8808 (_FP_PACK_RAW_1): Likewise.
8809 (_FP_PACK_RAW_1_P): Likewise.
8810 (_FP_MUL_MEAT_1_wide): Likewise.
8811 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8812 (_FP_MUL_MEAT_1_hard): Likewise.
8813 (_FP_DIV_MEAT_1_imm): Likewise.
8814 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8815 (_FP_DIV_MEAT_1_udiv): Likewise.
8816 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8817 (_FP_UNPACK_RAW_2): Likewise.
8818 (_FP_UNPACK_RAW_2_P): Likewise.
8819 (_FP_PACK_RAW_2): Likewise.
8820 (_FP_PACK_RAW_2_P): Likewise.
8821 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8822 (_FP_MUL_MEAT_2_wide): Likewise.
8823 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8824 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8825 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8826 (_FP_MUL_MEAT_2_gmp): Likewise.
8827 (_FP_DIV_MEAT_2_udiv): Likewise.
8828 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8829 (_FP_FRAC_SRL_4): Likewise.
8830 (_FP_FRAC_SRST_4): Likewise.
8831 (_FP_FRAC_SRS_4): Likewise.
8832 (_FP_UNPACK_RAW_4): Likewise.
8833 (_FP_UNPACK_RAW_4_P): Likewise.
8834 (_FP_PACK_RAW_4): Likewise.
8835 (_FP_PACK_RAW_4_P): Likewise.
8836 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8837 (_FP_MUL_MEAT_4_wide): Likewise.
8838 (_FP_MUL_MEAT_4_gmp): Likewise.
8839 (umul_ppppmnnn): Likewise.
8840 (_FP_DIV_MEAT_4_udiv): Likewise.
8841 (__FP_FRAC_ADD_4): Likewise.
8842 (__FP_FRAC_SUB_3): Likewise.
8843 (__FP_FRAC_SUB_4): Likewise.
8844 (__FP_FRAC_DEC_3): Likewise.
8845 (__FP_FRAC_DEC_4): Likewise.
8846 (__FP_FRAC_ADDI_4): Likewise.
8847 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8848 (_FP_FRAC_SRL_8): Likewise.
8849 (_FP_FRAC_SRS_8): Likewise.
8850
8851 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8852 include macro name.
8853 (FP_UNPACK_RAW_EP): Likewise.
8854 (FP_PACK_RAW_E): Likewise.
8855 (FP_PACK_RAW_EP): Likewise.
8856 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8857 (_FP_ISSIGNAN): Likewise.
8858 (_FP_ADD_INTERNAL): Likewise.
8859 (_FP_FMA): Likewise.
8860 (_FP_CMP): Likewise.
8861 (_FP_SQRT): Likewise.
8862 (_FP_TO_INT): Likewise.
8863 (_FP_FROM_INT): Likewise.
8864 (FP_EXTEND): Likewise.
8865 (_FP_DIV_MEAT_N_loop): Likewise.
8866
88672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8868
8869 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8870 throughout.
8871
88722014-06-29 Joseph Myers <joseph@codesourcery.com>
8873
8874 [BZ #17097]
8875 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8876 result with correct sign in case of exponents that produce
8877 overflow except for X very close to 1.
8878
88792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8880
8881 mktime: merge #if/#ifdef usage from glibc
8882 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8883 as that works with both Glibc's and Gnulib's style.
8884 See thread starting at Siddhesh Poyarekar's bug report at:
8885 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8886
88872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8888
8889 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8890 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8891 * sysdeps/tile/tilegx/memmove.c: Remove file.
8892
88932014-06-27 Joseph Myers <joseph@codesourcery.com>
8894
8895 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8896 abi-name definition.
8897 * scripts/soversions.awk: Do not handle or generate ABI lines.
8898 * shlib-versions: Remove ABI entries.
8899 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8900 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8901
89022014-06-27 Roland McGrath <roland@hack.frob.com>
8903
8904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8905 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8907 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8909 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8911 Moved ...
8912 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8913 ... here.
8914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8917 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8919 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8921 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8923 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8925 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8927 Moved ...
8928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8930 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8932 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8934 Moved ...
8935 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8937 Moved ...
8938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8942 Moved ...
8943 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8947 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8949 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8951 Moved ...
8952 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8956 Moved ...
8957 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8959 Moved ...
8960 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8964 Moved ...
8965 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8966 ... here.
8967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8968 Identical file removed.
8969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8970 Moved ...
8971 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8973 Identical file removed.
8974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8975 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8977 Moved ...
8978 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8980 Identical file removed.
8981 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8984 Identical file removed.
8985 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8987 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8988 Identical file removed.
8989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8992 Identical file removed.
8993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8994 Moved ...
8995 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8997 Identical file removed.
8998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8999 Moved ...
9000 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9004 Identical file removed.
9005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9006 Moved ...
9007 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9008 ... here.
9009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9010 Identical file removed.
9011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9012 Moved ...
9013 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9015 Identical file removed.
9016 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9017 Moved ...
9018 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9024 Moved ...
9025 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9026 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9027 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9028
9029 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9030 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9031 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9032 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9033 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9034
90352014-06-27 Arjun Shankar <arjun.is@lostca.se>
9036
9037 [BZ #17092]
9038 * nscd/nscd.c (monitor_child): Return exit status of child
9039 instead of return value from wait syscall.
9040
90412014-06-27 Joseph Myers <joseph@codesourcery.com>
9042
9043 * configure.ac (libc_commonpagesize): Remove variable.
9044 (libc_relro_required): Likewise.
9045 (libc_cv_z_relro): Remove configure test.
9046 * configure: Regenerated.
9047 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9048 variable.
9049 (libc_relro_required): Likewise.
9050 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9051 (libc_relro_required): Likewise.
9052 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9053 (libc_relro_required): Likewise.
9054 * sysdeps/arm/preconfigure: Regenerated.
9055 * sysdeps/ia64/preconfigure: Remove file.
9056 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9057 variable.
9058 (libc_relro_required): Likewise.
9059
9060 [BZ #16561]
9061 [BZ #16562]
9062 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9063 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9064 recompute overflowing results in original rounding mode.
9065 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9066 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9067 recompute overflowing results in original rounding mode.
9068 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9069 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9070 recompute overflowing results in original rounding mode.
9071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9072 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9073 recompute overflowing results in original rounding mode.
9074 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9075 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9076 recompute overflowing results in original rounding mode.
9077 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9078 (libc_feholdsetround_ctx): New macro.
9079 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9080 * sysdeps/i386/fpu/libm-test-ulps: Update.
9081 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9082
90832014-06-26 Joseph Myers <joseph@codesourcery.com>
9084
9085 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9086 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9087 corresponding .cpsetup call.
9088
90892014-06-26 Roland McGrath <roland@hack.frob.com>
9090
9091 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9092 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9093 * sysdeps/arm/Makefile [$(subdir) = csu]
9094 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9095 (static-only-routines): Add aeabi_read_tp here.
9096 (shared-only-routines): Add libc-aeabi_read_tp here.
9097 (CFLAGS-libc-start.c): Add -fexceptions here.
9098 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9099 (sysdep_routines, static-only-routines, shared-only-routines):
9100 Don't add to these here.
9101 (CFLAGS-libc-start.c): Likewise.
9102
9103 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9104 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9105 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9106 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9107 * sysdeps/arm/Makefile [$(subdir) = rt]
9108 (librt-sysdep_routines, librt-shared-only-routines):
9109 Append rt-aeabi_unwind_cpp_pr1 here.
9110 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9111 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9112 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9113 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9114 Append nptl-aeabi_unwind_cpp_pr1 here.
9115 (tests): Filter out tst-cleanupx4 here.
9116 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9117 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9118 Don't do those here.
9119
91202014-06-26 Joseph Myers <joseph@codesourcery.com>
9121
9122 * scripts/list-sources.sh: Do not handle ports specially.
9123
91242014-06-26 Roland McGrath <roland@hack.frob.com>
9125
9126 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9127 * sysdeps/arm/feupdateenv.c: Likewise.
9128
9129 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9130
91312014-06-26 Joseph Myers <joseph@codesourcery.com>
9132
9133 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9134 trailing whitespace removed.
9135 * scripts/config.guess: Update to version 2014-03-23.
9136 * scripts/config.sub: Update to version 2014-05-01
9137 * scripts/install-sh: Update to version 2013-12-25.23.
9138 * scripts/move-if-change: Update from gnulib.
9139
91402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9141
9142 * debug/memmove_chk.c: Remove pagecopy.h include.
9143
91442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9145
9146 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9147 identical to gnulib mktime.
9148
91492014-06-26 Joseph Myers <joseph@codesourcery.com>
9150
9151 * configure.ac: Do not test for machine being rs6000. Do not test
9152 for powerpc*-*soft.
9153 * configure: Regenerated.
9154
9155 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9156 test.
9157 * configure: Regenerated.
9158 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9159 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9160 Remove configure test.
9161 * sysdeps/arm/configure: Regenerated.
9162 * sysdeps/nptl/configure.ac: Do not check
9163 libc_cv_asm_cfi_directives.
9164 * sysdeps/nptl/configure: Regenerated.
9165 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9166 * sysdeps/x86_64/nptl/configure: Remove generated file.
9167 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9168 unconditional.
9169 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9170
91712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9172
9173 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9174 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9175 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9176 it is defined.
9177
9178 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9179 instead of whether it is defined.
9180 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9181 * sysdeps/hppa/dl-machine.h: Likewise.
9182 * sysdeps/ia64/dl-machine.h: Likewise.
9183 * sysdeps/m68k/dl-machine.h: Likewise.
9184 * sysdeps/microblaze/dl-machine.h: Likewise.
9185 * sysdeps/mips/dl-machine.: Likewise.
9186 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9187 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9188 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9189 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9190 * sysdeps/sh/dl-machine.h: Likewise.
9191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9192 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9193 * sysdeps/tile/dl-machine.h: Likewise.
9194 * sysdeps/x86_64/dl-machine.h: Likewise.
9195
9196 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9197 code.
9198 (verify_persistent_db): Likewise.
9199
92002014-06-26 Roland McGrath <roland@hack.frob.com>
9201
9202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9203 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9207 Moved ...
9208 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9209 ... here.
9210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9211 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9213 Identical file removed.
9214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9219 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9223 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9225 Moved ...
9226 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9228 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9232 Moved ...
9233 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9235 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9237 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9239 Identical file removed.
9240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9241 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9245 Moved ...
9246 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9247 ... here.
9248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9259 Moved ...
9260 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9262 Moved ...
9263 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9267 Moved ...
9268 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9270 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9271
9272 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9273 folded into ...
9274 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9275 * sysdeps/unix/sysv/linux/s390/Versions
9276 (libpthread: GLIBC_2.19): New version set.
9277 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9278 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9279 (librt: GLIBC_2.3.3): New version set.
9280 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9281 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9282 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9284 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9286 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9288 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9290 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9292 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9294 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9296 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9298 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9300 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9302 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9304 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9306 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9308 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9310 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9316 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9318 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9320 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9322 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9324 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9325
9326 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9327 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9328 (__libc_vfork): Define the function under this name.
9329 [!NOT_IN_libc] (__vfork): Make this an alias.
9330 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9332 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9333 (__libc_vfork): Define the function under this name.
9334 [!NOT_IN_libc] (__vfork): Make this an alias.
9335 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9336 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9339 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9340 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9341
9342 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9343 code that was previously under [RESET_PID].
9344 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9345 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9347
9348 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9349 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9350 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9351 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9352 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9353 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9354 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9355 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9356 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9357 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9358 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9359 Moved ...
9360 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9361 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9362 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9363 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9364 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9366 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9368 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9372 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9373 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9376 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9377 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9380 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9382 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9383 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9384 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9385 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9386 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9389
93902014-06-25 Roland McGrath <roland@hack.frob.com>
9391
9392 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9393 that was previously under [RESET_PID].
9394 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9395
93962014-06-25 Joseph Myers <joseph@codesourcery.com>
9397
9398 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9399 not undefine and redefine.
9400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9401 [O_CLOEXEC]: Make code unconditional.
9402 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9403 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9404 <kernel-features.h>.
9405 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9406 conditional variable definition.
9407 (shm_open) [O_CLOEXEC]: Make code unconditional.
9408 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9409 code.
9410
9411 * configure.ac (USE_REGPARMS): Don't define here.
9412 * configure: Regenerated.
9413 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9414 * sysdeps/i386/configure: Regenerated.
9415
9416 * nptl/createthread.c: Don't include kernel-features.h.
9417 * nptl/pthread_cancel.c: Likewise.
9418 * nptl/pthread_condattr_setclock.c: Likewise.
9419 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9420 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9421 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9422 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9423 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9424 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9425 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9428 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9429 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9430 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9431 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9432 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9433 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9434 * nscd/gai.c: Likewise.
9435 * nss/nss_db/db-open.c: Likewise.
9436 * sysdeps/generic/ldsodefs.h: Likewise.
9437 * sysdeps/sh/nptl/tls.h: Likewise.
9438 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9439 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9440 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9441 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9442 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9443 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9444 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9445 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9447 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9448 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9449 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9450 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9451 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9452 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9453 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9454 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9455 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9456 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9457 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9459 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9460 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9461 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9466 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9467 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9468 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9469 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9470 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9471 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9473 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9474 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9476 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9477 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9478 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9479 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9480 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9481 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9482 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9483 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9484 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9485 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9486 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9487 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9488 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9489 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9490 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9491 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9492 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9493 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9494 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9495 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9518 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9519 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9520 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9521 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9522 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9523 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9524 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9525 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9526 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9527 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9528 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9529 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9530 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9531 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9532 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9533 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9535 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9536 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9537 * sysdeps/unix/sysv/linux/system.c: Likewise.
9538 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9539 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9540 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9541 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9542 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9543 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9544 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9545
9546 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9547 * configure: Regenerated.
9548 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9549
9550 * configure.ac (base_machine): Do not set specially for particular
9551 machines here.
9552 * configure: Regenerated.
9553 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9554 settings from configure.ac.
9555 * sysdeps/i386/preconfigure: New file.
9556 * sysdeps/s390/preconfigure: Likewise.
9557 * sysdeps/sh/preconfigure: Likewise.
9558 * sysdeps/sparc/preconfigure: Likewise.
9559
95602014-06-25 Roland McGrath <roland@hack.frob.com>
9561
9562 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9563 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9564 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9565 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9566 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9567 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9568 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9569 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9570 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9571 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9572 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9573 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9574 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9576 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9579 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9580 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9581
9582 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9583 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9584 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9585 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9586 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9587 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9588 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9589 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9590 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9591 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9592 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9593 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9594 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9595 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9596 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9597 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9598 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9599 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9600 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9601 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9603 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9604 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9605 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9607 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9609 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9611 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9612 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9613 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9614 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9615 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9616 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9617 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9618 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9619 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9620
9621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9624 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9626 Moved ...
9627 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9628 ... here.
9629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9643 Moved ...
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9646 Moved ...
9647 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9651 Moved ...
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9654 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9658 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9660 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9662 Moved ...
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9664 ... here.
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9670 Moved ...
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9679 Moved ...
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9682 Moved ...
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9685 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9687 Moved ...
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9690 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9692 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9693
96942014-06-25 Joseph Myers <joseph@codesourcery.com>
9695
9696 * timezone/checktab.awk: Update from tzcode 2014e.
9697 * timezone/private.h: Likewise.
9698 * timezone/tzfile.h: Likewise.
9699 * timezone/zdump.c: Likewise.
9700 * timezone/zic.c: Likewise.
9701
9702 * sysdeps/unix/sysv/linux/kernel-features.h
9703 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9705 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9706 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9707 Remove conditional code.
9708
97092014-06-25 Will Newton <will.newton@linaro.org>
9710
9711 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9712 (_dl_arm_cap_flags): Add HWCAP2 values.
9713 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9714 (_DL_HWCAP_COUNT): Increase to 37.
9715 (_DL_HWCAP_LAST): New define.
9716 (_DL_HWCAP2_LAST): New define.
9717 (_dl_procinfo): Add support for printing
9718 AT_HWCAP2 entries.
9719 (_dl_string_hwcap): Use _dl_hwcap_string.
9720
97212014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722
9723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9724
97252014-06-25 Joseph Myers <joseph@codesourcery.com>
9726
9727 * README: Do not mention ports directory.
9728
9729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9730 Remove macro.
9731 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9732 <kernel-features.h>.
9733 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9734 conditional variable definition.
9735 (__futimes): Update comment.
9736 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9737 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9738
9739 [BZ #16560]
9740 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9741 arguments close to 0.
9742 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9743 Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9745 Likewise.
9746 * math/auto-libm-test-in: Add more tests of exp10.
9747 * math/auto-libm-test-out: Regenerated.
9748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9749
9750 * sysdeps/unix/sysv/linux/kernel-features.h
9751 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9752 * sysdeps/unix/sysv/linux/readv.c: Do not include
9753 <kernel-features.h>.
9754 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9755 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9756 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9757 unconditional.
9758 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9759 conditional code.
9760 * sysdeps/unix/sysv/linux/writev.c: Do not include
9761 <kernel-features.h>.
9762 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9763 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9764 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9765 unconditional.
9766 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9767 conditional code.
9768
97692014-06-25 Will Newton <will.newton@linaro.org>
9770
9771 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9772 comment changes throughout the file. Remove checks
9773 for HAVE_*_H definitions that are not required.
9774 (__gen_tempname): Call abort if an unknown kind value is
9775 passed.
9776
97772014-06-25 Andreas Schwab <schwab@suse.de>
9778
9779 [BZ #17086]
9780 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9781 scalbln, scalblnf, scalblnl in libc.
9782
97832014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9784
9785 [BZ #17086]
9786 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9787 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9788 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9789
97902014-06-24 Roland McGrath <roland@hack.frob.com>
9791
9792 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9793 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9794 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9795 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9796 Update #include.
9797 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9798 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9799 Update #include.
9800 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9801 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9802 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9803 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9804 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9805 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9806 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9807 * sysdeps/x86/bits/semaphore.h: ... here.
9808 * sysdeps/x86/nptl/elide.h: Moved ...
9809 * sysdeps/x86/elide.h: ... here.
9810 * sysdeps/x86_64/nptl/Implies: File removed.
9811 * sysdeps/i386/nptl/Implies: File removed.
9812
98132014-06-24 Joseph Myers <joseph@codesourcery.com>
9814
9815 [BZ #16539]
9816 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9817 return the argument for normal arguments with exponent below -64.
9818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9819 Likewise.
9820 * math/auto-libm-test-in: Add another test of expm1.
9821 * math/auto-libm-test-out: Regenerated.
9822
9823 [BZ #16287]
9824 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9825 calling __erfcl for arguments at least 16.
9826 * math/auto-libm-test-in: Add more tests of erf.
9827 * math/auto-libm-test-out: Regenerated.
9828
9829 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9830 individual architectures.
9831 * sysdeps/unix/sysv/linux/configure: Regenerated.
9832 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9833 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9834 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9835 (ldd_rewrite_script): Define variable.
9836 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9838 file.
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9840 generated file.
9841 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9842 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9843 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9844 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9845 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9846 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9847 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9848 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9849
98502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9851
9852 [BZ #17084]
9853 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9854 Rename member __data.d to __data.__elision_data.
9855
98562014-06-24 Wilco <wdijkstr@arm.com>
9857
9858 * NEWS: Add 16918 to fixed bug list.
9859
98602014-06-24 Wilco <wdijkstr@arm.com>
9861
9862 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9863
98642014-06-24 Wilco <wdijkstr@arm.com>
9865
9866 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9867 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9868 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9869 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9870 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9871 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9872 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9873 Use _FPU_MASK_RM.
9874
98752014-06-24 Wilco <wdijkstr@arm.com>
9876
9877 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9878
98792014-06-24 Wilco <wdijkstr@arm.com>
9880
9881 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9882 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9883 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9884 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9885
98862014-06-24 Wilco <wdijkstr@arm.com>
9887
9888 [BZ #16918]
9889 * sysdeps/arm/feupdateenv.c (feupdateenv):
9890 Rewrite to reduce FPSCR accesses and fix return value.
9891
98922014-06-24 Wilco <wdijkstr@arm.com>
9893
9894 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9895 Optimize to avoid unnecessary FPSCR writes.
9896 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9897 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9898 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9899 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9900
99012014-06-24 Wilco <wdijkstr@arm.com>
9902
9903 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9904 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9905 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9906 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9907 Call libc_fetestexcept_vfp.
9908 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9909 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9910 __SOFTFP__ ifdef so that they can be built for softfp.
9911
99122014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9913
9914 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9915 argument type signed char.
9916
9917 * Makerules (check-abi): Dump diff of symlist if the test
9918 fails.
9919
99202014-06-23 Roland McGrath <roland@hack.frob.com>
9921
9922 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9923 using abort.
9924
9925 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9926 Remove unused variable ST.
9927
99282014-06-23 Joseph Myers <joseph@codesourcery.com>
9929
9930 [BZ #16354]
9931 [BZ #17061]
9932 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9933 small arguments before calling __expm1.
9934 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9935 small arguments before calling __expm1f.
9936 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9937 small arguments before calling __expm1l.
9938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9939 Likewise.
9940 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9941 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9942 spurious underflow for some cosh tests.
9943 * math/auto-libm-test-out: Regenerated.
9944 * sysdeps/i386/fpu/libm-test-ulps: Update.
9945
9946 [BZ #17050]
9947 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9948 (__ieee754_y1): Set errno if return value overflows.
9949 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9950 (__ieee754_y1f): Set errno if return value overflows.
9951 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9952 (__ieee754_y1l): Set errno if return value overflows.
9953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9954 (__ieee754_y1l): Set errno if return value overflows.
9955 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9956 * math/auto-libm-test-out: Regenerated.
9957
9958 * math/gen-auto-libm-tests.c: Document use of
9959 ignore-zero-inf-sign.
9960 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9961 (input_flags): Add ignore-zero-inf-sign.
9962 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9963 * math/gen-libm-test.pl (generate_testfile): Handle
9964 ignore-zero-inf-sign.
9965 * math/auto-libm-test-in: Mark some cpow tests with
9966 ignore-zero-inf-sign and some with xfail-rounding.
9967 * math/auto-libm-test-out: Regenerated.
9968 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9969 * sysdeps/i386/fpu/libm-test-ulps: Update.
9970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9971
9972 [BZ #16315]
9973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9974 overflowing or underflowing operations take place with sign of
9975 result.
9976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9978 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9979 (__ieee754_pow): Recompute overflowing and underflowing results in
9980 original rounding mode.
9981 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9982 (__powl_helper): Allow negative argument X and scale negated value
9983 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9984 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9985 overflowing or underflowing operations take place with sign of
9986 result.
9987 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9988 Include <math.h>.
9989 * math/auto-libm-test-in: Add more tests of pow.
9990 * math/auto-libm-test-out: Regenerated.
9991 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9992 (pow_tonearest_test_data): Remove.
9993 (pow_test_tonearest): Likewise.
9994 (pow_towardzero_test_data): Likewise.
9995 (pow_test_towardzero): Likewise.
9996 (pow_downward_test_data): Likewise.
9997 (pow_test_downward): Likewise.
9998 (pow_upward_test_data): Likewise.
9999 (pow_test_upward): Likewise.
10000 (main): Don't call removed functions.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
100042014-06-23 Roland McGrath <roland@hack.frob.com>
10005
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10007 Moved ...
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10010 Moved ...
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10013 Moved ...
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10016 Moved ...
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10019 File removed.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10021 File removed.
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10023 File removed.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10025 File removed.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10027 File removed.
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10029 File removed.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10031 File removed.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10033 File removed.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10035 File removed.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10037 File removed.
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10039 File removed.
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10041 File removed.
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10043 Moved ...
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10046 Moved ...
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10048 ... here.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10050 Moved ...
10051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10053 Moved ...
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10056 Moved ...
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10059 Moved ...
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10062 Moved ...
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10065 Moved ...
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10068 Moved ...
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10072 ... here.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10074 Moved ...
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10077 Moved ...
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10079 ... here.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10081 Moved ...
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10083 ... here.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10085 Moved ...
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10087 ... here.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10089 Moved ...
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10092 Moved ...
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10097 Moved ...
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10099 ... here.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10101 Moved ...
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10103 ... here.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10105 Moved ...
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10108 Moved ...
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10111 Moved ...
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10114 Moved ...
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10117 Moved ...
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10119 ... here.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10121 Moved ...
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10124 Moved ...
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10127 Moved ...
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10130 Moved ...
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10135 Moved ...
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10138 Moved ...
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10141 Moved ...
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10143 ... here.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10145 Moved ...
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10147 ... here.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10149 Moved ...
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10151 ... here.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10153 Moved ...
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10156 Moved ...
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10159 Moved ...
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10162 Moved ...
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10164 ... here.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10166 Moved ...
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10168 ... here.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10170 Moved ...
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10172 ... here.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10174 Moved ...
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10179
101802014-06-23 Will Newton <will.newton@linaro.org>
10181 Wilco <wdijkstr@arm.com>
10182
10183 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10184 implementation. Include get-rounding-mode.h.
10185 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10186 [!libc_feholdsetround_noex_ctx]: Define
10187 libc_feholdsetround_noex_ctx.
10188 [!libc_feholdsetround_noexf_ctx]: Define
10189 libc_feholdsetround_noexf_ctx.
10190 [!libc_feholdsetround_noexl_ctx]: Define
10191 libc_feholdsetround_noexl_ctx.
10192 (libc_feholdsetround_ctx): New function.
10193 (libc_feresetround_ctx): New function.
10194 (libc_feholdsetround_noex_ctx): New function.
10195 (libc_feresetround_noex_ctx): New function.
10196
101972014-06-23 Roland McGrath <roland@hack.frob.com>
10198
10199 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10200 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10201 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10202 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10203 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10204 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10205
10206 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10207 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10208 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10209 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10210 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10211 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10213 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10215 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10217 Moved ...
10218 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10219 ... here.
10220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10221 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10223 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10225 Moved ...
10226 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10234 Moved ...
10235 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10237 Moved ...
10238 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10240 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10242 Moved ...
10243 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10245 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10246 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10247 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10248 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10249 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10251 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10253 Moved ...
10254 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10255 ... here.
10256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10257 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10259 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10261 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10263 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10265 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10267 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10269 Moved ...
10270 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10272 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10274 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10276 Moved ...
10277 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10281 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10282
10283 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10284 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10286 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10287 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10288 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10290 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10294 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10295 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10300 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10301 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10302 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10303 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10308 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10311
103122014-06-23 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10315 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10316 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10317 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10318 (IPV6_PMTUDISC_INTERFACE): Likewise.
10319 (IPV6_PMTUDISC_OMIT): Likewise.
10320
103212014-06-23 Andreas Schwab <schwab@suse.de>
10322
10323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10324 Remove unused errout label.
10325
103262014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10327
10328 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10329 macro: hardware supports Vector Crypto instructions.
10330
103312014-06-23 Will Newton <will.newton@linaro.org>
10332
10333 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10334 rather than __builtin_expect.
10335
10336 * elf/dl-lookup.c (undefined_msg): Remove variable.
10337 (_dl_lookup_symbol_x): Replace undefined_msg with string
10338 literal.
10339
10340 * elf/dl-lookup.c (do_lookup_unique): New function.
10341 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10342 to a separate function.
10343
103442014-06-23 Andreas Schwab <schwab@suse.de>
10345
10346 [BZ #17079]
10347 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10348 before reading the next line.
10349
103502014-06-23 Will Newton <will.newton@linaro.org>
10351
10352 * test-skeleton.c (signal_handler): Use printf and %m
10353 rather than perror. Use printf rather than fprintf to
10354 stderr. Use puts rather than fputs to stderr.
10355 (main): Likewise.
10356
103572014-06-22 Ludovic Courtès <ludo@gnu.org>
10358
10359 * nscd/nscd.c (thread_info_t): Remove typedef.
10360 (thread_info): Remove variable.
10361
103622014-06-21 Allan McRae <allan@archlinux.org>
10363
10364 * NEWS: Mention CVE-2014-4043.
10365
103662014-06-20 Roland McGrath <roland@hack.frob.com>
10367
10368 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10369 * nptl/smp.h: ... here.
10370
10371 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10372
10373 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10374 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10375 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10376 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10377
10378 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10379 * nptl/stack-aliasing.h: New file.
10380 * sysdeps/i386/i686/stack-aliasing.h: New file.
10381 * sysdeps/i386/i686/nptl/Makefile: File removed.
10382 * sysdeps/x86_64/stack-aliasing.h: New file.
10383 * sysdeps/x86_64/nptl/Makefile
10384 (CFLAGS-pthread_create.c): Variable removed.
10385
10386 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10387 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10388 old file.
10389 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10390 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10391 old file.
10392
103932014-06-21 Joseph Myers <joseph@codesourcery.com>
10394
10395 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10396 (__ASSUME_SIGFRAME_V2): Remove macro.
10397 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10398 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10399 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10400 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10401 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10402 Declare as function. Remove conditional macro definitions.
10403 (__default_rt_sa_restorer): Likewise.
10404 (__default_sa_restorer_v1): Remove declaration.
10405 (__default_sa_restorer_v2): Likewise.
10406 (__default_rt_sa_restorer_v1): Likewise.
10407 (__default_rt_sa_restorer_v2): Likewise.
10408 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10409 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10410 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10411
104122014-06-20 Roland McGrath <roland@hack.frob.com>
10413
10414 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10415 (libpthread-routines): Add sysdep.
10416 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10417 * sysdeps/unix/sysv/linux/sparc/Versions
10418 (libpthread: GLIBC_2.3.3): New version set.
10419 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10420 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10421 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10422 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10423 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10424 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10425 Moved ...
10426 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10428 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10430 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10431 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10432 * sysdeps/sparc/nptl/sem_init.c: ... here.
10433 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10434 * sysdeps/sparc/nptl/sem_post.c: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10436 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10437 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10438 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10439 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10440 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10441 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10442 (libpthread-routines): Add cpu_relax.
10443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10444 File removed.
10445 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10446 (librt: GLIBC_2.3.3): New version set.
10447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10448 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10449 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10450 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10453 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10455 Moved ...
10456 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10458 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10460 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10462 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10464 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10466 Moved ...
10467 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10468 Update #include.
10469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10470 Moved ...
10471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10472 Update #include.
10473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10474 Moved ...
10475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10476 Update #include.
10477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10478 Moved ...
10479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10480 Update #include.
10481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10482 Moved ...
10483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10484 Update #include.
10485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10486 Moved ...
10487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10488 Update #include.
10489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10490 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10496 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10498 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10500 Moved ...
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10503 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10505 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10506
105072014-06-20 Joseph Myers <joseph@codesourcery.com>
10508
10509 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10510 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10511 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10512 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10513 * nscd/nscd.c: Likewise.
10514 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10515 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10516 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10517 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10518
10519 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10520 <kernel-features.h>.
10521 (init_mq_netlink): Remove conditional have_sock_cloexec
10522 definitions. Remove code conditional on have_sock_cloexec < 0.
10523 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10524 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10525 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10526 <kernel-features.h>.
10527 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10528 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10529
105302014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10531
10532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10533 Add tests for memset_chk and memset.
10534
10535 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10536 with AVX2_Usable.
10537
105382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10539
10540 [BZ #16046]
10541 * elf/tst-dl-iter-static.c: New file.
10542 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10543
10544 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10545 error.
10546
105472014-06-20 Joseph Myers <joseph@codesourcery.com>
10548
10549 * sysdeps/unix/sysv/linux/kernel-features.h
10550 (__ASSUME_F_GETOWN_EX): Remove macro.
10551 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10552 <kernel-features.h>.
10553 (miss_F_GETOWN_EX): Remove variable or macro.
10554 (do_fcntl): Do not check miss_F_GETOWN_EX.
10555 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10556
10557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10558 Remove macro.
10559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10560 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10561 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10562
10563 * sysdeps/unix/sysv/linux/kernel-features.h
10564 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10565 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10566 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10567 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10568
105692014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10570
10571 [BZ #17075]
10572 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10573 Fix calculation of the symbol's value.
10574 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10575 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10576 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10577 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10578 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10579 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10580 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10581 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10582 (modules-names): Add `tst-armtlsdescmod',
10583 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10584 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10585 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10586 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10587 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10588 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10589 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10590 ($(objpfx)tst-armtlsdescloc): New dependency.
10591 ($(objpfx)tst-armtlsdescextnow): Likewise.
10592 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10593 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10594 TLS scheme support.
10595 * sysdeps/arm/configure: Regenerate.
10596
105972014-06-20 Joseph Myers <joseph@codesourcery.com>
10598
10599 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10600 (__atfct_seterrno_2): Likewise.
10601 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10602 <kernel-features.h>.
10603 (__ASSUME_ATFCTS): Do not undefine and redefine.
10604 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10605 (__have_atfcts): Remove conditional definition.
10606 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10607 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10608 unreachable if [__ASSUME_ATFCTS].
10609 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10610 not undefine and redefine.
10611 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10612 <kernel-features.h>.
10613 (faccessat) [__NR_faccessat]: Make code unconditional.
10614 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10616 <kernel-features.h>.
10617 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10618 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10620 <kernel-features.h>.
10621 (fchownat) [__NR_fchownat]: Make code unconditional.
10622 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10624 <kernel-features.h>.
10625 (futimesat) [__NR_futimesat]: Make code unconditional.
10626 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10628 <kernel-features.h>.
10629 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10630 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10631 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10632 <kernel-features.h>.
10633 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10634 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10635 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10636 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10637 <kernel-features.h>.
10638 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10639 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10640 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10641 <kernel-features.h>.
10642 (linkat) [__NR_linkat]: Make code unconditional.
10643 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10644 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10645 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10646 <kernel-features.h>.
10647 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10648 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10649 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10650 <kernel-features.h>.
10651 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10652 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10653 * sysdeps/unix/sysv/linux/openat.c: Do not include
10654 <kernel-features.h>.
10655 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10656 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10657 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10658 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10659 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10660 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10661 <kernel-features.h>.
10662 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10663 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10664 result of INLINE_SYSCALL directly, not via int variable.
10665 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10666 <kernel-features.h>.
10667 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10668 (renameat) [__NR_renameat]: Make code unconditional.
10669 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10670 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10671 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10672 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10674 (__ASSUME_ATFCTS): Do not undefine and redefine.
10675 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10676 <kernel-features.h>.
10677 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10678 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10679 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10680 <kernel-features.h>.
10681 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10682 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10684 (__ASSUME_ATFCTS): Do not undefine and redefine.
10685 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10686 <kernel-features.h>.
10687 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10688 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10689 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10690 <kernel-features.h>.
10691 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10692 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10693
106942014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10697
106982014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10699
10700 [BZ #17069]
10701 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10702 constructed tree before returning error.
10703 * posix/bug-regexp36.c: Expand test case.
10704
107052014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10706
10707 [BZ #6803]
10708 * math/libm-test.inc (scalbln_test_date):
10709 Add errno expectations.
10710 * math/w_scalblnf.c: New File.
10711 Add wrapper which checks for setting errno to ERANGE.
10712 Add weak_alias for corresponding scalbln function.
10713 * math/w_scalbln.c: Likewise.
10714 * math/w_scalblnl.c: Likewise.
10715 * math/Makefile (libm-calls): Add w_scalbln.
10716 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10717 Remove weak_alias for corresponding scalbln function.
10718 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10722 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10723 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10724 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10725 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10726 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10727 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10728 Remove long_double_symbol for scalblnl function in libm, libc.
10729 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10730 Add wrapper which checks for setting errno to ERANGE.
10731 Add long_double_symbol for scalblnl function in libm, libc.
10732 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10733 Remove long_double_symbol for scalblnl in libm.
10734 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10735 Add wrapper which checks for setting errno to ERANGE.
10736 Add long_double_symbol for scalblnl function in libm.
10737 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10738 Do not use wrapper because of own implementation.
10739
107402014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10743 3 bytes for __pad1 for x32.
10744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10745
107462014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10747 H.J. Lu <hongjiu.lu@intel.com>
10748
10749 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10750 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10751 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10753 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10754
107552014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10756
10757 [BZ #17069]
10758 * posix/regcomp.c (parse_expression): Deallocate partially
10759 constructed tree before returning error.
10760 * posix/Makefile.c (tests): Add bug-regex36.
10761 (generated): Add bug-regex36.mtrace.
10762 (tests-special): Add $(objpfx)bug-regex36-mem.out
10763 (bug-regex36-ENV): New variable.
10764 ($(objpfx)bug-regex36-mem.out): New rule.
10765 * posix/bug-regex36.c: New file.
10766
107672014-06-19 Will Newton <will.newton@linaro.org>
10768
10769 * malloc/malloc.c (systrim): If extra is zero then return
10770 early.
10771
107722014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10773
10774 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10775
107762014-06-19 Richard Earnshaw <rearnsha@arm.com>
10777
10778 * sysdeps/aarch64/strchr.S: New file.
10779
107802014-06-18 Joseph Myers <joseph@codesourcery.com>
10781
10782 [BZ #17022]
10783 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10784 from arguments -2 or below.
10785 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10786 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10787
107882014-06-18 Andreas Schwab <schwab@suse.de>
10789
10790 [BZ #17062]
10791 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10792 of a bracket expr not to run off the end of the string.
10793 * posix/Makefile (tests): Add tst-fnmatch3.
10794 * posix/tst-fnmatch3.c: New file.
10795
107962014-06-18 Joseph Myers <joseph@codesourcery.com>
10797
10798 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10799 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10800 [$(cross-compiling) = no]: Likewise.
10801 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10802 [$(cross-compiling) = no]: Likewise.
10803
108042014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10805
10806 [BZ #17031]
10807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10808 double, adjusted for any remainder from the high double.
10809 * math/libm-test.inc (nearbyint): Add tests.
10810 (rint): Likewise.
10811
108122014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10813
10814 * nptl/sysdeps/powerpc/Makefile: Moved ...
10815 * sysdeps/powerpc/nptl/Makefile: ... here.
10816 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10817 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10818 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10819 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10820 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10821 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10822 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10823 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10824 * nptl/sysdeps/powerpc/tls.h: Moved ...
10825 * sysdeps/powerpc/nptl/tls.h: ... here.
10826
108272014-06-16 Joseph Myers <joseph@codesourcery.com>
10828
10829 [BZ #16681]
10830 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10831 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10832 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10833 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10834 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10835 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10836 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10837 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10838 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10839
108402014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10841
10842 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10843
108442014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10845
10846 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10847 defined operator.
10848
10849 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10850 $TIMEOUTFACTOR.
10851
108522014-06-16 Florian Weimer <fweimer@redhat.com>
10853
10854 [BZ #17058]
10855 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10856 non-executed part of the test.
10857
108582014-06-16 Andreas Schwab <schwab@suse.de>
10859
10860 * string/bits/string2.h (strdup, strndup): Update feature guard.
10861
108622014-06-14 David S. Miller <davem@davemloft.net>
10863
10864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10865
108662014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10867
10868 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10869 that was previously under [RESET_PID].
10870 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10871
10872 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10873 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10874 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10875 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10876 (__libc_vfork): New strong alias.
10877 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10878
108792014-06-14 Andi Kleen <ak@linux.intel.com>
10880
10881 * sysdeps/generic/elide.h: New file.
10882
108832014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10884
10885 * Makefile (installed-headers): Adjust path of pthread.h header.
10886
108872014-06-13 Roland McGrath <roland@hack.frob.com>
10888
10889 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10890 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10891 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10892 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10893
10894 * nptl/sysdeps/s390/Makefile: Moved ...
10895 * sysdeps/s390/nptl/Makefile: ... here.
10896 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10897 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10898 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10899 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10900 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10901 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10902 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10903 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10904 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10905 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10906 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10907 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10908 * nptl/sysdeps/s390/tls.h: Moved ...
10909 * sysdeps/s390/nptl/tls.h: ... here.
10910
10911 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10912 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10913
109142014-06-13 David S. Miller <davem@davemloft.net>
10915
10916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10919 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10923 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10924 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10925 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10926 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10927 Remove RESET_PID cpp guards.
10928 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10929 Remove RESET_PID cpp guards.
10930 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10931
109322014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10933
10934 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10935 __sp to uintptr_t.
10936
109372014-06-13 Andi Kleen <ak@linux.intel.com>
10938
10939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10948 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10951 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10953 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10956 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10959
10960 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10961 (pthread_rwlock_rdlock): Add elision.
10962 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10963 (pthread_rwlock_wrlock): Add elision.
10964 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10965 (pthread_rwlock_trywrlock): Add elision.
10966 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10967 (pthread_rwlock_tryrdlock): Add elision.
10968 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10969 (pthread_rwlock_tryrdlock): Add elision unlock.
10970 * nptl/sysdeps/pthread/pthread.h:
10971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10972 (PTHREAD_RWLOCK_INITIALIZER,
10973 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10974 Handle new elision field.
10975 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10976 * sysdeps/arm/nptl/bits/pthreadtypes.h
10977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10978 * sysdeps/sh/nptl/bits/pthreadtypes.h
10979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10980 * sysdeps/tile/nptl/bits/pthreadtypes.h
10981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10982 * sysdeps/a/nptl/bits/pthreadtypes.h
10983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10984 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10986 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10988 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10990 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10992 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10994 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10996 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10998 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11000 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11001 (elision_init): Set try_xbegin to zero when no RTM.
11002 * sysdeps/x86/nptl/bits/pthreadtypes.h
11003 (pthread_rwlock_t): Change __pad1 to __rwelision.
11004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11005
110062014-06-13 Andi Kleen <ak@linux.intel.com>
11007
11008 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11009 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11010 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11011 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11012
110132014-06-13 Meador Inge <meadori@codesourcery.com>
11014
11015 [BZ #16996]
11016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11017 that the cached result has been set before returning it.
11018
110192014-06-12 Roland McGrath <roland@hack.frob.com>
11020
11021 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11022 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11023 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11024 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11026 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11027
11028 * nptl/sysdeps/sparc/Makefile: Moved ...
11029 * sysdeps/sparc/nptl/Makefile: ... here.
11030 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11031 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11032 * nptl/sysdeps/sparc/tls.h: Moved ...
11033 * sysdeps/sparc/nptl/tls.h: ... here.
11034 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11035 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11036 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11037 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11038 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11039 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11040 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11041 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11042 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11043 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11044 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11045 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11046 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11047 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11048 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11049 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11050 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11052 Update #include.
11053 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11055 Update #include.
11056 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11058 Update #include.
11059 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11060 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11061 Update #include.
11062
11063 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11064
11065 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11066 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11067
11068 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11069 (struct list_links): Type removed.
11070 (struct thread_node, struct timer_node): Replace struct list_links
11071 with struct list_head.
11072 (list_unlink_ip): Likewise.
11073 * sysdeps/pthread/timer_routines.c
11074 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11075 (list_append, list_insbefore): Likewise.
11076 (list_init): Function removed.
11077 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11078 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11079 * sysdeps/pthread/Makefile: ... here, new file.
11080
11081 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11082 * sysdeps/nptl/Implies: ... here.
11083 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11084 * nptl/sysdeps/pthread/list.h: Moved ...
11085 * include/list.h: ... here.
11086 * nptl/sysdeps/pthread/createthread.c: Moved ...
11087 * nptl/createthread.c: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11089 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11090 * nptl/pt-longjmp.c: ... here.
11091 * nptl/sysdeps/pthread/Makefile: Moved ...
11092 * sysdeps/nptl/Makefile: ... here.
11093 * nptl/sysdeps/pthread/Subdirs: Moved ...
11094 * sysdeps/nptl/Subdirs: ... here.
11095 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11096 * sysdeps/nptl/aio_misc.h: ... here.
11097 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11098 * sysdeps/nptl/bits/libc-lock.h: ... here.
11099 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11100 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11101 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11102 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11103 * nptl/sysdeps/pthread/configure: Moved ...
11104 * sysdeps/nptl/configure: ... here.
11105 * nptl/sysdeps/pthread/configure.ac: Moved ...
11106 * sysdeps/nptl/configure.ac: ... here.
11107 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11108 * sysdeps/nptl/gai_misc.h: ... here.
11109 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11110 * sysdeps/nptl/librt-cancellation.c: ... here.
11111 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11112 * sysdeps/nptl/malloc-machine.h: ... here.
11113 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11114 * sysdeps/nptl/pthread-functions.h: ... here.
11115 * nptl/sysdeps/pthread/pthread.h: Moved ...
11116 * sysdeps/nptl/pthread.h: ... here.
11117 * nptl/sysdeps/pthread/setxid.h: Moved ...
11118 * sysdeps/nptl/setxid.h: ... here.
11119 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11120 * sysdeps/nptl/sigfillset.c: ... here.
11121 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11122 * sysdeps/nptl/tcb-offsets.h: ... here.
11123 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11124 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11125 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11126 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11127 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11128 * sysdeps/pthread/allocalim.h: ... here.
11129 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11130 * sysdeps/pthread/bits/sigthread.h: ... here.
11131 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11132 * sysdeps/pthread/flockfile.c: ... here.
11133 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11134 * sysdeps/pthread/ftrylockfile.c: ... here.
11135 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11136 * sysdeps/pthread/funlockfile.c: ... here.
11137 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11138 * sysdeps/pthread/posix-timer.h: ... here.
11139 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11140 * sysdeps/pthread/timer_create.c: ... here.
11141 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11142 * sysdeps/pthread/timer_delete.c: ... here.
11143 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11144 * sysdeps/pthread/timer_getoverr.c: ... here.
11145 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11146 * sysdeps/pthread/timer_gettime.c: ... here.
11147 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11148 * sysdeps/pthread/timer_routines.c: ... here.
11149 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11150 * sysdeps/pthread/timer_settime.c: ... here.
11151 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11152 * sysdeps/pthread/tst-timer.c: ... here.
11153 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11154 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11155
11156 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11157 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11158
11159 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11160 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11161 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11162 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11163 Update #include target.
11164 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11165 * sysdeps/i386/i686/nptl/Makefile: ... here.
11166 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11167 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11168 Update #include target.
11169 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11170 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11171 * nptl/sysdeps/i386/Makefile: Moved ...
11172 * sysdeps/i386/nptl/Makefile: ... here.
11173 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11174 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11175 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11176 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11177 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11178 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11179 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11180 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11181 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11182 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11183 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11184 * nptl/sysdeps/i386/tls.h: Moved ...
11185 * sysdeps/i386/nptl/tls.h: ... here.
11186
11187 * sysdeps/sh/Makefile [$(subdir) = csu]
11188 (gen-as-const-headers): Add tcb-offsets.sym.
11189 * nptl/sysdeps/sh/Makefile: File removed.
11190 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11191 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11192 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11193 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11194 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11195 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11196 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11197 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11198 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11199 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11200 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11201 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11202 * nptl/sysdeps/sh/tls.h: Moved ...
11203 * sysdeps/sh/nptl/tls.h: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11205 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11206 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11207 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11209 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11211 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11213 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11215 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11217 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11219 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11221 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11222 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11223 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11225 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11229 Moved ...
11230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11232 Moved ...
11233 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11234 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11235 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11239 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11241 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11243 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11245 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11247 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11248 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11249 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11251 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11252
112532014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11254
11255 * posix/spawn_faction_addopen.c: Include string.h.
11256
112572014-06-11 Roland McGrath <roland@hack.frob.com>
11258
11259 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11260 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11261 * nptl/sysdeps/x86_64/Makefile: Moved ...
11262 * sysdeps/x86_64/nptl/Makefile: ... here.
11263 * nptl/sysdeps/x86_64/configure: Moved ...
11264 * sysdeps/x86_64/nptl/configure: ... here.
11265 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11266 * sysdeps/x86_64/nptl/configure.ac: ... here.
11267 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11268 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11269 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11270 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11271 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11272 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11273 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11274 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11275 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11276 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11277 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11278 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11279 * nptl/sysdeps/x86_64/tls.h: Moved ...
11280 * sysdeps/x86_64/nptl/tls.h: ... here.
11281 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11282 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11283 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11284 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11285
11286 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11287
112882014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11289
11290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11291
112922014-06-11 Joseph Myers <joseph@codesourcery.com>
11293
11294 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11295 type.
11296 [POSIX] (off_t): Likewise.
11297 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11298 [POSIX] (S_ISBLK): Require macro.
11299 [POSIX] (S_ISCHR): Likewise.
11300 [POSIX] (S_ISDIR): Likewise.
11301 [POSIX] (S_ISFIFO): Likewise.
11302 [POSIX] (S_ISREG): Likewise.
11303 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11304 optional-macro.
11305 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11306 type.
11307 [POSIX] (time_t): Likewise.
11308 [POSIX] (timer_t): Likewise.
11309
113102014-06-11 Florian Weimer <fweimer@redhat.com>
11311
11312 [BZ #17048]
11313 * posix/spawn_int.h (struct __spawn_action): Make the path string
11314 non-const to support deallocation.
11315 * posix/spawn_faction_addopen.c
11316 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11317 * posix/spawn_faction_destroy.c
11318 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11319 path in all spawn_do_open actions.
11320 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11321 posix_spawn_file_actions_addopen.
11322
113232014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11324
11325 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11326 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11327 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11328 conditional code always true.
11329 (__libc_vfork): New alias.
11330
113312014-06-11 Roland McGrath <roland@hack.frob.com>
11332
11333 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11334 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11335
11336 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11337
11338 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11339 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11340
11341 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11342 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11343
11344 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11345 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11346
113472014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11348
11349 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11350 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11351 multiarch strcmp for PPC64.
11352 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11353 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11355 multiarch optimizations.
11356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11357 (__libc_ifunc_impl_list): Likewise.
11358
113592014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11360
11361 * benchtests/scripts/validate_benchout.py: New script.
11362 * benchtests/Makefile (bench-func): Call it.
11363 * benchtests/scripts/benchout.schema.json: New file.
11364
113652014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11366
11367 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11368 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11369 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11370 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11371 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11372 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11373 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11374 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11375 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11376 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11377 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11378 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11379 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11380 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11381 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11382 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11384 Moved ...
11385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11386 ... here.
11387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11388 Moved ...
11389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11391 Moved ...
11392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11393 ... here.
11394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11395 Moved ...
11396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11397 ... here.
11398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11399 Moved ...
11400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11402 Moved ...
11403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11404 ... here.
11405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11406 Moved ...
11407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11408 ... here.
11409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11410 Moved ...
11411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11413 Moved ...
11414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11415 ... here.
11416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11417 Moved ...
11418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11419 ... here.
11420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11421 Moved ...
11422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11423 ... here.
11424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11425 Moved ...
11426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11428 Moved ...
11429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11430 ... here.
11431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11432 Moved ...
11433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11434 ... here.
11435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11436 Moved ...
11437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11438 ... here.
11439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11440 Moved ...
11441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11443 Moved ...
11444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11445 ... here.
11446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11447 Moved ...
11448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11449 ... here.
11450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11451 Moved ...
11452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11454 Moved ...
11455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11456 ... here.
11457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11458 Moved ...
11459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11461 Moved ...
11462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11464 Moved ...
11465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11466 ... here.
11467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11468 Moved ...
11469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11470 ... here.
11471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11472 Moved ...
11473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11474 ... here.
11475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11476 Moved ...
11477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11479 Moved ...
11480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11481 ... here.
11482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11483 Moved ...
11484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11485 ... here.
11486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11487 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11491 Moved ...
11492 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11493 ... here.
11494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11495 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11497 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11499 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11501 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11503 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11505 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11507 Moved ...
11508 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11510 Moved ...
11511 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11513 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11515 Moved ...
11516 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11518 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11519 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11520 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11521 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11522 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11523
115242014-06-10 Wilco <wdijkstr@arm.com>
11525
11526 * math/test-fenv-return.c: New file.
11527 * math/Makefile: Add new test test-fenv-return.
11528
115292014-06-10 Joseph Myers <joseph@codesourcery.com>
11530
11531 [BZ #17042]
11532 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11533 when x - 1 is zero.
11534 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11535 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11536 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11537 0.0L for an argument of 1.0L.
11538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11539 Likewise.
11540 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11541 value when x - 1 is zero.
11542 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11543 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11545
115462014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11547
11548 [BZ #15119]
11549 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11550
115512014-06-09 Roland McGrath <roland@hack.frob.com>
11552
11553 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11554 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11555
115562014-06-09 Roland McGrath <roland@hack.frob.com>
11557
11558 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11559 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11560
11561 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11562 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11563
11564 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11565 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11566
11567 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11568 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11569
11570 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11571 if not already defined.
11572 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11573 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11574 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11575 (TLS_INIT_TP): Use it.
11576 (TLS_DEFINE_INIT_TP): New macro.
11577 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11578
115792014-06-09 Joseph Myers <joseph@codesourcery.com>
11580
11581 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11582 constant.
11583 [POSIX] (IXANY): Likewise.
11584 [POSIX] (OLCUC): Likewise.
11585 [POSIX || POSIX2008] (CBAUD): Do not allow.
11586 [POSIX || POSIX2008] (DEFECHO): Likewise.
11587 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11588 [POSIX || POSIX2008] (ECHOKE): Likewise.
11589 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11590 [POSIX || POSIX2008] (EXTA): Likewise.
11591 [POSIX || POSIX2008] (EXTB): Likewise.
11592 [POSIX || POSIX2008] (FLUSHO): Likewise.
11593 [POSIX || POSIX2008] (LOBLK): Likewise.
11594 [POSIX || POSIX2008] (PENDIN): Likewise.
11595 [POSIX || POSIX2008] (SWTCH): Likewise.
11596 [POSIX || POSIX2008] (VDISCARD): Likewise.
11597 [POSIX || POSIX2008] (VDSUSP): Likewise.
11598 [POSIX || POSIX2008] (VLNEXT): Likewise.
11599 [POSIX || POSIX2008] (VREPRINT): Likewise.
11600 [POSIX || POSIX2008] (VSTATUS): Likewise.
11601 [POSIX || POSIX2008] (VWERASE): Likewise.
11602 (B*): Change to B[0123456789]*.
11603 * conform/data/time.h-data [POSIX || UNIX98]
11604 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11605 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11606 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11607 [POSIX] (tm_*): Do not allow.
11608
116092014-06-07 Joseph Myers <joseph@codesourcery.com>
11610
11611 * Makefile (install): Don't set LANGUAGE.
11612 * Makefile.in (install): Likewise.
11613 * assert/Makefile (test-assert-ENV): Remove variable.
11614 (test-assert-perr-ENV): Likewise.
11615 * elf/Makefile (neededtest4-ENV): Likewise.
11616 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11617 [$(cross-compiling) = no]: Don't set LANGUAGE.
11618 * io/ftwtest-sh (LANG): Remove variable.
11619 * libio/Makefile (tst-widetext-ENV): Likewise.
11620 * manual/install.texi (Running make install): Don't refer to
11621 environment settings for make install.
11622 * INSTALL: Regenerated.
11623 * nptl/tst-tls6.sh: Don't set LANG.
11624 * posix/globtest.sh (LANG): Remove variable.
11625 * string/Makefile (tester-ENV): Likewise.
11626 (inl-tester-ENV): Likewise.
11627 (noinl-tester-ENV): Likewise.
11628 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11629 [$(cross-compiling) = no]: Don't set LANGUAGE.
11630 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11631 without explicit environment settings.
11632
116332014-06-06 Roland McGrath <roland@hack.frob.com>
11634
11635 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11636 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11637 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11638 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11639
116402014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11641
11642 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11643 other files in the crypt directory.
11644 * crypt/crypt.c: Remove duplicate includes.
11645 * crypt/crypt-entry.c: Likewise.
11646 * crypt/crypt_util.c: Likewise.
11647
116482014-06-06 Joseph Myers <joseph@codesourcery.com>
11649
11650 * Makeconfig (run-program-env): New variable.
11651 (run-program-prefix-before-env): Likewise.
11652 (run-program-prefix-after-env): Likewise.
11653 (run-program-prefix): Define in terms of new variables.
11654 (built-program-cmd-before-env): New variable.
11655 (built-program-cmd-after-env): Likewise.
11656 (built-program-cmd): Define in terms of new variables.
11657 (test-program-prefix-before-env): New variable.
11658 (test-program-prefix-after-env): Likewise.
11659 (test-program-prefix): Define in terms of new variables.
11660 (test-program-cmd-before-env): New variable.
11661 (test-program-cmd-after-env): Likewise.
11662 (test-program-cmd): Define in terms of new variables.
11663 * Rules (make-test-out): Use $(run-program-env).
11664 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11665 (help): Do not mention environment variables. Mention
11666 --timeoutfactor option.
11667 (timeoutfactor): New variable.
11668 (blacklist_exports): Remove function.
11669 (exports): Remove variable.
11670 (command): Do not include ${exports}.
11671 * manual/install.texi (Configuring and compiling): Do not mention
11672 test wrappers preserving environment variables. Mention that last
11673 assignment to a variable must take precedence.
11674 * INSTALL: Regenerated.
11675 * benchtests/Makefile (run-bench): Use $(run-program-env).
11676 * catgets/Makefile ($(objpfx)test1.cat): Use
11677 $(built-program-cmd-before-env), $(run-program-env) and
11678 $(built-program-cmd-after-env).
11679 ($(objpfx)test2.cat): Do not specify environment variables
11680 explicitly.
11681 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11682 $(run-program-env) and $(built-program-cmd-after-env).
11683 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11684 $(run-program-env) and $(test-program-cmd-after-env).
11685 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11686 explicitly.
11687 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11688 run_program_env and test_program_cmd_after_env arguments.
11689 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11690 * elf/tst-pathopt.sh: Use run_program_env argument.
11691 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11692 $(test-wrapper-env) and $(run-program-env).
11693 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11694 run_program_env arguments.
11695 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11696 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11697 $(test-program-prefix-before-env), $(run-program-env) and
11698 $(test-program-prefix-after-env).
11699 ($(objpfx)tst-gettext2.out): Likewise.
11700 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11701 run_program_env and test_program_prefix_after_env arguments.
11702 * intl/tst-gettext2.sh: Likewise.
11703 * intl/tst-gettext4.sh: Do not set environment variables
11704 explicitly.
11705 * intl/tst-gettext6.sh: Likewise.
11706 * intl/tst-translit.sh: Likewise.
11707 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11708 $(test-program-prefix-before-env), $(run-program-env) and
11709 $(test-program-prefix-after-env).
11710 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11711 run_program_env and test_program_prefix_after_env arguments.
11712 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11713 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11714 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11715 explicitly with each use of ${test_wrapper_env}.
11716 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11717 $(test-program-prefix-before-env), $(run-program-env) and
11718 $(test-program-prefix-after-env).
11719 * posix/tst-getconf.sh: Do not set environment variables
11720 explicitly.
11721 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11722 run_program_env and test_program_prefix_after_env arguments.
11723 * stdio-common/tst-printf.sh: Do not set environment variables
11724 explicitly.
11725 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11726 $(test-program-prefix-before-env), $(run-program-env) and
11727 $(test-program-prefix-after-env).
11728 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11729 run_program_env and test_program_prefix_after_env arguments.
11730 Split $test calls into $test_pre and $test.
11731 * timezone/Makefile (build-testdata): Use
11732 $(built-program-cmd-before-env), $(run-program-env) and
11733 $(built-program-cmd-after-env).
11734
117352014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11736
11737 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11738 strlen for non SHARED builds.
11739
117402014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11741
11742 * nptl/allocatestack.c (check_list): Inlined function...
11743 (__reclaim_stacks): ... here.
11744
117452014-06-05 Ondřej Bílka <neleai@seznam.cz>
11746
11747 [BZ #15698]
11748 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11749 memory overrun.
11750
117512014-06-05 Joseph Myers <joseph@codesourcery.com>
11752
11753 * Rules (make-test-out): Include
11754 LOCPATH=$(common-objpfx)localedata in default environment.
11755 * debug/Makefile (tst-chk1-ENV): Remove variable.
11756 (tst-chk2-ENV): Likewise.
11757 (tst-chk3-ENV): Likewise.
11758 (tst-chk4-ENV): Likewise.
11759 (tst-chk5-ENV): Likewise.
11760 (tst-chk6-ENV): Likewise.
11761 (tst-lfschk1-ENV): Likewise.
11762 (tst-lfschk2-ENV): Likewise.
11763 (tst-lfschk3-ENV): Likewise.
11764 (tst-lfschk4-ENV): Likewise.
11765 (tst-lfschk5-ENV): Likewise.
11766 (tst-lfschk6-ENV): Likewise.
11767 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11768 (tst-iconv7-ENV): Likewise.
11769 * intl/Makefile (LOCPATH-ENV): Likewise.
11770 (tst-codeset-ENV): Likewise.
11771 (tst-gettext3-ENV): Likewise.
11772 (tst-gettext5-ENV): Likewise.
11773 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11774 (tst-fopenloc-ENV): Likewise.
11775 (tst-fgetws-ENV): Remove variable.
11776 (tst-ungetwc1-ENV): Likewise.
11777 (tst-ungetwc2-ENV): Likewise.
11778 (bug-ungetwc2-ENV): Likewise.
11779 (tst-swscanf-ENV): Likewise.
11780 (bug-ftell-ENV): Likewise.
11781 (tst-fgetwc-ENV): Likewise.
11782 (tst-fseek-ENV): Likewise.
11783 (tst-ftell-partial-wide-ENV): Likewise.
11784 (tst-ftell-active-handler-ENV): Likewise.
11785 (tst-ftell-append-ENV): Likewise.
11786 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11787 (tst-regexloc-ENV): Likewise.
11788 (bug-regex1-ENV): Likewise.
11789 (tst-regex-ENV): Likewise.
11790 (tst-regex2-ENV): Likewise.
11791 (bug-regex5-ENV): Likewise.
11792 (bug-regex6-ENV): Likewise.
11793 (bug-regex17-ENV): Likewise.
11794 (bug-regex18-ENV): Likewise.
11795 (bug-regex19-ENV): Likewise.
11796 (bug-regex20-ENV): Likewise.
11797 (bug-regex22-ENV): Likewise.
11798 (bug-regex23-ENV): Likewise.
11799 (bug-regex25-ENV): Likewise.
11800 (bug-regex26-ENV): Likewise.
11801 (bug-regex30-ENV): Likewise.
11802 (bug-regex32-ENV): Likewise.
11803 (bug-regex33-ENV): Likewise.
11804 (bug-regex34-ENV): Likewise.
11805 (bug-regex35-ENV): Likewise.
11806 (tst-rxspencer-ENV): Likewise.
11807 (tst-rxspencer-no-utf8-ENV): Likewise.
11808 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11809 (tst-sscanf-ENV): Likewise.
11810 (tst-swprintf-ENV): Likewise.
11811 (tst-swscanf-ENV): Likewise.
11812 (test-vfprintf-ENV): Likewise.
11813 (scanf13-ENV): Likewise.
11814 (bug14-ENV): Likewise.
11815 (tst-grouping-ENV): Likewise.
11816 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11817 (tst-strtod3-ENV): Likewise.
11818 (tst-strtod4-ENV): Likewise.
11819 (tst-strtod5-ENV): Likewise.
11820 (testmb2-ENV): Likewise./
11821 * string/Makefile (tst-strxfrm-ENV): Likewise.
11822 (tst-strxfrm2-ENV): Likewise.
11823 (bug-strcoll1-ENV): Likewise.
11824 (test-strcasecmp-ENV): Likewise.
11825 (test-strncasecmp-ENV): Likewise.
11826 * time/Makefile (tst-strptime-ENV): Likewise.
11827 (tst-ftime_l-ENV): Likewise.
11828 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11829 (tst-mbrtowc-ENV): Likewise.
11830 (tst-wcrtomb-ENV): Likewise.
11831 (tst-mbrtowc2-ENV): Likewise.
11832 (tst-c16c32-1-ENV): Likewise.
11833 (tst-mbsnrtowcs-ENV): Likewise.
11834
118352014-06-05 Ondřej Bílka <neleai@seznam.cz>
11836
11837 * manual/resource.texi (How to get information about the memory
11838 subsystem?): Fix typo.
11839 Reported by Peon de la Parra Ivan <peon@keba.com>
11840
118412014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11842
11843 [BZ #16882]
11844 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11845 (pthread_spin_lock): Branch out of spin loop to proper location.
11846 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11847 (pthread_spin_lock): Likewise.
11848
11849 * nptl/tst-spin4.c: New test.
11850 * nptl/Makefile (tests): Add tst-spin4.
11851
118522014-06-03 Andreas Schwab <schwab@suse.de>
11853
11854 [BZ #15946]
11855 * resolv/res_send.c (send_dg): Reload file descriptor after
11856 calling reopen.
11857
118582014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11859
11860 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11861
118622014-06-03 Richard Henderson <rth@redhat.com>
11863
11864 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11865 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11866 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11867 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11868 in the SAVE_PID block.
11869 (__libc_vfork): New alias.
11870 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11871
11872 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11873 child in registers, not on the stack. Remove RESET_PID conditionals.
11874 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11875
118762014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11877
11878 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11879
118802014-06-03 Wilco <wdijkstr@arm.com>
11881
11882 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11883 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11884 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11885 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11886 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11887 Likewise.
11888
118892014-06-03 Wilco <wdijkstr@arm.com>
11890
11891 * sysdeps/aarch64/fpu/math_private.h
11892 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11893 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11894 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11895 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11896 Fix declarations.
11897
118982014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11899
11900 * crypt/crypt-private.h: Include ufc-crypt.h.
11901 (__b64_from_24bit): Declare extern.
11902 * crypt/crypt_util.c(__b64_from_24bit): New function.
11903 (b64t): New static const variable.
11904 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11905 (b64t): Remove variable.
11906 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11907 * crypt/sha256-crypt.c: Include crypt-private.h.
11908 (b64t): Remove variable.
11909 (__sha256_crypt_r): Remove b64_from_24bit and replace
11910 with __b64_from_24bit.
11911 * crypt/sha512-crypt.c: Likewise.
11912
119132014-06-02 Roland McGrath <roland@hack.frob.com>
11914
11915 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11916 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11917 Label the code __libc_vfork rather than __vfork.
11918 [!NOT_IN_libc] (vfork): Define as weak alias.
11919 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11920 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11921 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11922
119232014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11924
11925 * malloc/malloc.c (malloc_info): Fix format specifier for
11926 n_mmaps.
11927
119282014-06-02 Wilco <wdijkstr@arm.com>
11929
11930 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11931 FPCR write.
11932
119332014-06-02 Wilco <wdijkstr@arm.com>
11934
11935 [BZ #17009]
11936 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11937 Rewrite to reduce FPCR/FPSR accesses.
11938
119392014-06-01 David S. Miller <davem@davemloft.net>
11940
11941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11942
119432014-05-31 David S. Miller <davem@davemloft.net>
11944
11945 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11946 to occur in round to nearest mode when |x| >= 2.0
11947
119482014-05-30 Richard Henderson <rth@twiddle.net>
11949
11950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11951 (PSEUDO_RET_NOERRNO): Remove.
11952 (ret): Don't redefine.
11953 (ret_NOERRNO): Define in terms of ret.
11954 (ret_ERRVAL): Likewise.
11955
11956 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11957 use of PSEUDO_RET; perform the error check directly.
11958
119592014-05-30 Marko Myllynen <myllynen@redhat.com>
11960
11961 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11962 with __int128_t.
11963
119642014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11965
11966 * malloc/malloc (malloc_info): Fix formatting.
11967
119682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 Roland McGrath <roland@hack.frob.com>
11970
11971 * malloc/malloc (malloc_info): Also print mmapped statistics.
11972
119732014-05-30 Roland McGrath <roland@hack.frob.com>
11974
11975 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11976 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11977
119782014-05-30 Ondřej Bílka <neleai@seznam.cz>
11979
11980 * malloc/malloc.c (malloc_info): Inline mi_arena.
11981
119822014-05-29 Richard Henderson <rth@twiddle.net>
11983
11984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11985 Remove comma before expanding ASM_ARGS_##nr.
11986 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11987 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11988 of ASM_ARGS_##nr.
11989 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11990 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11991 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11992 (ASM_ARGS_1): Add leading comma.
11993
11994 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11995 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11996 to __errno_location.
11997 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11998 Remove the expected plt for __errno_location.
11999
12000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12001 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12002 call to __read_tp.
12003
12004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12005 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12006 it and break it down.
12007 (DOCARGS_0, DOCARGS_1): Do nothing.
12008 (DOCARGS_2): Update to store into the new stack frame.
12009 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12010 (UNDOCARGS_1): Update to restore from the new stack frame.
12011 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12012 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12013
12014 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12015 (SINGLE_THREAD_P): New parameter for result regno.
12016 (PSEUDO): Update to match; use cbz instead of beq.
12017
12018 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12019 Use ENTRY to define the _nocancel entry point. Share the syscall
12020 and syscall error check paths with the cancel path.
12021 (PSEUDO_END): New.
12022
12023 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12024 whitespace; tabs before and after asm mnemonics.
12025
120262014-05-29 Eric Wong <normalperson@yhbt.net>
12027
12028 [BZ #15132]
12029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12030 Call fstat64 or stat64 internally, depending on arguments passed.
12031 Replace stat buffer argument with file descriptor argument.
12032 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12033 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12034 Pass fd to __internal_statvfs instead of calling fstat64.
12035 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12036 Pass fd to __internal_statvfs64 instead of calling fstat64.
12037 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12038 Pass -1 to __internal_statvfs instead of calling stat64.
12039 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12040 Pass -1 to __internal_statvfs64 instead of calling stat64.
12041
120422014-05-28 Roland McGrath <roland@hack.frob.com>
12043
12044 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12045 that was previously under [RESET_PID].
12046 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12047
12048 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12049 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12050
120512014-05-27 Roland McGrath <roland@hack.frob.com>
12052
12053 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12054
12055 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12056 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12057
120582014-05-27 Ondřej Bílka <neleai@seznam.cz>
12059
12060 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12061
120622014-05-27 Andreas Schwab <schwab@suse.de>
12063
12064 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12065 TLS_INIT_TP macro.
12066 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12067 * elf/rtld.c (init_tls, dl_main): Likewise.
12068 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12069 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12070 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12071 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12072 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12073 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12074 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12075 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12076 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12077 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12078 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12079 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12080 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12081 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12082 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12083 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12084 * sysdeps/generic/tls.h: Update description.
12085
120862014-05-27 Will Newton <will.newton@linaro.org>
12087
12088 [BZ #16990]
12089 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12090 and restore r2 rather than just restoring.
12091
120922014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12093
12094 [BZ #16724]
12095 * libio/tst-ftell-append.c: New test case.
12096 * libio/Makefile (tests): Add test case.
12097 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12098 append mode.
12099 * libio/wfileops.c (do_ftell_wide): Likewise.
12100
121012014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12102
12103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104
12105 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12106 ...
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12109 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12110 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12111 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12112 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12113 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12114 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12116 Moved ...
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12119 Moved ...
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12121 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12122 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12123 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12124 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12126 ...
12127 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12128 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12129 Moved ...
12130 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12131 here.
12132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12133 ...
12134 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12135 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12136 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12137
12138 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12139 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12141 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12142
12143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12144 merge into ...
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12147 ...
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12150 ...
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12153 Moved ...
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12155 here.
12156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12157 Moved ...
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12160 Moved ...
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12162
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12164 conditional [RESET_PID].
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12167 removed.
12168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12169 removed.
12170
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12172 <tcb-offsets.h>.
12173 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12174 (__libc_vfork): New strong alias.
12175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12176 removed.
12177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12178 Removed.
12179
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12181 <tcb-offsets.h>.
12182 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12183 (__libc_vfork): New strong alias.
12184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12185 removed.
12186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12187 removed.
12188
121892014-05-26 Carlos O'Donell <carlos@redhat.com>
12190
12191 * malloc/malloc.c (mi_arena): New function.
12192 (malloc_info): Remove nested function mi_arena. Call non-nosted
12193 function mi_arena.
12194
121952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12196
12197 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12198 by insrwi.
12199 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12200 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12201 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12202 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12203 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12204 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12206
122072014-05-26 Andreas Schwab <schwab@suse.de>
12208
12209 [BZ #16984]
12210 * locale/programs/repertoire.c (repertoire_read): Add slash
12211 between I18NPATH element and file name.
12212 * locale/programs/locfile.c (locfile_read): Likewise.
12213
122142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12215
12216 * nptl/pthread_mutexattr_settype.c
12217 (__pthread_mutexattr_settype):
12218 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12219
122202014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12221
12222 * nptl/tst-mutex5 (do_test):
12223 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12224
122252014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12226
12227 * benchtests/README: Document 'init' directive.
12228 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12229 BENCH_INIT.
12230 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12231 (parse_file): Recognize 'init' directive.
12232
122332014-05-26 Kyle McMartin <kyle@redhat.com>
12234
12235 [BZ #16796]
12236 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12237 alignment of struct pthread.
12238
122392014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12240
12241 [BZ #16878]
12242 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12243 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12244 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12245 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12246
122472014-05-25 Richard Henderson <rth@twiddle.net>
12248
12249 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12250 (SINGLE_THREAD_P_PIC): Remove.
12251 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12252 (SINGLE_THREAD_P_PIC): Remove.
12253
12254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12255 branch to syscall error ...
12256 (PSEUDO): ... here.
12257 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12258 from __local_syscall_error to .Lsyscall_error.
12259 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12260 (SYSCALL_ERROR): Update label name.
12261
12262 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12263 Do not use DOARGS/UNDOARGS.
12264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12265 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12266 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12267 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12268 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12269
12270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12271 block comment.
12272
12273 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12274 define if !NOT_IN_libc.
12275 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12276 define with non-default symbol versions.
12277
122782014-05-23 Richard Henderson <rth@twiddle.net>
12279
12280 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12281 (vfork, __vfork): Define via compat_symbol.
12282
12283 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12284 [!HAVE_IFUNC] (vfork_compat): Remove.
12285 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12286
122872014-05-23 Joseph Myers <joseph@codesourcery.com>
12288
12289 [BZ #16978]
12290 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12291 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12292 variable.
12293
122942014-05-23 Richard Henderson <rth@twiddle.net>
12295
12296 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12297 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12298 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12299 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12300
12301 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12302 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12303 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12304 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12305 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12306 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12307 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12308 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12309 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12310 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12311 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12312 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12313 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12316 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12317 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12318 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12319 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12324 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12325 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12326 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12327 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12328 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12330 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12331 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12332 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12333 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12334 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12335 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12336 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12337 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12338 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12339 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12340 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12341 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12342 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12343 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12344 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12345 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12346 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12347 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12348 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12349 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12350 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12351 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12352 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12353 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12354 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12356 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12357
12358 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12359 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12360 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12361 before exiting on error.
12362 (__libc_vfork): New strong alias.
12363 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12364 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12365
12366 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12367 that was previously under [RESET_PID].
12368 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12369
12370 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12371
123722014-05-23 Joseph Myers <joseph@codesourcery.com>
12373
12374 [BZ #16977]
12375 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12376 value when x - 1 is zero.
12377 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12378 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12379 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12380 0.0L for an argument of 1.0L.
12381 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12382 Likewise.
12383 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12384 value when x - 1 is zero.
12385 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12386 * sysdeps/i386/fpu/libm-test-ulps: Update.
12387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388
123892014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12390
12391 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12392 alphasort and versionsort.
12393
123942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12395
12396 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12397 macro.
12398 [copysignf]: Likewise.
12399
124002014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12401
12402 * crypt/md5-crypt.c: Fix formatting.
12403
124042014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12405
12406 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12407 (b64_from_24bit): New function.
12408
124092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12410
12411 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12412 libc_hidden_builtin_def to ifunc.
12413 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12414 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12415
124162014-05-21 Roland McGrath <roland@hack.frob.com>
12417
12418 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12419 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12420
124212014-05-21 Joseph Myers <joseph@codesourcery.com>
12422
12423 * nscd/Depend (linuxthreads): Remove.
12424 (nptl): Add.
12425 * resolv/Depend (linuxthreads): Remove.
12426 * rt/Depend (linuxthreads): Remove.
12427
12428 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12429 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12430 $(common-objpfx)elf/.
12431 (link-libc-before-gnulib): Likewise.
12432 (elfobjdir): Remove variable.
12433 * Makefile (install): Use $(elf-objpfx) instead of
12434 $(common-objpfx)elf/.
12435 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12436 $(elfobjdir)/.
12437 (link-libc-deps): Likewise.
12438 ($(common-objpfx)libc.so): Likewise.
12439 ($(common-objpfx)linkobj/libc.so): Likewise.
12440 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12441 instead of $(common-objpfx)elf/.
12442 (symbolic-link-list): Likewise.
12443 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12444 [$(cross-compiling) = no]: Likewise.
12445 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12446 $(elfobjdir)/.
12447 (static-gnulib-arch): Likewise.
12448 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12449 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12450 $(common-objpfx)elf/.
12451
124522014-05-21 Richard Henderson <rth@redhat.com>
12453
12454 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12455 (SINGLE_THREAD_P): Use the correct width load. Fold
12456 into the ldr offset.
12457
12458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12459 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12460
124612014-05-20 Joseph Myers <joseph@codesourcery.com>
12462
12463 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12464 (libgcc_s_resume): Use __attribute_used__.
12465 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12466 Likewise.
12467
124682014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12469
12470 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12471 optimization when used with float constants.
12472
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12474
124752014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12476
12477 [BZ #16915]
12478 * locale/nl_langinfo_l.c: Make direct reference to every
12479 _nl_current_CATEGORY symbol.
12480 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12481 (tests-static): Add tst-langinfo-static.
12482 (tests-special): Add tst-langinfo-static.out.
12483 ($(objpfx)tst-langinfo.out): Redirect output.
12484 ($(objpfx)tst-langinfo-static.out): New.
12485 * localedata/tst-langinfo.sh: Send output to stdout.
12486 * localedata/tst-langinfo-static.c: New file.
12487
12488 [BZ #16965]
12489 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12490 when the shift amount is modulo the limb size.
12491
124922014-05-20 Richard Henderson <rth@redhat.com>
12493
12494 [BZ #16967]
12495 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12496 Change type of sa_flags from unsigned int to int.
12497
12498 [BZ #16966]
12499 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12500
12501 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12502
125032014-05-20 Will Newton <will.newton@linaro.org>
12504
12505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12506 Test the return value of the system call in the nocancel case.
12507
125082014-05-20 Will Newton <will.newton@linaro.org>
12509 Yvan Roux <yvan.roux@linaro.org>
12510
12511 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12512 #include of asm/ptrace.h.
12513 (PTRACE_GET_THREAD_AREA): Remove #undef.
12514 (PTRACE_GETHBPREGS): Likewise.
12515 (PTRACE_SETHBPREGS): Likewise.
12516 (struct user_regs_struct): New structure.
12517 (struct user_fpsimd_struct): New structure.
12518 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12519 #include of asm/ptrace.h and second #include of sys/user.h.
12520 (PTRACE_GET_THREAD_AREA): Remove #undef.
12521 (PTRACE_GETHBPREGS): Likewise.
12522 (PTRACE_SETHBPREGS): Likewise.
12523 (ELF_NGREG): Use new struct user_regs_struct.
12524 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12525
125262014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12527
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12530
125312014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12532
12533 [BZ #16958]
12534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12535 membar to avoid block loads/stores to overlap previous stores.
12536
125372014-05-17 Richard Henderson <rth@redhat.com>
12538
12539 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12540 Create the __##syscall_name##_nocancel entry point.
12541 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12542 Remove; let the sysdep-cancel.h code create it.
12543
125442014-05-17 David S. Miller <davem@davemloft.net>
12545
12546 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12547 Protect with __USE_GNU.
12548 (TIOCSET_TEMPT): Likewise.
12549 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12550 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12551 these are already provided in bits/ioctl-types.h
12552
125532014-05-16 Roland McGrath <roland@hack.frob.com>
12554
12555 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12556 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12557
12558 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12559 Use wait4 regardless of [__NR_waitpid].
12560
125612014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12562
12563 PR libgcc/60166
12564 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12565 (_FP_NANSIGN_Q): Set the quiet bit.
12566
125672014-05-16 Joseph Myers <joseph@codesourcery.com>
12568
12569 * benchtests/Makefile
12570 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12571 not $(common-objpfx)math/libm.so.
12572 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12573 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12574 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12575 $(common-objpfx)dlfcn/libdl.so.
12576 ($(objpfx)tst-audit8): Depend on $(libm), not
12577 $(common-objpfx)math/libm.so.
12578 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12579 not $(common-objpfx)dlfcn/libdl.so.
12580 * math/Makefile
12581 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12582 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12583 [$(build-shared) = yes].
12584 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12585 $(common-objpfx)nptl/libpthread.so.
12586 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12587 $(common-objpfx)math/libm.so$(libm.so-version) or
12588 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12589 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12590 $(common-objpfx)dlfcn/libdl.so.
12591 * setjmp/Makefile (link-libm): Remove variable.
12592 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12593 * stdio-common/Makefile (link-libm): Remove variable.
12594 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12595 * stdlib/Makefile (link-libm): Remove variable.
12596 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12597 ($(objpfx)tst-strtod-round): Likewise.
12598 ($(objpfx)tst-tininess): Likewise.
12599 ($(objpfx)tst-strtod-underflow): Likewise.
12600 ($(objpfx)tst-strtod6): Likewise.
12601 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12602 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12603 $(common-objpfx)dlfcn/libdl.so.
12604
126052014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606
12607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12608 BSD terminal modes definitions.
12609
126102014-05-16 Roland McGrath <roland@hack.frob.com>
12611
12612 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12613 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12614
12615 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12616 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12617 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12618 Don't do #include_next.
12619 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12620 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12621 Don't do #include_next.
12622 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12623 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12624 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12625 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12626
126272014-05-16 Allan McRae <allan@archlinux.org>
12628
12629 * po/sv.po: Update Swedish translation from translation project.
12630
12631 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12632 in sed expression.
12633
126342014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12635
12636 [BZ #16917]
12637 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12638 errno if the TIOCGPTN ioctl fails with an error different than
12639 EINVAL.
12640 * login/tst-ptsname.c: New file.
12641 * login/Makefile (tests): Add tst-ptsname.
12642
12643 [BZ #16943]
12644 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12645 and prlimit64.
12646
126472014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12648
12649 [BZ #16849]
12650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12651 herrno to return EAI_AGAIN.
12652
126532014-05-14 Roland McGrath <roland@hack.frob.com>
12654
12655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12656 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12657 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12658 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12659 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12660 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12661 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12662 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12664 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12665 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12666 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12667 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12668 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12669 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12670 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12671 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12672 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12673 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12674 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12675 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12676 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12677 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12678 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12679 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12680 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12681 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12682 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12683 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12684 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12686 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12688 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12690 Moved ...
12691 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12693 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12695 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12697 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12699 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12703 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12705 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12707 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12709 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12711 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12713 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12715 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12717 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12719 Moved ...
12720 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12722 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12724 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12728 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12732 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12734 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12736 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12738 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12740 Moved ...
12741 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12743 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12744
12745 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12746 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12747 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12748 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12749 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12750 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12751 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12752 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12753 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12754 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12755 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12756 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12757 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12758 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12759 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12761 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12762 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12763 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12764 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12765 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12766 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12767 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12768 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12769 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12770 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12771 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12772 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12773 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12774 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12775 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12776
12777 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12778 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12779
12780 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12781 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12782 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12784 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12786 Moved ...
12787 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12789 Moved ...
12790 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12792 Moved ...
12793 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12795 Moved ...
12796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12797 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12798 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12800 Moved ...
12801 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12802 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12803 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12804 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12805 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12806 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12807 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12809 Moved ...
12810 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12812 Moved ...
12813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12814 ... here.
12815 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12816 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12817 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12818 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12820 Moved ...
12821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12822 ... here.
12823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12824 Moved ...
12825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12827 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12829 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12831 Moved ...
12832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12834 Moved ...
12835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12837 Moved ...
12838 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12840 Moved ...
12841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12843 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12845 Moved ...
12846 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12848 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12849 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12850 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12851 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12852 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12854 Moved ...
12855 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12857 Moved ...
12858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12859 ... here.
12860 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12861 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12862 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12863 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12865 Moved ...
12866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12867 ... here.
12868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12869 Moved ...
12870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12871 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12872 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12873 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12874 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12875 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12876 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12878 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12880 Moved ...
12881 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12883 Moved ...
12884 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12886 Moved ...
12887 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12889 Moved ...
12890 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12891 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12892 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12893 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12894 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12896 Moved ...
12897 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12898 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12899 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12901 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12902 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12903 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12905 Moved ...
12906 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12908 Moved ...
12909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12910 ... here.
12911 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12912 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12914 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12915 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12916 Moved ...
12917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12918 ... here.
12919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12920 Moved ...
12921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12923 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12924 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12925 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12926 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12927 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12928 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12929 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12930 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12931 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12932
12933 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12934 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12935
12936 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12937 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12938
12939 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12940 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12941 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12943 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12945 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12947 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12950 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12951 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12953 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12955 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12957 Moved ...
12958 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12960 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12962 Moved ...
12963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12965 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12967 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12971 Moved ...
12972 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12974 Moved ...
12975 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12977 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12981 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12983 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12985 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12987 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12989 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12991 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12992
12993 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12994 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12995 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12996 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12997 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12998
12999 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13000 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13001 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13002 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13003 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13004 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13005 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13006 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13007 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13008 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13009
13010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13012
13013 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13014 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13015 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13016 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13017 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13018 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13019 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13020 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13021 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13022 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13023 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13024 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13025 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13026 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13028 Update #include.
13029 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13030 Likewise.
13031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13032 Likewise.
13033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13034 Likewise.
13035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13036 Likewise.
13037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13038 Likewise.
13039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13040 Likewise.
13041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13042 Likewise.
13043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13044 Likewise.
13045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13046 Likewise.
13047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13055 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13061 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13062
13063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13064 that was previously under [RESET_PID].
13065 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13066 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13067 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13068
13069 * sysdeps/i386/nptl/Implies: New file.
13070 * sysdeps/x86_64/nptl/Implies: New file.
13071 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13072 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13073 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13074 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13075
13076 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13078 (__libc_vfork): New strong alias.
13079 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13080 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13081
13082 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13083 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13084 (__libc_vfork): New strong alias.
13085 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13086 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13087
13088 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13089 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13090 (__libc_vfork): New strong alias.
13091 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13092 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13093 * nptl/pt-vfork.c: New file.
13094 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13095 (libpthread: GLIBC_2.20): New version set (empty).
13096
130972014-05-14 Will Newton <will.newton@linaro.org>
13098
13099 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13100 rather than #if.
13101
131022014-05-14 Joseph Myers <joseph@codesourcery.com>
13103
13104 [BZ #16564]
13105 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13106 arguments with exponent 65 or above.
13107 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13108 arguments 0x1p113L or above.
13109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13110 to arguments 0x1p107L or above.
13111 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13112 positive arguments with exponent 65 or above.
13113 * math/auto-libm-test-in: Add more tests of log1p.
13114 * math/auto-libm-test-out: Regenerated.
13115
13116 [BZ #16928]
13117 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13118 non-finite arguments is +0.
13119 * math/s_cacosf.c (__cacosf): Likewise.
13120 * math/s_cacosl.c (__cacosl): Likewise.
13121 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13122 * sysdeps/i386/fpu/libm-test-ulps: Update.
13123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13124
13125 [BZ #16927]
13126 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13127 value.
13128 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13129 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13130 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13131 for explicit high bit of mantissa when testing for argument equal
13132 to 1.
13133 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13134 * sysdeps/i386/fpu/libm-test-ulps: Update.
13135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13136
13137 [BZ #16516]
13138 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13139 (__erf): Scale by 16 instead of 8 in potentially underflowing
13140 case. Ensure exception if result actually underflows.
13141 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13142 (__erff): Scale by 16 instead of 8 in potentially underflowing
13143 case. Ensure exception if result actually underflows.
13144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13145 (efx8): Remove variable.
13146 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13147 case. Ensure exception if result actually underflows.
13148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13149 (efx8): Remove variable.
13150 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13151 case. Ensure exception if result actually underflows.
13152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13153 (efx8): Remove variable.
13154 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13155 case. Ensure exception if result actually underflows.
13156 * math/auto-libm-test-in: Add more tests of erf.
13157 * math/auto-libm-test-out: Regenerated.
13158
131592014-05-14 Andreas Schwab <schwab@suse.de>
13160
13161 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13162 Remove code conditionalized on USE___THREAD.
13163
13164 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13165 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13166 not definedness.
13167
131682014-05-14 Joseph Myers <joseph@codesourcery.com>
13169
13170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13171 Define unconditionally.
13172 (__ASSUME_O_CLOEXEC): Likewise.
13173 (__ASSUME_SOCK_CLOEXEC): Likewise.
13174 (__ASSUME_IN_NONBLOCK): Likewise.
13175 (__ASSUME_PIPE2): Likewise.
13176 (__ASSUME_EVENTFD2): Likewise.
13177 (__ASSUME_SIGNALFD4): Likewise.
13178 (__ASSUME_DUP3): Likewise.
13179 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13180 (__ASSUME_DUP3): Do not define.
13181 (__ASSUME_EVENTFD2): Likewise.
13182 (__ASSUME_IN_NONBLOCK): Likewise.
13183 (__ASSUME_O_CLOEXEC): Likewise.
13184 (__ASSUME_PIPE2): Likewise.
13185 (__ASSUME_SIGNALFD4): Likewise.
13186 (__ASSUME_SOCK_CLOEXEC): Likewise.
13187 (__ASSUME_UTIMES): Undefine.
13188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13189 (__ASSUME_UTIMES): Do not define.
13190 (__ASSUME_O_CLOEXEC): Likewise.
13191 (__ASSUME_SOCK_CLOEXEC): Likewise.
13192 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13193 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13194 0x020621].
13195 (__ASSUME_PIPE2): Likewise.
13196 (__ASSUME_EVENTFD2): Likewise.
13197 (__ASSUME_SIGNALFD4): Likewise.
13198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13199 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13200 Do not define.
13201 (__ASSUME_EVENTFD2): Likewise.
13202 (__ASSUME_SIGNALFD4): Likewise.
13203 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13204 (__ASSUME_32BITUIDS): Likewise.
13205 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13206 (__ASSUME_IPC64): Likewise.
13207 (__ASSUME_ST_INO_64_BIT): Likewise.
13208 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13209 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13211 (__ASSUME_UTIMES): Do not define.
13212 (__ASSUME_PSELECT): Likewise.
13213 (__ASSUME_PPOLL): Likewise.
13214 (__ASSUME_O_CLOEXEC): Likewise.
13215 (__ASSUME_SOCK_CLOEXEC): Likewise.
13216 (__ASSUME_IN_NONBLOCK): Likewise.
13217 (__ASSUME_PIPE2): Likewise.
13218 (__ASSUME_EVENTFD2): Likewise.
13219 (__ASSUME_SIGNALFD4): Likewise.
13220 (__ASSUME_DUP3): Likewise.
13221 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13222 (__ASSUME_UTIMES): Likewise.
13223 (__ASSUME_O_CLOEXEC): Likewise.
13224 (__ASSUME_SOCK_CLOEXEC): Likewise.
13225 (__ASSUME_IN_NONBLOCK): Likewise.
13226 (__ASSUME_PIPE2): Likewise.
13227 (__ASSUME_EVENTFD2): Likewise.
13228 (__ASSUME_SIGNALFD4): Likewise.
13229 (__ASSUME_DUP3): Likewise.
13230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13231 (__ASSUME_UTIMES): Likewise.
13232 (__ASSUME_O_CLOEXEC): Likewise.
13233 (__ASSUME_SOCK_CLOEXEC): Likewise.
13234 (__ASSUME_IN_NONBLOCK): Likewise.
13235 (__ASSUME_PIPE2): Likewise.
13236 (__ASSUME_EVENTFD2): Likewise.
13237 (__ASSUME_SIGNALFD4): Likewise.
13238 (__ASSUME_DUP3): Likewise.
13239 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13240 Likewise.
13241 (__ASSUME_UTIMES): Likewise.
13242 (__ASSUME_EVENTFD2): Likewise.
13243 (__ASSUME_SIGNALFD4): Likewise.
13244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13245 (__ASSUME_O_CLOEXEC): Likewise.
13246 (__ASSUME_SOCK_CLOEXEC): Likewise.
13247 (__ASSUME_IN_NONBLOCK): Likewise.
13248 (__ASSUME_PIPE2): Likewise.
13249 (__ASSUME_EVENTFD2): Likewise.
13250 (__ASSUME_SIGNALFD4): Likewise.
13251 (__ASSUME_DUP3): Likewise.
13252 (__ASSUME_UTIMES): Undefine.
13253
13254 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13255 feclearexcept. Remove symbol versioning code.
13256 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13257 symbol versioning code.
13258 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13259 symbol versioning code.
13260 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13261 feupdateenv. Remove symbol versioning code.
13262 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13263 fegetexceptflag. Remove symbol versioning code.
13264 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13265 fesetexceptflag. Remove symbol versioning code.
13266 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13267 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13268 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13269 (__posix_fadvise64_l32): Remove prototype.
13270 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13271 code.
13272
132732014-05-13 Roland McGrath <roland@hack.frob.com>
13274
13275 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13276 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13277 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13278 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13279
132802014-05-13 Sami Kerola <kerolasa@iki.fi>
13281
13282 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13283 current working directory
13284
132852014-05-13 Roland McGrath <roland@hack.frob.com>
13286
13287 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13288 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13289 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13290 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13291 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13292 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13293 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13294 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13296 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13298 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13299 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13300 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13301 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13302 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13306 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13307 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13308 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13309 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13310 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13311 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13312 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13314 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13316 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13317 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13318 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13320 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13321 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13322 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13323 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13324 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13325 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13326 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13327 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13328 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13329
13330 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13331 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13332
13333 * sysdeps/unix/sysv/linux/arm/Makefile
13334 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13335 Add rt-aeabi_unwind_cpp_pr1.
13336 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13337 Add nptl-aeabi_unwind_cpp_pr1.
13338 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13339 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13340 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13341 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13342 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13343 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13344
13345 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13346 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13347 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13348 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13349
13350 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13351 Deconditionalize the code that was previously under [RESET_PID].
13352 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13353
13354 * sysdeps/generic/exit-thread.h: New file.
13355 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13356 * include/unistd.h (__exit_thread): Remove declaration.
13357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13358 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13359 * csu/libc-start.c: Include <exit-thread.h>.
13360 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13361 * nptl/pthread_create.c: Include <exit-thread.h>.
13362 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13363 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13364 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13365 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13366 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13367 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13368 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13369 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13370 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13371 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13372 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13373 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13374 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13375 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13376 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13377 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13378 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13379
133802014-05-13 Andreas Schwab <schwab@suse.de>
13381
13382 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13383
133842014-05-12 Joseph Myers <joseph@codesourcery.com>
13385
13386 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13387 (__ASSUME_UTIMES): Do not condition on kernel version.
13388 (__ASSUME_PSELECT): Define unconditionally.
13389 (__ASSUME_PPOLL): Likewise.
13390 (__ASSUME_ATFCTS): Likewise.
13391 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13392 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13393 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13394 (__ASSUME_UTIMENSAT): Define unconditionally.
13395 (__ASSUME_PRIVATE_FUTEX): Likewise.
13396 (__ASSUME_FALLOCATE): Likewise.
13397 (__ASSUME_O_CLOEXEC): Likewise.
13398 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13399 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13400 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13401 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13402 (__ASSUME_IN_NONBLOCK): Likewise.
13403 (__ASSUME_PIPE2): Likewise.
13404 (__ASSUME_EVENTFD2): Likewise.
13405 (__ASSUME_SIGNALFD4): Likewise.
13406 (__ASSUME_DUP3): Likewise.
13407 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13408 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13409 (__ASSUME_AT_RANDOM): Likewise.
13410 (__ASSUME_PREADV): Likewise.
13411 (__ASSUME_PWRITEV): Likewise.
13412 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13413 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13414 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13415 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13416 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13418 (__ASSUME_O_CLOEXEC): Define unconditionally.
13419 (__ASSUME_PSELECT): Do not undefine conditionally.
13420 (__ASSUME_PPOLL): Likewise.
13421 (__ASSUME_ATFCTS): Likewise.
13422 (__ASSUME_SET_ROBUST_LIST): Likewise.
13423 (__ASSUME_UTIMENSAT): Likewise.
13424 (__ASSUME_FDATASYNC): Define unconditionally.
13425 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13426 (__ASSUME_SIGFRAME_V2): Likewise.
13427 )__ASSUME_EVENTFD2): Likewise.
13428 (__ASSUME_SIGNALFD4): Likewise.
13429 (__ASSUME_PSELECT): Do not undefine conditionally.
13430 (__ASSUME_PPOLL): Likewise.
13431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13432 (__ASSUME_PSELECT): Define unconditionally.
13433 (__ASSUME_PPOLL): Likewise.
13434 (__ASSUME_O_CLOEXEC): Likewise.
13435 (__ASSUME_SOCK_CLOEXEC): Likewise.
13436 (__ASSUME_IN_NONBLOCK): Likewise.
13437 (__ASSUME_PIPE2): Likewise.
13438 (__ASSUME_EVENTFD2): Likewise.
13439 (__ASSUME_SIGNALFD4): Likewise.
13440 (__ASSUME_DUP3): Likewise.
13441 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13442 (__ASSUME_O_CLOEXEC): Likewise.
13443 (__ASSUME_SOCK_CLOEXEC): Likewise.
13444 (__ASSUME_IN_NONBLOCK): Likewise.
13445 (__ASSUME_PIPE2): Likewise.
13446 (__ASSUME_EVENTFD2): Likewise.
13447 (__ASSUME_SIGNALFD4): Likewise.
13448 (__ASSUME_DUP3): Likewise.
13449 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13450 (__ASSUME_EVENTFD2): Likewise.
13451 (__ASSUME_SIGNALFD4): Likewise.
13452 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13453
134542014-05-12 Andreas Schwab <schwab@suse.de>
13455
13456 [BZ #16932]
13457 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13458 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13459 than maximum RPC packet size.
13460 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13461 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13462 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13463 (_nss_nis_getservbyport_r): Likewise.
13464
134652014-05-12 Will Newton <will.newton@linaro.org>
13466
13467 * malloc/Makefile (tests): Add tst-mallopt.
13468 * malloc/tst-mallopt.c: New file.
13469
134702014-05-09 Roland McGrath <roland@hack.frob.com>
13471
13472 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13473 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13474
134752014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13478 (tst-tlsmod6.so): Likewise.
13479
134802014-05-09 Roland McGrath <roland@hack.frob.com>
13481
13482 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13483
134842014-05-09 Joseph Myers <joseph@codesourcery.com>
13485
13486 [BZ #16064]
13487 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13488 and <dl-procinfo.h>.
13489 (__fegetenv): Save SSE state in envp->__eip if supported.
13490 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13491 envp->__eip if supported.
13492 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13493 and <dl-procinfo.h>.
13494 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13495 __data_offset and __data_selector in environment to 0. Set SSE
13496 state if supported.
13497 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13498 test-fenv-sse.
13499 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13500 -mfpmath=sse.
13501 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13502
135032014-05-09 Will Newton <will.newton@linaro.org>
13504
13505 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13506 and libc_relro_required for ARM.
13507 * sysdeps/arm/preconfigure: Regenerate.
13508
135092014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13510 Stefan Liebler <stli@linux.vnet.ibm.com>
13511
13512 * config.make.in (enable-lock-elision): New Makefile variable.
13513 * configure.ac: Likewise.
13514 * configure: Regenerate.
13515 * sysdeps/s390/configure.ac:
13516 Add check for gcc transactions support.
13517 * sysdeps/s390/configure: Regenerate.
13518 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13519 Build elision files if enabled.
13520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13521 Add lock elision support for s390.
13522 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13523 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13524 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13525 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13526 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13527 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13529 Likewise.
13530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13531 Likewise.
13532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13533 Likewise.
13534 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13535 Likewise.
13536 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13537 (__lll_timedlock_elision, __lll_lock_elision)
13538 (__lll_unlock_elision, __lll_trylock_elision)
13539 (lll_timedlock_elision, lll_lock_elision)
13540 (lll_unlock_elision, lll_trylock_elision): Add.
13541 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13542 (pthread_mutex_t): Add lock elision support for s390.
13543
135442014-05-14 Wilco <wdijkstr@arm.com>
13545
13546 * sysdeps/arm/fclrexcpt.c: Cleanup.
13547 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13548 * sysdeps/arm/feenablxcpt.c: Cleanup.
13549 * sysdeps/arm/fegetenv.c: Cleanup.
13550 * sysdeps/arm/fegetexcept.c: Cleanup.
13551 * sysdeps/arm/fegetround.c: Cleanup.
13552 * sysdeps/arm/feholdexcpt.c: Cleanup.
13553 * sysdeps/arm/fesetenv.c: Cleanup.
13554 * sysdeps/arm/fesetround.c: Cleanup.
13555 * sysdeps/arm/feupdateenv.c: Cleanup.
13556 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13557 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13558 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13559 * sysdeps/arm/ftestexcept.c: Cleanup.
13560 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13561 * sysdeps/arm/setfpucw.c: Cleanup.
13562
135632014-05-09 Will Newton <will.newton@linaro.org>
13564
13565 * sysdeps/arm/armv7/strcmp.S: New file.
13566 * NEWS: Mention addition of ARMv7 optimized strcmp.
13567
135682014-05-08 Roland McGrath <roland@hack.frob.com>
13569
13570 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13571 look for %.ac rather than %.in.
13572
13573 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13574 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13575 * sysdeps/mach/hurd/configure: Regenerated.
13576 * sysdeps/unix/sysv/linux/configure: Regenerated.
13577
13578 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13579
135802014-05-07 Steve Ellcey <sellcey@mips.com>
13581
13582 [BZ# 16922]
13583 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13584 (LONG_SUB): Ditto.
13585 (PTR_SUB): Ditto.
13586
135872014-05-07 Andreas Schwab <schwab@suse.de>
13588
13589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13590 when skipping over non-matching result from nscd.
13591
135922014-05-07 Ondřej Bílka <neleai@seznam.cz>
13593
13594 [BZ #16876]
13595 * nptl/sockperf.c (client): Check socket return value.
13596
13597 [BZ #16877]
13598 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13599 nscd security class.
13600
136012014-05-06 Roland McGrath <roland@hack.frob.com>
13602
13603 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13604 * sysdeps/arm/unwind.h: ... here.
13605
136062014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13607
13608 [BZ# 16916]
13609 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13610 Define.
13611
136122014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13613
13614 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13615 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13616 multiarch strncpy for PPC64.
13617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13618 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13620 multiarch optimizations.
13621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13622 (__libc_ifunc_impl_list): Likewise.
13623 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13624 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13625 multiarch stpncpy for PPC64.
13626 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13627 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13628
136292014-05-06 Andreas Schwab <schwab@suse.de>
13630
13631 [BZ #16912]
13632 * gmon/mcount.c (_MCOUNT_DECL): Use
13633 atomic_compare_and_exchange_bool_acq instead of
13634 catomic_compare_and_exchange_bool_acq.
13635
136362014-05-05 Roland McGrath <roland@hack.frob.com>
13637
13638 * elf/Makefile (others, install-bin): Remove pldd.
13639 (pldd-modules): Variable removed.
13640 ($(objpfx)pldd): Target removed.
13641 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13642 (others, install-bin): Append pldd here.
13643 ($(objpfx)pldd): New target.
13644
13645 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13646 to 0, so the first #if test emitted later doesn't see it undefined.
13647 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13648 * sysdeps/gnu/errlist.c: Regenerated.
13649
136502014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13651
13652 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13653 [libc_hidden_builtin_def]: Define to empty value.
13654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13655 [libc_hidden_builtin_def]: Likewise.
13656 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13657 [libc_hidden_builtin_def]: Likewise.
13658 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13659 [libc_hidden_builtin_def]: Likewise.
13660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13661 __redirect_memcpy and define ifunc as default hidden symbol.
13662 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13663 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13664
136652014-05-04 Adam Conrad <adconrad@0c3.net>
13666
13667 * locale/iso-4217.def: Reintroduce XDR currency.
13668
136692014-05-04 Allan McRae <allan@archlinux.org>
13670
13671 * po/eo.po: Update Esperanto translation from translation project.
13672
136732014-05-02 Carlos O'Donell <carlos@redhat.com>
13674
13675 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13676 and FEATURE_INDEX_MAX to 1.
13677 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13678
136792014-05-01 Steve Ellcey <sellcey@mips.com>
13680
13681 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13682 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13683 * iconvdata/big5.c (ONE_DIRECTION): Define.
13684 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13685 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13686 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13687 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13688 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13689 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13690 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13691 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13692 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13693 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13694 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13695 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13696 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13697 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13698 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13699 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13700 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13701 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13702 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13703 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13704 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13705 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13706 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13707 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13708 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13709 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13710 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13711 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13712 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13713 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13714 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13715 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13716 * iconvdata/johab.c (ONE_DIRECTION): Define.
13717 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13718 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13719 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13720 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13721 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13722 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13723 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13724 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13725 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13726 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13727
137282014-05-01 Roland McGrath <roland@hack.frob.com>
13729
13730 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13731 (_IO_JUMPS_OFFSET): Define to 0.
13732
13733 * nptl/sysdeps/pthread/bits/libc-lock.h
13734 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13735 (__libc_lock_define_initialized_recursive): Always define using
13736 initializer. Modern compilers treat uninitialized (implicit zero) and
13737 explicit zero initializers the same (i.e. put the datum in bss).
13738
137392014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13740
13741 * nscd/nscd-client.h: Include <string.h>.
13742
137432014-05-01 David S. Miller <davem@davemloft.net>
13744
13745 [BZ #16885]
13746 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13747 multiple zero bytes exist at the end of a string.
13748 Reported by Aurelien Jarno <aurelien@aurel32.net>
13749
13750 * string/test-strcmp.c (check): Add explicit test for situations where
13751 there are multiple zero bytes after the first.
13752
137532014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13754
13755 [BZ #16890]
13756 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13757 when compiling wprintf.
13758 * stdio-common/tstdiomisc.c (t3): New function.
13759 (main): Call it.
13760
137612014-05-01 Steve Ellcey <sellcey@mips.com>
13762
13763 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13764 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13765 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13766 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13767
137682014-05-01 Steve Ellcey <sellcey@mips.com>
13769
13770 * stdlib/longlong.h: Updated from GCC.
13771
137722014-05-01 Will Newton <will.newton@linaro.org>
13773 Bernard Ogden <bernie.ogden@linaro.org>
13774
13775 * NEWS: Update fixed bug list.
13776
13777 [BZ #15119]
13778 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13779
137802014-04-30 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13783 (libc_feholdexcept_setround_sparc_ctx): New function.
13784 (libc_fesetenv_sparc_ctx): Likewise.
13785 (libc_feupdateenv_sparc_ctx): Likewise.
13786 (libc_feholdsetround_sparc_ctx): Likewise.
13787 (libc_feholdexcept_setround_ctx): Define.
13788 (libc_feholdexcept_setroundf_ctx): Likewise.
13789 (libc_feholdexcept_setroundl_ctx): Likewise.
13790 (libc_fesetenv_ctx): Likewise.
13791 (libc_fesetenvf_ctx): Likewise.
13792 (libc_fesetenvl_ctx): Likewise.
13793 (libc_feupdateenv_ctx): Likewise.
13794 (libc_feupdateenvf_ctx): Likewise.
13795 (libc_feupdateenvl_ctx): Likewise.
13796 (libc_feresetround_ctx): Likewise.
13797 (libc_feresetroundf_ctx): Likewise.
13798 (libc_feresetroundl_ctx): Likewise.
13799 (libc_feholdsetround_ctx): Likewise.
13800 (libc_feholdsetroundf_ctx): Likewise.
13801 (libc_feholdsetroundl_ctx): Likewise.
13802
13803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13804 with __USE_GNU instead of XOPEN cpp guards.
13805
13806 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13807 0.
13808
13809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13810 with XOPEN cpp guards.
13811
138122014-04-30 Julian Brown <julian@codesourcery.com>
13813
13814 [BZ #16888]
13815 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13816 handling.
13817
138182014-04-30 Joseph Myers <joseph@codesourcery.com>
13819
13820 [BZ #9894]
13821 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13822 Change to 2.6.32.
13823 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13824 * sysdeps/unix/sysv/linux/configure: Regenerated.
13825 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13826 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13827 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13828 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13829 * README: Update reference to required Linux kernel version.
13830 * manual/install.texi (Linux): Update reference to required Linux
13831 kernel headers version.
13832 * INSTALL: Regenerated.
13833
13834 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13835 header inclusion.
13836 [POSIX] (limits.h): Likewise.
13837 [POSIX] (math.h): Likewise.
13838 [POSIX] (sys/wait.h): Likewise.
13839 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13840 function.
13841 [POSIX] (stddef.h): Do not allow header inclusion.
13842
138432014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13844
13845 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13846
138472014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13848
13849 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13850 Return immediately after lll_futex_wake.
13851
138522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13853
13854 [BZ #16791]
13855 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13856 structure.
13857 (datahead_init_pos): Call datahead_init_common early.
13858 (datahead_init_neg): Likewise.
13859
13860 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13861 datahead_init_neg): New functions.
13862 * nscd/aicache.c (addhstaiX): Use them.
13863 * nscd/grpcache.c (cache_addgr): Likewise.
13864 * nscd/hstcache.c (cache_addhst): Likewise.
13865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13866 * nscd/netgroupcache.c (do_notfound): Likewise.
13867 (addgetnetgrentX): Likewise.
13868 (addinnetgrX): Likewise.
13869 * nscd/pwdcache.c (cache_addpw): Likewise.
13870 * nscd/servicescache.c (cache_addserv): Likewise.
13871
138722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13873 Atsushi Onoe <atsushi@onoe.org>
13874
13875 [BZ #14308]
13876 [BZ #12994]
13877 [BZ #13651]
13878 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13879 one response is valid.
13880 * resolv/res_send.c (send_dg): Check for validity of other
13881 response if the current response is a referral.
13882
138832014-04-29 Steve Ellcey <sellcey@mips.com>
13884
13885 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13886
138872014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13888
13889 [BZ #16823]
13890 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13891 Always divide by positive zero when computing -Inf result.
13892 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13893 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13894
138952014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13896
13897 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13898 FPSCR if value do not change.
13899 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13900 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13901 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13902 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13903 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13904 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13905 function.
13906
139072014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13908
13909 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13910 * sysdeps/unix/sysv/linux/hppa: Move directory from
13911 ports/systeps/unix/sysv/linux/hppa.
13912 * README: Update listing for hppa-*-linux-gnu.
13913
139142014-04-28 Ondřej Bílka <neleai@seznam.cz>
13915
13916 [BZ #16754]
13917 * manual/stdio.texi (Hook functions): Fix types of stream hook
13918 functions.
13919 [BZ #16854]
13920 * socket/sys/socket.h: Fix typo in comment.
13921
139222014-04-28 Wilco <wdijkstr@arm.com>
13923
13924 * sysdeps/arm/fenv_private.h: New file.
13925 * sysdeps/arm/math_private.h: New file.
13926 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13927
139282014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13931 with __int128_t.
13932 (La_x86_64_retval): Likewise.
13933
139342014-04-24 Ian Bolton <ian.bolton@arm.com>
13935
13936 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13937 fpsr if value didn't change.
13938 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13939 to fpcr if value didn't change.
13940 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13941 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13942 fpsr or fpcr if value didn't change.
13943 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13944 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13945 fpcr if value didn't change.
13946 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13947 to fpsr if value didn't change.
13948
139492014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13950
13951 * nptl/tst-sem3.c: Use test-skeleton.c
13952 (main): Rename to do_test. Use return instead of
13953 exit.
13954 * nptl/tst-sem4.c: Use test-skeleton.c
13955 (main): Rename to do_test.
13956
139572014-04-22 David S. Miller <davem@davemloft.net>
13958
13959 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13960 (struct sigaction): New struct member __glibc_reserved0, change
13961 type of sa_flags to int.
13962
139632014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13964
13965 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13966 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13967
139682014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13969
13970 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13971 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13972
139732014-04-22 Will Newton <will.newton@linaro.org>
13974 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13975
13976 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13977 (__longjmp): Add longjmp and longjmp_target SystemTap
13978 probes.
13979 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13980 (__sigsetjmp): Add setjmp SystemTap probe.
13981
139822014-04-17 Carlos O'Donell <carlos@redhat.com>
13983
13984 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13985 match manual order.
13986
139872014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988
13989 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13990
13991 * sysdeps/powerpc/fpu/fenv_private.h
13992 (libc_feholdexcept_setroundl_ctx): Define to
13993 libc_feholdexcept_setround_ppc_ctx.
13994 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13995 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13996 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13997 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13998
139992014-04-17 Ian Bolton <ian.bolton@arm.com>
14000
14001 * sysdeps/aarch64/math-tests.h: New file.
14002
140032014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14004
14005 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14006 New.
14007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14008 Check and set bit_AVX2_Usable.
14009 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14010 macro.
14011 (bit_AVX2): Likewise.
14012 (index_AVX2_Usable): Likewise.
14013 (CPUID_AVX2): Likewise.
14014 (HAS_AVX2): Likewise.
14015
140162014-04-17 Will Newton <will.newton@linaro.org>
14017
14018 * manual/setjmp.texi (System V contexts): Add note that
14019 calling setcontext on a context created by a call to a
14020 signal handler is undefined. Update text to note that
14021 setcontext from a signal handler is possible but not
14022 recommended.
14023
14024 [BZ #16629]
14025 * stdlib/tst-setcontext.c: Include signal.h.
14026 (main): Check that the signal stack before and
14027 after swapcontext is the same.
14028
14029 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14030 Re-implement to restore registers in user code and avoid
14031 rt_sigreturn system call.
14032
140332014-04-17 Wilco <wdijkstr@arm.com>
14034
14035 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14036 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14037 * math/test-fenv.c: Skip exception trap tests on targets which only
14038 support non-stop mode.
14039
140402014-04-17 Ian Bolton <ian.bolton@arm.com>
14041 Wilco Dijkstra <wilco.dijkstra@arm.com>
14042
14043 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14044 (libc_feholdsetround_aarch64_ctx)
14045 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14046 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14047 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14048 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14049 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14050 (libc_feresetround_noexl_ctx): Define.
14051
140522014-04-16 Richard Henderson <rth@redhat.com>
14053
14054 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14055
14056 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14057 unwind tables.
14058
14059 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14060 const from the non-libc, non-ldso copy.
14061
14062 * sysdeps/alpha/libm-test-ulps: Regenerate.
14063
140642014-04-16 Ian Bolton <ian.bolton@arm.com>
14065 Wilco Dijkstra <wilco.dijkstra@arm.com>
14066
14067 * sysdeps/aarch64/fpu/math_private.h: New file.
14068
140692014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14070
14071 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14072
140732014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14074
14075 [BZ #16275]
14076 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14077 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14079 Intel MPX bound registers before _dl_profile_fixup.
14080 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14081 registers after _dl_profile_fixup. Save and restore bound
14082 registers bnd0/bnd1 when calling _dl_call_pltexit.
14083 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14084 (LR_BND_OFFSET): Likewise.
14085 (LRV_BND0_OFFSET): Likewise.
14086 (LRV_BND1_OFFSET): Likewise.
14087
140882014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14089
14090 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14091 to...
14092 * sysdeps/mach/hurd/i386/tls.h: ... here.
14093 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14094 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14095 fields.
14096
140972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14098
14099 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14100
141012014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14102
14103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14104
141052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14106
14107 [BZ #14770]
14108 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14109 * sysdeps/s390/configure: Regenerate.
14110
14111 [BZ #16824]
14112 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14113 Set round-to-nearest internally to reduce error accumulation.
14114
141152014-04-16 Alan Modra <amodra@gmail.com>
14116
14117 [BZ #16740]
14118 [BZ #16619]
14119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14120 * math/libm-test.inc (frexp_test_data): Add tests.
14121 * NEWS: Update fixed bug list.
14122
141232014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14124
14125 * benchtests/Makefile: Depend on libraries in build directory.
14126 (bench-math): Separate out math tests.
14127 (bench-pthread): Separate out pthread tests.
14128 (bench): Include math and pthread tests.
14129
141302014-04-14 Carlos O'Donell <carlos@redhat.com>
14131
14132 [BZ #16831]
14133 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14134 _dl_debug_initialize.
14135
14136 * configure.ac: Remove SELinux header check.
14137 * configure: Regenerate.
14138 * nscd/selinux.c (perms): Array of const char* to permission names.
14139 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14140 default policy. Call string_to_security_class and string_to_av_perm to
14141 translate strings. Enforce default policy and call avs_has_perm with
14142 results of translated strings.
14143
141442014-04-13 David S. Miller <davem@davemloft.net>
14145
14146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14147
141482014-04-12 Allan McRae <allan@archlinux.org>
14149
14150 [BZ #16838]
14151 * manual/string.texi (Collation Functions): Fix qsort argument
14152 order in example.
14153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14154
141552014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14156
14157 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14158 Make the test a no-op if there are no exceptions defined.
14159
141602014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14161
14162 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14163 enable-hardcoded-path-in-tests
14164
141652014-04-11 Will Newton <will.newton@linaro.org>
14166
14167 * benchtests/Makefile (extra-objs): Add json-lib.o.
14168 (bench-func): Tidy up JSON output.
14169 * benchtests/bench-skeleton.c: Include json-lib.h.
14170 (main): Use JSON library functions to do output of
14171 benchmark results.
14172 * benchtests/bench-timing-type.c (main): Output the
14173 timing type simply, leaving formatting to the user.
14174 * benchtests/json-lib.c: New file.
14175 * benchtests/json-lib.h: Likewise.
14176
141772014-04-11 Torvald Riegel <triegel@redhat.com>
14178
14179 [BZ #15215]
14180 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14181 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14182 memory barriers. Add comments.
14183 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14184 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14185 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14186 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14187 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14188 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14189
141902014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14191
14192 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14193 * sysdeps/s390/s390-64/configure.ac: ... this ...
14194 * sysdeps/s390/configure.ac: ... to here.
14195 * sysdeps/s390/s390-32/configure: Delete file.
14196 * sysdeps/s390/s390-64/configure: Delete file.
14197 * sysdeps/s390/configure: Regenerate.
14198
141992014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14200
14201 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14202
142032014-04-11 Will Newton <will.newton@linaro.org>
14204
14205 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14206 to zero if it is not defined elsewhere. (mtrim): Test
14207 the value of MALLOC_DEBUG with #if rather than #ifdef.
14208
142092014-04-10 Torvald Riegel <triegel@redhat.com>
14210
14211 * benchtests/pthread_once-inputs: New file.
14212 * benchtests/pthread_once-source.c: New file.
14213 * benchtests/README: Update documentation.
14214
142152014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14216 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 [BZ #16275]
14219 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14220 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14221 * sysdeps/x86_64/configure: Regenerated.
14222 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14223 macro.
14224 (REGISTER_SAVE_RAX): Likewise.
14225 (REGISTER_SAVE_RCX): Likewise.
14226 (REGISTER_SAVE_RDX): Likewise.
14227 (REGISTER_SAVE_RSI): Likewise.
14228 (REGISTER_SAVE_RDI): Likewise.
14229 (REGISTER_SAVE_R8): Likewise.
14230 (REGISTER_SAVE_R9): Likewise.
14231 (REGISTER_SAVE_BND0): Likewise.
14232 (REGISTER_SAVE_BND1): Likewise.
14233 (REGISTER_SAVE_BND2): Likewise.
14234 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14235 bound registers when calling _dl_fixup.
14236
142372014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14238
14239 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14240 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14241 of its definition.
14242 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14243 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14244 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14245 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14246 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14247 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14248 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14249
142502014-04-09 Peter Brett <peter@peter-b.co.uk>
14251
14252 [BZ #15514]
14253 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14254 pathconf(_PC_NAME_MAX).
14255
142562014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14257
14258 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14259 Remove macro usage.
14260 (__PTHREAD_SPINS): Move definition to ...
14261 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14262 (__PTHREAD_SPINS): ... here.
14263 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14264 (__PTHREAD_SPIN): Likewise.
14265 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14266 (__PTHREAD_SPIN): Likewise.
14267 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14268 (__PTHREAD_SPIN): Likewise.
14269 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14270 (__PTHREAD_SPIN): Likewise.
14271 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14272 (__PTHREAD_SPIN): Likewise.
14273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14274 (__PTHREAD_SPIN): Likewise.
14275 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14276 (__PTHREAD_SPIN): Likewise.
14277 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14278 (__PTHREAD_SPIN): Likewise.
14279 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14280 (__PTHREAD_SPIN): Likewise.
14281 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14282 (__PTHREAD_SPIN): Likewise.
14283 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14284 (__PTHREAD_SPIN): Likewise.
14285 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14286 (__PTHREAD_SPIN): Likewise.
14287
14288 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14290 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14291 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14292 imply folder.
14293 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14294 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14295 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14296 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14297 correct imply path.
14298 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14299 strlen symbol for non multi-arch builds.
14300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14301 missing hidden_def and weak_alias.
14302
143032014-04-08 Carlos O'Donell <carlos@redhat.com>
14304
14305 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14306
143072014-04-07 Will Newton <will.newton@linaro.org>
14308
14309 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14310 and contents. [!_LIBC] Remove #ifndef and contents.
14311 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14312 * string/memccpy.c (__memccpy): Use ANSI prototype.
14313 * string/memfrob.c (memfrob): Likewise.
14314 * string/strcoll.c (STRCOLL): Likewise.
14315 * string/strlen.c (strlen): Likewise.
14316 * string/strtok.c (STRTOK): Likewise.
14317 * string/strcat.c: Remove unused #include of memcopy.h.
14318 (strcat): Use ANSI prototype.
14319 * string/strchr.c: Remove unused #include of memcopy.h.
14320 (strchr): Use ANSI prototype.
14321 * string/strcmp.c: Remove unused #include of memcopy.h.
14322 (strcmp): Use ANSI prototype.
14323 * string/strcpy.c: Remove unused #include of memcopy.h.
14324 (strcpy): Use ANSI prototype.
14325
143262014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14327
14328 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14329 * config.make.in (config-extra-cppflags): Set it from
14330 libc_extra_cppflags.
14331 * configure.ac (libc_extra_cflags): Make it accumulate over
14332 configure fragments.
14333 (libc_extra_cppflags): New flag.
14334 * configure. Regenerate.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14336 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14337 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14339
14340 [BZ #16815]
14341 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14342 result for FE_DOWNWARD rounding mode.
14343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14344 Likewise.
14345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14346
143472014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14348
14349 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14350 in function argument name.
14351
143522014-04-03 David Svoboda <svoboda@cert.org>
14353
14354 [BZ #5666]
14355 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14356 explicitly.
14357
143582014-04-03 Roland McGrath <roland@hack.frob.com>
14359
14360 * elf/dl-unmap-segments.h: New file.
14361 * sysdeps/generic/ldsodefs.h
14362 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14363 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14364 * elf/dl-fptr.c: Likewise.
14365 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14366 * sysdeps/aarch64/tlsdesc.c: Likewise.
14367 * sysdeps/arm/tlsdesc.c: Likewise.
14368 * sysdeps/i386/tlsdesc.c: Likewise.
14369 * sysdeps/tile/dl-runtime.c: Likewise.
14370 * sysdeps/x86_64/tlsdesc.c: Likewise.
14371 * elf/dl-load.h: New file.
14372 * elf/dl-load.c: Include it.
14373 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14374 Macros moved to dl-load.h.
14375 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14376 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14377 Use _dl_unmap_segments in place of __munmap.
14378 Break out segment-mapping loop into ...
14379 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14380
143812014-04-03 Will Newton <will.newton@linaro.org>
14382
14383 * elf/dl-lookup.c (do_lookup_x): Remove comment
14384 referring to nested function and move variable
14385 declarations down to before first use.
14386
143872014-04-02 Joseph Myers <joseph@codesourcery.com>
14388
14389 [BZ #16799]
14390 [BZ #16800]
14391 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14392 with 0 numerator.
14393 * math/s_catanf.c (__catanf): Likewise.
14394 * math/s_catanh.c (__catanh): Likewise.
14395 * math/s_catanhf.c (__catanhf): Likewise.
14396 * math/s_catanhl.c (__catanhl): Likewise.
14397 * math/s_catanl.c (__catanl): Likewise.
14398 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14399 by positive zero when computing -Inf result.
14400 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14401 (catanh_test): Likewise.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14404
14405 [BZ #16789]
14406 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14407 instead of using underflowing value in computing result.
14408 * math/s_clog10.c (__clog10): Likewise.
14409 * math/s_clog10f.c (__clog10f): Likewise.
14410 * math/s_clog10l.c (__clog10l): Likewise.
14411 * math/s_clogf.c (__clogf): Likewise.
14412 * math/s_clogl.c (__clogl): Likewise.
14413 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14414 (clog10_test): Likewise.
14415 * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417
144182014-04-02 Alan Modra <amodra@gmail.com>
14419
14420 [BZ #16739]
14421 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14422 output when value is near a power of two. Use int64_t for lx and
14423 remove casts. Use decimal rather than hex exponent constants.
14424 Don't use long double multiplication when double will suffice.
14425 * math/libm-test.inc (nextafter_test_data): Add tests.
14426 * NEWS: Add 16739 and 16786 to bug list.
14427
14428 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14429
14430 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14431
144322014-04-01 Will Newton <will.newton@linaro.org>
14433
14434 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14435 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14436
144372014-04-01 Florian Weimer <fweimer@redhat.com>
14438
14439 [BZ #13347]
14440 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14441 * nptl/tst-setuid2.c: New file.
14442 * nptl/Makefile (xtests): Add tst-setuid2.
14443
144442014-04-01 Alan Modra <amodra@gmail.com>
14445
14446 [BZ #16786]
14447 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14448
144492014-03-31 Joseph Myers <joseph@codesourcery.com>
14450
14451 [BZ #6803]
14452 [BZ #6804]
14453 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14454 set errno as appropriate.
14455 * math/w_scalbf.c (__scalbf): Likewise.
14456 * math/w_scalbl.c (__scalbl): Likewise.
14457 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14458 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14459 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14460 Add more NaN tests.
14461
14462 [BZ #16349]
14463 * math/w_atan2.c: Include <errno.h>.
14464 (__atan2): Set errno for result underflowing to zero.
14465 * math/w_atan2f.c: Include <errno.h>.
14466 (__atan2f): Set errno for result underflowing to zero.
14467 * math/w_atan2l.c: Include <errno.h>.
14468 (__atan2l): Set errno for result underflowing to zero.
14469 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14470 tests.
14471 * math/auto-libm-test-out: Regenerated.
14472
144732014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14474
14475 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14476 Encode instruction correctly in little endian.
14477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14478 Likewise.
14479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14480 Likewise.
14481 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14482 Likewise.
14483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14484 Likewise.
14485
144862014-03-31 Joseph Myers <joseph@codesourcery.com>
14487
14488 [BZ #9894]
14489 * sysdeps/unix/sysv/linux/kernel-features.h
14490 [__sparc__ && !__arch64__ && !__sparc_v9__]
14491 (__ASSUME_SET_ROBUST_LIST): Do not define.
14492 [__sparc__ && !__arch64__ && !__sparc_v9__]
14493 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14494 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14495 Likewise.
14496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14497 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14498 (__ASSUME_REQUEUE_PI): Likewise.
14499 (__ASSUME_SET_ROBUST_LIST): Likewise.
14500 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14501 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14502 Undefine.
14503 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14504 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14505 Likewise.
14506 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14507 Likewise.
14508 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14511 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14512 Undefine.
14513 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14514 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14515 Likewise.
14516
14517 [BZ #16648]
14518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14520 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14521
145222014-03-31 Will Newton <will.newton@linaro.org>
14523
14524 * benchtests/Makefile (bench): Add ffs and ffsll to list
14525 of tests.
14526 * benchtests/ffs-inputs: New file.
14527 * benchtests/ffsll-inputs: Likewise.
14528
145292014-03-29 Joseph Myers <joseph@codesourcery.com>
14530
14531 [BZ #16770]
14532 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14533 too large before casting to int.
14534 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14535 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14536 * math/libm-test.inc (scalb_test_data): Add more tests.
14537
145382014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14539
14540 * benchtests/Makefile (DETAILED_OPT): New make option.
14541 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14542 set.
14543 * benchtests/bench-skeleton.c: Include stdbool.h.
14544 (main): Store and print timings per input.
14545 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14546 member to each argument value.
14547 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14548 (_print_arg_data): Initialize per-input timing to 0.
14549
14550 * benchtests/Makefile (timing-type): New binary.
14551 (bench-clean): Also remove bench-timing-type.
14552 (bench): New target for timing-type.
14553 (bench-func): Print output in JSON format.
14554 * benchtests/bench-skeleton.c (main): Print output in JSON
14555 format.
14556 * benchtests/bench-timing-type.c: New file.
14557 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14558 (TIMING_PRINT_STATS): Remove.
14559 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14560 name separately.
14561
14562 * benchtests/bench-modf.c: Remove.
14563 * benchtests/modf-inputs: New inputs file.
14564
145652014-03-28 Joseph Myers <joseph@codesourcery.com>
14566
14567 [BZ #16362]
14568 * math/s_clog10.c (M_PI_LOG10E): New macro.
14569 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14570 imaginary parts are 0.
14571 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14572 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14573 imaginary parts are 0.
14574 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14575 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14576 imaginary parts are 0.
14577 * math/libm-test.inc (clog10_test_data): Update expected results
14578 for when real and imaginary parts are 0.
14579
145802014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14581
14582 * elf/dl-load.c: Finish conversion of __builtin_expect into
14583 __glibc_{un}likely.
14584
145852014-03-27 Joseph Myers <joseph@codesourcery.com>
14586
14587 [BZ #16348]
14588 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14589 1+x for argument with exponent below -67.
14590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14591 Likewise.
14592 * math/auto-libm-test-in: Add more tests of exp.
14593 * math/auto-libm-test-out: Regenerated.
14594
145952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14596
14597 [BZ #16759]
14598 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14599 (nscd_getnetgrent): Use it.
14600
14601 [BZ #16760]
14602 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14603 of stpcpy.
14604
146052014-03-27 Andi Kleen <ak@linux.intel.com>
14606
14607 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14608 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14609 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14610 (lll_robust_unlock): Remove out of line section. Use cfi
14611 intrinsics.
14612 (LLL_STUB_UNWIND_INFO*): Remove.
14613 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14614 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14615 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14616 (lll_robust_unlock): Remove out of line section. Use cfi
14617 intrinsics.
14618 (LLL_STUB_UNWIND_INFO*): Remove.
14619
146202014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14621
14622 [BZ #16758]
14623 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14624 blank values.
14625
146262014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14627
14628 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14629
146302014-03-26 Joseph Myers <joseph@codesourcery.com>
14631
14632 [BZ #16198]
14633 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14634 fnstenv.
14635 * math/test-fenv-preserve.c: New file.
14636 * math/Makefile (tests): Add test-fenv-preserve.
14637
146382014-03-26 Will Newton <will.newton@linaro.org>
14639
14640 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14641
146422014-03-25 Roland McGrath <roland@hack.frob.com>
14643
14644 * scripts/versionlist.awk: Partition the version sets and emit all
14645 GLIBC_* (sorted) before all others (sorted).
14646
146472014-03-25 Joseph Myers <joseph@codesourcery.com>
14648
14649 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14650 GLIBC_2.2.5 version.
14651
146522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14653
14654 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14655 calls.
14656
14657 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14658 previous change.
14659
14660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14661
146622014-03-25 Andreas Schwab <schwab@suse.de>
14663
14664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14665 label to be used after in6ailist is initialized.
14666
146672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14668
14669 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14670 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14671
146722014-03-25 Joseph Myers <joseph@codesourcery.com>
14673
14674 [BZ #16357]
14675 [BZ #16599]
14676 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14677 min_plus_half.
14678 (fp_formats): Update initializers.
14679 (init_fp_formats): Initialize new field.
14680 (output_for_one_input_case): Allow underflow for results up to
14681 min_plus_half.
14682 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14683 * math/auto-libm-test-in: Don't mark some underflows from asin and
14684 atanh as spurious.
14685 * math/auto-libm-test-out: Regenerated.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14688
146892014-03-25 Andreas Schwab <schwab@suse.de>
14690
14691 * libio/Makefile (tst-ftell-partial-wide-ENV)
14692 (tst-ftell-active-handler-ENV): Define.
14693
146942014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14695
14696 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14697
146982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14699
14700 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14701
147022014-03-24 Joseph Myers <joseph@codesourcery.com>
14703
14704 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14705 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14706 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14707
147082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14709
14710 [BZ #16634]
14711 * elf/dl-load.c (open_verify): Add mode parameter.
14712 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14713 (open_path): Change from boolean 'secure' to complete flag 'mode'
14714 (_dl_map_object): Adjust.
14715 * elf/Makefile (tests): Add tst-dlopen-aout.
14716 * elf/tst-dlopen-aout.c: New test.
14717
147182014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14719
14720 [BZ #16714]
14721 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14722 (struct stat): Rename member pad0 to __glibc_reserved0.
14723
14724 [BZ #16712]
14725 * sysdeps/s390/s390-32/bits/wordsize.h
14726 (__WORDSIZE32_SIZE_ULONG): New define.
14727 * sysdeps/s390/s390-64/bits/wordsize.h
14728 (__WORDSIZE32_SIZE_ULONG): Likewise.
14729 * sysdeps/generic/stdint.h (SIZE_MAX):
14730 Define as UL if __WORDSIZE32_SIZE_ULONG.
14731
14732 [BZ #16713]
14733 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14734 (__glibc_reserved0): New variable.
14735 (sa_flags): Change type to int.
14736
14737 * posix/Makefile (before-compile): Use += before-compile instead
14738 of a :=.
14739
14740 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14741 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14742
147432014-03-20 Andreas Schwab <schwab@suse.de>
14744
14745 [BZ #16743]
14746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14747 non-matching result from nscd.
14748
147492014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14750
14751 * scripts/bench.py: Moved to ...
14752 * benchtests/scripts/bench.py: ... here.
14753 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14754
147552014-03-24 Andreas Schwab <schwab@suse.de>
14756
14757 [BZ #16002]
14758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14759 alloca_account and account alloca use for struct in6ailist.
14760
147612014-03-24 Joseph Myers <joseph@codesourcery.com>
14762
14763 [BZ #16284]
14764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14765 rounding mode to recompute results that overflow to infinity or
14766 underflow to zero.
14767 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14768 bug 16284.
14769 * math/auto-libm-test-out: Regenerated.
14770 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14771 (ccosh_test): Likewise.
14772 (csin_test_data): Use plus_oflow.
14773 (csin_test): Use ALL_RM_TEST.
14774 (csinh_test_data): Use plus_oflow.
14775 (csinh_test): Use ALL_RM_TEST.
14776 * sysdeps/i386/fpu/libm-test-ulps: Update.
14777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14778
147792014-03-21 Joseph Myers <joseph@codesourcery.com>
14780
14781 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14782 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14783 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14784
14785 [BZ #16731]
14786 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14787 when x - 1 is zero.
14788 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14789 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14790 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14792 argument is 1.
14793 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14794 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14795 zero.
14796 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799
148002014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14801
14802 * scripts/bench.pl: Remove file.
14803 * scripts/bench.py: New benchmark script.
14804 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14805 * benchtests/README: Mention python dependency.
14806 * scripts/pylintrc: New file.
14807 * scripts/pylint: New file.
14808
14809 * bits/mathdef.h: Use #ifdef instead of #if.
14810 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14811 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14812 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14813 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14814 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14815 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14816
148172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14818 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14819
14820 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14822 and strpbrk-ppc64 objects.
14823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14824 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14825 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14826 multiarch strpbrk for POWER7.
14827 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14828 multiarch strpbrk for PPC64.
14829 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14830 ifunc selector.
14831 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14832 strpbrk for POWER7.
14833
148342014-03-20 Joseph Myers <joseph@codesourcery.com>
14835
14836 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14837 (atan_test): Likewise.
14838 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14839 (atanh_test): Use ALL_RM_TEST.
14840 (atan2_test_data): Likewise.
14841 (cabs_test): Likewise.
14842 (cacosh_test): Likewise.
14843 (carg_test): Likewise.
14844 (casin_test): Likewise.
14845 (casinh_test): Likewise.
14846 (cbrt_test): Likewise.
14847 (csqrt_test): Likewise.
14848 (erf_test): Likewise.
14849 (erfc_test): Likewise.
14850 (pow10_test): Likewise.
14851 (exp2_test): Likewise.
14852 (hypot_test): Likewise.
14853 (j0_test): Likewise.
14854 (j1_test): Likewise.
14855 (lgamma_test): Likewise.
14856 (gamma_test): Likewise.
14857 (sincos_test): Likewise.
14858 (tanh_test): Likewise.
14859 (y0_test): Likewise.
14860 (y1_test): Likewise.
14861 * sysdeps/i386/fpu/libm-test-ulps: Update.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863
148642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14865
14866 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14868 and strcspn-ppc64 objects.
14869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14870 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14871 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14872 multiarch strcspn for POWER7.
14873 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14874 multiarch strcspn for PPC64.
14875 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14876 ifunc selector.
14877 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14878 strcspn for POWER7.
14879
148802014-03-20 Joseph Myers <joseph@codesourcery.com>
14881
14882 * math/gen-libm-test.pl (generate_testfile): Expect only function
14883 name as argument to AUTO_TESTS_* and pass results for all rounding
14884 modes to parse_args.
14885 (parse_auto_input): Separate inputs of automatic tests from
14886 outputs before storing in %auto_tests.
14887 * math/libm-test.inc (acos_test_data): Update call to
14888 AUTO_TESTS_f_f.
14889 (acos_test): Use ALL_RM_TEST.
14890 (acos_tonearest_test_data): Remove.
14891 (acos_test_tonearest): Likewise.
14892 (acos_towardzero_test_data): Likewise.
14893 (acos_test_towardzero): Likewise.
14894 (acos_downward_test_data): Likewise.
14895 (acos_test_downward): Likewise.
14896 (acos_upward_test_data): Likewise.
14897 (acos_test_upward): Likewise.
14898 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14899 (asin_test_data): Likewise.
14900 (asin_test): Use ALL_RM_TEST.
14901 (asin_tonearest_test_data): Remove.
14902 (asin_test_tonearest): Likewise.
14903 (asin_towardzero_test_data): Likewise.
14904 (asin_test_towardzero): Likewise.
14905 (asin_downward_test_data): Likewise.
14906 (asin_test_downward): Likewise.
14907 (asin_upward_test_data): Likewise.
14908 (asin_test_upward): Likewise.
14909 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14910 (atan_test_data): Likewise.
14911 (atanh_test_data): Likewise.
14912 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14913 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14914 (carg_test_data): Likewise.
14915 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14916 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14917 (ccosh_test_data): Likewise.
14918 (cexp_test_data): Likewise.
14919 (clog_test_data): Likewise.
14920 (clog10_test_data): Likewise.
14921 (cos_test_data): Update call to AUTO_TESTS_f_f.
14922 (cos_test): Use ALL_RM_TEST.
14923 (cos_tonearest_test_data): Remove.
14924 (cos_test_tonearest): Likewise.
14925 (cos_towardzero_test_data): Likewise.
14926 (cos_test_towardzero): Likewise.
14927 (cos_downward_test_data): Likewise.
14928 (cos_test_downward): Likewise.
14929 (cos_upward_test_data): Likewise.
14930 (cos_test_upward): Likewise.
14931 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14932 (cosh_test): Use ALL_RM_TEST.
14933 (cosh_tonearest_test_data): Remove.
14934 (cosh_test_tonearest): Likewise.
14935 (cosh_towardzero_test_data): Likewise.
14936 (cosh_test_towardzero): Likewise.
14937 (cosh_downward_test_data): Likewise.
14938 (cosh_test_downward): Likewise.
14939 (cosh_upward_test_data): Likewise.
14940 (cosh_test_upward): Likewise.
14941 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14942 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14943 (ctan_test_data): Likewise.
14944 (ctan_test): Use ALL_RM_TEST.
14945 (ctan_tonearest_test_data): Remove.
14946 (ctan_test_tonearest): Likewise.
14947 (ctan_towardzero_test_data): Likewise.
14948 (ctan_test_towardzero): Likewise.
14949 (ctan_downward_test_data): Likewise.
14950 (ctan_test_downward): Likewise.
14951 (ctan_upward_test_data): Likewise.
14952 (ctan_test_upward): Likewise.
14953 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14954 (ctanh_test): Use ALL_RM_TEST.
14955 (ctanh_tonearest_test_data): Remove.
14956 (ctanh_test_tonearest): Likewise.
14957 (ctanh_towardzero_test_data): Likewise.
14958 (ctanh_test_towardzero): Likewise.
14959 (ctanh_downward_test_data): Likewise.
14960 (ctanh_test_downward): Likewise.
14961 (ctanh_upward_test_data): Likewise.
14962 (ctanh_test_upward): Likewise.
14963 (erf_test_data): Update call to AUTO_TESTS_f_f.
14964 (erfc_test_data): Likewise.
14965 (exp_test_data): Likewise.
14966 (exp_test): Use ALL_RM_TEST.
14967 (exp_tonearest_test_data): Remove.
14968 (exp_test_tonearest): Likewise.
14969 (exp_towardzero_test_data): Likewise.
14970 (exp_test_towardzero): Likewise.
14971 (exp_downward_test_data): Likewise.
14972 (exp_test_downward): Likewise.
14973 (exp_upward_test_data): Likewise.
14974 (exp_test_upward): Likewise.
14975 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14976 (exp10_test): Use ALL_RM_TEST.
14977 (exp10_tonearest_test_data): Remove.
14978 (exp10_test_tonearest): Likewise.
14979 (exp10_towardzero_test_data): Likewise.
14980 (exp10_test_towardzero): Likewise.
14981 (exp10_downward_test_data): Likewise.
14982 (exp10_test_downward): Likewise.
14983 (exp10_upward_test_data): Likewise.
14984 (exp10_test_upward): Likewise.
14985 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14986 (expm1_test_data): Likewise.
14987 (expm1_test): Use ALL_RM_TEST.
14988 (expm1_tonearest_test_data): Remove.
14989 (expm1_test_tonearest): Likewise.
14990 (expm1_towardzero_test_data): Likewise.
14991 (expm1_test_towardzero): Likewise.
14992 (expm1_downward_test_data): Likewise.
14993 (expm1_test_downward): Likewise.
14994 (expm1_upward_test_data): Likewise.
14995 (expm1_test_upward): Likewise.
14996 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14997 (fma_test): Use ALL_RM_TEST.
14998 (fma_towardzero_test_data): Remove.
14999 (fma_test_towardzero): Likewise.
15000 (fma_downward_test_data): Likewise.
15001 (fma_test_downward): Likewise.
15002 (fma_upward_test_data): Likewise.
15003 (fma_test_upward): Likewise.
15004 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15005 (j0_test_data): Update call to AUTO_TESTS_f_f.
15006 (j1_test_data): Likewise.
15007 (jn_test_data): Update call to AUTO_TESTS_if_f.
15008 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15009 (log_test_data): Update call to AUTO_TESTS_f_f.
15010 (log10_test_data): Likewise.
15011 (log1p_test_data): Likewise.
15012 (log2_test_data): Likewise.
15013 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15014 (pow_tonearest_test_data): Likewise.
15015 (sin_test_data): Update call to AUTO_TESTS_f_f.
15016 (sin_test): Use ALL_RM_TEST.
15017 (sin_tonearest_test_data): Remove.
15018 (sin_test_tonearest): Likewise.
15019 (sin_towardzero_test_data): Likewise.
15020 (sin_test_towardzero): Likewise.
15021 (sin_downward_test_data): Likewise.
15022 (sin_test_downward): Likewise.
15023 (sin_upward_test_data): Likewise.
15024 (sin_test_upward): Likewise.
15025 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15026 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15027 (sinh_test): Use ALL_RM_TEST.
15028 (sinh_tonearest_test_data): Remove.
15029 (sinh_test_tonearest): Likewise.
15030 (sinh_towardzero_test_data): Likewise.
15031 (sinh_test_towardzero): Likewise.
15032 (sinh_downward_test_data): Likewise.
15033 (sinh_test_downward): Likewise.
15034 (sinh_upward_test_data): Likewise.
15035 (sinh_test_upward): Likewise.
15036 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15037 (sqrt_test): Use ALL_RM_TEST.
15038 (sqrt_tonearest_test_data): Remove.
15039 (sqrt_test_tonearest): Likewise.
15040 (sqrt_towardzero_test_data): Likewise.
15041 (sqrt_test_towardzero): Likewise.
15042 (sqrt_downward_test_data): Likewise.
15043 (sqrt_test_downward): Likewise.
15044 (sqrt_upward_test_data): Likewise.
15045 (sqrt_test_upward): Likewise.
15046 (tan_test_data): Update call to AUTO_TESTS_f_f.
15047 (tan_test): Use ALL_RM_TEST.
15048 (tan_tonearest_test_data): Remove.
15049 (tan_test_tonearest): Likewise.
15050 (tan_towardzero_test_data): Likewise.
15051 (tan_test_towardzero): Likewise.
15052 (tan_downward_test_data): Likewise.
15053 (tan_test_downward): Likewise.
15054 (tan_upward_test_data): Likewise.
15055 (tan_test_upward): Likewise.
15056 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15057 (tgamma_test_data): Likewise.
15058 (y0_test_data): Likewise.
15059 (y1_test_data): Likewise.
15060 (yn_test_data): Update call to AUTO_TESTS_if_f.
15061 (main): Do not call removed functions.
15062
150632014-03-19 Joseph Myers <joseph@codesourcery.com>
15064
15065 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15066 (ldexp_test_data): Remove.
15067 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15068 scalbn_test_data.
15069 (scalb_test): Use ALL_RM_TEST.
15070
150712014-03-19 Andreas Schwab <schwab@suse.de>
15072
15073 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15074
150752014-03-19 Joseph Myers <joseph@codesourcery.com>
15076
15077 [BZ #16649]
15078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15079 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15082 (__ASSUME_PREADV): Undefine.
15083 (__ASSUME_PWRITEV): Likewise.
15084
150852014-03-18 Roland McGrath <roland@hack.frob.com>
15086
15087 * bits/mman-linux.h: Add comment about non-Linux use.
15088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15089 bits/mman-linux.h resting place.
15090
15091 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15092 * bits/mman-linux.h: ... here.
15093
150942014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095
15096 * conform/conformtest.pl: Add standard definition when calling C
15097 preprocessor on data files.
15098 (checknamespace): Remove unused variable.
15099
151002014-03-18 Joseph Myers <joseph@codesourcery.com>
15101
15102 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15103 minus_oflow, plus_uflow and minus_uflow in expected results.
15104 * math/libm-test.inc (scalbn_test_data): Add more tests of
15105 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15106 minus_uflow.
15107 (scalbn_test): Use ALL_RM_TEST.
15108 (scalbln_test_data): Add more tests of negative arguments. Use
15109 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15110 (scalbln_test): Use ALL_RM_TEST.
15111
151122014-03-18 Roland McGrath <roland@hack.frob.com>
15113
15114 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15115
151162014-03-18 Will Newton <will.newton@linaro.org>
15117
15118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15119 inaccurate comment.
15120
151212014-03-18 Joseph Myers <joseph@codesourcery.com>
15122
15123 * Makerules [!subdir] (check-abi): Exit with error status if a
15124 test failed.
15125
151262014-03-17 Joseph Myers <joseph@codesourcery.com>
15127
15128 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15129 for rint. Include results for all rounding modes.
15130 (nearbyint_test): Use ALL_RM_TEST.
15131 (rint_test_data): Include all tests used for nearbyint.
15132
151332014-03-17 Will Newton <will.newton@linaro.org>
15134
15135 * nptl/sysdeps/pthread/pthread.h: Revert previous
15136 change.
15137
15138 * sysdeps/generic/ldsodefs.h: Revert previous
15139 change.
15140
15141 * libio/genops.c: Revert previous change.
15142 * libio/libioP.h: Likewise.
15143 * stdio-common/vfprintf.c: Likewise.
15144
15145 * sysdeps/generic/math_private.h: Revert previous
15146 change.
15147
15148 * sysdeps/generic/math_private.h: Check whether
15149 HAVE_RM_CTX is defined with #ifdef rather
15150 than #if.
15151
15152 * argp/argp-fmtstream.h: Check whether
15153 __STRICT_ANSI__ is defined with #ifdef rather
15154 than #if.
15155 * argp/argp.h: Likewise.
15156
15157 * libio/genops.c: Check whether
15158 _IO_JUMPS_OFFSET is defined with #ifdef rather
15159 than #if.
15160 * libio/libioP.h: Likewise.
15161 * stdio-common/vfprintf.c: Likewise.
15162
15163 * sysdeps/generic/ldsodefs.h: Check whether
15164 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15165 than #if.
15166
15167 * nptl/sysdeps/pthread/pthread.h: Check
15168 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15169 its value.
15170
151712014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15172
15173 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15174 setting O_APPEND.
15175 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15176 test case.
15177
15178 [BZ #16680]
15179 * libio/fileops.c (_IO_file_open): Seek to end of file but
15180 don't cache the offset.
15181 (get_file_offset): Remove function.
15182 (do_ftell): Use cached offset when available.
15183 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15184 don't cache the offset.
15185 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15186 case.
15187 (do_one_test): Call it.
15188 (do_ftell_test): Fix up expected old offset for a+ mode.
15189 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15190 available.
15191
15192 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15193 up test status with function return status.
15194 (do_write_test): Likewise.
15195 (do_append_test): Likewise.
15196
15197 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15198 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15199 Remove.
15200
152012014-03-17 Joseph Myers <joseph@codesourcery.com>
15202
15203 * math/gen-libm-test.pl (parse_args): Handle results specified for
15204 each rounding mode separately.
15205 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15206 tests and results from lrint_tonearest_test_data,
15207 lrint_towardzero_test_data, lrint_downward_test_data and
15208 lrint_upward_test_data.
15209 (lrint_test): Use ALL_RM_TEST.
15210 (lrint_tonearest_test_data): Remove.
15211 (lrint_test_tonearest): Likewise.
15212 (lrint_towardzero_test_data): Likewise.
15213 (lrint_test_towardzero): Likewise.
15214 (lrint_downward_test_data): Likewise.
15215 (lrint_test_downward): Likewise.
15216 (lrint_upward_test_data): Likewise.
15217 (lrint_test_upward): Likewise.
15218 (llrint_test_data): Merge in per-rounding-mode tests and results
15219 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15220 llrint_downward_test_data and llrint_upward_test_data.
15221 (llrint_test): Use ALL_RM_TEST.
15222 (llrint_tonearest_test_data): Remove.
15223 (llrint_test_tonearest): Likewise.
15224 (llrint_towardzero_test_data): Likewise.
15225 (llrint_test_towardzero): Likewise.
15226 (llrint_downward_test_data): Likewise.
15227 (llrint_test_downward): Likewise.
15228 (llrint_upward_test_data): Likewise.
15229 (llrint_test_upward): Likewise.
15230 (rint_test_data): Merge in per-rounding-mode tests and results
15231 from rint_tonearest_test_data, rint_towardzero_test_data,
15232 rint_downward_test_data and rint_upward_test_data. Add
15233 per-rounding-mode results for tests not in those arrays.
15234 (rint_test): Use ALL_RM_TEST.
15235 (rint_tonearest_test_data): Remove.
15236 (rint_test_tonearest): Likewise.
15237 (rint_towardzero_test_data): Likewise.
15238 (rint_test_towardzero): Likewise.
15239 (rint_downward_test_data): Likewise.
15240 (rint_test_downward): Likewise.
15241 (rint_upward_test_data): Likewise.
15242 (rint_test_upward): Likewise.
15243 (main): Don't call removed functions.
15244
152452014-03-14 Roland McGrath <roland@hack.frob.com>
15246
15247 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15248 "Compiled on ..." crapola. It is anti-useful.
15249
152502014-03-14 Joseph Myers <joseph@codesourcery.com>
15251
15252 * scripts/evaluate-test.sh: Handle fourth argument to determine
15253 whether test run should stop on failure.
15254 * Makeconfig (stop-on-test-failure): New variable.
15255 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15256 $(stop-on-test-failure).
15257 * Makefile (tests): Give a summary of results from testing and
15258 exit with failure status if they include an ERROR or FAIL.
15259 (xtests): Likewise.
15260 * manual/install.texi (Configuring and compiling): Mention
15261 stop-on-test-failure=y.
15262 * INSTALL: Regenerated.
15263
152642014-03-14 Roland McGrath <roland@hack.frob.com>
15265
15266 * scripts/versionlist.awk: New file.
15267 * Makerules [$(build-shared) = yes]
15268 (postclean-generated): Add Versions.def, not Versions.def.v and
15269 Versions.def.v.i.
15270 ($(common-objpfx)Versions.def.v.i): Target removed.
15271 ($(common-objpfx)Versions.def): New target.
15272 ($(common-objpfx)Versions.all): Depend on that rather that
15273 $(common-objpfx)Versions.def.v.
15274 * Versions.def: File removed.
15275
15276 * Makeconfig (+gccwarn): Add -Wundef.
15277 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15278 a dl-sysdep.h breaking its contract.
15279 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15280 * include/stackinfo.h: New file.
15281 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15282 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15283 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15284 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15285 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15286 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15287 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15288 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15289 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15290 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15291 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15292 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15293 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15294 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15295 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15296
152972014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298
15299 [BZ #16707]
15300 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15301 implementation.
15302 * math/libm-test.inc (round_test_data): Add more tests.
15303
15304 [BZ #16706]
15305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15306 implementation.
15307 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15308
15309 [BZ #16701]
15310 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15311 implementation.
15312 * math/libm-test.inc (ceil_test_data): Add more tests.
15313
15314 * math/libm-test.inc (trunc_test_data): Add more tests related to
15315 BZ#16414.
15316
153172014-03-14 Roland McGrath <roland@hack.frob.com>
15318
15319 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15320 with #if rather than #ifdef.
15321 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15322
153232014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15326 first. Disable AVX-512 GCC support if assembler doesn't support
15327 it.
15328 * sysdeps/x86_64/configure: Regenerated.
15329
153302014-03-13 Carlos O'Donell <carlos@redhat.com>
15331
15332 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15333 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15334 (__old_pthread_attr_setstack): Likewise.
15335 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15336 [!_STACK_GROWS_DOWN]: Likewise.
15337
153382014-03-13 Mike Frysinger <vapier@gentoo.org>
15339
15340 * config.make.in (have-bash2): Delete.
15341 * configure.ac (libc_cv_have_bash2): Delete.
15342 * configure: Regenerate.
15343 * elf/Makefile (common-ldd-rewrite): Rename to ...
15344 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15345 (sh-ldd-rewrite): Delete.
15346 (bash-ldd-rewrite): Delete.
15347 (have-bash2): Delete checks.
15348 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15349 ldd-rewrite.
15350
15351 * config.make.in (have-ksh): Delete.
15352 (KSH): Delete.
15353 * configure.ac (libc_cv_have_ksh): Delete.
15354 * configure: Regenerate.
15355
15356 * elf/Makefile: Delete $(have-ksh) check.
15357 ($(objpfx)sotruss): Change KSH to BASH.
15358 * elf/sotruss.ksh: Rename to ...
15359 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15360 function style to match POSIX. Drop ksh vim mode setting.
15361
15362 * manual/time.texi (Specifying the Time Zone with TZ): Change
15363 Tuesday to Thursday.
15364
15365 * debug/tst-longjmp_chk2.c: Update header comment.
15366 (stackoverflow_handler): Add comment. Call assert on pass value.
15367
153682014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15369
15370 [BZ #16194]
15371 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15372 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15373 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15374 (La_x86_64_vector): Add zmm.
15375 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15376 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15377 ($(objpfx)tst-audit10): New target.
15378 ($(objpfx)tst-audit10.out): Likewise.
15379 (tst-audit10-ENV): New.
15380 (AVX512-CFLAGS): Likewise.
15381 (CFLAGS-tst-audit10.c): Likewise.
15382 (CFLAGS-tst-auditmod10a.c): Likewise.
15383 (CFLAGS-tst-auditmod10b.c): Likewise.
15384 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15385 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15386 * sysdeps/x86_64/configure: Regenerated.
15387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15388 AVX-512 zmm register support.
15389 (_dl_x86_64_save_sse): Likewise.
15390 (_dl_x86_64_restore_sse): Likewise.
15391 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15392 size vector registers.
15393 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15394 (ZMM_SIZE): Likewise.
15395 * sysdeps/x86_64/tst-audit10.c: New file.
15396 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15397 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15398
153992014-03-13 Roland McGrath <roland@hack.frob.com>
15400
15401 * configure.ac (HAVE_EHDR_START): New check.
15402 * configure: Regenerated.
15403 * config.h.in (HAVE_EHDR_START): New #undef.
15404 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15405 assuming the lowest-addressed segment maps the start of the file.
15406
154072014-03-13 Joseph Myers <joseph@codesourcery.com>
15408
15409 * INSTALL: Regenerated.
15410
154112014-03-13 Will Newton <will.newton@linaro.org>
15412
15413 * manual/setjmp.texi (System V contexts): Improve
15414 clarity and grammar of documentation.
15415
154162014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15417
15418 [BZ #16381]
15419 * elf/Makefile (tests): Add tst-pie2.
15420 (tests-pie): Add tst-pie2.
15421 * elf/tst-pie2.c: New file.
15422 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15423 for ET_EXEC.
15424 * elf/rtld.c (map_doit): Load executable as lt_executable.
15425 (dl_main): Likewise.
15426
154272014-03-12 Joseph Myers <joseph@codesourcery.com>
15428
15429 [BZ #16642]
15430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15431 (__ASSUME_PSELECT): Undefine.
15432
154332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15434
15435 [BZ #16689]
15436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15437 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15438 static build.
15439 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15440 selector for static builds.
15441
154422014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15443
15444 [BZ #16695]
15445 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15446 key in the buffer.
15447
154482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15449
15450 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15451 IFUNC selector for static builds.
15452
154532014-03-11 Joseph Myers <joseph@codesourcery.com>
15454
15455 * sysdeps/mips/math_private.h [__mips_hard_float]
15456 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15457 libc_feresetround_mips_ctx.
15458 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15459 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15460 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15461
15462 [BZ #16677]
15463 * math/s_nextafter.c (__nextafter): Do not return value from
15464 overflowing computation.
15465 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15466 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15467 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15468 Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15470 Likewise.
15471 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15472 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15473
154742014-03-11 Roland McGrath <roland@hack.frob.com>
15475
15476 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15477 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15478 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15479 the new mov targetting sp.
15480
154812014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15482
15483 [BZ #16683]
15484 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15485 Define it for static builds as well.
15486 (NO_BZERO_IMPL): Likewise.
15487
154882014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15489
15490 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15491 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15492 multiarch strspn for PPC64.
15493 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15494 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15496 (__libc_ifunc_impl_list): Likewise.
15497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15498 multiarch optimizations
15499 * string/strspn.c (strspn): Using macro to redefine symbol name.
15500
155012014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15502 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15503
15504 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15505 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15506 multiarch strncat for PPC64.
15507 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15508 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15510 (__libc_ifunc_impl_list): Likewise.
15511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15512 multiarch optimizations
15513
155142014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15515
15516 [BZ #16639]
15517 * nscd/nscd.service: Make service type forking.
15518
155192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15520
15521 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15522 sign in non default rounding modes.
15523 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15524
155252014-03-08 Joseph Myers <joseph@codesourcery.com>
15526
15527 * math/libm-test.inc (ALL_RM_TEST): New macro.
15528 (ceil_test): Use ALL_RM_TEST.
15529 (cimag_test): Likewise.
15530 (conj_test): Likewise.
15531 (copysign_test): Likewise.
15532 (cproj_test): Likewise.
15533 (creal_test): Likewise.
15534 (fabs_test): Likewise.
15535 (floor_test): Likewise.
15536 (fmax_test): Likewise.
15537 (fmin_test): Likewise.
15538 (fmod_test): Likewise.
15539 (fpclassify_test): Likewise.
15540 (frexp_test): Likewise.
15541 (ilogb_test): Likewise.
15542 (isfinite_test): Likewise.
15543 (finite_test): Likewise.
15544 (isgreater_test): Likewise.
15545 (isgreaterequal_test): Likewise.
15546 (isinf_test): Likewise.
15547 (isless_test): Likewise.
15548 (islessequal_test): Likewise.
15549 (islessgreater_test): Likewise.
15550 (isnan_test): Likewise.
15551 (isnormal_test): Likewise.
15552 (issignaling_test): Likewise.
15553 (isunordered_test): Likewise.
15554 (logb_test): Likewise.
15555 (logb_downward_test_data): Remove.
15556 (logb_test_downward): Likewise.
15557 (lround_test): Use ALL_RM_TEST.
15558 (llround_test): Likewise.
15559 (modf_test): Likewise.
15560 (nexttoward_test): Likewise.
15561 (remainder_test): Likewise.
15562 (drem_test): Likewise.
15563 (remainder_tonearest_test_data): Likewise.
15564 (remainder_test_tonearest): Likewise.
15565 (drem_test_tonearest): Likewise.
15566 (remainder_towardzero_test_data): Likewise.
15567 (remainder_test_towardzero): Likewise.
15568 (drem_test_towardzero): Likewise.
15569 (remainder_downward_test_data): Likewise.
15570 (remainder_test_downward): Likewise.
15571 (drem_test_downward): Likewise.
15572 (remainder_upward_test_data): Likewise.
15573 (remainder_test_upward): Likewise.
15574 (drem_test_upward): Likewise.
15575 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15576 (round_test): Use ALL_RM_TEST.
15577 (signbit_test): Likewise.
15578 (trunc_test): Likewise.
15579 (significand_test): Likewise.
15580 (main): Don't call removed functions.
15581
155822014-03-07 Joseph Myers <joseph@codesourcery.com>
15583
15584 [BZ #16674]
15585 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15586 || __USE_XOPEN2K8].
15587 (ILL_ILLOPN): Likewise.
15588 (ILL_ILLADR): Likewise.
15589 (ILL_ILLTRP): Likewise.
15590 (ILL_PRVOPC): Likewise.
15591 (ILL_PRVREG): Likewise.
15592 (ILL_COPROC): Likewise.
15593 (ILL_BADSTK): Likewise.
15594 (FPE_INTDIV): Likewise.
15595 (FPE_INTOVF): Likewise.
15596 (FPE_FLTDIV): Likewise.
15597 (FPE_FLTOVF): Likewise.
15598 (FPE_FLTUND): Likewise.
15599 (FPE_FLTRES): Likewise.
15600 (FPE_FLTINV): Likewise.
15601 (FPE_FLTSUB): Likewise.
15602 (SEGV_MAPERR): Likewise.
15603 (SEGV_ACCERR): Likewise.
15604 (BUS_ADRALN): Likewise.
15605 (BUS_ADRERR): Likewise.
15606 (BUS_OBJERR): Likewise.
15607 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15608 (TRAP_TRACE): Likewise.
15609 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15610 __USE_XOPEN2K8].
15611 (CLD_KILLED): Likewise.
15612 (CLD_DUMPED): Likewise.
15613 (CLD_TRAPPED): Likewise.
15614 (CLD_STOPPED): Likewise.
15615 (CLD_CONTINUED): Likewise.
15616 (POLL_IN): Likewise.
15617 (POLL_OUT): Likewise.
15618 (POLL_MSG): Likewise.
15619 (POLL_ERR): Likewise.
15620 (POLL_PRI): Likewise.
15621 (POLL_HUP): Likewise.
15622 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15623 Likewise.
15624 (ILL_ILLOPN): Likewise.
15625 (ILL_ILLADR): Likewise.
15626 (ILL_ILLTRP): Likewise.
15627 (ILL_PRVOPC): Likewise.
15628 (ILL_PRVREG): Likewise.
15629 (ILL_COPROC): Likewise.
15630 (ILL_BADSTK): Likewise.
15631 (FPE_INTDIV): Likewise.
15632 (FPE_INTOVF): Likewise.
15633 (FPE_FLTDIV): Likewise.
15634 (FPE_FLTOVF): Likewise.
15635 (FPE_FLTUND): Likewise.
15636 (FPE_FLTRES): Likewise.
15637 (FPE_FLTINV): Likewise.
15638 (FPE_FLTSUB): Likewise.
15639 (SEGV_MAPERR): Likewise.
15640 (SEGV_ACCERR): Likewise.
15641 (BUS_ADRALN): Likewise.
15642 (BUS_ADRERR): Likewise.
15643 (BUS_OBJERR): Likewise.
15644 (BUS_MCEERR_AR): Likewise.
15645 (BUS_MCEERR_AO): Likewise.
15646 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15647 (TRAP_TRACE): Likewise.
15648 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15649 __USE_XOPEN2K8].
15650 (CLD_KILLED): Likewise.
15651 (CLD_DUMPED): Likewise.
15652 (CLD_TRAPPED): Likewise.
15653 (CLD_STOPPED): Likewise.
15654 (CLD_CONTINUED): Likewise.
15655 (POLL_IN): Likewise.
15656 (POLL_OUT): Likewise.
15657 (POLL_MSG): Likewise.
15658 (POLL_ERR): Likewise.
15659 (POLL_PRI): Likewise.
15660 (POLL_HUP): Likewise.
15661 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15662 (ILL_ILLOPN): Likewise.
15663 (ILL_ILLADR): Likewise.
15664 (ILL_ILLTRP): Likewise.
15665 (ILL_PRVOPC): Likewise.
15666 (ILL_PRVREG): Likewise.
15667 (ILL_COPROC): Likewise.
15668 (ILL_BADSTK): Likewise.
15669 (FPE_INTDIV): Likewise.
15670 (FPE_INTOVF): Likewise.
15671 (FPE_FLTDIV): Likewise.
15672 (FPE_FLTOVF): Likewise.
15673 (FPE_FLTUND): Likewise.
15674 (FPE_FLTRES): Likewise.
15675 (FPE_FLTINV): Likewise.
15676 (FPE_FLTSUB): Likewise.
15677 (SEGV_MAPERR): Likewise.
15678 (SEGV_ACCERR): Likewise.
15679 (BUS_ADRALN): Likewise.
15680 (BUS_ADRERR): Likewise.
15681 (BUS_OBJERR): Likewise.
15682 (BUS_MCEERR_AR): Likewise.
15683 (BUS_MCEERR_AO): Likewise.
15684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15685 (TRAP_TRACE): Likewise.
15686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15687 __USE_XOPEN2K8].
15688 (CLD_KILLED): Likewise.
15689 (CLD_DUMPED): Likewise.
15690 (CLD_TRAPPED): Likewise.
15691 (CLD_STOPPED): Likewise.
15692 (CLD_CONTINUED): Likewise.
15693 (POLL_IN): Likewise.
15694 (POLL_OUT): Likewise.
15695 (POLL_MSG): Likewise.
15696 (POLL_ERR): Likewise.
15697 (POLL_PRI): Likewise.
15698 (POLL_HUP): Likewise.
15699 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15700 Likewise.
15701 (ILL_ILLOPN): Likewise.
15702 (ILL_ILLADR): Likewise.
15703 (ILL_ILLTRP): Likewise.
15704 (ILL_PRVOPC): Likewise.
15705 (ILL_PRVREG): Likewise.
15706 (ILL_COPROC): Likewise.
15707 (ILL_BADSTK): Likewise.
15708 (ILL_BADIADDR): Likewise.
15709 (ILL_BREAK): Likewise.
15710 (FPE_INTDIV): Likewise.
15711 (FPE_INTOVF): Likewise.
15712 (FPE_FLTDIV): Likewise.
15713 (FPE_FLTOVF): Likewise.
15714 (FPE_FLTUND): Likewise.
15715 (FPE_FLTRES): Likewise.
15716 (FPE_FLTINV): Likewise.
15717 (FPE_FLTSUB): Likewise.
15718 (FPE_DECOVF): Likewise.
15719 (FPE_DECDIV): Likewise.
15720 (FPE_DECERR): Likewise.
15721 (FPE_INVASC): Likewise.
15722 (FPE_INVDEC): Likewise.
15723 (SEGV_MAPERR): Likewise.
15724 (SEGV_ACCERR): Likewise.
15725 (SEGV_PSTKOVF): Likewise.
15726 (BUS_ADRALN): Likewise.
15727 (BUS_ADRERR): Likewise.
15728 (BUS_OBJERR): Likewise.
15729 (BUS_MCEERR_AR): Likewise.
15730 (BUS_MCEERR_AO): Likewise.
15731 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15732 (TRAP_TRACE): Likewise.
15733 (TRAP_BRANCH): Likewise.
15734 (TRAP_HWBKPT): Likewise.
15735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15736 __USE_XOPEN2K8].
15737 (CLD_KILLED): Likewise.
15738 (CLD_DUMPED): Likewise.
15739 (CLD_TRAPPED): Likewise.
15740 (CLD_STOPPED): Likewise.
15741 (CLD_CONTINUED): Likewise.
15742 (POLL_IN): Likewise.
15743 (POLL_OUT): Likewise.
15744 (POLL_MSG): Likewise.
15745 (POLL_ERR): Likewise.
15746 (POLL_PRI): Likewise.
15747 (POLL_HUP): Likewise.
15748 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15749 (ILL_ILLOPN): Likewise.
15750 (ILL_ILLADR): Likewise.
15751 (ILL_ILLTRP): Likewise.
15752 (ILL_PRVOPC): Likewise.
15753 (ILL_PRVREG): Likewise.
15754 (ILL_COPROC): Likewise.
15755 (ILL_BADSTK): Likewise.
15756 (FPE_INTDIV): Likewise.
15757 (FPE_INTOVF): Likewise.
15758 (FPE_FLTDIV): Likewise.
15759 (FPE_FLTOVF): Likewise.
15760 (FPE_FLTUND): Likewise.
15761 (FPE_FLTRES): Likewise.
15762 (FPE_FLTINV): Likewise.
15763 (FPE_FLTSUB): Likewise.
15764 (SEGV_MAPERR): Likewise.
15765 (SEGV_ACCERR): Likewise.
15766 (BUS_ADRALN): Likewise.
15767 (BUS_ADRERR): Likewise.
15768 (BUS_OBJERR): Likewise.
15769 (BUS_MCEERR_AR): Likewise.
15770 (BUS_MCEERR_AO): Likewise.
15771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15772 (TRAP_TRACE): Likewise.
15773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15774 __USE_XOPEN2K8].
15775 (CLD_KILLED): Likewise.
15776 (CLD_DUMPED): Likewise.
15777 (CLD_TRAPPED): Likewise.
15778 (CLD_STOPPED): Likewise.
15779 (CLD_CONTINUED): Likewise.
15780 (POLL_IN): Likewise.
15781 (POLL_OUT): Likewise.
15782 (POLL_MSG): Likewise.
15783 (POLL_ERR): Likewise.
15784 (POLL_PRI): Likewise.
15785 (POLL_HUP): Likewise.
15786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15787 (ILL_ILLOPN): Likewise.
15788 (ILL_ILLADR): Likewise.
15789 (ILL_ILLTRP): Likewise.
15790 (ILL_PRVOPC): Likewise.
15791 (ILL_PRVREG): Likewise.
15792 (ILL_COPROC): Likewise.
15793 (ILL_BADSTK): Likewise.
15794 (FPE_INTDIV): Likewise.
15795 (FPE_INTOVF): Likewise.
15796 (FPE_FLTDIV): Likewise.
15797 (FPE_FLTOVF): Likewise.
15798 (FPE_FLTUND): Likewise.
15799 (FPE_FLTRES): Likewise.
15800 (FPE_FLTINV): Likewise.
15801 (FPE_FLTSUB): Likewise.
15802 (SEGV_MAPERR): Likewise.
15803 (SEGV_ACCERR): Likewise.
15804 (BUS_ADRALN): Likewise.
15805 (BUS_ADRERR): Likewise.
15806 (BUS_OBJERR): Likewise.
15807 (BUS_MCEERR_AR): Likewise.
15808 (BUS_MCEERR_AO): Likewise.
15809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15810 (TRAP_TRACE): Likewise.
15811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15812 __USE_XOPEN2K8].
15813 (CLD_KILLED): Likewise.
15814 (CLD_DUMPED): Likewise.
15815 (CLD_TRAPPED): Likewise.
15816 (CLD_STOPPED): Likewise.
15817 (CLD_CONTINUED): Likewise.
15818 (POLL_IN): Likewise.
15819 (POLL_OUT): Likewise.
15820 (POLL_MSG): Likewise.
15821 (POLL_ERR): Likewise.
15822 (POLL_PRI): Likewise.
15823 (POLL_HUP): Likewise.
15824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15825 (ILL_ILLOPN): Likewise.
15826 (ILL_ILLADR): Likewise.
15827 (ILL_ILLTRP): Likewise.
15828 (ILL_PRVOPC): Likewise.
15829 (ILL_PRVREG): Likewise.
15830 (ILL_COPROC): Likewise.
15831 (ILL_BADSTK): Likewise.
15832 (FPE_INTDIV): Likewise.
15833 (FPE_INTOVF): Likewise.
15834 (FPE_FLTDIV): Likewise.
15835 (FPE_FLTOVF): Likewise.
15836 (FPE_FLTUND): Likewise.
15837 (FPE_FLTRES): Likewise.
15838 (FPE_FLTINV): Likewise.
15839 (FPE_FLTSUB): Likewise.
15840 (SEGV_MAPERR): Likewise.
15841 (SEGV_ACCERR): Likewise.
15842 (BUS_ADRALN): Likewise.
15843 (BUS_ADRERR): Likewise.
15844 (BUS_OBJERR): Likewise.
15845 (BUS_MCEERR_AR): Likewise.
15846 (BUS_MCEERR_AO): Likewise.
15847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15848 (TRAP_TRACE): Likewise.
15849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15850 __USE_XOPEN2K8].
15851 (CLD_KILLED): Likewise.
15852 (CLD_DUMPED): Likewise.
15853 (CLD_TRAPPED): Likewise.
15854 (CLD_STOPPED): Likewise.
15855 (CLD_CONTINUED): Likewise.
15856 (POLL_IN): Likewise.
15857 (POLL_OUT): Likewise.
15858 (POLL_MSG): Likewise.
15859 (POLL_ERR): Likewise.
15860 (POLL_PRI): Likewise.
15861 (POLL_HUP): Likewise.
15862 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15863 (ILL_ILLOPN): Likewise.
15864 (ILL_ILLADR): Likewise.
15865 (ILL_ILLTRP): Likewise.
15866 (ILL_PRVOPC): Likewise.
15867 (ILL_PRVREG): Likewise.
15868 (ILL_COPROC): Likewise.
15869 (ILL_BADSTK): Likewise.
15870 (ILL_DBLFLT): Likewise.
15871 (ILL_HARDWALL): Likewise.
15872 (FPE_INTDIV): Likewise.
15873 (FPE_INTOVF): Likewise.
15874 (FPE_FLTDIV): Likewise.
15875 (FPE_FLTOVF): Likewise.
15876 (FPE_FLTUND): Likewise.
15877 (FPE_FLTRES): Likewise.
15878 (FPE_FLTINV): Likewise.
15879 (FPE_FLTSUB): Likewise.
15880 (SEGV_MAPERR): Likewise.
15881 (SEGV_ACCERR): Likewise.
15882 (BUS_ADRALN): Likewise.
15883 (BUS_ADRERR): Likewise.
15884 (BUS_OBJERR): Likewise.
15885 (BUS_MCEERR_AR): Likewise.
15886 (BUS_MCEERR_AO): Likewise.
15887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15888 (TRAP_TRACE): Likewise.
15889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15890 __USE_XOPEN2K8].
15891 (CLD_KILLED): Likewise.
15892 (CLD_DUMPED): Likewise.
15893 (CLD_TRAPPED): Likewise.
15894 (CLD_STOPPED): Likewise.
15895 (CLD_CONTINUED): Likewise.
15896 (POLL_IN): Likewise.
15897 (POLL_OUT): Likewise.
15898 (POLL_MSG): Likewise.
15899 (POLL_ERR): Likewise.
15900 (POLL_PRI): Likewise.
15901 (POLL_HUP): Likewise.
15902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15903 (ILL_ILLOPN): Likewise.
15904 (ILL_ILLADR): Likewise.
15905 (ILL_ILLTRP): Likewise.
15906 (ILL_PRVOPC): Likewise.
15907 (ILL_PRVREG): Likewise.
15908 (ILL_COPROC): Likewise.
15909 (ILL_BADSTK): Likewise.
15910 (FPE_INTDIV): Likewise.
15911 (FPE_INTOVF): Likewise.
15912 (FPE_FLTDIV): Likewise.
15913 (FPE_FLTOVF): Likewise.
15914 (FPE_FLTUND): Likewise.
15915 (FPE_FLTRES): Likewise.
15916 (FPE_FLTINV): Likewise.
15917 (FPE_FLTSUB): Likewise.
15918 (SEGV_MAPERR): Likewise.
15919 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15928 __USE_XOPEN2K8].
15929 (CLD_KILLED): Likewise.
15930 (CLD_DUMPED): Likewise.
15931 (CLD_TRAPPED): Likewise.
15932 (CLD_STOPPED): Likewise.
15933 (CLD_CONTINUED): Likewise.
15934 (POLL_IN): Likewise.
15935 (POLL_OUT): Likewise.
15936 (POLL_MSG): Likewise.
15937 (POLL_ERR): Likewise.
15938 (POLL_PRI): Likewise.
15939 (POLL_HUP): Likewise.
15940 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15941 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15942
15943 [BZ #16670]
15944 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15945 before #include of <time.h>.
15946 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15947 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15948 (test-xfail-UNIX98/sched.h/conform): Likewise.
15949
159502014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15951
15952 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15953 error absence of trapping exception support.
15954 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15955
159562014-03-07 Joseph Myers <joseph@codesourcery.com>
15957
15958 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15959 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15960 * timezone/Makefile (testdata): Move definition above include of
15961 Rules.
15962 (test-zones): New variable.
15963 (tests-special): Add zone files.
15964 (build-testdata): Use $(evaluate-test).
15965
15966 * elf/Makefile (tests-special): Rename tests to end with .out.
15967 ($(objpfx)noload-mem): Likewise.
15968 ($(objpfx)tst-leaks1-mem): Likewise.
15969 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15970 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15971 $(objpfx)test-iconvconfig.out.
15972 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15973 set -e inside subshell and redirect output to file.
15974 * iconvdata/Makefile (generated): Rename tests to end with .out.
15975 Correct type.
15976 (tests-special): Rename tests to end with .out.
15977 ($(objpfx)mtrace-tst-loading): Likewise.
15978 * intl/Makefile (generated): Likewise.
15979 (tests-special): Likewise.
15980 ($(objpfx)mtrace-tst-gettext): Likewise.
15981 * misc/Makefile (generated): Likewise.
15982 (tests-special): Likewise.
15983 ($(objpfx)tst-error1-mem): Likewise.
15984 * nptl/Makefile (tests-special): Likewise.
15985 ($(objpfx)tst-stack3-mem): Likewise.
15986 (generated): Likewise.
15987 * posix/Makefile (generated): Likewise.
15988 (tests-special): Likewise.
15989 (xtests-special): Likewise.
15990 ($(objpfx)tst-fnmatch-mem): Likewise.
15991 ($(objpfx)bug-regex2-mem): Likewise.
15992 ($(objpfx)bug-regex14-mem): Likewise.
15993 ($(objpfx)bug-regex21-mem): Likewise.
15994 ($(objpfx)bug-regex31-mem): Likewise.
15995 ($(objpfx)tst-vfork3-mem): Likewise.
15996 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15997 ($(objpfx)tst-pcre-mem): Likewise.
15998 ($(objpfx)tst-boost-mem): Likewise.
15999 ($(objpfx)bug-ga2-mem): Likewise.
16000 ($(objpfx)bug-glob2-mem): Likewise.
16001 * resolv/Makefile (generate): Likewise.
16002 (tests-special): Likewise.
16003 (xtests-special): Likewise.
16004 (generated): Likewise.
16005 ($(objpfx)mtrace-tst-leaks): Likewise.
16006 ($(objpfx)mtrace-tst-leaks2): Likewise.
16007
16008 * scripts/merge-test-results.sh: New file.
16009 * Makefile (tests-special-notdir): New variable.
16010 (tests): Run merge-test-results.sh.
16011 (xtests): Likewise.
16012 * Rules (tests-special-notdir): New variable.
16013 (xtests-special-notdir): Likewise.
16014 (tests): Run merge-test-results.sh
16015 (xtests): Likewise.
16016
16017 * Makeconfig (test-xfail-name): New variable.
16018 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16019 compute variable name for expected failures.
16020 * conform/Makefile (conformtest-headers-data): New variable.
16021 (conformtest-standards): Likewise.
16022 (conformtest-headers-ISO): Likewise.
16023 (conformtest-headers-ISO99): Likewise.
16024 (conformtest-headers-ISO11): Likewise.
16025 (conformtest-headers-POSIX): Likewise.
16026 (conformtest-headers-XPG3): Likewise.
16027 (conformtest-headers-XPG4): Likewise.
16028 (conformtest-headers-UNIX98): Likewise.
16029 (conformtest-headers-XOPEN2K): Likewise.
16030 (conformtest-headers-POSIX2008): Likewise.
16031 (conformtest-headers-XOPEN2K8): Likewise.
16032 (conformtest-header-list-base): Likewise.
16033 (conformtest-header-list-tests): Likewise.
16034 (conformtest-header-base): Likewise.
16035 (conformtest-header-tests): Likewise.
16036 (tests-special): Add $(conformtest-header-list-tests). If
16037 [$(fast-check) && !$(cross-compiling)], add
16038 $(conformtest-header-tests) instead of
16039 $(objpfx)run-conformtest.out.
16040 (generated): Add $(conformtest-header-list-base). If
16041 [$(fast-check) && !$(cross-compiling)], add
16042 $(conformtest-header-base). Remove previous setting.
16043 ($(conformtest-header-list-tests)): New target.
16044 (test-xfail-run-conformtest): Remove variable.
16045 ($(objpfx)run-conformtest.out): Remove target.
16046 (test-xfail-ISO11/complex.h/conform): New variable.
16047 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16048 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16049 (test-xfail-XPG3/varargs.h/conform): Likewise.
16050 (test-xfail-XPG4/varargs.h/conform): Likewise.
16051 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16052 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16053 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16054 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16055 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16056 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16057 (test-xfail-XPG3/ftw.h/conform): Likewise.
16058 (test-xfail-XPG3/grp.h/conform): Likewise.
16059 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16060 (test-xfail-XPG3/limits.h/conform): Likewise.
16061 (test-xfail-XPG3/pwd.h/conform): Likewise.
16062 (test-xfail-XPG3/search.h/conform): Likewise.
16063 (test-xfail-XPG3/signal.h/conform): Likewise.
16064 (test-xfail-XPG3/stdio.h/conform): Likewise.
16065 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16066 (test-xfail-XPG3/string.h/conform): Likewise.
16067 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16068 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16069 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16070 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16071 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16072 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16073 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16074 (test-xfail-XPG3/termios.h/conform): Likewise.
16075 (test-xfail-XPG3/time.h/conform): Likewise.
16076 (test-xfail-XPG3/unistd.h/conform): Likewise.
16077 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16078 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16079 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16080 (test-xfail-XPG4/netdb.h/conform): Likewise.
16081 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16082 (test-xfail-XPG4/signal.h/conform): Likewise.
16083 (test-xfail-XPG4/stdio.h/conform): Likewise.
16084 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16085 (test-xfail-XPG4/stropts.h/conform): Likewise.
16086 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16087 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16088 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16089 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16090 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16091 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16092 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16093 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16094 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16095 (test-xfail-XPG4/termios.h/conform): Likewise.
16096 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16097 (test-xfail-XPG4/unistd.h/conform): Likewise.
16098 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16099 (test-xfail-POSIX/sched.h/conform): Likewise.
16100 (test-xfail-POSIX/signal.h/conform): Likewise.
16101 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16102 (test-xfail-POSIX/tar.h/conform): Likewise.
16103 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16104 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16105 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16106 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16107 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16108 (test-xfail-UNIX98/sched.h/conform): Likewise.
16109 (test-xfail-UNIX98/signal.h/conform): Likewise.
16110 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16111 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16112 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16113 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16114 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16115 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16116 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16117 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16118 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16119 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16120 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16121 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16122 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16123 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16124 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16125 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16126 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16127 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16128 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16129 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16130 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16131 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16132 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16133 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16134 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16135 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16136 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16137 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16138 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16139 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16140 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16141 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16142 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16143 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16144 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16145 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16146 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16147 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16148 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16149 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16150 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16151 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16152 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16153 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16154 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16155 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16156 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16157 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16158 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16159 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16160 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16161 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16162 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16163 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16164 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16165 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16166 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16167 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16168 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16169 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16170 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16171 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16172 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16173 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16174 (conformtest-cc-flags): Likewise.
16175 ($(conformtest-header-tests): New target.
16176 * conform/check-header-lists.sh: New file.
16177 * conform/run-conformtest.sh: Remove.
16178
16179 * conform/conformtest.pl: Allow ' and \ in values given for
16180 constants.
16181 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16182 inclusion.
16183 [POSIX] (sys/types.h): Likewise.
16184 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16185 inclusion.
16186 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16187 inclusion.
16188 * conform/data/signal.h-data (SIGIO): Remove expectation.
16189 [XPG3] (SIGBUS): Do not expect.
16190 [POSIX || XPG3] (SIGPOLL): Likewise.
16191 [POSIX || XPG3] (SIGPROF): Likewise.
16192 [POSIX || XPG3] (SIGSYS): Likewise.
16193 [XPG3] (SIGTRAP): Likewise.
16194 [POSIX || XPG3] (SIGURG): Likewise.
16195 [POSIX || XPG3] (SIGVTALRM): Likewise.
16196 [POSIX || XPG3] (SIGXCPU): Likewise.
16197 [POSIX || XPG3] (SIGXFSZ): Likewise.
16198 [POSIX] (SA_SIGINFO): Expect.
16199 [XPG3] (siginfo_t): Do not expect type or contents.
16200 [POSIX] (si_pid): Do not expect element.
16201 [POSIX] (si_uid): Likewise.
16202 [POSIX] (si_addr): Likewise.
16203 [POSIX] (si_status): Likewise.
16204 [POSIX] (si_band): Likewise.
16205 [XPG4] (si_value): Likewise.
16206 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16207 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16208 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16209 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16210 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16211 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16212 [POSIX || XPG3] (ILL_COPROC): Likewise.
16213 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16214 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16215 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16216 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16217 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16218 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16219 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16220 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16221 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16222 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16223 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16224 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16225 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16226 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16227 [POSIX || XPG3] (CLD_EXITED): Likewise.
16228 [POSIX || XPG3] (CLD_KILLED): Likewise.
16229 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16230 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16231 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16232 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16233 [POSIX || XPG3] (POLL_IN): Likewise.
16234 [POSIX || XPG3] (POLL_OUT): Likewise.
16235 [POSIX || XPG3] (POLL_MSG): Likewise.
16236 [POSIX || XPG3] (POLL_ERR): Likewise.
16237 [POSIX || XPG3] (POLL_PRI): Likewise.
16238 [POSIX || XPG3] (POLL_HUP): Likewise.
16239 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16240 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16241 (SIG*): Do not allow.
16242 [XPG3] (si_*): Likewise.
16243 [XPG3] (SI_*): Likewise.
16244 [XPG3 || XPG4] (sigev_*): Likewise.
16245 [XPG3 || XPG4] (SIGEV_*): Likewise.
16246 [XPG3 || XPG4] (sival_*): Likewise.
16247 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16248 [POSIX || XPG3] (BUS_*): Likewise.
16249 [POSIX || XPG3] (CLD_*): Likewise.
16250 [POSIX || XPG3] (FPE_*): Likewise.
16251 [POSIX || XPG3] (ILL_*): Likewise.
16252 [POSIX || XPG3] (POLL_*): Likewise.
16253 [POSIX || XPG3] (SEGV_*): Likewise.
16254 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16255 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16256 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16257 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16258 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16259 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16260 Specify type and value.
16261 (TVERSLEN): Likewise.
16262 (REGTYPE): Likewise.
16263 (AREGTYPE): Likewise.
16264 (LNKTYPE): Likewise.
16265 (SYMTYPE): Likewise.
16266 (CHRTYPE): Likewise.
16267 (BLKTYPE): Likewise.
16268 (DIRTYPE): Likewise.
16269 (FIFOTYPE): Likewise.
16270 (CONTTYPE): Likewise.
16271 (TSUID): Likewise.
16272 (TSGID): Likewise.
16273 (TSVTX): Likewise.
16274 (TUREAD): Likewise.
16275 (TUWRITE): Likewise.
16276 (TUEXEC): Likewise.
16277 (TGREAD): Likewise.
16278 (TGWRITE): Likewise.
16279 (TGEXEC): Likewise.
16280 (TOREAD): Likewise.
16281 (TOWRITE): Likewise.
16282 (TOEXEC): Likewise.
16283 [POSIX] (TSVTX): Expect constant.
16284
162852014-03-06 Joseph Myers <joseph@codesourcery.com>
16286
16287 * Makefile (tests): Change dependencies to ....
16288 (tests-special): ... additions to this variable.
16289 (tests): Depend on $(tests-special).
16290 * Makerules (check-abi-list): New variable.
16291 (check-abi): Depend on $(check-abi-list).
16292 [$(subdir) = elf] (tests-special): Add
16293 $(objpfx)check-abi-libc.out.
16294 [$(build-shared) = yes && subdir] (tests-special): Add
16295 $(check-abi-list).
16296 [$(build-shared) = yes && subdir] (tests): Do not depend on
16297 check-abi.
16298 * Rules (tests): Depend on $(tests-special).
16299 (xtests): Depend on $(xtests-special).
16300 * catgets/Makefile (tests): Change dependencies to ....
16301 (tests-special): ... additions to this variable.
16302 * conform/Makefile (tests): Change dependencies to ....
16303 (tests-special): ... additions to this variable.
16304 * elf/Makefile (tests): Change dependencies to ....
16305 (tests-special): ... additions to this variable.
16306 * grp/Makefile (tests): Change dependencies to ....
16307 (tests-special): ... additions to this variable.
16308 * iconv/Makefile (xtests): Change dependencies to ....
16309 (xtests-special): ... additions to this variable.
16310 * iconvdata/Makefile (tests): Change dependencies to ....
16311 (tests-special): ... additions to this variable.
16312 * intl/Makefile (tests): Change dependencies to ....
16313 (tests-special): ... additions to this variable. Also add
16314 $(objpfx)tst-gettext.out.
16315 * io/Makefile (tests): Change dependencies to ....
16316 (tests-special): ... additions to this variable.
16317 * libio/Makefile (tests): Change dependencies to ....
16318 (tests-special): ... additions to this variable.
16319 * malloc/Makefile (tests): Change dependencies to ....
16320 (tests-special): ... additions to this variable.
16321 * misc/Makefile (tests): Change dependencies to ....
16322 (tests-special): ... additions to this variable.
16323 * nptl/Makefile (tests): Change dependencies to ....
16324 (tests-special): ... additions to this variable.
16325 * nptl_db/Makefile (tests): Change dependencies to ....
16326 (tests-special): ... additions to this variable.
16327 * posix/Makefile (tests): Change dependencies to ....
16328 (tests-special): ... additions to this variable.
16329 (xtests): Change dependencies to ....
16330 (xtests-special): ... additions to this variable.
16331 * resolv/Makefile (tests): Change dependencies to ....
16332 (tests-special): ... additions to this variable.
16333 (xtests): Change dependencies to ....
16334 (xtests-special): ... additions to this variable.
16335 * stdio-common/Makefile (tests): Change dependencies to ....
16336 (tests-special): ... additions to this variable.
16337 (do-tst-unbputc): Remove target.
16338 (do-tst-printf): Likewise.
16339 * stdlib/Makefile (tests): Change dependencies to ....
16340 (tests-special): ... additions to this variable.
16341 * string/Makefile (tests): Change dependencies to ....
16342 (tests-special): ... additions to this variable.
16343 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16344 (tests-special): ... additions to this variable.
16345
16346 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16347 whole file.
16348 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16349 whole file.
16350 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16351 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16352
16353 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16354 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16355 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16356 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16357 * conform/data/libgen.h-data [XPG3]: Likewise.
16358 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16359 * conform/data/ndbm.h-data [XPG3]: Likewise.
16360 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16361 * conform/data/netdb.h-data [XPG3]: Likewise.
16362 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16363 * conform/data/poll.h-data [XPG3]: Likewise.
16364 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16365 * conform/data/strings.h-data [XPG3]: Likewise.
16366 * conform/data/stropts.h-data [XPG3]: Likewise.
16367 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16368 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16369 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16370 Likewise.
16371 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16372 * conform/data/sys/time.h-data [XPG3]: Likewise.
16373 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16374 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16375 * conform/data/sys/un.h-data [XPG3]: Likewise.
16376 * conform/data/syslog.h-data [XPG3]: Likewise.
16377 * conform/data/ucontext.h-data [XPG3]: Likewise.
16378 * conform/data/utmpx.h-data [XPG3]: Likewise.
16379 * conform/data/varargs.h-data [UNIX98]: Enable file.
16380
16381 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16382
16383 * math/libm-test.inc (struct test_f_f_data): Move expected results
16384 into structure for each rounding mode.
16385 (struct test_ff_f_data): Likewise.
16386 (struct test_ff_f_data_nexttoward): Likewise.
16387 (struct test_fi_f_data): Likewise.
16388 (struct test_fl_f_data): Likewise.
16389 (struct test_if_f_data): Likewise.
16390 (struct test_fff_f_data): Likewise.
16391 (struct test_c_f_data): Likewise.
16392 (struct test_f_f1_data): Likewise.
16393 (struct test_fF_f1_data): Likewise.
16394 (struct test_ffI_f1_data): Likewise.
16395 (struct test_c_c_data): Likewise.
16396 (struct test_cc_c_data): Likewise.
16397 (struct test_f_i_data): Likewise.
16398 (struct test_ff_i_data): Likewise.
16399 (struct test_f_l_data): Likewise.
16400 (struct test_f_L_data): Likewise.
16401 (struct test_fFF_11_data): Likewise.
16402 (RM_): New macro.
16403 (RM_FE_DOWNWARD): Likewise.
16404 (RM_FE_TONEAREST): Likewise.
16405 (RM_FE_TOWARDZERO): Likewise.
16406 (RM_FE_UPWARD): Likewise.
16407 (RUN_TEST_LOOP_f_f): Update references to expected results.
16408 (RUN_TEST_LOOP_2_f): Likewise.
16409 (RUN_TEST_LOOP_fff_f): Likewise.
16410 (RUN_TEST_LOOP_c_f): Likewise.
16411 (RUN_TEST_LOOP_f_f1): Likewise.
16412 (RUN_TEST_LOOP_fF_f1): Likewise.
16413 (RUN_TEST_LOOP_fI_f1): Likewise.
16414 (RUN_TEST_LOOP_ffI_f1): Likewise.
16415 (RUN_TEST_LOOP_c_c): Likewise.
16416 (RUN_TEST_LOOP_cc_c): Likewise.
16417 (RUN_TEST_LOOP_f_i): Likewise.
16418 (RUN_TEST_LOOP_f_i_tg): Likewise.
16419 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16420 (RUN_TEST_LOOP_f_b): Likewise.
16421 (RUN_TEST_LOOP_f_b_tg): Likewise.
16422 (RUN_TEST_LOOP_f_l): Likewise.
16423 (RUN_TEST_LOOP_f_L): Likewise.
16424 (RUN_TEST_LOOP_fFF_11): Likewise.
16425 * math/gen-libm-test.pl (parse_args): Output four copies of
16426 expected results for each test.
16427
16428 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16429 (__ASSUME_UTIMES): Remove.
16430 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16431 (__ASSUME_UTIMES): Likewise.
16432
16433 * math/gen-auto-libm-tests.c: Update comment on output format.
16434 (output_for_one_input_case): Generate before-rounding and
16435 after-rounding information as conditions on output flags not
16436 floating-point format.
16437 * math/auto-libm-test-out: Regenerated.
16438 * math/gen-libm-test.pl (cond_value): New function.
16439 (or_cond_value): Use cond_value.
16440 (generate_testfile): Handle conditional exceptions.
16441
164422014-03-05 Joseph Myers <joseph@codesourcery.com>
16443
16444 * math/libm-test.inc (max_valid_error): New variable.
16445 (init_max_error): Take new argument specifying whether function
16446 results are exactly determined. Set max_valid_error and bound
16447 other variables for errors based on this argument.
16448 (set_max_error): Do not record results above max_valid_error.
16449 (check_float_internal): Only accept errors of up to 0.5ulps if
16450 also at most max_valid_error.
16451 (START): Take new argument EXACT and pass it to init_max_error.
16452 (acos_test): Update call to START.
16453 (acos_test_tonearest): Likewise.
16454 (acos_test_towardzero): Likewise.
16455 (acos_test_downward): Likewise.
16456 (acos_test_upward): Likewise.
16457 (acosh_test): Likewise.
16458 (asin_test): Likewise.
16459 (asin_test_tonearest): Likewise.
16460 (asin_test_towardzero): Likewise.
16461 (asin_test_downward): Likewise.
16462 (asin_test_upward): Likewise.
16463 (asinh_test): Likewise.
16464 (atan_test): Likewise.
16465 (atanh_test): Likewise.
16466 (atan2_test): Likewise.
16467 (cabs_test): Likewise.
16468 (cacos_test): Likewise.
16469 (cacosh_test): Likewise.
16470 (carg_test): Likewise.
16471 (casin_test): Likewise.
16472 (casinh_test): Likewise.
16473 (catan_test): Likewise.
16474 (catanh_test): Likewise.
16475 (cbrt_test): Likewise.
16476 (ccos_test): Likewise.
16477 (ccosh_test): Likewise.
16478 (ceil_test): Likewise.
16479 (cexp_test): Likewise.
16480 (cimag_test): Likewise.
16481 (clog_test): Likewise.
16482 (clog10_test): Likewise.
16483 (conj_test): Likewise.
16484 (copysign_test): Likewise.
16485 (cos_test): Likewise.
16486 (cos_test_tonearest): Likewise.
16487 (cos_test_towardzero): Likewise.
16488 (cos_test_downward): Likewise.
16489 (cos_test_upward): Likewise.
16490 (cosh_test): Likewise.
16491 (cosh_test_tonearest): Likewise.
16492 (cosh_test_towardzero): Likewise.
16493 (cosh_test_downward): Likewise.
16494 (cosh_test_upward): Likewise.
16495 (cpow_test): Likewise.
16496 (cproj_test): Likewise.
16497 (creal_test): Likewise.
16498 (csin_test): Likewise.
16499 (csinh_test): Likewise.
16500 (csqrt_test): Likewise.
16501 (ctan_test): Likewise.
16502 (ctan_test_tonearest): Likewise.
16503 (ctan_test_towardzero): Likewise.
16504 (ctan_test_downward): Likewise.
16505 (ctan_test_upward): Likewise.
16506 (ctanh_test): Likewise.
16507 (ctanh_test_tonearest): Likewise.
16508 (ctanh_test_towardzero): Likewise.
16509 (ctanh_test_downward): Likewise.
16510 (ctanh_test_upward): Likewise.
16511 (erf_test): Likewise.
16512 (erfc_test): Likewise.
16513 (exp_test): Likewise.
16514 (exp_test_tonearest): Likewise.
16515 (exp_test_towardzero): Likewise.
16516 (exp_test_downward): Likewise.
16517 (exp_test_upward): Likewise.
16518 (exp10_test): Likewise.
16519 (exp10_test_tonearest): Likewise.
16520 (exp10_test_towardzero): Likewise.
16521 (exp10_test_downward): Likewise.
16522 (exp10_test_upward): Likewise.
16523 (pow10_test): Likewise.
16524 (exp2_test): Likewise.
16525 (expm1_test): Likewise.
16526 (expm1_test_tonearest): Likewise.
16527 (expm1_test_towardzero): Likewise.
16528 (expm1_test_downward): Likewise.
16529 (expm1_test_upward): Likewise.
16530 (fabs_test): Likewise.
16531 (fdim_test): Likewise.
16532 (floor_test): Likewise.
16533 (fma_test): Likewise.
16534 (fma_test_towardzero): Likewise.
16535 (fma_test_downward): Likewise.
16536 (fma_test_upward): Likewise.
16537 (fmax_test): Likewise.
16538 (fmin_test): Likewise.
16539 (fmod_test): Likewise.
16540 (fpclassify_test): Likewise.
16541 (frexp_test): Likewise.
16542 (hypot_test): Likewise.
16543 (ilogb_test): Likewise.
16544 (isfinite_test): Likewise.
16545 (finite_test): Likewise.
16546 (isgreater_test): Likewise.
16547 (isgreaterequal_test): Likewise.
16548 (isinf_test): Likewise.
16549 (isless_test): Likewise.
16550 (islessequal_test): Likewise.
16551 (islessgreater_test): Likewise.
16552 (isnan_test): Likewise.
16553 (isnormal_test): Likewise.
16554 (issignaling_test): Likewise.
16555 (isunordered_test): Likewise.
16556 (j0_test): Likewise.
16557 (j1_test): Likewise.
16558 (jn_test): Likewise.
16559 (ldexp_test): Likewise.
16560 (lgamma_test): Likewise.
16561 (gamma_test): Likewise.
16562 (lrint_test): Likewise.
16563 (lrint_test_tonearest): Likewise.
16564 (lrint_test_towardzero): Likewise.
16565 (lrint_test_downward): Likewise.
16566 (lrint_test_upward): Likewise.
16567 (llrint_test): Likewise.
16568 (llrint_test_tonearest): Likewise.
16569 (llrint_test_towardzero): Likewise.
16570 (llrint_test_downward): Likewise.
16571 (llrint_test_upward): Likewise.
16572 (log_test): Likewise.
16573 (log10_test): Likewise.
16574 (log1p_test): Likewise.
16575 (log2_test): Likewise.
16576 (logb_test): Likewise.
16577 (logb_test_downward): Likewise.
16578 (lround_test): Likewise.
16579 (llround_test): Likewise.
16580 (modf_test): Likewise.
16581 (nearbyint_test): Likewise.
16582 (nextafter_test): Likewise.
16583 (nexttoward_test): Likewise.
16584 (pow_test): Likewise.
16585 (pow_test_tonearest): Likewise.
16586 (pow_test_towardzero): Likewise.
16587 (pow_test_downward): Likewise.
16588 (pow_test_upward): Likewise.
16589 (remainder_test): Likewise.
16590 (drem_test): Likewise.
16591 (remainder_test_tonearest): Likewise.
16592 (drem_test_tonearest): Likewise.
16593 (remainder_test_towardzero): Likewise.
16594 (drem_test_towardzero): Likewise.
16595 (remainder_test_downward): Likewise.
16596 (drem_test_downward): Likewise.
16597 (remainder_test_upward): Likewise.
16598 (drem_test_upward): Likewise.
16599 (remquo_test): Likewise.
16600 (rint_test): Likewise.
16601 (rint_test_tonearest): Likewise.
16602 (rint_test_towardzero): Likewise.
16603 (rint_test_downward): Likewise.
16604 (rint_test_upward): Likewise.
16605 (round_test): Likewise.
16606 (scalb_test): Likewise.
16607 (scalbn_test): Likewise.
16608 (scalbln_test): Likewise.
16609 (signbit_test): Likewise.
16610 (sin_test): Likewise.
16611 (sin_test_tonearest): Likewise.
16612 (sin_test_towardzero): Likewise.
16613 (sin_test_downward): Likewise.
16614 (sin_test_upward): Likewise.
16615 (sincos_test): Likewise.
16616 (sinh_test): Likewise.
16617 (sinh_test_tonearest): Likewise.
16618 (sinh_test_towardzero): Likewise.
16619 (sinh_test_downward): Likewise.
16620 (sinh_test_upward): Likewise.
16621 (sqrt_test): Likewise.
16622 (sqrt_test_tonearest): Likewise.
16623 (sqrt_test_towardzero): Likewise.
16624 (sqrt_test_downward): Likewise.
16625 (sqrt_test_upward): Likewise.
16626 (tan_test): Likewise.
16627 (tan_test_tonearest): Likewise.
16628 (tan_test_towardzero): Likewise.
16629 (tan_test_downward): Likewise.
16630 (tan_test_upward): Likewise.
16631 (tanh_test): Likewise.
16632 (tgamma_test): Likewise.
16633 (trunc_test): Likewise.
16634 (y0_test): Likewise.
16635 (y1_test): Likewise.
16636 (yn_test): Likewise.
16637 (significand_test): Likewise.
16638
16639 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16640 individual tests in comment.
16641 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16642 (prev_max_error): New variable.
16643 (prev_real_max_error): Likewise.
16644 (prev_imag_max_error): Likewise.
16645 (compare_ulp_data): Don't refer to test names in comment.
16646 (find_test_ulps): Remove function.
16647 (find_function_ulps): Likewise.
16648 (find_complex_function_ulps): Likewise.
16649 (init_max_error): Take function name as argument. Look up ulps
16650 for that function.
16651 (print_ulps): Remove function.
16652 (print_max_error): Use prev_max_error instead of calling
16653 find_function_ulps.
16654 (print_complex_max_error): Use prev_real_max_error and
16655 prev_imag_max_error instead of calling find_complex_function_ulps.
16656 (check_float_internal): Take max_ulp parameter instead of calling
16657 find_test_ulps. Don't call print_ulps.
16658 (check_float): Update call to check_float_internal.
16659 (check_complex): Update calls to check_float_internal.
16660 (START): Pass argument to init_max_error.
16661 * math/gen-libm-test.pl (%results): Don't include "kind"
16662 information.
16663 (parse_ulps): Don't handle ulps of individual tests.
16664 (print_ulps_file): Likewise.
16665 (output_ulps): Likewise.
16666 * math/README.libm-test: Update.
16667 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16668 individual tests.
16669 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16670 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16671 * sysdeps/arm/libm-test-ulps: Likewise.
16672 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16673 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16674 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16675 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16676 * sysdeps/microblaze/libm-test-ulps: Likewise.
16677 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16678 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16680 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16681 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16682 * sysdeps/sh/libm-test-ulps: Likewise.
16683 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16684 * sysdeps/tile/libm-test-ulps: Likewise.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16686
166872014-03-04 Joseph Myers <joseph@codesourcery.com>
16688
16689 * math/libm-test.inc (print_complex_max_error): Check separately
16690 whether real and imaginary errors are within allowed range and
16691 pass 0 to print_complex_function_ulps instead of value within
16692 allowed range.
16693
166942014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16695
16696 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16697 formatting.
16698 (get_handles_fopen): Likewise.
16699 (do_write_test): Likewise.
16700
16701 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16702
16703 * libio/fileops.c (do_ftell): Use cached offset when
16704 available.
16705 * libio/iofwide.c (do_ftell_wide): Likewise.
16706 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16707 _IO_file_attach.
16708 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16709
16710 [BZ #16532]
16711 * libio/libioP.h (get_file_offset): New function.
16712 * libio/fileops.c (get_file_offset): Likewise.
16713 (do_ftell): Likewise.
16714 (_IO_new_file_seekoff): Split out ftell logic.
16715 * libio/wfileops.c (do_ftell_wide): Likewise.
16716 (_IO_wfile_seekoff): Split out ftell logic.
16717 * libio/tst-ftell-active-handler.c: New test case.
16718 * libio/Makefile (tests): Add it.
16719
167202014-03-03 Roland McGrath <roland@hack.frob.com>
16721
16722 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16723 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16724
167252014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16726
16727 [BZ #16639]
16728 * nscd/connections.c (nscd_init): Call do_exit.
16729 (start_threads): Call do_exit and notify_parent.
16730 (begin_drop_privileges): Call do_exit.
16731 (finish_drop_privileges): Likewise.
16732 * nscd/selinux.c (preserve_capabilities): Likewise.
16733 (install_real_capabilities): Likewise.
16734 (nscd_selinux_enabled): Likewise.
16735 (avc_create_thread): Likewise.
16736 (avc_alloc_lock): Likewise.
16737 (nscd_avc_init): Likewise.
16738 * nscd/nscd.c (parent_fd): New static variable.
16739 (main): Create a pipe between parent and child processes.
16740 Skip closing parent_fd.
16741 (monitor_child): New function.
16742 (do_exit): Likewise.
16743 (notify_parent): Likewise.
16744 * nscd/nscd.h (notify_parent): Likewise.
16745 (do_exit): Likewise.
16746
167472014-03-03 Carlos O'Donell <carlos@redhat.com>
16748
16749 * malloc/malloc.c (__libc_calloc): Revert last change.
16750
167512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16752
16753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16754
167552014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16756
16757 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16759 implementation.
16760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16761 (__libc_ifunc_impl_list): Likewise.
16762 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16763 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16764 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16765 * string/strrchr.c: Define STRRCHR.
16766
167672014-02-28 Ondřej Bílka <neleai@seznam.cz>
16768
16769 * benchtest/bench-strtok.c (simple_strtok): Delete.
16770 (strtok_string): Use as benchmark.
16771 * string/strtok (STRTOK): New macro.
16772
167732014-02-28 Carlos O'Donell <carlos@redhat.com>
16774
16775 * manual/threads.texi: Add header and standard comments to all
16776 functions.
16777
16778 * elf/dl-lookup.c (check_match): New function.
16779 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16780 (do_lookup_x): Remove nested function check_match. Use non-nested
16781 function check_match.
16782
167832014-02-28 Roland McGrath <roland@hack.frob.com>
16784
16785 * csu/Makefile (generated, before-compile): Use += rather than =.
16786 * catgets/Makefile (generated, generated-dirs): Likewise.
16787 * debug/Makefile (generated): Likewise.
16788 * dlfcn/Makefile (generated): Likewise.
16789 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16790 * iconvdata/Makefile (before-compile, generated): Likewise.
16791 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16792 * libio/Makefile (generated): Likewise.
16793 * malloc/Makefile (generated): Likewise.
16794 * manual/Makefile (generated, generated-dirs): Likewise.
16795 * misc/Makefile (generated): Likewise.
16796 * posix/Makefile (generated): Likewise.
16797 * resolv/Makefile (generated): Likewise.
16798 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16799 * timezone/Makefile (generated, generated-dirs): Likewise.
16800
16801 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16802
168032014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16806 power8 implementation.
16807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16808 file: POWER8 llround ifunc implementation.
16809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16810 (__lllround): Add POWER8 implementation.
16811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16812 POWER8 llround implementation.
16813
16814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16815 power8 implementation.
16816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16817 file: POWER8 llrint ifunc implementation.
16818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16819 Add POWER8 implementation.
16820 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16821 POWER8 llrint implementation.
16822
16823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16824 power8 implementation.
16825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16826 file: POWER8 finite ifunc implementation.
16827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16828 Add POWER8 implementation.
16829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16830 Likewise.
16831 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16832 POWER8 finite implementation.
16833 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16834
16835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16836 power8 implementation.
16837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16838 file: POWER8 isinf ifunc implementation.
16839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16840 POWER8 implementation.
16841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16842 Likewise.
16843 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16844 isinf implementation.
16845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16846
16847 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16848 (INIT_ARCH): Add hwcap2 initialization.
16849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16850 power8 implementation.
16851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16852 file: POWER8 isnan ifunc implementation.
16853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16854 POWER8 implementation.
16855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16856 Likewise.
16857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16858 isnan implementation.
16859 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16860
168612014-02-27 Joey Ye <joey.ye@arm.com>
16862
16863 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16864 (_FP_NANFRAC_Q): Set to zero.
16865
168662014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16867
16868 [BZ #16623]
16869 * math/auto-libm-test-in: New test inputs.
16870 * math/auto-libm-test-out: Regenerate.
16871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16872 and DA.
16873 (__cos): Likewise.
16874 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16875
168762014-02-27 Joseph Myers <joseph@codesourcery.com>
16877
16878 * scripts/evaluate-test.sh: Take new argument indicating whether
16879 failure is expected.
16880 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16881 indicating whether failure is expected.
16882 * conform/Makefile (test-xfail-run-conformtest): New variable.
16883 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16884 level.
16885 * posix/Makefile (test-xfail-annexc): New variable.
16886 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16887
168882014-02-26 Joseph Myers <joseph@codesourcery.com>
16889
16890 * argp/Makefile: Include Makeconfig immediately after defining
16891 subdir.
16892 * assert/Makefile: Likewise.
16893 * benchtests/Makefile: Likewise.
16894 * catgets/Makefile: Likewise.
16895 * conform/Makefile: Likewise.
16896 * crypt/Makefile: Likewise.
16897 * csu/Makefile: Likewise.
16898 (all): Remove target.
16899 * ctype/Makefile: Include Makeconfig immediately after defining
16900 subdir.
16901 * debug/Makefile: Likewise.
16902 * dirent/Makefile: Likewise.
16903 * dlfcn/Makefile: Likewise.
16904 * gmon/Makefile: Likewise.
16905 * gnulib/Makefile: Likewise.
16906 * grp/Makefile: Likewise.
16907 * gshadow/Makefile: Likewise.
16908 * hesiod/Makefile: Likewise.
16909 * hurd/Makefile: Likewise.
16910 (all): Remove target.
16911 * iconvdata/Makefile: Include Makeconfig immediately after
16912 defining subdir.
16913 * inet/Makefile: Likewise.
16914 * intl/Makefile: Likewise.
16915 * io/Makefile: Likewise.
16916 * libio/Makefile: Likewise.
16917 (all): Remove target.
16918 * locale/Makefile: Include Makeconfig immediately after defining
16919 subdir.
16920 * login/Makefile: Likewise.
16921 * mach/Makefile: Likewise.
16922 (all): Remove target.
16923 * malloc/Makefile: Include Makeconfig immediately after defining
16924 subdir.
16925 (all): Remove target.
16926 * manual/Makefile: Include Makeconfig immediately after defining
16927 subdir.
16928 * math/Makefile: Likewise.
16929 * misc/Makefile: Likewise.
16930 * nis/Makefile: Likewise.
16931 * nss/Makefile: Likewise.
16932 * po/Makefile: Likewise.
16933 (all): Remove target.
16934 * posix/Makefile: Include Makeconfig immediately after defining
16935 subdir.
16936 * pwd/Makefile: Likewise.
16937 * resolv/Makefile: Likewise.
16938 * resource/Makefile: Likewise.
16939 * rt/Makefile: Likewise.
16940 * setjmp/Makefile: Likewise.
16941 * shadow/Makefile: Likewise.
16942 * signal/Makefile: Likewise.
16943 * socket/Makefile: Likewise.
16944 * soft-fp/Makefile: Likewise.
16945 * stdio-common/Makefile: Likewise.
16946 * stdlib/Makefile: Likewise.
16947 * streams/Makefile: Likewise.
16948 * string/Makefile: Likewise.
16949 * sunrpc/Makefile: Likewise.
16950 (all): Remove target.
16951 * sysvipc/Makefile: Include Makeconfig immediately after defining
16952 subdir.
16953 * termios/Makefile: Likewise.
16954 * time/Makefile: Likewise.
16955 * timezone/Makefile: Likewise.
16956 (all): Remove target.
16957 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16958 subdir.
16959 * wctype/Makefile: Likewise.
16960
169612014-02-26 Steve Ellcey <sellcey@mips.com>
16962
16963 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16964 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16965 (libc_feholdexcept_setround_mips): Ditto.
16966 (libc_feholdsetround): New.
16967 (libc_feholdsetroundf): New.
16968 (libc_feholdsetroundl): New.
16969 (libc_feupdateenv_test_mips): New.
16970 (libc_feupdateenv_test): New.
16971 (libc_feupdateenv_testf): New.
16972 (libc_feupdateenv_testl): New.
16973 (libc_feresetround): New.
16974 (libc_feresetroundf): New.
16975 (libc_feresetroundl): New.
16976 (libc_fetestexcept_mips): New.
16977 (libc_fetestexcept): New.
16978 (libc_fetestexceptf): New.
16979 (libc_fetestexceptl): New.
16980 (HAVE_RM_CTX): New.
16981 (libc_feholdexcept_setround_mips_ctx): New.
16982 (libc_feholdexcept_setround_ctx): New.
16983 (libc_feholdexcept_setroundf_ctx): New.
16984 (libc_feholdexcept_setroundl_ctx): New.
16985 (libc_fesetenv_mips_ctx): New.
16986 (libc_fesetenv_ctx): New.
16987 (libc_fesetenv_ctxf): New.
16988 (libc_fesetenv_ctxl): New.
16989 (libc_feupdateenv_mips_ctx): New.
16990 (libc_feupdateenv_ctx): New.
16991 (libc_feupdateenvf_ctx): New.
16992 (libc_feupdateenvl_ctx): New.
16993 (libc_feholdsetround_mips_ctx): New.
16994 (libc_feholdsetround_ctx): New.
16995 (libc_feholdsetroundf_ctx): New.
16996 (libc_feholdsetroundl_ctx): New.
16997 (libc_feresetround_mips_ctx): New.
16998 (libc_feresetround_ctx): New.
16999 (libc_feresetroundf_ctx): New.
17000 (libc_feresetroundl_ctx): New.
17001
170022014-02-26 Carlos O'Donell <carlos@redhat.com>
17003
17004 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17005
17006 * manual/ipc.texi: New file.
17007 * manual/Makefile (chapters): Add ipc.
17008 * manual/job.texi: Add "Inter-Process Communication" to next.
17009 * manual/process.texi: Add "Inter-Process Communication" to prev.
17010
170112014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012
17013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17014
170152014-02-26 Ondřej Bílka <neleai@seznam.cz>
17016
17017 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17018
17019 * manual/arith.texi: Fix spaces after sentences.
17020 * manual/charset.texi: Likewise.
17021 * manual/errno.texi: Likewise.
17022 * manual/install.texi: Likewise.
17023 * manual/llio.texi: Likewise.
17024 * manual/locale.texi: Likewise.
17025 * manual/maint.texi: Likewise.
17026 * manual/math.texi: Likewise.
17027 * manual/memory.texi: Likewise.
17028 * manual/message.texi: Likewise.
17029 * manual/probes.texi: Likewise.
17030 * manual/resource.texi: Likewise.
17031 * manual/signal.texi: Likewise.
17032 * manual/socket.texi: Likewise.
17033 * manual/stdio.texi: Likewise.
17034 * manual/string.texi: Likewise.
17035 * manual/time.texi: Likewise.
17036 * manual/users.texi: Likewise.
17037
170382014-02-25 Carlos O'Donell <carlos@redhat.com>
17039
17040 [BZ #16632]
17041 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17042 _DEFAULT_SOURCE is defined.
17043
170442014-02-25 Ulrich Drepper <drepper@gmail.com>
17045 Carlos O'Donell <carlos@redhat.com>
17046
17047 [BZ #16613]
17048 * elf/dl-tls.c (_dl_count_modids): New function.
17049 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17050 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17051 audit library and increment generation counter.
17052 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17053 * elf/tst-audit9.c: New file.
17054 * elf/tst-auditmod9a.c: New file.
17055 * elf/tst-auditmod9b.c: New file.
17056 * elf/Makefile: Add rules to build and run tst-audit9.
17057
170582014-02-25 Florian Weimer <fweimer@redhat.com>
17059
17060 [BZ #15347]
17061 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17062
170632014-02-25 Will Newton <will.newton@linaro.org>
17064
17065 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17066 (__longjmp): Restore sp and lr before restoring callee
17067 saved registers. Add longjmp and longjmp_target
17068 SystemTap probe point.
17069 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17070 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17071 Define to zero to match jmpbuf layout.
17072 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17073 (__sigsetjmp): Save sp and lr before saving callee
17074 saved registers. Add setjmp SystemTap probe point.
17075
170762014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17077
17078 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17079
170802014-02-24 Andreas Schwab <schwab@suse.de>
17081
17082 [BZ #15804]
17083 * elf/pldd.c (wait_for_ptrace_stop): New function.
17084 (main): Call it after attaching.
17085
170862014-02-22 Roland McGrath <roland@hack.frob.com>
17087
17088 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17089 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17090 Versions files is now verboten.
17091 * hurd/Versions (libc: GLIBC_2.0):
17092 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17093 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17094 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17095 * mach/Versions: Likewise.
17096
17097 * csu/Versions: Remove unused %include.
17098 * resolv/Versions: Likewise.
17099
171002014-02-21 Joseph Myers <joseph@codesourcery.com>
17101
17102 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17103 ($(objpfx)check-local-headers.out): Likewise.
17104 ($(objpfx)begin-end-check.out): Likewise.
17105 * Makerules (check-abi-%.out): Likewise.
17106 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17107 ($(objpfx)test2.cat): Likewise.
17108 ($(objpfx)de/libc.cat): Likewise.
17109 ($(objpfx)test-gencat.out): Likewise.
17110 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17111 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17112 ($(objpfx)noload-mem): Likewise.
17113 ($(objpfx)tst-pathopt.out): Likewise.
17114 ($(objpfx)tst-rtld-load-self.out): Likewise.
17115 ($(objpfx)tst-array1-cmp.out): Likewise.
17116 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17117 ($(objpfx)tst-array2-cmp.out): Likewise.
17118 ($(objpfx)tst-array3-cmp.out): Likewise.
17119 ($(objpfx)tst-array4-cmp.out): Likewise.
17120 ($(objpfx)tst-array5-cmp.out): Likewise.
17121 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17122 ($(objpfx)check-textrel.out): Likewise.
17123 ($(objpfx)check-execstack.out): Likewise.
17124 ($(objpfx)check-localplt.out): Likewise.
17125 ($(objpfx)order2-cmp.out): Likewise.
17126 ($(objpfx)tst-leaks1-mem): Likewise.
17127 ($(objpfx)tst-leaks1-static-mem): Likewise.
17128 ($(objpfx)tst-initorder-cmp.out): Likewise.
17129 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17130 ($(objpfx)tst-unused-dep.out): Likewise.
17131 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17132 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17133 * iconv/Makefile (test-iconvconfig): Likewise.
17134 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17135 ($(objpfx)iconv-test.out): Likewise.
17136 ($(objpfx)tst-tables.out): Likewise.
17137 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17138 ($(objpfx)tst-gettext.out): Likewise.
17139 ($(objpfx)tst-translit.out): Likewise.
17140 ($(objpfx)tst-gettext2.out): Likewise.
17141 ($(objpfx)tst-gettext4.out): Likewise.
17142 ($(objpfx)tst-gettext6.out): Likewise.
17143 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17144 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17145 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17146 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17148 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17149 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17150 ($(objpfx)wordexp-tst.out): Likewise.
17151 ($(objpfx)annexc.out): Likewise.
17152 ($(objpfx)tst-fnmatch-mem): Likewise.
17153 ($(objpfx)bug-regex2-mem): Likewise.
17154 ($(objpfx)bug-regex14-mem): Likewise.
17155 ($(objpfx)bug-regex21-mem): Likewise.
17156 ($(objpfx)bug-regex31-mem): Likewise.
17157 ($(objpfx)tst-vfork3-mem): Likewise.
17158 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17159 ($(objpfx)tst-pcre-mem): Likewise.
17160 ($(objpfx)tst-boost-mem): Likewise.
17161 ($(objpfx)tst-getconf.out): Likewise.
17162 ($(objpfx)bug-ga2-mem): Likewise.
17163 ($(objpfx)bug-glob2-mem): Likewise.
17164 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17165 ($(objpfx)mtrace-tst-leaks2): Likewise.
17166 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17167 ($(objpfx)tst-printf.out): Likewise.
17168 ($(objpfx)tst-setvbuf1.out): Likewise.
17169 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17170 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17171 ($(objpfx)tst-fmtmsg.out): Likewise.
17172 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17173 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17174
17175 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17176 * bits/sigaction.h [__USE_MISC]: Likewise.
17177 * bits/waitstatus.h: Update #endif comments.
17178 * ctype/ctype.h: Likewise.
17179 * dirent/dirent.h: Likewise.
17180 [__USE_MISC]: Remove redundant conditionals.
17181 * grp/grp.h: Update #endif comments.
17182 [__USE_GNU]: Remove redundant conditionals.
17183 [__USE_MISC]: Likewise.
17184 * inet/netinet/in.h [__USE_GNU]: Likewise.
17185 * io/sys/stat.h [__USE_MISC]: Likewise.
17186 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17187 * libio/bits/stdio.h: Update #endif comments.
17188 [__USE_MISC]: Remove redundant conditionals.
17189 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17190 * libio/stdio.h: Update #endif comments.
17191 [__USE_MISC]: Remove redundant conditionals.
17192 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17193 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17194 * math/math.h: Update #else and #endif comments.
17195 [__USE_MISC]: Remove redundant conditionals.
17196 * misc/sys/uio.h: Update #endif comments.
17197 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17198 * posix/glob.h [__USE_MISC]: Likewise.
17199 * posix/sys/types.h: Update #endif comments.
17200 [__USE_MISC]: Remove redundant conditionals.
17201 * posix/sys/wait.h: Update #endif comments.
17202 [__USE_MISC]: Remove redundant conditionals.
17203 * posix/unistd.h: Update #endif comments.
17204 [__USE_MISC]: Remove redundant conditionals.
17205 * pwd/pwd.h [__USE_GNU]: Likewise.
17206 [__USE_MISC]: Likewise.
17207 * resolv/netdb.h [__USE_GNU]: Likewise.
17208 * signal/signal.h: Update #endif comments.
17209 [__USE_MISC]: Remove redundant conditionals.
17210 * stdlib/stdlib.h: Update #else and #endif comments.
17211 [__USE_MISC]: Remove redundant conditionals.
17212 [__USE_GNU]: Likewise.
17213 * string/bits/string2.h [__USE_MISC]: Likewise.
17214 * string/string.h: Update #endif comments.
17215 [__USE_MISC]: Remove redundant conditionals.
17216 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17217 Likewise.
17218 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17219 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17220 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17221 Likewise.
17222 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17223 Likewise.
17224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17225 comments.
17226 [__USE_MISC]: Remove redundant conditionals.
17227 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17228 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17229 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17230 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17231 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17232 Likewise.
17233 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17234 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17235 Likewise.
17236 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17237 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17238 Likewise.
17239 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17240 Likewise.
17241 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17242 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17243 Likewise.
17244 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17245 Likewise.
17246 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17247 * sysdeps/x86/bits/string.h: Update #endif comments.
17248 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17249 conditionals.
17250 * time/sys/time.h: Update #endif comments.
17251 * time/time.h: Likewise.
17252 [__USE_MISC]: Remove redundant conditionals.
17253
172542014-02-21 Yury Gribov <y.gribov@samsung.com>
17255
17256 [BZ #16600]
17257 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17258
172592014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17260
17261 * Versions.def (librt): Add GLIBC_2.17.
17262
172632014-02-21 Adam Conrad <adconrad@0c3.net>
17264
17265 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17266 synonym for _SYS_AUXV_H to allow direct inclusion.
17267 * sysdeps/sparc/bits/hwcap.h: Likewise.
17268 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17269 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17270 * sysdeps/sparc/sysdep.h: Likewise.
17271
172722014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17273
17274 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17275
172762014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17277
17278 * benchtests/bench-strrchr.c: Print length instead of position.
17279
172802014-02-20 Joseph Myers <joseph@codesourcery.com>
17281
17282 [BZ #16611]
17283 * sysdeps/unix/sysv/linux/kernel-features.h
17284 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17285 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17286 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17287 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17288 Likewise.
17289 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17290 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17291 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17292 (__ASSUME_SENDMMSG): Define instead of using previous
17293 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17294 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17295 (__ASSUME_SENDMMSG_SYSCALL): Define.
17296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17297 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17298 Likewise.
17299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17300 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17301 Likewise.
17302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17303 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17304 Likewise.
17305 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17306 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17307 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17308 [__ASSUME_SENDMMSG]: Change conditionals to
17309 [__ASSUME_SENDMMSG_SOCKETCALL].
17310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17311 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17312 Define.
17313 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17314 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17315 Likewise.
17316 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17317 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17318 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17319 [!__ASSUME_SENDMMSG]: Change conditional to
17320 [!__ASSUME_SENDMMSG_SOCKETCALL].
17321 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17322 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17323 Define.
17324
17325 [BZ #16610]
17326 * sysdeps/unix/sysv/linux/kernel-features.h
17327 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17328 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17329 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17330 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17331 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17332 [__i386__ || __sparc__]
17333 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17334 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17335 (__ASSUME_RECVMMSG): Define instead of using previous
17336 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17338 (__ASSUME_RECVMMSG_SYSCALL): Define.
17339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17341 Likewise.
17342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17344 Likewise.
17345 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17346 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17347 Likewise.
17348 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17349 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17350 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17351 [__ASSUME_RECVMMSG]: Change condition to
17352 [__ASSUME_RECVMMSG_SOCKETCALL].
17353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17354 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17355 Define.
17356 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17357 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17359 Likewise.
17360 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17361 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17362 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17363 [!__ASSUME_RECVMMSG]: Change condition to
17364 [!__ASSUME_RECVMMSG_SOCKETCALL].
17365 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17366 (__ASSUME_RECVMMSG_SYSCALL): Define.
17367
17368 [BZ #16609]
17369 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17370 __powerpc__ || __s390__ || __sh__ || __sparc__]
17371 (__ASSUME_SOCKETCALL): Define.
17372 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17373 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17374 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17375 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17376 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17377 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17378 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17379 (__ASSUME_ACCEPT4): Define instead of using previous
17380 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17381 __powerpc__ || __sparc__ || __s390__)] condition.
17382 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17383 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17384 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17385 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17386 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17387 [!__ASSUME_ACCEPT4]: Change condition to
17388 [!__ASSUME_ACCEPT4_SOCKETCALL].
17389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17390 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17391 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17393 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17394 __ASSUME_ACCEPT4_SYSCALL.
17395 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17396 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17398 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17399 __ASSUME_ACCEPT4_SYSCALL.
17400 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17401 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17402 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17403 [__ASSUME_ACCEPT4]: Change condition to
17404 [__ASSUME_ACCEPT4_SOCKETCALL].
17405 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17406 (__ASSUME_SOCKETCALL): Define.
17407 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17409 (__ASSUME_SOCKETCALL): Define.
17410 (__ASSUME_ACCEPT4): Remove.
17411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17412 Define.
17413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17414 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17415 Likewise.
17416 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17417 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17418
17419 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17420 macro.
17421 (HWCAP_ARM_LPAE): Likewise.
17422 (HWCAP_ARM_EVTSTRM): Likewise.
17423 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17424 Add vpfd32, lpae and evtstrm.
17425 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17426 Increase to 22.
17427
174282014-02-19 Joseph Myers <joseph@codesourcery.com>
17429
17430 * math/auto-libm-test-in: Add tests of clog10.
17431 * math/auto-libm-test-out: Regenerated.
17432 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17433 * sysdeps/i386/fpu/libm-test-ulps: Update.
17434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17435
174362014-02-18 Andreas Schwab <schwab@suse.de>
17437
17438 [BZ #16574]
17439 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17440 Store non-zero if the second buffer was newly allocated.
17441 (send_dg): Likewise.
17442 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17443 to send_vc and send_dg.
17444 (res_nsend): Pass NULL for ansp2_malloced.
17445 * resolv/res_query.c (__libc_res_nquery): Add parameter
17446 answerp2_malloced and pass it down to __libc_res_nsend.
17447 (res_nquery): Pass additional NULL to __libc_res_nquery.
17448 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17449 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17450 second answer buffer if answerp2_malloced was set.
17451 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17452 (__libc_res_nquerydomain): Add parameter
17453 answerp2_malloced and pass it down to __libc_res_nquery.
17454 (res_nquerydomain): Pass additional NULL to
17455 __libc_res_nquerydomain.
17456 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17457 additional NULL to __libc_res_nsend and __libc_res_nquery.
17458 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17459 additional NULL to __libc_res_nsearch.
17460 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17461 parameter of __libc_res_nsearch to check for separately allocated
17462 second buffer.
17463 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17464 __libc_res_nquery.
17465 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17466 additional NULL to __libc_res_nquery.
17467 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17468 __libc_res_nsearch.
17469 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17470 * include/resolv.h: Update prototypes of __libc_res_nquery,
17471 __libc_res_nsearch, __libc_res_nsend.
17472
174732014-02-18 Joseph Myers <joseph@codesourcery.com>
17474
17475 * math/auto-libm-test-in: Add tests of fma.
17476 * math/auto-libm-test-out: Regenerated.
17477 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17478 (fma_towardzero_test_data): Likewise.
17479 (fma_downward_test_data): Likewise.
17480 (fma_upward_test_data): Likewise.
17481 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17482 mpc_mode.
17483 (rounding_modes): Add values for new field.
17484 (func_calc_method): Add value mpfr_fff_f.
17485 (func_calc_desc): Add mpfr_fff_f union field.
17486 (test_function): Add field exact_args.
17487 (FUNC): Add macro argument EXACT_ARGS.
17488 (FUNC_mpfr_f_f): Update call to FUNC.
17489 (FUNC_mpfr_f_f): Likewise.
17490 (FUNC_mpfr_ff_f): Likewise.
17491 (FUNC_mpfr_if_f): Likewise.
17492 (FUNC_mpc_c_f): Likewise.
17493 (FUNC_mpc_c_c): Likewise.
17494 (test_functions): Add fma. Update calls to FUNC.
17495 (handle_input_arg): Add argument exact_args.
17496 (add_test): Update call to handle_input_arg.
17497 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17498 (output_for_one_input_case): Update call to calc_generic_results.
17499 Recalculate exact zero results in each rounding mode.
17500
17501 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17502 non-negative before setting low bit.
17503 * math/auto-libm-test-in: Mark one asin test possibly having
17504 spurious underflow.
17505 * math/auto-libm-test-out: Regenerated.
17506 * sysdeps/i386/fpu/libm-test-ulps: Update.
17507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17508
175092014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17510
17511 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17512 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17513 ports/sysdeps/unix/sysv/linux/microblaze.
17514 * README: Add missing listing for microblaze*-*-linux-gnu.
17515
175162014-02-16 Ondřej Bílka <neleai@seznam.cz>
17517
17518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17519 duplicate code
17520
175212014-02-16 Mike Frysinger <vapier@gentoo.org>
17522
17523 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17524 * sysdeps/unix/sysv/linux/ia64: Move directory from
17525 ports/sysdeps/unix/sysv/linux/ia64.
17526 * README: Update listing for ia64-*-linux-gnu.
17527
175282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17529 Joseph Myers <joseph@codesourcery.com>
17530
17531 * Makeconfig (test-name): New variable.
17532 (evaluate-test): Likewise.
17533 * Makerules (do-test-clean): Remove .test-result files.
17534 (common-mostlyclean): Likewise.
17535 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17536 * scripts/evaluate-test.sh: New file.
17537
175382014-02-14 Joseph Myers <joseph@codesourcery.com>
17539
17540 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17541 separate $(objpfx)tst-fopenloc-cmp.out and
17542 $(objpfx)tst-fopenloc-mem.out targets.
17543 (tests): Update dependencies.
17544 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17545 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17546 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17547 (tst-rxspencer-no-utf8-ARGS): New variable.
17548 (tst-rxspencer-no-utf8-ENV): Likewise.
17549 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17550 instead of $(objpfx)tst-rxspencer-mem.
17551 ($(objpfx)tst-rxspencer-mem): Change target to
17552 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17553 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17554 * posix/tst-rxspencer-no-utf8.c: New file.
17555
17556 * elf/Makefile ($(objpfx)order.out): Remove rule.
17557 [$(run-built-tests) = yes] (tests): Depend on
17558 $(objpfx)order-cmp.out.
17559 ($(objpfx)order-cmp.out): New rule.
17560 [$(run-built-tests) = yes] (tests): Depend on
17561 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17562 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17563 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17564 $(objpfx)tst-array5-static-cmp.out.
17565 ($(objpfx)tst-array1.out): Remove rule.
17566 ($(objpfx)tst-array1-cmp.out): New rule.
17567 ($(objpfx)tst-array1-static.out): Remove rule.
17568 ($(objpfx)tst-array1-static-cmp.out): New rule.
17569 ($(objpfx)tst-array2.out): Remove rule.
17570 ($(objpfx)tst-array2-cmp.out): New rule.
17571 ($(objpfx)tst-array3.out): Remove rule.
17572 ($(objpfx)tst-array3-cmp.out): New rule.
17573 ($(objpfx)tst-array4.out): Remove rule.
17574 ($(objpfx)tst-array4-cmp.out): New rule.
17575 ($(objpfx)tst-array5.out): Remove rule.
17576 ($(objpfx)tst-array5-cmp.out): New rule.
17577 ($(objpfx)tst-array5-static.out): Remove rule.
17578 ($(objpfx)tst-array5-static-cmp.out): New rule.
17579 [$(run-built-tests) = yes] (tests): Depend on
17580 $(objpfx)order2-cmp.out.
17581 ($(objpfx)order2.out): Remove rule.
17582 ($(objpfx)order2-cmp.out): New rule.
17583 ($(objpfx)tst-initorder.out): Remove rule.
17584 [$(run-built-tests) = yes] (tests): Depend on
17585 $(objpfx)tst-initorder-cmp.out.
17586 ($(objpfx)tst-initorder-cmp.out): New rule.
17587 ($(objpfx)tst-initorder2.out): Remove rule.
17588 [$(run-built-tests) = yes] (tests): Depend on
17589 $(objpfx)tst-initorder2-cmp.out.
17590 ($(objpfx)tst-initorder2-cmp.out): New rule.
17591 [$(run-built-tests) = yes] (tests): Depend on
17592 $(objpfx)tst-unused-dep-cmp.out.
17593 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17594 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17595 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17596 on $(objpfx)tst-setvbuf1-cmp.out.
17597 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17598 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17599 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17600 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17601 ($(objpfx)tst-svc.out): Remove rule.
17602 ($(objpfx)tst-svc-cmp.out): New rule.
17603
176042014-02-13 Joseph Myers <joseph@codesourcery.com>
17605
17606 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17607 * ctype/ctype.h [__USE_MISC]: Likewise.
17608 * dirent/dirent.h [__USE_MISC]: Likewise.
17609 * grp/grp.h [__USE_MISC]: Likewise.
17610 * io/fcntl.h [__USE_MISC]: Likewise.
17611 * io/sys/stat.h [__USE_MISC]: Likewise.
17612 * libio/stdio.h [__USE_MISC]: Likewise.
17613 * posix/unistd.h [__USE_MISC]: Likewise.
17614 * pwd/pwd.h [__USE_MISC]: Likewise.
17615 * stdlib.h [__USE_MISC]: Likewise.
17616 * string/bits/string2.h [__USE_MISC]: Likewise.
17617 * string/string.h [__USE_MISC]: Likewise.
17618 * time/time.h [__USE_MISC]: Likewise.
17619
176202014-02-13 Andreas Schwab <schwab@suse.de>
17621
17622 [BZ #16574]
17623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17624 second answer buffer if it was separately allocated.
17625
176262014-02-12 Joseph Myers <joseph@codesourcery.com>
17627
17628 * sysdeps/mips/math-tests.h: Include <features.h>.
17629 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17630 (ROUNDING_TESTS_long_double): Do not define.
17631 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17632 (EXCEPTION_TESTS_long_double): Likewise.
17633 * sysdeps/mips/mips64/libm-test-ulps: Update.
17634
17635 * include/features.h (__USE_BSD): Remove macro definitions.
17636 (__USE_SVID): Likewise.
17637 (_BSD_SOURCE): Likewise.
17638 (_SVID_SOURCE): Likewise.
17639 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17640 from definition of _DEFAULT_SOURCE.
17641 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17642 [_DEFAULT_SOURCE].
17643 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17644 * bits/mman.h [__USE_BSD]: Likewise.
17645 * bits/termios.h [__USE_BSD]: Likewise.
17646 * bits/waitstatus.h [__USE_BSD]: Likewise.
17647 * ctype/ctype.h [__USE_SVID]: Likewise.
17648 * dirent/dirent.h [__USE_BSD]: Likewise.
17649 * grp/grp.h [__USE_SVID]: Likewise.
17650 [__USE_BSD]: Likewise.
17651 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17652 * io/fcntl.h [__USE_BSD]: Likewise.
17653 * io/ftw.h [__USE_BSD]: Likewise.
17654 * io/sys/stat.h [__USE_BSD]: Likewise.
17655 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17656 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17657 * libio/stdio.h [__USE_SVID]: Likewise.
17658 [__USE_BSD]: Likewise.
17659 * math/math.h [__USE_SVID]: Likewise.
17660 [__USE_BSD]: Likewise.
17661 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17662 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17663 * misc/search.h [__USE_SVID]: Likewise.
17664 * misc/sys/mman.h [__USE_BSD]: Likewise.
17665 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17666 * misc/sys/uio.h [__USE_BSD]: Likewise.
17667 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17668 * posix/glob.h [__USE_BSD]: Likewise.
17669 * posix/regex.h [__USE_BSD]: Likewise.
17670 * posix/sys/types.h [__USE_BSD]: Likewise.
17671 [__USE_SVID]: Likewise.
17672 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17673 * posix/sys/wait.h [__USE_BSD]: Likewise.
17674 [__USE_SVID]: Likewise.
17675 * posix/unistd.h [__USE_BSD]: Likewise.
17676 [__USE_SVID]: Likewise.
17677 * pwd/pwd.h [__USE_SVID]: Likewise.
17678 * resolv/netdb.h [__USE_BSD]: Likewise.
17679 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17680 * signal/signal.h [__USE_BSD]: Likewise.
17681 [__USE_SVID]: Likewise.
17682 * socket/sys/socket.h [__USE_BSD]: Likewise.
17683 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17684 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17685 [__USE_SVID]: Likewise.
17686 * string/bits/string2.h [__USE_BSD]: Likewise.
17687 [__USE_SVID]: Likewise.
17688 * string/bits/string3.h [__USE_BSD]: Likewise.
17689 * string/endian.h [__USE_BSD]: Likewise.
17690 * string/string.h [__USE_SVID]: Likewise.
17691 [__USE_BSD]: Likewise.
17692 * string/strings.h [__USE_BSD]: Likewise.
17693 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17694 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17695 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17696 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17697 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17699 Likewise.
17700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17701 Likewise.
17702 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17703 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17704 Likewise.
17705 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17706 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17707 Likewise.
17708 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17709 Likewise.
17710 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17711 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17713 Likewise.
17714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17715 Likewise.
17716 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17717 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17718 * termios/termios.h [__USE_BSD]: Likewise.
17719 * time/sys/time.h [__USE_BSD]: Likewise.
17720 * time/time.h [__USE_BSD]: Likewise.
17721 [__USE_SVID]: Likewise.
17722
17723 * Makefile (subdir_targets): Remove subdir_lint.out.
17724
17725 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17726 (do-tst-printf): Likewise.
17727 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17728 $(objpfx)tst-printf.out.
17729
17730 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17731
17732 * Makerules (check-abi-%): Change target to
17733 $(objpfx)check-abi-%.out.
17734 (check-abi target): Update dependencies.
17735 (check-abi-pattern variable): Redirect output of diff to $@.
17736 (check-abi variable): Likewise.
17737 * elf/Makefile (check-abi): Update dependencies.
17738
17739 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17740 unused.
17741 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17742 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17743 subnormal range.
17744 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17745 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17746 value has largest subnormal exponent.
17747 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17748 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17749 * sysdeps/aarch64/soft-fp/sfp-machine.h
17750 (_FP_TININESS_AFTER_ROUNDING): New macro.
17751 * sysdeps/alpha/soft-fp/sfp-machine.h
17752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17753 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17754 Likewise.
17755 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17757 * sysdeps/mips/soft-fp/sfp-machine.h
17758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17759 * sysdeps/powerpc/soft-fp/sfp-machine.h
17760 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17761 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17762 Likewise.
17763 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17764 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17766 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17767 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17768 Likewise.
17769
177702014-02-12 Dylan Alex Simon <dylan@dylex.net>
17771
17772 [BZ #16545]
17773 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17774 model 1.
17775
177762014-02-12 Richard Henderson <rth@redhat.com>
17777
17778 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17779 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17780 * sysdeps/unix/sysv/linux/alpha: Move directory from
17781 ports/sysdeps/unix/sysv/linux/alpha.
17782 * README: Update listing for alpha-*-linux-gnu.
17783
177842014-02-11 Joseph Myers <joseph@codesourcery.com>
17785
17786 * include/features.h: Update comment documenting feature test
17787 macros.
17788 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17789 _DEFAULT_SOURCE.
17790 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17791 (_SVID_SOURCE): Likewise.
17792 (_DEFAULT_SOURCE): Update description of default features.
17793 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17794 with _GNU_SOURCE.
17795 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17796 (S_ISVTX): Likewise.
17797 * manual/math.texi (Mathematical Constants): Likewise.
17798 * manual/signal.texi (Interrupted Primitives): Likewise.
17799 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17800 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17801 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17802 Don't refer to _SVID_SOURCE in warning text.
17803
17804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17805
17806 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17807 already defined.
17808 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17809 * sysdeps/mips/dl-lookup.c: Remove.
17810 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17811
178122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17813
17814 [BZ #16447]
17815 * math/auto-libm-test-in: Add testcase for expl.
17816 * math/auto-libm-test-out: Regenerate.
17817 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17818 calculation of unsafe.
17819 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17820
178212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17822
17823 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17824 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17825 ports/sysdeps/unix/sysv/linux/aarch64.
17826 * README: Update listing for aarch64*-*-linux-gnu.
17827
178282014-02-11 Will Newton <will.newton@linaro.org>
17829
17830 * manual/probes.texi (Mathematical Function Probes): Use
17831 "triggered" instead of "hit".
17832
17833 * manual/probes.texi (Internal Probes): Add documentation
17834 of setjmp, longjmp and longjmp_target probes.
17835
17836 * include/stap-probe.h: Add comment about probe argument
17837 format.
17838
17839 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17840 definition. (tr_where, tr_freehook, tr_mallochook,
17841 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17842
178432014-02-11 David S. Miller <davem@davemloft.net>
17844
17845 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17846 processing int_tests.
17847
178482014-02-10 Joseph Myers <joseph@codesourcery.com>
17849
17850 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17851 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17852 * sysdeps/unix/sysv/linux/mips: Move directory from
17853 ports/sysdeps/unix/sysv/linux/mips.
17854 * README: Update listing for mips-*-linux-gnu and
17855 mips64-*-linux-gnu.
17856
178572014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17858
17859 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17860 * sysdeps/unix/sysv/linux/m68k: Move directory from
17861 ports/sysdeps/unix/sysv/linux/m68k.
17862 * README: Update listing for m68k-*-linux-gnu.
17863
178642014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17865
17866 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17867 * sysdeps/unix/sysv/linux/generic: Move directory from
17868 ports/sysdeps/unix/sysv/linux/generic.
17869 * sysdeps/unix/sysv/linux/tile: Move directory from
17870 ports/sysdeps/unix/sysv/linux/tile.
17871 * README: Update listing for tile*-*-linux-gnu.
17872
178732014-02-10 Ondřej Bílka <neleai@seznam.cz>
17874
17875 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17876 __builtin_expect.
17877 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17878 * catgets/open_catalog.c (__open_catalog): Likewise.
17879 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17880 * debug/confstr_chk.c: Likewise.
17881 * debug/fread_chk.c (__fread_chk): Likewise.
17882 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17883 * debug/getgroups_chk.c: Likewise.
17884 * debug/mbsnrtowcs_chk.c: Likewise.
17885 * debug/mbsrtowcs_chk.c: Likewise.
17886 * debug/mbstowcs_chk.c: Likewise.
17887 * debug/memcpy_chk.c: Likewise.
17888 * debug/memmove_chk.c: Likewise.
17889 * debug/mempcpy_chk.c: Likewise.
17890 * debug/memset_chk.c: Likewise.
17891 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17892 * debug/strcat_chk.c (__strcat_chk): Likewise.
17893 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17894 * debug/strncat_chk.c (__strncat_chk): Likewise.
17895 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17896 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17897 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17898 * debug/wcpncpy_chk.c: Likewise.
17899 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17900 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17901 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17902 * debug/wcsncpy_chk.c: Likewise.
17903 * debug/wcsnrtombs_chk.c: Likewise.
17904 * debug/wcsrtombs_chk.c: Likewise.
17905 * debug/wcstombs_chk.c: Likewise.
17906 * debug/wmemcpy_chk.c: Likewise.
17907 * debug/wmemmove_chk.c: Likewise.
17908 * debug/wmempcpy_chk.c: Likewise.
17909 * debug/wmemset_chk.c: Likewise.
17910 * dirent/scandirat.c (SCANDIRAT): Likewise.
17911 * dlfcn/dladdr1.c (dladdr1): Likewise.
17912 * dlfcn/dladdr.c (dladdr): Likewise.
17913 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17914 * dlfcn/dlerror.c (__dlerror): Likewise.
17915 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17916 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17917 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17918 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17919 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17920 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17921 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17922 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17923 Likewise.
17924 * elf/dl-conflict.c: Likewise.
17925 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17926 * elf/dl-dst.h: Likewise.
17927 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17928 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17930 * elf/dl-init.c (call_init, _dl_init): Likewise.
17931 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17932 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17933 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17934 Likewise.
17935 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17936 Likewise.
17937 * elf/dl-minimal.c (__libc_memalign): Likewise.
17938 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17939 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17940 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17941 * elf/dl-sym.c (do_sym): Likewise.
17942 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17943 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17944 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17945 * elf/dl-writev.h (_dl_writev): Likewise.
17946 * elf/ldconfig.c (search_dir): Likewise.
17947 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17948 (dl_main): Likewise.
17949 * elf/setup-vdso.h (setup_vdso): Likewise.
17950 * grp/compat-initgroups.c (compat_call): Likewise.
17951 * grp/fgetgrent.c (fgetgrent): Likewise.
17952 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17953 * grp/putgrent.c (putgrent): Likewise.
17954 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17955 Likewise.
17956 * hurd/hurdinit.c: Likewise.
17957 * iconvdata/8bit-gap.c (struct): Likewise.
17958 * iconvdata/ansi_x3.110.c : Likewise.
17959 * iconvdata/big5.c : Likewise.
17960 * iconvdata/big5hkscs.c : Likewise.
17961 * iconvdata/cp1255.c: Likewise.
17962 * iconvdata/cp1258.c : Likewise.
17963 * iconvdata/cp932.c : Likewise.
17964 * iconvdata/euc-cn.c: Likewise.
17965 * iconvdata/euc-jisx0213.c : Likewise.
17966 * iconvdata/euc-jp.c: Likewise.
17967 * iconvdata/euc-jp-ms.c : Likewise.
17968 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17969 * iconvdata/gb18030.c : Likewise.
17970 * iconvdata/gbbig5.c (const): Likewise.
17971 * iconvdata/gbgbk.c: Likewise.
17972 * iconvdata/gbk.c : Likewise.
17973 * iconvdata/ibm1364.c : Likewise.
17974 * iconvdata/ibm930.c : Likewise.
17975 * iconvdata/ibm932.c: Likewise.
17976 * iconvdata/ibm933.c : Likewise.
17977 * iconvdata/ibm935.c : Likewise.
17978 * iconvdata/ibm937.c : Likewise.
17979 * iconvdata/ibm939.c : Likewise.
17980 * iconvdata/ibm943.c: Likewise.
17981 * iconvdata/iso_11548-1.c: Likewise.
17982 * iconvdata/iso-2022-cn.c : Likewise.
17983 * iconvdata/iso-2022-cn-ext.c : Likewise.
17984 * iconvdata/iso-2022-jp-3.c: Likewise.
17985 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17986 * iconvdata/iso-2022-kr.c : Likewise.
17987 * iconvdata/iso646.c (gconv_end): Likewise.
17988 * iconvdata/iso_6937-2.c : Likewise.
17989 * iconvdata/iso_6937.c : Likewise.
17990 * iconvdata/iso8859-1.c: Likewise.
17991 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17992 * iconvdata/shift_jisx0213.c : Likewise.
17993 * iconvdata/sjis.c : Likewise.
17994 * iconvdata/t.61.c : Likewise.
17995 * iconvdata/tcvn5712-1.c : Likewise.
17996 * iconvdata/tscii.c: Likewise.
17997 * iconvdata/uhc.c : Likewise.
17998 * iconvdata/unicode.c (gconv_end): Likewise.
17999 * iconvdata/utf-16.c (gconv_end): Likewise.
18000 * iconvdata/utf-32.c (gconv_end): Likewise.
18001 * iconvdata/utf-7.c (base64): Likewise.
18002 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18003 * iconv/gconv_close.c (__gconv_close): Likewise.
18004 * iconv/gconv_open.c (__gconv_open): Likewise.
18005 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18006 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18007 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18008 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18009 (ucs4le_internal_loop_single): Likewise.
18010 * iconv/iconv.c (iconv): Likewise.
18011 * iconv/iconv_close.c: Likewise.
18012 * iconv/loop.c (SINGLE): Likewise.
18013 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18014 * include/atomic.h: Likewise.
18015 * inet/inet6_option.c (option_alloc): Likewise.
18016 * intl/bindtextdom.c (set_binding_values): Likewise.
18017 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18018 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18019 * intl/localealias.c (read_alias_file): Likewise.
18020 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18021 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18022 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18023 * libio/fmemopen.c (fmemopen): Likewise.
18024 * libio/iofgets.c (_IO_fgets): Likewise.
18025 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18026 * libio/iofgetws.c (fgetws): Likewise.
18027 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18028 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18029 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18030 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18031 * locale/findlocale.c (_nl_find_locale): Likewise.
18032 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18033 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18034 Likewise.
18035 * locale/setlocale.c (setlocale): Likewise.
18036 * login/programs/pt_chown.c (main): Likewise.
18037 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18038 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18039 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18040 (mmap, mmap64, mremap, munmap): Likewise.
18041 * math/e_exp2l.c: Likewise.
18042 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18043 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18044 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18045 * math/s_catan.c (__catan): Likewise.
18046 * math/s_catanf.c (__catanf): Likewise.
18047 * math/s_catanh.c (__catanh): Likewise.
18048 * math/s_catanhf.c (__catanhf): Likewise.
18049 * math/s_catanhl.c (__catanhl): Likewise.
18050 * math/s_catanl.c (__catanl): Likewise.
18051 * math/s_ccosh.c (__ccosh): Likewise.
18052 * math/s_ccoshf.c (__ccoshf): Likewise.
18053 * math/s_ccoshl.c (__ccoshl): Likewise.
18054 * math/s_cexp.c (__cexp): Likewise.
18055 * math/s_cexpf.c (__cexpf): Likewise.
18056 * math/s_cexpl.c (__cexpl): Likewise.
18057 * math/s_clog10.c (__clog10): Likewise.
18058 * math/s_clog10f.c (__clog10f): Likewise.
18059 * math/s_clog10l.c (__clog10l): Likewise.
18060 * math/s_clog.c (__clog): Likewise.
18061 * math/s_clogf.c (__clogf): Likewise.
18062 * math/s_clogl.c (__clogl): Likewise.
18063 * math/s_csin.c (__csin): Likewise.
18064 * math/s_csinf.c (__csinf): Likewise.
18065 * math/s_csinh.c (__csinh): Likewise.
18066 * math/s_csinhf.c (__csinhf): Likewise.
18067 * math/s_csinhl.c (__csinhl): Likewise.
18068 * math/s_csinl.c (__csinl): Likewise.
18069 * math/s_csqrt.c (__csqrt): Likewise.
18070 * math/s_csqrtf.c (__csqrtf): Likewise.
18071 * math/s_csqrtl.c (__csqrtl): Likewise.
18072 * math/s_ctan.c (__ctan): Likewise.
18073 * math/s_ctanf.c (__ctanf): Likewise.
18074 * math/s_ctanh.c (__ctanh): Likewise.
18075 * math/s_ctanhf.c (__ctanhf): Likewise.
18076 * math/s_ctanhl.c (__ctanhl): Likewise.
18077 * math/s_ctanl.c (__ctanl): Likewise.
18078 * math/w_pow.c: Likewise.
18079 * math/w_powf.c: Likewise.
18080 * math/w_powl.c: Likewise.
18081 * math/w_scalb.c (sysv_scalb): Likewise.
18082 * math/w_scalbf.c (sysv_scalbf): Likewise.
18083 * math/w_scalbl.c (sysv_scalbl): Likewise.
18084 * misc/error.c (error_tail): Likewise.
18085 * misc/pselect.c (__pselect): Likewise.
18086 * nis/nis_callback.c (__nis_create_callback): Likewise.
18087 * nis/nis_call.c (__nisfind_server): Likewise.
18088 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18089 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18091 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18092 * nis/nis_lookup.c (nis_lookup): Likewise.
18093 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18094 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18095 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18096 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18097 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18098 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18099 * nis/nss_compat/compat-initgroups.c (add_group)
18100 (internal_getgrent_r): Likewise.
18101 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18102 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18103 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18104 (internal_getspnam_r): Likewise.
18105 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18106 (_nss_nis_getaliasbyname_r): Likewise.
18107 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18108 (_nss_nis_getntohost_r): Likewise.
18109 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18110 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18111 (_nss_nis_getgrgid_r): Likewise.
18112 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18113 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18114 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18115 (_nss_nis_gethostbyname4_r): Likewise.
18116 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18117 (initgroups_netid): Likewise.
18118 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18119 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18120 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18121 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18122 (_nss_nis_getprotobynumber_r): Likewise.
18123 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18124 (_nss_nis_getsecretkey): Likewise.
18125 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18126 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18127 (_nss_nis_getpwuid_r): Likewise.
18128 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18129 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18130 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18131 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18132 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18133 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18134 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18135 Likewise.
18136 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18137 (_nss_nisplus_getntohost_r): Likewise.
18138 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18139 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18140 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18141 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18142 Likewise.
18143 * nis/nss_nisplus/nisplus-initgroups.c
18144 (_nss_nisplus_initgroups_dyn): Likewise.
18145 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18146 (_nss_nisplus_getnetbyaddr_r): Likewise.
18147 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18148 (_nss_nisplus_getprotobynumber_r): Likewise.
18149 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18150 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18151 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18152 Likewise.
18153 * nis/nss_nisplus/nisplus-service.c
18154 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18155 (_nss_nisplus_getservbyport_r): Likewise.
18156 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18157 (_nss_nisplus_getspnam_r): Likewise.
18158 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18159 Likewise.
18160 * nscd/aicache.c (addhstaiX): Likewise.
18161 * nscd/cache.c (cache_search, prune_cache): Likewise.
18162 * nscd/connections.c (register_traced_file, send_ro_fd)
18163 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18164 (main_loop_epoll): Likewise.
18165 * nscd/grpcache.c (addgrbyX): Likewise.
18166 * nscd/hstcache.c (addhstbyX): Likewise.
18167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18168 * nscd/mem.c (gc, mempool_alloc): Likewise.
18169 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18170 (addinnetgrX): Likewise.
18171 * nscd/nscd-client.h (__nscd_acquire_maplock)
18172 (__nscd_drop_map_ref): Likewise.
18173 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18174 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18176 Likewise.
18177 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18179 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18180 (__nscd_get_map_ref): Likewise.
18181 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18182 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18183 Likewise.
18184 * nscd/pwdcache.c (addpwbyX): Likewise.
18185 * nscd/selinux.c (preserve_capabilities): Likewise.
18186 * nscd/servicescache.c (addservbyX): Likewise.
18187 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18188 * posix/fnmatch.c (fnmatch): Likewise.
18189 * posix/getopt.c (_getopt_internal_r): Likewise.
18190 * posix/glob.c (glob, glob_in_dir): Likewise.
18191 * posix/wordexp.c (exec_comm_child): Likewise.
18192 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18193 (getanswer_r, gaih_getanswer_slice): Likewise.
18194 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18195 * resolv/res_init.c: Likewise.
18196 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18197 * resolv/res_query.c (__libc_res_nquery): Likewise.
18198 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18199 Likewise.
18200 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18201 * stdio-common/perror.c (perror): Likewise.
18202 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18203 * stdio-common/tmpnam.c (tmpnam): Likewise.
18204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18205 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18206 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18207 Likewise.
18208 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18209 * stdlib/putenv.c (putenv): Likewise.
18210 * stdlib/setenv.c (__add_to_environ): Likewise.
18211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18212 * stdlib/strtol_l.c (INTERNAL): Likewise.
18213 * string/memmem.c (memmem): Likewise.
18214 * string/strerror.c (strerror): Likewise.
18215 * string/strnlen.c (__strnlen): Likewise.
18216 * string/test-memmem.c (simple_memmem): Likewise.
18217 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18218 * sunrpc/pm_getport.c (__get_socket): Likewise.
18219 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18220 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18221 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18222 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18223 Likewise.
18224 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18226 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18227 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18228 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18229 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18230 Likewise.
18231 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18232 Likewise.
18233 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18234 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18236 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18237 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18239 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18241 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18242 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18244 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18245 Likewise.
18246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18247 Likewise.
18248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18249 Likewise.
18250 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18253 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18254 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18255 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18256 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18266 Likewise.
18267 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18268 Likewise.
18269 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18270 Likewise.
18271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18272 Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18275 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18276 Likewise.
18277 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18278 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18279 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18280 * sysdeps/posix/sleep.c: Likewise.
18281 * sysdeps/posix/tempname.c: Likewise.
18282 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18283 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18284 Likewise.
18285 * sysdeps/powerpc/powerpc32/dl-machine.h
18286 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18287 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18289 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18290 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18291 Likewise.
18292 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18293 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18294 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18296 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18297 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18298 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18299 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18301 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18303 (elf_machine_lazy_rel): Likewise.
18304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18306 (elf_machine_lazy_rel): Likewise.
18307 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18308 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18309 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18310 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18311 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18312 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18313 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18317 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18318 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18319 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18320 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18321 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18322 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18323 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18325 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18329 (__posix_fallocate64_l64): Likewise.
18330 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18331 (posix_fallocate): Likewise.
18332 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18333 Likewise.
18334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18335 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18336 (getifaddrs_internal): Likewise.
18337 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18338 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18339 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18341 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18342 (__posix_fallocate64_l64): Likewise.
18343 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18347 (__get_clockfreq): Likewise.
18348 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18349 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18350 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18353 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18354 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18355 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18356 Likewise.
18357 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18358 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18359 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18362 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18363 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18364 Likewise.
18365 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18366 (posix_fallocate): Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18368 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18369 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18370 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18371 (elf_machine_rela, elf_machine_rela_relative)
18372 (elf_machine_lazy_rel): Likewise.
18373 * time/asctime.c (asctime_internal): Likewise.
18374 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18375 * time/tzset.c (__tzset_parse_tz): Likewise.
18376 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18377 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18378 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18379 * wcsmbs/wcsmbsload.h: Likewise.
18380
18381 [BZ #15894]
18382 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18383
18384 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18385 (arena_get2): Remove THREAD_STATS conditionals.
18386 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18387 (__malloc_stats, int): Likewise.
18388
183892014-02-08 Mike Frysinger <vapier@gentoo.org>
18390
18391 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18392 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18393
18394 * manual/setjmp.texi: Fix typos/grammar errors.
18395
18396 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18397 Only return early when n is <= 0. Delete unused return statement.
18398
18399 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18400 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18401 * debug/tst-longjmp_chk3.c: New file.
18402
18403 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18404 (test_main): Replace code with set_fortify_handler call.
18405 * debug/test-strcpy_chk.c: Likewise.
18406 * debug/tst-chk1.c: Likewise.
18407 * debug/tst-longjmp_chk.c: Likewise.
18408 * test-skeleton.c: Include fcntl.h & paths.h
18409 (set_fortify_handler): Define.
18410
18411 * debug/tst-longjmp_chk.c: Add header comment and include
18412 ../test-skeleton.c.
18413 (do_test): Mark static.
18414 (TEST_FUNCTION): Define.
18415
18416 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18417 (IP_PMTUDISC_INTERFACE): Likewise.
18418 (IP_MULTICAST_IF): Likewise.
18419 (IP_MULTICAST_TTL): Likewise.
18420 (IP_MULTICAST_LOOP): Likewise.
18421 (IP_ADD_MEMBERSHIP): Likewise.
18422 (IP_DROP_MEMBERSHIP): Likewise.
18423 (IP_UNBLOCK_SOURCE): Likewise.
18424 (IP_BLOCK_SOURCE): Likewise.
18425 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18426 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18427 (IP_MSFILTER): Likewise.
18428 (MCAST_JOIN_GROUP): Likewise.
18429 (MCAST_BLOCK_SOURCE): Likewise.
18430 (MCAST_UNBLOCK_SOURCE): Likewise.
18431 (MCAST_LEAVE_GROUP): Likewise.
18432 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18433 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18434 (MCAST_MSFILTER): Likewise.
18435 (IP_MULTICAST_ALL): Likewise.
18436 (IP_UNICAST_IF): Likewise.
18437
18438 * timezone/Makefile: Delete $(have-ksh) check.
18439 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18440 * timezone/tzselect.ksh: Add +x mode bits.
18441
18442 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18443 (ANON_INODE_FS_MAGIC): Likewise.
18444 (BDEVFS_MAGIC): Likewise.
18445 (BINFMTFS_MAGIC): Likewise.
18446 (BTRFS_TEST_MAGIC): Likewise.
18447 (CRAMFS_MAGIC_WEND): Likewise.
18448 (DEBUGFS_MAGIC): Likewise.
18449 (ECRYPTFS_SUPER_MAGIC): Likewise.
18450 (EXT3_SUPER_MAGIC): Likewise.
18451 (EXT4_SUPER_MAGIC): Likewise.
18452 (FUTEXFS_SUPER_MAGIC): Likewise.
18453 (HOSTFS_SUPER_MAGIC): Likewise.
18454 (HUGETLBFS_MAGIC): Likewise.
18455 (MINIX3_SUPER_MAGIC): Likewise.
18456 (MTD_INODE_FS_MAGIC): Likewise.
18457 (NILFS_SUPER_MAGIC): Likewise.
18458 (OPENPROM_SUPER_MAGIC): Likewise.
18459 (PIPEFS_MAGIC): Likewise.
18460 (PSTOREFS_MAGIC): Likewise.
18461 (QNX6_SUPER_MAGIC): Likewise.
18462 (RAMFS_MAGIC): Likewise.
18463 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18464 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18465 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18466 (SECURITYFS_MAGIC): Likewise.
18467 (SELINUX_MAGIC): Likewise.
18468 (SMACK_MAGIC): Likewise.
18469 (SOCKFS_MAGIC): Likewise.
18470 (SQUASHFS_MAGIC): Likewise.
18471 (STACK_END_MAGIC): Likewise.
18472 (TMPFS_MAGIC): Likewise.
18473 (USBDEVICE_SUPER_MAGIC): Likewise.
18474 (V9FS_MAGIC): Likewise.
18475 (XENFS_SUPER_MAGIC): Likewise.
18476 (CRAMFS_MAGIC): Fix typo in comment.
18477 (EXT2_SUPER_MAGIC): Update comment.
18478 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18479
184802014-02-08 Joseph Myers <joseph@codesourcery.com>
18481
18482 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18483 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18484 * sysdeps/unix/sysv/linux/arm: Move directory from
18485 ports/sysdeps/unix/sysv/linux/arm.
18486 * README: Update listing for arm-*-linux-gnueabi.
18487
18488 * README: Remove mention of am33.
18489
184902014-02-07 Roland McGrath <roland@hack.frob.com>
18491
18492 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18493 than the comma operator, to avoid "rhs of comma has no effect"
18494 compiler warnings.
18495 (__sigfillset, __sigandset, __sigorset): Likewise.
18496 * include/signal.h (__sigemptyset): Likewise.
18497 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18498
184992014-02-07 Allan McRae <allan@archlinux.org>
18500
18501 * version.h (RELEASE): Set to "development".
18502 (VERSION): Set to "2.19.90"
18503 * NEWS: Add 2.20 section.
18504
185052014-02-06 Carlos O'Donell <carlos@redhat.com>
18506
18507 [BZ #16529]
18508 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18509
185102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18511
18512 * manual/contrib.texi: Update entry for Carlos O'Donell,
18513 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18514
185152014-02-05 Carlos O'Donell <carlos@rehdat.com>
18516
18517 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18518
18519 * sysdeps/unix/sysv/linux/kernel-features.h
18520 [__LINUX_KERNEL_VERSION >= 0x020621]
18521 (__ASSUME_PROC_PID_TASK_COMM): Define.
18522
185232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18524
18525 [BZ #16398]
18526 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18527 conversion when destination buffer does not have enough space.
18528 * libio/tst-ftell-partial-wide.c: New test case.
18529 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18530
18531 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18532 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18533 Leonard and Allan McRae.
18534
185352014-02-04 David S. Miller <davem@davemloft.net>
18536
18537 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18538 32-bit.
18539
185402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18541
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18543 New file
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18545 New file
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18547 New file.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18549 New file.
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18551 New file.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18553 New file.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18555 New file.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18557 New file.
18558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18559 New file.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18561 New file.
18562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18563 New file.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18565 New file.
18566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18567 New file.
18568
185692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18570
18571 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18572 * shlib-versions: Likewise.
18573
185742014-02-04 Roland McGrath <roland@hack.frob.com>
18575 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18576
18577 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18578 (abilist-pattern): New variable, set to %-le.abilist.
18579
18580 * Makerules (abilist-pattern): New variable.
18581 (vpath): Use $(abilist-pattern) in place of %.abilist.
18582 (check-abi-% pattern rule): Likewise.
18583 (check-abi, update-abi): Likewise.
18584
185852014-02-04 Eric Wong <normalperson@yhbt.net>
18586
18587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18588
185892014-02-03 Carlos O'Donell <carlos@redhat.com>
18590
18591 * manual/startup.texi: Add next, previous, and top entries for
18592 the `Program Arguments' and `Environment Variables' nodes.
18593
185942014-02-03 Alexandre Oliva <aoliva@redhat.com>
18595
18596 * manual/macros.texi: Add comments before MTASC-safety macros.
18597
18598 * manual/users.texi: Document MTASC-safety properties.
18599
18600 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18601 (pthread_getspecific, pthread_setspecific): Format with
18602 @deftypefun, and add @safety note.
18603 * manual/signal.texi: Move comments that analyze the above
18604 functions to their home place.
18605
186062014-02-03 Allan McRae <allan@archlinux.org>
18607
18608 * po/sl.po: Update Slovenian translation from translation project.
18609
186102014-02-02 Alexandre Oliva <aoliva@redhat.com>
18611
18612 * manual/time.texi (timegm): Add missing blank after @c.
18613 Reported by Joseph Myers <joseph@codesourcery.com>.
18614
186152014-02-01 Alexandre Oliva <aoliva@redhat.com>
18616
18617 * manual/check-safety.sh: New.
18618 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18619
18620 * manual/terminal.texi: Document MTASC-safety properties.
18621
18622 * manual/filesys.texi: Document MTASC-safety properties.
18623
18624 * manual/errno.texi: Document MTASC-safety properties.
18625
18626 * manual/intro.texi: Document safety identifiers and
18627 conditionals.
18628
18629 * manual/string.texi (wcstok): Fix prototype.
18630 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18631
18632 * manual/time.texi: Document MTASC-safety properties.
18633
18634 * manual/string.texi: Document MTASC-safety properties.
18635
18636 * manual/threads.texi: Document MTASC-safety properties.
18637
18638 * manual/stdio.texi: Document MTASC-safety properties.
18639
18640 * manual/syslog.texi: Document MTASC-safety properties.
18641
18642 * manual/sysinfo.texi: Document MTASC-safety properties.
18643
18644 * manual/startup.texi: Document MTASC-safety properties.
18645
18646 * manual/socket.texi: Document MTASC-safety properties.
18647
18648 * manual/signal.texi: Document MTASC-safety properties.
18649
186502014-01-31 Alexandre Oliva <aoliva@redhat.com>
18651
18652 * manual/setjmp.texi: Document MTASC-safety properties.
18653
18654 * manual/search.texi: Document MTASC-safety properties.
18655
18656 * manual/resource.texi: Document MTASC-safety properties.
18657
18658 * manual/process.texi: Document MTASC-safety properties.
18659
18660 * manual/platform.texi: Document MTASC-safety properties.
18661
18662 * manual/pipe.texi: Document MTASC-safety properties.
18663
18664 * manual/pattern.texi: Document MTASC-safety properties.
18665
18666 * manual/message.texi: Document MTASC-safety properties.
18667
18668 [BZ #12751]
18669 * manual/memory.texi: Document MTASC-safety properties.
18670
18671 * manual/math.texi: Document MTASC-safety properties.
18672
18673 * manual/locale.texi: Document MTASC-safety properties.
18674
18675 * manual/llio.texi: Document MTASC-safety properties.
18676
18677 * manual/libdl.texi: New.
18678
18679 * manual/lang.texi: Document MTASC-safety properties.
18680
18681 * manual/job.texi: Document MTASC-safety properties.
18682
18683 * manual/getopt.texi: Document MTASC-safety properties.
18684
18685 * manual/ctype.texi: Document MTASC-safety properties.
18686
186872014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18688
18689 [BZ #16046]
18690 * csu/libc-tls.c (static_map): Remove variable.
18691 (__libc_setup_tls): Use main executable's link map for TLS data.
18692 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18693 casing for LM_ID_BASE and GL(dl_nns).
18694 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18695 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18696 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18697 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18698 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18699 member.
18700 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18701 l_phnum members.
18702
187032014-01-30 Alexandre Oliva <aoliva@redhat.com>
18704
18705 * manual/debug.texi: Document MTASC-safety properties.
18706
187072014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18708
18709 [BZ #16510]
18710 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18711 of __x86_64__ when disabling x87 inline functions.
18712
187132014-01-29 Alexandre Oliva <aoliva@redhat.com>
18714
18715 * manual/charset.texi: Document MTASC-safety properties.
18716
18717 * manual/crypt.texi: Document MTASC-safety properties.
18718
18719 * manual/conf.texi: Document MTASC-safety properties.
18720
18721 * manual/arith.texi: Document MTASC-safety properties.
18722
18723 * manual/argp.texi: Document MTASC-safety properties.
18724
18725 * manual/macros.texi: Introduce macros to document multi
18726 thread, asynchronous signal and asynchronous cancellation
18727 safety properties.
18728 * manual/intro.texi: Introduce the properties themselves.
18729
187302014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18731
18732 * sysdeps/sh/sh4/Makefile: New file.
18733
187342014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18735
18736 * math/gen-libm-test.pl ($srcdir): New variable.
18737 ($auto_input): Use it.
18738
187392014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18740
18741 [BZ #16506]
18742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18743 access beyond array bounds when parsing netgroups file.
18744
18745 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18746 the old buffer before realloc.
18747
187482014-01-27 Allan McRae <allan@archlinux.org>
18749
18750 * po/fr.po: Update French translation from translation project.
18751
187522014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18753
18754 * sysdeps/sh/libm-test-ulps: Regenerate.
18755
187562014-01-24 David S. Miller <davem@davemloft.net>
18757
18758 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18759
187602014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18761
18762 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18763 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18764
187652013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18766
18767 [BZ #16474]
18768 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18769 string pointers after reallocation.
18770
187712014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18772
18773 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18774 __SH4A__ instead of __SH_FPU_ANY__.
18775
187762014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18777
18778 * sysdeps/sh/fpu_control.h: New file.
18779 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18780 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18781 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18782 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18783 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18784 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18785 * sysdeps/sh/sys/ucontext.h: Remove.
18786 * sysdeps/sh/sys: Remove directory.
18787
187882014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18789
18790 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18791 s390/sys/ucontext.h.
18792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18794
187952014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18796
18797 [BZ #15605]
18798 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18799
188002014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801
18802 [BZ#16431]
18803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18804 Adjust the vDSO correctly for internal calls.
18805 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18806
188072014-01-20 Allan McRae <allan@archlinux.org>
18808
18809 * po/ca.po: Update Catalan translation from translation project.
18810
188112014-01-16 Mike Frysinger <vapier@gentoo.org>
18812
18813 * sysdeps/s390/sotruss-lib.c: New file.
18814
188152014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18816
18817 [BZ#16430]
18818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18819 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18820 local calls issues by not having a PLT stub required for IFUNC calls.
18821 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18822
188232014-01-16 Joseph Myers <joseph@codesourcery.com>
18824
18825 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18826 * math/test-fpucw-static.c: Likewise.
18827
188282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18829
18830 [BZ #16453]
18831 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18832
188332014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18834
18835 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18836 implementation for powerpc.
18837
188382014-01-15 Ondřej Bílka <neleai@seznam.cz>
18839
18840 [BZ #14782]
18841 * sysdeps/posix/system.c (__libc_system): Do not enable
18842 asynchronous cancellation.
18843
188442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18845
18846 [BZ #16427]
18847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18848 handling only for numbers special also in the IEEE case.
18849
188502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18851
18852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18853
188542014-01-11 Allan McRae <allan@archlinux.org>
18855
18856 * po/bg.po: Update Bulgarian translation from translation project.
18857
18858 * po/de.po: Update German translation from translation project.
18859
188602014-01-10 Roland McGrath <roland@hack.frob.com>
18861
18862 * sysdeps/generic/gcc-compat.h: New file.
18863
188642014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18865
18866 * benchtests/asin-inputs: Correct slow inputs.
18867 * benchtests/acos-inputs: Likewise.
18868
188692014-01-10 Allan McRae <allan@archlinux.org>
18870
18871 * po:sv.po: Update Swedish translation from translation project.
18872
18873 * po/vi.po: Update Vietnamese translation from translation project.
18874
18875 * po/eo.po: Update Esperanto translation from translation project.
18876
18877 * po/cs.po: Update Czech translation from translation project.
18878
18879 * po/nl.po: Update Dutch translation from translation project.
18880
18881 * po/pl.po: Update Polish translation from translation project.
18882
18883 * po/ru.po: Update Russian translation from translation project.
18884
18885 * po/uk.po: Update Ukrainian translation from translation project.
18886
188872014-01-08 Brooks Moses <bmoses@google.com>
18888
18889 * elf/dl-load.c: Fix comment typo.
18890
188912014-01-08 Carlos O'Donell <carlos@redhat.com>
18892
18893 * po/header.pot: Rename to...
18894 * po/pot.header: ... this.
18895 * po/Makefile: Use pot.header.
18896
188972014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18898 Maxim Kuvyrkov <maxim@kugelworks.com>
18899
18900 [BZ #16394]
18901 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18902 SRC and DEST against LEN.
18903
189042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905
18906 [BZ #16414]
18907 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18908 implementation.
18909 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18910
189112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18912
18913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18914
189152014-01-08 Joseph Myers <joseph@codesourcery.com>
18916
18917 [BZ #16408]
18918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18919 for large positive arguments.
18920
189212014-01-07 Joseph Myers <joseph@codesourcery.com>
18922
18923 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18924
18925 * math/auto-libm-test-in: Mark various tests with
18926 xfail-rounding:ldbl-128ibm.
18927 * math/auto-libm-test-out: Regenerated.
18928
18929 [BZ #16407]
18930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18931 Increase overflow threshold.
18932
189332014-01-07 Ondřej Bílka <neleai@seznam.cz>
18934
18935 [BZ #14286]
18936 * stdio-common/vfprintf.c: Check for integer overflow.
18937
189382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18939
18940 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18941 the first argument and return value of __tls_get_addr_internal.
18942
189432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18944
18945 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18946 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18947
189482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18949
18950 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18951 * sysdeps/s390/rtld-global-offsets.sym: New file.
18952 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18953 GLIBC_2.19 symbol.
18954 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18957 ... this.
18958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18960 ... this.
18961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18962 Regenerate.
18963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18964 Regenerate.
18965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18966 halfs of GPRs for high_gprs contexts.
18967 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18968 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18969 field.
18970 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18971 uc_flags field.
18972 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18973 64 bit versions:
18974 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18975 for high GPRs (uc_high_gprs) and for future extensions
18976 (__reserved).
18977 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18978 for future extensions (__reserved).
18979 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18980 64 bit versions:
18981 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18982 SC_HIGHGPRS offset definition.
18983 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18984 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18985
18986 * Versions.def: Add GLIBC_2.19 for libpthread.
18987 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18988 siglongjmp for libpthread with GLIBC_2.19 symver.
18989 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18990 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18991 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18992 * sysdeps/s390/__longjmp.c: New file.
18993 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18994 * sysdeps/s390/longjmp.c: New file.
18995 * sysdeps/s390/setjmp.S: New file.
18996 * sysdeps/s390/sigjmp.S: New file.
18997 * sysdeps/s390/v1-longjmp.c: New file.
18998 * sysdeps/s390/v1-setjmp.h: New file.
18999 * sysdeps/s390/v1-sigjmp.c: New file.
19000 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19001 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19002 GLIBC_2.19 version.
19003 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19004 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19005 versioned symbols for ____longjmp_chk.
19006 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19007 Likewise.
19008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19009 Regenerate.
19010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19011 Regenerate.
19012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19013 Regenerate.
19014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19015 Regenerate.
19016 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19017 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19018 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19019 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19020 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19021 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19022 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19023 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19024 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19025 * sysdeps/s390/rtld-__longjmp.c: New file.
19026 * sysdeps/s390/rtld-setjmp.S: New file.
19027
190282014-01-06 Joseph Myers <joseph@codesourcery.com>
19029
19030 [BZ #16400]
19031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19032 Return -__logl (x) for small positive arguments without evaluating
19033 a polynomial.
19034
190352014-01-06 Mike Frysinger <vapier@gentoo.org>
19036
19037 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19038 Rename to ...
19039 (__ptrace_peeksiginfo_args): ... this.
19040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19043
190442014-01-06 Allan McRae <allan@archlinux.org>
19045
19046 * inet/netinet/in.h: Fix typo in comment.
19047
190482014-01-05 Andreas Jaeger <aj@suse.de>
19049
19050 * sysdeps/i386/fpu/libm-test-ulps: Update.
19051
190522014-01-05 Allan McRae <allan@archlinux.org>
19053
19054 * po/libc.pot: Regenerated.
19055
19056 * malloc/memusagestat.c: Fix gettext call formatting.
19057
190582014-01-04 Sami Kerola <kerolasa@iki.fi>
19059
19060 * nscd/nscd.c: Improve usage() output.
19061
190622014-01-04 Mike Frysinger <vapier@gentoo.org>
19063
19064 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19065 * sysdeps/unix/sysv/linux/configure: Regenerated.
19066 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19067 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19068
190692014-01-03 Joseph Myers <joseph@codesourcery.com>
19070
19071 [BZ #16390]
19072 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19073 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19074
190752014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19076
19077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19078 extra tokens at end of #undef directive.
19079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19082
190832014-01-03 Joseph Myers <joseph@codesourcery.com>
19084
19085 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19086
19087 * math/auto-libm-test-in: Mark various tests with
19088 xfail-rounding:ldbl-128ibm.
19089 * math/auto-libm-test-out: Regenerated.
19090
190912014-01-02 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #16386]
19094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19095 numbers with subnormal high part when calculating exponent.
19096
19097 [BZ #16385]
19098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19099 fabs.
19100
19101 [BZ #16384]
19102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19103 M_LN2l.
19104 (__ieee754_acoshl): Use __log1pl not __log1p.
19105
191062013-01-02 Ondřej Bílka <neleai@seznam.cz>
19107
19108 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19109 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19110 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19111 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19112 (reused_arena, arena_get2): Convert to GNU style.
19113 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19114 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19115 (memalign_check, __malloc_set_state): Likewise.
19116 * malloc/mallocbug.c (main): Likewise.
19117 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19118 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19119 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19120 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19121 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19122 (__posix_memalign, malloc_info): Likewise.
19123 * malloc/malloc.h: Likewise.
19124 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19125 (mallochook, memalignhook, reallochook, mabort): Likewise.
19126 * malloc/mcheck.h: Likewise.
19127 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19128 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19129 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19130 * malloc/morecore.c (__default_morecore): Likewise.
19131 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19132 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19133 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19134 (print_and_abort): Likewise.
19135 * malloc/obstack.h: Likewise.
19136 * malloc/set-freeres.c (__libc_freeres): Likewise.
19137 * malloc/tst-mallocstate.c (main): Likewise.
19138 * malloc/tst-mtrace.c (main): Likewise.
19139 * malloc/tst-realloc.c (do_test): Likewise.
19140
191412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19142
19143 [BZ #16366]
19144 * nscd/netgroupcache.c (do_notfound): New function.
19145 (addgetnetgrentX): Use it.
19146
19147 [BZ # 16365]
19148 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19149 NSS_STATUS_NOTFOUND.
19150
191512014-01-01 Joseph Myers <joseph@codesourcery.com>
19152
19153 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19155
191562014-01-01 Allan McRae <allan@archlinux.org>
19157
19158 * scripts/update-copyrights: Update configure input file suffix.
19159
19160 * NEWS: Update copyright year.
19161 * catgets/gencat.c: Likewise.
19162 * csu/version.c: Likewise.
19163 * debug/catchsegv.sh: Likewise.
19164 * debug/pcprofiledump.c: Likewise.
19165 * debug/xtrace.sh: Likewise.
19166 * elf/ldconfig.c: Likewise.
19167 * elf/ldd.bash.in: Likewise.
19168 * elf/pldd.c: Likewise.
19169 * elf/sotruss.ksh: Likewise.
19170 * elf/sprof.c: Likewise.
19171 * iconv/iconv_prog.c: Likewise.
19172 * iconv/iconvconfig.c: Likewise.
19173 * locale/programs/locale.c: Likewise.
19174 * locale/programs/localedef.c: Likewise.
19175 * login/programs/pt_chown.c: Likewise.
19176 * malloc/memusage.sh: Likewise.
19177 * malloc/memusagestat.c: Likewise.
19178 * malloc/mtrace.pl: Likewise.
19179 * manual/libc.texinfo: Likewise.
19180 * nscd/nscd.c: Likewise.
19181 * nss/getent.c: Likewise.
19182 * nss/makedb.c: Likewise.
19183 * posix/getconf.c: Likewise.
19184 * scripts/test-installation.pl: Likewise.
19185
19186 * All files with FSF copyright notices: Update copyright dates
19187 using scripts/update-copyrights.
19188 * intl/plural.c: Regenerated.
19189 * locale/programs/charmap-kw.h: Likewise.
19190 * locale/programs/locfile-kw.h: Likewise.
19191
191922013-12-31 Mike Frysinger <vapier@gentoo.org>
19193
19194 * sysdeps/unix/sysv/linux/configure: Regenerated.
19195 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19196 the linux/fanotify.h header.
19197 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19198 HAVE_LINUX_FANOTIFY_H is defined.
19199
192002013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19201
19202 * benchtests/cos-inputs: New inputs.
19203 * benchtests/sin-inputs: Likewise.
19204
19205 * benchtests/atan-inputs: New inputs. Fix name of multiple
19206 precision fallback inputs.
19207
19208 * benchtests/atanh-inputs: New inputs.
19209 * benchtests/tanh-inputs: Likewise.
19210
19211 * benchtests/acosh-inputs: New inputs.
19212 * benchtests/asinh-inputs: Likewise.
19213
19214 * benchtests/cosh-inputs: New inputs.
19215 * benchtests/sinh-inputs: Likewise.
19216
19217 * benchtests/acos-inputs: Add more inputs.
19218 * benchtests/asin-inputs: Likewise.
19219
192202013-12-30 Ville Skytta <ville.skytta@iki.fi>
19221
19222 [BZ #16375]
19223 * manual/arith.texi: Fix spelling.
19224 * manual/charset.texi: Likewise.
19225 * manual/errno.texi: Likewise.
19226 * manual/filesys.texi: Likewise.
19227 * manual/lang.texi: Likewise.
19228 * manual/llio.texi: Likewise.
19229 * manual/locale.texi: Likewise.
19230 * manual/message.texi: Likewise.
19231 * manual/resource.texi: Likewise.
19232 * manual/search.texi: Likewise.
19233 * manual/setjmp.texi: Likewise.
19234 * manual/stdio.texi: Likewise.
19235 * manual/string.texi: Likewise.
19236 * manual/sysinfo.texi: Likewise.
19237 * manual/time.texi: Likewise.
19238
192392013-12-27 Carlos O'Donell <carlos@redhat.com>
19240
19241 * po/sl.po: New file.
19242
192432013-12-27 Mike Frysinger <vapier@gentoo.org>
19244
19245 * .gitignore: Add core/.gdbinit/.gdb_history.
19246
192472013-12-27 Allan McRae <allan@archlinux.org>
19248
19249 [BZ #16369]
19250 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19251 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19252
192532013-12-24 Brooks Moses <bmoses@google.com>
19254
19255 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19256 all compilers that claim C++98 compliance, not just GCC.
19257 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19258 Likewise.
19259
192602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19261
19262 * NEWS: Restore accidentally deleted bug-fix entries.
19263
192642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19265 Ondřej Bílka <neleai@seznam.cz>
19266
19267 [BZ #15073]
19268 * malloc/malloc.c (_int_free): Perform sanity check only if we
19269 have_lock.
19270
192712013-12-23 Ondřej Bílka <neleai@seznam.cz>
19272
19273 [BZ #12986]
19274 * manual/stdio.texi (String Input Conversions): Clarify that character
19275 classes are not supported.
19276
192772013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19278
19279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19280
192812013-12-22 Joseph Myers <joseph@codesourcery.com>
19282
19283 [BZ #16337]
19284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19285 Calculate results for small negative arguments directly rather
19286 than using reflection formula with special underflow handling.
19287
19288 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19289 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19290 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19291 (fchflags): Likewise.
19292 (revoke): Likewise.
19293 (setlogin): Likewise.
19294 (sigaltstack): Likewise.
19295 (wait4): Likewise.
19296 (sigblock): Remove.
19297 (sigsetmask): Likewise.
19298 (wait3): Likewise.
19299 (waitpid): Likewise.
19300 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19301 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19302 file.
19303 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19304 * sysdeps/unix/bsd/Makefile: ... here.
19305 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19306 * sysdeps/unix/bsd/Versions: ... here.
19307 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19308 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19309 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19310 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19311 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19312 * sysdeps/unix/bsd/sigblock.c: ... here.
19313 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19314 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19315 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19316 * sysdeps/unix/bsd/sigvec.c: ... here.
19317 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19318 * sysdeps/unix/bsd/tcdrain.c: ... here.
19319 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19320 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19321 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19322 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19323 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19324 * sysdeps/unix/bsd/wait.c: ... here.
19325 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19326 * sysdeps/unix/bsd/wait3.c: ... here.
19327 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19328 * sysdeps/unix/bsd/waitpid.c: ... here.
19329
193302013-12-21 Joseph Myers <joseph@codesourcery.com>
19331
19332 [BZ #16356]
19333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19334 round-to-nearest for [!USE_AS_EXPM1L].
19335 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19336 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19337 more tests of exp and exp10. Expect some exp10 tests to miss
19338 exceptions or fail in directed rounding modes.
19339 * math/auto-libm-test-out: Regenerated.
19340 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19341 (exp10_test_tonearest): New function.
19342 (exp10_towardzero_test_data): New array.
19343 (exp10_test_towardzero): New function.
19344 (exp10_downward_test_data): New array.
19345 (exp10_test_downward): New function.
19346 (exp10_upward_test_data): New array.
19347 (exp10_test_upward): New function.
19348 (main): Call the new functions.
19349 * sysdeps/i386/fpu/libm-test-ulps: Update.
19350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19351
193522013-12-20 Joseph Myers <joseph@codesourcery.com>
19353
19354 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19355 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19356 * math/auto-libm-test-out: Regenerated.
19357 * math/libm-test.inc (acosh_test_data): Add more tests.
19358 (atanh_test_data): Likewise.
19359 (ceil_test_data): Likewise.
19360 (copysign_test_data): Likewise.
19361 * sysdeps/i386/fpu/libm-test-ulps: Update.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19363
19364 * timezone/checktab.awk: Update from tzcode 2013i.
19365 * timezone/private.h: Likewise.
19366 * timezone/scheck.c: Likewise.
19367 * timezone/tzfile.h: Likewise.
19368 * timezone/tzselect.ksh: Likewise.
19369 * timezone/zdump.c: Likewise.
19370 * timezone/zic.c: Likewise.
19371
19372 * math/auto-libm-test-in: Add tests of cpow.
19373 * math/auto-libm-test-out: Regenerated.
19374 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19375 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19376 mpc_cc_c.
19377 (func_calc_desc): Add mpc_cc_c union field.
19378 (test_functions): Add cpow.
19379 (special_fill_2pi): New function.
19380 (special_real_inputs): Add 2pi.
19381 (calc_generic_results): Handle mpc_cc_c.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384
19385 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19386 csqrt, ctan and ctanh.
19387 * math/auto-libm-test-out: Regenerated.
19388 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19389 (TEST_COND_x86): Likewise.
19390 (ccos_test_data): Use AUTO_TESTS_c_c.
19391 (ccosh_test_data): Likewise.
19392 (cexp_test_data): Likewise.
19393 (clog_test_data): Likewise.
19394 (csqrt_test_data): Likewise.
19395 (ctan_test_data): Likewise.
19396 (ctan_tonearest_test_data): Likewise.
19397 (ctan_towardzero_test_data): Likewise.
19398 (ctan_downward_test_data): Likewise.
19399 (ctan_upward_test_data): Likewise.
19400 (ctanh_test_data): Likewise.
19401 (ctanh_tonearest_test_data): Likewise.
19402 (ctanh_towardzero_test_data): Likewise.
19403 (ctanh_downward_test_data): Likewise.
19404 (ctanh_upward_test_data): Likewise.
19405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19406 mpc_c_c.
19407 (func_calc_desc): Add mpc_c_c union field.
19408 (FUNC_mpc_c_c): New macro.
19409 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19410 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19411 ctanh.
19412 (special_fill_min_subnorm_p120): New function.
19413 (special_real_inputs): Add min_subnorm_p120.
19414 (calc_generic_results): Handle mpc_c_c.
19415 * sysdeps/i386/fpu/libm-test-ulps: Update.
19416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19417
194182013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19419
19420 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19421 (do_sin_slow): New functions.
19422 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19423 (cslow2, csloww1, csloww2): Use the new functions.
19424
19425 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19426 Use M to change sign of result instead of X. Assume X is
19427 positive.
19428 (csloww1): Likewise.
19429 (__sin): Adjust.
19430 (__cos): Adjust.
19431
19432 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19433 arguments A and DA.
19434 (__sin): Adjust.
19435 (__cos): Likewise.
19436
19437 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19438 (__cos): Likewise.
19439 (sloww1): Don't adjust sign of DX.
19440 (csloww1): Likewise.
19441 (sloww2): Use X directly and don't adjust sign of DX.
19442 (csloww2): Likewise.
19443
194442013-12-19 Joseph Myers <joseph@codesourcery.com>
19445
19446 * math/auto-libm-test-in: Add tests of cabs and carg.
19447 * math/auto-libm-test-out: Regenerated.
19448 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19449 (carg_test_data): Likewise.
19450 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19451 mpc_c_f.
19452 (func_calc_desc): Add mpc_c_f union field.
19453 (test_functions): Add cabs and carg.
19454 (calc_generic_results): Handle mpc_c_f.
19455
19456 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19457 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19458 as a macro and a compat symbol.
19459 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19461 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19462 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19463 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19465 not use .hidden.
19466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19467 Likewise.
19468 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19469 Likewise.
19470 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19471 Likewise.
19472 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19473 Likewise.
19474 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19475 Likewise.
19476 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19477 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19478 from GLIBC_2.3.2.
19479
194802013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19481
19482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19483
194842013-12-19 Joseph Myers <joseph@codesourcery.com>
19485
19486 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19487 trailing whitespace removed.
19488 * scripts/config.guess: Update to version 2013-11-29.
19489 * scripts/config.sub: Update to version 2013-10-01.
19490
19491 * math/auto-libm-test-in: Add tests of sincos.
19492 * math/auto-libm-test-out: Regenerated.
19493 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19495 mpfr_f_11.
19496 (func_calc_desc): Add mpfr_f_11 union field.
19497 (test_functions): Add sincos.
19498 (calc_generic_results): Handle mpfr_f_11.
19499 * sysdeps/i386/fpu/libm-test-ulps: Update.
19500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19501
195022013-12-19 Andreas Schwab <schwab@suse.de>
19503
19504 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19505 CALL_MCOUNT.
19506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19508 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19509
195102013-12-19 Joseph Myers <joseph@codesourcery.com>
19511
19512 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19513 * sysdeps/i386/fpu/libm-test-ulps: Update.
19514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19515
19516 [BZ #16293]
19517 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19518 round-to-nearest mode when using frndint.
19519 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19520 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19522 Likewise.
19523 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19524 sinh test to fail.
19525 * math/auto-libm-test-out: Regenerated.
19526 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19527 (TEST_COND_x86): Likewise.
19528 (expm1_tonearest_test_data): New array.
19529 (expm1_test_tonearest): New function.
19530 (expm1_towardzero_test_data): New array.
19531 (expm1_test_towardzero): New function.
19532 (expm1_downward_test_data): New array.
19533 (expm1_test_downward): New function.
19534 (expm1_upward_test_data): New array.
19535 (expm1_test_upward): New function.
19536 (main): Run the new test functions.
19537 * sysdeps/i386/fpu/libm-test-ulps: Update.
19538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19539
19540 * include/features.h: Update comment documenting feature test
19541 macros. Mention _DEFAULT_SOURCE in comment.
19542 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19543 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19544 _BSD_SOURCE and _SVID_SOURCE.
19545 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19546 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19547 !_SVID_SOURCE]: Likewise.
19548 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19549 (__USE_POSIX_IMPLICITLY): Define.
19550 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19551 (_POSIX_SOURCE): Undefine and redefine.
19552 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19553 (_POSIX_C_SOURCE): Likewise.
19554 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19555 (Feature Test Macros): Update documentation of default features.
19556
195572013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19558
19559 * benchtests/Makefile: Add bench-strtok.
19560 * benchtests/bench-strtok.c: New file: strtok benchtest.
19561
195622013-12-19 Allan McRae <allan@archlinux.org>
19563
19564 * manual/install.texi: Suppress menu for plain text output.
19565 * INSTALL: Regenerated.
19566
195672013-12-18 Brooks Moses <bmoses@google.com>
19568
19569 [BZ #15846]
19570 * misc/getauxval.c: Include errno.h.
19571 (__getauxval): Set errno to ENOENT if the requested type is not
19572 found.
19573 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19574 don't declare with __attribute_const__.
19575 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19576 * manual/startup.texi: Document that getauxval sets errno.
19577
195782013-12-18 Joseph Myers <joseph@codesourcery.com>
19579
19580 * math/auto-libm-test-in: Add tests of jn and yn.
19581 * math/auto-libm-test-out: Regenerated.
19582 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19583 (yn_test_data): Likewise.
19584 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19585 mpfr_if_f.
19586 (func_calc_desc): Add mpfr_if_f union field.
19587 (FUNC_mpfr_if_f): New macro.
19588 (test_functions): Add jn and yn.
19589 (calc_generic_results): Assert type of second input for
19590 mpfr_ff_f. Handle mpfr_if_f.
19591 (output_for_one_input_case): Disable all checking for arguments
19592 fitting floating-point types in case of an integer argument.
19593 * sysdeps/i386/fpu/libm-test-ulps: Update.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19595
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19597 Don't expect fegetround reference in libm.so.
19598
195992013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19600
19601 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19602 $(config-cflags-nofma).
19603
196042013-12-18 Joseph Myers <joseph@codesourcery.com>
19605
19606 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19607 * math/auto-libm-test-out: Regenerated.
19608
19609 [BZ #16338]
19610 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19611 to determine exponent and adjust argument to have exponent of -1.
19612 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19613 log2.
19614 * math/auto-libm-test-out: Regenerated.
19615 * sysdeps/i386/fpu/libm-test-ulps: Update.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617
196182013-12-18 Ondřej Bílka <neleai@seznam.cz>
19619
19620 * manual/probes.texi: Remove cases when per-thread arenas are
19621 disabled.
19622
196232013-12-18 Andreas Schwab <schwab@suse.de>
19624
19625 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19626 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19627 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19628 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19629 * sysdeps/i386/i686/multiarch/Makefile: Update.
19630 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19631
196322013-12-17 Joseph Myers <joseph@codesourcery.com>
19633
19634 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19635 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19636
196372013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19638
19639 [BZ #15968]
19640 Support TZ transition times < 00:00:00.
19641 This is needed for version-3 tz-format files; it supports time
19642 stamps past 2037 for America/Godthab (the only entry in the tz
19643 database for which this change is relevant).
19644 * manual/time.texi (TZ Variable): Document transition times
19645 from -167:59:59 through -00:00:01.
19646 * time/tzset.c (tz_rule): Time of day is now signed.
19647 (__tzset_parse_tz): Parse negative time of day.
19648
19649 Document TZ transition times >= 25:00:00.
19650 * manual/time.texi (TZ Variable): Document transition times from
19651 25:00:00 through 167:59:59. These are already supported, and this
19652 support will help with version-3 tz-format files.
19653
19654 * manual/time.texi (TZ Variable): Modernize North America example
19655 to reflect current (i.e., 2007-and-later) daylight saving rules.
19656
19657 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19658
196592013-12-17 Joseph Myers <joseph@codesourcery.com>
19660
19661 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19662 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19665 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19666 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19667 * sysdeps/unix/bsd/clock.c: Likewise.
19668 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19669 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19670 * sysdeps/unix/bsd/init-posix.c: Likewise.
19671 * sysdeps/unix/bsd/poll.c: Likewise.
19672 * sysdeps/unix/bsd/ptsname.c: Likewise.
19673 * sysdeps/unix/bsd/seekdir.c: Likewise.
19674 * sysdeps/unix/bsd/setegid.c: Likewise.
19675 * sysdeps/unix/bsd/seteuid.c: Likewise.
19676 * sysdeps/unix/bsd/setgid.c: Likewise.
19677 * sysdeps/unix/bsd/setrgid.c: Likewise.
19678 * sysdeps/unix/bsd/setruid.c: Likewise.
19679 * sysdeps/unix/bsd/setsid.c: Likewise.
19680 * sysdeps/unix/bsd/setuid.c: Likewise.
19681 * sysdeps/unix/bsd/sigaction.c: Likewise.
19682 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19683 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19684 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19685 * sysdeps/unix/bsd/telldir.c: Likewise.
19686 * sysdeps/unix/bsd/times.c: Likewise.
19687 * sysdeps/unix/bsd/usleep.c: Likewise.
19688
19689 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19690 ($(objpfx)libbsd-compat.a): Remove rule.
19691
19692 * include/features.h (__FAVOR_BSD): Do not define.
19693 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19694 features conflicting with POSIX.
19695 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19696 (_BSD_SOURCE): Remove description of not being a subset of other
19697 feature test macros.
19698 * manual/job.texi (getpgrp): Do not document BSD version.
19699 (getpgid): Do not document by reference to BSD getpgrp.
19700 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19701 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19702 * signal/signal.h [__FAVOR_BSD]: Likewise.
19703 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19704 instead of making contents conditional on [__FAVOR_BSD].
19705 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19706
197072013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19708
19709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19710
197112013-12-17 Joseph Myers <joseph@codesourcery.com>
19712
19713 [BZ #16314]
19714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19715 values below 2**-450, not 2**-500.
19716 * math/auto-libm-test-in: Don't allow spurious underflow from
19717 hypot.
19718 * math/auto-libm-test-out: Regenerated.
19719
19720 [BZ #16316]
19721 [BZ #16330]
19722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19723 values of ha and hb and sort them after adjusting subnormal
19724 arguments.
19725 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19726 Likewise.
19727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19728 values of ea and eb and sort them after adjusting subnormal
19729 arguments.
19730 * math/auto-libm-test-in: Do not expect some hypot tests of
19731 subnormals to fail. Add more hypot tests.
19732 * math/auto-libm-test-out: Regenerated.
19733
197342013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19735
19736 [BZ #13304]
19737 * sysdeps/sh/s_fma.c: New file.
19738 * sysdeps/sh/s_fmaf.c: New file.
19739 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19740 version.
19741 * sysdeps/sh/Implies: Add sh/soft-fp.
19742
197432013-12-16 Roland McGrath <roland@hack.frob.com>
19744
19745 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19746 level of indirection to members `objname', `errstring', `malloced'.
19747 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19748 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19749 it as the __longjmp argument (just pass 1 instead).
19750 (_dl_catch_error): Initialize C with argument pointers and address of
19751 volatile local ERRCODE rather than copying values out of C at return.
19752
197532013-12-16 Joseph Myers <joseph@codesourcery.com>
19754
19755 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19756 * math/auto-libm-test-out: Regenerated.
19757 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19758 (hypot_test_data): Likewise.
19759 (pow_test_data): Likewise.
19760 (pow_tonearest_test_data): Likewise.
19761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19762 mpfr_ff_f.
19763 (func_calc_desc): Add mpfr_ff_f union field.
19764 (FUNC_mpfr_ff_f): New macro.
19765 (test_functions): Add atan2, hypot and pow.
19766 (special_fill_min): New function.
19767 (special_fill_minus_min): Likewise.
19768 (special_fill_min_subnorm): Likewise.
19769 (special_fill_minus_min_subnorm): Likewise.
19770 (special_real_inputs): Add min, -min, min_subnorm and
19771 -min_subnorm.
19772 (calc_generic_results): Handle mpfr_ff_f.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775
197762013-12-16 Will Newton <will.newton@linaro.org>
19777
19778 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19779 (Aligned Memory Blocks): Add documentation for aligned_alloc
19780 and suggest it as an alternative to posix_memalign.
19781 (Hooks for Malloc): Document __memalign_hook is also called
19782 for aligned_alloc. (Summary of Malloc): Add summary for
19783 aligned alloc. Document __memalign_hook is also called
19784 for aligned_alloc.
19785
197862013-12-16 Will Newton <will.newton@linaro.org>
19787
19788 * manual/memory.texi (Malloc Examples): Clarify default
19789 alignment documentation. Suggest posix_memalign rather
19790 than memalign or valloc.
19791 (Aligned Memory Blocks): Remove suggestion to use memalign
19792 or valloc. Remove obsolete comment about BSD.
19793 Document memalign errno values and mark the function obsolete.
19794 Document posix_memalign returned error codes. Mark valloc
19795 as obsolete. (Hooks for Malloc): __memalign_hook is also
19796 called for posix_memalign and valloc.
19797 (Summary of Malloc): Add posix_memalign to function summary.
19798 __memalign_hook is also called for posix_memalign and valloc.
19799
198002013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19801
19802 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19803 TAYLOR_SIN.
19804 (__sin): Adjust.
19805 (__cos): Likewise.
19806 (sloww): Use mynumber union. Expand ternary operator into
19807 if-else statements.
19808 (cslow): use mynumber union.
19809
198102013-12-16 Allan McRae <allan@archlinux.org>
19811
19812 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19813 * configure: Regenerated.
19814
19815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19816
19817 [BZ #14120]
19818 * configure.ac: Added --enable-maintainer-mode. Check for
19819 autoconf when enabled.
19820 * configure: Regenerated.
19821
19822 * nscd/nscd.service: New file.
19823 * nscd/nscd.tmpfiles: New file.
19824
198252013-12-14 Ondřej Bílka <neleai@seznam.cz>
19826
19827 [BZ #12100]
19828 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19829 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19830 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19831 (strstr): Add __strstr_sse2_unaligned ifunc.
19832 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19833 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19834 (strcasestr): Remove __strcasestr_sse42 ifunc.
19835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19838
198392013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19840
19841 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19842 * sysdeps/sh/bits/fenv.h: ... here.
19843 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19844
198452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19846
19847 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19848
19849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19850 hypotf multiarch implementations.
19851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19853 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19854 multiarch hypot for PPC64.
19855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19858 multiarch hypotf for PPC64.
19859
19860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19861 modff multiarch implementations.
19862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19865 multiarch modf for PPC64.
19866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19869 multiarch modff for PPC64.
19870
19871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19872 and logl multiarch implementations.
19873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19876 multiarch logb for PPC64.
19877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19880 multiarch logb for PPC64.
19881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19884 multiarch logb for PPC64.
19885
19886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19887 isinff multiarch implementation.
19888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19889 file.
19890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19892 multiarch isinf for PPC64.
19893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19894 file.
19895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19896 multiarch isinff for PPC64.
19897
19898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19899 finitef multiarch implementation.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19901 file.
19902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19904 multiarch finite for PPC64.
19905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19906 file.
19907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19908 multiarch finitef for PPC64.
19909
19910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19911 lrint multiarch implementation.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19913 file.
19914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19916 multiarch llrint for PPC64.
19917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19918 multiarch lrint for PPC64.
19919
19920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19921 copysignf multiarch implementation.
19922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19923 file.
19924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19925 file.
19926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19927 multiarch copysign for PPC64.
19928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19929 multiarch copysignf for PPC64.
19930
19931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19932 multiarch implementation.
19933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19934 file.
19935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19936 file.
19937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19938 file.
19939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19940 file.
19941 multiarch llround for PPC64.
19942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19943 multiarch trunc for PPC64.
19944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19945 multiarch truncf for PPC64.
19946
19947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19948 multiarch implementation.
19949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19950 file.
19951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19952 file.
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19954 file.
19955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19956 file.
19957 multiarch llround for PPC64.
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19959 multiarch round for PPC64.
19960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19961 multiarch roundf for PPC64.
19962
19963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19964 multiarch implementation.
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19966 file.
19967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19968 file.
19969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19970 file.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19972 file.
19973 multiarch llround for PPC64.
19974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19975 multiarch floor for PPC64.
19976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19977 multiarch floorf for PPC64.
19978
19979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19980 multiarch implementation.
19981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19982 file.
19983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19984 file.
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19986 file.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19988 file.
19989 multiarch llround for PPC64.
19990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19991 multiarch ceil for PPC64.
19992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19993 multiarch ceilf for PPC64.
19994
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19996 multiarch implementation.
19997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19998 file.
19999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20000 file.
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20002 file.
20003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20004 multiarch llround for PPC64.
20005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20006 multiarch lround for PPC64.
20007
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20009 multiarch implementation.
20010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20013 file.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20017 multiarch isnan for PPC64.
20018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20019 multiarch isnanf for PPC64.
20020
20021 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20022 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20023 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20024 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20025 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20027
20028 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20032
20033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20034 multiarch implementations.
20035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20036 (__libc_ifunc_impl_list): Likewise.
20037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20039 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20040 multiarch stpcpy for PPC64.
20041
20042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20043 multiarch implementations.
20044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20045 (__libc_ifunc_impl_list): Likewise.
20046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20048 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20049 multiarch strcpy for PPC64.
20050
20051 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20052 redefine function name.
20053 (_wordcopy_fwd_dest_aligned): Likewise.
20054 (_wordcopy_bwd_aligned): Likewise.
20055 (_wordcopy_bwd_dest_aligned): Likewise.
20056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20057 multiarch implementations.
20058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20059 (__libc_ifunc_impl_list): Likewise.
20060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20064 multiarch wcscpy for PPC64.
20065
20066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20067 multiarch implementations.
20068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20069 (__libc_ifunc_impl_list): Likewise.
20070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20074 multiarch wcscpy for PPC64.
20075
20076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20077 multiarch implementations.
20078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20079 (__libc_ifunc_impl_list): Likewise.
20080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20084 multiarch wcsrchr for PPC64.
20085
20086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20087 multiarch implementations.
20088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20089 (__libc_ifunc_impl_list): Likewise.
20090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20093 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20094 multiarch wcschr for PPC64.
20095
20096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20097 multiarch implementations.
20098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20099 (__libc_ifunc_impl_list): Likewise.
20100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20103 multiarch strchrnul for PPC64.
20104
20105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20106 implementations.
20107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20108 (__libc_ifunc_impl_list): Likewise.
20109 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20110 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20111 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20112 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20113 strchr for PPC64.
20114
20115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20116 implementations.
20117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20118 (__libc_ifunc_impl_list): Likewise.
20119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20122 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20123 strncmp for PPC64.
20124
20125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20126 multiarch implementations.
20127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20128 (__libc_ifunc_impl_list): Likewise.
20129 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20130 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20131 strncasecmp for PPC64.
20132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20133 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20134 multiarch strncasecmp_l for PPC64.
20135
20136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20137 multiarch implementations.
20138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20139 (__libc_ifunc_impl_list): Likewise.
20140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20141 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20142 multiarch strcasecmp for PPC64.
20143 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20144 file.
20145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20146 multiarch strcasecmp_l for PPC64.
20147
20148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20149 implementations.
20150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20151 (__libc_ifunc_impl_list): Likewise.
20152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20153 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20154 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20155 strnlen for PPC64.
20156
20157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20158 implementations.
20159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20160 (__libc_ifunc_impl_list): Likewise.
20161 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20162 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20164 strlen for PPC64.
20165
20166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20167 implementations.
20168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20169 (__libc_ifunc_impl_list): Likewise.
20170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20172 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20173 rawmemrchr for PPC64.
20174
20175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20176 implementation.
20177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20178 (__libc_ifunc_impl_list): Likewise.
20179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20180 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20181 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20182 memrchr for PPC64.
20183
20184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20185 implementation.
20186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20187 (__libc_ifunc_impl_list): Likewise.
20188 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20189 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20190 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20191 memchr for PPC64.
20192
20193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20194 implementation.
20195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20196 (__libc_ifunc_impl_list): Likewise.
20197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20199 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20200 mempcpy for PPC64.
20201
20202 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20203 avoid cretion of __bzero symbol.
20204 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20205 Likewise.
20206 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20207 Likewise.
20208 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20209 Likewise.
20210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20211 multiarch implementations.
20212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20213 (__libc_ifunc_impl_list): Likewise.
20214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20216 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20217 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20218 bzero for PPC32.
20219 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20220 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20221 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20222 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20223 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20224 memset for PPC64.
20225 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20226
20227 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20229 implementations.
20230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20231 (__libc_ifunc_impl_list): Likewise.
20232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20234 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20235 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20236 memcmp for PPC64.
20237
20238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20239 multiarch for POWER/PPC64.
20240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20241 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20249 memcpy for PPC64.
20250
20251 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20252 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20253 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20254 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20255 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20256 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20258 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20259 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20260 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20261 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20262 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20263 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20264 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20265 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20273
202742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20275
20276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20277
202782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20279
20280 * benchtests/Makefile (bench): Add exp2 and log2.
20281 (LDLIBS-bench-exp2): Add -lm.
20282 (LDLIBS-bench-log2): Likewise.
20283 * benchtests/exp2-inputs: New inputs file.
20284 * benchtests/log2-inputs: New inputs file.
20285 * benchtests/log-inputs: Add new inputs.
20286 * benchtests/tan-inputs: Likewise.
20287
202882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20289
20290 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20291 definition...
20292 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20293 (csloww2): ... from here.
20294
20295 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20296 instead of structures.
20297 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20298 (POLYNOMIAL): Likewise.
20299 (TAYLOR_SLOW): Likewise.
20300 (__sin): Likewise.
20301 (__cos): Likewise.
20302 (slow1): Likewise.
20303 (slow2): Likewise.
20304 (sloww): Likewise.
20305 (sloww1); Likewise.
20306 (sloww2): Likewise.
20307 (bsloww1): Likewise.
20308 (bsloww2): Likewise.
20309 (cslow2): Likewise.
20310 (csloww): Likewise.
20311 (csloww1): Likewise.
20312 (csloww2): Likewise.
20313
203142013-12-10 Ondřej Bílka <neleai@seznam.cz>
20315
20316 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20317 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20318 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20319 * malloc/hooks.c (realloc_check): Likewise.
20320
20321 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20322 * malloc/arena.c: Remove PER_THREAD conditional.
20323 [!PER_THREAD]: Remove code.
20324 (ptmalloc_unlock_all2): Likewise.
20325 (ptmalloc_init): Likewise.
20326 (_int_new_arena): Likewise.
20327 (arena_get2): Likewise.
20328 * malloc/hooks.c (__malloc_get_state): Likewise.
20329 (__malloc_set_state): Likewise.
20330 * malloc/malloc.c: Likewise.
20331 (struct malloc_state): Likewise.
20332 (struct malloc_par): Likewise.
20333 (__libc_realloc): Likewise.
20334 (__libc_mallopt): Likewise.
20335
203362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20337
20338 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20339
203402013-12-09 Ondřej Bílka <neleai@seznam.cz>
20341
20342 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20343 macro to a function. Check for zero perturb_byte.
20344 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20345
20346 * malloc/malloc.c: (force_reg): Remove.
20347 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20348 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20349 force_reg by atomic_forced_read.
20350 * malloc/arena.c (ptmalloc_init): Likewise.
20351 * malloc/hooks.c (top_check): Likewise.
20352
203532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20354
20355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20356
203572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20358
20359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20360
203612013-12-08 Joseph Myers <joseph@codesourcery.com>
20362
20363 * math/auto-libm-test-in: Add tests of lgamma.
20364 * math/auto-libm-test-out: Regenerated.
20365 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20366 (M_LOG_2_SQRT_PIl): Likewise.
20367 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20369 mpfr_f_f1.
20370 (func_calc_desc): Add mpfr_f_f1 union field.
20371 (ARGS1): New macro.
20372 (ARGS2): Likewise.
20373 (ARGS3): Likewise.
20374 (ARGS4): Likewise.
20375 (RET1): Likewise.
20376 (RET2): Likewise.
20377 (CALC): Likewise.
20378 (FUNC): Likewise.
20379 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20380 (test_functions): Add lgamma.
20381 (calc_generic_results): Handle mpfr_f_f1.
20382 * sysdeps/i386/fpu/libm-test-ulps: Update.
20383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20384
203852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20386
20387 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20388 __mpn_add_n for PowerPC64/POWER7.
20389 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20390 __mpn_sub_n for PowerPC64/POWER7.
20391
20392 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20393 __mpn_addmul_1 for PowerPC64.
20394 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20395 __mpn_submul_1 for PowerPC64.
20396 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20397 for PowerPC64.
20398 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20399 for PowerPC64.
20400
204012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20402
20403 [BZ #15089]
20404 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20405
204062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20407
20408 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20409
20410 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20411 add multiarch folders.
20412 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20413 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20414 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20415 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20416 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20417 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20418 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20419 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20420 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20421 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20422 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20429
20430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20431 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20433 New file.
20434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20435 New file.
20436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20437 multiarch __ieee754_hypot for PowerPC32.
20438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20439 New file.
20440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20441 New file.
20442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20443 multiarch __ieee754_hypotf for PowerPC32.
20444
20445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20446 long_double_symbol only if __logbl is defined.
20447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20448 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20450 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20452 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20454 path for implementation.
20455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20458 logb, and logbl multiarch implementations for PowerPC32.
20459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20460 file.
20461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20462 file.
20463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20464 multiarch logb for PowerPC32.
20465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20466 file.
20467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20468 file.
20469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20470 multiarch logbf for PowerPC32.
20471 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20473 file.
20474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20475 multiarch logbl implementation for PowerPC32.
20476
20477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20478 and modff multiarch implementations.
20479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20480 New file.
20481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20482 New file.
20483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20484 multiarch modf for PowerPC32.
20485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20486 New file.
20487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20488 New file.
20489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20490 multiarch modff for PowerPC32.
20491
20492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20493 and lrintf multiarch implementations.
20494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20495 New file.
20496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20497 New file.
20498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20499 multiarch lrint for PowerPC32.
20500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20501 file: multiarch lrintf for PowerPC32.
20502
20503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20504 and lroundf multiarch implementations.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20506 New file.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20508 New file.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20510 New file.
20511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20512 multiarch lround for PowerPC32.
20513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20514 file: multiarch lroundf for PowerPC32.
20515
20516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20517 copysign and copysignf multiarch implementations.
20518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20519 New file.
20520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20521 New file.
20522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20523 file: multiarch copysign for PowerPC32.
20524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20525 file: multiarch copysignf for PowerPC32.
20526
20527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20528 and truncf multiarch implementations.
20529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20530 New file.
20531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20532 file.
20533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20534 multiarch trunc for PowerPC32.
20535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20536 New file.
20537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20538 New file.
20539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20540 multiarch truncf for PowerPC32.
20541
20542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20543 and roundf multiarch implementations.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20545 New file.
20546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20547 file.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20549 multiarch round for PowerPC32.
20550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20551 New file.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20553 New file.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20555 multiarch roundf for PowerPC32.
20556
20557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20558 and floorf multiarch implementations.
20559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20560 New file.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20562 file.
20563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20564 multiarch floor for PowerPC32.
20565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20566 New file.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20568 New file.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20570 multiarch floorf for PowerPC32.
20571
20572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20573 and ceilf multiarch implementations.
20574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20575 New file.
20576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20577 file.
20578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20579 multiarch ceil for PowerPC32.
20580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20581 New file.
20582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20583 file.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20585 multiarch ceilf for PowerPC32.
20586
20587 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20588 is defined.
20589 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20590 FINITEF is defined.
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20592 and finitef multiarch implementations.
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20594 New file.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20596 file.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20598 multiarch finite for PowerPC32.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20600 New file.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20602 file: multiarch finitef for PowerPC32.
20603
20604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20605 and isinff multiarch implementations.
20606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20607 file.
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20609 file.
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20611 multiarch isinf for PowerPC32.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20613 New file.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20615 multiarch isinff for PowerPC32.
20616
20617 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20618 alias when __isnan is defined.
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20620 and isnanf multiarch implementations.
20621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20622 file.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20624 file.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20626 file.
20627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20628 file.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20630 multiarch isnan for PowerPC32.
20631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20632 New file.
20633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20634 New file.
20635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20636 multiarch isnanf for PowerPC32.
20637
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20639 and sqrtf multiarch implementations.
20640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20641 file.
20642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20643 file.
20644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20645 multiarch sqrt for PowerPC32.
20646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20647 file.
20648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20649 file.
20650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20651 multiarch sqrtf for PowerPC32.
20652
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20654 and llroundf multiarch implementations.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20656 New file.
20657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20658 New file.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20660 New file.
20661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20662 file: multiarch llround for PowerPC32.
20663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20664 file: multiarch llroundf for PowerPC32.
20665
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20667 multiarch PowerPC32 fpu implementations.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20669 New file.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20671 New file.
20672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20673 multiarch llrint for PowerPC32.
20674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20675 New file.
20676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20677 New file.
20678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20679 file.
20680
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20682
20683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20684 file.
20685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20686 file.
20687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20688 file.
20689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20690 multiarch wordcopy for PPC32.
20691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20692 wordcopy objects.
20693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20694 (__libc_ifunc_impl_list): Likewise.
20695 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20696 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20697 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20698 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20699 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20700 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20701
20702 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20704 file.
20705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20706 file.
20707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20708 file.
20709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20710 multiarch wcscpy for PPC32.
20711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20712 multiarch objects.
20713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20714 (__libc_ifunc_impl_list): Likewise.
20715 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20716 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20717 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20718 sysdeps/powerpc/power6/wcscpy.c.
20719
20720 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20722 file.
20723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20724 file.
20725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20726 file.
20727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20728 multiarch wcsrchr for PPC32.
20729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20730 multiarch objects.
20731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20732 (__libc_ifunc_impl_list): Likewise.
20733 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20734 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20735 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20736 sysdeps/powerpc/power6/wcsrchr.c.
20737
20738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20739 file.
20740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20741 file.
20742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20744 multiarch wcschr for PPc32.
20745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20746 multiarch objects.
20747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20748 (__libc_ifunc_impl_list): Likewise.
20749 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20750 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20751 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20752 sysdeps/powerpc/power6/wcschr.c.
20753
20754 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20755 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20756 file.
20757 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20758 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20759 file: multiarch strchr for PPC32.
20760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20761 multiarch objects.
20762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20763 (__libc_ifunc_impl_list): Likewise.
20764
20765 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20766 name.
20767 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20768 file.
20769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20770 file.
20771 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20772 multiarch strchrnul for PPC32.
20773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20774 multiarch objects.
20775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20776 (__libc_ifunc_impl_list): Likewise.
20777
20778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20779 file.
20780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20781 multiarch strncasecmp for PPC32.
20782 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20783 file.
20784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20785 multiarch strncasecmp_l for PPC32.
20786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20787 strncasecmp multiarch objects.
20788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20789 (__libc_ifunc_impl_list): Likewise.
20790
20791 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20792 file.
20793 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20794 multiarch strncasecmp for PPC32.
20795 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20796 New file.
20797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20798 multiarch strcasecmp_l for PPC32.
20799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20800 multiarch objects.
20801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20802 (__libc_ifunc_impl_list): Likewise.
20803
20804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20805 file.
20806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20807 file.
20808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20809 multiarch strncmp for PPC32.
20810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20811 multiarch objects.
20812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20813 (__libc_ifunc_impl_list): Likewise.
20814
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20816 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20817 file.
20818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20821 multiarch objects.
20822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20823 (__libc_ifunc_impl_list): Likewise.
20824
20825 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20826 file.
20827 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20828 file.
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20831 multiarch objects.
20832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20833 (__libc_ifunc_impl_list): Likewise.
20834
20835 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20836 file.
20837 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20838 file.
20839 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20840 multiarch rawmemchr for PPC32.
20841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20842 multiarch objects.
20843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20844 (__libc_ifunc_impl_list): Likewise.
20845
20846 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20847 file.
20848 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20849 file.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20851 file: memrchr multiarch for PPC32.
20852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20853 multiarch objects.
20854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20855 (__libc_ifunc_impl_list): Likewise.
20856
20857 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20859 file.
20860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20862 multiarch memchr for PPC32.
20863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20864 multiarch objects.
20865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20866 (__libc_ifunc_impl_list): Likewise.
20867
20868 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20869 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20870 file.
20871 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20872 file.
20873 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20874 file: multiarch mempcpy for PPC32.
20875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20876 multiarch objects.
20877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20878 (__libc_ifunc_impl_list): Likewise.
20879
20880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20884 multiarch bzero for PPC32.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20886 file.
20887 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20888 file.
20889 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20890 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20891 file: multiarch memset for PPC32.
20892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20894 memset multiarch objects.
20895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20896 (__libc_ifunc_impl_list): Likewise.
20897
20898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20899 file.
20900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20902 memcmp for PPC32.
20903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20905 multiarch objects.
20906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20907 (__libc_ifunc_impl_list): Likewise.
20908
20909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20912 file.
20913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20914 file.
20915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20916 file.
20917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20918 multiarch memcpy for PPC32.
20919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20920 multiarch objects.
20921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20922 (__libc_ifunc_impl_list): Likewise.
20923
20924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20925 support multiarch for POWER/PPC32.
20926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20927 Likewise.
20928 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20930 Implies file to make multiarch folder appers before the fpu and
20931 default folder for power4 configuration.
20932
209332013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20934
20935 * scripts/bench.pl: Append volatile keyword to type.
20936
209372013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20938
20939 * sysdeps/sh/sotruss-lib.c: New file.
20940 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20941
209422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20943
20944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20945
209462013-12-05 Joseph Myers <joseph@codesourcery.com>
20947
20948 [BZ #6810]
20949 * math/w_tgamma.c: Include <errno.h>.
20950 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20951 * math/w_tgammaf.c: Include <errno.h>.
20952 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20953 * math/w_tgammal.c: Include <errno.h>.
20954 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20955 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20956 underflow. Add more tgamma tests.
20957 * math/auto-libm-test-out: Regenerated.
20958 * sysdeps/i386/fpu/libm-test-ulps: Update.
20959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960
20961 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20962 sin, sinh, tan, tanh, tgamma, y0 and y1.
20963 * math/auto-libm-test-out: Regenerated.
20964 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20965 (TEST_COND_x86): Likewise.
20966 (M_E2l): Remove macro.
20967 (M_E3l): Likewise.
20968 (M_2_SQRT_PIl): Likewise.
20969 (M_SQRT_PIl): Likewise.
20970 (M_1_DIV_El): Likewise.
20971 (log_test_data): Use AUTO_TESTS_f_f.
20972 (log10_test_data): Likewise.
20973 (log1p_test_data): Likewise.
20974 (log2_test_data): Likewise.
20975 (sin_test_data): Likewise.
20976 (sin_tonearest_test_data): Likewise.
20977 (sin_towardzero_test_data): Likewise.
20978 (sin_downward_test_data): Likewise.
20979 (sin_upward_test_data): Likewise.
20980 (sinh_test_data): Likewise.
20981 (sinh_tonearest_test_data): Likewise.
20982 (sinh_towardzero_test_data): Likewise.
20983 (sinh_downward_test_data): Likewise.
20984 (sinh_upward_test_data): Likewise.
20985 (tan_test_data): Likewise.
20986 (tan_tonearest_test_data): Likewise.
20987 (tan_towardzero_test_data): Likewise.
20988 (tan_downward_test_data): Likewise.
20989 (tan_upward_test_data): Likewise.
20990 (tanh_test_data): Likewise.
20991 (tgamma_test_data): Likewise.
20992 (y0_test_data): Likewise.
20993 (y1_test_data): Likewise.
20994 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20995 (special_real_inputs): Add pi/4.
20996 * sysdeps/i386/fpu/libm-test-ulps: Update.
20997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20998
209992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21000
21001 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21002 "longjmp_target" static probes.
21003 (__longjmp): Rename to __longjmp_symbol.
21004 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21005 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21006 on which longjmp to generate.
21007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21009 probe.
21010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21011 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21012 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21013 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21014 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21017 __longjmp_symbol based on which __longjmp to generate.
21018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21019 probe.
21020 (setjmp): Rename to setjmp_symbol.
21021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21022 (_setjmp): Rename to _setjmp_symbol.
21023 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21024 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21025 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21026 which setjmp to generate.
21027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21028 "longjmp_target" static probes.
21029
210302013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21031
21032 * benchtests/README: Add note about output arguments.
21033 * benchtests/bench-sincos.c: Remove file.
21034 * benchtests/sincos-inputs: New file.
21035 * scripts/bench.pl: Identify output arguments and define
21036 static variables for them.
21037
21038 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21039
21040 [BZ #15941]
21041 * Makefile (INSTALL): Add install-plain.texi as the primary
21042 dependency.
21043 * manual/install-plain.texi: New file.
21044 * manual/install.texi: Include node directive only for
21045 non-plaintext output.
21046
210472013-12-04 Joseph Myers <joseph@codesourcery.com>
21048
21049 * stdlib/longlong.h: Update from GCC.
21050
21051 [BZ #6807]
21052 [BZ #15901]
21053 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21054 * math/w_j0f.c (y0f): Likewise.
21055 * math/w_j0l.c (__y0l): Likewise.
21056 * math/w_j1.c (y1): Likewise.
21057 * math/w_j1f.c (y1f): Likewise.
21058 * math/w_j1l.c (__y1l): Likewise
21059 * math/w_jn.c (yn): Likewise.
21060 * math/w_jnf.c (ynf): Likewise.
21061 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21062 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21063 value for Bessel function domain errors outside _SVID_ mode.
21064 Adjust sign of return value for yn (negative integer, 0).
21065 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21066 by zero in return for negative x and set sign appropriately for
21067 negative n.
21068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21069 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21070 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21071 expectations in error cases.
21072 (y1_test_data): Likewise.
21073 (yn_test_data): Likewise.
21074 * sysdeps/i386/fpu/libm-test-ulps: Update.
21075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21076
210772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21078
21079 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21080 "64" to "64-v1". Add "64-v2".
21081 (abi-64-options): Rename to ...
21082 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21083 (abi-64-condition): Rename to ...
21084 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21085 (abi-64-ld-soname): Rename to ...
21086 (abi-64-v1-ld-soname): ... this.
21087 (abi-64-v2-options): Define.
21088 (abi-64-v2-condition): Likewise.
21089 (abi-64-v2-ld-soname): Likewise.
21090 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21091 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21095
210962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21097 Alan Modra <amodra@gmail.com>
21098
21099 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21100 New versions for use with the ELFv2 ABI.
21101 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21102 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21103 declaration.
21104 (struct La_ppc64v2_retval): Likewise.
21105 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21106 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21107 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21108 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21109 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21111 Do not save or restore CR.
21112 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21113 (_dl_profile_resolve): Do no save or restore CR. Support extended
21114 return values for ELFv2 ABI. Fix location of FPR return registers.
21115 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21116 updated values for _CALL_ELF == 2.
21117 (La_regs, La_retval, int_retval): Likewise.
21118
211192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21120
21121 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21122 (FRAME_MIN_SIZE_PARM): Likewise.
21123 (FRAME_BACKCHAIN): Likewise.
21124 (FRAME_CR_SAVE): Likewise.
21125 (FRAME_LR_SAVE): Likewise.
21126 (FRAME_TOC_SAVE): Likewise.
21127 (FRAME_PARM_SAVE): Likewise.
21128 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21129 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21130 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21131 (call_mcount_parm_offset): New macro.
21132 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21133 (PROF): Use symbolic stack frame offsets.
21134 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21136 Redefine in terms of FRAME_MIN_SIZE.
21137 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21138 (_dl_profile_resolve): Likewise. Update comment.
21139 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21140 symbols stack frame offsets.
21141 (__sigsetjmp): Likewise.
21142 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21143 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21144 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21145 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21146
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21148 (FRAME_BACKCHAIN): Remove.
21149 (FRAME_CR_SAVE): Likewise.
21150 (FRAME_LR_SAVE): Likewise.
21151 (FRAME_COMPILER_DW): Likewise.
21152 (FRAME_LINKER_DW): Likewise.
21153 (FRAME_TOC_SAVE): Likewise.
21154 (FRAME_PARM_SAVE): Likewise.
21155 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21156 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21157 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21159 (CHECK_SP): Use symbolic stack frame offsets.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21161 zone" instead of caller's parameter save area for temp storage.
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21163 Likewise. Also, use symbolic stack frame offsets.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21165 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21166 our own stack frame instead of the caller's.
21167 (__socket): Use symbolic stack frame offsets.
21168
211692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21170 Alan Modra <amodra@gmail.com>
21171
21172 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21173 Define.
21174 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21175 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21176 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21177 New function.
21178 (elf_machine_fixup_plt): Call it.
21179 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21180 reloc arguments.
21181 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21183 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21184 r2 before calling target.
21185
211862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21187 Alan Modra <amodra@gmail.com>
21188
21189 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21190 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21191 versions of macros to support ELFv2 ABI.
21192 (LOCALENTRY): New macro.
21193 (ENTRY, EALIGN): Use it.
21194 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21195 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21196 fall through into ENTRY entry point.
21197 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21198 Only define if _CALL_ELF != 2.
21199
21200 (elf_machine_matches_host): Verify ABI version matches.
21201 (RTLD_START): Use LOCALENTRY.
21202 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21203 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21204 (PLT_ENTRY_WORDS): New macro.
21205 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21206 (elf_machine_runtime_setup): Support ELFv2 ABI.
21207 (elf_machine_fixup_plt): Likewise.
21208 (elf_machine_plt_conflict): Likewise.
21209 (resolve_ifunc): Likewise.
21210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21212 Likewise.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21214 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21216 (makecontext): Support ELFv2 ABI.
21217 * elf/elf.h (EF_PPC64_ABI): Define.
21218
212192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21220
21221 * sysdeps/powerpc/powerpc64/sysdep.h
21222 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21223 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21224 (ENTRY) [ASSEMBLER]: ... but instead here ...
21225 (EALIGN) [ASSEMBLER]: ... and here.
21226 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21227 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21228 (ENTRY_2) [!ASSEMBLER]: Use it.
21229 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21230 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21232 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21233 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21235 Use PPC64_LOAD_FUNCPTR.
21236
21237 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21238
212392013-12-04 Alan Modra <amodra@gmail.com>
21240
21241 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21242 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21243 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21244 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21245
21246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21247 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21248 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21249 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21250 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21251 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21252
212532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21254
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21256 (__makecontext): Fix incorrect CFI when backtracing out of
21257 context created via makecontext.
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21259 (__setcontext): Fix incorrect CFI during switch to new context.
21260 (__novec_setcontext): Likewise.
21261
212622013-12-04 Ondřej Bílka <neleai@seznam.cz>
21263
21264 [BZ #4772]
21265 * time/strptime_l.c (__strptime_internal): Allow modifiers
21266 in strptime.
21267 * time/tst-strptime.c (day_tests): Add testcase.
21268
212692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21270
21271 * scripts/bench.pl: Skip over blank lines.
21272
212732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21274
21275 [BZ #926]
21276 * manual/time.texi (Calendar Time): Clarify what timezone functions
21277 use.
21278
212792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21280
21281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21282
212832013-12-04 Ondřej Bílka <neleai@seznam.cz>
21284
21285 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21286 implementation.
21287 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21288 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21289 * debug/memset_chk.c (__memset_chk): Likewise.
21290 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21291 * debug/strncpy_chk.c: Likewise.
21292
212932013-12-03 Joseph Myers <joseph@codesourcery.com>
21294
21295 [BZ #15268]
21296 [BZ #15425]
21297 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21298 (__ieee754_exp): For possibly underflowing results, check size of
21299 result and force underflow exception if required.
21300 * math/auto-libm-test-in: Add more tests of exp.
21301 * math/auto-libm-test-out: Regenerated.
21302 * sysdeps/i386/fpu/libm-test-ulps: Update.
21303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21304
21305 [BZ #16283]
21306 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21307 * math/w_exp2f.c (__exp2f): Likewise.
21308 * math/w_exp2l.c (__exp2l): Likewise.
21309 * math/auto-libm-test-in: Do not allow missing errno on exp2
21310 underflow.
21311 * math/auto-libm-test-out: Regenerated.
21312
213132013-12-03 Ondřej Bílka <neleai@seznam.cz>
21314
21315 [BZ #16274]
21316 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21317 handle filename validation.
21318 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21319 (do_open): Delete.
21320
213212013-12-03 Joseph Myers <joseph@codesourcery.com>
21322
21323 [BZ #6786]
21324 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21325 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21326 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21327 <float.h>.
21328 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21330 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21332 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21334 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21335 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21336 Add more erfc tests.
21337 * math/auto-libm-test-out: Regenerated.
21338 * sysdeps/i386/fpu/libm-test-ulps: Update.
21339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21340
21341 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21342 exp2, expm1, j0 and j1.
21343 * math/auto-libm-test-out: Regenerated.
21344 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21345 (erfc_test_data): Likewise.
21346 (exp_test_data): Likewise.
21347 (exp_tonearest_test_data): Likewise.
21348 (exp_towardzero_test_data): Likewise.
21349 (exp_downward_test_data): Likewise.
21350 (exp_upward_test_data): Likewise.
21351 (exp10_test_data): Likewise.
21352 (exp2_test_data): Likewise.
21353 (expm1_test_data): Likewise.
21354 (j0_test_data): Likewise.
21355 (j1_test_data): Likewise.
21356 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21357 (input_flag_type): Add flag_xfail_rounding.
21358 (input_flags): Add xfail-rounding.
21359 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21360 (output_for_one_input_case): Handle flag_xfail_rounding.
21361 * sysdeps/i386/fpu/libm-test-ulps: Update.
21362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21363
213642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21365
21366 [BZ #16289]
21367 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21368 division by 0.
21369
213702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21371
21372 [BZ #16195]
21373 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21374 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21375 (STAP_PROBE0): New macro.
21376 (STAP_PROBE1): Likewise.
21377 (STAP_PROBE2): Likewise.
21378 (STAP_PROBE3): Likewise.
21379 (STAP_PROBE4): Likewise.
21380
213812013-12-02 Ondřej Bílka <neleai@seznam.cz>
21382
21383 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21384
213852013-12-02 Steve Ellcey <sellcey@mips.com>
21386
21387 * benchtests/Makefile (bench): Add sqrt.
21388 (LDLIBS-bench-sqrt): New.
21389 * benchtests/sqrt-input: New.
21390
213912013-12-02 Pavel Simerda <psimerda@redhat.com>
21392
21393 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21394 (GAIH_EAI): Likewise.
21395 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21396 (gaih_inet): Likewise.
21397 (getaddrinfo): Don't use GAIH_EAI.
21398
21399 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21400 (struct gaih): Remove definition.
21401
214022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21403
21404 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21405 Use HERRNOP directly.
21406
214072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21408
21409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21410
214112013-11-30 Joseph Myers <joseph@codesourcery.com>
21412
21413 * math/gen-auto-libm-tests.c (test_functions): Add more
21414 single-argument functions.
21415 (special_fill_pi_2): New function.
21416 (special_fill_minus_pi_2): Likewise.
21417 (special_fill_pi_6): Likewise.
21418 (special_fill_minus_pi_6): Likewise.
21419 (special_fill_pi_3): Likewise.
21420 (special_fill_2pi_3): Likewise.
21421 (special_fill_e): Likewise.
21422 (special_fill_1_e): Likewise.
21423 (special_fill_e_minus_1): Likewise.
21424 (special_real_inputs): Add more special inputs.
21425 (output_for_one_input_case): Do not require ERANGE on underflow to
21426 zero if round-to-nearest result does not underflow to zero, unless
21427 exact results required.
21428 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21429 atan, atanh, cbrt, cos and cosh.
21430 * math/auto-libm-test-out: Regenerated.
21431 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21432 (acos_tonearest_test_data): Likewise.
21433 (acos_towardzero_test_data): Likewise.
21434 (acos_downward_test_data): Likewise.
21435 (acos_upward_test_data): Likewise.
21436 (acosh_test_data): Likewise.
21437 (asin_test_data): Likewise.
21438 (asin_tonearest_test_data): Likewise.
21439 (asin_towardzero_test_data): Likewise.
21440 (asin_upward_test_data): Likewise.
21441 (asinh_test_data): Likewise.
21442 (atan_test_data): Likewise.
21443 (atanh_test_data): Likewise.
21444 (cbrt_test_data): Likewise.
21445 (cos_test_data): Likewise.
21446 (cos_tonearest_test_data): Likewise.
21447 (cos_towardzero_test_data): Likewise.
21448 (cos_downward_test_data): Likewise.
21449 (cos_upward_test_data): Likewise.
21450 (cosh_test_data): Likewise.
21451 (cosh_tonearest_test_data): Likewise.
21452 (cosh_towardzero_test_data): Likewise.
21453 (cosh_downward_test_data): Likewise.
21454 (cosh_upward_test_data): Likewise.
21455 * sysdeps/i386/fpu/libm-test-ulps: Update.
21456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21457
214582013-11-29 Joseph Myers <joseph@codesourcery.com>
21459
21460 [BZ #6787]
21461 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21462 * math/w_exp10f.c (__exp10f): Likewise.
21463 * math/w_exp10l.c (__exp10l): Likewise.
21464 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21465 errno settings in existing tests.
21466
21467 [BZ #14032]
21468 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21469 precision control set to double precision.
21470 * sysdeps/i386/fpu/w_sqrt.c: New file.
21471 * math/auto-libm-test-in: Add more tests.
21472 * math/auto-libm-test-out: Update.
21473
21474 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21475 (sqrt_test_tonearest): New function.
21476 (sqrt_towardzero_test_data): New variable.
21477 (sqrt_test_towardzero): New function.
21478 (sqrt_downward_test_data): New variable.
21479 (sqrt_test_downward): New function.
21480 (sqrt_upward_test_data): New variable.
21481 (sqrt_test_upward): New function.
21482 (main): Call the new functions.
21483
21484 * math/gen-auto-libm-tests.c: New file.
21485 * math/auto-libm-test-in: Likewise.
21486 * math/auto-libm-test-out: New generated file.
21487 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21488 variables.
21489 (%beautify): Add generated representations of zero.
21490 (top level): Set $auto_input and call parse_auto_input.
21491 (beautify): Remove trailing "f" from hex float constants.
21492 (parse_args): Handle XFAIL_TEST.
21493 (convert_condition): New function.
21494 (or_value): Likewise.
21495 (or_cond_value): Likewise.
21496 (generate_testfile): Handle AUTO_TESTS_* lines.
21497 (parse_auto_input): New function.
21498 * math/libm-test.inc (XFAIL_TEST): New macro.
21499 (ERRNO_UNCHANGED): Update value.
21500 (ERRNO_EDOM): Likewise.
21501 (ERRNO_ERANGE): Likewise.
21502 (IGNORE_RESULT): Likewise.
21503 (TEST_COND_flt_32): New macro.
21504 (TEST_COND_dbl_64): Likewise.
21505 (TEST_COND_ldbl_96_intel): Likewise.
21506 (TEST_COND_ldbl_96_m68k): Likewise.
21507 (TEST_COND_ldbl_128): Likewise.
21508 (TEST_COND_ldbl_128ibm): Likewise.
21509 (TEST_COND_long32): Likewise.
21510 (TEST_COND_long64): Likewise.
21511 (TEST_COND_before_rounding): Likewise.
21512 (TEST_COND_after_rounding): Likewise.
21513 (enable_test): Handle XFAIL_TEST flag.
21514 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21515 with finite results.
21516 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21517 auto-libm-test-out.
21518
215192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21520 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21521
21522 [BZ #16214]
21523 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21524 __tls_get_addr_internal instead of __tls_get_offset in order to
21525 avoid GOT pointer dependency. Make rtld export
21526 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21527 __tls_get_addr since we are a __tls_get_offset platform.
21528 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21529 GOT pointer being set up before.
21530 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21531
215322013-11-28 Joseph Myers <joseph@codesourcery.com>
21533
21534 * manual/math.texi (Errors in Math Functions): Document accuracy
21535 goals.
21536
21537 [BZ #15004]
21538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21542 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21544 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21549 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21554
21555 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21556 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21557 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21558 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21559 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21560 Likewise.
21561 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21562 Likewise.
21563 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21564 Likewise.
21565 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21566 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21567 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21568 atomic-feupdateenv and flt-rounds.
21569 * sysdeps/powerpc/nofpu/Versions (libc): Add
21570 __atomic_feholdexcept, __atomic_feclearexcept,
21571 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21572 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21573 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21574 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21575 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21576 here.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21578 Update.
21579
21580 * manual/arith.texi (FP Exceptions): Document that exceptions may
21581 not be raised when matherr is used.
21582 (Math Error Reporting): Document overflow in directed rounding
21583 modes. Document that errno may not be set when finite values are
21584 returned on overflow. Document intent to set errno on underflow
21585 only for underflow to zero.
21586
21587 [BZ #16271]
21588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21589 round-to-nearest then adjust result for other rounding modes.
21590 * include/fenv.h (fegetround): Use libm_hidden_proto.
21591 * math/fegetround.c (fegetround): Use libm_hidden_def.
21592 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21593 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21594 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21596 Likewise.
21597 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21599 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21600 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21601
216022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21603
21604 [BZ #16077]
21605 * nss/Versions (libnss_files): Add
21606 _nss_files_gethostbyname3_r.
21607 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21608 New function.
21609 (HOST_DB_LOOKUP): Remove macro.
21610 (_nss_files_gethostbyname_r): Implement function without the
21611 HOST_DB_LOOKUP macro.
21612 (_nss_files_gethostbyname2_r): Likewise.
21613
216142013-11-28 Ondřej Bílka <neleai@seznam.cz>
21615
21616 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21617
216182013-11-26 Uros Bizjak <ubizjak@gmail.com>
21619
21620 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21621 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21622 warning.
21623
216242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21625
21626 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21627 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21628 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21629 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21630 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21631 __fe_nomask_env_priv and attribute_hidden.
21632 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21633 (libc_feupdateenv_test_ppc): Likewise.
21634 (libc_feresetround_ppc): Likewise.
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21636 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21637 compat_symbol macro.
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21639 (__fe_nomask_env): Likewise.
21640 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21641
216422013-11-26 Ondřej Bílka <neleai@seznam.cz>
21643
21644 * string/Makefile: Remove ifunc tests.
21645 * string/test-string.h: Define TEST_IFUNC.
21646 * string/test-bcopy-ifunc.c: Remove.
21647 * string/test-bzero-ifunc.c: Likewise.
21648 * string/test-memccpy-ifunc.c: Likewise.
21649 * string/test-memchr-ifunc.c: Likewise.
21650 * string/test-memcmp-ifunc.c: Likewise.
21651 * string/test-memcpy-ifunc.c: Likewise.
21652 * string/test-memmem-ifunc.c: Likewise.
21653 * string/test-memmove-ifunc.c: Likewise.
21654 * string/test-mempcpy-ifunc.c: Likewise.
21655 * string/test-memrchr-ifunc.c: Likewise.
21656 * string/test-memset-ifunc.c: Likewise.
21657 * string/test-rawmemchr-ifunc.c: Likewise.
21658 * string/test-stpcpy-ifunc.c: Likewise.
21659 * string/test-stpncpy-ifunc.c: Likewise.
21660 * string/test-strcasecmp-ifunc.c: Likewise.
21661 * string/test-strcasestr-ifunc.c: Likewise.
21662 * string/test-strcat-ifunc.c: Likewise.
21663 * string/test-strchr-ifunc.c: Likewise.
21664 * string/test-strchrnul-ifunc.c: Likewise.
21665 * string/test-strcmp-ifunc.c: Likewise.
21666 * string/test-strcpy-ifunc.c: Likewise.
21667 * string/test-strcspn-ifunc.c: Likewise.
21668 * string/test-strlen-ifunc.c: Likewise.
21669 * string/test-strncasecmp-ifunc.c: Likewise.
21670 * string/test-strncat-ifunc.c: Likewise.
21671 * string/test-strncmp-ifunc.c: Likewise.
21672 * string/test-strncpy-ifunc.c: Likewise.
21673 * string/test-strnlen-ifunc.c: Likewise.
21674 * string/test-strpbrk-ifunc.c: Likewise.
21675 * string/test-strrchr-ifunc.c: Likewise.
21676 * string/test-strspn-ifunc.c: Likewise.
21677 * string/test-strstr-ifunc.c: Likewise.
21678
216792013-11-26 Ondřej Bílka <neleai@seznam.cz>
21680
21681 * benchtests/Makefile: Remove ifunc tests.
21682 * benchtests/bench-string.h: Define TEST_IFUNC.
21683 * benchtests/bench-bcopy-ifunc.c: Remove.
21684 * benchtests/bench-bzero-ifunc.c: Likewise.
21685 * benchtests/bench-memccpy-ifunc.c: Likewise.
21686 * benchtests/bench-memchr-ifunc.c: Likewise.
21687 * benchtests/bench-memcmp-ifunc.c: Likewise.
21688 * benchtests/bench-memcpy-ifunc.c: Likewise.
21689 * benchtests/bench-memmem-ifunc.c: Likewise.
21690 * benchtests/bench-memmove-ifunc.c: Likewise.
21691 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21692 * benchtests/bench-memrchr-ifunc.c: Likewise.
21693 * benchtests/bench-memset-ifunc.c: Likewise.
21694 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21695 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21696 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21697 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21698 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21699 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21700 * benchtests/bench-strcat-ifunc.c: Likewise.
21701 * benchtests/bench-strchr-ifunc.c: Likewise.
21702 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21703 * benchtests/bench-strcmp-ifunc.c: Likewise.
21704 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21705 * benchtests/bench-strcpy-ifunc.c: Likewise.
21706 * benchtests/bench-strcspn-ifunc.c: Likewise.
21707 * benchtests/bench-strlen-ifunc.c: Likewise.
21708 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21709 * benchtests/bench-strncat-ifunc.c: Likewise.
21710 * benchtests/bench-strncmp-ifunc.c: Likewise.
21711 * benchtests/bench-strncpy-ifunc.c: Likewise.
21712 * benchtests/bench-strnlen-ifunc.c: Likewise.
21713 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21714 * benchtests/bench-strrchr-ifunc.c: Likewise.
21715 * benchtests/bench-strsep-ifunc.c: Likewise.
21716 * benchtests/bench-strspn-ifunc.c: Likewise.
21717 * benchtests/bench-strstr-ifunc.c: Likewise.
21718
217192013-11-26 Ondřej Bílka <neleai@seznam.cz>
21720
21721 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21722
217232013-11-26 Ondřej Bílka <neleai@seznam.cz>
21724
21725 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21726 * rt/aio.h: Likewise.
21727 * sysdeps/gnu/bits/utmp.h: Likewise.
21728 * sysdeps/gnu/bits/utmpx.h: Likewise.
21729 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21730 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21731 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21732 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21733 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21734 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21735 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21736 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21737 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21739 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21740 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21741 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21743 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21744 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21745 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21746 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21747 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21748 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21749 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21750 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21751 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21752 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21753 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21755 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21757 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21759 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21760 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21761 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21763 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21764 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21765 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21766 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21768 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21769 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21770 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21771
217722013-11-25 Carlos O'Donell <carlos@redhat.com>
21773
21774 [BZ #16245]
21775 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21776 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21777
217782013-11-25 Joseph Myers <joseph@codesourcery.com>
21779
21780 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21781 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21782 Likewise.
21783
217842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21785
21786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21787 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21788 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21789 (__fesetround): Remove define.
21790 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21791 rounding and exceptions handling.
21792 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21793 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21794 (__fe_nomask_env): Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21796 __fegetround instead of fegetround.
21797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21799
218002013-11-21 Roland McGrath <roland@hack.frob.com>
21801
21802 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21803 it's there.
21804
21805 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21806
218072013-11-21 Meador Inge <meadori@codesourcery.com>
21808
21809 [BZ #11157]
21810 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21811 (encrypt_r): Likewise.
21812 * malloc/obstack.h (obstack_free): Likewise.
21813 * posix/unistd.h (encrypt): Likewise.
21814
218152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21816
21817 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21818 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21819 DL_CALL_DT_FINI() that call the functions directly.
21820 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21821 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21822 * elf/dl-fini.c: Likewise.
21823
218242013-11-20 Ondřej Bílka <neleai@seznam.cz>
21825
21826 * malloc/hooks.c (memalign_check): Add alignment rounding.
21827 * malloc/malloc.c (_mid_memalign): New function.
21828 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21829 Implement by calling _mid_memalign.
21830 * manual/probes.texi (Memory Allocation Probes): Remove
21831 memory_valloc_retry and memory_pvalloc_retry.
21832
218332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21834
21835 * locale/programs/locarchive.c (open_archive): Add const
21836 qualifier to ARCHIVEFNAME and copy default fname to
21837 DEFAULT_FNAME.
21838
21839 [BZ #15601]
21840 * libio/tst-widetext.input: Rename Oriya to Odia.
21841 * locale/iso-639.def: Likewise.
21842
21843 * manual/probes.texi (Mathematical Function Probes): Add
21844 documentation for sin, cos, asin and acos probes.
21845 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21846 (__sin32): Add slowasin probe.
21847 (__cos32): Add slowacos probe.
21848 (__mpsin): Add slowsin probe.
21849 (__mpcos): Add slowcos probe.
21850
218512013-11-19 Joseph Myers <joseph@codesourcery.com>
21852
21853 [BZ #15483]
21854 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21855 thread-local __sim_exceptions_thread and global
21856 __sim_exceptions_global.
21857 (__sim_disabled_exceptions): Change to thread-local
21858 __sim_disabled_exceptions_thread and global
21859 __sim_disabled_exceptions_global.
21860 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21861 and global __sim_round_mode_global.
21862 (__simulate_exceptions): Use thread-local floating-point state and
21863 set global state from it as needed.
21864 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21865 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21866 __sim_round_mode_thread.
21867 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21868 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21869 and global __sim_exceptions_global.
21870 (__sim_disabled_exceptions): Change to thread-local
21871 __sim_disabled_exceptions_thread and global
21872 __sim_disabled_exceptions_global.
21873 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21874 and global __sim_round_mode_global.
21875 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21876 (SIM_SET_GLOBAL): Likewise.
21877 * sysdeps/powerpc/soft-fp/sfp-machine.h
21878 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21879 __sim_round_mode_thread.
21880 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21881 __sim_disabled_exceptions_thread.
21882 (__sim_exceptions): Change to __sim_exceptions_thread.
21883 (__sim_disabled_exceptions): Change to
21884 __sim_disabled_exceptions_thread.
21885 (__sim_round_mode): Change to __sim_round_mode_thread.
21886 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21887 thread-local floating-point state and set global state from it as
21888 needed.
21889 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21890 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21891 (__sim_disabled_exceptions): Remove extern declaration.
21892 (feenableexcept): Use thread-local floating-point state and set
21893 global state from it as needed.
21894 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21895 extern declaration.
21896 (__sim_disabled_exceptions): Likewise.
21897 (__sim_round_mode): Likewise.
21898 (__fegetenv): Use thread-local floating-point state.
21899 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21900 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21901 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21902 floating-point state and set global state from it as needed.
21903 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21904 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21905 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21906 Likewise.
21907 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21908 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21909 Likewise.
21910 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21911 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21912 Use __sim_round_mode_thread.
21913 * math/test-fenv-tls.c: New file.
21914 * math/Makefile (tests): Add test-fenv-tls.
21915 ($(objpfx)test-fenv-tls): Depend on
21916 $(common-objpfx)nptl/libpthread.so.
21917
219182013-11-19 Andreas Schwab <schwab@suse.de>
21919
21920 * locale/programs/locale.c (show_info): Decode wordarray elements.
21921 * locale/categories.def (LC_MONETARY): Add element for
21922 _NL_MONETARY_CRNCYSTR.
21923 * locale/C-monetary.c (conversion_rate): New variable.
21924 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21925 element.
21926
219272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21928
21929 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21930 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21931
219322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21933
21934 * elf/Makefile (tst-auxv): New test.
21935 * elf/tst-auxv.c: New
21936 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21937
219382013-11-18 Joseph Myers <joseph@codesourcery.com>
21939
21940 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21941 (hidden_proto): Caller changed.
21942 (hidden_tls_proto): New macro.
21943 (libc_hidden_tls_proto): Likewise.
21944 (rtld_hidden_tls_proto): Likewise.
21945 (libm_hidden_tls_proto): Likewise.
21946 (libresolv_hidden_tls_proto): Likewise.
21947 (librt_hidden_tls_proto): Likewise.
21948 (libdl_hidden_tls_proto): Likewise.
21949 (libnss_files_hidden_tls_proto): Likewise.
21950 (libnsl_hidden_tls_proto): Likewise.
21951 (libnss_nisplus_hidden_tls_proto): Likewise.
21952 (libutil_hidden_tls_proto): Likewise.
21953
219542013-11-18 Ondřej Bílka <neleai@seznam.cz>
21955
21956 [BZ #10253]
21957 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21958 (decompose_rpath): Defer expansion to fillin_rpath.
21959 (_dl_init_paths): Pass linkmap to fillin_rpath.
21960
219612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21962
21963 * benchtests/Makefile: Add strsep.
21964 * benchtests/bench-strsep.c: New file: strsep benchtest.
21965 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21966
219672013-11-18 Andreas Schwab <schwab@suse.de>
21968
21969 * locale/programs/locale.c (show_info) [case byte]: Check for
21970 '\377' instead of '\177'.
21971 * locale/C-monetary.c (not_available): Always use "\377".
21972 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21973 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21974 detect unavailable sign_posn locale elements.
21975 * locale/localeconv.c (__localeconv): For grouping and
21976 mon_grouping handle "\177" and "\377" like no grouping.
21977 (INT_ELEM): New macro. Use it to set all numeric members.
21978 * locale/programs/ld-monetary.c (monetary_read)
21979 <tok_mon_grouping>: Normalize single -1 to the empty string.
21980 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21981 Likewise.
21982
219832013-11-07 Ondřej Bílka <neleai@seznam.cz>
21984
21985 [BZ #16055]
21986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21987 when we match (nil).
21988 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21989
219902013-11-16 Joseph Myers <joseph@codesourcery.com>
21991
21992 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21993 (NO_TEST_INLINE): Update value.
21994 (ERRNO_UNCHANGED): Likewise.
21995 (ERRNO_EDOM): Likewise.
21996 (ERRNO_ERANGE): Likewise.
21997 (IGNORE_RESULT): Likewise.
21998 (check_float_internal): Check signs of NaN results if
21999 TEST_NAN_SIGN used.
22000 (check_complex): Pass TEST_NAN_SIGN flag through to second
22001 check_float_internal call.
22002 (copysign_test_data): Add tests with quiet NaNs as second
22003 argument. Use TEST_NAN_SIGN.
22004 (fabs_test_data): Add test of negative quiet NaN argument. Use
22005 TEST_NAN_SIGN.
22006 (signbit_test_data): Add tests of quiet NaN argument.
22007 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22008
22009 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22010 $ignore_result.
22011 (parse_args): Handle function results specified as IGNORE.
22012 * math/libm-test.inc (IGNORE_RESULT): New macro.
22013 (check_float_internal): Do not check numerical result if flag
22014 IGNORE_RESULT set.
22015 (check_complex): Pass through IGNORE_RESULT to second
22016 check_float_internal call.
22017 (check_int): Do not check numerical result if flag IGNORE_RESULT
22018 set.
22019 (check_long): Likewise.
22020 (check_bool): Likewise.
22021 (check_longlong): Likewise.
22022 (lrint_test_data): Add tests of infinite and NaN arguments.
22023 (lrint_tonearest_test_data): Likewise.
22024 (lrint_towardzero_test_data): Likewise.
22025 (lrint_downward_test_data): Likewise.
22026 (lrint_upward_test_data): Likewise.
22027 (llrint_test_data): Likewise.
22028 (llrint_tonearest_test_data): Likewise.
22029 (llrint_towardzero_test_data): Likewise.
22030 (llrint_downward_test_data): Likewise.
22031 (llrint_upward_test_data): Likewise.
22032 (lround_test_data): Likewise.
22033 (llround_test_data): Likewise.
22034
22035 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22036 (ERRNO_UNCHANGED): Update value.
22037 (ERRNO_EDOM): Likewise.
22038 (ERRNO_ERANGE): Likewise.
22039 (NO_TEST_INLINE_FLOAT): New macro.
22040 (NO_TEST_INLINE_DOUBLE): Likewise.
22041 (enable_test): New function.
22042 (RUN_TEST_f_f): Check enable_test before running test.
22043 (RUN_TEST_2_f): Likewise.
22044 (RUN_TEST_fff_f): Likewise.
22045 (RUN_TEST_c_f): Likewise.
22046 (RUN_TEST_f_f1): Likewise.
22047 (RUN_TEST_fF_f1): Likewise.
22048 (RUN_TEST_fI_f1): Likewise.
22049 (RUN_TEST_ffI_f1): Likewise.
22050 (RUN_TEST_c_c): Likewise.
22051 (RUN_TEST_cc_c): Likewise.
22052 (RUN_TEST_f_i): Likewise.
22053 (RUN_TEST_f_i_tg): Likewise.
22054 (RUN_TEST_ff_i_tg): Likewise.
22055 (RUN_TEST_f_b): Likewise.
22056 (RUN_TEST_f_b_tg): Likewise.
22057 (RUN_TEST_f_l): Likewise.
22058 (RUN_TEST_f_L): Likewise.
22059 (RUN_TEST_fFF_11): Likewise.
22060 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22061 conditionals.
22062 (cosh_test_data): Likewise.
22063 (exp_test_data): Likewise.
22064 (expm1_test_data): Likewise.
22065 (hypot_test_data): Likewise.
22066 (pow_test_data): Likewise.
22067 (sinh_test_data): Likewise.
22068 (tanh_test_data): Likewise.
22069 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22070 flags argument.
22071
22072 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22073 tests with quiet NaN input and output.
22074 (acosh_test_data): Likewise.
22075 (asin_test_data): Likewise.
22076 (asinh_test_data): Likewise.
22077 (atan_test_data): Likewise.
22078 (atanh_test_data): Likewise.
22079 (atan2_test_data): Likewise.
22080 (cbrt_test_data): Likewise.
22081 (cos_test_data): Likewise.
22082 (cosh_test_data): Likewise.
22083 (erf_test_data): Likewise.
22084 (erfc_test_data): Likewise.
22085 (exp_test_data): Likewise.
22086 (exp10_test_data): Likewise.
22087 (exp2_test_data): Likewise.
22088 (expm1_test_data): Likewise.
22089 (hypot_test_data): Likewise.
22090 (j0_test_data): Likewise.
22091 (j1_test_data): Likewise.
22092 (jn_test_data): Likewise.
22093 (lgamma_test_data): Likewise.
22094 (log_test_data): Likewise.
22095 (log10_test_data): Likewise.
22096 (log1p_test_data): Likewise.
22097 (log2_test_data): Likewise.
22098 (pow_test_data): Likewise.
22099 (scalb_test_data): Likewise.
22100 (sin_test_data): Likewise.
22101 (sincos_test_data): Likewise.
22102 (sinh_test_data): Likewise.
22103 (tan_test_data): Likewise.
22104 (tanh_test_data): Likewise.
22105 (tgamma_test_data): Likewise.
22106 (y0_test_data): Likewise.
22107 (y1_test_data): Likewise.
22108 (yn_test_data): Likewise.
22109
22110 [BZ #16167]
22111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22112 argument being NaN and avoid computations with second argument in
22113 that case.
22114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22117
221182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22119
22120 * locale/iso-639.def: Add Chitwani Tharu (the).
22121
221222013-11-14 Andreas Schwab <schwab@suse.de>
22123
22124 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22125 word instead of empty string.
22126
221272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22128
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22130 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22132 (__fe_nomask_env): Likewise.
22133
221342013-11-13 Steve Ellcey <sellcey@mips.com>
22135
22136 * benchtests/bench-timing.h: Include time.h.
22137
221382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22139
22140 [BZ #15997]
22141 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22142 to 3.4.0 for x32.
22143 * sysdeps/unix/sysv/linux/configure: Regenerated.
22144
221452013-11-13 Joseph Myers <joseph@codesourcery.com>
22146
22147 [BZ #16151]
22148 * stdlib/strtod_l.c (round_and_return): Do not consider
22149 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22150 exponent one less than half the least subnormal exponent.
22151 * stdlib/test-strtod-round-data: Add more tests.
22152 * stdlib/tst-strtod-round.c (tests): Regenerated.
22153
221542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22155
22156 [BZ #14143]
22157 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22158 (__fe_mask_env): Likewise.
22159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22160 libm_hidden_proto and add function prototype.
22161 (__fe_mask_env): Add function prototype.
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22163 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22165 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22167 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22168
221692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22170
22171 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22172 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22173
221742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22175
22176 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22177 of htab_find_slot().
22178
221792013-11-11 David S. Miller <davem@davemloft.net>
22180
22181 [BZ #16150]
22182 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22183 symbol in the non-vis3 case in static builds.
22184 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22187 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22188
221892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22190
22191 [BZ #387]
22192 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22193 it is empty.
22194
221952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22196
22197 * benchtests/Makefile: Add bench-strtod.
22198 * benchtests/bench-strtod.c: New file: strtod benchtest
22199
222002013-11-11 Andreas Schwab <schwab@suse.de>
22201
22202 [BZ #16153]
22203 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22204 terminating NUL in key length.
22205
222062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22207
22208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22209 Add artificial ODP entry for vDSO symbol for PPC64.
22210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22211 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22212
222132013-11-07 Ondřej Bílka <neleai@seznam.cz>
22214
22215 [BZ #15374]
22216 * nss/getent.c (services_keys): Recognize services starting with digit.
22217
222182013-11-06 David S. Miller <davem@davemloft.net>
22219
22220 [BZ #15985]
22221 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22222 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22223
222242013-11-06 Will Newton <will.newton@linaro.org>
22225
22226 * manual/memory.texi (Malloc Examples): Remove register
22227 keyword from examples.
22228
222292013-11-04 Chris Leonard <cjl@sugarlabs.org>
22230
22231 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22232
222332013-11-04 Joseph Myers <joseph@codesourcery.com>
22234
22235 [BZ #6981]
22236 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22237 depending on [__GCC_IEC_559 > 0].
22238 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22239 depending on [__GCC_IEC_559_COMPLEX > 0].
22240
222412013-11-03 Chris Leonard <cjl@sugarlabs.org>
22242
22243 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22244 to iso-639.def.
22245
222462013-11-03 Ondřej Bílka <neleai@seznam.cz>
22247
22248 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22249
222502013-11-01 Ondřej Bílka <neleai@seznam.cz>
22251
22252 [BZ #16112]
22253 * malloc/malloc (malloc_info): Do not handle first bin as
22254 special case.
22255
222562013-11-01 Chris Leonard <cjl@sugarlabs.org>
22257
22258 * locale/iso-639.def: Add Central Nahuatl (nhn).
22259
222602013-11-01 Bruno Haible <bruno@clisp.org>
22261
22262 [BZ #7003]
22263 * manual/math.texi (BSD Random): Specify range upper bound as
22264 in POSIX.
22265
222662013-10-31 Chris Leonard <cjl@sugarlabs.org>
22267
22268 * locale/iso-639.def: Add Meadow Mari (mhr).
22269
222702013-10-31 Ondřej Bílka <neleai@seznam.cz>
22271
22272 [BZ #14752], [BZ #15763]
22273 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22274 Validate name.
22275 * rt/tst_shm.c: Add test for escaping directory.
22276
222772013-10-31 Andreas Schwab <schwab@suse.de>
22278
22279 [BZ #15917]
22280 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22281 followed by 'x' as part of digit sequence.
22282 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22283
222842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22285
22286 [BZ #16037]
22287 * configure.ac: allow GNU Make 4.0 and greater.
22288 * configure: Regenerated.
22289
222902013-10-30 Will Newton <will.newton@linaro.org>
22291
22292 [BZ #16038]
22293 * malloc/hooks.c (memalign_check): Limit alignment to the
22294 maximum representable power of two.
22295 * malloc/malloc.c (__libc_memalign): Likewise.
22296 * malloc/tst-memalign.c (do_test): Add test for very
22297 large alignment values.
22298 * malloc/tst-posix_memalign.c (do_test): Likewise.
22299
223002013-10-30 Ondřej Bílka <neleai@seznam.cz>
22301
22302 [BZ #11087]
22303 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22304 (munmap_chunk): Likewise.
22305 (mremap_chunk): Likewise.
22306
223072013-10-30 Ondřej Bílka <neleai@seznam.cz>
22308
22309 [BZ #15799]
22310 * stdlib/div.c (div): Remove obsolete code.
22311 * stdlib/ldiv.c (ldiv): Likewise.
22312 * stdlib/lldiv.c (lldiv): Likewise.
22313
223142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22315
22316 [BZ #16071]
22317 * nss/nss_files/files-XXX.c (get_contents_ret): New
22318 enumerator.
22319 (get_contents): New function.
22320 (internal_getent): Use it. Expand size of LINEBUFLEN.
22321
223222013-10-30 Mike Frysinger <vapier@gentoo.org>
22323
22324 * configure.in: Moved to ...
22325 * configure.ac: ... here. Change reference to configure.in
22326 to configure.ac.
22327 * sysdeps/arm/preconfigure.ac: ... here.
22328 configure.in to configure.ac.
22329 * sysdeps/gnu/configure.in: Moved to ...
22330 * sysdeps/gnu/configure.ac: ... here.
22331 * sysdeps/i386/configure.in: Moved to ...
22332 * sysdeps/i386/configure.ac: ... here.
22333 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22334 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22335 * sysdeps/mach/configure.in: Moved to ...
22336 * sysdeps/mach/configure.ac: ... here.
22337 * sysdeps/mach/hurd/configure.in: Moved to ...
22338 * sysdeps/mach/hurd/configure.ac: ... here.
22339 * sysdeps/powerpc/configure.in: Moved to ...
22340 * sysdeps/powerpc/configure.ac: ... here.
22341 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22342 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22343 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22344 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22345 * sysdeps/s390/s390-32/configure.in: Moved to ...
22346 * sysdeps/s390/s390-32/configure.ac: ... here.
22347 * sysdeps/s390/s390-64/configure.in: Moved to ...
22348 * sysdeps/s390/s390-64/configure.ac: ... here.
22349 * sysdeps/sh/configure.in: Moved to ...
22350 * sysdeps/sh/configure.ac: ... here.
22351 * sysdeps/sparc/configure.in: Moved to ...
22352 * sysdeps/sparc/configure.ac: ... here.
22353 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22354 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22355 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22356 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22357 * sysdeps/x86_64/configure.in: Moved to ...
22358 * sysdeps/x86_64/configure.ac: ... here.
22359 * sysdeps/x86_64/preconfigure.in: Moved to ...
22360 * sysdeps/x86_64/preconfigure.ac: ... here.
22361 * aclocal.m4: Change reference to configure.in to configure.ac.
22362 * config.h.in: Likewise.
22363 * manual/install.texi: Likewise.
22364 * manual/maint.texi: Likewise.
22365 * Makefile: Likewise.
22366 * malloc/Makefile: Likewise.
22367 * nscd/Makefile: Likewise.
22368 * Makeconfig: Change reference to configure.in and
22369 preconfigure.in to configure.ac and preconfigure.ac
22370 respectively.
22371 * INSTALL: Regenerated.
22372 * configure: Likewise.
22373 * sysdeps/gnu/configure: Likewise.
22374 * sysdeps/i386/configure: Likewise.
22375 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22376 * sysdeps/mach/configure: Likewise.
22377 * sysdeps/mach/hurd/configure: Likewise.
22378 * sysdeps/powerpc/configure: Likewise.
22379 * sysdeps/powerpc/powerpc32/configure: Likewise.
22380 * sysdeps/powerpc/powerpc64/configure: Likewise.
22381 * sysdeps/s390/s390-32/configure: Likewise.
22382 * sysdeps/s390/s390-64/configure: Likewise.
22383 * sysdeps/sh/configure: Likewise.
22384 * sysdeps/sparc/configure: Likewise.
22385 * sysdeps/unix/sysv/linux/configure: Likewise.
22386 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22387 * sysdeps/x86_64/configure: Likewise.
22388 * sysdeps/x86_64/preconfigure: Likewise.
22389
223902013-10-29 Andreas Schwab <schwab@suse.de>
22391
22392 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22393
223942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22395
22396 * benchtests/pow-inputs: Add new inputs.
22397
22398 * benchtests/exp-inputs: Add new inputs.
22399
22400 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22401 conditional check for return value.
22402 (__cos32): Likewise.
22403
224042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22405
22406 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22407 to provide a boost for large inputs with word alignment.
22408 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22409 implementation based on optimized PPC64 strcpy.
22410 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22411 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22412 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22413 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22414
224152013-10-25 Ondřej Bílka <neleai@seznam.cz>
22416
22417 [BZ #2801]
22418 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22419
224202013-10-25 Ondřej Bílka <neleai@seznam.cz>
22421
22422 [BZ #14876]
22423 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22424 * time/tst-strptime.c (day_tests): Add testcase.
22425
224262013-10-25 Ondřej Bílka <neleai@seznam.cz>
22427
22428 [BZ #14029]
22429 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22430
224312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22432
22433 [BZ #16074]
22434 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22435 MAP_FAILED on error.
22436
224372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22438
22439 [BZ #16072]
22440 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22441 heap for large requests.
22442
224432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22444
22445 [BZ #9954]
22446 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22447 result if the result has no associated interface.
22448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22449 interface for all 127.X.Y.Z addresses.
22450
224512013-10-24 Chris Leonard <cjl@sugarlabs.org>
22452
22453 * locale/iso-639.def: Add Ligurian (lij)
22454
224552013-10-21 Ondřej Bílka <neleai@seznam.cz>
22456
22457 [BZ #15825]
22458 * sunrpc/rpc_main.c: Document rpcgen -5.
22459
224602013-10-19 Michael Stahl <mstahl@redhat.com>
22461
22462 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22463
224642013-10-19 Ondřej Bílka <neleai@seznam.cz>
22465
22466 [BZ #10278]
22467 * posix/glob.c: Match only directories when trailing slash is present.
22468 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22469 (main): Add testcase.
22470
224712013-10-19 Ondřej Bílka <neleai@seznam.cz>
22472
22473 [BZ #15670]
22474 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22475
224762013-10-18 Carlos O'Donell <carlos@redhat.com>
22477
22478 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22479 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22480 AUTH_DES and cindex for FIPS 140-2.
22481 (DES Encryption): Add cindex FIPS 46-3.
22482
22483 * locale/locarchive.h (struct locarhandle): Add fname.
22484 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22485 if an optional argument was specified to --list-archive,
22486 otherwise NULL.
22487 * locale/programs/locarchive.c (show_archive_content): Take new
22488 argument fname and pass it via ah.fname to open_archive.
22489 * locale/programs/localedef.h: Update decl.
22490 (open_archive): If AH->fname is non-null, open that file
22491 rather than the default file name, and don't ignore ENOENT.
22492 (create_archive): Set AH.fname to NULL.
22493 (delete_locales_from_archive): Likewise.
22494 (add_locales_to_archive): Likewise.
22495 * locale/programs/locfile.c (write_all_categories): Likewise.
22496
224972013-10-18 Joseph Myers <joseph@codesourcery.com>
22498 Aldy Hernandez <aldyh@redhat.com>
22499
22500 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22501 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22502 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22503 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22504 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22508 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22512 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22513 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22514 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22515 Likewise.
22516 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22517 Likewise.
22518 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22519 Likewise.
22520 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22521 Likewise.
22522 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22523 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22524 Likewise.
22525 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22526 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22527 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22528 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22529 Likewise.
22530 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22531 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22532 * sysdeps/powerpc/preconfigure: Likewise.
22533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22534 Likewise.
22535 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22536 Replace contents of file by #include of <fenv_libc.h>.
22537 * sysdeps/powerpc/soft-fp/sfp-machine.h
22538 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22539 and <sys/prctl.h>.
22540 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22553 Allow copysignl PLT reference to be missing.
22554
225552013-10-18 Richard Sandiford <richard@codesourcery.com>
22556 Joseph Myers <joseph@codesourcery.com
22557
22558 [BZ #15948]
22559 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22560 single character.
22561 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22562
225632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22564
22565 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22566 * elf/tst-tls1.c: Likewise.
22567 * elf/tst-tls10.h: Likewise.
22568 * elf/tst-tls14.c: Likewise.
22569 * elf/tst-tls2.c: Likewise.
22570 * elf/tst-tls3.c: Likewise.
22571 * elf/tst-tls4.c: Likewise.
22572 * elf/tst-tls5.c: Likewise.
22573 * elf/tst-tls6.c: Likewise.
22574 * elf/tst-tls7.c: Likewise.
22575 * elf/tst-tls8.c: Likewise.
22576 * elf/tst-tls9.c: Likewise.
22577 * elf/tst-tlsmod1.c: Likewise.
22578 * elf/tst-tlsmod13.c: Likewise.
22579 * elf/tst-tlsmod13a.c: Likewise.
22580 * elf/tst-tlsmod14a.c: Likewise.
22581 * elf/tst-tlsmod16a.c: Likewise.
22582 * elf/tst-tlsmod16b.c: Likewise.
22583 * elf/tst-tlsmod2.c: Likewise.
22584 * elf/tst-tlsmod3.c: Likewise.
22585 * elf/tst-tlsmod4.c: Likewise.
22586 * elf/tst-tlsmod5.c: Likewise.
22587 * elf/tst-tlsmod6.c: Likewise.
22588
225892013-10-18 Ondřej Bílka <neleai@seznam.cz>
22590
22591 [BZ #12486]
22592 * malloc/malloc.c: remove checks for statistics.
22593
225942013-10-17 Ondřej Bílka <neleai@seznam.cz>
22595
22596 [BZ #15277]
22597 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22598 * inet/tst-network.c: Add testcase.
22599
226002013-10-17 Andreas Schwab <schwab@suse.de>
22601
22602 [BZ #15218]
22603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22604 to determine canonical name.
22605
226062013-10-17 Ondřej Bílka <neleai@seznam.cz>
22607
22608 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22609 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22632 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22666
226672013-10-17 Joseph Myers <joseph@codesourcery.com>
22668
22669 [BZ #16041]
22670 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22671 make result into a quiet NaN.
22672
226732013-10-16 Joseph Myers <joseph@codesourcery.com>
22674
22675 * soft-fp/adddf3.c: Fix horizontal whitespace.
22676 * soft-fp/addsf3.c: Likewise.
22677 * soft-fp/addtf3.c: Likewise.
22678 * soft-fp/divdf3.c: Likewise.
22679 * soft-fp/divsf3.c: Likewise.
22680 * soft-fp/divtf3.c: Likewise.
22681 * soft-fp/double.h: Likewise.
22682 * soft-fp/eqdf2.c: Likewise.
22683 * soft-fp/eqsf2.c: Likewise.
22684 * soft-fp/eqtf2.c: Likewise.
22685 * soft-fp/extenddftf2.c: Likewise.
22686 * soft-fp/extended.h: Likewise.
22687 * soft-fp/extendsfdf2.c: Likewise.
22688 * soft-fp/extendsftf2.c: Likewise.
22689 * soft-fp/extendxftf2.c: Likewise.
22690 * soft-fp/fixdfdi.c: Likewise.
22691 * soft-fp/fixdfsi.c: Likewise.
22692 * soft-fp/fixdfti.c: Likewise.
22693 * soft-fp/fixsfdi.c: Likewise.
22694 * soft-fp/fixsfsi.c: Likewise.
22695 * soft-fp/fixsfti.c: Likewise.
22696 * soft-fp/fixtfdi.c: Likewise.
22697 * soft-fp/fixtfsi.c: Likewise.
22698 * soft-fp/fixtfti.c: Likewise.
22699 * soft-fp/fixunsdfdi.c: Likewise.
22700 * soft-fp/fixunsdfsi.c: Likewise.
22701 * soft-fp/fixunsdfti.c: Likewise.
22702 * soft-fp/fixunssfdi.c: Likewise.
22703 * soft-fp/fixunssfsi.c: Likewise.
22704 * soft-fp/fixunssfti.c: Likewise.
22705 * soft-fp/fixunstfdi.c: Likewise.
22706 * soft-fp/fixunstfsi.c: Likewise.
22707 * soft-fp/fixunstfti.c: Likewise.
22708 * soft-fp/floatdidf.c: Likewise.
22709 * soft-fp/floatdisf.c: Likewise.
22710 * soft-fp/floatditf.c: Likewise.
22711 * soft-fp/floatsidf.c: Likewise.
22712 * soft-fp/floatsisf.c: Likewise.
22713 * soft-fp/floatsitf.c: Likewise.
22714 * soft-fp/floattidf.c: Likewise.
22715 * soft-fp/floattisf.c: Likewise.
22716 * soft-fp/floattitf.c: Likewise.
22717 * soft-fp/floatundidf.c: Likewise.
22718 * soft-fp/floatundisf.c: Likewise.
22719 * soft-fp/floatunditf.c: Likewise.
22720 * soft-fp/floatunsidf.c: Likewise.
22721 * soft-fp/floatunsisf.c: Likewise.
22722 * soft-fp/floatunsitf.c: Likewise.
22723 * soft-fp/floatuntidf.c: Likewise.
22724 * soft-fp/floatuntisf.c: Likewise.
22725 * soft-fp/floatuntitf.c: Likewise.
22726 * soft-fp/fmadf4.c: Likewise.
22727 * soft-fp/fmasf4.c: Likewise.
22728 * soft-fp/fmatf4.c: Likewise.
22729 * soft-fp/gedf2.c: Likewise.
22730 * soft-fp/gesf2.c: Likewise.
22731 * soft-fp/getf2.c: Likewise.
22732 * soft-fp/ledf2.c: Likewise.
22733 * soft-fp/lesf2.c: Likewise.
22734 * soft-fp/letf2.c: Likewise.
22735 * soft-fp/muldf3.c: Likewise.
22736 * soft-fp/mulsf3.c: Likewise.
22737 * soft-fp/multf3.c: Likewise.
22738 * soft-fp/negdf2.c: Likewise.
22739 * soft-fp/negsf2.c: Likewise.
22740 * soft-fp/negtf2.c: Likewise.
22741 * soft-fp/op-1.h: Likewise.
22742 * soft-fp/op-2.h: Likewise.
22743 * soft-fp/op-4.h: Likewise.
22744 * soft-fp/op-8.h: Likewise.
22745 * soft-fp/op-common.h: Likewise.
22746 * soft-fp/quad.h: Likewise.
22747 * soft-fp/single.h: Likewise.
22748 * soft-fp/soft-fp.h: Likewise.
22749 * soft-fp/sqrtdf2.c: Likewise.
22750 * soft-fp/sqrtsf2.c: Likewise.
22751 * soft-fp/sqrttf2.c: Likewise.
22752 * soft-fp/subdf3.c: Likewise.
22753 * soft-fp/subsf3.c: Likewise.
22754 * soft-fp/subtf3.c: Likewise.
22755 * soft-fp/truncdfsf2.c: Likewise.
22756 * soft-fp/trunctfdf2.c: Likewise.
22757 * soft-fp/trunctfsf2.c: Likewise.
22758 * soft-fp/trunctfxf2.c: Likewise.
22759 * soft-fp/unorddf2.c: Likewise.
22760 * soft-fp/unordsf2.c: Likewise.
22761 * soft-fp/unordtf2.c: Likewise.
22762
227632013-10-15 Joseph Myers <joseph@codesourcery.com>
22764
22765 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22766 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22767
227682013-10-15 Ondřej Bílka <neleai@seznam.cz>
22769
22770 * elf/dl-libc.c: Clear initfini list after freeing.
22771
227722013-10-14 Joseph Myers <joseph@codesourcery.com>
22773
22774 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22775 * soft-fp/addsf3.c: Likewise.
22776 * soft-fp/addtf3.c: Likewise.
22777 * soft-fp/divdf3.c: Likewise.
22778 * soft-fp/divsf3.c: Likewise.
22779 * soft-fp/divtf3.c: Likewise.
22780 * soft-fp/double.h: Likewise.
22781 * soft-fp/eqdf2.c: Likewise.
22782 * soft-fp/eqsf2.c: Likewise.
22783 * soft-fp/eqtf2.c: Likewise.
22784 * soft-fp/extenddftf2.c: Likewise.
22785 * soft-fp/extended.h: Likewise.
22786 * soft-fp/extendsfdf2.c: Likewise.
22787 * soft-fp/extendsftf2.c: Likewise.
22788 * soft-fp/extendxftf2.c: Likewise.
22789 * soft-fp/fixdfdi.c: Likewise.
22790 * soft-fp/fixdfsi.c: Likewise.
22791 * soft-fp/fixdfti.c: Likewise.
22792 * soft-fp/fixsfdi.c: Likewise.
22793 * soft-fp/fixsfsi.c: Likewise.
22794 * soft-fp/fixsfti.c: Likewise.
22795 * soft-fp/fixtfdi.c: Likewise.
22796 * soft-fp/fixtfsi.c: Likewise.
22797 * soft-fp/fixtfti.c: Likewise.
22798 * soft-fp/fixunsdfdi.c: Likewise.
22799 * soft-fp/fixunsdfsi.c: Likewise.
22800 * soft-fp/fixunsdfti.c: Likewise.
22801 * soft-fp/fixunssfdi.c: Likewise.
22802 * soft-fp/fixunssfsi.c: Likewise.
22803 * soft-fp/fixunssfti.c: Likewise.
22804 * soft-fp/fixunstfdi.c: Likewise.
22805 * soft-fp/fixunstfsi.c: Likewise.
22806 * soft-fp/fixunstfti.c: Likewise.
22807 * soft-fp/floatdidf.c: Likewise.
22808 * soft-fp/floatdisf.c: Likewise.
22809 * soft-fp/floatditf.c: Likewise.
22810 * soft-fp/floatsidf.c: Likewise.
22811 * soft-fp/floatsisf.c: Likewise.
22812 * soft-fp/floatsitf.c: Likewise.
22813 * soft-fp/floattidf.c: Likewise.
22814 * soft-fp/floattisf.c: Likewise.
22815 * soft-fp/floattitf.c: Likewise.
22816 * soft-fp/floatundidf.c: Likewise.
22817 * soft-fp/floatundisf.c: Likewise.
22818 * soft-fp/floatunsidf.c: Likewise.
22819 * soft-fp/floatunsisf.c: Likewise.
22820 * soft-fp/floatuntidf.c: Likewise.
22821 * soft-fp/floatuntisf.c: Likewise.
22822 * soft-fp/floatuntitf.c: Likewise.
22823 * soft-fp/fmadf4.c: Likewise.
22824 * soft-fp/fmasf4.c: Likewise.
22825 * soft-fp/fmatf4.c: Likewise.
22826 * soft-fp/gedf2.c: Likewise.
22827 * soft-fp/gesf2.c: Likewise.
22828 * soft-fp/getf2.c: Likewise.
22829 * soft-fp/ledf2.c: Likewise.
22830 * soft-fp/lesf2.c: Likewise.
22831 * soft-fp/letf2.c: Likewise.
22832 * soft-fp/muldf3.c: Likewise.
22833 * soft-fp/mulsf3.c: Likewise.
22834 * soft-fp/multf3.c: Likewise.
22835 * soft-fp/negdf2.c: Likewise.
22836 * soft-fp/negsf2.c: Likewise.
22837 * soft-fp/negtf2.c: Likewise.
22838 * soft-fp/op-1.h: Likewise.
22839 * soft-fp/op-2.h: Likewise.
22840 * soft-fp/op-4.h: Likewise.
22841 * soft-fp/op-8.h: Likewise.
22842 * soft-fp/op-common.h: Likewise.
22843 * soft-fp/quad.h: Likewise.
22844 * soft-fp/single.h: Likewise.
22845 * soft-fp/soft-fp.h: Likewise.
22846 * soft-fp/sqrtdf2.c: Likewise.
22847 * soft-fp/sqrtsf2.c: Likewise.
22848 * soft-fp/sqrttf2.c: Likewise.
22849 * soft-fp/subdf3.c: Likewise.
22850 * soft-fp/subsf3.c: Likewise.
22851 * soft-fp/subtf3.c: Likewise.
22852 * soft-fp/truncdfsf2.c: Likewise.
22853 * soft-fp/trunctfdf2.c: Likewise.
22854 * soft-fp/trunctfsf2.c: Likewise.
22855 * soft-fp/trunctfxf2.c: Likewise.
22856 * soft-fp/unorddf2.c: Likewise.
22857 * soft-fp/unordsf2.c: Likewise.
22858 * soft-fp/unordtf2.c: Likewise.
22859
228602013-10-14 Ondřej Bílka <neleai@seznam.cz>
22861
22862 [BZ #15672]
22863 * misc/error.c (error_tail): Fix possible buffer overflow.
22864
228652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22866
22867 [BZ #13028]
22868 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22869 address.
22870
228712013-10-14 P. J. McDermott <pj@pehjota.net>
22872
22873 [BZ #832]
22874 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22875 testing pipefail option.
22876
228772013-10-12 Joseph Myers <joseph@codesourcery.com>
22878
22879 * soft-fp/double.h: Indent preprocessor directives inside #if.
22880 * soft-fp/extended.h: Likewise.
22881 * soft-fp/op-2.h: Likewise.
22882 * soft-fp/op-4.h: Likewise.
22883 * soft-fp/op-common.h: Likewise.
22884 * soft-fp/quad.h: Likewise.
22885 * soft-fp/single.h: Likewise.
22886 * soft-fp/soft-fp.h: Likewise.
22887
228882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22889
22890 * iconv/iconv_prog.c: Fix typos.
22891 * stdio-common/psiginfo-data.h: Likewise.
22892
228932013-10-12 Reuben Thomas <rrt@sc3d.org>
22894
22895 [BZ #15764]
22896 * locale/setlocale.c: Fix typo.
22897
228982013-10-12 Joseph Myers <joseph@codesourcery.com>
22899
22900 [BZ #16036]
22901 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22902 signaling NaN arguments.
22903 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22904 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22905
22906 [BZ #14910]
22907 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22908 unordered operands.
22909 * soft-fp/gesf2.c (__gesf2): Likewise.
22910 * soft-fp/getf2.c (__getf2): Likewise.
22911 * soft-fp/ledf2.c (__ledf2): Likewise.
22912 * soft-fp/lesf2.c (__lesf2): Likewise.
22913 * soft-fp/letf2.c (__letf2): Likewise.
22914
22915 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22916 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22917 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22918 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22919 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22920 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22921 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22922 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22923 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22924 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22925 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22926 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22927 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22928 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22929 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22930 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22931 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22932 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22933 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22934 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22935 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22936 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22937 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22938 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22939 * soft-fp/floattidf.c (__floattidf): Likewise.
22940 * soft-fp/floattisf.c (__floattisf): Likewise.
22941 * soft-fp/floattitf.c (__floattitf): Likewise.
22942 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22943 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22944 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22945 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22946 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22947 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22948 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22949 * soft-fp/gesf2.c (__gesf2): Likewise.
22950 * soft-fp/getf2.c (__getf2): Likewise.
22951 * soft-fp/ledf2.c (__ledf2): Likewise.
22952 * soft-fp/lesf2.c (__lesf2): Likewise.
22953 * soft-fp/letf2.c (__letf2): Likewise.
22954
22955 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22956 Undefine and redefine.
22957 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22958 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22959 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22960 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22961 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22962 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22963 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22964 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22965 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22966 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22967 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22968 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22969 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22970 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22971 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22972
22973 [BZ #16032]
22974 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22975 without decrementing exponent if mantissa >= that for the
22976 denominator, not >.
22977 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22978 denominator, not >. Decrement exponent in < case instead of
22979 incrementing in >= case.
22980 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22981 without decrementing exponent if mantissa >= that for the
22982 denominator, not >.
22983
22984 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22985 computing saturated result for unsigned overflow.
22986
229872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22988 Jeff Law <law@redhat.com>
22989
22990 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22991 (atan2Mp): Add systemtap probe marker.
22992 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22993 (__ieee754_log): Add systemtap probe marker.
22994 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22995 (atanMp): Add systemtap probe marker.
22996 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22997 (tanMp): Add systemtap probe marker.
22998 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22999 (__slowexp): Add systemtap probe marker.
23000 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23001 (__slowpow): Add systemtap probe marker.
23002 * manual/probes.texi: Document probes.
23003
230042013-10-11 Eric Biggers <ebiggers3@gmail.com>
23005
23006 [BZ #15362]
23007 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23008 written.
23009 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23010 written.
23011 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23012 written to buffer but not flushed.
23013 * libio/iofwrite_u.c: Likewise.
23014 * libio/iopadn.c: Return bytes returned even if EOF was
23015 encountered.
23016 * libio/iowpadn.c: Likewise.
23017 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23018 if _IO_padn does not write the whole buffer.
23019 [!COMPILE_WPRINTF] (PAD): Likewise.
23020
230212013-10-10 David S. Miller <davem@davemloft.net>
23022
23023 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23024 directory block.
23025
230262013-10-10 Joseph Myers <joseph@codesourcery.com>
23027
23028 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23029 instead of FSF address.
23030 * soft-fp/fixdfti.c: Likewise.
23031 * soft-fp/fixsfti.c: Likewise.
23032 * soft-fp/fixtfti.c: Likewise.
23033 * soft-fp/fixunsdfti.c: Likewise.
23034 * soft-fp/fixunssfti.c: Likewise.
23035 * soft-fp/fixunstfti.c: Likewise.
23036 * soft-fp/floattidf.c: Likewise.
23037 * soft-fp/floattisf.c: Likewise.
23038 * soft-fp/floattitf.c: Likewise.
23039 * soft-fp/floatuntidf.c: Likewise.
23040 * soft-fp/floatuntisf.c: Likewise.
23041 * soft-fp/floatuntitf.c: Likewise.
23042 * soft-fp/trunctfxf2.c: Likewise.
23043
23044 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23045 * soft-fp/fixdfti.c: Likewise.
23046 * soft-fp/fixsfti.c: Likewise.
23047 * soft-fp/fixtfti.c: Likewise.
23048 * soft-fp/fixunsdfti.c: Likewise.
23049 * soft-fp/fixunssfti.c: Likewise.
23050 * soft-fp/fixunstfti.c: Likewise.
23051 * soft-fp/floattidf.c: Likewise.
23052 * soft-fp/floattisf.c: Likewise.
23053 * soft-fp/floattitf.c: Likewise.
23054 * soft-fp/floatuntidf.c: Likewise.
23055 * soft-fp/floatuntisf.c: Likewise.
23056 * soft-fp/floatuntitf.c: Likewise.
23057 * soft-fp/trunctfxf2.c: Likewise.
23058
230592013-10-10 David S. Miller <davem@davemloft.net>
23060
23061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23062
230632013-10-10 Joseph Myers <joseph@codsourcery.com>
23064
23065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23066 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23067 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23068 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23069 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23070 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23071 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23072
23073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23074 for NaNs before doing comparisons on argument.
23075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23076 Likewise.
23077
230782013-10-10 Will Newton <will.newton@linaro.org>
23079
23080 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23081 passed to _int_memalign does not overflow.
23082
230832013-10-10 Torvald Riegel <triegel@redhat.com>
23084
23085 * scripts/bench.pl: Add include-sources directive.
23086 * benchtests/README: Update documentation.
23087
230882013-10-10 Joseph Myers <joseph@codesourcery.com>
23089
23090 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23091 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23092 instead of FP_INIT_ROUNDMODE.
23093 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23094 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23095
23096 [BZ #16034]
23097 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23098 copy class of input value.
23099 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23100 not handle exceptions.
23101 * soft-fp/negsf2.c (__negsf2): Likewise.
23102 * soft-fp/negtf2.c (__negtf2): Likewise.
23103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23104
231052013-10-09 Joseph Myers <joseph@codesourcery.com>
23106
23107 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23108 semicolon. From Linux kernel.
23109
231102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23111
23112 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23113
231142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23115
23116 [BZ #156]
23117 * manual/socket.texi: Added statement about buffer
23118 for gethostbyname2_r.
23119
231202013-10-08 Ondřej Bílka <neleai@seznam.cz>
23121
23122 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23123 Use .p2align directive instead, throughout.
23124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23126 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23130 * sysdeps/x86_64/strchr.S: Likewise.
23131 * sysdeps/x86_64/strrchr.S: Likewise.
23132
231332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23134
23135 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23136
23137 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23138
23139 * sysdeps/generic/math_private.h (__mpsin1): Remove
23140 declaration.
23141 (__mpcos1): Likewise.
23142 (__mpsin): New argument __range_reduce.
23143 (__mpcos): Likewise.
23144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23145 (slow): Use __mpsin and __mpcos.
23146 (slow1): Likewise.
23147 (slow2): Likewise.
23148 (sloww): Likewise.
23149 (sloww1): Likewise.
23150 (sloww2): Likewise.
23151 (bsloww): Likewise.
23152 (bsloww1): Likewise.
23153 (bsloww2): Likewise.
23154 (cslow2): Likewise.
23155 (csloww): Likewise.
23156 (csloww1): Likewise.
23157 (csloww2): Likewise.
23158 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23159 range_reduce. Merge in __mpsin1.
23160 (__mpcos): Likewise.
23161 (__mpsin1): Remove.
23162 (__mpcos1): Likewise.
23163
231642013-10-07 Joseph Myers <joseph@codesourcery.com>
23165
23166 * locale/loadlocale.c (_nl_intern_locale_data): Use
23167 LOCFILE_ALIGNED_P.
23168 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23169 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23170 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23171 obstack data is appropriately aligned.
23172 (obstack_int32_grow_fast): Likewise.
23173 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23174 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23175 (add_locale_uint32_array): Likewise.
23176
231772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23178
23179 * benchtests/Makefile: Remove ARGLIST and RET variables.
23180 ($(objpfx)bench-%.c): Pass only function name to the script.
23181 * benchtests/README: Update documentation.
23182 * benchtests/acos-inputs: Add new directives.
23183 * benchtests/acosh-inputs: Likewise.
23184 * benchtests/asin-inputs: Likewise.
23185 * benchtests/asinh-inputs: Likewise.
23186 * benchtests/atan-inputs: Likewise.
23187 * benchtests/atanh-inputs: Likewise.
23188 * benchtests/cos-inputs: Likewise.
23189 * benchtests/cosh-inputs: Likewise.
23190 * benchtests/exp-inputs: Likewise.
23191 * benchtests/log-inputs: Likewise.
23192 * benchtests/pow-inputs: Likewise.
23193 * benchtests/rint-inputs: Likewise.
23194 * benchtests/sin-inputs: Likewise.
23195 * benchtests/sinh-inputs: Likewise.
23196 * benchtests/tan-inputs: Likewise.
23197 * benchtests/tanh-inputs: Likewise.
23198 * scripts/bench.pl: Add support for new directives.
23199
232002013-10-07 Alan Modra <amodra@gmail.com>
23201
23202 * README: Fix careless merge.
23203
232042013-10-05 Alan Modra <amodra@gmail.com>
23205
23206 * NEWS: Mention powerpc64le support and bugs fixed.
23207 * README: Both big-endian and little-endian powerpc64 supported.
23208
232092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23210
23211 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23212 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23213 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23214 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23215
232162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23217
23218 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23219 match prototype.
23220
232212013-10-04 Joseph Myers <joseph@codesourcery.com>
23222
23223 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23224 Move -mhard-float appending from
23225 ports/sysdeps/powerpc/powerpc32/Makefile.
23226 [$(with-fp) = yes] (ASFLAGS): Likewise.
23227 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23228 * sysdeps/powerpc/nofpu: Move directory from
23229 ports/sysdeps/powerpc/nofpu.
23230 * sysdeps/powerpc/soft-fp: Move directory from
23231 ports/sysdeps/powerpc/soft-fp.
23232 * sysdeps/powerpc/powerpc32/405: Move directory from
23233 ports/sysdeps/powerpc/powerpc32/405.
23234 * sysdeps/powerpc/powerpc32/440: Move directory from
23235 ports/sysdeps/powerpc/powerpc32/440.
23236 * sysdeps/powerpc/powerpc32/464: Move directory from
23237 ports/sysdeps/powerpc/powerpc32/464.
23238 * sysdeps/powerpc/powerpc32/476: Move directory from
23239 ports/sysdeps/powerpc/powerpc32/476.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23243 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23245 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23247 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23249 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23250 * README: Update for powerpc-*-linux-gnu software floating point
23251 support in libc.
23252
23253 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23254 case to powerpc/powerpc32*.
23255 * sysdeps/unix/sysv/linux/configure: Regenerated.
23256
23257 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23258 (_FPU_MASK_OM): Define as 0x04.
23259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23261 0x00c10080.
23262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23263 0x0000003c.
23264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23265
23266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23268 getcontext_e500.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23271 setcontext_e500.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23273 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23274 and setcontext_e500.
23275
232762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23277
23278 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23279
232802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23281
23282 * manual/threads.texi (Default Thread Attributes): Fix typo.
23283
232842013-10-04 Will Newton <will.newton@linaro.org>
23285
23286 * malloc/Makefile: Add tst-memalign.
23287 * malloc/tst-memalign.c: New file.
23288
23289 * malloc/tst-posix_memalign.c: Add comments.
23290 (do_test): Add comments and call free on all potentially
23291 allocated pointers. Add space after cast.
23292
23293 * malloc/tst-pvalloc.c: Add comments.
23294 (do_test): Add comments and call free on all potentially
23295 allocated pointers. Remove duplicate check for NULL pointer.
23296 Add space after cast.
23297
23298 * malloc/tst-valloc.c: Add comments.
23299 (do_test): Add comments and call free on all potentially
23300 allocated pointers. Remove duplicate check for NULL pointer.
23301 Add space after cast.
23302
233032013-10-04 Alan Modra <amodra@gmail.com>
23304
23305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23306 Use stdint types in rather than __attribute__((mode())).
23307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23308
233092013-10-04 Alan Modra <amodra@gmail.com>
23310
23311 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23312 Correct handling of unaligned relocs for little-endian.
23313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23314
233152013-10-04 Alan Modra <amodra@gmail.com>
23316
23317 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23318 * configure: Regenerate.
23319 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23320 * shlib-versions: Likewise.
23321
233222013-10-04 Alan Modra <amodra@gmail.com>
23323
23324 * string/tester.c (test_memrchr): Increment reported test cycle.
23325
233262013-10-04 Alan Modra <amodra@gmail.com>
23327
23328 * string/test-memcpy.c (do_one_test): When reporting errors, print
23329 string address and don't overrun end of string.
23330
233312013-10-04 Alan Modra <amodra@gmail.com>
23332
23333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23334 insrdi. Make better use of reg selection to speed exit slightly.
23335 Schedule entry path a little better. Remove useless "are we done"
23336 checks on entry to main loop. Handle wrapping around zero address.
23337 Correct main loop count. Handle single left-over word from main
23338 loop inline rather than by using loop_small. Remove extra word
23339 case in loop_small caused by wrong loop count. Add little-endian
23340 support.
23341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23343 cache hint.
23344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23346 support. Avoid rlwimi.
23347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23348
233492013-10-04 Alan Modra <amodra@gmail.com>
23350
23351 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23352 insrdi. Formatting.
23353 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23354 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23355 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23356 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23357 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23358 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23359
233602013-10-04 Alan Modra <amodra@gmail.com>
23361
23362 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23367 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23370 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23371 use of regs. Use power7 mtocrf. Tidy function tails.
23372
233732013-10-04 Alan Modra <amodra@gmail.com>
23374
23375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23376 Formatting. Consistently use rXXX register defines or rN defines.
23377 Use early exit labels that avoid restoring unused non-volatile regs.
23378 Make cr field use more consistent with rWORDn compares. Rename
23379 regs used as shift registers for unaligned loop, using rN defines
23380 for short lifetime/multiple use regs.
23381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23383 addi 1,1,64 to pop stack frame. Simplify return value code.
23384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23385
233862013-10-04 Alan Modra <amodra@gmail.com>
23387
23388 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23389 support. Correct typos, formatting. Optimize tail. Use insrdi
23390 rather than rlwimi.
23391 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23393 little-endian support. Correct typos.
23394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23395 rather than rlwimi.
23396 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23397 in loop and entry code to keep "and." results.
23398 (strchr): Add little-endian support. Comment. Move cntlzd
23399 earlier in tail.
23400 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23401
234022013-10-04 Alan Modra <amodra@gmail.com>
23403
23404 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23405 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23406 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23407 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23408
234092013-10-04 Alan Modra <amodra@gmail.com>
23410
23411 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23412 (rTMP): Define as r11.
23413 (strcmp): Add little-endian support. Optimise tail.
23414 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23415 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23416 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23421
234222013-10-04 Alan Modra <amodra@gmail.com>
23423
23424 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23425 little-endian support. Remove unnecessary "are we done" tests.
23426 Handle "s" wrapping around zero and extremely large "size".
23427 Correct main loop count. Handle single left-over word from main
23428 loop inline rather than by using small_loop. Correct comments.
23429 Delete "zero" tail, use "end_max" instead.
23430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23431
234322013-10-04 Alan Modra <amodra@gmail.com>
23433
23434 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23435 support. Don't branch over align.
23436 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23437 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23438 support. Rearrange tmp reg use to suit. Comment.
23439 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23440
234412013-10-04 Alan Modra <amodra@gmail.com>
23442
23443 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23444
234452013-10-04 Alan Modra <amodra@gmail.com>
23446
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23448 conditional form of branch and link when obtaining pc.
23449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23450
234512013-10-04 Alan Modra <amodra@gmail.com>
23452
23453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23454 HIWORD/LOWORD.
23455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23457
234582013-10-04 Alan Modra <amodra@gmail.com>
23459
23460 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23461 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23462 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23463 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23464 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23465 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23466 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23467 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23468 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23469 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23470
234712013-10-04 Anton Blanchard <anton@au1.ibm.com>
23472 Alistair Popple <alistair@ozlabs.au.ibm.com>
23473 Alan Modra <amodra@gmail.com>
23474
23475 [BZ #15723]
23476 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23478 _dl_hwcap access for little-endian.
23479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23480 destroy vmx regs when saving unaligned.
23481 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23483 destroy vmx regs when saving unaligned.
23484
234852013-10-04 Alan Modra <amodra@gmail.com>
23486
23487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23488 Don't use a union to pack hi/low value.
23489
234902013-10-04 Anton Blanchard <anton@au1.ibm.com>
23491
23492 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23493 for little-endian.
23494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23499
235002013-10-04 Alan Modra <amodra@gmail.com>
23501
23502 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23503 constants to usual value for .cst8 section, and remove redundant
23504 high address load.
23505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23506 constant for 0x1p52. Load little-endian words of double from
23507 correct stack offsets.
23508
235092013-10-04 Alan Modra <amodra@gmail.com>
23510
23511 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23513 words of double from correct stack offsets.
23514 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23515 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23521 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23522 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23526 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23530 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23531
235322013-10-04 Alan Modra <amodra@gmail.com>
23533
23534 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23535 64-bit int/double union.
23536 (_FPU_SETCW): Likewise.
23537 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23538 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23539
235402013-10-04 Alan Modra <amodra@gmail.com>
23541
23542 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23543 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23544
235452013-10-04 Alan Modra <amodra@gmail.com>
23546
23547 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23548 use vector int constants.
23549 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23550
235512013-10-04 Anton Blanchard <anton@au1.ibm.com>
23552
23553 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23554 array with long long.
23555 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23556 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23557 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23558 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23559 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23560 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23561 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23562 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23563 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23564 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23565 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23566 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23567 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23568
235692013-10-04 Anton Blanchard <anton@au1.ibm.com>
23570
23571 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23572 (__signbit): Likewise. Correct for little-endian.
23573 (__signbitl): Call __signbit.
23574 (lrint): Correct for little-endian.
23575 (lrintf): Call lrint.
23576
235772013-10-04 Alan Modra <amodra@gmail.com>
23578
23579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23580 union 32-bit int array member with 64-bit int array.
23581 (t515, tm256): Double rather than long double.
23582 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23583
235842013-10-04 Alan Modra <amodra@gmail.com>
23585
23586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23587 Delete.
23588 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23590 version of math_ldbl.h.
23591
235922013-10-04 Alan Modra <amodra@gmail.com>
23593
23594 [BZ #15734], [BZ #15735]
23595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23596 all uses of ieee875 long double macros and unions. Simplify test
23597 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23598 ldbl_extract_mantissa value for ix,iy exponents. Properly
23599 normalize after ldbl_extract_mantissa, and don't add hidden bit
23600 already handled. Don't treat low word of ieee854 mantissa like
23601 low word of IBM long double and mask off bit when testing for
23602 zero.
23603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23604 all uses of ieee875 long double macros and unions. Simplify tests
23605 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23606 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23607 two1022, instead use their values. Recognise that tests for large
23608 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23610 Rewrite all uses of ieee875 long double macros and unions. Simplify
23611 test for 0.0L and nan. Correct negation.
23612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23613 ieee875 long double macros and unions. Correct output for large
23614 magnitude x. Correct absolute value calculation.
23615 (__erfcl): Likewise.
23616 * math/libm-test.inc: Add tests for errors discovered in IBM long
23617 double versions of fmodl, remainderl, erfl and erfcl.
23618
236192013-10-04 Alan Modra <amodra@gmail.com>
23620
23621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23622 all uses of ieee854 long double macros and unions. Simplify tests
23623 for long doubles that are fully specified by the high double.
23624 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23625 Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23627 Remove dead code too.
23628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23629 (__ieee754_ynl): Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23633 Remove dead code too.
23634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23638 Simplify.
23639 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23640 Simplify.
23641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23642 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23644 Comment on variable precision.
23645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23647 Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23652 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23653
236542013-10-04 Alan Modra <amodra@gmail.com>
23655
23656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23658 all uses of ieee854 long double macros and unions.
23659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23665 Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23672 Simplify sign and nan test too.
23673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23677 Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23680 Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23682 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23685 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23687
236882013-10-04 Alan Modra <amodra@gmail.com>
23689
23690 * stdio-common/printf_size.c (__printf_size): Don't use
23691 union ieee854_long_double in fpnum union.
23692 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23693 signbit macro to retrieve sign from long double.
23694 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23695 retrieve sign from long double.
23696 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23697 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23700 * math/test-misc.c (main): Don't use union ieee854_long_double.
23701
237022013-10-04 Alan Modra <amodra@gmail.com>
23703
23704 [BZ #15680]
23705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23707 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23708 calculation. Remove unnecessary test for denormal exponent.
23709 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23710 Correct handling of denormals. Avoid undefined shift behaviour.
23711 Correct normalisation of low mantissa when low double is denormal.
23712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23713 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23714 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23715 Correct normalisation of low mantissa. Test for overflow of high
23716 mantissa and normalise.
23717 (ldbl_nearbyint): Use more readable constant for two52.
23718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23719 (__mpn_construct_long_double): Fix test for overflow of high
23720 mantissa and correct normalisation. Avoid undefined shift.
23721
237222013-10-04 Alan Modra <amodra@gmail.com>
23723
23724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23725 (union ibm_extended_long_double): Define as an array of ieee754_double.
23726 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23728 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23729 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23733 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23737
237382013-10-03 Joseph Myers <joseph@codesourcery.com>
23739
23740 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23741 page size instead of calling getpagesize.
23742
23743 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23744 (LOCFILE_ALIGN_MASK): Likewise.
23745 (LOCFILE_ALIGN_UP): Likewise.
23746 (LOCFILE_ALIGNED_P): Likewise.
23747 * locale/programs/ld-collate.c (collate_output): Use the new
23748 macros instead of __alignof__ (int32_t).
23749 * locale/weight.h (findidx): Likewise.
23750
237512013-10-03 Ondřej Bílka <neleai@seznam.cz>
23752
23753 [BZ #431]
23754 * manual/string.texi: Fix strncat and wcsncat.
23755
237562013-10-03 Brooks Moses <bmoses@google.com>
23757
23758 [BZ #15915]
23759 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23760 * Makerules: ...here, and adjust associated comments.
23761
237622013-10-02 Will Newton <will.newton@linaro.org>
23763
23764 * malloc/Makefile: Add tst-pvalloc.
23765 * malloc/tst-pvalloc.c: New file.
23766
237672013-10-02 Will Newton <will.newton@linaro.org>
23768
23769 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23770 improve test coverage.
23771
237722013-10-02 Will Newton <will.newton@linaro.org>
23773
23774 * malloc/Makefile: Add tst-posix_memalign.
23775 * malloc/tst-posix_memalign.c: New file.
23776
237772013-10-01 Eric Blake <eblake@redhat.com>
23778
23779 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23780 Use __THROWNL rather than __THROW on static functions.
23781
237822013-09-30 Petr Machata <pmachata@redhat.com>
23783
23784 * elf/elf.h (R_AARCH64_ABS16): New macro.
23785 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23786 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23787 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23788 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23789 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23790 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23791 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23792 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23793 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23794 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23795 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23796 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23797 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23798 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23799 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23800 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23801 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23802 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23803 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23804 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23805 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23806 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23807 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23808 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23809 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23810 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23811 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23812 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23813 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23814 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23816 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23818 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23819 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23821 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23823 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23825 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23827 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23829 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23831 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23833 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23834 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23835 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23836 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23837 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23838 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23839 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23840 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23841 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23842 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23843 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23844 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23846 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23848 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23850 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23852 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23854 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23855 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23856 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23857 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23858 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23859 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23860 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23861 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23862 (R_AARCH64_TLSDESC_LDR): Likewise.
23863 (R_AARCH64_TLSDESC_ADD): Likewise.
23864 (R_AARCH64_TLSDESC_CALL): Likewise.
23865
238662013-09-30 Andreas Schwab <schwab@suse.de>
23867
23868 [BZ #15048]
23869 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23870 the nss database lookup.
23871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23873
238742013-09-28 Mike Frysinger <vapier@gentoo.org>
23875
23876 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23877
238782013-09-28 P. J. McDermott <pj@pehjota.net>
23879
23880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23881 ${Bash-specific parameter/pattern/string} parameter expansion.
23882 * sysdeps/unix/make-syscalls.sh: Likewise.
23883
238842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23885
23886 * sysdeps/sh/stackguard-macros.h: New file.
23887
238882013-09-26 Ondřej Bílka <neleai@seznam.cz>
23889
23890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23892 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23895 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23896
238972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23898
23899 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23900 Fix thread ID register.
23901
239022013-09-25 Joseph Myers <joseph@codesourcery.com>
23903
23904 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23905 [POSIX || UNIX98]: Require rather than permitting all symbols from
23906 <time.h>.
23907 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23908 element of struct sched_param.
23909 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23910 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23911 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23912 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23913 constant.
23914
239152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23916
23917 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23918 argument calculation.
23919
239202013-09-24 Joseph Myers <joseph@codesourcery.com>
23921
23922 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23923 Expect macro.
23924 [POSIX] (pthread_attr_t): Do not require type.
23925 [POSIX] (pthread_cond_t): Likewise.
23926 [POSIX] (pthread_condattr_t): Likewise.
23927 [POSIX] (pthread_key_t): Likewise.
23928 [POSIX] (pthread_mutex_t): Likewise.
23929 [POSIX] (pthread_mutexattr_t): Likewise.
23930 [POSIX] (pthread_once_t): Likewise.
23931 [POSIX] (pthread_t): Likewise.
23932 [POSIX-based standards] (pthread_atfork): Expect function.
23933
239342013-09-24 Joseph Myers <joseph@codesourcery.com>
23935 Richard Sandiford <richard@codesourcery.com>
23936
23937 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23938 (swap_endianness_p): New extern variable.
23939 (set_big_endian): New inline function.
23940 (maybe_swap_uint32): Likewise.
23941 (maybe_swap_uint32_array): Likewise.
23942 (maybe_swap_uint32_obstack): Likewise.
23943 * locale/programs/locfile.c: Include <stdbool.h>.
23944 (swap_endianness_p): New variable.
23945 (add_locale_uint32): Call maybe_swap_uint32.
23946 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23947 (write_locale_data): Call maybe_swap_uint32_array.
23948 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23949 maybe_swap_uint32.
23950 (obstack_int32_grow_fast): Likewise.
23951 (output_weightwc): Call maybe_swap_uint32_obstack.
23952 (collate_output): Likewise.
23953 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23954 (OPT_LITTLE_ENDIAN): Likewise.
23955 (options): Add --little-endian and --big-endian options.
23956 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23957 * locale/programs/locarchive.c: Include "locfile.h".
23958 (GET): New macro.
23959 (SET): Likewise.
23960 (INC): Likewise.
23961 (create_archive): Use the new macros to access fields of
23962 structures directly mapped from or written to locale archives.
23963 (oldlocrecentcmp): Likewise.
23964 (enlarge_archive): Likewise.
23965 (insert_name): Likewise.
23966 (add_alias): Likewise.
23967 (add_locale): Likewise.
23968 (delete_locales_from_archive): Likewise.
23969 (show_archive_content): Likewise.
23970 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23971 locale data.
23972
239732013-09-24 Roland McGrath <roland@hack.frob.com>
23974
23975 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23976 http://www.gnu.org/doc/freemanuals.texi.
23977 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23978
239792013-09-24 Will Newton <will.newton@linaro.org>
23980
23981 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23982 macro.
23983
239842013-09-23 Joseph Myers <joseph@codesourcery.com>
23985
23986 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23987 unsigned char.
23988
239892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23990
23991 * manual/threads.texi (POSIX Threads): Fix a typo.
23992
239932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23994
23995 [BZ #14547]
23996 * string/tst-strcoll-overflow.c: New test case.
23997 * string/Makefile (xtests): Add tst-strcoll-overflow.
23998 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23999 cache if string sizes may cause integer overflow.
24000
24001 [BZ #14547]
24002 * string/strcoll_l.c (coll_seq): New members rule, idx,
24003 save_idx and back_us.
24004 (get_next_seq_nocache): New function.
24005 (do_compare_nocache): New function.
24006 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24007 when malloc fails.
24008
240092013-09-23 Carlos O'Donell <carlos@redhat.com>
24010
24011 [BZ #15754]
24012 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24013 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24014 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24015
24016 [BZ #15754]
24017 * elf/Makefile (tests): Add tst-ptrguard1.
24018 (tests-static): Add tst-ptrguard1-static.
24019 (tst-ptrguard1-ARGS): Define.
24020 (tst-ptrguard1-static-ARGS): Define.
24021 * elf/tst-ptrguard1.c: New file.
24022 * elf/tst-ptrguard1-static.c: New file.
24023 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24024 * sysdeps/i386/stackguard-macros.h: Likewise.
24025 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24026 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24027 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24028 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24029 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24030 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24031
240322013-09-23 Hector Marco <hecmargi@upv.es>
24033 Ismael Ripoll <iripoll@disca.upv.es>
24034 Carlos O'Donell <carlos@redhat.com>
24035
24036 [BZ #15754]
24037 * sysdeps/generic/stackguard-macros.h: Define
24038 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24039 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24040 Define __pointer_chk_guard_local.
24041 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24042 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24043
240442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24045
24046 [BZ #15859]
24047 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24048
240492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24050
24051 * include/string.h (__ffs): Declare as hidden.
24052 * string/ffs.c (__ffs): Define as hidden.
24053 * sysdeps/i386/ffs.c (__ffs): Likewise.
24054 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24055 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24056 * sysdeps/s390/ffs.c (__ffs): Likewise.
24057 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24058
240592013-09-20 Alexandre Oliva <aoliva@redhat.com>
24060
24061 * NEWS: Mention malloc probes.
24062
24063 * malloc/arena.c (new_heap): New memory_heap_new probe.
24064 (grow_heap): New memory_heap_more probe.
24065 (shrink_heap): New memory_heap_less probe.
24066 (heap_trim): New memory_heap_free probe.
24067 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24068 (systrim): New memory_sbrk_less probe.
24069 * manual/probes.texi: Document them.
24070
24071 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24072 * manual/probes.texi: Document it.
24073
24074 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24075 (__libc_realloc): Add memory_realloc_retry probe.
24076 (__libc_memalign): Add memory_memalign_retry probe.
24077 (__libc_valloc): Add memory_valloc_retry probe.
24078 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24079 (__libc_calloc): Add memory_calloc_retry probe.
24080 * manual/probes.texi: Document them.
24081
24082 * malloc/arena.c (get_free_list): Add probe
24083 memory_arena_reuse_free_list.
24084 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24085 and memory_arena_reuse.
24086 (arena_get2) [!PER_THREAD]: Likewise.
24087 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24088 memory_arena_reuse_realloc.
24089 * manual/probes.texi: Document them.
24090
24091 * malloc/malloc.c (__libc_free): Add
24092 memory_mallopt_free_dyn_thresholds probe.
24093 (__libc_mallopt): Add multiple memory_mallopt probes.
24094 * manual/probes.texi: Document them.
24095
24096 * malloc/malloc.c: Include stap-probe.h.
24097 (__libc_mallopt): Add memory_mallopt probe.
24098 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24099 * manual/probes.texi: New.
24100 * manual/Makefile (chapters): Add probes.
24101 * manual/threads.texi: Set next node.
24102
241032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24104
24105 [BZ #15963, #13985]
24106 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24107 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24108 Add `Chinese' to `nan' entry name.
24109
241102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24111
24112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24113 (POLYNOMIAL): Likewise.
24114 (TAYLOR_SINCOS): Likewise.
24115 (TAYLOR_SLOW): Likewise.
24116 (__sin): Use TAYLOR_SINCOS.
24117 (__cos): Likewise.
24118 (slow): Use TAYLOR_SLOW.
24119 (sloww): Likewise.
24120 (bsloww): Likewise.
24121 (csloww): Likewise.
24122
241232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24124
24125 * stdlib/strtod_l.c: Fix buffer overrun.
24126
241272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24128
24129 * benchtests/Makefile (bench): Add sincos.
24130 * benchtests/bench-sincos.c: New file.
24131
24132 * math/libm-test.inc (cos_test_data): New test inputs.
24133 (sin_test_data): Likewise.
24134
24135 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24136 macro.
24137 (__sin): Use it.
24138 (__cos): Likewise.
24139 (slow1): Likewise.
24140 (slow2): Likewise.
24141 (sloww1): Likewise.
24142 (sloww2): Likewise.
24143 (bsloww1): Likewise.
24144 (bsloww2): Likewise.
24145 (cslow2): Likewise.
24146 (csloww1): Likewise.
24147 (csloww2): Likewise.
24148
24149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24150 function.
24151 (__sin): Use it.
24152 (__cos): Likewise.
24153
24154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24155 gotos.
24156 (__cos): Likewise.
24157
241582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24159
24160 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24161 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24162 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24163 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24164 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24165 * elf/cache.c (print_entry): Handle the new cache flags.
24166
241672013-09-18 Joseph Myers <joseph@codesourcery.com>
24168 Aldy Hernandez <aldyh@redhat.com>
24169
24170 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24171 Change condition to [_SOFT_FLOAT].
24172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24184 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24187 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24188 declaration.
24189
241902013-09-18 Joseph Myers <joseph@codesourcery.com>
24191
24192 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24194 (__longjmp): Use LOAD_GP to load saved GPRs.
24195 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24196 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24197 (__sigsetjmp): Use SAVE_GP to save GPRs.
24198
24199 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24200 Do not append -msoft-float.
24201 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24202
242032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24204
24205 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24206
242072013-09-17 Joseph Myers <joseph@codesourcery.com>
24208
24209 [BZ #15966]
24210 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24211 (_FPU_GETCW): Use initial "__" on variable and field names but not
24212 on macro parameter name.
24213 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24214 parentheses around reference to macro parameter.
24215
242162013-09-13 Richard Sandiford <richard@codesourcery.com>
24217
24218 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24219 prototype.
24220 (ctype_startup): Use uint32_t in cast and sizeof for
24221 ctype->charnames.
24222
242232013-09-11 Jia Liu <proljc@gmail.com>
24224
24225 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24226 __daddr_t_defined.
24227 [__FreeBSD__]: Likewise.
24228
242292013-09-11 Ondřej Bílka <neleai@seznam.cz>
24230
24231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24232 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24233 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24234 (strchr): Remove __strchr_sse42 ifunc selection.
24235 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24236 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24237
242382013-09-11 Will Newton <will.newton@linaro.org>
24239
24240 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24241 parameter to RES. Remove hardcoded 1000 value.
24242 * benchtests/bench-skeleton.c (main): Pass RES parameter
24243 to TIMING_INIT and multiply result by 1000.
24244
242452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24246
24247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24248
242492013-09-11 Andreas Schwab <schwab@suse.de>
24250
24251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24252 if not defined.
24253 (O_TMPFILE) [__USE_GNU]: Define.
24254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24255 Define.
24256
242572013-09-11 Will Newton <will.newton@linaro.org>
24258
24259 [BZ #15857]
24260 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24261 does not overflow.
24262
242632013-09-11 Will Newton <will.newton@linaro.org>
24264
24265 [BZ #15856]
24266 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24267 does not overflow.
24268
242692013-09-11 Will Newton <will.newton@linaro.org>
24270
24271 [BZ #15855]
24272 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24273 does not overflow.
24274
242752013-09-10 Ondřej Bílka <neleai@seznam.cz>
24276
24277 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24282
242832013-09-10 Allan McRae <allan@archlinux.org>
24284
24285 [BZ #15748]
24286 * manual/arith.texi (Parsing of Floats): Clarify
24287 cross-reference.
24288
24289 [BZ #15849]
24290 * manual/install.texi (Running make install): Mention
24291 --enable-pt-chown.
24292 * INSTALL: Regenerated.
24293
242942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24295
24296 * csu/init-first.c (_init): Remove the !SHARED condition around
24297 FPU control word initialization.
24298 * elf/dl-support.c (_dl_fpu_control): New variable.
24299 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24300 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24301 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24302 * math/test-fpucw-static.c: New file.
24303 * math/test-fpucw-ieee.c: New file.
24304 * math/test-fpucw-ieee-static.c: New file.
24305 * math/Makefile (tests): Add `test-fpucw-ieee' and
24306 `$(tests-static)'.
24307 (tests-static): New variable.
24308 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24309 dependency to...
24310 [($(build-shared),yes)]
24311 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24312 ... this.
24313 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24314 New dependency.
24315
243162013-09-09 Allan McRae <allan@archlinux.org>
24317
24318 [BZ #15939]
24319 * manual/string.texi (Collation Functions): Fix typo in
24320 strcoll example.
24321 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24322
24323 [BZ #15893]
24324 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24325
24326 [BZ #15892]
24327 * libio/memstream.c (open_memstream): Fix memory leak.
24328 * libio/wmemstream.c (open_wmemstream): Likewise.
24329
24330 [BZ #15895]
24331 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24332
243332013-09-09 Will Newton <will.newton@linaro.org>
24334
24335 * malloc/Makefile: Add tst-realloc to tests.
24336 * malloc/tst-realloc.c: New file.
24337
243382013-09-09 Allan McRae <allan@archlinux.org>
24339
24340 [BZ #15844]
24341 * COPYING: Update from GNU website to fix FSF address.
24342 * COPYING.LIB: Likewise.
24343
243442013-09-06 David S. Miller <davem@davemloft.net>
24345
24346 * po/zh_TW.po: Update Chinese (traditional) translation from
24347 translation project.
24348
243492013-09-06 Richard Sandiford <richard@codesourcery.com>
24350 Joseph Myers <joseph@codesourcery.com>
24351
24352 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24353 "localeinfo.h".
24354 (obstack_chunk_alloc): New macro.
24355 (obstack_chunk_free): Likewise.
24356 (record_offset): New function.
24357 (init_locale_data): Likewise.
24358 (align_locale_data): Likewise.
24359 (add_locale_empty): Likewise.
24360 (add_locale_raw_data): Likewise.
24361 (add_locale_raw_obstack): Likewise.
24362 (add_locale_string): Likewise.
24363 (add_locale_wstring): Likewise.
24364 (add_locale_uint32): Likewise.
24365 (add_locale_uint32_array): Likewise.
24366 (add_locale_char): Likewise.
24367 (start_locale_structure): Likewise.
24368 (end_locale_structure): Likewise.
24369 (start_locale_prelude): Likewise.
24370 (end_locale_prelude): Likewise.
24371 (write_locale_data): Take locale_file structure rather than an
24372 iovec.
24373 * locale/programs/locfile.h: Include "obstack.h".
24374 (struct locale_file): Change to store locale file contents instead
24375 of header.
24376 (init_locale_data): New prototype.
24377 (align_locale_data): Likewise.
24378 (add_locale_empty): Likewise.
24379 (add_locale_raw_data): Likewise.
24380 (add_locale_raw_obstack): Likewise.
24381 (add_locale_string): Likewise.
24382 (add_locale_wstring): Likewise.
24383 (add_locale_uint32): Likewise.
24384 (add_locale_uint32_array): Likewise.
24385 (add_locale_char): Likewise.
24386 (start_locale_structure): Likewise.
24387 (end_locale_structure): Likewise.
24388 (start_locale_prelude): Likewise.
24389 (end_locale_prelude): Likewise.
24390 (write_locale_data): Update prototype.
24391 * locale/programs/3level.h (struct TABLE): Remove result field.
24392 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24393 Use new locale_file interface.
24394 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24395 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24396 * locale/programs/ld-address.c (address_output): Use new
24397 locale_file interface.
24398 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24399 NO_ADD_LOCALE.
24400 (collate_finish): Don't call collseq_table_finalize.
24401 (collate_output): Use new locale_file interface.
24402 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24403 in file.
24404 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24405 (TABLE): Move defines earlier in file.
24406 (ELEMENT): Likewise.
24407 (DEFAULT): Likewise.
24408 (wctrans_table_add): Move macro and inline function earlier in
24409 file.
24410 (struct wctype_table): Move type earlier in file.
24411 (add_locale_wctype_table): New static prototype.
24412 (struct locale_ctype_t): Use logical types instead of struct iovec
24413 pointers for members.
24414 (ctype_output): Use new locale_file interface.
24415 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24416 new locale_file interface.
24417 (allocate_arrays): Update for use of new locale_file interface.
24418 * locale/programs/ld-identification.c (identification_output): Use
24419 new locale_file interface.
24420 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24421 * locale/programs/ld-messages.c (messages_output): Likewise.
24422 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24423 * locale/programs/ld-name.c (name_output): Likewise.
24424 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24425 * locale/programs/ld-paper.c (paper_output): Likewise.
24426 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24427 * locale/programs/ld-time.c (time_output): Likewise.
24428
244292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24430
24431 * benchtests/Makefile: Add memrchr benchmark.
24432 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24433 benchmark as memrchr.
24434 * benchtests/bench-memrchr-ifunc.c: New file.
24435 * benchtests/bench-memrchr.c: New file.
24436
244372013-09-06 Will Newton <will.newton@linaro.org>
24438
24439 * benchtests/Makefile (string-bench): Add memcpy.
24440
244412013-09-05 Carlos O'Donell <carlos@redhat.com>
24442 Cong Wang <amwang@redhat.com>
24443
24444 [BZ #15850]
24445 * sysdeps/unix/sysv/linux/bits/in.h
24446 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24447 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24448 before __USE_KERNEL_IPV6_DEFS uses.
24449 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24450 IPPROTO_BEETPH.
24451 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24452 sockaddr_in6, or ipv6_mreq.
24453
244542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24455
24456 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24457 memory access for final bytes in some large inputs.
24458 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24459
244602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24461
24462 * string/test-memrchr.c: New file.
24463 * string/test-memrchr-ifunc.c: New file.
24464 * string/Makefile: Add new memrchr testcase.
24465
244662013-09-05 Mike Frysinger <vapier@gentoo.org>
24467
24468 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24469 fanotify_init returns EPERM.
24470
244712013-09-04 Joseph Myers <joseph@codesourcery.com>
24472
24473 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24474 errors.
24475 (top level): Treat second token from macro or constant entries for
24476 allowed headers as allowed.
24477 * include/complex.h: Condition internal declarations on
24478 [!_ISOMAC].
24479 * include/fenv.h: Condition include of <stdbool.h> and internal
24480 declarations on [!_ISOMAC].
24481
244822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24483
24484 [BZ #15923]
24485 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24486
244872013-09-04 Joseph Myers <joseph@codesourcery.com>
24488
24489 * configure.in (--enable-versioning): Remove configure option.
24490 (libc_cv_asm_symver_directive): Remove configure test.
24491 (libc_cv_ld_version_script_option): Likewise.
24492 (VERSIONING): Remove variable and AC_SUBST.
24493 (DO_VERSIONING): Remove AC_DEFINE.
24494 * configure: Regenerated.
24495 * config.h.in (DO_VERSIONING): Remove macro.
24496 * Makerules [$(versioning) = yes]: Change conditionals to
24497 [$(build-shared) = yes].
24498 * config.make.in (versioning): Remove variable.
24499 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24500 [$(build-shared) = yes].
24501 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24502 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24503 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24504 [$(build-shared) = yes].
24505 * extra-lib.mk [$(versioning) = yes]: Likewise.
24506 * hurd/Makefile [$(versioning) = yes]: Likewise.
24507 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24508 [SHARED].
24509 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24510 [SHARED].
24511 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24512 [SHARED && !NO_HIDDEN].
24513 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24514 [SHARED].
24515 [SHARED && DO_VERSIONING]: Likewise..
24516 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24517 [$(build-shared) = yes].
24518 * manual/install.texi (--disable-versioning): Remove
24519 documentation.
24520 * INSTALL: Regenerated.
24521 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24522 to [SHARED].
24523 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24524 [$(build-shared) = yes].
24525 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24526 * sysdeps/i386/i686/multiarch/strstr-c.c
24527 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24528 [SHARED && !NO_HIDDEN].
24529 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24530 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24531 * sysdeps/powerpc/powerpc32/dl-machine.c
24532 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24533 * sysdeps/powerpc/powerpc32/sysdep.h
24534 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24535 to [SHARED && PIC && !NO_HIDDEN].
24536 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24537 conditional to [SHARED].
24538
245392013-09-04 Will Newton <will.newton@linaro.org>
24540
24541 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24542 * benchtests/bench-string.h: Include bench-timing.h instead
24543 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24544 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24545 call to HP_TIMING_DIFF_INIT.
24546 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24547 instead of hp-timing.h macros.
24548 * benchtests/bench-memchr.c: Likewise.
24549 * benchtests/bench-memcmp.c: Likewise.
24550 * benchtests/bench-memcpy.c: Likewise.
24551 * benchtests/bench-memmem.c: Likewise.
24552 * benchtests/bench-memmove.c: Likewise.
24553 * benchtests/bench-memset.c: Likewise.
24554 * benchtests/bench-rawmemchr.c: Likewise.
24555 * benchtests/bench-strcasecmp.c: Likewise.
24556 * benchtests/bench-strcasestr.c: Likewise.
24557 * benchtests/bench-strcat.c: Likewise.
24558 * benchtests/bench-strchr.c: Likewise.
24559 * benchtests/bench-strcmp.c: Likewise.
24560 * benchtests/bench-strcpy.c: Likewise.
24561 * benchtests/bench-strcpy_chk.c: Likewise.
24562 * benchtests/bench-strlen.c: Likewise.
24563 * benchtests/bench-strncasecmp.c: Likewise.
24564 * benchtests/bench-strncat.c: Likewise.
24565 * benchtests/bench-strncmp.c: Likewise.
24566 * benchtests/bench-strncpy.c: Likewise.
24567 * benchtests/bench-strnlen.c: Likewise.
24568 * benchtests/bench-strpbrk.c: Likewise.
24569 * benchtests/bench-strrchr.c: Likewise.
24570 * benchtests/bench-strspn.c: Likewise.
24571 * benchtests/bench-strstr.c: Likewise.
24572
245732013-09-04 Will Newton <will.newton@linaro.org>
24574
24575 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24576
245772013-09-03 Joseph Myers <joseph@codesourcery.com>
24578
24579 [BZ #15427]
24580 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24581 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24582 * math/libm-test.inc (lgamma_test_data): Add more tests.
24583 * sysdeps/i386/fpu/libm-test-ulps: Update.
24584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24585
245862013-09-03 Ondřej Bílka <neleai@seznam.cz>
24587
24588 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24590 Add ifunc.
24591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24592 Add strcmp-sse2-unaligned
24593 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24594
245952013-09-02 Mike Frysinger <vapier@gentoo.org>
24596
24597 * Versions.def (libc): Add GLIBC_2.19.
24598
245992013-09-02 Mike Frysinger <vapier@gentoo.org>
24600
24601 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24602 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24603
246042013-09-02 Joseph Myers <joseph@codesourcery.com>
24605
24606 [BZ #14155]
24607 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24608 intermediate calculations in recurrence.
24609 (__ieee754_ynf): Likewise.
24610 * math/libm-test.inc (jn_test_data): Do not allow spurious
24611 underflow exception. Add more tests.
24612 (yn_test_data): Add more tests.
24613 * sysdeps/i386/fpu/libm-test-ulps: Update.
24614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615
246162013-09-02 Ondřej Bílka <neleai@seznam.cz>
24617
24618 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24619
246202013-08-30 Ondřej Bílka <neleai@seznam.cz>
24621
24622 * csu/init-first.c: Fix then/than typos.
24623 * locale/programs/ld-collate.c: Likewise.
24624 * locale/programs/linereader.h: Likewise.
24625 * manual/charset.texi: Likewise.
24626 * manual/filesys.texi: Likewise.
24627 * manual/stdio.texi: Likewise.
24628 * manual/string.texi: Likewise.
24629 * stdlib/fmtmsg.c: Likewise.
24630 * sysdeps/i386/stpncpy.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24632 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24634 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24635
246362013-08-30 Ondřej Bílka <neleai@seznam.cz>
24637
24638 * elf/dl-open.c: Fix typos.
24639 * iconvdata/gbbig5.c: Likewise.
24640 * iconvdata/iso-2022-jp.c: Likewise.
24641 * iconv/gconv_int.h: Likewise.
24642 * iconv/loop.c: Likewise.
24643 * nis/rpcsvc/nis.h: Likewise.
24644 * resolv/ns_name.c: Likewise.
24645 * stdio-common/vfscanf.c: Likewise.
24646 * streams/stropts.h: Likewise.
24647 * sunrpc/rpc_thread.c: Likewise.
24648 * sysdeps/i386/strpbrk.S: Likewise.
24649 * sysdeps/ieee754/k_standard.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24652 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24653 * sysdeps/mach/hurd/profil.c: Likewise.
24654 * sysdeps/s390/dl-procinfo.h: Likewise.
24655 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24656 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24657 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24658 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24660
246612013-08-30 Ondřej Bílka <neleai@seznam.cz>
24662
24663 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24665
246662013-08-29 Ondřej Bílka <neleai@seznam.cz>
24667
24668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24669 aix specific files.
24670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24672 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24673 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24674 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24675 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24676 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24677 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24678
246792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24680 Roland McGrath <roland@hack.frob.com>
24681
24682 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24683 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24684
246852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24686
24687 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24688 __executable_start symbol instead of _start.
24689
246902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24691
24692 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24693 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24694 Move macros to...
24695 * sysdeps/gnu/ldsodefs.h: ... this new file.
24696
24697 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24698 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24699 instead of ELFOSABI_LINUX.
24700
24701 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24702 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24703 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24704 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24705 Likewise.
24706 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24707 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24708 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24709 Likewise.
24710 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24711 (ibm_extended_long_double): Add ieee_nan member.
24712 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24713 (do_test): New function.
24714
24715 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24716 TEST_TRUNC.
24717 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24718 functions, renamed from truncdfsf_test, trunctfsf_test,
24719 trunctfdf_test.
24720 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24721 functions.
24722 (do_test): Run all these.
24723
247242013-08-29 Ondřej Bílka <neleai@seznam.cz>
24725
24726 * argp/argp-help.c: Fix typos.
24727 * argp/argp-parse.c: Likewise.
24728 * debug/backtracesyms.c: Likewise.
24729 * elf/elf.h: Likewise.
24730 * malloc/malloc.c: Likewise.
24731 * nis/nis_print.c: Likewise.
24732 * resolv/res_comp.c: Likewise.
24733 * stdlib/stdlib.h: Likewise.
24734 * sunrpc/clnt_tcp.c: Likewise.
24735 * sunrpc/clnt_udp.c: Likewise.
24736 * sunrpc/clnt_unix.c: Likewise.
24737 * sysdeps/unix/bsd/ptsname.c: Likewise.
24738 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24739 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24741 Likewise.
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24743 Likewise.
24744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24745 Likewise.
24746 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24747
247482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24749
24750 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24752
247532013-08-27 Mike Frysinger <vapier@gentoo.org>
24754
24755 [BZ #15897]
24756 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24757 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24758 ($(objpfx)bug-dl-leaf): New rule.
24759 ($(objpfx)bug-dl-leaf.so): Likewise.
24760 ($(objpfx)bug-dl-leaf.out): Likewise.
24761 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24762 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24763 * dlfcn/bug-dl-leaf.c: New test.
24764 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24765 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24766 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24767 (dlclose): Likewise.
24768 (dlmopen): Likewise.
24769
247702013-08-27 Roland McGrath <roland@hack.frob.com>
24771
24772 * include/netdb.h [!_ISOMAC]:
24773 Don't include <tls.h>.
24774 (h_errno, __libc_h_errno): Move declaration and macros out of
24775 [_LIBC_REENTRANT].
24776
24777 * include/resolv.h [_RESOLV_H_]:
24778 Don't include <tls.h>.
24779 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24780 * resolv/res_libc.c: Don't include <tls.h>.
24781 (_res): Use __attribute__ ((nocommon)) in place of
24782 __attribute__ ((section (".bss"))).
24783
24784 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24785 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24786
24787 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24788
24789 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24790 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24791
24792 * resolv/res_mkquery.c: Include <sys/time.h>.
24793
24794 * inet/ifreq.c: Moved to ...
24795 * sysdeps/unix/ifreq.c: ... here.
24796 * inet/ifreq.c: New file, true stub version.
24797
24798 * socket/sa_len.c: New file.
24799 * socket/Makefile (aux): Add it.
24800 * sysdeps/unix/sysv/linux/Makefile
24801 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24802 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24803 and #include <socket/sa_len.c>.
24804 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24805 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24806
24807 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24808 * bits/socket.h: ... here.
24809
24810 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24811 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24812 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24813
248142013-08-27 Andreas Schwab <schwab@suse.de>
24815
24816 [BZ #15736]
24817 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24818 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24819 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24820 * string/test-strcasecmp.c (test_main): Run tests in several
24821 locales.
24822 * string/test-strncasecmp.c (test_main): Likewise.
24823
24824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24825 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24826 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24828 (__strncasecmp_ssse3) [PIC]: Likewise.
24829
248302013-08-26 Roland McGrath <roland@hack.frob.com>
24831
24832 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24833
24834 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24835 instead of explicitly declaring xdecrypt.
24836 * nis/nss_nis/nis-publickey.c: Likewise.
24837
248382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24839
24840 [BZ #15890]
24841 * nscd/aicache.c: Include res_hconf.h.
24842 (addhstaiX): Initialize res_hconf.
24843
248442013-08-26 Andreas Schwab <schwab@suse.de>
24845
24846 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24847 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24848
248492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24850
24851 * nscd/aicache.c (addhstaiX): Fix indentation.
24852
248532013-08-25 Mike Frysinger <vapier@gentoo.org>
24854
24855 * configure.ac: Quote $build_pt_chown test.
24856 * configure: Regenerated.
24857
248582013-08-23 Joseph Myers <joseph@codesourcery.com>
24859
24860 [BZ #15532]
24861 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24862 * math/s_cexpf.c (__cexpf): Likewise.
24863 * math/s_cexpl.c (__cexpl): Likewise.
24864 * math/libm-test.inc (cexp_test_data): Correct expected return
24865 value for NaN + i0. Add another test.
24866
248672013-08-22 David S. Miller <davem@davemloft.net>
24868
24869 * po/ca.po: Update Catalan translation from translation project.
24870 * po/uk.po: Add Ukrainian translations from translation project.
24871
248722013-08-21 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #15797]
24875 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24876 is infinite, not alongside NaN test.
24877 * math/s_fdimf.c (__fdimf): Likewise.
24878 * math/s_fdiml.c (__fdiml): Likewise.
24879 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24880 errno is unchanged.
24881
248822013-08-21 Ondřej Bílka <neleai@seznam.cz>
24883
24884 * argp/argp-help.c: Fix typos.
24885 * crypt/speeds.c: Likewise.
24886 * csu/check_fds.c: Likewise.
24887 * elf/dl-load.c: Likewise.
24888 * elf/dl-open.c: Likewise.
24889 * elf/reldep3.c: Likewise.
24890 * elf/reldep.c: Likewise.
24891 * elf/sprof.c: Likewise.
24892 * iconv/iconv_charmap.c: Likewise.
24893 * iconv/skeleton.c: Likewise.
24894 * iconv/strtab.c: Likewise.
24895 * io/lockf64.c: Likewise.
24896 * libio/libioP.h: Likewise.
24897 * resolv/gai_notify.c: Likewise.
24898 * resolv/ns_name.c: Likewise.
24899 * resolv/ns_samedomain.c: Likewise.
24900 * resolv/res_send.c: Likewise.
24901 * stdlib/random.c: Likewise.
24902 * sunrpc/rpc/xdr.h: Likewise.
24903 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24905 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24906 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24911 * sysdeps/mach/hurd/check_fds.c: Likewise.
24912 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24913 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24917 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24918 * sysdeps/pthread/aio_notify.c: Likewise.
24919 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24920 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24923 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24924
249252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24926
24927 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24928 version if bit_Slow_SSE4_2 is set.
24929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24931
249322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24933
24934 [BZ #15867]
24935 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24936 trampoline stack frame information.
24937 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24939 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24940 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24941 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24942 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24943 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24944 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24945 sa_flags value.
24946 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24947 interrupting a syscall and set with option SA_SIGINFO.
24948
249492013-08-20 Joseph Myers <joseph@codesourcery.com>
24950
24951 [BZ #15531]
24952 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24953 argument is infinite.
24954 * math/s_cprojf.c (__cprojf): Likewise.
24955 * math/s_cprojl.c (__cprojl): Likewise.
24956 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24957 * math/libm-test.inc (cproj_test_data): Add more tests.
24958
24959 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24960
24961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24962 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24963 size. Use __ffs to determine corresponding shift.
24964
249652013-08-20 Joseph Myers <joseph@codesourcery.com>
24966 Roland McGrath <roland@hack.frob.com>
24967
24968 * Makefile (INSTALL): Remove trailing blank lines from output of
24969 makeinfo.
24970
249712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24972
24973 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24974 Align 32 bit compat elf_greg to 8 bytes.
24975
249762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24977
24978 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24979
249802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24981
24982 * string/strcoll_l.c (coll_seq): New structure.
24983 (get_next_seq_cached): New function.
24984 (get_next_seq): New function.
24985 (do_compare): New function.
24986 (STRCOLL): Use GNU style definition. Simplify implementation
24987 by using get_next_seq, get_next_seq_cached and do_compare.
24988
249892013-08-16 Florian Weimer <fweimer@redhat.com>
24990
24991 [BZ #14699]
24992 CVE-2013-4237
24993 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24994 member.
24995 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24996 member.
24997 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24998 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24999 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25000 conditional.
25001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25002 GETDENTS_64BIT_ALIGNED.
25003 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25004 * manual/filesys.texi (Reading/Closing Directory): Document
25005 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25006 strongly.
25007 * manual/conf.texi (Limits for Files): Add portability note to
25008 NAME_MAX, PATH_MAX.
25009 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25010
250112013-08-13 Andreas Schwab <schwab@suse.de>
25012
25013 [BZ #15749]
25014 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25015 of fabs.
25016 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25017 LDBL_MAX_EXP >= 16384]: Add tests for it.
25018
250192013-08-12 David S. Miller <davem@davemloft.net>
25020
25021 * version.h (RELEASE): Set to "development".
25022 (VERSION): Set to "2.18.90".
25023 * NEWS: Add 2.19 section.
25024
250252013-08-03 David S. Miller <davem@davemloft.net>
25026
25027 * po/ko.po: Update Korean translation from translation project.
25028
250292013-08-01 David S. Miller <davem@davemloft.net>
25030
25031 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25032 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25033 Bilka.
25034
250352013-07-30 David S. Miller <davem@davemloft.net>
25036
25037 * po/fr.po: Update French translation from translation project.
25038
250392013-07-28 David S. Miller <davem@davemloft.net>
25040
25041 * po/cs.po: Update Czech translation from translation project.
25042
25043 * po/sv.po: Update Swedish translation from translation project.
25044
250452013-07-27 David S. Miller <davem@davemloft.net>
25046
25047 * po/eo.po: Update Esperanto translation from translation project.
25048
25049 * po/vi.po: Update Vietnamese translation from translation project.
25050
25051 * po/de.po: Update German translation from translation project.
25052
250532013-07-26 David S. Miller <davem@davemloft.net>
25054
25055 * po/bg.po: Update Bulgarian translation from translation project.
25056
25057 * po/nl.po: Update Dutch translation from translation project.
25058 * po/pl.po: Update Polish translation from translation project.
25059 * po/ru.po: Update Russian translation from translation project.
25060
250612013-07-24 David S. Miller <davem@davemloft.net>
25062
25063 * po/libc.pot: Update.
25064
250652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25066
25067 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25068 variable page size.
25069 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25070 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25071 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25072
250732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25074
25075 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25076
250772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25078 Andreas Schwab <schwab@suse.de>
25079 Roland McGrath <roland@hack.frob.com>
25080 Joseph Myers <joseph@codesourcery.com>
25081 Carlos O'Donell <carlos@redhat.com>
25082
25083 [BZ #15755]
25084 * config.h.in: Define HAVE_PT_CHOWN.
25085 * config.make.in (build-pt-chown): New variable.
25086 * configure.in (--enable-pt_chown): New configure option.
25087 * configure: Regenerate.
25088 * login/Makefile: Include Makeconfig. Build pt_chown only if
25089 build-pt-chown is enabled.
25090 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25091 pt_chown to fix pty ownership.
25092 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25093 CLOSE_ALL_FDS.
25094 * manual/install.texi (Configuring and compiling): Mention
25095 --enable-pt_chown. Add @findex for grantpt.
25096 * INSTALL: Regenerate.
25097
250982013-07-20 David S. Miller <davem@davemloft.net>
25099
25100 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25101 difference between 32-bit and 64-bit.
25102
251032013-07-15 Carlos O'Donell <carlos@redhat.com>
25104
25105 [BZ #15711]
25106 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25107 Avoid system header dependency with -ffreestanding.
25108 ($(objpfx)bits/syscall%d): Likewise.
25109
251102013-07-13 David S. Miller <davem@davemloft.net>
25111
25112 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25113 underflows from atanl/atan2l due to bug 15319.
25114 (casinh_test_data): Likewise.
25115
251162013-07-07 David S. Miller <davem@davemloft.net>
25117
25118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25119
251202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25121
25122 * sysdeps/i386/fpu/libm-test-ulps: Update.
25123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25124
251252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25126
25127 * configure.in (--enable-lock-elision): Fix message text.
25128 * INSTALL: Regenerate.
25129 * configure: Regenerate.
25130
251312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25132
25133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25134
251352013-07-03 Andreas Jaeger <aj@suse.de>
25136
25137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25138 define.
25139 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25140 (ptrace_peeksiginfo_args): Add.
25141 (__ptrace_peeksiginfo_flags): Add.
25142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25145
251462013-07-03 Allan McRae <allan@archlinux.org>
25147
25148 * sysdeps/i386/fpu/libm-test-ulps: Update.
25149
251502013-07-02 David S. Miller <davem@davemloft.net>
25151
25152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25153
251542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25155
25156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25157
251582013-07-02 Joseph Myers <joseph@codesourcery.com>
25159
25160 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162
251632013-07-02 Andi Kleen <ak@linux.intel.com>
25164
25165 * config.h.in (ENABLE_LOCK_ELISION): Add.
25166 * configure.in (--enable-lock-elision): Add option.
25167 * manual/install.texi: Document --enable lock elision.
25168 * configure: Regenerate
25169 * INSTALL: Regenerate.
25170
251712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25172
25173 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25174 SSE4.2 strcasecmp for libc.a.
25175 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25176
251772013-07-02 Joseph Myers <joseph@codesourcery.com>
25178
25179 [BZ #13304]
25180 * soft-fp/op-common.h (_FP_FMA): New macro.
25181 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25182 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25183 (_FP_MUL_MEAT_1_imm): ... here.
25184 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25185 (_FP_MUL_MEAT_1_wide): ... here.
25186 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25187 (_FP_MUL_MEAT_1_hard): ... here.
25188 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25189 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25190 (_FP_MUL_MEAT_2_wide): ... here.
25191 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25192 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25193 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25194 (_FP_MUL_MEAT_2_gmp): ... here.
25195 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25196 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25197 (_FP_MUL_MEAT_4_wide): ... here.
25198 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25199 (_FP_MUL_MEAT_4_gmp): ... here.
25200 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25201 (_FP_WFRACBITS_DW_S): Likewise.
25202 (_FP_WFRACXBITS_DW_S): Likewise.
25203 (_FP_HIGHBIT_DW_S): Likewise.
25204 (FP_FMA_S): Likewise.
25205 (_FP_FRAC_HIGH_DW_S): Likewise.
25206 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25207 (_FP_WFRACBITS_DW_D): Likewise.
25208 (_FP_WFRACXBITS_DW_D): Likewise.
25209 (_FP_HIGHBIT_DW_D): Likewise.
25210 (FP_FMA_D): Likewise.
25211 (_FP_FRAC_HIGH_DW_D): Likewise.
25212 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25213 (_FP_WFRACBITS_DW_E): Likewise.
25214 (_FP_WFRACXBITS_DW_E): Likewise.
25215 (_FP_HIGHBIT_DW_E): Likewise.
25216 (FP_FMA_E): Likewise.
25217 (_FP_FRAC_HIGH_DW_E): Likewise.
25218 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25219 (_FP_WFRACBITS_DW_Q): Likewise.
25220 (_FP_WFRACXBITS_DW_Q): Likewise.
25221 (_FP_HIGHBIT_DW_Q): Likewise.
25222 (FP_FMA_Q): Likewise.
25223 (_FP_FRAC_HIGH_DW_Q): Likewise.
25224 * soft-fp/fmasf4.c: New file.
25225 * soft-fp/fmadf4.c: Likewise.
25226 * soft-fp/fmatf4.c: Likewise.
25227
252282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25229
25230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25231 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25232 Silvermont.
25233 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25234 macro.
25235 (index_Slow_SSE4_2): Likewise.
25236 (index_Prefer_PMINUB_for_stringop): Likewise.
25237 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25238 bit_Slow_SSE4_2 is set.
25239 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25241
252422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25243
25244 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25245 rtld_global._dl_hwcap2.
25246 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25247 POWER8.
25248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25249 POWER8 feature descriptions defined in _dl_hwcap2.
25250 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25251 string handling for POWER8 feature bits.
25252 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25253 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25254 _dl_powerpc_cap_flags.
25255 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25256 * sysdeps/powerpc/rtld-global-offsets.sym
25257 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25258 _dl_hwcap2 in the rtld_global_ro structure.
25259
252602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25261
25262 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25263 hardware capabilities in support of AT_HWCAP2.
25264 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25265 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25266 GLRO(dl_hwcap2).
25267 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25268 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25269 explicitly the unknown a_type display mechanism is used.
25270 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25271 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25272 struct member.
25273 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25274 to macro prototype for AT_HWCAP2 support.
25275 * sysdeps/i386/dl-procinfo.h: Likewise.
25276 * sysdeps/s390/dl-procinfo.h: Likewise.
25277 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25278 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25279 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25280 return -1 for unknown a_type display fallback.
25281 * sysdeps/sparc/dl-procinfo.h: Likewise.
25282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25283 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25284
252852013-06-28 Joseph Myers <joseph@codesourcery.com>
25286
25287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25288 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25289
252902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25291
25292 [BZ #12492]
25293 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25294 mprotect making __stack_prot writable.
25295
252962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25297 Joseph Myers <joseph@codesourcery.com>
25298
25299 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25300 as being properly aligned.
25301
253022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25303
25304 * dlfcn/modstatic5.c: New file.
25305 * dlfcn/tststatic5.c: New file.
25306 * dlfcn/Makefile (tests): Add tststatic5.
25307 (tests-static): Likewise.
25308 (modules-names): Add modstatic5.
25309 (tststatic5-ENV): New variable.
25310 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25311
25312 [BZ #15022]
25313 * elf/dl-support.c (_dl_main_map): New variable.
25314 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25315 (_dl_nns, _dl_load_adds): Set to 1.
25316 (_dl_initial_searchlist): Refer to _dl_main_map.
25317 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25318 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25319 call to _dl_get_origin.
25320 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25321 around call_map.
25322 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25323 * dlfcn/modstatic3.c: New file.
25324 * dlfcn/tststatic3.c: New file.
25325 * dlfcn/tststatic4.c: New file.
25326 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25327 (tests-static): Likewise.
25328 (modules-names): Add modstatic3.
25329 (tststatic3-ENV, tststatic4-ENV): New variables.
25330 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25331 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25332
253332013-06-26 Joseph Myers <joseph@codesourcery.com>
25334
25335 * configure.in (CC): Require GCC version 4.4 or later.
25336 * configure: Regenerated.
25337 * manual/install.texi (Tools for Compilation): Update GCC version
25338 requirement.
25339 * INSTALL: Regenerated.
25340
253412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25342
25343 [BZ #15674]
25344 * string/test-memcmp.c (check2): New.
25345 (main): Call check2.
25346
25347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25348
253492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25350
25351 [BZ #15022]
25352 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25353 over to...
25354 (dl_open_worker) [!SHARED]: ... here.
25355
253562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25357
25358 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25359
253602013-06-25 Richard Henderson <rth@redhat.com>
25361
25362 * locale/programs/locarchive.c: Include <libc-internal.h>
25363
253642013-06-25 Joseph Myers <joseph@codesourcery.com>
25365
25366 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25367 trailing whitespace removed.
25368
253692013-06-24 Mike Frysinger <vapier@gentoo.org>
25370
25371 [BZ #10283]
25372 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25373 * locale/programs/locarchive.c: Include libc-mmap.h.
25374 (prepare_address_space): Take two new outputs (the mmap base and len).
25375 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25376 values.
25377 (create_archive): Declare new mmap base and len values for
25378 prepare_address_space, and store the result in ah.
25379 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25380 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25381 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25382 Declare new mmap base and len values for
25383 prepare_address_space, and store the result in new_ah.
25384 (open_archive): Declare new mmap base and len values for
25385 prepare_address_space, and store the result in ah.
25386 (close_archive): If ah->mmap_base is not NULL, use that and
25387 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25388 * sysdeps/generic/libc-mmap.h: New file.
25389
253902013-06-24 Mike Frysinger <vapier@gentoo.org>
25391
25392 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25393 (ALIGN_UP): Likewise.
25394 (PTR_ALIGN_DOWN): Likewise.
25395 (PTR_ALIGN_UP): Likewise.
25396
253972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25398
25399 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25400 entry mapped to PPC_PLATFORM_POWER8.
25401 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25402 POWER8.
25403 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25404 (_dl_string_platform): Add case for exporting platform position for
25405 POWER8.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25407 search path to sysdeps/powerpc/powerpc32/power8 directory.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25409 search path to sysdeps/powerpc/powerpc64/power8 directory.
25410 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25411 power7 directories.
25412 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25413 power7 directories.
25414
254152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25416
25417 * INSTALL: Regenerate.
25418
25419 * nscd/connections.c (nscd_init): Fix comment.
25420
254212013-06-22 Joseph Myers <joseph@codesourcery.com>
25422
25423 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25424
25425 [BZ #15667]
25426 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25427 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25428
254292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25430
25431 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25432 DL_DST_REQ_STATIC.
25433 (DL_DST_REQ_STATIC): Remove macro.
25434
254352013-06-21 Joseph Myers <joseph@codesourcery.com>
25436
25437 [BZ #7006]
25438 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25439 with a shift of 0 bits.
25440
254412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25442
25443 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25444 $(tststatic-ENV).
25445
254462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25447
25448 [BZ #15655]
25449 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25450
254512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25452
25453 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25454 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25455 accepts -fno-tree-loop-distribute-patterns.
25456 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25457 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25458 recursive call.
25459 * string/memset.c (memset): Likewise.
25460 * string/test-memmove.c (simple_memmove): Disable loop transformation
25461 to library calls.
25462 * string/test-memset.c (simple_memset): Likewise.
25463 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25464 * benchtests/bench-memset.c (simple_memset): Likewise.
25465 * configure: Regenerated.
25466
254672013-06-20 Joseph Myers <joseph@codesourcery.com>
25468
25469 * math/test-misc.c (main): Ignore fesetround failure when failures
25470 of subsequent rounding tests would be ignored.
25471
25472 [BZ #15654]
25473 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25474 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25475 * math/fegetenv.c (__fegetenv): Return 0.
25476 * math/fegetexcept.c (fegetexcept): Return 0.
25477 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25478 FE_TONEAREST.
25479 * math/feholdexcpt.c (feholdexcept): Return 0.
25480 * math/fesetenv.c (__fesetenv): Return 0.
25481 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25482 argument FE_TONEAREST.
25483 * math/feupdateenv.c (__feupdateenv): Return 0.
25484 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25485
254862013-06-18 Roland McGrath <roland@hack.frob.com>
25487
25488 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25489 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25490 ($(objpfx)rtld-%.os rules): Use them.
25491
254922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25493
25494 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25495 fields.
25496
254972013-06-17 Roland McGrath <roland@hack.frob.com>
25498
25499 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25500 length of target pattern, then descending length of dependency pattern.
25501 * configure.in (AWK): Require gawk 3.1.2 or newer.
25502 * manual/install.texi (Tools for Compilation): Say that we do.
25503 * configure: Regenerated.
25504
25505 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25506 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25507 * scripts/sysd-rules.awk: ... this new script.
25508 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25509 than a glob-style pattern.
25510
255112013-06-17 Joseph Myers <joseph@codesourcery.com>
25512
25513 * math/test-misc.c (main): Do not treat incorrectly rounded
25514 conversions as failure unless ROUNDING_TESTS passes.
25515
255162013-06-15 Joseph Myers <joseph@codesourcery.com>
25517
25518 [BZ #15631]
25519 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25520 restore exception state around main square root computation, then
25521 check for inexactness explicitly.
25522
25523 * math/libm-test.inc (fma_test_data): Add another test.
25524
255252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25526
25527 * manual/threads.texi (Non-POSIX Extensions): New document
25528 node. Document pthread_getattr_default_np and
25529 pthread_setattr_default_np.
25530
25531 * Versions.def (libpthread): Add GLIBC_2.18.
25532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25534 Likewise.
25535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25536 Likewise.
25537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25538 Likewise.
25539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25540 Likewise.
25541 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25542 Likewise.
25543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25544 Likewise.
25545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25548 Likewise.
25549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25550 Likewise.
25551
255522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25553
25554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25555 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25556
255572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25558 H.J. Lu <hjl.tools@gmail.com>
25559
25560 [BZ #15627]
25561 * sysdeps/x86_64/rtld-memset.c: Remove file.
25562 * sysdeps/x86_64/rtld-memset.S: New file.
25563
255642013-06-14 Joseph Myers <joseph@codesourcery.com>
25565
25566 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25567 (test_in_one_mode): Take arguments for whether the rounding mode
25568 is supported for each floating-point type.
25569 (do_test): Pass new arguments to test_in_one_mode using
25570 ROUNDING_TESTS.
25571
255722013-06-13 Roland McGrath <roland@hack.frob.com>
25573
25574 * posix/tst-waitid.c (do_test): Distinguish different instances of
25575 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25576 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25577 before entering the kernel for waitpid.
25578
255792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25580
25581 * NEWS: Fix note on clock function precision. Text by Roland
25582 McGrath.
25583
255842013-06-13 Roland McGrath <roland@hack.frob.com>
25585
25586 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25587 it into place only when and if the sanity check passes.
25588
255892013-06-13 Joseph Myers <joseph@codesourcery.com>
25590
25591 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25592 output for whether conversion result is exact. Take argument
25593 indicating whether type is IBM long double.
25594 (round_for_all): Change need_exact field to ibm_ld.
25595 * stdlib/tst-strtod-round.c (struct exactness): New type.
25596 (struct test): Change bool ld_ok field to struct exactness exact.
25597 (TEST): Update all definitions for change to field.
25598 (tests): Regenerate array contents.
25599 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25600 field value. Check for IBM long double here.
25601 (do_test): Update calls to test_in_one_mode.
25602
256032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25604
25605 [BZ #12515]
25606 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25607 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25608
256092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25610
25611 [BZ #15605]
25612 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25613 generated by the compiler on loop optimizations.
25614 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25615 general definitions.
25616
256172013-06-12 Joseph Myers <joseph@codesourcery.com>
25618
25619 * math/bug-nextafter.c: Include <math-tests.h>.
25620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25621 the relevant type.
25622 * math/bug-nexttoward.c: Include <math-tests.h>.
25623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25624 the relevant type.
25625 * math/test-misc.c: Include <math-tests.h>.
25626 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25627 the relevant type.
25628
256292013-06-12 Andreas Jaeger <aj@suse.de>
25630
25631 * po/ia.po: Update Interlingua translation from translation
25632 project.
25633
256342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25635
25636 * include/fenv.h: Include stdbool.h.
25637 (struct rm_ctx): New structure.
25638 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25639 Define macro.
25640 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25641 (SET_RESTORE_ROUNDF): Likewise.
25642 (SET_RESTORE_ROUNDL): Likewise.
25643 (SET_RESTORE_ROUND_NOEX): Likewise.
25644 (SET_RESTORE_ROUND_NOEXF): Likewise.
25645 (SET_RESTORE_ROUND_NOEXL): Likewise.
25646 (SET_RESTORE_ROUND_53BIT): Likewise.
25647 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25648 (libc_feresetround_noexf_ctx): Likewise.
25649 (libc_feresetround_noexl_ctx): Likewise.
25650 (libc_feholdsetround_53bit_ctx): Likewise.
25651 (libc_feresetround_53bit_ctx): Likewise.
25652 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25653 (libc_feholdexcept_setround_sse_ctx): New function.
25654 (libc_fesetenv_sse_ctx): Likewise.
25655 (libc_feupdateenv_sse_ctx): Likewise.
25656 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25657 (libc_feholdexcept_setround_387_ctx): Likewise.
25658 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25659 (libc_feholdsetround_387_prec_ctx): Likewise.
25660 (libc_feholdsetround_387_ctx): Likewise.
25661 (libc_feholdsetround_387_53bit_ctx): Likewise.
25662 (libc_feholdsetround_sse_ctx): Likewise.
25663 (libc_feresetround_sse_ctx): Likewise.
25664 (libc_feresetround_387_ctx): Likewise.
25665 (libc_feupdateenv_387_ctx): Likewise.
25666 (libc_feholdexcept_setroundf_ctx): Define macro.
25667 (libc_fesetenvf_ctx): Likewise.
25668 (libc_feupdateenvf_ctx): Likewise.
25669 (libc_feholdsetroundf_ctx): Likewise.
25670 (libc_feresetroundf_ctx): Likewise.
25671 (libc_feholdexcept_setround_ctx): Likewise.
25672 (libc_fesetenv_ctx): Likewise.
25673 (libc_feupdateenv_ctx): Likewise.
25674 (libc_feholdsetround_ctx): Likewise.
25675 (libc_feresetround_ctx): Likewise.
25676 (libc_feholdexcept_setroundl_ctx): Likewise.
25677 (libc_feupdateenvl_ctx): Likewise.
25678 (libc_feholdsetroundl_ctx): Likewise.
25679 (libc_feresetroundl_ctx): Likewise.
25680 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25681 (libc_feresetround_53bit_ctx): Likewise.
25682
256832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25684
25685 * locale/iso-639.def: Convert to UTF-8.
25686
256872013-06-11 Joseph Myers <joseph@codesourcery.com>
25688
25689 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25690 (EXCEPTION_TESTS_double): Likewise.
25691 (EXCEPTION_TESTS_long_double): Likewise.
25692 (EXCEPTION_TESTS): Likewise.
25693 * math/libm-test.inc (test_exceptions): Only test exceptions if
25694 EXCEPTION_TESTS (FLOAT).
25695
256962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25697
25698 * benchtests/Makefile (string-bench): Add strcpy_chk and
25699 stpcpy_chk.
25700 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25701 * benchtests/bench-stpcpy_chk.c: New file.
25702 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25703 * benchtests/bench-strcpy_chk.c: New file.
25704 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25705 code.
25706 (do_test): Likewise.
25707
257082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25709
25710 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25711 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25712 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25713 with tabs where appropriate.
25714 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25715 dl-procinfo.h.
25716 [PPC_PLATFORM_PPC440]: Likewise.
25717 [PPC_PLATFORM_PPC464]: Likewise.
25718 [PPC_PLATFORM_PPC476]: Likewise.
25719 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25720 ppc464, and ppc476 platform strings merging from ports/
25721 dl-procinfo.h.
25722
257232013-06-11 Andreas Schwab <schwab@suse.de>
25724
25725 [BZ #14991]
25726 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25727 (from_ucs4_idx): Regenerate.
25728 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25729 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25730 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25731 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25732 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25733 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25734 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25735 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25736 from FROM_LOOP and TO_LOOP specific macros.
25737 (BODY): Handle combining characters.
25738 * iconvdata/BIG5HKSCS.irreversible: Update.
25739 * iconvdata/BIG5HKSCS.precomposed: New file.
25740 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25741 characters.
25742 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25743
257442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25745
25746 * include/sys/time.h: Fix indentation and add copyright header.
25747
25748 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25749 (do_test): Likewise.
25750 * string/test-memchr.c (do_one_test): Likewise.
25751 (do_test): Likewise.
25752 * string/test-memcmp.c (do_one_test): Likewise.
25753 (do_test): Likewise.
25754 * string/test-memcpy.c (do_one_test): Likewise.
25755 (do_test): Likewise.
25756 * string/test-memmem.c (do_one_test): Likewise.
25757 (do_test): Likewise.
25758 (do_random_tests): Likewise.
25759 * string/test-memmove.c (do_one_test): Likewise.
25760 (do_test): Likewise.
25761 * string/test-memset.c (do_one_test): Likewise.
25762 (do_test): Likewise.
25763 * string/test-rawmemchr.c (do_one_test): Likewise.
25764 (do_test): Likewise.
25765 * string/test-strcasecmp.c (do_one_test): Likewise.
25766 (do_test): Likewise.
25767 * string/test-strcasestr.c (do_one_test): Likewise.
25768 (do_test): Likewise.
25769 * string/test-strcat.c (do_one_test): Likewise.
25770 (do_test): Likewise.
25771 * string/test-strchr.c (do_one_test): Likewise.
25772 (do_test): Likewise.
25773 * string/test-strcmp.c (do_one_test): Likewise.
25774 (do_test): Likewise.
25775 * string/test-strcpy.c (do_one_test): Likewise.
25776 (do_test): Likewise.
25777 * string/test-string.h: Likewise.
25778 (test_init): Likewise.
25779 * string/test-strlen.c (do_one_test): Likewise.
25780 (do_test): Likewise.
25781 * string/test-strncasecmp.c (do_one_test): Likewise.
25782 (do_test): Likewise.
25783 * string/test-strncat.c (do_one_test): Likewise.
25784 (do_test): Likewise.
25785 * string/test-strncmp.c (do_one_test): Likewise.
25786 (do_test_limit): Likewise.
25787 (do_test): Likewise.
25788 * string/test-strncpy.c (do_one_test): Likewise.
25789 (do_test): Likewise.
25790 * string/test-strnlen.c (do_one_test): Likewise.
25791 (do_test): Likewise.
25792 * string/test-strpbrk.c (do_one_test): Likewise.
25793 (do_test): Likewise.
25794 * string/test-strrchr.c (do_one_test): Likewise.
25795 (do_test): Likewise.
25796 * string/test-strspn.c (do_one_test): Likewise.
25797 (do_test): Likewise.
25798 * string/test-strstr.c (do_one_test): Likewise.
25799 (do_test): Likewise.
25800
25801 * benchtests/Makefile (string-bench): Add string benchmarks.
25802 * benchtests/bench-bcopy-ifunc.c: New file.
25803 * benchtests/bench-bcopy.c: New file.
25804 * benchtests/bench-bzero-ifunc.c: New file.
25805 * benchtests/bench-bzero.c: New file.
25806 * benchtests/bench-memccpy-ifunc.c: New file.
25807 * benchtests/bench-memccpy.c: New file.
25808 * benchtests/bench-memchr-ifunc.c: New file.
25809 * benchtests/bench-memchr.c: New file.
25810 * benchtests/bench-memcmp-ifunc.c: New file.
25811 * benchtests/bench-memcmp.c: New file.
25812 * benchtests/bench-memmem-ifunc.c: New file.
25813 * benchtests/bench-memmem.c: New file.
25814 * benchtests/bench-memmove-ifunc.c: New file.
25815 * benchtests/bench-memmove.c: New file.
25816 * benchtests/bench-mempcpy-ifunc.c: New file.
25817 * benchtests/bench-mempcpy.c: New file.
25818 * benchtests/bench-memset-ifunc.c: New file.
25819 * benchtests/bench-memset.c: New file.
25820 * benchtests/bench-rawmemchr-ifunc.c: New file.
25821 * benchtests/bench-rawmemchr.c: New file.
25822 * benchtests/bench-stpcpy-ifunc.c: New file.
25823 * benchtests/bench-stpcpy.c: New file.
25824 * benchtests/bench-stpncpy-ifunc.c: New file.
25825 * benchtests/bench-stpncpy.c: New file.
25826 * benchtests/bench-strcasecmp-ifunc.c: New file.
25827 * benchtests/bench-strcasecmp.c: New file.
25828 * benchtests/bench-strcasestr-ifunc.c: New file.
25829 * benchtests/bench-strcasestr.c: New file.
25830 * benchtests/bench-strcat-ifunc.c: New file.
25831 * benchtests/bench-strcat.c: New file.
25832 * benchtests/bench-strchr-ifunc.c: New file.
25833 * benchtests/bench-strchr.c: New file.
25834 * benchtests/bench-strchrnul-ifunc.c: New file.
25835 * benchtests/bench-strchrnul.c: New file.
25836 * benchtests/bench-strcmp-ifunc.c: New file.
25837 * benchtests/bench-strcmp.c: New file.
25838 * benchtests/bench-strcpy-ifunc.c: New file.
25839 * benchtests/bench-strcpy.c: New file.
25840 * benchtests/bench-strcspn-ifunc.c: New file.
25841 * benchtests/bench-strcspn.c: New file.
25842 * benchtests/bench-strlen-ifunc.c: New file.
25843 * benchtests/bench-strlen.c: New file.
25844 * benchtests/bench-strncasecmp-ifunc.c: New file.
25845 * benchtests/bench-strncasecmp.c: New file.
25846 * benchtests/bench-strncat-ifunc.c: New file.
25847 * benchtests/bench-strncat.c: New file.
25848 * benchtests/bench-strncmp-ifunc.c: New file.
25849 * benchtests/bench-strncmp.c: New file.
25850 * benchtests/bench-strncpy-ifunc.c: New file.
25851 * benchtests/bench-strncpy.c: New file.
25852 * benchtests/bench-strnlen-ifunc.c: New file.
25853 * benchtests/bench-strnlen.c: New file.
25854 * benchtests/bench-strpbrk-ifunc.c: New file.
25855 * benchtests/bench-strpbrk.c: New file.
25856 * benchtests/bench-strrchr-ifunc.c: New file.
25857 * benchtests/bench-strrchr.c: New file.
25858 * benchtests/bench-strspn-ifunc.c: New file.
25859 * benchtests/bench-strspn.c: New file.
25860 * benchtests/bench-strstr-ifunc.c: New file.
25861 * benchtests/bench-strstr.c: New file.
25862
25863 * benchtests/Makefile: Disable parallel execution of targets.
25864 (string-bench): Add memcpy.
25865 (benchset): New variable to store a list of benchmark sets.
25866 (bench-func): Renamed from bench.
25867 (bench-set): New target.
25868 (bench): Depend on bench-func and bench-set.
25869 * benchtests/README: Add section on benchmark sets.
25870 * benchtests/bench-memcpy-ifunc.c: New file.
25871 * benchtests/bench-memcpy.c: New file.
25872 * benchtests/bench-string.h: New file.
25873
258742013-06-11 Andreas Schwab <schwab@suse.de>
25875
25876 [BZ #15577]
25877 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25878 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25879 values in the triple.
25880 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25881 terminator in the group key.
25882
258832013-06-11 Andreas Jaeger <aj@suse.de>
25884
25885 * po/zh_TW.po: Update Chinese (traditional) translation from
25886 translation project.
25887
258882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25889
25890 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25891 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25892 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25894 (clock_getcpuclockid): Likewise.
25895 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25896 Add weak_alias and libc_hidden_def.
25897 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25898 * rt/clock_gettime.c (clock_gettime): Rename to
25899 __clock_gettime. Add weak_alias and libc_hidden_def.
25900 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25901 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25902 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25903 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25904 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25905 Likewise.
25906 * rt/clock_settime.c (clock_settime): Rename to
25907 __clock_settime. Add weak_alias and libc_hidden_def.
25908 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25909
259102013-06-10 Joseph Myers <joseph@codesourcery.com>
25911
25912 * mach/err_boot.sub: Remove trailing whitespace.
25913 * mach/err_ipc.sub: Likewise.
25914 * mach/err_mach.sub: Likewise.
25915
25916 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25917 (ROUNDING_TESTS_double): Likewise.
25918 (ROUNDING_TESTS_long_double): Likewise.
25919 (ROUNDING_TESTS): Likewise.
25920 * math/libm-test.inc: Include <math-tests.h>.
25921 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25922 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25923 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25924 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25925
259262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25927
25928 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25929 of assigning.
25930
259312013-06-08 Joseph Myers <joseph@codesourcery.com>
25932
25933 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25934 otherwise empty TRANS lines.
25935 * sysdeps/gnu/errlist.c: Regenerated.
25936
25937 * catgets/gencat.c (error_print): Use (void) in function
25938 definition.
25939 * crypt/crypt_util.c (__init_des): Likewise.
25940 * crypt/speeds.c (Stop): Likewise.
25941 (main): Likewise.
25942 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25943 * inet/ruserpass.c (token): Likewise.
25944 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25945 * intl/localealias.c (extend_alias_table): Likewise.
25946 * intl/plural-exp.c (init_germanic_plural): Likewise.
25947 * libio/fcloseall.c (__fcloseall): Likewise.
25948 * libio/genops.c (_IO_flush_all): Likewise.
25949 (_IO_flush_all_linebuffered): Likewise.
25950 (_IO_cleanup): Likewise.
25951 (_IO_iter_begin): Likewise.
25952 (_IO_iter_end): Likewise.
25953 (_IO_list_lock): Likewise.
25954 (_IO_list_unlock): Likewise.
25955 (_IO_list_resetlock): Likewise.
25956 * libio/getchar.c (getchar): Likewise.
25957 * libio/getchar_u.c (getchar_unlocked): Likewise.
25958 * libio/getwchar.c (getwchar): Likewise.
25959 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25960 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25961 * login/getpt.c (__getpt): Likewise.
25962 * login/tst-utmp.c (main): Likewise.
25963 * malloc/hooks.c (__malloc_check_init): Likewise.
25964 * malloc/malloc.c (__malloc_stats): Likewise.
25965 * malloc/mtrace.c (tr_break): Likewise.
25966 (mtrace): Likewise.
25967 (muntrace): Likewise.
25968 * misc/fstab.c (endfsent): Likewise.
25969 * misc/getclktck.c (__getclktck): Likewise.
25970 * misc/getdtsz.c (__getdtablesize): Likewise.
25971 * misc/gethostid.c (gethostid): Likewise.
25972 * misc/getpagesize.c (__getpagesize): Likewise.
25973 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25974 (__get_nprocs): Likewise.
25975 (__get_phys_pages): Likewise.
25976 (__get_avphys_pages): Likewise.
25977 * misc/getttyent.c (getttyent): Likewise.
25978 (setttyent): Likewise.
25979 (endttyent): Likewise.
25980 * misc/getusershell.c (getusershell): Likewise.
25981 (endusershell): Likewise.
25982 (setusershell): Likewise.
25983 (initshells): Likewise.
25984 * misc/hsearch.c (__hdestroy): Likewise.
25985 * misc/sync.c (sync): Likewise.
25986 * misc/syslog.c (closelog_internal): Likewise.
25987 (closelog): Likewise.
25988 * misc/ttyslot.c (ttyslot): Likewise.
25989 * misc/vhangup.c (vhangup): Likewise.
25990 * posix/fork.c (__fork): Likewise.
25991 * posix/getegid.c (__getegid): Likewise.
25992 * posix/geteuid.c (__geteuid): Likewise.
25993 * posix/getgid.c (__getgid): Likewise.
25994 * posix/getpid.c (__getpid): Likewise.
25995 * posix/getppid.c (__getppid): Likewise.
25996 * posix/getuid.c (__getuid): Likewise.
25997 * posix/pause.c (pause): Likewise.
25998 * posix/setpgrp.c (setpgrp): Likewise.
25999 * posix/setsid.c (__setsid): Likewise.
26000 * posix/test-vfork.c (noop): Likewise.
26001 * resolv/gethnamaddr.c (_endhtent): Likewise.
26002 (_gethtent): Likewise.
26003 (ht_endhostent): Likewise.
26004 (gethostent): Likewise.
26005 (dns_service): Likewise.
26006 * stdlib/drand48.c (drand48): Likewise.
26007 * stdlib/lrand48.c (lrand48): Likewise.
26008 * stdlib/mrand48.c (mrand48): Likewise.
26009 * stdlib/rand.c (rand): Likewise.
26010 * stdlib/random.c (__random): Likewise.
26011 * stdlib/setenv.c (clearenv): Likewise.
26012 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26013 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26014 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26015 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26016 (__get_nprocs): Likewise.
26017 (__get_phys_pages): Likewise.
26018 (__get_avphys_pages): Likewise.
26019 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26020 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26021 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26022 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26023 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26024 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26025 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26026 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26027 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26028 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26029 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26030 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26031 * sysdeps/posix/clock.c (clock): Likewise.
26032 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26033 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26034 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26035 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26036 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26038 (__get_nprocs_conf): Likewise.
26039 (__get_phys_pages): Likewise.
26040 (__get_avphys_pages): Likewise.
26041 * time/clock.c (clock): Likewise.
26042 * time/tzset.c (__tzname_max): Likewise.
26043
260442013-06-07 Joseph Myers <joseph@codesourcery.com>
26045
26046 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26047 (__bswap_32): Do not use "register".
26048 * crypt/crypt.c (_ufc_doit_r): Likewise.
26049 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26050 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26051 * gmon/gmon.c (__monstartup): Likewise.
26052 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26053 * hurd/hurdmalloc.c (more_memory): Likewise.
26054 (malloc): Likewise.
26055 (free): Likewise.
26056 (realloc): Likewise.
26057 (malloc_fork_prepare): Likewise.
26058 (malloc_fork_parent): Likewise.
26059 (malloc_fork_child): Likewise.
26060 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26061 (_svcauth_des): Likewise.
26062 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26063 * inet/inet_net.c (inet_network): Likewise.
26064 * inet/inet_netof.c (inet_netof): Likewise.
26065 * inet/rcmd.c (__validuser2_sa): Likewise.
26066 * io/fts.c (fts_open): Likewise.
26067 (fts_load): Likewise.
26068 (fts_close): Likewise.
26069 (fts_read): Likewise.
26070 (fts_children): Likewise.
26071 (fts_build): Likewise.
26072 (fts_stat): Likewise.
26073 (fts_sort): Likewise.
26074 (fts_alloc): Likewise.
26075 (fts_lfree): Likewise.
26076 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26077 (_IO_file_xsgetn): Likewise.
26078 (_IO_file_xsgetn_mmap): Likewise.
26079 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26080 (_IO_cookie_write): Likewise.
26081 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26082 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26083 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26084 * malloc/obstack.c (_obstack_begin): Likewise.
26085 (_obstack_begin_1): Likewise.
26086 (_obstack_newchunk): Likewise.
26087 (_obstack_allocated_p): Likewise.
26088 (obstack_free): Likewise.
26089 (_obstack_memory_used): Likewise.
26090 * misc/getttyent.c (getttynam): Likewise.
26091 (getttyent): Likewise.
26092 (skip): Likewise.
26093 (value): Likewise.
26094 * misc/getusershell.c (initshells): Likewise.
26095 * misc/syslog.c (__vsyslog_chk): Likewise.
26096 * misc/ttyslot.c (ttyslot): Likewise.
26097 * nis/nis_hash.c (__nis_hash): Likewise.
26098 * posix/fnmatch_loop.c (FCT): Likewise.
26099 * posix/getconf.c (print_all): Likewise.
26100 (main): Likewise.
26101 * posix/getopt.c (exchange): Likewise.
26102 * posix/glob.c (globfree): Likewise.
26103 (prefix_array): Likewise.
26104 (__glob_pattern_type): Likewise.
26105 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26106 (NS_GET32): Likewise.
26107 (NS_PUT16): Likewise.
26108 (NS_PUT32): Likewise.
26109 * resolv/gethnamaddr.c (getanswer): Likewise.
26110 (gethostbyname2): Likewise.
26111 (gethostbyaddr): Likewise.
26112 (_gethtent): Likewise.
26113 (_gethtbyname2): Likewise.
26114 (_gethtbyaddr): Likewise.
26115 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26117 * resolv/res_init.c (__res_vinit): Likewise.
26118 (net_mask): Likewise.
26119 * resolv/res_mkquery.c (outchar): Likewise.
26120 (PRINT): Likewise.
26121 * stdio-common/printf_fp.c (outchar): Likewise.
26122 (PRINT): Likewise.
26123 * stdio-common/printf_fphex.c (outchar): Likewise.
26124 (PRINT): Likewise.
26125 * stdio-common/printf_size.c (outchar): Likewise.
26126 (PRINT): Likewise.
26127 * stdio-common/test_rdwr.c (main): Likewise.
26128 * stdio-common/tfformat.c (matches): Likewise.
26129 * stdio-common/vfprintf.c (outchar): Likewise.
26130 (printf_unknown): Likewise.
26131 (buffered_vfprintf): Likewise.
26132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26133 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26134 (ReadFile): Likewise.
26135 * stdlib/qsort.c (SWAP): Likewise.
26136 (_quicksort): Likewise.
26137 * stdlib/setenv.c (__add_to_environ): Likewise.
26138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26139 * stdlib/strtol_l.c (__strtol_l): Likewise.
26140 * stdlib/tst-strtod.c (main): Likewise.
26141 * stdlib/tst-strtol.c (main): Likewise.
26142 * stdlib/tst-strtoll.c (main): Likewise.
26143 * string/bits/string2.h (__strcmp_cc): Likewise.
26144 (__strcmp_cg): Likewise.
26145 (__strcspn_c1): Likewise.
26146 (__strcspn_c2): Likewise.
26147 (__strcspn_c3): Likewise.
26148 (__strspn_c1): Likewise.
26149 (__strspn_c2): Likewise.
26150 (__strspn_c3): Likewise.
26151 (__strsep_1c): Likewise.
26152 (__strsep_2c): Likewise.
26153 (__strsep_3c): Likewise.
26154 * string/memccpy.c (__memccpy): Likewise.
26155 * string/stpcpy.c (__stpcpy): Likewise.
26156 * string/strcmp.c (strcmp): Likewise.
26157 * string/strrchr.c (strrchr): Likewise.
26158 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26159 Likewise.
26160 * sysdeps/mach/hurd/getcwd.c
26161 (_hurd_canonicalize_directory_name_internal): Likewise.
26162 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26163 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26165 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26166 Likewise, in both definitions.
26167 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26168 definitions.
26169 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26170 64] (__bswap_64): Likewise.
26171 * time/test_time.c (main): Likewise.
26172 * time/tzfile.c (__tzfile_read): Likewise.
26173 (__tzfile_compute): Likewise.
26174 * time/tzset.c (__tzset_parse_tz): Likewise.
26175 (tzset_internal): Likewise.
26176 (compute_change): Likewise.
26177 * wcsmbs/wcscat.c (__wcscat): Likewise.
26178 * wcsmbs/wcschr.c (wcschr): Likewise.
26179 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26180 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26181 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26182 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26183 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26184 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26185 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26186 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26187 * wcsmbs/wmemset.c (wmemset): Likewise.
26188
261892013-06-06 Joseph Myers <joseph@codesourcery.com>
26190
26191 * scripts/config.guess: Update to version 2013-05-16.
26192 * scripts/config.sub: Update to version 2013-04-24.
26193 * scripts/install-sh: Update to version 2011-11-20.07.
26194 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26195 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26196
261972013-06-06 Ondřej Bílka <neleai@seznam.cz>
26198
26199 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26200 * elf/sln.c: Likewise.
26201 * hurd/hurd/ioctl.h: Likewise.
26202 * hurd/hurdmalloc.c: Likewise.
26203 * hurd/xattr.c: Likewise.
26204 * include/shlib-compat.h: Likewise.
26205 * inet/ruserpass.c: Likewise.
26206 * libio/iofgets_u.c: Likewise.
26207 * libio/iofgetws_u.c: Likewise.
26208 * locale/programs/ld-identification.c: Likewise.
26209 * locale/programs/ld-time.c: Likewise.
26210 * mach/msg-destroy.c: Likewise.
26211 * nss/nss_files/files-netgrp.c: Likewise.
26212 * resolv/res_data.c: Likewise.
26213 * soft-fp/op-1.h: Likewise.
26214 * soft-fp/op-2.h: Likewise.
26215 * soft-fp/op-4.h: Likewise.
26216 * soft-fp/op-common.h: Likewise.
26217 * stdio-common/printf_fphex.c: Likewise.
26218 * stdlib/strtod_l.c: Likewise.
26219 * sunrpc/rpc/clnt.h: Likewise.
26220 * sysdeps/generic/framestate.c: Likewise.
26221 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26222 * sysdeps/i386/bsd-setjmp.S: Likewise.
26223 * sysdeps/i386/__longjmp.S: Likewise.
26224 * sysdeps/i386/setjmp.S: Likewise.
26225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26243 * sysdeps/ieee754/support.c: Likewise.
26244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26245 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26246 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26247 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26248 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26249 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26250 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26251 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26252 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26253 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26254 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26255 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26258 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26259 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26260 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26262
262632013-06-05 Ondřej Bílka <neleai@seznam.cz>
26264
26265 * posix/transbug.c: Remove executable mode.
26266
262672013-06-05 Joseph Myers <joseph@codesourcery.com>
26268
26269 * crypt/speeds.c: Remove trailing whitespace.
26270 * dlfcn/default.c: Likewise.
26271 * elf/ifuncdep2.c: Likewise.
26272 * elf/ifuncmain1.c: Likewise.
26273 * elf/ifuncmain1vis.c: Likewise.
26274 * elf/testobj.h: Likewise.
26275 * elf/tst-stackguard1.c: Likewise.
26276 * gmon/sys/gmon.h: Likewise.
26277 * hurd/hurdmsg.c: Likewise.
26278 * hurd/new-fd.c: Likewise.
26279 * hurd/ports-get.c: Likewise.
26280 * iconvdata/ibm1008_420.c: Likewise.
26281 * inet/tst-getni1.c: Likewise.
26282 * inet/tst-getni2.c: Likewise.
26283 * libio/ioungetc.c: Likewise.
26284 * libio/wfiledoalloc.c: Likewise.
26285 * manual/libm-err-tab.pl: Likewise.
26286 * math/w_dremf.c: Likewise.
26287 * misc/ftruncate.c: Likewise.
26288 * posix/bug-glob2.c: Likewise.
26289 * posix/tst-pcre.c: Likewise.
26290 * posix/wait4.c: Likewise.
26291 * resolv/README: Likewise.
26292 * resolv/res_debug.h: Likewise.
26293 * resolv/tst-inet_ntop.c: Likewise.
26294 * setjmp/bug269-setjmp.c: Likewise.
26295 * soft-fp/extended.h: Likewise.
26296 * soft-fp/op-1.h: Likewise.
26297 * soft-fp/op-2.h: Likewise.
26298 * soft-fp/op-4.h: Likewise.
26299 * soft-fp/op-8.h: Likewise.
26300 * soft-fp/testit.c: Likewise.
26301 * stdio-common/bug16.c: Likewise.
26302 * stdlib/random.c: Likewise.
26303 * sunrpc/rpcsvc/rquota.x: Likewise.
26304 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26305 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26307 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26308 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26333 * sysdeps/ieee754/s_lib_version.c: Likewise.
26334 * sysdeps/mach/hurd/check_fds.c: Likewise.
26335 * sysdeps/mach/hurd/getsockname.c: Likewise.
26336 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26337 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26338 * sysdeps/powerpc/bits/link.h: Likewise.
26339 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26340 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26341 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26342 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26343 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26345 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26346 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26347 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26348 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26349 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26351 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26352 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26353 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26354 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26363 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26374 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26375 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26376 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26377 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26378 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26379 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26380 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26381 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26382 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26383 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26384 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26385 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26387 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26388 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26394 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26395 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26401 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26402 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26403 * sysdeps/powerpc/sysdep.h: Likewise.
26404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26405 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26406 * sysdeps/sh/dl-trampoline.S: Likewise.
26407 * sysdeps/sh/memset.S: Likewise.
26408 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26409 * sysdeps/sh/strlen.S: Likewise.
26410 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26411 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26412 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26413 * sysdeps/sparc/sparc32/rem.S: Likewise.
26414 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26415 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26416 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26417 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26418 * sysdeps/sparc/sparc32/urem.S: Likewise.
26419 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26421 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26422 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26424 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26425 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26426 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26427 * sysdeps/unix/bsd/times.c: Likewise.
26428 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26429 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26433 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26434 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26435 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26440 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26442 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26443 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26445 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26446 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26447 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26448 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26449 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26453 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26454 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26456 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26457 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26458 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26459 * sysdeps/x86_64/strcspn.S: Likewise.
26460
264612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26462
26463 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26464 generated file. Regenerate properly from gen-translit.pl.
26465 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26466 locale/C-translit.h.
26467
264682013-06-05 Andreas Schwab <schwab@suse.de>
26469
26470 [BZ #15100]
26471 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26472 week as 6 instead of -1.
26473 * time/tst-strptime.c (day_tests): Add test case.
26474
264752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26476
26477 * sysdeps/generic/math_private.h
26478 (libc_feholdexcept_setround_53bit): Replace with
26479 libc_feholdsetround_53bit.
26480 (libc_feupdateenv_53bit): Replace with
26481 libc_feresetround_53bit.
26482 (SET_RESTORE_ROUND_53BIT): Adjust.
26483
264842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26485
26486 * string/test-strchrnul.c: Add copyright header.
26487
26488 * posix/tst-getaddrinfo4.c: Increase test timeout.
26489
264902013-06-03 Carlos O'Donell <carlos@redhat.com>
26491
26492 [BZ #15536]
26493 * math/libm-test.inc (MAX_EXP): Remove
26494 (MIN_EXP): Define.
26495 (ulp): Use MIN_EXP - MANT_DIG.
26496 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26497
264982013-05-31 Carlos O'Donell <carlos@redhat.com>
26499
26500 * po/be.po: Revert last change.
26501 * po/zh_CN.po: Likewise.
26502 * po/header.pot: Likewise.
26503
265042013-05-31 Joseph Myers <joseph@codesourcery.com>
26505
26506 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26507 link-libc-deps to empty as target-specific variable.
26508 * Makerules (link-libc-args): New variable.
26509 (libc-for-link): Likewise.
26510 (link-libc-deps): Likewise.
26511 (lib%.so): Depend on $(link-libc-deps). Link with
26512 $(link-libc-args).
26513 (build-module): Link with $(link-libc-args).
26514 (build-module-asneeded): Likewise.
26515 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26516 list of objects.
26517 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26518 target-specific variable.
26519 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26520 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26521 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26522 libc.
26523 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26524 libc and ld.so.
26525 ($(objpfx)libpcprofile.so): Likewise.
26526 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26527 libc_nonshared.a.
26528 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26529 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26531 $(link-libc-deps).
26532 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26533 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26534 * login/Makefile ($(objpfx)libutil.so): Likewise.
26535 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26536 * math/Makefile ($(objpfx)libm.so): Likewise.
26537 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26538 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26539 variable instead of depending directly on libc.
26540 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26541 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26542 $(link-libc-deps).
26543 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26544 libc.
26545 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26546 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26547 ($(objpfx)libanl.so): Likewise.
26548 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26549 ld.so.
26550 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26551 $(link-libc-deps).
26552 * sysdeps/i386/fpu/Makefile: Remove file.
26553 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26554 ($(objpfx)libm.so): Remove dependency on ld.so.
26555
265562013-05-30 Patsy Franklin <pfrankli@redhat.com>
26557
26558 [BZ # 15553]
26559 * nis/yp_xdr.c (XDRMAXNAME): Define.
26560 (XDRMAXRECORD): Define.
26561 (xdr_domainname): Use XDRMAXNAME.
26562 (xdr_mapname): Likewise.
26563 (xdr_peername): Likewise.
26564 (xdr_keydat): Use XDRMAXRECORD.
26565 (xdr_valdat): Likewise.
26566
265672013-05-30 Jeff Law <law@redhat.com>
26568
26569 [BZ #14256]
26570 * manual/errno.texi (ESTALE): Update to account for more than
26571 just NFS file systems.
26572 * sysdeps/gnu/errlist.c: Regenerated.
26573
265742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26575
26576 [BZ #15465]
26577 * elf/Makefile (tests): Add tst-null-argv.
26578 (modules-names): Add tst-null-argv-lib.
26579 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26580 (tst-null-argv-ENV): Set environment for tst-null-argv.
26581 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26582 (RTLD_PROGNAME): New macro.
26583 * elf/tst-null-argv.c: New test case.
26584 * elf/tst-null-argv-lib.c: Library for test case.
26585 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26586 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26587 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26588 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26589 * elf/dl-init.c (call_init): Likewise.
26590 (_dl_init): Likewise.
26591 * elf/dl-load.c (print_search_path): Likewise.
26592 (_dl_map_object): Likewise.
26593 * elf/dl-lookup.c (do_lookup_x): Likewise.
26594 (add_dependency): Likewise.
26595 (_dl_lookup_symbol_x): Likewise.
26596 (_dl_debug_bindings): Likewise.
26597 * elf/dl-open.c (_dl_show_scope): Likewise.
26598 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26599 * elf/dl-version.c (match_symbol): Likewise.
26600 (_dl_check_map_versions): Likewise.
26601 * elf/rtld.c (dl_main): Likewise.
26602 (print_unresolved): Use RTLD_PROGNAME.
26603 (print_missing_version): Likewise.
26604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26605 (elf_machine_rela): Likewise.
26606 * sysdeps/powerpc/powerpc32/dl-machine.c
26607 (__process_machine_rela): Likewise.
26608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26609 Likewise.
26610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26611 Likewise.
26612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26613 Likewise.
26614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26616 Likewise.
26617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26618 Likewise.
26619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26620
266212013-05-28 Carlos O'Donell <carlos@redhat.com>
26622
26623 * po/be.po: Add descriptive title.
26624 * po/zh_CN.po: Likewise.
26625 * po/header.pot: Likewise.
26626
266272013-05-28 Mike Frysinger <vapier@gentoo.org>
26628
26629 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26630 error message.
26631 (enlarge_archive): Likewise.
26632
266332013-05-28 Ben North <ben@redfrontdoor.org>
26634
26635 * manual/arith.texi (frexp): It is the magnitude of the return
26636 value which lies in [0.5, 1), not the return value itself.
26637
266382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26639
26640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26641
266422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26643
26644 * stdio-common/bug26.c (main): Correct fscanf template.
26645
26646 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26647 declare _dl_skip_args.
26648
26649 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26650 Don't declare.
26651
26652 * manual/platform.texi: Add missing @end deftypefun.
26653
266542013-05-24 Joseph Myers <joseph@codesourcery.com>
26655
26656 [BZ #15529]
26657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26658 bit of mantissa of 2^16382.
26659 * math/libm-test.inc (hypot_test_data): Add more tests.
26660
26661 * math/libm-test.inc: Add drem and pow10 to list of tested
26662 functions.
26663 (pow10_test): New function.
26664 (drem_test): Likewise.
26665 (drem_test_tonearest): Likewise.
26666 (drem_test_towardzero): Likewise.
26667 (drem_test_downward): Likewise.
26668 (drem_test_upward): Likewise.
26669 (main): Call the new functions.
26670
26671 * math/libm-test.inc (finite_test_data): Remove.
26672 (finite_test): Run tests from isfinite_test_data.
26673 (gamma_test_data): Remove.
26674 (gamma_test): Run tests from lgamma_test_data.
26675 * sysdeps/i386/fpu/libm-test-ulps: Update.
26676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26677
266782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26679
26680 * manual/platform.texi: Add PowerPC PPR function set documentation.
26681 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26682 implementation.
26683
266842013-05-24 Carlos O'Donell <carlos@redhat.com>
26685
26686 * math/libm-test.inc (MAX_EXP): Define.
26687 (ULPDIFF): Define.
26688 (ulp): New function.
26689 (check_float_internal): Use ULPDIFF.
26690 (cpow_test): Disable failing test.
26691 (check_ulp): Test ulp() implemetnation.
26692 (main): Call check_ulp before starting tests.
26693
266942013-05-24 Joseph Myers <joseph@codesourcery.com>
26695
26696 * math/gen-libm-test.pl (generate_testfile): Do not handle
26697 START_DATA and END_DATA.
26698 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26699 END_DATA.
26700 (acos_tonearest_test_data): Likewise.
26701 (acos_towardzero_test_data): Likewise.
26702 (acos_downward_test_data): Likewise.
26703 (acos_upward_test_data): Likewise.
26704 (acosh_test_data): Likewise.
26705 (asin_test_data): Likewise.
26706 (asin_tonearest_test_data): Likewise.
26707 (asin_towardzero_test_data): Likewise.
26708 (asin_downward_test_data): Likewise.
26709 (asin_upward_test_data): Likewise.
26710 (asinh_test_data): Likewise.
26711 (atan_test_data): Likewise.
26712 (atanh_test_data): Likewise.
26713 (atan2_test_data): Likewise.
26714 (cabs_test_data): Likewise.
26715 (cacos_test_data): Likewise.
26716 (cacosh_test_data): Likewise.
26717 (carg_test_data): Likewise.
26718 (casin_test_data): Likewise.
26719 (casinh_test_data): Likewise.
26720 (catan_test_data): Likewise.
26721 (catanh_test_data): Likewise.
26722 (cbrt_test_data): Likewise.
26723 (ccos_test_data): Likewise.
26724 (ccosh_test_data): Likewise.
26725 (ceil_test_data): Likewise.
26726 (cexp_test_data): Likewise.
26727 (cimag_test_data): Likewise.
26728 (clog_test_data): Likewise.
26729 (clog10_test_data): Likewise.
26730 (conj_test_data): Likewise.
26731 (copysign_test_data): Likewise.
26732 (cos_test_data): Likewise.
26733 (cos_tonearest_test_data): Likewise.
26734 (cos_towardzero_test_data): Likewise.
26735 (cos_downward_test_data): Likewise.
26736 (cos_upward_test_data): Likewise.
26737 (cosh_test_data): Likewise.
26738 (cosh_tonearest_test_data): Likewise.
26739 (cosh_towardzero_test_data): Likewise.
26740 (cosh_downward_test_data): Likewise.
26741 (cosh_upward_test_data): Likewise.
26742 (cpow_test_data): Likewise.
26743 (cproj_test_data): Likewise.
26744 (creal_test_data): Likewise.
26745 (csin_test_data): Likewise.
26746 (csinh_test_data): Likewise.
26747 (csqrt_test_data): Likewise.
26748 (ctan_test_data): Likewise.
26749 (ctan_tonearest_test_data): Likewise.
26750 (ctan_towardzero_test_data): Likewise.
26751 (ctan_downward_test_data): Likewise.
26752 (ctan_upward_test_data): Likewise.
26753 (ctanh_test_data): Likewise.
26754 (ctanh_tonearest_test_data): Likewise.
26755 (ctanh_towardzero_test_data): Likewise.
26756 (ctanh_downward_test_data): Likewise.
26757 (ctanh_upward_test_data): Likewise.
26758 (erf_test_data): Likewise.
26759 (erfc_test_data): Likewise.
26760 (exp_test_data): Likewise.
26761 (exp_tonearest_test_data): Likewise.
26762 (exp_towardzero_test_data): Likewise.
26763 (exp_downward_test_data): Likewise.
26764 (exp_upward_test_data): Likewise.
26765 (exp10_test_data): Likewise.
26766 (exp2_test_data): Likewise.
26767 (expm1_test_data): Likewise.
26768 (fabs_test_data): Likewise.
26769 (fdim_test_data): Likewise.
26770 (finite_test_data): Likewise.
26771 (floor_test_data): Likewise.
26772 (fma_test_data): Likewise.
26773 (fma_towardzero_test_data): Likewise.
26774 (fma_downward_test_data): Likewise.
26775 (fma_upward_test_data): Likewise.
26776 (fmax_test_data): Likewise.
26777 (fmin_test_data): Likewise.
26778 (fmod_test_data): Likewise.
26779 (fpclassify_test_data): Likewise.
26780 (frexp_test_data): Likewise.
26781 (gamma_test_data): Likewise.
26782 (hypot_test_data): Likewise.
26783 (ilogb_test_data): Likewise.
26784 (isfinite_test_data): Likewise.
26785 (isgreater_test_data): Likewise.
26786 (isgreaterequal_test_data): Likewise.
26787 (isinf_test_data): Likewise.
26788 (isless_test_data): Likewise.
26789 (islessequal_test_data): Likewise.
26790 (islessgreater_test_data): Likewise.
26791 (isnan_test_data): Likewise.
26792 (isnormal_test_data): Likewise.
26793 (issignaling_test_data): Likewise.
26794 (isunordered_test_data): Likewise.
26795 (j0_test_data): Likewise.
26796 (j1_test_data): Likewise.
26797 (jn_test_data): Likewise.
26798 (ldexp_test_data): Likewise.
26799 (lgamma_test_data): Likewise.
26800 (lrint_test_data): Likewise.
26801 (lrint_tonearest_test_data): Likewise.
26802 (lrint_towardzero_test_data): Likewise.
26803 (lrint_downward_test_data): Likewise.
26804 (lrint_upward_test_data): Likewise.
26805 (llrint_test_data): Likewise.
26806 (llrint_tonearest_test_data): Likewise.
26807 (llrint_towardzero_test_data): Likewise.
26808 (llrint_downward_test_data): Likewise.
26809 (llrint_upward_test_data): Likewise.
26810 (log_test_data): Likewise.
26811 (log10_test_data): Likewise.
26812 (log1p_test_data): Likewise.
26813 (log2_test_data): Likewise.
26814 (logb_test_data): Likewise.
26815 (logb_downward_test_data): Likewise.
26816 (lround_test_data): Likewise.
26817 (llround_test_data): Likewise.
26818 (modf_test_data): Likewise.
26819 (nearbyint_test_data): Likewise.
26820 (nextafter_test_data): Likewise.
26821 (nexttoward_test_data): Likewise.
26822 (pow_test_data): Likewise.
26823 (pow_tonearest_test_data): Likewise.
26824 (pow_towardzero_test_data): Likewise.
26825 (pow_downward_test_data): Likewise.
26826 (pow_upward_test_data): Likewise.
26827 (remainder_test_data): Likewise.
26828 (remainder_tonearest_test_data): Likewise.
26829 (remainder_towardzero_test_data): Likewise.
26830 (remainder_downward_test_data): Likewise.
26831 (remainder_upward_test_data): Likewise.
26832 (remquo_test_data): Likewise.
26833 (rint_test_data): Likewise.
26834 (rint_tonearest_test_data): Likewise.
26835 (rint_towardzero_test_data): Likewise.
26836 (rint_downward_test_data): Likewise.
26837 (rint_upward_test_data): Likewise.
26838 (round_test_data): Likewise.
26839 (scalb_test_data): Likewise.
26840 (scalbn_test_data): Likewise.
26841 (scalbln_test_data): Likewise.
26842 (signbit_test_data): Likewise.
26843 (sin_test_data): Likewise.
26844 (sin_tonearest_test_data): Likewise.
26845 (sin_towardzero_test_data): Likewise.
26846 (sin_downward_test_data): Likewise.
26847 (sin_upward_test_data): Likewise.
26848 (sincos_test_data): Likewise.
26849 (sinh_test_data): Likewise.
26850 (sinh_tonearest_test_data): Likewise.
26851 (sinh_towardzero_test_data): Likewise.
26852 (sinh_downward_test_data): Likewise.
26853 (sinh_upward_test_data): Likewise.
26854 (sqrt_test_data): Likewise.
26855 (tan_test_data): Likewise.
26856 (tan_tonearest_test_data): Likewise.
26857 (tan_towardzero_test_data): Likewise.
26858 (tan_downward_test_data): Likewise.
26859 (tan_upward_test_data): Likewise.
26860 (tanh_test_data): Likewise.
26861 (tgamma_test_data): Likewise.
26862 (trunc_test_data): Likewise.
26863 (y0_test_data): Likewise.
26864 (y1_test_data): Likewise.
26865 (yn_test_data): Likewise.
26866 (significand_test_data): Likewise.
26867
26868 * math/gen-libm-test.pl (@functions): Remove variable.
26869 (generate_testfile): Don't handle START and END lines.
26870 * math/libm-test.inc (START): New macro.
26871 (END): Likewise.
26872 (END_COMPLEX): Likewise.
26873 (acos_test): Use END macro without arguments.
26874 (acos_test_tonearest): Likewise.
26875 (acos_test_towardzero): Likewise.
26876 (acos_test_downward): Likewise.
26877 (acos_test_upward): Likewise.
26878 (acosh_test): Likewise.
26879 (asin_test): Likewise.
26880 (asin_test_tonearest): Likewise.
26881 (asin_test_towardzero): Likewise.
26882 (asin_test_downward): Likewise.
26883 (asin_test_upward): Likewise.
26884 (asinh_test): Likewise.
26885 (atan_test): Likewise.
26886 (atanh_test): Likewise.
26887 (atan2_test): Likewise.
26888 (cabs_test): Likewise.
26889 (cacos_test): Use END_COMPLEX macro without arguments.
26890 (cacosh_test): Likewise.
26891 (carg_test): Use END macro without arguments.
26892 (casin_test): Use END_COMPLEX macro without arguments.
26893 (casinh_test): Likewise.
26894 (catan_test): Likewise.
26895 (catanh_test): Likewise.
26896 (cbrt_test): Use END macro without arguments.
26897 (ccos_test): Use END_COMPLEX macro without arguments.
26898 (ccosh_test): Likewise.
26899 (ceil_test): Use END macro without arguments.
26900 (cexp_test): Use END_COMPLEX macro without arguments.
26901 (cimag_test): Use END macro without arguments.
26902 (clog_test): Use END_COMPLEX macro without arguments.
26903 (clog10_test): Likewise.
26904 (conj_test): Likewise.
26905 (copysign_test): Use END macro without arguments.
26906 (cos_test): Likewise.
26907 (cos_test_tonearest): Likewise.
26908 (cos_test_towardzero): Likewise.
26909 (cos_test_downward): Likewise.
26910 (cos_test_upward): Likewise.
26911 (cosh_test): Likewise.
26912 (cosh_test_tonearest): Likewise.
26913 (cosh_test_towardzero): Likewise.
26914 (cosh_test_downward): Likewise.
26915 (cosh_test_upward): Likewise.
26916 (cpow_test): Use END_COMPLEX macro without arguments.
26917 (cproj_test): Likewise.
26918 (creal_test): Use END macro without arguments.
26919 (csin_test): Use END_COMPLEX macro without arguments.
26920 (csinh_test): Likewise.
26921 (csqrt_test): Likewise.
26922 (ctan_test): Likewise.
26923 (ctan_test_tonearest): Likewise.
26924 (ctan_test_towardzero): Likewise.
26925 (ctan_test_downward): Likewise.
26926 (ctan_test_upward): Likewise.
26927 (ctanh_test): Likewise.
26928 (ctanh_test_tonearest): Likewise.
26929 (ctanh_test_towardzero): Likewise.
26930 (ctanh_test_downward): Likewise.
26931 (ctanh_test_upward): Likewise.
26932 (erf_test): Use END macro without arguments.
26933 (erfc_test): Likewise.
26934 (exp_test): Likewise.
26935 (exp_test_tonearest): Likewise.
26936 (exp_test_towardzero): Likewise.
26937 (exp_test_downward): Likewise.
26938 (exp_test_upward): Likewise.
26939 (exp10_test): Likewise.
26940 (exp2_test): Likewise.
26941 (expm1_test): Likewise.
26942 (fabs_test): Likewise.
26943 (fdim_test): Likewise.
26944 (finite_test): Likewise.
26945 (floor_test): Likewise.
26946 (fma_test): Likewise.
26947 (fma_test_towardzero): Likewise.
26948 (fma_test_downward): Likewise.
26949 (fma_test_upward): Likewise.
26950 (fmax_test): Likewise.
26951 (fmin_test): Likewise.
26952 (fmod_test): Likewise.
26953 (fpclassify_test): Likewise.
26954 (frexp_test): Likewise.
26955 (gamma_test): Likewise.
26956 (hypot_test): Likewise.
26957 (ilogb_test): Likewise.
26958 (isfinite_test): Likewise.
26959 (isgreater_test): Likewise.
26960 (isgreaterequal_test): Likewise.
26961 (isinf_test): Likewise.
26962 (isless_test): Likewise.
26963 (islessequal_test): Likewise.
26964 (islessgreater_test): Likewise.
26965 (isnan_test): Likewise.
26966 (isnormal_test): Likewise.
26967 (issignaling_test): Likewise.
26968 (isunordered_test): Likewise.
26969 (j0_test): Likewise.
26970 (j1_test): Likewise.
26971 (jn_test): Likewise.
26972 (ldexp_test): Likewise.
26973 (lgamma_test): Likewise.
26974 (lrint_test): Likewise.
26975 (lrint_test_tonearest): Likewise.
26976 (lrint_test_towardzero): Likewise.
26977 (lrint_test_downward): Likewise.
26978 (lrint_test_upward): Likewise.
26979 (llrint_test): Likewise.
26980 (llrint_test_tonearest): Likewise.
26981 (llrint_test_towardzero): Likewise.
26982 (llrint_test_downward): Likewise.
26983 (llrint_test_upward): Likewise.
26984 (log_test): Likewise.
26985 (log10_test): Likewise.
26986 (log1p_test): Likewise.
26987 (log2_test): Likewise.
26988 (logb_test): Likewise.
26989 (logb_test_downward): Likewise.
26990 (lround_test): Likewise.
26991 (llround_test): Likewise.
26992 (modf_test): Likewise.
26993 (nearbyint_test): Likewise.
26994 (nextafter_test): Likewise.
26995 (nexttoward_test): Likewise.
26996 (pow_test): Likewise.
26997 (pow_test_tonearest): Likewise.
26998 (pow_test_towardzero): Likewise.
26999 (pow_test_downward): Likewise.
27000 (pow_test_upward): Likewise.
27001 (remainder_test): Likewise.
27002 (remainder_test_tonearest): Likewise.
27003 (remainder_test_towardzero): Likewise.
27004 (remainder_test_downward): Likewise.
27005 (remainder_test_upward): Likewise.
27006 (remquo_test): Likewise.
27007 (rint_test): Likewise.
27008 (rint_test_tonearest): Likewise.
27009 (rint_test_towardzero): Likewise.
27010 (rint_test_downward): Likewise.
27011 (rint_test_upward): Likewise.
27012 (round_test): Likewise.
27013 (scalb_test): Likewise.
27014 (scalbn_test): Likewise.
27015 (scalbln_test): Likewise.
27016 (signbit_test): Likewise.
27017 (sin_test): Likewise.
27018 (sin_test_tonearest): Likewise.
27019 (sin_test_towardzero): Likewise.
27020 (sin_test_downward): Likewise.
27021 (sin_test_upward): Likewise.
27022 (sincos_test): Likewise.
27023 (sinh_test): Likewise.
27024 (sinh_test_tonearest): Likewise.
27025 (sinh_test_towardzero): Likewise.
27026 (sinh_test_downward): Likewise.
27027 (sinh_test_upward): Likewise.
27028 (sqrt_test): Likewise.
27029 (tan_test): Likewise.
27030 (tan_test_tonearest): Likewise.
27031 (tan_test_towardzero): Likewise.
27032 (tan_test_downward): Likewise.
27033 (tan_test_upward): Likewise.
27034 (tanh_test): Likewise.
27035 (tgamma_test): Likewise.
27036 (trunc_test): Likewise.
27037 (y0_test): Likewise.
27038 (y1_test): Likewise.
27039 (yn_test): Likewise.
27040 (significand_test): Likewise.
27041
270422013-05-24 Ondřej Bílka <neleai@seznam.cz>
27043
27044 [BZ #15381]
27045 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27046
270472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27048
27049 [BZ #14894]
27050 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27051 __ppc_mdoio and __ppc_mdoom.
27052 * manual/platform.texi: Document new functions __ppc_yield,
27053 __ppc_mdoio and __ppc_mdoom.
27054
270552013-05-22 Carlos O'Donell <carlos@redhat.com>
27056
27057 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27058 (main): Mention "tls" pseudo-hwcap is legacy.
27059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27060
270612013-05-22 Joseph Myers <joseph@codesourcery.com>
27062
27063 * math/gen-libm-test.pl (parse_args): Output only string of
27064 arguments as text for test name, not full call or descriptions of
27065 tests for extra outputs.
27066 (generate_testfile): Do not pass function name to parse_args.
27067 Generate this_func variable from START.
27068 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27069 field to arg_str.
27070 (struct test_ff_f_data): Likewise.
27071 (test_ff_f_data_nexttoward): Likewise.
27072 (struct test_fi_f_data): Likewise.
27073 (struct test_fl_f_data): Likewise.
27074 (struct test_if_f_data): Likewise.
27075 (struct test_fff_f_data): Likewise.
27076 (struct test_c_f_data): Likewise.
27077 (struct test_f_f1_data): Likewise. Remove field extra_name.
27078 (struct test_fF_f1_data): Likewise.
27079 (struct test_ffI_f1_data): Likewise.
27080 (struct test_c_c_data): Rename test_name field to arg_str.
27081 (struct test_cc_c_data): Likewise.
27082 (struct test_f_i_data): Likewise.
27083 (struct test_ff_i_data): Likewise.
27084 (struct test_f_l_data): Likewise.
27085 (struct test_f_L_data): Likewise.
27086 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27087 and extra2_name.
27088 (COMMON_TEST_SETUP): New macro.
27089 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27090 (COMMON_TEST_CLEANUP): Likewise.
27091 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27092 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27093 macros.
27094 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27095 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27096 macros.
27097 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27098 (RUN_TEST_fff_f): Take argument string. Call new setup and
27099 cleanup macros.
27100 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27101 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27102 macros.
27103 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27104 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27105 macros.
27106 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27107 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27108 cleanup macros.
27109 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27110 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27111 cleanup macros.
27112 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27113 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27114 cleanup macros.
27115 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27116 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27117 macros.
27118 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27119 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27120 macros.
27121 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27122 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27123 macros.
27124 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27125 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27126 cleanup macros.
27127 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27128 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27129 cleanup macros.
27130 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27131 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27132 macros.
27133 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27134 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27135 cleanup macros.
27136 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27137 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27138 macros.
27139 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27140 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27141 macros.
27142 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27143 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27144 cleanup macros.
27145 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27146
271472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27148
27149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27150 to _sifields.sigfault.
27151 (si_addr_lsb): Define new macro.
27152 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27155
271562013-05-03 Carlos O'Donell <carlos at redhat.com>
27157
27158 [BZ #15441]
27159 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27160 returns -1.
27161 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27162 null return -1.
27163 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27164 loading the domain.
27165
271662013-05-22 Joseph Myers <joseph@codesourcery.com>
27167
27168 * math/gen-libm-test.pl (parse_args): Do not include expected
27169 result in test name.
27170 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27176
271772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27178
27179 * benchtests/Makefile: Sort function entries.
27180
27181 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27182 tanh, asinh, acosh, atanh.
27183 * benchtests/acos-inputs: New file.
27184 * benchtests/acosh-inputs: New file.
27185 * benchtests/asin-inputs: New file.
27186 * benchtests/asinh-inputs: New file.
27187 * benchtests/atanh-inputs: New file.
27188 * benchtests/cosh-inputs: New file.
27189 * benchtests/log-inputs: New file.
27190 * benchtests/sinh-inputs: New file.
27191 * benchtests/tanh-inputs: New file.
27192
271932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27194
27195 [BZ #15339]
27196 * posix/tst-getaddrinfo4.c: New test.
27197 * posix/Makefile (tests): Add it.
27198
271992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27200
27201 [BZ #15339]
27202 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27203 when no services were used.
27204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27205 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27206
272072013-05-21 Andreas Schwab <schwab@suse.de>
27208
27209 [BZ #15014]
27210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27211 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27212 successful.
27213 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27214 redundant variable declarations and reallocation of buffer when
27215 parsing as IPv6 address. Always set NSS status when called from
27216 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27217 buffer too small. Correct computation of needed size.
27218 * nss/Makefile (tests): Add test-digits-dots.
27219 * nss/test-digits-dots.c: New test.
27220
272212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27222
27223 * benchtests/Makefile: Remove instructions for adding
27224 benchmark tests.
27225 * benchtests/README: New file to explain how to execute and
27226 enhance the benchmark tests.
27227
272282013-05-21 Andreas Schwab <schwab@suse.de>
27229
27230 [BZ #15493]
27231 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27232 * setjmp/tst-sigsetjmp.c: New test.
27233
272342013-05-20 Ondřej Bílka <neleai@seznam.cz>
27235
27236 * sysdeps/x86_64/memset.S (memset): New implementation.
27237 (__bzero): Likewise.
27238 (__memset_tail): New function.
27239
272402013-05-20 Ondřej Bílka <neleai@seznam.cz>
27241
27242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27243 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27244 __memcpy_sse2_unaligned ifunc selection.
27245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27246 Add memcpy-sse2-unaligned.S.
27247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27248 Add: __memcpy_sse2_unaligned.
27249
272502013-05-19 Joseph Myers <joseph@codesourcery.com>
27251
27252 [BZ #15490]
27253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27254 math_force_eval before restoring floating-point envrionment.
27255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27257 Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27259 <math_private.h>.
27260 (__nearbyintl): Use math_force_eval before restoring
27261 floating-point environment.
27262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27263
27264 * math/gen-libm-test.pl (special_functions): Remove.
27265 (parse_args): Don't handle TEST_extra. Handle functions with no
27266 return value.
27267 * math/libm-test.inc (struct test_sincos_data): Replace with
27268 struct test_fFF_11_data.
27269 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27270 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27271 (sincos_test_data): Change element type to struct
27272 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27273 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27274 RUN_TEST_LOOP_sincos.
27275 * math/README.libm-test: Don't mention special handling of
27276 individual functions.
27277 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27283
27284 * math/gen-libm-test.pl (get_variable): Remove function.
27285 (parse_args): Don't show pointer parameters to call in test
27286 names. Use "extra output N" in test names for extra outputs
27287 rather than naming variables.
27288
272892013-05-18 Joseph Myers <joseph@codesourcery.com>
27290
27291 [BZ #15488]
27292 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27293 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27294 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27295 double tests.
27296 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27297 disable.
27298 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27299 check_long_double.
27300
27301 * math/gen-libm-test.pl (@tests): Remove variable.
27302 ($count): Likewise.
27303 (new_test): Remove function.
27304 (show_exceptions): New function.
27305 (special_functions): Use show_exceptions instead of new_test.
27306 (parse_args): Likewise.
27307 (generate_testfile): Pass only function name in generated call to
27308 print_max_error or print_complex_max_error.
27309 (get_ulps): Do not handle complex tests specially.
27310 (output_test): Rename to ...
27311 (get_all_ulps_for_test): ... this. Return a string rather than
27312 printing to a file. Require ulps to be present.
27313 (output_ulps): Generate arrays rather than #defines.
27314 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27315 (struct ulp_data): New type.
27316 (BUILD_COMPLEX_ULP): Remove macro.
27317 (compare_ulp_data): New function.
27318 (find_ulps): Likewise.
27319 (find_test_ulps): Likewise.
27320 (find_function_ulps): Likewise.
27321 (find_complex_function_ulps): Likewise.
27322 (print_max_error): Determine allowed ulps using
27323 find_function_ulps.
27324 (print_complex_max_error): Determine allowed ulps using
27325 find_complex_function_ulps.
27326 (check_float_internal): Determine max ulps using find_test_ulps.
27327 (check_float): Do not take max_ulp parameter. Update call to
27328 check_float_internal.
27329 (check_complex): Likewise.
27330 (check_int): Do not take max_ulp parameter.
27331 (check_long): Likewise.
27332 (check_bool): Likewise.
27333 (check_longlong): Likewise.
27334 (struct test_f_f_data): Remove max_ulp field.
27335 (struct test_ff_f_data): Likewise.
27336 (struct test_ff_f_data_nexttoward): Likewise.
27337 (struct test_fi_f_data): Likewise.
27338 (struct test_fl_f_data): Likewise.
27339 (struct test_if_f_data): Likewise.
27340 (struct test_fff_f_data): Likewise.
27341 (struct test_c_f_data): Likewise.
27342 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27343 (struct test_fF_f1_data): Likewise.
27344 (struct test_ffI_f1_data): Likewise.
27345 (struct test_c_c_data): Remove max_ulp field.
27346 (struct test_cc_c_data): Likewise.
27347 (struct test_f_i_data): Likewise.
27348 (struct test_ff_i_data): Likewise.
27349 (struct test_f_l_data): Likewise.
27350 (struct test_f_L_data): Likewise.
27351 (struct test_sincos_data): Likewise.
27352 (RUN_TEST_f_f): Do not handle ulps.
27353 (RUN_TEST_LOOP_f_f): Likewise.
27354 (RUN_TEST_2_f): Likewise.
27355 (RUN_TEST_LOOP_2_f): Likewise.
27356 (RUN_TEST_fff_f): Likewise.
27357 (RUN_TEST_LOOP_fff_f): Likewise.
27358 (RUN_TEST_c_f): Likewise.
27359 (RUN_TEST_LOOP_c_f): Likewise.
27360 (RUN_TEST_f_f1): Likewise.
27361 (RUN_TEST_LOOP_f_f1): Likewise.
27362 (RUN_TEST_fF_f1): Likewise.
27363 (RUN_TEST_LOOP_fF_f1): Likewise.
27364 (RUN_TEST_fI_f1): Likewise.
27365 (RUN_TEST_LOOP_fI_f1): Likewise.
27366 (RUN_TEST_ffI_f1): Likewise.
27367 (RUN_TEST_LOOP_ffI_f1): Likewise.
27368 (RUN_TEST_c_c): Likewise.
27369 (RUN_TEST_LOOP_c_c): Likewise.
27370 (RUN_TEST_cc_c): Likewise.
27371 (RUN_TEST_LOOP_cc_c): Likewise.
27372 (RUN_TEST_f_i): Likewise.
27373 (RUN_TEST_LOOP_f_i): Likewise.
27374 (RUN_TEST_f_i_tg): Likewise.
27375 (RUN_TEST_LOOP_f_i_tg): Likewise.
27376 (RUN_TEST_ff_i_tg): Likewise.
27377 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27378 (RUN_TEST_f_b): Likewise.
27379 (RUN_TEST_LOOP_f_b): Likewise.
27380 (RUN_TEST_f_b_tg): Likewise.
27381 (RUN_TEST_LOOP_f_b_tg): Likewise.
27382 (RUN_TEST_f_l): Likewise.
27383 (RUN_TEST_LOOP_f_l): Likewise.
27384 (RUN_TEST_f_L): Likewise.
27385 (RUN_TEST_LOOP_f_L): Likewise.
27386 (RUN_TEST_sincos): Likewise.
27387 (RUN_TEST_LOOP_sincos): Likewise.
27388
273892013-05-17 Joseph Myers <joseph@codesourcery.com>
27390
27391 [BZ #15480]
27392 [BZ #15485]
27393 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27394 main case of finite arguments, set rounding mode to FE_TONEAREST
27395 and discard exceptions.
27396 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27397 exceptions.
27398 (remainder_tonearest_test_data): New variable.
27399 (remainder_test_tonearest): New function.
27400 (remainder_towardzero_test_data): New variable.
27401 (remainder_test_towardzero): New function.
27402 (remainder_downward_test_data): New variable.
27403 (remainder_test_downward): New function.
27404 (remainder_upward_test_data): New variable.
27405 (remainder_test_upward): New function.
27406 (main): Call the new test functions.
27407
27408 * math/libm-test.inc (struct test_f_f1_data): Remove field
27409 extra_init.
27410 (struct test_fF_f1_data): Likewise.
27411 (struct test_ffI_f1_data): Likewise.
27412 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27413 based on value of EXTRA_EXPECTED.
27414 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27415 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27416 EXTRA_VAR based on value of EXTRA_EXPECTED.
27417 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27418 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27419 EXTRA_VAR based on value of EXTRA_EXPECTED.
27420 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27421 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27422 EXTRA_VAR based on value of EXTRA_EXPECTED.
27423 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27424 * math/gen-libm-test.pl (parse_args): Don't output initializers
27425 for extra output values.
27426
27427 * math/libm-test.inc (check_int): Expect result to be exactly
27428 equal to expected value and do not handle ulps.
27429 (check_long): Likewise.
27430 (check_longlong): Likewise.
27431
27432 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27433 exceptions.
27434 (cimag_test_data): Likewise.
27435 (conj_test_data): Likewise.
27436 (copysign_test_data): Likewise.
27437 (cproj_test_data): Likewise.
27438 (creal_test_data): Likewise.
27439 (fabs_test_data): Likewise.
27440 (fdim_test_data): Likewise.
27441 (finite_test_data): Likewise.
27442 (floor_test_data): Likewise.
27443 (fmax_test_data): Likewise.
27444 (fmin_test_data): Likewise.
27445 (fmod_test_data): Likewise.
27446 (fpclassify_test_data): Likewise.
27447 (frexp_test_data): Likewise.
27448 (ilogb_test_data): Likewise.
27449 (isfinite_test_data): Likewise.
27450 (isgreater_test_data): Likewise.
27451 (isgreaterequal_test_data): Likewise.
27452 (isinf_test_data): Likewise.
27453 (isless_test_data): Likewise.
27454 (islessequal_test_data): Likewise.
27455 (islessgreater_test_data): Likewise.
27456 (isnan_test_data): Likewise.
27457 (isnormal_test_data): Likewise.
27458 (issignaling_test_data): Likewise.
27459 (isunordered_test_data): Likewise.
27460 (ldexp_test_data): Likewise.
27461 (lrint_test_data): Likewise.
27462 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27463 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27464 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27465 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27466 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27467 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27468 test input.
27469 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27470 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27471 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27472 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27473 that test input.
27474 (lrint_downward_test_data): Test for "inexact" exceptions.
27475 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27476 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27477 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27478 test input.
27479 (lrint_upward_test_data): Test for "inexact" exceptions.
27480 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27481 test input.
27482 (llrint_test_data): Test for "inexact" exceptions.
27483 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27484 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27485 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27486 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27487 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27488 (llrint_downward_test_data): Test for "inexact" exceptions.
27489 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27490 (llrint_upward_test_data): Test for "inexact" exceptions.
27491 (logb_test_data): Likewise.
27492 (logb_downward_test_data): Likewise.
27493 (nextafter_test_data): Likewise.
27494 (nexttoward_test_data): Likewise.
27495 (remainder_test_data): Likewise.
27496 (remquo_test_data): Likewise.
27497 (scalbn_test_data): Likewise.
27498 (scalbln_test_data): Likewise.
27499 (signbit_test_data): Likewise.
27500 (sqrt_test_data): Likewise.
27501 (significand_test_data): Likewise.
27502
275032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27504
27505 [BZ #15424]
27506 * benchtests/bench-modf.c (struct args): Mark arg0 as
27507 volatile.
27508 * scripts/bench.pl: Mark members of struct args as volatile.
27509
275102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27511
27512 [BZ # 15497]
27513 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27514 negative infinity on POWER6 or lower.
27515 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27516
275172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27518
27519 [BZ #15442]
27520 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27521 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27522 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27523 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27524 (_FP_SETQNAN): New macro.
27525 (_FP_SETQNAN_SEMIRAW): Likewise.
27526 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27527 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27528 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27529 (FP_EXTEND): Use _FP_FRAC_SNANP.
27530 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27531 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27532 into account.
27533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27534 New macro.
27535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27536 Likewise.
27537
275382013-05-16 Joseph Myers <joseph@codesourcery.com>
27539
27540 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27541 with DIVIDE_BY_ZERO_EXCEPTION.
27542 (gamma_test_data): Likewise.
27543 (lgamma_test_data): Likewise.
27544 (log_test_data): Likewise.
27545 (log10_test_data): Likewise.
27546 (log2_test_data): Likewise.
27547 (tgamma_test_data): Likewise.
27548
27549 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27550 (acos_test_tonearest): Likewise.
27551 (acos_test_towardzero): Likewise.
27552 (acos_test_downward): Likewise.
27553 (acos_test_upward): Likewise.
27554 (acosh_test): Likewise.
27555 (asin_test): Likewise.
27556 (asin_test_tonearest): Likewise.
27557 (asin_test_towardzero): Likewise.
27558 (asin_test_downward): Likewise.
27559 (asin_test_upward): Likewise.
27560 (asinh_test): Likewise.
27561 (atan_test): Likewise.
27562 (atanh_test): Likewise.
27563 (atan2_test): Likewise.
27564 (cabs_test): Likewise.
27565 (cacos_test): Likewise.
27566 (cacosh_test): Likewise.
27567 (casin_test): Likewise.
27568 (casinh_test): Likewise.
27569 (catan_test): Likewise.
27570 (catanh_test): Likewise.
27571 (cbrt_test): Likewise.
27572 (ccos_test): Likewise.
27573 (ccosh_test): Likewise.
27574 (cexp_test): Likewise.
27575 (clog_test): Likewise.
27576 (clog10_test): Likewise.
27577 (cos_test): Likewise.
27578 (cos_test_tonearest): Likewise.
27579 (cos_test_towardzero): Likewise.
27580 (cos_test_downward): Likewise.
27581 (cos_test_upward): Likewise.
27582 (cosh_test): Likewise.
27583 (cosh_test_tonearest): Likewise.
27584 (cosh_test_towardzero): Likewise.
27585 (cosh_test_downward): Likewise.
27586 (cosh_test_upward): Likewise.
27587 (cpow_test): Likewise.
27588 (csin_test): Likewise.
27589 (csinh_test): Likewise.
27590 (csqrt_test): Likewise.
27591 (ctan_test): Likewise.
27592 (ctan_test_tonearest): Likewise.
27593 (ctan_test_towardzero): Likewise.
27594 (ctan_test_downward): Likewise.
27595 (ctan_test_upward): Likewise.
27596 (ctanh_test): Likewise.
27597 (ctanh_test_tonearest): Likewise.
27598 (ctanh_test_towardzero): Likewise.
27599 (ctanh_test_downward): Likewise.
27600 (ctanh_test_upward): Likewise.
27601 (erf_test): Likewise.
27602 (erfc_test): Likewise.
27603 (exp_test): Likewise.
27604 (exp_test_tonearest): Likewise.
27605 (exp_test_towardzero): Likewise.
27606 (exp_test_downward): Likewise.
27607 (exp_test_upward): Likewise.
27608 (exp10_test): Likewise.
27609 (exp2_test): Likewise.
27610 (expm1_test): Likewise.
27611 (fmod_test): Likewise.
27612 (gamma_test): Likewise.
27613 (hypot_test): Likewise.
27614 (j0_test): Likewise.
27615 (j1_test): Likewise.
27616 (jn_test): Likewise.
27617 (lgamma_test): Likewise.
27618 (log_test): Likewise.
27619 (log10_test): Likewise.
27620 (log1p_test): Likewise.
27621 (log2_test): Likewise.
27622 (logb_test_downward): Likewise.
27623 (pow_test): Likewise.
27624 (pow_test_tonearest): Likewise.
27625 (pow_test_towardzero): Likewise.
27626 (pow_test_downward): Likewise.
27627 (pow_test_upward): Likewise.
27628 (remainder_test): Likewise.
27629 (remquo_test): Likewise.
27630 (sin_test): Likewise.
27631 (sin_test_tonearest): Likewise.
27632 (sin_test_towardzero): Likewise.
27633 (sin_test_downward): Likewise.
27634 (sin_test_upward): Likewise.
27635 (sincos_test): Likewise.
27636 (sinh_test): Likewise.
27637 (sinh_test_tonearest): Likewise.
27638 (sinh_test_towardzero): Likewise.
27639 (sinh_test_downward): Likewise.
27640 (sinh_test_upward): Likewise.
27641 (sqrt_test): Likewise.
27642 (tan_test): Likewise.
27643 (tan_test_tonearest): Likewise.
27644 (tan_test_towardzero): Likewise.
27645 (tan_test_downward): Likewise.
27646 (tan_test_upward): Likewise.
27647 (tanh_test): Likewise.
27648 (tgamma_test): Likewise.
27649 (y0_test): Likewise.
27650 (y1_test): Likewise.
27651 (yn_test): Likewise.
27652
27653 * math/gen-libm-test.pl (adjust_arg): Remove function.
27654 (special_function): Remove argument $in_func. Only handle
27655 generating output for tables of tests, not inside functions.
27656 (parse_args): Likewise.
27657 (generate_testfile): Remove variable $in_func. Update call to
27658 parse_args.
27659 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27660 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27661 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27662 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27663 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27664 (MAX_VALUE_INIT): Rename macro to max_value.
27665 (MIN_VALUE_INIT): Rename macro to min_value.
27666 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27667 (plus_zero): Remove variable.
27668 (minus_zero): Likewise.
27669 (plus_infty): Likewise.
27670 (minus_infty): Likewise.
27671 (qnan_value): Likewise.
27672 (max_value): Likewise.
27673 (min_value): Likewise.
27674 (min_subnorm_value): Likewise.
27675
276762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27677
27678 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27679 uint64_t or uint32_t usage.
27680 * crypt/sha256-block.c: Likewise.
27681 * crypt/sha256-crypt.c: Likewise.
27682 * crypt/sha256.c: Likewise.
27683 * crypt/sha512-block.c: Likewise.
27684 * crypt/sha512-crypt.c: Likewise.
27685 * crypt/sha512.c: Likewise.
27686 * debug/backtrace-tst.c: Likewise.
27687 * debug/pcprofiledump.c: Likewise.
27688 * elf/cache.c: Likewise.
27689 * elf/dl-cache.c: Likewise.
27690 * elf/dl-misc.c: Likewise.
27691 * elf/dl-profile.c: Likewise.
27692 * elf/dl-support.c: Likewise.
27693 * elf/ldconfig.c: Likewise.
27694 * elf/sprof.c: Likewise.
27695 * iconv/dummy-repertoire.c: Likewise.
27696 * iconv/iconv_charmap.c: Likewise.
27697 * iconv/skeleton.c: Likewise.
27698 * iconvdata/8bit-generic.c: Likewise.
27699 * iconvdata/cp737.h: Likewise.
27700 * iconvdata/cp775.h: Likewise.
27701 * iconvdata/ibm1008.h: Likewise.
27702 * iconvdata/ibm1025.h: Likewise.
27703 * iconvdata/ibm1046.h: Likewise.
27704 * iconvdata/ibm1097.h: Likewise.
27705 * iconvdata/ibm1112.h: Likewise.
27706 * iconvdata/ibm1122.h: Likewise.
27707 * iconvdata/ibm1123.h: Likewise.
27708 * iconvdata/ibm1124.h: Likewise.
27709 * iconvdata/ibm1129.h: Likewise.
27710 * iconvdata/ibm1130.h: Likewise.
27711 * iconvdata/ibm1132.h: Likewise.
27712 * iconvdata/ibm1133.h: Likewise.
27713 * iconvdata/ibm1137.h: Likewise.
27714 * iconvdata/ibm1140.h: Likewise.
27715 * iconvdata/ibm1141.h: Likewise.
27716 * iconvdata/ibm1142.h: Likewise.
27717 * iconvdata/ibm1143.h: Likewise.
27718 * iconvdata/ibm1144.h: Likewise.
27719 * iconvdata/ibm1145.h: Likewise.
27720 * iconvdata/ibm1146.h: Likewise.
27721 * iconvdata/ibm1147.h: Likewise.
27722 * iconvdata/ibm1148.h: Likewise.
27723 * iconvdata/ibm1149.h: Likewise.
27724 * iconvdata/ibm1153.h: Likewise.
27725 * iconvdata/ibm1154.h: Likewise.
27726 * iconvdata/ibm1155.h: Likewise.
27727 * iconvdata/ibm1156.h: Likewise.
27728 * iconvdata/ibm1157.h: Likewise.
27729 * iconvdata/ibm1158.h: Likewise.
27730 * iconvdata/ibm1160.h: Likewise.
27731 * iconvdata/ibm1161.h: Likewise.
27732 * iconvdata/ibm1162.h: Likewise.
27733 * iconvdata/ibm1163.h: Likewise.
27734 * iconvdata/ibm1164.h: Likewise.
27735 * iconvdata/ibm1166.h: Likewise.
27736 * iconvdata/ibm1167.h: Likewise.
27737 * iconvdata/ibm12712.h: Likewise.
27738 * iconvdata/ibm1390.h: Likewise.
27739 * iconvdata/ibm1399.h: Likewise.
27740 * iconvdata/ibm16804.h: Likewise.
27741 * iconvdata/ibm4517.h: Likewise.
27742 * iconvdata/ibm4899.h: Likewise.
27743 * iconvdata/ibm4909.h: Likewise.
27744 * iconvdata/ibm4971.h: Likewise.
27745 * iconvdata/ibm5347.h: Likewise.
27746 * iconvdata/ibm803.h: Likewise.
27747 * iconvdata/ibm856.h: Likewise.
27748 * iconvdata/ibm901.h: Likewise.
27749 * iconvdata/ibm902.h: Likewise.
27750 * iconvdata/ibm9030.h: Likewise.
27751 * iconvdata/ibm9066.h: Likewise.
27752 * iconvdata/ibm921.h: Likewise.
27753 * iconvdata/ibm922.h: Likewise.
27754 * iconvdata/ibm9448.h: Likewise.
27755 * iconvdata/isiri-3342.h: Likewise.
27756 * iconvdata/jis0201.h: Likewise.
27757 * include/link.h: Likewise.
27758 * include/netdb.h: Likewise.
27759 * inet/check_native.c: Likewise.
27760 * inet/check_pf.c: Likewise.
27761 * inet/getipv4sourcefilter.c: Likewise.
27762 * inet/getnameinfo.c: Likewise.
27763 * inet/getsourcefilter.c: Likewise.
27764 * inet/htonl.c: Likewise.
27765 * inet/setipv4sourcefilter.c: Likewise.
27766 * inet/setsourcefilter.c: Likewise.
27767 * inet/test-inet6_opt.c: Likewise.
27768 * inet/tst-network.c: Likewise.
27769 * locale/C-collate.c: Likewise.
27770 * locale/C-ctype.c: Likewise.
27771 * locale/C-time.c: Likewise.
27772 * locale/C-translit.h: Likewise.
27773 * locale/loadarchive.c: Likewise.
27774 * locale/programs/3level.h: Likewise.
27775 * locale/programs/charmap.c: Likewise.
27776 * locale/programs/charmap.h: Likewise.
27777 * locale/programs/ld-address.c: Likewise.
27778 * locale/programs/ld-collate.c: Likewise.
27779 * locale/programs/ld-ctype.c: Likewise.
27780 * locale/programs/ld-identification.c: Likewise.
27781 * locale/programs/ld-measurement.c: Likewise.
27782 * locale/programs/ld-messages.c: Likewise.
27783 * locale/programs/ld-monetary.c: Likewise.
27784 * locale/programs/ld-name.c: Likewise.
27785 * locale/programs/ld-numeric.c: Likewise.
27786 * locale/programs/ld-paper.c: Likewise.
27787 * locale/programs/ld-telephone.c: Likewise.
27788 * locale/programs/ld-time.c: Likewise.
27789 * locale/programs/linereader.c: Likewise.
27790 * locale/programs/locale.c: Likewise.
27791 * locale/programs/locarchive.c: Likewise.
27792 * locale/programs/locfile.h: Likewise.
27793 * locale/programs/repertoire.c: Likewise.
27794 * locale/programs/simple-hash.c: Likewise.
27795 * locale/programs/simple-hash.h: Likewise.
27796 * malloc/memusage.c: Likewise.
27797 * malloc/memusagestat.c: Likewise.
27798 * nis/nis_defaults.c: Likewise.
27799 * nis/nis_hash.c: Likewise.
27800 * nis/nis_print.c: Likewise.
27801 * nis/nis_xdr.c: Likewise.
27802 * nscd/connections.c: Likewise.
27803 * nscd/hstcache.c: Likewise.
27804 * nscd/nscd_gethst_r.c: Likewise.
27805 * nscd/nscd_getserv_r.c: Likewise.
27806 * nscd/nscd_helper.c: Likewise.
27807 * nscd/servicescache.c: Likewise.
27808 * nss/makedb.c: Likewise.
27809 * nss/nss_db/db-XXX.c: Likewise.
27810 * nss/nss_db/db-initgroups.c: Likewise.
27811 * nss/nss_db/db-netgrp.c: Likewise.
27812 * nss/nss_files/files-network.c: Likewise.
27813 * nss/nss_files/files-parse.c: Likewise.
27814 * posix/bug-regex5.c: Likewise.
27815 * posix/fnmatch_loop.c: Likewise.
27816 * posix/regcomp.c: Likewise.
27817 * posix/regexec.c: Likewise.
27818 * posix/tst-rfc3484-2.c: Likewise.
27819 * posix/tst-rfc3484-3.c: Likewise.
27820 * posix/tst-rfc3484.c: Likewise.
27821 * resolv/nss_dns/dns-canon.c: Likewise.
27822 * resolv/nss_dns/dns-network.c: Likewise.
27823 * resolv/res_init.c: Likewise.
27824 * resolv/res_mkquery.c: Likewise.
27825 * resolv/tst-aton.c: Likewise.
27826 * stdlib/cxa_atexit.c: Likewise.
27827 * stdlib/cxa_finalize.c: Likewise.
27828 * stdlib/gen-fpioconst.c: Likewise.
27829 * stdlib/strtol_l.c: Likewise.
27830 * string/tst-endian.c: Likewise.
27831 * sunrpc/auth_des.c: Likewise.
27832 * sunrpc/clnt_udp.c: Likewise.
27833 * sunrpc/rtime.c: Likewise.
27834 * sunrpc/svcauth_des.c: Likewise.
27835 * sunrpc/xdr.c: Likewise.
27836 * sunrpc/xdr_intXX_t.c: Likewise.
27837 * sunrpc/xdr_rec.c: Likewise.
27838 * sysdeps/generic/ldconfig.h: Likewise.
27839 * sysdeps/generic/ldsodefs.h: Likewise.
27840 * sysdeps/generic/memusage.h: Likewise.
27841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27851 * sysdeps/posix/getaddrinfo.c: Likewise.
27852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27854 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27856 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27857 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27858 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27859 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27860 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27861 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27862 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27864 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27865 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27866 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27867 * sysdeps/x86_64/dl-tls.h: Likewise.
27868 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27869 * time/alt_digit.c: Likewise.
27870 * time/era.c: Likewise.
27871 * wcsmbs/tst-c16c32-1.c: Likewise.
27872
278732013-05-16 Joseph Myers <joseph@codesourcery.com>
27874
27875 * math/libm-test.inc (struct test_sincos_data): New type.
27876 (RUN_TEST_LOOP_sincos): New macro.
27877 (sincos_test_data): New variable.
27878 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27879
278802013-05-16 Richard Henderson <rth@redhat.com>
27881
27882 * math/atest-exp2.c (LIMB64): New macro.
27883 (CONSTSZ): New macro.
27884 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27885 (hexdig): Move ...
27886 (print_mpn_fp): ... to function scope.
27887 (read_mpn_hex): Remove.
27888 (get_log2): Remove.
27889 (exp2_mpn): Use mp_log2.
27890 (main): Use mp_exp1.
27891
278922013-05-16 Joseph Myers <joseph@codesourcery.com>
27893
27894 * math/libm-test.inc: Remove comment about not testing "inexact"
27895 exceptions.
27896 (INEXACT_EXCEPTION): New macro.
27897 (NO_INEXACT_EXCEPTION): Likewise.
27898 (INVALID_EXCEPTION_OK): Update value.
27899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27900 (OVERFLOW_EXCEPTION_OK): Likewise.
27901 (UNDERFLOW_EXCEPTION_OK): Likewise.
27902 (IGNORE_ZERO_INF_SIGN): Likewise.
27903 (ERRNO_UNCHANGED): Likewise.
27904 (ERRNO_EDOM): Likewise.
27905 (ERRNO_ERANGE): Likewise.
27906 (test_exceptions): Handle testing "inexact" exceptions.
27907 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27908 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27909 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27910 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27911 INEXACT_EXCEPTION.
27912 (rint_towardzero_test_data): Likewise.
27913 (rint_downward_test_data): Likewise.
27914 (rint_upward_test_data): Likewise.
27915
27916 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27917 with OVERFLOW_EXCEPTION.
27918 (exp10_test_data): Likewise.
27919 (exp2_test_data): Likewise.
27920 (expm1_test_data): Likewise.
27921 (lgamma_test_data): Likewise.
27922 (pow_test_data): Likewise.
27923 (tgamma_test_data): Likewise.
27924 (yn_test_data): Remove duplicate test of overflow.
27925
27926 * math/libm-test.inc (struct test_cc_c_data): New type.
27927 (RUN_TEST_LOOP_cc_c): New macro.
27928 (cpow_test_data): New variable.
27929 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27930
27931 * math/libm-test.inc (struct test_f_L_data): New type.
27932 (RUN_TEST_LOOP_f_L): New macro.
27933 (llrint_test_data): New variable.
27934 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27935 (llrint_tonearest_test_data): New variable.
27936 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27937 (llrint_towardzero_test_data): New variable.
27938 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27939 (llrint_downward_test_data): New variable.
27940 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27941 (llrint_upward_test_data): New variable.
27942 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27943 (llround_test_data): New variable.
27944 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27945
279462013-05-13 Peter Collingbourne <pcc@google.com>
27947
27948 * math/atest-exp2.c (get_log2): Remove const attribute.
27949
279502013-05-15 Joseph Myers <joseph@codesourcery.com>
27951
27952 * math/libm-test.inc (struct test_f_l_data): New type.
27953 (RUN_TEST_LOOP_f_l): New macro.
27954 (lrint_test_data): New variable.
27955 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27956 (lrint_tonearest_test_data): New variable.
27957 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27958 (lrint_towardzero_test_data): New variable.
27959 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27960 (lrint_downward_test_data): New variable.
27961 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27962 (lrint_upward_test_data): New variable.
27963 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27964 (lround_test_data): New variable.
27965 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27966
279672013-05-15 Peter Collingbourne <pcc@google.com>
27968
27969 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27970 (EXTRACT_WORDS64) Use where appropriate.
27971 (INSERT_WORDS64) Likewise.
27972
27973 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27974 constraints with x constraints.
27975 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27976
27977 * malloc/obstack.c (_obstack_compat): Add initializer.
27978
279792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27980
27981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27982 si_trapno and add si_addr_lsb to _sifields.sigfault.
27983 (si_trapno): Remove macro.
27984 (si_addr_lsb): Define new macro.
27985 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27986
279872013-05-15 Joseph Myers <joseph@codesourcery.com>
27988
27989 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27990 instead of TEST_f_l.
27991 (llrint_test_tonearest): Likewise.
27992 (llrint_test_towardzero): Likewise.
27993 (llrint_test_downward): Likewise.
27994 (llrint_test_upward): Likewise.
27995 (llround_test): Likewise.
27996
27997 * math/libm-test.inc (struct test_f_i_data): Add comment.
27998 (RUN_TEST_LOOP_f_b): New macro.
27999 (RUN_TEST_LOOP_f_b_tg): Likewise.
28000 (finite_test_data): New variable.
28001 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28002 (isfinite_test_data): New variable.
28003 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28004 (isinf_test_data): New variable.
28005 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28006 (isnan_test_data): New variable.
28007 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28008 (isnormal_test_data): New variable.
28009 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28010 (issignaling_test_data): New variable.
28011 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28012 (signbit_test_data): New variable.
28013 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28014
28015 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28016 with INVALID_EXCEPTION.
28017 (acosh_test_data): Likewise.
28018 (asin_test_data): Likewise.
28019 (atanh_test_data): Likewise.
28020 (fmod_test_data): Likewise.
28021 (log_test_data): Likewise.
28022 (log10_test_data): Likewise.
28023 (log2_test_data): Likewise.
28024 (pow_test_data): Likewise.
28025 (sqrt_test_data): Likewise.
28026 (y0_test_data): Likewise.
28027 (y1_test_data): Likewise.
28028 (yn_test_data): Likewise.
28029
28030 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28031 function contents.
28032
28033 * math/libm-test.inc (struct test_ff_i_data): New type.
28034 (RUN_TEST_LOOP_ff_i_tg): New macro.
28035 (isgreater_test_data): New variable.
28036 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28037 (isgreaterequal_test_data): New variable.
28038 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28039 (isless_test_data): New variable.
28040 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28041 (islessequal_test_data): New variable.
28042 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28043 (islessgreater_test_data): New variable.
28044 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28045 (isunordered_test_data): New variable.
28046 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28047
280482013-05-14 David S. Miller <davem@davemloft.net>
28049
28050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28051
280522013-05-14 Joseph Myers <joseph@codesourcery.com>
28053
28054 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28055
28056 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28057 extra_test to int.
28058 (struct test_f_i_data): Change type of max_ulp to int.
28059
28060 * math/libm-test.inc (test_ffI_f1_data): New type.
28061 (RUN_TEST_LOOP_ffI_f1): New macro.
28062 (remquo_test_data): New variable.
28063 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28064
28065 * setjmp/tst-setjmp-fp.c: New file.
28066 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28067 (link-libm): New variable.
28068 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28069
28070 * math/libm-test.inc (struct test_f_i_data): New type.
28071 (RUN_TEST_LOOP_f_i): New macro.
28072 (RUN_TEST_LOOP_f_i_tg): Likewise.
28073 (fpclassify_test_data): New variable.
28074 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28075 (ilogb_test_data): New variable.
28076 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28077
28078 * math/libm-test.inc (scalbln_test): Correct function name in END
28079 call.
28080
28081 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28082 (RUN_TEST_LOOP_fI_f1): New macro.
28083 (frexp_test_data): New variable.
28084 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28085
28086 * math/libm-test.inc (struct test_fF_f1_data): New type.
28087 (RUN_TEST_LOOP_fF_f1): New macro.
28088 (modf_test_data): New variable.
28089 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28090
28091 * math/libm-test.inc (struct test_f_f1_data): New type.
28092 (RUN_TEST_LOOP_f_f1): New macro.
28093 (gamma_test_data): New variable.
28094 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28095 (lgamma_test_data): New variable.
28096 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28097
280982013-05-13 Carlos O'Donell <carlos@redhat.com>
28099
28100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28101 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28102 (main): Comment "tls" pseudo-hwcap.
28103
281042013-05-13 Joseph Myers <joseph@codesourcery.com>
28105
28106 * math/libm-test.inc (struct test_fl_f_data): New type.
28107 (RUN_TEST_LOOP_fl_f): New variable.
28108 (scalbln_test_data): New variable.
28109 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28110
28111 * math/libm-test.inc (struct test_fi_f_data): New type.
28112 (RUN_TEST_LOOP_fi_f): New macro.
28113 (ldexp_test_data): New variable.
28114 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28115 (scalbn_test_data): New variable.
28116 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28117
28118 * math/libm-test.inc (struct test_c_f_data): New type.
28119 (RUN_TEST_LOOP_c_f): New macro.
28120 (cabs_test_data): New variable.
28121 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28122 (carg_test_data): New variable.
28123 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28124 (cimag_test_data): New variable.
28125 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28126 (creal_test_data): New variable.
28127 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28128
28129 * math/libm-test.inc (struct test_if_f_data): New type.
28130 (RUN_TEST_LOOP_if_f): New macro.
28131 (jn_test_data): New variable.
28132 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28133 (yn_test_data): New variable.
28134 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28135
28136 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28137
281382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28139
28140 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28141 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28142
281432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28144
28145 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28146 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28147 (bench-deps): Add bench-timing.h.
28148 * benchtests-bench-skeleton.c: Include bench-timing.h.
28149 (main): Use TIMING_* macros instead of clock_gettime.
28150 * benchtests/bench-timing.h: New file.
28151
28152 [BZ #14582]
28153 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28154 Renamed from _LIB_VERSION.
28155 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28156
281572013-05-12 Joseph Myers <joseph@codesourcery.com>
28158
28159 * math/libm-test.inc (struct test_fff_f_data): New type.
28160 (RUN_TEST_LOOP_fff_f): New macro.
28161 (fma_test_data): New variable.
28162 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28163 (fma_towardzero_test_data): New variable.
28164 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28165 (fma_downward_test_data): New variable.
28166 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28167 (fma_upward_test_data): New variable.
28168 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28169
28170 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28171 (struct test_c_c_data): New type.
28172 (RUN_TEST_LOOP_c_c): New macro.
28173 (cacos_test_data): New variable.
28174 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28175 (cacosh_test_data): New variable.
28176 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28177 (casin_test_data): New variable.
28178 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28179 (casinh_test_data): New variable.
28180 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28181 (catan_test_data): New variable.
28182 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28183 (catanh_test_data): New variable.
28184 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28185 (ccos_test_data): New variable.
28186 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28187 (ccosh_test_data): New variable.
28188 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28189 (cexp_test_data): New variable.
28190 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28191 (clog_test_data): New variable.
28192 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28193 (clog10_test_data): New variable.
28194 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28195 (conj_test_data): New variable.
28196 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28197 (cproj_test_data): New variable.
28198 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28199 (csin_test_data): New variable.
28200 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28201 (csinh_test_data): New variable.
28202 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28203 (csqrt_test_data): New variable.
28204 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28205 (ctan_test_data): New variable.
28206 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28207 (ctan_tonearest_test_data): New variable.
28208 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28209 (ctan_towardzero_test_data): New variable.
28210 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28211 (ctan_downward_test_data): New variable.
28212 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28213 (ctan_upward_test_data): New variable.
28214 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28215 (ctanh_test_data): New variable.
28216 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28217 (ctanh_tonearest_test_data): New variable.
28218 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28219 (ctanh_towardzero_test_data): New variable.
28220 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28221 (ctanh_downward_test_data): New variable.
28222 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28223 (ctanh_upward_test_data): New variable.
28224 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28225 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28226 of BUILD_COMPLEX.
28227
28228 * math/libm-test.inc (struct test_ff_f_data): New type.
28229 (struct test_ff_f_data_nexttoward): Likewise.
28230 (RUN_TEST_LOOP_2_f): New macro.
28231 (RUN_TEST_LOOP_ff_f): Likewise.
28232 (atan2_test_data): New variable.
28233 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28234 (copysign_test_data): New variable.
28235 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28236 (fdim_test_data): New variable.
28237 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28238 (fmax_test_data): New variable.
28239 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28240 (fmin_test_data): New variable.
28241 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28242 (fmod_test_data): New variable.
28243 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28244 (hypot_test_data): New variable.
28245 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28246 (nextafter_test_data): New variable.
28247 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28248 (nexttoward_test_data): New variable.
28249 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28250 (pow_test_data): New variable.
28251 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28252 (pow_tonearest_test_data): New variable.
28253 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28254 (pow_towardzero_test_data): New variable.
28255 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28256 (pow_downward_test_data): New variable.
28257 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28258 (pow_upward_test_data): New variable.
28259 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28260 (remainder_test_data): New variable.
28261 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28262 (scalb_test_data): New variable.
28263 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28264 * sysdeps/i386/fpu/libm-test-ulps: Update.
28265
282662013-05-11 Joseph Myers <joseph@codesourcery.com>
28267
28268 * math/libm-test.inc (fma_test): Use max_value instead of local
28269 variable fltmax.
28270 (nextafter_test): Likewise.
28271
28272 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28273 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28274 (acos_downward_test_data): New variable.
28275 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28276 (acos_upward_test_data): New variable.
28277 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28278 (acosh_test_data): New variable.
28279 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28280 (asin_test_data): New variable.
28281 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28282 (asin_tonearest_test_data): New variable.
28283 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28284 (asin_towardzero_test_data): New variable.
28285 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28286 (asin_downward_test_data): New variable.
28287 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28288 (asin_upward_test_data): New variable.
28289 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28290 (asinh_test_data): New variable.
28291 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28292 (atan_test_data): New variable.
28293 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28294 (atanh_test_data): New variable.
28295 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28296 (cbrt_test_data): New variable.
28297 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28298 (ceil_test_data): New variable.
28299 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28300 (cos_test_data): New variable.
28301 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28302 (cos_tonearest_test_data): New variable.
28303 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28304 (cos_towardzero_test_data): New variable.
28305 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28306 (cos_downward_test_data): New variable.
28307 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28308 (cos_upward_test_data): New variable.
28309 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28310 (cosh_test_data): New variable.
28311 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28312 (cosh_tonearest_test_data): New variable.
28313 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28314 (cosh_towardzero_test_data): New variable.
28315 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28316 (cosh_downward_test_data): New variable.
28317 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28318 (cosh_upward_test_data): New variable.
28319 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28320 (erf_test_data): New variable.
28321 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28322 (erfc_test_data): New variable.
28323 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28324 (exp_test_data): New variable.
28325 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28326 (exp_tonearest_test_data): New variable.
28327 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28328 (exp_towardzero_test_data): New variable.
28329 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28330 (exp_downward_test_data): New variable.
28331 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28332 (exp_upward_test_data): New variable.
28333 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28334 (exp10_test_data): New variable.
28335 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28336 (exp2_test_data): New variable.
28337 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28338 (expm1_test_data): New variable.
28339 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28340 (fabs_test_data): New variable.
28341 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28342 (floor_test_data): New variable.
28343 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28344 (j0_test_data): New variable.
28345 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28346 (j1_test_data): New variable.
28347 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28348 (log_test_data): New variable.
28349 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28350 (log10_test_data): New variable.
28351 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28352 (log1p_test_data): New variable.
28353 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28354 (log2_test_data): New variable.
28355 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28356 (logb_test_data): New variable.
28357 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28358 (logb_downward_test_data): New variable.
28359 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28360 (nearbyint_test_data): New variable.
28361 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28362 (rint_test_data): New variable.
28363 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28364 (rint_tonearest_test_data): New variable.
28365 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28366 (rint_towardzero_test_data): New variable.
28367 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28368 (rint_downward_test_data): New variable.
28369 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28370 (rint_upward_test_data): New variable.
28371 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28372 (round_test_data): New variable.
28373 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28374 (sin_test_data): New variable.
28375 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28376 (sin_tonearest_test_data): New variable.
28377 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28378 (sin_towardzero_test_data): New variable.
28379 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28380 (sin_downward_test_data): New variable.
28381 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28382 (sin_upward_test_data): New variable.
28383 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28384 (sinh_test_data): New variable.
28385 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28386 (sinh_tonearest_test_data): New variable.
28387 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28388 (sinh_towardzero_test_data): New variable.
28389 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28390 (sinh_downward_test_data): New variable.
28391 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28392 (sinh_upward_test_data): New variable.
28393 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28394 (sqrt_test_data): New variable.
28395 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28396 (tan_test_data): New variable.
28397 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28398 (tan_tonearest_test_data): New variable.
28399 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28400 (tan_towardzero_test_data): New variable.
28401 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28402 (tan_downward_test_data): New variable.
28403 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28404 (tan_upward_test_data): New variable.
28405 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28406 (tanh_test_data): New variable.
28407 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28408 (tgamma_test_data): New variable.
28409 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28410 (trunc_test_data): New variable.
28411 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28412 (y0_test_data): New variable.
28413 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28414 (y1_test_data): New variable.
28415 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28416 (significand_test_data): New variable.
28417 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28418
284192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28420
28421 [BZ #12387]
28422 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28423
284242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28425
28426 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28427
284282013-05-10 Andreas Jaeger <aj@suse.de>
28429
28430 [BZ #15448]
28431 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28432 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28433
284342013-05-10 Joseph Myers <joseph@codesourcery.com>
28435
28436 * math/gen-libm-test.pl (adjust_arg): New function.
28437 (special_functions): Handle generating output in both functions
28438 and arrays.
28439 (parse_args): Likewise.
28440 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28441 $in_func argument to parse_args.
28442 * math/libm-test.inc (struct test_f_f_data): New type.
28443 (IF_ROUND_INIT_): New macro.
28444 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28448 (ROUND_RESTORE_): Likewise.
28449 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28450 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28451 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28452 (ROUND_RESTORE_FE_UPWARD): Likewise.
28453 (RUN_TEST_LOOP_f_f): New macro.
28454 (acos_test_data): New variable.
28455 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28456 (acos_tonearest_test_data): New variable.
28457 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28458
284592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28460
28461 * benchtests/bench-skeleton.c (startup): Fix coding style.
28462
284632013-05-10 Joseph Myers <joseph@codesourcery.com>
28464
28465 [BZ #6809]
28466 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28467 negative infinity argument.
28468 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28469 negative infinity argument.
28470 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28471 negative infinity argument.
28472 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28473 domain errors.
28474
284752013-05-10 Florian Weimer <fweimer@redhat.com>
28476
28477 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28478 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28479 * iconv/iconv_prog.c (main): Likewise.
28480 * locale/programs/charmap-dir.c (charmap_readdir)
28481 (fopen_uncompressed): Likewise.
28482 * locale/programs/locfile.c (siblings_uncached)
28483 (write_locale_data): Use lstat64 instead of lstat.
28484 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28485 stat.
28486
284872013-05-10 Andreas Jaeger <aj@suse.de>
28488
28489 [BZ #15395]
28490 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28491 localization.
28492 Include <locale.h>.
28493
284942013-05-09 Carlos O'Donell <carlos@redhat.com>
28495
28496 * elf/dl-close.c (_dl_close_worker): Add comments.
28497
284982013-05-09 Joseph Myers <joseph@codesourcery.com>
28499
28500 [BZ #15359]
28501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28502 high part of pi/2.
28503 (__ieee754_rem_pio2l): Update comments.
28504
28505 [BZ #15429]
28506 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28507 high part of pi/2.
28508 (__ieee754_rem_pio2l): Update comments.
28509
28510 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28511 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28512
28513 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28514 M_PI_4l.
28515
28516 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28517 (M_PI_34_LOG10El): Likewise.
28518 (M_PI2_LOG10El): Likewise.
28519 (M_PI4_LOG10El): Likewise.
28520 (M_PI_LOG10El): Likewise.
28521
285222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28523
28524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28525
285262013-05-08 Joseph Myers <joseph@codesourcery.com>
28527
28528 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28529 (MINUS_ZERO_INIT): Likewise.
28530 (PLUS_INFTY_INIT): Likewise.
28531 (MINUS_INFTY_INIT): Likewise.
28532 (QNAN_VALUE_INIT): Likewise.
28533 (MAX_VALUE_INIT): Likewise.
28534 (MIN_VALUE_INIT): Likewise.
28535 (MIN_SUBNORM_VALUE_INIT): Likewise.
28536 (plus_zero): Initialize with PLUS_ZERO_INIT.
28537 (minus_zero): Initialize with MINUS_ZERO_INIT.
28538 (plus_infty): Initialize with PLUS_INFTY_INIT.
28539 (minus_infty): Initialize with MINUS_INFTY_INIT.
28540 (qnan_value): Initialize with QNAN_VALUE_INIT.
28541 (max_value): Initialize with MAX_VALUE_INIT.
28542 (min_value): Initialize with MIN_VALUE_INIT.
28543 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28544
28545 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28546 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28547 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28548 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28549
28550 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28551 (RUN_TEST_2_f): Likewise.
28552 (RUN_TEST_ff_f): Likewise.
28553 (RUN_TEST_fi_f): Likewise.
28554 (RUN_TEST_fl_f): Likewise.
28555 (RUN_TEST_fff_f): Likewise.
28556 (RUN_TEST_c_f): Likewise.
28557 (RUN_TEST_f_f1): Likewise.
28558 (RUN_TEST_fF_f1): Likewise.
28559 (RUN_TEST_fI_f1): Likewise.
28560 (RUN_TEST_ffI_f1): Likewise.
28561 (RUN_TEST_c_c): Likewise.
28562 (RUN_TEST_cc_c): Likewise.
28563 (RUN_TEST_f_i): Likewise.
28564 (RUN_TEST_f_i_tg): Likewise.
28565 (RUN_TEST_ff_i_tg): Likewise.
28566 (RUN_TEST_f_b): Likewise.
28567 (RUN_TEST_f_b_tg): Likewise.
28568 (RUN_TEST_f_l): Likewise.
28569 (RUN_TEST_f_L): Likewise.
28570 (RUN_TEST_sincos): Likewise.
28571 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28572 whether to show exceptions. Do not include ");\n" in return
28573 value.
28574 (special_functions): Output call to RUN_TEST_sincos instead of
28575 check_float calls. Update calls to new_test.
28576 (parse_args): Output call to single RUN_TEST_* macro instead of
28577 check_* calls and other assignments. Update calls to new_test.
28578
28579 [BZ #2546]
28580 [BZ #2560]
28581 [BZ #5159]
28582 [BZ #15426]
28583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28584 input to result for tgamma overflow.
28585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28586 (gamma_coeff): New variable.
28587 (NCOEFF): New macro.
28588 (gamma_positive): New function.
28589 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28590 underflow here. Use gamma_positive instead of exp (lgamma) for
28591 other arguments.
28592 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28593 (gamma_coeff): New variable.
28594 (NCOEFF): New macro.
28595 (gammaf_positive): New function.
28596 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28597 underflow here. Use gamma_positive instead of exp (lgamma) for
28598 other arguments.
28599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28600 (gamma_coeff): New variable.
28601 (NCOEFF): New macro.
28602 (gammal_positive): New function.
28603 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28604 underflow here. Use gamma_positive instead of exp (lgamma) for
28605 other arguments.
28606 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28607 (gamma_coeff): New variable.
28608 (NCOEFF): New macro.
28609 (gammal_positive): New function.
28610 (__ieee754_gammal_r): Handle positive infinity, overflow and
28611 underflow here. Handle NaN the same as positive infinity. Remove
28612 check x < 0xffffffff for negative integers. Use gamma_positive
28613 instead of exp (lgamma) for other arguments.
28614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28615 (gamma_coeff): New variable.
28616 (NCOEFF): New macro.
28617 (gammal_positive): New function.
28618 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28619 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28623 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28624 * sysdeps/generic/math_private.h (__gamma_productf): New
28625 prototype.
28626 (__gamma_product): Likewise.
28627 (__gamma_productl): Likewise.
28628 * math/Makefile (libm-calls): Add gamma_product.
28629 * math/libm-test.inc (tgamma_test): Add more tests.
28630 * sysdeps/i386/fpu/libm-test-ulps: Update.
28631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28632
286332013-05-08 Ondřej Bílka <neleai@seznam.cz>
28634
28635 * benchtests/bench-skeleton.c (main): Preheat CPU.
28636
286372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28638
28639 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28640
286412013-05-07 Roland McGrath <roland@hack.frob.com>
28642
28643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28644 and _dl_skip_args_internal.
28645
286462013-05-07 Carlos O'Donell <carlos@redhat.com>
28647
28648 * manual/message.texi (Message Translation): Talk about users.
28649 Message to key mapping impacts design.
28650
286512013-05-06 Roland McGrath <roland@hack.frob.com>
28652
28653 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28654
28655 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28656
28657 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28658 * sysdeps/wordsize-64/glob64.c: ... here.
28659
28660 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28661 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28662 New macros.
28663
28664 * debug/getlogin_r_chk.c: Moved to ...
28665 * login/getlogin_r_chk.c: ... here.
28666 * debug/Makefile (routines): Move getlogin_r_chk to ...
28667 * login/Makefile (routines): ... here.
28668 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28669 * login/Versions (libc: GLIBC_2.4): ... here.
28670
28671 * io/poll.c (__poll): Renamed from poll.
28672 Add libc_hidden_def.
28673 (poll): Define as weak alias.
28674
28675 * debug/ptsname_r_chk.c: Moved to ...
28676 * login/ptsname_r_chk.c: ... here.
28677 * debug/Makefile (routines): Move ptsname_r_chk to ...
28678 * login/Makefile (routines): ... here.
28679 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28680 * login/Versions (libc: GLIBC_2.4): ... here.
28681
28682 * posix/getlogin.c: Moved to ...
28683 * login/getlogin.c: ... here.
28684 * posix/getlogin_r.c: Moved to ...
28685 * login/getlogin_r.c: ... here.
28686 * posix/getlogin_r.c: Moved to ...
28687 * login/getlogin_r.c: ... here.
28688 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28689 * login/Makefile (routines): ... here.
28690 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28691 * login/Versions (libc: GLIBC_2.0): ... here.
28692
28693 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28694 (setrlimit): Define as weak alias.
28695
28696 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28697 Call __ names for open, ftruncate, and close.
28698 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28699 (truncate): Define as weak alias.
28700
287012013-05-06 Joseph Myers <joseph@codesourcery.com>
28702
28703 * math/gen-libm-test.pl (parse_args): Initialize x before each
28704 test of frexp, modf and remquo.
28705
28706 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28707 test signgam value.
28708
287092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28710
28711 [BZ #15418]
28712 [BZ #15419]
28713 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28714 internal tests.
28715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28716
287172013-05-06 Roland McGrath <roland@hack.frob.com>
28718
28719 * elf/dl-writev.h: New file.
28720 * elf/dl-misc.c: Include it.
28721 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28722 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28723
287242013-05-04 Joseph Myers <joseph@codesourcery.com>
28725
28726 * math/libm-test.inc (noXFails): Remove variable.
28727 (noXPasses): Likewise.
28728 (BUILD_COMPLEX_INT): Remove macro.
28729 (print_screen): Remove xfail argument.
28730 (print_screen_max_error): Likewise.
28731 (update_stats): Likewise.
28732 (print_max_error): Likewise. Update calls to other affected
28733 functions.
28734 (print_complex_max_error): Likewise.
28735 (test_single_exception): Update calls to print_screen.
28736 (test_single_errno): Likewise.
28737 (check_float_internal): Remove xfail argument. Update calls to
28738 other affected functions.
28739 (check_float): Likewise.
28740 (check_complex): Likewise.
28741 (check_int): Likewise.
28742 (check_long): Likewise.
28743 (check_bool): Likewise.
28744 (check_longlong): Likewise.
28745 (main): Don't print noXFails and noXPasses.
28746 * math/gen-libm-test.pl (top level): Don't mention expected
28747 failure handling in comment.
28748 (new_test): Don't handle expected failures.
28749 (parse_args): Don't mention expected failure handling in comment.
28750 (generate_testfile): Don't handle expected failures.
28751 (parse_ulps): Likewise.
28752 (print_ulps_file): Likewise.
28753 (get_failure): Remove function.
28754 (output_test): Don't handle expected failures.
28755 * make/README.libm-test: Don't mention expected failure handling.
28756
28757 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28758 (minus_zero): Likewise.
28759 (plus_infty): Likewise.
28760 (minus_infty): Likewise.
28761 (qnan_value): Likewise.
28762 (max_value): Likewise.
28763 (min_value): Likewise.
28764 (min_subnorm_value): Likewise.
28765 (initialize): Do not initialize those variables dynamically.
28766
287672013-05-03 Roland McGrath <roland@hack.frob.com>
28768
28769 * io/open.c (__open_2): Moved to ...
28770 * io/open_2.c: ... this new file.
28771 * io/open64.c (__open64_2): Moved to ...
28772 * io/open64_2.c: ... this new file.
28773 * io/openat.c (__openat_2): Moved to ...
28774 * io/openat_2.c: ... this new file.
28775 * io/openat64.c (__openat64_2): Moved to ...
28776 * io/openat64_2.c: ... this new file.
28777 * io/Makefile (routines): Add them.
28778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28779 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28780 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28781 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28782 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28783 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28784 (__openat64): Add hidden_ver.
28785 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28786 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28787
28788 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28789 Separately conditionalize setting of GLRO(dl_sysinfo) so
28790 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28791 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28792
287932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28794
28795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28797 definition.
28798 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28799 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28800 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28801 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28802 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28803
288042013-05-03 Joseph Myers <joseph@codesourcery.com>
28805
28806 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28807 test signgam value.
28808
28809 * math/libm-test.inc (hypot_test): Do not use
28810 IGNORE_ZERO_INF_SIGN.
28811
288122013-05-03 Andreas Jaeger <aj@suse.de>
28813
28814 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28815 Linux 3.9.
28816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28817 (PF_MAX): Adjust for VSOCK change.
28818
288192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28820
28821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28822
288232013-05-02 Carlos O'Donell <carlos@redhat.com>
28824
28825 [BZ #15264]
28826 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28827 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28828 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28829
288302013-05-02 David S. Miller <davem@davemloft.net>
28831
28832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28833
288342013-05-01 Ondřej Bílka <neleai@seznam.cz>
28835
28836 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28837
288382013-05-01 Roland McGrath <roland@hack.frob.com>
28839
28840 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28841
288422013-05-01 Richard Smith <richard@metafoo.co.uk>
28843
28844 [BZ #14952]
28845 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28846 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28847 Use __attribute__ ((__gnu_inline__)).
28848 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28849 Don't use __attribute__ ((__gnu_inline__)).
28850
288512013-05-01 Joseph Myers <joseph@codesourcery.com>
28852
28853 [BZ #15423]
28854 * math/s_catan.c (__catan): Handle small real or imaginary part of
28855 input specially to avoid spurious underflow.
28856 * math/s_catanf.c (__catanf): Likewise.
28857 * math/s_catanh.c (__catanh): Likewise.
28858 * math/s_catanhf.c (__catanhf): Likewise.
28859 * math/s_catanhl.c (__catanhl): Likewise.
28860 * math/s_catanl.c (__catanl): Likewise.
28861 * math/libm-test.inc (catan_test): Add more tests.
28862 (catanh_test): Likewise.
28863 * sysdeps/i386/fpu/libm-test-ulps: Update.
28864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28865
288662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28867
28868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28869
288702013-04-30 Joseph Myers <joseph@codesourcery.com>
28871
28872 [BZ #15416]
28873 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28874 accurately for denominator in atan2.
28875 * math/s_catanf.c (__catanf): Likewise.
28876 * math/s_catanh.c (__catanh): Likewise.
28877 * math/s_catanhf.c (__catanhf): Likewise.
28878 * math/s_catanhl.c (__catanhl): Likewise.
28879 * math/s_catanl.c (__catanl): Likewise.
28880 * math/libm-test.inc (catan_test): Add more tests.
28881 (catanh_test): Likewise.
28882 * sysdeps/i386/fpu/libm-test-ulps: Update.
28883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28884
288852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28886
28887 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28888
28889 * benchtests/Makefile (bench): Remove slow benchmarks.
28890 * benchtests/atan-inputs: Add slow benchmark inputs.
28891 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28892 (BENCH_FUNC): Accept variant offset.
28893 (VARIANT): Define.
28894 * benchtests/bench-skeleton.c (main): Run benchmark for each
28895 variant.
28896 * benchtests/cos-inputs: Add slow benchmark inputs.
28897 * benchtests/exp-inputs: Likewise.
28898 * benchtests/pow-inputs: Likewise.
28899 * benchtests/sin-inputs: Likewise.
28900 * benchtests/slowatan-inputs: Remove.
28901 * benchtests/slowatan.c: Remove.
28902 * benchtests/slowcos-inputs: Remove.
28903 * benchtests/slowcos.c: Remove.
28904 * benchtests/slowexp-inputs: Remove.
28905 * benchtests/slowexp.c: Remove.
28906 * benchtests/slowpow-inputs: Remove.
28907 * benchtests/slowpow.c: Remove.
28908 * benchtests/slowsin-inputs: Remove.
28909 * benchtests/slowsin.c: Remove.
28910 * benchtests/slowtan-inputs: Remove.
28911 * benchtests/slowtan.c: Remove.
28912 * benchtests/tan-inputs: Add slow benchmark inputs.
28913 * scripts/bench.pl: Parse comments and directives.
28914
28915 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28916 in CPPFLAGS.
28917 ($(objpfx)bench-%.c): Remove *-ITER.
28918 * benchtests/bench-modf.c: Remove definition of ITER.
28919 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28920 (main): Loop for DURATION seconds instead of fixed number of
28921 iterations.
28922 * scripts/bench.pl: Don't expect iterations in parameters.
28923
289242013-04-29 Roland McGrath <roland@hack.frob.com>
28925
28926 * io/fchdir.c (__fchdir): Renamed from fchdir.
28927 (fchdir): Define as weak alias.
28928
289292013-04-29 Joseph Myers <joseph@codesourcery.com>
28930
28931 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28932 (ERRNO_EDOM): Likewise.
28933 (ERRNO_ERANGE): Likewise.
28934 (noErrnoTests): New variable.
28935 (init_max_error): Set errno to 0.
28936 (test_single_errno): New function.
28937 (test_errno): Likewise.
28938 (check_float_internal): Call test_errno. Set errno to 0.
28939 (check_complex): Refer to errno tests in comment.
28940 (check_int): Call test_errno. Set errno to 0.
28941 (check_long): Likewise.
28942 (check_bool): Likewise.
28943 (check_longlong): Likewise.
28944 (cos_test): Use ERRNO_* flags for errno tests instead of
28945 check_int.
28946 (expm1_test): Likewise.
28947 (fmod_test): Likewise.
28948 (ilogb_test): Likewise.
28949 (lgamma_test): Likewise.
28950 (pow_test): Likewise.
28951 (remainder_test): Likewise.
28952 (sin_test): Likewise.
28953 (tan_test): Likewise.
28954 (yn_test): Likewise.
28955 (initialize): Set errno to 0.
28956 (main): Print number of errno tests.
28957 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28958
289592013-04-29 Andreas Jaeger <aj@suse.de>
28960
28961 [BZ #15084]
28962 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28963 and RES_USEVC.
28964
28965 [BZ #15085]
28966 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28967 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28968 unimplemented.
28969
28970 [BZ #15380]
28971 * stdlib/random.c (__initstate): Return NULL if
28972 __initstate fails.
28973
28974 [BZ #15086]
28975 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28976 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28977 RES_SNGLKUPREOP.
28978
289792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28980
28981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28982
289832013-04-29 Joseph Myers <joseph@codesourcery.com>
28984
28985 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28986 of individual tests.
28987 (casin_test): Likewise.
28988 (casinh_test): Likewise.
28989
289902013-04-27 Joseph Myers <joseph@codesourcery.com>
28991
28992 [BZ #15409]
28993 * math/s_catan.c (__catan): Handle arguments with large real or
28994 imaginary part separately without squaring.
28995 * math/s_catanf.c (__catanf): Likewise.
28996 * math/s_catanh.c (__catanh): Likewise.
28997 * math/s_catanhf.c (__catanhf): Likewise.
28998 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28999 and redefine.
29000 (__catanhl): Handle arguments with large real or imaginary part
29001 separately without squaring.
29002 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29003 and redefine.
29004 (__catanl): Handle arguments with large real or imaginary part
29005 separately without squaring.
29006 * math/libm-test.inc (catan_test): Add more tests.
29007 (catanh_test): Likewise.
29008 * sysdeps/i386/fpu/libm-test-ulps: Update.
29009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29010
290112013-04-27 Andreas Jaeger <aj@suse.de>
29012
29013 [BZ #15007]
29014 * stdlib/stdlib.h: Update guards for qecvt.
29015 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29016 <stdlib.h>.
29017
290182013-04-27 Allan McRae <allan@archlinux.org>
29019
29020 * sysdeps/i386/fpu/libm-test-ulps: Update.
29021
290222013-04-26 Joseph Myers <joseph@codesourcery.com>
29023
29024 [BZ #15406]
29025 * math/s_catan.c: Include <float.h>.
29026 (__catan): Ensure underflow exception occurs for underflowed
29027 result.
29028 * math/s_catanf.c: Include <float.h>.
29029 (__catanf): Ensure underflow exception occurs for underflowed
29030 result.
29031 * math/s_catanh.c: Include <float.h>.
29032 (__catanh): Ensure underflow exception occurs for underflowed
29033 result.
29034 * math/s_catanhf.c: Include <float.h>.
29035 (__catanhf): Ensure underflow exception occurs for underflowed
29036 result.
29037 * math/s_catanhl.c: Include <float.h>.
29038 (__catanhl): Ensure underflow exception occurs for underflowed
29039 result.
29040 * math/s_catanl.c: Include <float.h>.
29041 (__catanl): Ensure underflow exception occurs for underflowed
29042 result.
29043 * math/libm-test.inc (catan_test): Add more tests.
29044 (catanh_test): Likewise.
29045
29046 [BZ #15405]
29047 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29048 underflowed result.
29049 * math/s_ccoshf.c (__ccoshf): Likewise.
29050 * math/s_ccoshl.c (__ccoshl): Likewise.
29051 * math/s_csin.c (__csin): Likewise.
29052 * math/s_csinf.c (__csinf): Likewise.
29053 * math/s_csinh.c (__csinh): Likewise.
29054 * math/s_csinhf.c (__csinhf): Likewise.
29055 * math/s_csinhl.c (__csinhl): Likewise.
29056 * math/s_csinl.c (__csinl): Likewise.
29057 * math/libm-test.inc (ccos_test): Add more tests.
29058 (ccosh_test): Likewise.
29059 (csin_test): Likewise.
29060 (csinh_test): Likewise.
29061
290622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29063
29064 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29065 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29066 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29067 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29068 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29069 powerpc/power5+/fpu folders.
29070 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29071
29072
290732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29074
29075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29076
290772013-04-25 Joseph Myers <joseph@codesourcery.com>
29078
29079 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29080 additions to variable.
29081 [$(config-machine) = x86_64] (modules-names): Likewise.
29082 ($(objpfx)tst-audit3): Remove dependency.
29083 ($(objpfx)tst-audit3.out): Likewise.
29084 ($(objpfx)tst-audit4): Likewise.
29085 ($(objpfx)tst-audit4.out): Likewise.
29086 ($(objpfx)tst-audit5): Likewise.
29087 ($(objpfx)tst-audit5.out): Likewise.
29088 ($(objpfx)tst-audit6): Likewise.
29089 ($(objpfx)tst-audit6.out): Likewise.
29090 ($(objpfx)tst-audit7): Likewise.
29091 ($(objpfx)tst-audit7.out): Likewise.
29092 (tst-audit3-ENV): Remove variable.
29093 (tst-audit4-ENV): Likewise.
29094 (tst-audit5-ENV): Likewise.
29095 (tst-audit6-ENV): Likewise.
29096 (tst-audit7-ENV): Likewise.
29097 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29098 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29099 addition to variable.
29100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29105 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29106 tst-audit3, tst-audit4 and tst-audit5.
29107 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29108 tst-audit6 and tst-audit7.
29109 [$(subdir) = elf] (modules-names): Add audit modules for those
29110 tests.
29111 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29112 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29113 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29114 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29115 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29116 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29117 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29118 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29119 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29120 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29121 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29122 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29123 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29124 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29125 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29126 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29127 Likewise.
29128 [$(subdir) = elf && $(config-cflags-avx) = yes]
29129 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29130 [$(subdir) = elf && $(config-cflags-avx) = yes]
29131 (CFLAGS-tst-auditmod4a.c): Likewise.
29132 [$(subdir) = elf && $(config-cflags-avx) = yes]
29133 (CFLAGS-tst-auditmod4b.c): Likewise.
29134 [$(subdir) = elf && $(config-cflags-avx) = yes]
29135 (CFLAGS-tst-auditmod6b.c): Likewise.
29136 [$(subdir) = elf && $(config-cflags-avx) = yes]
29137 (CFLAGS-tst-auditmod6c.c): Likewise.
29138 [$(subdir) = elf && $(config-cflags-avx) = yes]
29139 (CFLAGS-tst-auditmod7b.c): Likewise.
29140 * elf/tst-audit3.c: Move to ...
29141 * sysdeps/x86_64/tst-audit3.c: ... here.
29142 * elf/tst-audit4.c: Move to ...
29143 * sysdeps/x86_64/tst-audit4.c: ... here.
29144 * elf/tst-audit5.c: Move to ...
29145 * sysdeps/x86_64/tst-audit5.c: ... here.
29146 * elf/tst-audit6.c: Move to ...
29147 * sysdeps/x86_64/tst-audit6.c: ... here.
29148 * elf/tst-audit7.c: Move to ...
29149 * sysdeps/x86_64/tst-audit7.c: ... here.
29150 * elf/tst-auditmod3a.c: Move to ...
29151 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29152 * elf/tst-auditmod3b.c: Move to ...
29153 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29154 * elf/tst-auditmod4a.c: Move to ...
29155 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29156 * elf/tst-auditmod4b.c: Move to ...
29157 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29158 * elf/tst-auditmod5a.c: Move to ...
29159 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29160 * elf/tst-auditmod5b.c: Move to ...
29161 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29162 * elf/tst-auditmod6a.c: Move to ...
29163 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29164 * elf/tst-auditmod6b.c: Move to ...
29165 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29166 * elf/tst-auditmod6c.c: Move to ...
29167 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29168 * elf/tst-auditmod7a.c: Move to ...
29169 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29170 * elf/tst-auditmod7b.c: Move to ...
29171 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29172
291732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29174
29175 [BZ #15366]
29176 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29177 define unconditionally.
29178 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29179 define unconditionally.
29180 (INT8_C, INT16_C, etc.): Likewise.
29181
291822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29183
29184 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29185 __ehdr_start with hidden visibility.
29186
29187 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29188
291892013-04-24 Carlos O'Donell <carlos@redhat.com>
29190
29191 * math/libm-test.inc (cos_test): Use accurate hex constants.
29192 (sincost_test): Likewise.
29193
291942013-04-24 Joseph Myers <joseph@codesourcery.com>
29195
29196 * math/libm-test.inc (catan_test): Add more tests.
29197 (catanh_test): Likewise.
29198
29199 * math/s_catanf.c (__catanf): Use suffixed floating-point
29200 constants.
29201 * math/s_catanhf.c (__catanhf): Likewise.
29202 * math/s_catanhl.c (__catanhl): Likewise.
29203 * math/s_catanl.c (__catanl): Likewise.
29204
29205 [BZ #15394]
29206 * math/s_catan.c (__catan): Calculate imaginary part of result
29207 with log1p not log unless computing log of number close to 0.
29208 * math/s_catanf.c (__catanf): Likewise.
29209 * math/s_catanl.c (__catanl): Likewise.
29210 * math/s_catanh.c (__catanh): Calculate real part of result with
29211 log1p not log unless computing log of number close to 0.
29212 * math/s_catanhf.c (__catanhf): Likewise.
29213 * math/s_catanhl.c (__catanhl): Likewise.
29214 * math/libm-test.inc (catan_test): Add more tests.
29215 (catanh_test): Likewise.
29216 * sysdeps/i386/fpu/libm-test-ulps: Update.
29217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29218
292192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29220
29221 * benchtests/Makefile: Mention files in which fast and slow
29222 paths of math functions are implemented.
29223
292242013-04-23 Roland McGrath <roland@hack.frob.com>
29225
29226 * sysdeps/posix/timespec_get.c: New file.
29227
292282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29229
29230 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29231 POWER.
29232 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29233 for POWER.
29234 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29235 powerpc/power5/fpu folders.
29236 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29237 * benchtests/Makefile: Add modf testcase.
29238 * benchtests/bench-modf.c: New file: Benchmark test for mo
29239
292402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29241
29242 [BZ #14888]
29243 * time/Makefile (tests): Add tst-strptime-whitespace.
29244 * time/strptime_l.c (get_number): Use ISSPACE.
29245 (__strptime_internal): Likewise.
29246 * time/tst-strptime-whitespace.c: New test case.
29247
292482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29249
29250 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29251 member.
29252 (_nss_files_init): Set it here.
29253
292542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29255
29256 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29257 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29258 unsigned.
29259
292602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29261
29262 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29263
292642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29265
29266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29267 size just once.
29268
292692013-04-21 David S. Miller <davem@davemloft.net>
29270
29271 * po/ru.po: Update Russion translation from translation project.
29272
292732013-04-17 Adam Conrad <adconrad@0c3.net>
29274
29275 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29276 and setfsgid.
29277
292782013-04-17 Carlos O'Donell <carlos@redhat.com>
29279
29280 * configure.in: Remove i386 configure warning. Remove i386 case.
29281 * configure: Regenerate.
29282 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29283 Add example to error message.
29284 * sysdeps/i386/configure: Regenerate.
29285
292862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29287
29288 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29289 slowtan.
29290 * benchtests/cos-inputs: New file.
29291 * benchtests/slowcos-inputs: New file.
29292 * benchtests/slowcos.c: New file.
29293 * benchtests/slowtan-inputs: New file.
29294 * benchtests/slowtan.c: New file.
29295 * benchtests/tan-inputs: New file.
29296
292972013-04-16 Roland McGrath <roland@hack.frob.com>
29298
29299 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29300 considered kosher.
29301
293022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29303
29304 * benchtests/Makefile: Include cppflags-iterator.mk to add
29305 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29306
29307 * Makefile.in (bench-clean): New target.
29308 * benchtests/Makefile (bench-clean): Likewise.
29309
293102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29311
29312 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29313
293142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29315
29316 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29317
293182013-04-15 Andreas Schwab <schwab@suse.de>
29319
29320 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29322 * nscd/pwdcache.c (cache_addpw): Likewise.
29323 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29324 more than recsize.
29325
293262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29327
29328 * benchtests/Makefile (bench): Write all output to
29329 bench-out.tmp together.
29330
293312013-04-15 Andreas Schwab <schwab@suse.de>
29332
29333 * nscd/nscd.c (main): Don't fork again after closing files.
29334
293352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29336
29337 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29338
29339 * benchtests/Rules (bench-deps): Collect dependencies into a
29340 single variable. Add Makefile to dependencies.
29341 ($(objpfx)bench-%.c): Depend on bench-deps.
29342
293432013-04-12 Roland McGrath <roland@hack.frob.com>
29344 Xavier Roche <roche+kml2@exalead.com>
29345
29346 [BZ #15361]
29347 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29348 just that it's a file descriptor.
29349 * manual/llio.texi (Synchronizing AIO Operations): Update description
29350 for EBADF error from aio_fsync.
29351
293522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29353
29354 * Rules (bench): Move target definition...
29355 * benchtests/Makefile: ... here.
29356
293572013-04-11 Carlos O'Donell <carlos@redhat.com>
29358
29359 * math/libm-test.inc (cos_test): Fix PI/2 test.
29360 (sincos_test): Likewise.
29361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29362 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29363
293642013-04-11 Andreas Schwab <schwab@suse.de>
29365
29366 [BZ #13988]
29367 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29368 accept exponent character only when digits were seen.
29369 * stdio-common/Makefile (tests): Add bug26.
29370 * stdio-common/bug26.c: New file.
29371
29372 [BZ #14293]
29373 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29374 non-freeable.
29375
293762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29377
29378 * Makeconfig (rtld-prefix): Define built linker prefix.
29379 * Rules (run-bench): Use it.
29380 * math/Makefile (run-regen-ulps): Likewise.
29381
29382 * Rules (bench): Remove eval.
29383
293842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29385 Roland McGrath <roland@hack.frob.com>
29386 Ondrej Bilka <neleai@seznam.cz>
29387
29388 [BZ #15346]
29389 * time/getdate.c: Include ctype.h and alloca.h.
29390 (__getdate_r): Trim leading and trailing spaces of input.
29391 * time/tst-getdate.c (tests): Add tests with leading and
29392 trailing spaces.
29393
293942013-04-08 Roland McGrath <roland@hack.frob.com>
29395
29396 [BZ #14280]
29397 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29398 when computing value.
29399
294002013-04-06 Carlos O'Donell <carlos@redhat.com>
29401
29402 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29403 Use testrun.sh to run libm tests.
29404
29405 [BZ #15309]
29406 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29407
294082013-04-06 Marko Myllynen <myllynen@redhat.com>
29409
29410 [BZ #15264]
29411 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29412
294132013-04-06 Carlos O'Donell <carlos@redhat.com>
29414
29415 * Makefile.in (regen-ulps): New target.
29416 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29417 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29418 [ifneq (no,$(PERL)] (regen-ulps): New target.
29419 [ifeq (no,$(PERL)] (regen-ulps): New target.
29420 * math/libm-test.inc (ulps_file_name): Define.
29421 (output_dir): New variable.
29422 (options): Add "output-dir" option.
29423 (parse_opt): Handle 'o' case.
29424 (main): If output_dir is non-NULL use it as a prefix
29425 otherwise use "".
29426 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29427
294282013-04-06 Carlos O'Donell <carlos@redhat.com>
29429
29430 [BZ #10060, #10062]
29431 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29432 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29433 fail configure if __sync_val_compare_and_swap is not inlined.
29434 * sysdeps/i386/configure: Regenerate.
29435 * configure.in: Build for i686 when configured for i386.
29436 * configure: Regenerate.
29437 * README: Remove i386 reference.
29438
294392013-04-06 Carlos O'Donell <carlos@redhat.com>
29440
29441 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29443
294442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29445
29446 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29447 (lmsnanval): New variables.
29448 (F): Add conversion tests.
29449 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29450 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29451
29452 * stdio-common/tstdiomisc.c (F): Properly collect individual
29453 tests' results.
29454
29455 [BZ #14686, #15336]
29456 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29458 Instead, use input NaN values or generate a qNaN by arithmetic
29459 operation. Also fix bugs to comply with the standard.
29460 * math/libm-test.inc (remainder_test): Add more tests.
29461
29462 [BZ #15335, #15342]
29463 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29465 input NaN values or generate a qNaN by arithmetic operation.
29466
29467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29468 unreachable code.
29469
29470 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29471 definitions.
29472
294732013-04-03 Joseph Myers <joseph@codesourcery.com>
29474
29475 [BZ #14478]
29476 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29477 underflowed result.
29478 * math/s_cexpf.c (__cexpf): Likewise.
29479 * math/s_cexpl.c (__cexpl): Likewise.
29480 * math/libm-test.inc (cexp_test): Add more tests.
29481
294822013-04-03 Andreas Schwab <schwab@suse.de>
29483
29484 [BZ #15330]
29485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29486 order arrays from heap if bigger than alloca cutoff.
29487
294882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29489
29490 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29491 (SNAN_TESTS_double): Refer to GCC PR56831.
29492 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29493 GCC PR56828.
29494
294952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29496
29497 * Rules (bench): Move bench.out after the run is complete.
29498
29499 * Rules (bench): Echo currently running benchmark.
29500
29501 * benchtests/Makefile (bench): Add atan and slowatan.
29502 * benchtests/atan-inputs: New file.
29503 * benchtests/slowatan-inputs: New file.
29504 * benchtests/slowatan.c: New file.
29505
29506 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29508 its value.
29509
29510 [BZ #15305]
29511 * sysdeps/unix/sysv/linux/kernel-features.h
29512 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29513 __ASSUME_XFS_RESTRICTED_CHOWN.
29514 * sysdeps/unix/sysv/linux/pathconf.c
29515 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29516 Save and restore errno.
29517
295182013-04-02 Joseph Myers <joseph@codesourcery.com>
29519
29520 [BZ #15327]
29521 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29522 arguments using __kernel_casinh.
29523 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29524 arguments using __kernel_casinhf.
29525 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29526 arguments using __kernel_casinhl.
29527 * math/libm-test.inc (cacosh_test): Add more tests.
29528 * sysdeps/i386/fpu/libm-test-ulps: Update.
29529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29530
295312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29532
29533 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29535
29536 * bench/Makefile (bench): Add sin and slowsin.
29537 * benchtests/sin-inputs: New file.
29538 * benchtests/slowsin-inputs: New file.
29539 * benchtests/slowsin.c: New file.
29540
29541 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29542 (bench): Add slowexp and slowpow.
29543 (exp-ITER): Increase iterations.
29544 (pow-ITER): Likewise.
29545 * benchtests/exp-inputs: Change input.
29546 * benchtests/pow-inputs: Likewise.
29547 * benchtests/slowexp-inputs: New file.
29548 * benchtests/slowexp.c: New file.
29549 * benchtests/slowpow-inputs: New file.
29550 * benchtests/slowpow.c: New file.
29551
295522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29553
29554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29555 instructions.
29556 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29557 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29558 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29559 * benchtests/Makefile: Add rint benchtest.
29560 * benchtests/rint-inputs: Input for rint benchtest.
29561
295622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29563
29564 * Versions.def (libm): Add GLIBC_2.18.
29565 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29566 hidden libm prototypes.
29567 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29568 * math/Makefile (libm-calls): Add s_issignaling.
29569 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29570 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29571 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29572 declaration.
29573 * math/math.h [__USE_GNU] (issignaling): New macro.
29574 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29575 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29576 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29577 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29578 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29580 * manual/arith.texi (issignaling): New section.
29581 * manual/libm-err-tab.pl (@all_functions): Update comment.
29582 * math/gen-libm-test.pl (parse_args): Apply special handling for
29583 issignaling.
29584 * math/libm-test.inc (print_float, issignaling_test): New
29585 functions.
29586 (check_float_internal): Add issignaling checks.
29587 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29588 default definition.
29589 * sysdeps/powerpc/math-tests.h: New file.
29590 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29591 tests.
29592 * math/test-snan.c (TEST_FUNC): Likewise.
29593
295942013-03-30 David S. Miller <davem@davemloft.net>
29595
29596 * po/de.po: Update from translation team.
29597
295982013-03-30 Joseph Myers <joseph@codesourcery.com>
29599
29600 [BZ #10357]
29601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29602 imaginary part less than 1.0 and real part less than 0.5
29603 specially.
29604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29606 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29607 (cacos_test): Add more tests.
29608 (casin_test): Likewise.
29609 (casinh_test): Likewise.
29610 * sysdeps/i386/fpu/libm-test-ulps: Update.
29611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29612
296132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29614
29615 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29616 ONE with its value.
29617
29618 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29619 (__pow_mp): Replace ONE and MONE with their values.
29620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29626
29627 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29628
29629 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29630 (__pow_mp): Replace ZERO and MZERO with their values.
29631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29636 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29637 (__sqr): Likewise.
29638
29639 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29640
29641 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29642
296432013-03-28 Roland McGrath <roland@hack.frob.com>
29644
29645 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29646 Declare with __attribute__ ((weak)).
29647 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29648 Call __call_tls_dtors only if it's not NULL.
29649
296502013-03-28 Roland McGrath <roland@hack.frob.com>
29651
29652 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29653 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29654 magic __ehdr_start linker symbol if it's defined.
29655 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29656 them up here if it was already done.
29657
29658 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29659 (_dl_aux_init): Use const in cast when setting it.
29660 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29661 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29662 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29663
29664 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29665 Declare them here.
29666 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29667 * csu/libc-tls.c: Nor here.
29668 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29669
29670 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29671 (__libc_message): Never call vsyslog.
29672
296732013-03-28 Alan Modra <amodra@gmail.com>
29674
29675 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29676 Define as empty.
29677 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29678 Likewise.
29679
296802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29681
29682 [BZ #15214]
29683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29684 underflow.
29685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29686
296872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29688
29689 [BZ #15304]
29690 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29691 Don't add gid passed as argument.
29692
29693 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29694
296952013-03-27 Joseph Myers <joseph@codesourcery.com>
29696
29697 [BZ #15307]
29698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29699 imaginary part between 1.0 and 1.5 and real part less than 0.5
29700 specially.
29701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29703 * math/libm-test.inc (cacos_test): Add more tests.
29704 (casin_test): Likewise.
29705 (casinh_test): Likewise.
29706 * sysdeps/i386/fpu/libm-test-ulps: Update.
29707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29708
297092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29710
29711 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29712 constants.
29713 (norm): Likewise.
29714 (denorm): Likewise.
29715 (__dbl_mp): Likewise.
29716 (add_magnitudes): Likewise.
29717 (sub_magnitudes): Likewise.
29718 (__add): Likewise.
29719 (__sub): Likewise.
29720 (__mul): Likewise.
29721 (__sqr): Likewise.
29722 (__inv): Likewise.
29723 (__dvd): Likewise.
29724
29725 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29726 commented code.
29727 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29728 (__dubcos): Likewise.
29729 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29730 (__ieee754_acos): Likewise.
29731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29733 (__exp1): Likewise.
29734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29736 (log1): Likewise.
29737 (my_log2): Likewise.
29738 (checkint): Likewise.
29739 * sysdeps/ieee754/dbl-64/e_remainder.c
29740 (__ieee754_remainder): Likewise.
29741 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29743 (bsloww): Likewise.
29744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29745
29746 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29748 MANTISSA_STORE_T to store computations on mantissa. Use
29749 macros for rounding and division.
29750 (denorm): Likewise.
29751 (__dbl_mp): Likewise.
29752 (add_magnitudes): Likewise.
29753 (sub_magnitudes): Likewise.
29754 (__mul): Likewise.
29755 (__sqr): Likewise.
29756 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29757 powers of two in terms of TWOPOW macro.
29758 (mp_no): Make type of mantissa as MANTISSA_T.
29759 [!RADIXI]: Define RADIXI.
29760 [!TWO52]: Define TWO52.
29761 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29762
297632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29764
29765 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29766 llroundl symbol when building for PPC32.
29767
297682013-03-24 Mark H Weaver <mhw@netris.org>
29769
29770 * manual/arith.texi (Normalization Functions): Fix prototypes for
29771 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29772
297732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29774
29775 [BZ #13889]
29776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29777 high value to check if expl overflow.
29778 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29779 to check for underflow and overflow.
29780 * math/libm-test.inc: Add exp test.
29781
297822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29783
29784 [BZ #11120]
29785 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29786 with NOT_IN_libc.
29787
297882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29789
29790 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29791 symbol.
29792
297932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29794
29795 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29796 wrap blocks consisting of several statements.
29797
29798 * sysdeps/generic/math-tests.h: New file.
29799 * sysdeps/i386/fpu/math-tests.h: Likewise.
29800 * math/test-snan.c: Include it.
29801 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29802
298032013-03-21 Joseph Myers <joseph@codesourcery.com>
29804
29805 [BZ #15285]
29806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29807 (__ieee754_j0l): Do not improve calculations using cos of twice
29808 input for inputs above LDBL_MAX / 2.0L.
29809 (__ieee754_y0l): Likewise.
29810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29811 (__ieee754_j1l): Do not improve calculations using cos of twice
29812 input for inputs above LDBL_MAX / 2.0L.
29813 (__ieee754_y1l): Likewise.
29814 * math/libm-test.inc (j0_test): Add another test.
29815 (j1_test): Likewise.
29816 (y0_test): Likewise.
29817 (y1_test): Likewise.
29818 * sysdeps/i386/fpu/libm-test-ulps: Update.
29819
298202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29821
29822 * Rules ($(objpfx)bench-%.c): Include code from a C source
29823 file.
29824
298252013-03-21 Joseph Myers <joseph@codesourcery.com>
29826
29827 [BZ #15287]
29828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29829 imaginary part 1.0 and real part less than 0.5 specially.
29830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29832 * math/libm-test.inc (cacos_test): Add more tests.
29833 (casin_test): Likewise.
29834 (casinh_test): Likewise.
29835 * sysdeps/i386/fpu/libm-test-ulps: Update.
29836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29837
298382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29839
29840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29842
298432013-03-20 Joseph Myers <joseph@codesourcery.com>
29844
29845 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29846 * config.make.in (config-cflags-sse4): Remove variable.
29847 (config-cflags-avx): Likewise.
29848 (config-cflags-sse2avx): Likewise.
29849 (config-cflags-novzeroupper): Likewise.
29850 (config-asflags-i686): Likewise.
29851 (have-mfma4): Likewise.
29852 (have-as-vis3): Likewise.
29853 (MIG): Likewise.
29854 * configure.in (MIG): Do not AC_SUBST.
29855 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29856 (libc_cv_cc_sse4): Do not AC_SUBST.
29857 (libc_cv_cc_avx): Likewise.
29858 (libc_cv_cc_sse2avx): Likewise.
29859 (libc_cv_cc_novzeroupper): Likewise.
29860 (libc_cv_cc_fma4): Likewise.
29861 (libc_cv_as_i686): Likewise.
29862 (libc_cv_sparc_as_vis3): Likewise.
29863 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29864 LIBC_CONFIG_VAR.
29865 (config-asflags-i686): Likewise.
29866 (config-cflags-avx): Likewise.
29867 (config-cflags-sse2avx): Likewise.
29868 (have-mfma4): Likewise.
29869 (config-cflags-novzeroupper): Likewise.
29870 * sysdeps/mach/configure.in (MIG): Likewise.
29871 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29872 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29873 LIBC_CONFIG_VAR.
29874 (config-cflags-avx): Likewise.
29875 (config-cflags-sse2avx): Likewise.
29876 (have-mfma4): Likewise.
29877 (config-cflags-novzeroupper): Likewise.
29878 * configure: Regenerated.
29879 * sysdeps/i386/configure: Likewise.
29880 * sysdeps/mach/configure: Likewise.
29881 * sysdeps/sparc/configure: Likewise.
29882 * sysdeps/x86_64/configure: Likewise.
29883
298842013-03-20 Roland McGrath <roland@hack.frob.com>
29885
29886 [BZ #14812]
29887 * locale/programs/localedef.c (options): Put N_ translation marker
29888 on argument names, not just descriptions.
29889
298902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29891
29892 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29893
298942013-03-20 Ondřej Bílka <neleai@seznam.cz>
29895
29896 [BZ #14176]
29897 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29898
298992013-03-19 Roland McGrath <roland@hack.frob.com>
29900
29901 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29902 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29903 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29904 [!BEFORE_ABORT] (before_abort): New function.
29905 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29906 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29907 (writev_for_fatal): New function.
29908 (WRITEV_FOR_FATAL): New macro; call that.
29909 (backtrace_and_maps): New function.
29910 (BEFORE_ABORT): New macro; call that.
29911 (struct str_list): Type removed.
29912 (__libc_message, __libc_fatal): Functions removed.
29913 Include <sysdeps/posix/libc_fatal.c> instead.
29914
299152013-03-19 Joseph Myers <joseph@codesourcery.com>
29916
29917 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29918 constants.
29919 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29920 double constants.
29921
299222013-03-19 Andreas Schwab <schwab@suse.de>
29923
29924 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29925 * sysdeps/gnu/configure: Regenerate.
29926
29927 * configure.in: Substitute libc_cv_rtlddir.
29928 * configure: Regenerate.
29929 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29930 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29931 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29932 * elf/Makefile (install-others, CFLAGS-interp.c)
29933 (ldso_install, common-ldd-rewrite): Likewise.
29934 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29935 $(inst_slibdir)/$(rtld-installed-name).
29936 * scripts/rellns-sh: Add -p option.
29937 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29938 for source.
29939
299402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29941
29942 * manual/nptl.texi: Renamed to ...
29943 * manual/threads.texi: ... this.
29944 * manual/Makefile (chapters): Update.
29945
299462013-03-18 Roland McGrath <roland@hack.frob.com>
29947
29948 [BZ #14812]
29949 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29950 on argument names, not just descriptions.
29951 * malloc/memusagestat.c (options): Likewise.
29952 * nss/getent.c (options): Likewise.
29953
299542013-03-18 Benno Schulenberg <bensberg@justemail.net>
29955
29956 [BZ #14812]
29957 * iconv/iconv_prog.c (options): Put N_ translation marker
29958 on argument names, not just descriptions.
29959 * iconv/iconvconfig.c (options): Likewise.
29960
299612013-03-18 Ondrej Bilka <neleai@seznam.cz>
29962
29963 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29964 implementation which is faster on all x86_64 architectures.
29965 Tested on AMD, Intel Nehalem, SNB, IVB.
29966 * sysdeps/x86_64/strnlen.S: Likewise.
29967
29968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29969 Remove all multiarch strlen and strnlen versions.
29970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29971 Remove strlen and strnlen related parts.
29972
29973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29974 Inline strlen part.
29975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29976
29977 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29978 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29980 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29981 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29982 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29983
299842013-03-17 Carlos O'Donell <carlos@redhat.com>
29985
29986 * manual/memory.texi (Malloc Tunable Parameters):
29987 Sort parameters alphabetically. Add comments for missing entries.
29988
299892013-03-17 David S. Miller <davem@davemloft.net>
29990
29991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29992
299932013-03-16 Joseph Myers <joseph@codesourcery.com>
29994
29995 [BZ #15283]
29996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29997 for arguments at most half maximum finite value.
29998 * math/libm-test.inc (j0_test): Add more tests.
29999 (j1_test): Likewise.
30000 (y0_test): Likewise.
30001 (y1_test): Likewise.
30002 * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30004
30005 [BZ #14155]
30006 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30007 1 / x and functions P and Q for arguments above 0x1p256L.
30008 (__ieee754_y0l): Likewise.
30009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30010 (__ieee754_y1l): Likewise.
30011 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30012 (j1_test): Likewise.
30013 (y0_test): Likewise.
30014 (y1_test): Likewise.
30015
300162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30017
30018 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30019 variable.
30020
300212013-03-15 Roland McGrath <roland@hack.frob.com>
30022
30023 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30024 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30025 zero since it's initialized to EXEC_PAGESIZE.
30026
30027 * sysdeps/unix/sysv/linux/ldsodefs.h
30028 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30029 * sysdeps/generic/ldsodefs.h: ... here.
30030
300312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30032
30033 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30034
30035 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30036 math/test-snan.c.
30037 * math/test-snan.c: Renamed from
30038 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30039 * math/Makefile (tests): Add test-snan.
30040 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30041 test-powerpc-snan.
30042
30043 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30044 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30045 functions.
30046 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30047 __builtin_nan family of functions.
30048 * math/libm-test.inc (initialize): Initialize qnan_value with
30049 __builtin_nan family of functions.
30050 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30051 Remove variables.
30052 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30053 Remove functions.
30054 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30055 storage class. Initialize qNaN_var and sNaN_var with
30056 __builtin_nan and __builtin_nans families of functions,
30057 respectively.
30058
30059 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30060 (sqrt_test): Remove duplicate test with qNaN input.
30061 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30062 (round_test, signbit_test, significand_test): Note missing +/-Inf
30063 as well as qNaN tests.
30064
30065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30066 qNaN_var. Fix a few strings, too.
30067 * math/libm-test.inc (nan_value): Rename to qnan_value.
30068 * math/gen-libm-test.pl (%beautify): Adjust to that.
30069 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30070 * math/test-misc.c (main): Likewise.
30071 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30072 to __qnan_bytes, and __qnan_union, respectively.
30073 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30074 Likewise.
30075 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30076 and lqnanval, respectively.
30077 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30078 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30080 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30081
30082 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30083 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30084 doubles.
30085
30086 * math/test-misc.c (main): Fix copy'n'pastos.
30087 * misc/tst-efgcvt.c (special): Likewise.
30088
30089 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30090 Remove declarations.
30091
300922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30093
30094 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30095 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30096 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30098
300992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30100
30101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30102 macro to return vdso values correctly in IFUNC implementations.
30103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30104 Optimization by using IFUNC.
30105
301062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30107 Richard Henderson <rth@redhat.com>
30108 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30109
30110 * Makefile.in (bench): New target.
30111 * NEWS: Mention the benchmark framework.
30112 * Rules (bench): Likewise.
30113 (binaries-bench): Generate binaries for functions to
30114 benchmark.
30115 * benchtests/Makefile: New makefile for benchmark tests.
30116 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30117 programs.
30118 * benchtests/exp-inputs: New input file for EXP function.
30119 * benchtests/pow-inputs: New input file for POW function.
30120 * scripts/bench.pl: New script to generate source files for
30121 benchmark programs.
30122
301232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30124
30125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30127 computations on mantissa. Use macros for rounding and
30128 division.
30129 (denorm): Likewise.
30130 (__dbl_mp): Likewise.
30131 (add_magnitudes): Likewise.
30132 (sub_magnitudes): Likewise.
30133 (__mul): Likewise.
30134 (__sqr): Likewise.
30135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30136 powers of two in terms of TWOPOW macro.
30137 (mp_no): Make type of mantissa as MANTISSA_T.
30138 [!RADIXI]: Define RADIXI.
30139 [!TWO52]: Define TWO52.
30140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30141
30142 * manual/nptl.texi (cindex): Modify threads to pthreads.
30143
301442013-03-15 Joseph Myers <joseph@codesourcery.com>
30145
30146 * sysdeps/x86_64/preconfigure: Regenerated.
30147
301482013-03-14 Joseph Myers <joseph@codesourcery.com>
30149
30150 [BZ #14155]
30151 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30152 0x1p28 and above.
30153 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30154 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30155 0x1p28 and above.
30156 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30157 * math/libm-test.inc (j0_test): Do not allow one spurious
30158 underflow exception.
30159 (y1_test): Likewise.
30160
301612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30162
30163 * manual/Makefile (chapters): Add nptl.
30164 * manual/debug.texi (Debugging Support): Add link to Threads
30165 chapter.
30166 * manual/nptl.texi: New file.
30167
30168 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30169
301702013-03-14 Petr Baudis <pasky@ucw.cz>
30171
30172 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30173 for non-NULL pointer before the memory validity test. Pointed
30174 out by Holger Brunck <holger.brunck@keymile.com>.
30175
301762013-03-13 Andreas Schwab <schwab@suse.de>
30177
30178 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30179 instead of .os.
30180
301812013-03-13 Joseph Myers <joseph@codesourcery.com>
30182
30183 * timezone/zic.c: Update from tzcode 2013b.
30184
301852013-03-12 Carlos O'Donell <carlos@redhat.com>
30186
30187 * manual/install.texi (Configuring and compiling):
30188 Mention i686 and i586.
30189 * INSTALL: Regenerate.
30190
301912013-03-12 Roland McGrath <roland@hack.frob.com>
30192
30193 * sysdeps/init_array/elf-init.c: New file.
30194 * csu/elf-init.c
30195 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30196 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30197
30198 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30199 __gmon_start__ as global, but as static with a .preinit_array pointer.
30200 * sysdeps/init_array/gmon-start.c: New file. Use that.
30201 * sysdeps/init_array/crti.S: New file, empty except for comments.
30202 * sysdeps/init_array/crtn.S: Likewise.
30203
302042013-03-11 Ondřej Bílka <neleai@seznam.cz>
30205
30206 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30207 definining bcopy.
30208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30209 Remove Prefer_SSE_for_memop.
30210 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30211 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30212 HAS_PREFER_SSE_FOR_MEMOP.
30213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30214 memset-x86-64.
30215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30216 Remove bzero, memset ifunc support.
30217 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30218 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30219 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30220 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30221
302222013-03-11 Andreas Schwab <schwab@suse.de>
30223
30224 [BZ #15234]
30225 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30226 by SHLIB_COMPAT.
30227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30228 (GLIBC_2.16): Remove pthread_atfork.
30229
302302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30231
30232 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30233 (ptestcases.h): Likewise.
30234
302352013-03-08 Roland McGrath <roland@hack.frob.com>
30236
30237 * Makeconfig ($(common-objpfx)config.status): Depend on
30238 sysdeps/*/preconfigure{,.in} too.
30239
302402013-03-08 Joseph Myers <joseph@codesourcery.com>
30241
30242 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30243 (__free_hook): Use void * instead of __malloc_ptr_t.
30244 (__malloc_hook): Likewise.
30245 (__realloc_hook): Likewise.
30246 (__memalign_hook): Likewise.
30247 (__after_morecore_hook): Likewise.
30248 * malloc/arena.c (save_malloc_hook): Likewise.
30249 (save_free_hook): Likewise.
30250 * malloc/hooks.c (malloc_hook_ini): Likewise.
30251 (realloc_hook_ini): Likewise.
30252 (memalign_hook_ini): Likewise.
30253 * malloc/malloc.c (malloc_hook_ini): Likewise.
30254 (realloc_hook_ini): Likewise.
30255 (memalign_hook_ini): Likewise.
30256 (__free_hook): Likewise.
30257 (__malloc_hook): Likewise.
30258 (__realloc_hook): Likewise.
30259 (__memalign_hook): Likewise.
30260 (__libc_malloc): Likewise.
30261 (__libc_free): Likewise.
30262 (__libc_realloc): Likewise.
30263 (__libc_memalign): Likewise.
30264 (__libc_valloc): Likewise.
30265 (__libc_pvalloc): Likewise.
30266 (__libc_calloc): Likewise.
30267 (__posix_memalign): Likewise.
30268 * malloc/morecore.c (__sbrk): Likewise.
30269 (__default_morecore): Likewise.
30270
30271 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30272
30273 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30274 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30275 __malloc_ptrdiff_t.
30276
30277 * malloc/malloc.h (__malloc_size_t): Remove macro.
30278 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30279 __malloc_size_t.
30280 (old_memalign_hook): Likewise.
30281 (old_realloc_hook): Likewise.
30282 (struct hdr): Likewise.
30283 (flood): Likewise.
30284 (mallochook): Likewise.
30285 (memalignhook): Likewise.
30286 (reallochook): Likewise.
30287 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30288 (tr_old_realloc_hook): Likewise.
30289 (tr_old_memalign_hook): Likewise.
30290 (tr_mallochook): Likewise.
30291 (tr_reallochook): Likewise.
30292 (tr_memalignhook): Likewise.
30293
302942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30295
30296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30297 default_ldbl_pack and using as default implementation.
30298 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30299 implementation.
30300 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30301 redundant definition.
30302 (ldbl_insert_mantissa): Likewise.
30303 (ldbl_canonicalize): Likewise.
30304 (ldbl_nearbyint): Likewise.
30305 (ldbl_pack): Rename to ldbl_pack_ppc.
30306 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30307 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30308 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30309
303102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
30312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30313 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30315 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30318 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30319 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30320
303212013-03-07 Andreas Jaeger <aj@suse.de>
30322
30323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30324 bits/mman-linux.h.
30325
303262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30327
30328 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30329 Include mpa.h and declare __MPEXP.
30330 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30332 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30334 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30335 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30337
30338 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30339 (__slowpow): Use long double EXPL and LOGL functions to
30340 compute POW.
30341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30342 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30345 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30347
30348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30349 intermediate variable to calculate exponent.
30350 (__sqr): Likewise.
30351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30352 Likewise.
30353 (__sqr): Likewise.
30354
30355 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30356 [!NO__SQR]: Define __sqr.
30357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30358 and NO__SQR. Remove all code except __mul and __sqr. Include
30359 sysdeps/ieee754/dbl-64/mpa.c.
30360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30361
30362 [BZ #12723]
30363 * posix/Makefile (tests): Add tst-pathconf.
30364 * posix/tst-pathconf.c: New test case.
30365 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30366 _PC_PIPE_BUF.
30367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30368
303692013-03-06 Patsy Franklin <pfrankli@redhat.com>
30370
30371 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30372
303732013-03-06 Andreas Jaeger <aj@suse.de>
30374
30375 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30376 definition via __MAP_ANONYMOUS.
30377
30378 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30379 it's not part of Linux headers.
30380
30381 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30382 (MAP_HUGE_MASK): Define.
30383
30384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30385 Define.
30386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30388 Define.
30389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30391 Define.
30392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30394 Define.
30395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30396
30397 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30398 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30399 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30400 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30401 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30403
30404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30405 Handle f2fs.
30406
30407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30408 Handle f2fs and efivarfs.
30409
30410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30411 f2fs.
30412
30413 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30414 (EFIVARFS_MAGIC): Add.
30415 (F2FS_LINK_MAX): Add.
30416
304172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30418
30419 * stdio-common/vfprintf.c: Replace __builtin_expect with
30420 __glibc_unlikely.
30421
304222013-03-06 Joseph Myers <joseph@codesourcery.com>
30423
30424 [BZ #13550]
30425 * sysdeps/generic/bp-sym.h: Remove file.
30426 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30428 <bp-sym.h> and <bp-asm.h>.
30429 (__longjmp): Don't use BP_SYM.
30430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30431 and <bp-asm.h>.
30432 (memcpy): Don't use BP_SYM.
30433 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30434 <bp-sym.h> and <bp-asm.h>.
30435 (memcpy): Don't use BP_SYM.
30436 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30437 <bp-asm.h>.
30438 (memcpy): Don't use BP_SYM.
30439 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30440 <bp-asm.h>.
30441 (memset): Don't use BP_SYM.
30442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30444 (__bzero): Don't use BP_SYM.
30445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30448 <bp-sym.h> and <bp-asm.h>.
30449 (memcmp): Don't use BP_SYM. Remove comment about bounded
30450 pointers.
30451 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30452 <bp-sym.h> and <bp-asm.h>.
30453 (memcpy): Don't use BP_SYM.
30454 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30455 <bp-sym.h> and <bp-asm.h>.
30456 (memset): Don't use BP_SYM.
30457 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30458 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30459 (__bzero): Don't use BP_SYM.
30460 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30461 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30463 <bp-sym.h> and <bp-asm.h>.
30464 (strncmp): Don't use BP_SYM. Remove comment about bounded
30465 pointers.
30466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30467 <bp-sym.h> and <bp-asm.h>.
30468 (memcpy): Don't use BP_SYM.
30469 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30470 <bp-sym.h> and <bp-asm.h>.
30471 (memset): Don't use BP_SYM.
30472 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30473 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30474 (__bzero): Don't use BP_SYM.
30475 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30476 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30478 <bp-sym.h> and <bp-asm.h>.
30479 (__memchr): Don't use BP_SYM.
30480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30481 <bp-sym.h> and <bp-asm.h>.
30482 (memcmp): Don't use BP_SYM. Remove comment about bounded
30483 pointers.
30484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30485 <bp-sym.h> and <bp-asm.h>.
30486 (memcpy): Don't use BP_SYM.
30487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30488 <bp-sym.h> and <bp-asm.h>.
30489 (__mempcpy): Don't use BP_SYM.
30490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30491 <bp-sym.h> and <bp-asm.h>.
30492 (__memrchr): Don't use BP_SYM.
30493 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30494 <bp-sym.h> and <bp-asm.h>.
30495 (memset): Don't use BP_SYM.
30496 (__bzero): Likewise.
30497 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30498 <bp-sym.h> and <bp-asm.h>.
30499 (__rawmemchr): Don't use BP_SYM.
30500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30501 <bp-sym.h> and <bp-asm.h>.
30502 (__STRCMP): Don't use BP_SYM.
30503 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30504 <bp-sym.h> and <bp-asm.h>.
30505 (strchr): Don't use BP_SYM.
30506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30507 <bp-sym.h> and <bp-asm.h>.
30508 (__strchrnul): Don't use BP_SYM.
30509 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30510 <bp-sym.h> and <bp-asm.h>.
30511 (strlen): Don't use BP_SYM.
30512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30513 <bp-sym.h> and <bp-asm.h>.
30514 (strncmp): Don't use BP_SYM. Remove comment about bounded
30515 pointers.
30516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30517 <bp-sym.h> and <bp-asm.h>.
30518 (__strnlen): Don't use BP_SYM.
30519 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30520 <bp-sym.h> and <bp-asm.h>.
30521 (__GI__setjmp): Don't use BP_SYM.
30522 (_setjmp): Likewise.
30523 (__sigsetjmp): Likewise.
30524 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30525 (L(start_addresses)): Don't use BP_SYM.
30526 (_start): Likewise.
30527 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30528 <bp-asm.h>.
30529 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30530 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30533 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30534 <bp-asm.h>.
30535 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30536 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30537 about bounded pointers.
30538 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30539 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30540 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30541 <bp-asm.h>.
30542 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30543 about bounded pointers. Remove GKM FIXME comments.
30544 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30545 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30546 <bp-asm.h>.
30547 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30548 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30549 Remove GKM FIXME comments.
30550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30552 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30553 <bp-asm.h>.
30554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30555 about bounded pointers. Remove GKM FIXME comment.
30556 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30557 and <bp-asm.h>.
30558 (strncmp): Don't use BP_SYM. Remove comment about bounded
30559 pointers.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30561 <bp-sym.h> and <bp-asm.h>.
30562 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30564 <bp-sym.h> and <bp-asm.h>.
30565 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30566 comment.
30567
305682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30569
30570 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30571 call free(NULL).
30572
305732013-03-05 David S. Miller <davem@davemloft.net>
30574
30575 * po/es.po: Update from translation team.
30576
305772013-03-05 Andreas Jaeger <aj@suse.de>
30578
30579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30580 <bits/mman-linux.h>.
30581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30582 is fine.
30583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30584 <bits/mman-linux.h> to end of file.
30585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30586 is fine.
30587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30588 <bits/mman-linux.h> to end of file.
30589 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30590 is fine.
30591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30592 <bits/mman-linux.h> to end of file.
30593
30594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30595 (MCL_CURRENT, MCL_FUTURE): Define here.
30596
305972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30598
30599 [BZ #15232]
30600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30601 attribute_hidden.
30602 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30603
306042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30605
30606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30607 fourth parameter needed for rt_sigprocmask syscall.
30608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30610 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30612 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30613 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30614
306152013-03-04 Joseph Myers <joseph@codesourcery.com>
30616
30617 [BZ #13550]
30618 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30619 comment about bounded pointers.
30620 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30621 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30622
306232013-03-04 Andreas Jaeger <aj@suse.de>
30624
30625 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30626 common definitions.
30627
30628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30629 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30631 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30634
306352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30636
30637 [BZ #15055]
30638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30639 __ieee754_sqrl instead of __sqrl.
30640
306412013-03-01 Joseph Myers <joseph@codesourcery.com>
30642
30643 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30644 * sysdeps/powerpc/fpu_control.h: ... here.
30645 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30646 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30647 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30648 * sysdeps/powerpc/bits/mathinline.h: ... here.
30649
306502013-03-01 Roland McGrath <roland@hack.frob.com>
30651
30652 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30653 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30654 to just [NEED_DL_SYSINFO_DSO].
30655 * elf/dl-support.c: Likewise.
30656 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30657 * elf/rtld.c (dl_main): Likewise.
30658 * elf/setup-vdso.h (setup_vdso): Likewise.
30659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30660 * sysdeps/unix/sysv/linux/dl-sysdep.c
30661 (_dl_discover_osversion): Likewise.
30662
306632013-03-01 Carlos O'Donell <carlos@redhat.com>
30664
30665 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30667
306682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30669
30670 * NEWS: Mention libm performance improvements and non-x86 PI
30671 futex support.
30672
30673 * csu/libc-start.c (__pthread_initialize_minimal): Change
30674 function arguments.
30675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30676
306772013-02-28 Joseph Myers <joseph@codesourcery.com>
30678
30679 [BZ #13550]
30680 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30682 <bp-sym.h> and <bp-asm.h>.
30683 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30685 and <bp-asm.h>.
30686 (memcpy): Don't use BP_SYM.
30687 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30688 <bp-asm.h>.
30689 (__mpn_add_n): Don't use BP_SYM.
30690 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30691 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30692 and <bp-asm.h>.
30693 (__mpn_addmul_1): Don't use BP_SYM.
30694 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30696 <bp-sym.h>.
30697 (_setjmp): Don't use BP_SYM.
30698 (__novmx_setjmp): Likewise.
30699 (__GI__setjmp): Likewise.
30700 (__vmx_setjmp): Likewise.
30701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30702 <bp-sym.h>.
30703 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30704 (__bzero): Don't use BP_SYM.
30705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30707 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30708 <bp-sym.h> and <bp-asm.h>.
30709 (memcpy): Don't use BP_SYM.
30710 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30711 <bp-sym.h> and <bp-asm.h>.
30712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30714 <bp-sym.h> and <bp-asm.h>.
30715 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30716 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30717 <bp-asm.h>.
30718 (__mpn_lshift): Don't use BP_SYM.
30719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30720 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30721 <bp-asm.h>.
30722 (memset): Don't use BP_SYM.
30723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30725 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30726 <bp-asm.h>.
30727 (__mpn_mul_1): Don't use BP_SYM.
30728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30730 <bp-sym.h> and <bp-asm.h>.
30731 (memcmp): Don't use BP_SYM.
30732 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30733 <bp-sym.h> and <bp-asm.h>.
30734 (memcpy): Don't use BP_SYM.
30735 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30736 <bp-sym.h> and <bp-asm.h>.
30737 (memset): Don't use BP_SYM.
30738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30739 <bp-sym.h> and <bp-asm.h>.
30740 (strncmp): Don't use BP_SYM.
30741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30742 <bp-sym.h> and <bp-asm.h>.
30743 (memcpy): Don't use BP_SYM.
30744 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30745 <bp-sym.h> and <bp-asm.h>.
30746 (memset): Don't use BP_SYM.
30747 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30748 <bp-sym.h> and <bp-asm.h>.
30749 (__memchr): Don't use BP_SYM.
30750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30751 <bp-sym.h> and <bp-asm.h>.
30752 (memcmp): Don't use BP_SYM.
30753 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30754 <bp-sym.h> and <bp-asm.h>.
30755 (memcpy): Don't use BP_SYM.
30756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30757 <bp-sym.h> and <bp-asm.h>.
30758 (__mempcpy): Don't use BP_SYM.
30759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30760 <bp-sym.h> and <bp-asm.h>.
30761 (__memrchr): Don't use BP_SYM.
30762 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30763 <bp-sym.h> and <bp-asm.h>.
30764 (memset): Don't use BP_SYM.
30765 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30766 <bp-sym.h> and <bp-asm.h>.
30767 (__rawmemchr): Don't use BP_SYM.
30768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30769 <bp-sym.h> and <bp-asm.h>.
30770 (__STRCMP): Don't use BP_SYM.
30771 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30772 <bp-sym.h> and <bp-asm.h>.
30773 (strchr): Don't use BP_SYM.
30774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30775 <bp-sym.h> and <bp-asm.h>.
30776 (__strchrnul): Don't use BP_SYM.
30777 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30778 <bp-sym.h> and <bp-asm.h>.
30779 (strlen): Don't use BP_SYM.
30780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30781 <bp-sym.h> and <bp-asm.h>.
30782 (strncmp): Don't use BP_SYM.
30783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30784 <bp-sym.h> and <bp-asm.h>.
30785 (__strnlen): Don't use BP_SYM.
30786 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30787 <bp-asm.h>.
30788 (__mpn_rshift): Don't use BP_SYM.
30789 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30790 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30791 <bp-sym.h> and <bp-asm.h>.
30792 (__sigsetjmp): Don't use BP_SYM.
30793 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30794 (L(start_addresses)): Don't use BP_SYM.
30795 (_start): Likewise.
30796 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30797 <bp-asm.h>.
30798 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30799 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30800 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30801 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30802 <bp-asm.h>.
30803 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30804 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30805 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30806 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30807 <bp-asm.h>.
30808 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30809 comments.
30810 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30811 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30812 <bp-asm.h>.
30813 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30814 FIXME comments.
30815 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30816 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30817 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30818 <bp-asm.h>.
30819 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30820 comment.
30821 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30822 and <bp-asm.h>.
30823 (strncmp): Don't use BP_SYM,
30824 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30825 <bp-asm.h>.
30826 (__mpn_sub_n): Don't use BP_SYM.
30827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30828 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30829 and <bp-asm.h>.
30830 (__mpn_submul_1): Don't use BP_SYM.
30831 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30833 <bp-sym.h> and <bp-asm.h>.
30834 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30836 <bp-sym.h> and <bp-asm.h>.
30837 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30838 comment.
30839
308402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30841
30842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30843 Use ZK to minimize writes to Z.
30844 (sub_magnitudes): Simplify code a bit.
30845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30846 Use ZK to minimize writes to Z.
30847 (sub_magnitudes): Simplify code a bit.
30848
308492013-02-27 Roland McGrath <roland@hack.frob.com>
30850
30851 * csu/gmon-start.c: Add special exception to license text.
30852
308532013-02-27 Richard Henderson <rth@redhat.com>
30854
30855 * scripts/config.guess: Update from config.git.
30856 * scripts/config.sub: Likewise.
30857
308582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30859
30860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30861
30862 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30863
30864 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30865
30866 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30867
30868 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30869
308702013-02-26 Roland McGrath <roland@hack.frob.com>
30871
30872 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30873 [$(build-shared = yes].
30874
308752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30876
30877 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30878 (__mul): Reduce iterations for calculating mantissa.
30879
30880 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30881 MPTWO.
30882 (__mpranred): Likewise.
30883
30884 [BZ #15160]
30885 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30886 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30887
308882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30889
30890 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30891 Define __attribute__.
30892
308932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30894
30895 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30896 unused.
30897 * posix/regex_internal.h (__attribute): Remove.
30898 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30899 (re_string_context_at): Likewise.
30900 (bitset_not): Use __attribute__ and mark function as possibly
30901 unused.
30902 (bitset_merge): Likewise.
30903 (bitset_mask): Likewise.
30904 (re_string_char_size_at): Likewise.
30905 (re_string_wchar_at): Likewise.
30906 (re_string_elem_size_at): Likewise.
30907
309082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30909
30910 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30911 code.
30912 (cc32): Likewise.
30913
30914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30915 (__acr): Likewise.
30916 (__cpy): Likewise.
30917 (norm): Likewise.
30918 (denorm): Likewise.
30919 (__dbl_mp): Likewise.
30920 (add_magnitudes): Likewise.
30921 (sub_magnitudes): Likewise.
30922 (__mul): Likewise.
30923 (__inv): Likewise.
30924
30925 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30926 style.
30927
30928 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30929 style.
30930
30931 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30932 code.
30933
30934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30935 up changes with default code.
30936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30937 Likewise.
30938
309392013-02-24 Allan McRae <allan@archlinux.org>
30940
30941 * manual/socket.texi (The Internet Namespace): Order menu items
30942 to match that in the file.
30943
30944 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30945 node listing of the info page menu.
30946
309472013-02-21 Joseph Myers <joseph@codesourcery.com>
30948
30949 [BZ #13550]
30950 * sysdeps/i386/bp-asm.h: Remove file.
30951 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30952 (PARMS): Do not use macros from bp-asm.h.
30953 (S1): Likewise.
30954 (S2): Likewise.
30955 (SIZE): Likewise.
30956 (__mpn_add_n): Do not use BP_SYM
30957 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30958 "bp-asm.h".
30959 (PARMS): Do not use macros from bp-asm.h.
30960 (S1): Likewise.
30961 (SIZE): Likewise.
30962 (__mpn_addmul_1): Do not use BP_SYM
30963 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30964 "bp-asm.h".
30965 (PARMS): Do not use macros from bp-asm.h.
30966 (SIGMSK): Likewise.
30967 (_setjmp): Likewise. Do not use BP_SYM.
30968 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30969 "bp-asm.h".
30970 (PARMS): Do not use macros from bp-asm.h.
30971 (SIGMSK): Likewise.
30972 (setjmp): Likewise. Do not use BP_SYM.
30973 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30974 "bp-asm.h".
30975 (PARMS): Do not use macros from bp-asm.h.
30976 (__frexp): Do not use BP_SYM.
30977 (frexp): Likewise.
30978 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30979 "bp-asm.h".
30980 (PARMS): Do not use macros from bp-asm.h.
30981 (__frexpf): Do not use BP_SYM.
30982 (frexpf): Likewise.
30983 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30984 "bp-asm.h".
30985 (PARMS): Do not use macros from bp-asm.h.
30986 (__frexpl): Do not use BP_SYM.
30987 (frexpl): Likewise.
30988 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30989 "bp-asm.h".
30990 (PARMS): Do not use macros from bp-asm.h.
30991 (__remquo): Do not use BP_SYM.
30992 (remquo): Likewise.
30993 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30994 "bp-asm.h".
30995 (PARMS): Do not use macros from bp-asm.h.
30996 (__remquof): Do not use BP_SYM.
30997 (remquof): Likewise.
30998 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30999 "bp-asm.h".
31000 (PARMS): Do not use macros from bp-asm.h.
31001 (__remquol): Do not use BP_SYM.
31002 (remquol): Likewise.
31003 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31004 "bp-asm.h".
31005 (PARMS): Do not use macros from bp-asm.h.
31006 (DEST): Likewise.
31007 (SRC): Likewise.
31008 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31009 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31010 "bp-asm.h".
31011 (PARMS): Do not use macros from bp-asm.h.
31012 (strlen): Do not use BP_SYM.
31013 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31014 "bp-asm.h".
31015 (PARMS): Do not use macros from bp-asm.h.
31016 (S1): Likewise.
31017 (S2): Likewise.
31018 (SIZE): Likewise.
31019 (__mpn_add_n): Do not use BP_SYM.
31020 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31021 "bp-asm.h".
31022 (PARMS): Do not use macros from bp-asm.h.
31023 (S1): Likewise.
31024 (SIZE): Likewise.
31025 (__mpn_addmul_1): Do not use BP_SYM.
31026 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31027 weak_alias.
31028 (bzero): Likewise.
31029 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31030 "bp-asm.h".
31031 (PARMS): Do not use macros from bp-asm.h.
31032 (S): Likewise.
31033 (SIZE): Likewise.
31034 (__mpn_lshift): Do not use BP_SYM.
31035 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31036 "bp-asm.h".
31037 (PARMS): Do not use macros from bp-asm.h.
31038 (DEST): Likewise.
31039 (SRC): Likewise.
31040 (LEN): Likewise.
31041 (memcpy): Likewise. Do not use BP_SYM.
31042 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31043 libc_hidden_def and weak_alias.
31044 (mempcpy): Do not use BP_SYM in weak_alias.
31045 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31046 "bp-asm.h".
31047 (PARMS): Do not use macros from bp-asm.h.
31048 (DEST): Likewise.
31049 (LEN): Likewise.
31050 [!BZERO_P] (CHR): Likewise.
31051 (memset): Likewise. Do not use BP_SYM.
31052 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31053 "bp-asm.h".
31054 (PARMS): Do not use macros from bp-asm.h.
31055 (S1): Likewise.
31056 (SIZE): Likewise.
31057 (__mpn_mul_1): Do not use BP_SYM.
31058 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31059 "bp-asm.h".
31060 (PARMS): Do not use macros from bp-asm.h.
31061 (S): Likewise.
31062 (SIZE): Likewise.
31063 (__mpn_rshift): Do not use BP_SYM.
31064 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31065 "bp-asm.h".
31066 (PARMS): Do not use macros from bp-asm.h.
31067 (STR): Likewise.
31068 (CHR): Likewise.
31069 (strchr): Likewise. Do not use BP_SYM.
31070 (index): Do not use BP_SYM in weak_alias.
31071 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31072 "bp-asm.h".
31073 (PARMS): Do not use macros from bp-asm.h.
31074 (DEST): Likewise.
31075 (SRC): Likewise.
31076 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31077 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31078 "bp-asm.h".
31079 (PARMS): Do not use macros from bp-asm.h.
31080 (strlen): Do not use BP_SYM.
31081 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31082 "bp-asm.h".
31083 (PARMS): Do not use macros from bp-asm.h.
31084 (S1): Likewise.
31085 (S2): Likewise.
31086 (SIZE): Likewise.
31087 (__mpn_sub_n): Do not use BP_SYM.
31088 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31089 "bp-asm.h".
31090 (PARMS): Do not use macros from bp-asm.h.
31091 (S1): Likewise.
31092 (SIZE): Likewise.
31093 (__mpn_submul_1): Do not use BP_SYM.
31094 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31095 "bp-asm.h".
31096 (PARMS): Do not use macros from bp-asm.h.
31097 (S1): Likewise.
31098 (S2): Likewise.
31099 (SIZE): Likewise.
31100 (__mpn_add_n): Do not use BP_SYM.
31101 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31102 weak_alias.
31103 (bzero): Likewise.
31104 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31105 "bp-asm.h".
31106 (PARMS): Do not use macros from bp-asm.h.
31107 (BLK2): Likewise.
31108 (LEN): Likewise.
31109 (memcmp): Do not use BP_SYM.
31110 (bcmp): Do not use BP_SYM in weak_alias.
31111 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31112 "bp-asm.h".
31113 (PARMS): Do not use macros from bp-asm.h.
31114 (DEST): Likewise.
31115 (SRC): Likewise.
31116 (LEN): Likewise.
31117 (memcpy): Likewise. Do not use BP_SYM.
31118 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31119 "bp-asm.h".
31120 (PARMS): Do not use macros from bp-asm.h.
31121 (DEST): Likewise.
31122 (SRC): Likewise.
31123 (LEN): Likewise.
31124 (memmove): Likewise. Do not use BP_SYM.
31125 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31126 "bp-asm.h".
31127 (PARMS): Do not use macros from bp-asm.h.
31128 (DEST): Likewise.
31129 (SRC): Likewise.
31130 (LEN): Likewise.
31131 (__mempcpy): Likewise. Do not use BP_SYM.
31132 (mempcpy): Do not use BP_SYM in weak_alias.
31133 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31134 "bp-asm.h".
31135 (PARMS): Do not use macros from bp-asm.h.
31136 (DEST): Likewise.
31137 (LEN): Likewise.
31138 [!BZERO_P] (CHR): Likewise.
31139 (memset): Likewise. Do not use BP_SYM.
31140 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31141 "bp-asm.h".
31142 (PARMS): Do not use macros from bp-asm.h.
31143 (STR2): Likewise.
31144 (strcmp): Do not use BP_SYM.
31145 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31146 "bp-asm.h".
31147 (PARMS): Do not use macros from bp-asm.h.
31148 (STR): Likewise.
31149 (DELIM): Likewise.
31150 [USE_AS_STRTOK_R] (SAVE): Likewise.
31151 (FUNCTION): Likewise. Do not use BP_SYM.
31152 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31153 aliases.
31154 (strtok_r): Likewise.
31155 (__GI___strtok_r): Likewise.
31156 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31157 (PARMS): Do not use macros from bp-asm.h.
31158 (S): Likewise.
31159 (SIZE): Likewise.
31160 (__mpn_lshift): Do not use BP_SYM.
31161 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31162 (PARMS): Do not use macros from bp-asm.h.
31163 (STR): Likewise.
31164 (CHR): Likewise.
31165 (__memchr): Do not use BP_SYM.
31166 (memchr): Do not use BP_SYM in weak_alias.
31167 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31168 (PARMS): Do not use macros from bp-asm.h.
31169 (BLK2): Likewise.
31170 (LEN): Likewise.
31171 (memcmp): Do not use BP_SYM.
31172 (bcmp): Do not use BP_SYM in weak_alias.
31173 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31174 (PARMS): Do not use macros from bp-asm.h.
31175 (S1): Likewise.
31176 (SIZE): Likewise.
31177 (__mpn_mul_1): Do not use BP_SYM.
31178 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31179 "bp-asm.h".
31180 (PARMS): Do not use macros from bp-asm.h.
31181 (STR): Likewise.
31182 (CHR): Likewise.
31183 (__rawmemchr): Do not use BP_SYM.
31184 (rawmemchr): Do not use BP_SYM in weak_alias.
31185 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31186 (PARMS): Do not use macros from bp-asm.h.
31187 (S): Likewise.
31188 (SIZE): Likewise.
31189 (__mpn_rshift): Do not use BP_SYM.
31190 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31191 (PARMS): Do not use macros from bp-asm.h.
31192 (SIGMSK): Likewise.
31193 (__sigsetjmp): Likewise. Do not use BP_SYM.
31194 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31195 (_start): Do not use BP_SYM.
31196 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31197 (PARMS): Do not use macros from bp-asm.h.
31198 (DEST): Likewise.
31199 (SRC): Likewise.
31200 (__stpcpy): Likewise. Do not use BP_SYM.
31201 (stpcpy): Do not use BP_SYM in weak_alias.
31202 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31203 "bp-asm.h".
31204 (PARMS): Do not use macros from bp-asm.h.
31205 (DEST): Likewise.
31206 (SRC): Likewise.
31207 (LEN): Likewise.
31208 (__stpncpy): Likewise. Do not use BP_SYM.
31209 (stpncpy): Do not use BP_SYM in weak_alias.
31210 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31211 (PARMS): Do not use macros from bp-asm.h.
31212 (STR): Likewise.
31213 (CHR): Likewise.
31214 (strchr): Likewise. Do not use BP_SYM.
31215 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31216 "bp-asm.h".
31217 (PARMS): Do not use macros from bp-asm.h.
31218 (STR): Likewise.
31219 (CHR): Likewise.
31220 (__strchrnul): Likewise. Do not use BP_SYM.
31221 (strchrnul): Do not use BP_SYM in weak_alias.
31222 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31223 "bp-asm.h".
31224 (PARMS): Do not use macros from bp-asm.h.
31225 (STOP): Likewise.
31226 (strcspn): Do not use BP_SYM.
31227 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31228 "bp-asm.h".
31229 (PARMS): Do not use macros from bp-asm.h.
31230 (STR): Likewise.
31231 (STOP): Likewise.
31232 (strpbrk): Likewise. Do not use BP_SYM.
31233 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31234 "bp-asm.h".
31235 (PARMS): Do not use macros from bp-asm.h.
31236 (STR): Likewise.
31237 (CHR): Likewise.
31238 (strrchr): Likewise. Do not use BP_SYM.
31239 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31240 (PARMS): Do not use macros from bp-asm.h.
31241 (SKIP): Likewise.
31242 (strspn): Do not use BP_SYM.
31243 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31244 (PARMS): Do not use macros from bp-asm.h.
31245 (STR): Likewise.
31246 (DELIM): Likewise.
31247 (SAVE): Likewise.
31248 (FUNCTION): Likewise. Do not use BP_SYM.
31249 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31250 aliases.
31251 (strtok_r): Likewise.
31252 (__GI___strtok_r): Likewise.
31253 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31254 (PARMS): Do not use macros from bp-asm.h.
31255 (S1): Likewise.
31256 (S2): Likewise.
31257 (SIZE): Likewise.
31258 (__mpn_sub_n): Do not use BP_SYM.
31259 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31260 "bp-asm.h".
31261 (PARMS): Do not use macros from bp-asm.h.
31262 (S1): Likewise.
31263 (SIZE): Likewise.
31264 (__mpn_submul_1): Do not use BP_SYM.
31265 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31266 <bp-sym.h>.
31267 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31268 and <bp-asm.h>.
31269 (PARMS): Do not use macros from bp-asm.h.
31270 (FLAGS): Likewise.
31271 (PTID): Likewise.
31272 (TLS): Likewise.
31273 (CTID): Likewise.
31274 (__clone): Do not use BP_SYM.
31275 (clone): Do not use BP_SYM in weak_alias.
31276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31277 and <bp-asm.h>.
31278 (PARMS): Do not use macros from bp-asm.h.
31279 (LEN): Likewise.
31280 (__mmap64): Do not use BP_SYM.
31281 (mmap64): Do not use BP_SYM in weak_alias.
31282 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31283 <bp-sym.h> and <bp-asm.h>.
31284 (PARMS): Do not use macros from bp-asm.h.
31285 (__posix_fadvise64_l64): Do not use BP_SYM.
31286 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31287 (PARMS): Do not use macros from bp-asm.h.
31288 (NSOPS): Likewise.
31289 (semtimedop): Do not use BP_SYM.
31290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31291 and <bp-asm.h>.
31292
312932013-02-21 Allan McRae <allan@archlinux.org>
31294
31295 * manual/message.texi (Charset conversion in gettext):
31296 Move @end statement to beginning of line.
31297
312982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31299
31300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31301 static.
31302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31303 Likewise.
31304
31305 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31306 (denorm): Likewise.
31307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31309
313102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31311
31312 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31313 tail-call to the resolved function if pltexit isn't needed.
31314
313152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31316
31317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31318 or Y being zero as being unlikely.
31319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31320 Likewise.
31321
313222013-02-20 Carlos O'Donell <carlos@redhat.com>
31323
31324 * manual/nss.texi (System Databases and Name Service Switch):
31325 Remove frobnicate @pxref.
31326
313272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31328
31329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31330 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31331
313322013-02-20 Petr Machata <pmachata@redhat.com>
31333
31334 * elf/elf.h (R_ARM_TARGET1): New macro.
31335 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31336 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31337 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31338 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31339 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31340 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31341 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31342 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31343 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31344 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31345 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31346 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31347 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31348 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31349 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31350 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31351 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31352 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31353 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31354 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31355 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31356 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31357 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31358 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31359 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31360 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31361 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31362 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31363 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31364 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31365 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31366 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31367 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31368 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31369 (R_ARM_THM_GOT_BREL12): Likewise.
31370 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31371 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31372 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31373 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31374 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31375 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31376 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31377 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31378 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31379
313802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31381
31382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31383 __attribute_used__ to __attribute__ ((unused)).
31384
313852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31386
31387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31388 powerpc mpa.c.
31389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31390 comment formatting.
31391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31392
313932013-02-19 Joseph Myers <joseph@codesourcery.com>
31394
31395 [BZ #13550]
31396 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31397 Remove macro.
31398 (ENTER): Remove both macro definitions.
31399 (LEAVE): Likewise.
31400 (CHECK_BOUNDS_LOW): Likewise.
31401 (CHECK_BOUNDS_HIGH): Likewise.
31402 (CHECK_BOUNDS_BOTH): Likewise.
31403 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31404 (RETURN_BOUNDED_POINTER): Likewise.
31405 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31406 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31407 (POP_ERRNO_LOCATION_RETURN): Likewise.
31408 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31409 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31410 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31411 macros.
31412 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31413 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31414 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31415 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31416 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31417 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31418 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31419 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31420 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31421 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31422 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31423 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31424 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31425 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31426 removed macros.
31427 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31428 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31429 macros.
31430 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31431 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31432 * sysdeps/i386/i586/memset.S (memset): Likewise.
31433 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31435 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31436 macros.
31437 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31438 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31439 Change uses of L(2) to L(out).
31440 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31441 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31442 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31444 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31445 removed macros.
31446 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31447 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31448 macros.
31449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31450 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31451 (RETURN): Do not use macro LEAVE.
31452 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31453 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31454 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31455 * sysdeps/i386/i686/memset.S (memset): Likewise.
31456 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31457 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31459 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31460 Likewise.
31461 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31462 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31463 L(1_2) and L(1_3) into L(1).
31464 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31465 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31467 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31468 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31469 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31470 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31471 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31472 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31473 macros.
31474 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31476 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31477 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31478 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31479 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31480 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31481 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31482 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31483 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31484 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31485 * sysdeps/i386/strspn.S (strspn): Likewise.
31486 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31487 conditional code.
31488 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31489 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31490 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31491 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31492 L(1_3) into L(1_1).
31493 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31495 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31496 macros.
31497 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31498
314992013-02-19 Jakub Jelinek <jakub@redhat.com>
31500
31501 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31502 macro.
31503
315042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31505
31506 * math/atest-exp.c (exp_mpn): Remove ROUND.
31507 * math/atest-exp2.c (exp_mpn): Likewise.
31508 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31509
31510 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31511 * stdlib/tst-tls-atexit-lib.c: Likewise.
31512 * stdlib/tst-tls-atexit.c: Likewise.
31513
315142013-02-18 Mike Frysinger <vapier@gentoo.org>
31515
31516 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31517 and __attribute_alloc_size__.
31518
315192013-02-18 Mike Frysinger <vapier@gentoo.org>
31520
31521 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31522 __attribute_alloc_size__.
31523 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31524 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31525
315262013-02-18 Mike Frysinger <vapier@gentoo.org>
31527
31528 * include/programs/xmalloc.h: New file.
31529 * catgets/gencat.c: Include it.
31530 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31531 * elf/pldd.c: Likewise.
31532 * iconv/iconv_charmap.c: Likewise.
31533 * iconv/iconvconfig.c: Likewise.
31534 * iconv/strtab.c: Likewise.
31535 * locale/programs/locale.c: Likewise.
31536 * locale/programs/localedef.h: Likewise.
31537 * locale/programs/simple-hash.c: Likewise.
31538 * nscd/nscd.h: Likewise.
31539 * nss/makedb.c: Likewise.
31540 * sysdeps/generic/ldconfig.h: Likewise.
31541
315422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31543
31544 * Versions.def: Add GLIBC_2.18.
31545 * include/link.h (struct link_map): New member l_tls_dtor_count.
31546 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31547 (__call_tls_dtors): Likewise.
31548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31549 __cxa_thread_atexit_impl.
31550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31551 Likewise.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31553 Likewise.
31554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31555 Likewise.
31556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31557 Likewise.
31558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31560 Likewise.
31561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31562 Likewise.
31563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31565 Likewise.
31566 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31567 (tests): Add test case tst-tls-atexit.
31568 (modules-names): Add shared library for tst-tls-atexit.
31569 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31570 (GLIBC_PRIVATE): Add __call_tls_dtors.
31571 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31572 for libstdc++.
31573 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31574 * stdlib/tst-tls-atexit.c: New test case.
31575 * stdlib/tst-tls-atexit-lib.c: New test case.
31576
31577 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31578
31579 * elf/Versions (ld): Add _dl_find_dso_for_object.
31580 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31581 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31582 (dl_open_worker): Use _dl_find_dso_for_object.
31583 * elf/dl-sym.c (do_sym): Likewise.
31584 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31585
315862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31587
31588 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31589 Syntactic changes only.
31590 (_dl_runtime_profile): Do a tail-call to the resolved function.
31591
315922013-02-17 Joseph Myers <joseph@codesourcery.com>
31593
31594 [BZ #13550]
31595 * sysdeps/x86_64/bp-asm.h: Remove file.
31596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31597 <bp-sym.h> and <bp-asm.h>.
31598 (__clone): Do not use BP_SYM.
31599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31600 <bp-sym.h> and <bp-asm.h>.
31601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31602 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31603 "bp-asm.h".
31604 (_setjmp): Do not use BP_SYM.
31605 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31606 "bp-asm.h".
31607 (setjmp): Do not use BP_SYM.
31608 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31609 libc_hidden_def.
31610 (mempcpy): Do not use BP_SYM in weak_alias.
31611 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31612 "bp-asm.h".
31613 (strchr): Do not use BP_SYM.
31614 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31615 "bp-asm.h".
31616 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31617 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31618 (_start): Do not use BP_SYM.
31619 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31620 "bp-asm.h".
31621 (strcat): Do not use BP_SYM.
31622 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31623 "bp-asm.h".
31624 (STRCMP): Do not use BP_SYM.
31625 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31626 "bp-asm.h".
31627 (STRCPY): Do not use BP_SYM.
31628 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31629 "bp-asm.h".
31630 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31631 "bp-asm.h".
31632 (FUNCTION): Do not use BP_SYM.
31633 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31634 weak_alias.
31635 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31636
316372013-02-17 Andreas Jaeger <aj@suse.de>
31638
31639 * time/Versions: Sort entries.
31640 * string/Versions: Likewise.
31641 * resolv/Versions: Likewise.
31642 * posix/Versions: Likewise.
31643 * iconv/Versions: Likewise.
31644 * elf/Versions: Likewise.
31645 * wcsmbs/Versions: Likewise.
31646
316472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31648
31649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31650 loop termination condition.
31651
31652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31653 variable to calculate EZ.
31654 (__sqr): Likewise.
31655
31656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31657 the lower precision input.
31658
316592013-02-15 Joseph Myers <joseph@codesourcery.com>
31660
31661 [BZ #13550]
31662 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31663 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31664 (run-via-rtld-prefix): Do not handle %-bp tests.
31665 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31666 (all-object-suffixes): Remove .ob.
31667 (bppfx): Remove variable.
31668 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31669 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31670 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31671 [$(build-bounded) = yes] (libtype.ob): Likewise.
31672 * Makerules (elide-routines.ob): Remove variable.
31673 (do-tests-clean): Do not handle *-bp.out.
31674 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31675 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31676 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31677 (tests): Do not include $(tests-bp.out).
31678 (xtests): Do not include $(xtests-bp.out).
31679 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31680 [$(build-bounded) = yes] ($(addprefix
31681 $(objpfx),$(binaries-bounded))): Remove rule.
31682 ($(objpfx)%-bp.out): Remove rule.
31683 * config.make.in (build-bounded): Remove variable.
31684 * crypt/Makefile [$(build-bounded) = yes]
31685 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31686 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31687 append to variable.
31688 [$(build-bounded) = yes] (install-lib): Likewise.
31689 [$(build-bounded) = yes] (generated): Likewise.
31690 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31691 Remove rule.
31692 * intl/Makefile [$(build-bounded) = yes]
31693 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31694 * math/Makefile [$(build-bounded) = yes]
31695 ($(tests:%=$(objpfx)%-bp): Likewise.
31696 * misc/Makefile [$(build-bounded) = yes]
31697 ($(objpfx)tst-tsearch-bp): Likewise.
31698 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31699 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31700 Remove dependency.
31701 * string/Makefile (o-objects.ob): Remove variable.
31702 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31703 (CFLAGS-.ob): Remove variable.
31704 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31705 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31706 both definitions of variable.
31707 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31708 (ASFLAGS-.ob): Remove variable.
31709
317102013-02-14 Joseph Myers <joseph@codesourcery.com>
31711
31712 [BZ #13550]
31713 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31714 Remove __BOUNDED_POINTERS__ from condition.
31715 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31716 * string/bits/string2.h [!__NO_STRING_INLINES &&
31717 !__BOUNDED_POINTERS__]: Likewise.
31718 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31719 Likewise.
31720 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31721 Remove conditional code.
31722 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31723 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31724 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31725 condition.
31726
31727 [BZ #13550]
31728 * csu/libc-start.c: Do not include <bp-sym.h>.
31729 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31730 * elf/dl-open.c: Do not include <bp-sym.h>.
31731 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31732 * math/fegetenv.c: Do not include <bp-sym.h>.
31733 (fegetenv): Do not use BP_SYM in versioned symbols.
31734 * nptl/sysdeps/pthread/bits/libc-lockP.h
31735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31736 <bp-sym.h>.
31737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31738 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31740 (__pthread_mutex_destroy): Likewise.
31741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31742 (__pthread_mutex_lock): Likewise.
31743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31744 (__pthread_mutex_trylock): Likewise.
31745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31746 (__pthread_mutex_unlock): Likewise.
31747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31748 (__pthread_mutexattr_init): Likewise.
31749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31750 (__pthread_mutexattr_destroy): Likewise.
31751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31752 (__pthread_mutexattr_settype): Likewise.
31753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31754 (__pthread_rwlock_init): Likewise.
31755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31756 (__pthread_rwlock_destroy): Likewise.
31757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31758 (__pthread_rwlock_rdlock): Likewise.
31759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31760 (__pthread_rwlock_tryrdlock): Likewise.
31761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31762 (__pthread_rwlock_wrlock): Likewise.
31763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31764 (__pthread_rwlock_trywrlock): Likewise.
31765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31766 (__pthread_rwlock_unlock): Likewise.
31767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31768 (__pthread_key_create): Likewise.
31769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31770 (__pthread_setspecific): Likewise.
31771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31772 (__pthread_getspecific): Likewise.
31773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31774 Likewise.
31775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31776 (_pthread_cleanup_push_defer): Likewise.
31777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31778 (_pthread_cleanup_pop_restore): Likewise.
31779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31780 (pthread_setcancelstate): Likewise.
31781 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31782 <bp-sym.h>.
31783 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31784 (memchr): Do not use BP_SYM in weak_alias.
31785 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31786 (fegetenv): Do not use BP_SYM in versioned symbols.
31787 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31788 (fesetenv): Do not use BP_SYM in versioned symbols.
31789 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31790 (feupdateenv): Do not use BP_SYM in versioned symbols.
31791 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31792 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31793 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31794 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31795 (open64): Do not use BP_SYM in weak_alias.
31796 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31797 (fegetenv): Do not use BP_SYM in versioned symbols.
31798 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31799 (fesetenv): Do not use BP_SYM in versioned symbols.
31800 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31801 (feupdateenv): Do not use BP_SYM in versioned symbols.
31802 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31803 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31804 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31805 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31806 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31807 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31809 <bp-sym.h>.
31810 (__libc_start_main): Do not use BP_SYM.
31811
318122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31813
31814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31815 redundant return line.
31816 (norm): Likewise.
31817 (denorm): Likewise.
31818 (dbl_mp): Likewise.
31819 (sub_magnitudes): Likewise.
31820 (__add): Likewise.
31821 (__sub): Likewise.
31822 (__mul): Likewise.
31823 (__inv): Likewise.
31824 (__dvd): Likewise.
31825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31826 (norm): Likewise.
31827 (denorm): Likewise.
31828 (dbl_mp): Likewise.
31829 (sub_magnitudes): Likewise.
31830 (__add): Likewise.
31831 (__sub): Likewise.
31832 (__mul): Likewise.
31833 (__inv): Likewise.
31834 (__dvd): Likewise.
31835
31836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31837 instead of __mul.
31838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31839 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31840 (cc32): Likewise.
31841
31842 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31843 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31845 of __mul for squares.
31846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31847 function
31848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31849 Likewise.
31850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31851 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31852
318532013-02-13 Joseph Myers <joseph@codesourcery.com>
31854
31855 [BZ #13550]
31856 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31857 code.
31858 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31859 prototype or function definition. Rename ubp_* variables and
31860 parameters. Remove argv definitions conditional on
31861 [__BOUNDED_POINTERS__].
31862 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31863 * elf/dl-runtime.c (_dl_fixup): Likewise.
31864 * include/set-hooks.h (RUN_HOOK): Likewise.
31865 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31866 definition.
31867 * string/strcpy.c (strcpy): Do not use __unbounded.
31868 * sysdeps/generic/frame.h (struct layout): Likewise.
31869 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31870 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31871 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31872 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31873 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31874 (__backtrace): Likewise.
31875 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31876 use __ptrvalue.
31877 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31878 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31879 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31880 Likewise.
31881 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31882 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31883 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31884 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31885 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31886 Do not use __unbounded.
31887 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31888 Rename __unboundedrlimits parameter to rlimits in prototype.
31889 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31890 Do not use __unbounded.
31891 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31892 not use __ptrvalue.
31893 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31894 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31895 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31896 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31897 __ptrvalue or __unbounded.
31898 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31899 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31900 use __unbounded.
31901 (__new_msgctl): Do not use __ptrvalue.
31902 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31903 __unbounded.
31904 (__libc_msgrcv): Do not use __ptrvalue.
31905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31906 startup_info): Do not use __unbounded.
31907 (__libc_start_main): Likewise. Rename ubp_* variables and
31908 parameters. Remove argv definitions conditional on
31909 [__BOUNDED_POINTERS__].
31910 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31911 __ptrvalue.
31912 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31913 use __unbounded.
31914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31915 or __ptrvalue.
31916 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31917 use __unbounded.
31918 (__new_shmctl): Do not use __ptrvalue.
31919 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31920 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31921 Likewise.
31922 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31924 (__libc_sigaction): Likewise.
31925 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31927 Likewise.
31928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31929
319302013-02-13 Ondřej Bílka <neleai@seznam.cz>
31931
31932 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31933
31934 * string/mempcpy.c: Implement by calling memcpy.
31935
319362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31937
31938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31939
31940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31941 evaluation.
31942
31943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31944 values in the mantissa.
31945
31946 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31947 minimize writes to Z.
31948 (sub_magnitudes): Simplify code a bit.
31949
319502013-02-12 Roland McGrath <roland@hack.frob.com>
31951
31952 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31953 from the message. The linker prefixes all warnings with that already.
31954
319552013-02-12 Andreas Schwab <schwab@suse.de>
31956
31957 [BZ #15078]
31958 * posix/regexec.c (extend_buffers): Add parameter min_len.
31959 (check_matching): Pass minimum needed length.
31960 (clean_state_log_if_needed): Likewise.
31961 (get_subexp): Likewise.
31962 * posix/Makefile (tests): Add bug-regex34.
31963 (bug-regex34-ENV): Define.
31964 * posix/bug-regex34.c: New file.
31965
31966 [BZ #11561]
31967 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31968 elements compare against the byte sequence of it, not its name.
31969 * posix/Makefile (tests): Add bug-regex35.
31970 (bug-regex35-ENV): Define.
31971 * posix/bug-regex35.c: New file.
31972
319732013-02-11 Tom de Vries <tom@codesourcery.com>
31974
31975 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31976 comment.
31977 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31978 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31979 (CHECK_EOL): Add undef.
31980
319812013-02-11 Ondřej Bílka <neleai@seznam.cz>
31982
31983 * bits/stdlib-bsearch.h: New file.
31984 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31985 * stdlib/stdlib.h: Likewise.
31986
319872013-02-11 Roland McGrath <roland@hack.frob.com>
31988
31989 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31990 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31991 declaration.
31992 * manual/search.texi (Array Search Function): Add missing const in
31993 lfind prototype.
31994 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31995 declaration to use rlim_t.
31996 (Basic Scheduling Functions): Remove erroneous const from
31997 sched_getparam prototype. Remove erroneous * from
31998 sched_get_priority_max and sched_get_priority_min prototypes.
31999 (Resource Usage): Fix summary @comment on vtimes to refer to
32000 sys/vtimes.h rather than vtimes.h.
32001 Add missing *s in vtimes prototype.
32002 (Limits on Resources): Fix ulimit prototype to return long int.
32003 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32004 prototypes to use long int rather than double.
32005 (BSD Random): Fix initstate and setstate to use char *, not void *.
32006 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32007 prototype to make second argument 'struct aiocb64 *const[]'.
32008 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32009 (Status of AIO Operations): Remove erroneous const in aio_return and
32010 aio_return64 prototypes.
32011 (Synchronizing I/O): Fix sync prototype to return void.
32012 * manual/startup.texi (Suboptions): Remove an erroneous const in
32013 getsubopt prototype.
32014 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32015 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32016 use size_t rather than int.
32017 (Scanning All Users): Likewise for getpwent_r.
32018 (Setting Groups): Add missing const to setgroups prototype.
32019 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32020 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32021 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32022 'const void *' rather than 'const char *'.
32023 (Host Address Functions): Likewise for inet_ntop.
32024 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32025 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32026 ssize_t for return value.
32027 (Sending Data): Likewise for send, sendto, sendmsg.
32028 (Socket Option Functions): Add a missing const in setsockopt prototype.
32029 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32030 use wchar_t for the argument.
32031 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32032 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32033 take no arguments.
32034 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32035 double/float/long double for second argument.
32036 Fix return types of significand, significandf, significandl.
32037 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32038 argument in fchmod prototype.
32039 (File Owner): Use uid_t and gid_t in fchown prototype.
32040 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32041 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32042 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32043 use 'const struct dirent **' as argument types to CMP function pointer
32044 argument.
32045 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32046 (File Times): Fix summary magic @comment for struct utimbuf and utime
32047 to refer to utime.h, not time.h.
32048 * manual/string.texi (Argz Functions): Add missing const in
32049 argz_extract and argz_next prototypes.
32050 (Finding Tokens in a String): Likewise for basename.
32051 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32052 (Copying and Concatenation): Fix typo in wmemmove prototype.
32053 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32054 (Signal Stack): Remove erroneous const in sigstack prototype.
32055 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32056 prototype.
32057 (Simple Calendar Time): Likewise for stime.
32058 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32059 prototype.
32060 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32061 say sys/sysctl.h instead.
32062 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32063 and vsyslog prototypes.
32064
320652013-02-11 Tom de Vries <tom@codesourcery.com>
32066
32067 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32068 Remove.
32069
320702013-02-11 Roland McGrath <roland@hack.frob.com>
32071
32072 * misc/sys/mman.h: Fix typo in mremap comment.
32073
320742013-02-08 Roland McGrath <roland@hack.frob.com>
32075
32076 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32077 the '\0' terminator.
32078
320792013-02-08 Joseph Myers <joseph@codesourcery.com>
32080
32081 [BZ #13550]
32082 * debug/segfault.c: Don't include <bp-checks.h>.
32083 * sysdeps/generic/bp-checks.h: Remove file.
32084 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32085 (__GETDENTS): Don't use CHECK_N.
32086 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32088 (__getgroups): Don't use CHECK_N.
32089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32090 (setgroups): Don't use CHECK_N.
32091 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32092 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32093 (__libc_msgrcv): Don't use CHECK_N.
32094 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32095 (__libc_msgsnd): Don't use CHECK_N.
32096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32097 <bp-checks.h>.
32098 (__libc_pread): Don't use CHECK_N.
32099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32100 include <bp-checks.h>.
32101 (__libc_pread64): Don't use CHECK_N.
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32103 include <bp-checks.h>.
32104 (__libc_pwrite): Don't use CHECK_N.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32106 include <bp-checks.h>.
32107 (__libc_pwrite64): Don't use CHECK_N.
32108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32109 <bp-checks.h>.
32110 (__libc_pread): Don't use CHECK_N.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32112 include <bp-checks.h>.
32113 (__libc_pread64): Don't use CHECK_N.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32115 include <bp-checks.h>.
32116 (__libc_pwrite): Don't use CHECK_N.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32118 include <bp-checks.h>.
32119 (__libc_pwrite64): Don't use CHECK_N.
32120 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32121 (do_pread): Don't use CHECK_N.
32122 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32123 (do_pread64): Don't use CHECK_N.
32124 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32125 (do_pwrite): Don't use CHECK_N.
32126 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32127 (do_pwrite64): Don't use CHECK_N.
32128 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32129 (__libc_readv): Don't use CHECK_N.
32130 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32131 (semop): Don't use CHECK_N.
32132 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32133 <bp-checks.h>.
32134 (semtimedop): Don't use CHECK_N.
32135 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32136 (__libc_pread): Don't use CHECK_N.
32137 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32138 <bp-checks.h>.
32139 (__libc_pread64): Don't use CHECK_N.
32140 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32141 <bp-checks.h>.
32142 (__libc_pwrite): Don't use CHECK_N.
32143 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32144 <bp-checks.h>.
32145 (__libc_pwrite64): Don't use CHECK_N.
32146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32147 <bp-checks.h>.
32148 (__libc_msgrcv): Don't use CHECK_N.
32149 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32150 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32151 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32152 (__libc_writev): Don't use CHECK_N.
32153
321542013-02-08 Roland McGrath <roland@hack.frob.com>
32155
32156 * string/strcpy.c: Removed unused variable.
32157
32158 * Makeconfig (+sysdep-includes): Define with := rather than =.
32159 Use an existing include/ subdir of each sysdeps dir before it.
32160
321612013-02-08 Carlos O'Donell <carlos@redhat.com>
32162
32163 * nscd/connection.c (register_traced_file): Comment function.
32164 [HAVE_INOTIFY] (union __inev): Define.
32165 [HAVE_INOTIFY] (inotify_check_files): New function.
32166 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32167 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32168 clear_db_cache.
32169 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32170
321712013-02-08 Carlos O'Donell <carlos@redhat.com>
32172
32173 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32174 loaded if not already and that a failure is permanent.
32175
321762013-02-08 Carlos O'Donell <carlos@redhat.com>
32177
32178 [BZ #15006]
32179 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32180 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32181
321822013-02-08 Joseph Myers <joseph@codesourcery.com>
32183
32184 [BZ #13550]
32185 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32186 (CHECK_1_NULL_OK): Likewise.
32187 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32188 (__fxstat): Do not use CHECK_1.
32189 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32190 <bp-checks.h>.
32191 (___fxstat64): Do not use CHECK_1.
32192 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32193 <bp-checks.h>.
32194 (__fxstatat): Do not use CHECK_1.
32195 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32196 <bp-checks.h>.
32197 (__fxstatat64): Do not use CHECK_1.
32198 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32199 <bp-checks.h>.
32200 (__fxstat): Do not use CHECK_1.
32201 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32202 <bp-checks.h>.
32203 (__fxstatat): Do not use CHECK_1.
32204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32205 <bp-checks.h>.
32206 (__getresgid): Do not use CHECK_1.
32207 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32208 <bp-checks.h>.
32209 (__getresuid): Do not use CHECK_1.
32210 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32211 <bp-checks.h>.
32212 (__lxstat): Do not use CHECK_1.
32213 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32214 <bp-checks.h>.
32215 (__old_msgctl): Do not use CHECK_1.
32216 (__new_msgctl): Likewise.
32217 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32218 <bp-checks.h>.
32219 (__new_setrlimit): Do not use CHECK_1.
32220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32221 <bp-checks.h>.
32222 (__old_shmctl): Do not use CHECK_1.
32223 (__new_shmctl): Likewise.
32224 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32225 <bp-checks.h>.
32226 (__xstat): Do not use CHECK_1.
32227 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32228 (__lxstat): Do not use CHECK_1.
32229 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32230 <bp-checks.h>.
32231 (___lxstat64): Do not use CHECK_1.
32232 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32233 (__old_msgctl): Do not use CHECK_1.
32234 (__new_msgctl): Likewise.
32235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32236 <bp-checks.h>.
32237 (__gettimeofday): Do not use CHECK_1.
32238 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32239 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32240 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32241 <bp-checks.h>.
32242 (__gettimeofday): Do not use CHECK_1.
32243 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32244 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32245 (__new_shmctl): Do not use CHECK_1.
32246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32247 <bp-checks.h>.
32248 (do_sigtimedwait): Do not use CHECK_1.
32249 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32250 <bp-checks.h>.
32251 (do_sigwaitinfo): Do not use CHECK_1.
32252 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32253 <bp-checks.h>.
32254 (msgctl): Do not use CHECK_1.
32255 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32256 <bp-checks.h>.
32257 (shmctl): Do not use CHECK_1.
32258 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32259 (ustat): Do not use CHECK_1.
32260 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32261 <bp-checks.h>.
32262 (__fxstat): Do not use CHECK_1.
32263 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32264 <bp-checks.h>.
32265 (__fxstatat): Do not use CHECK_1.
32266 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32267 <bp-checks.h>.
32268 (__lxstat): Do not use CHECK_1.
32269 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32270 <bp-checks.h>.
32271 (__xstat): Do not use CHECK_1.
32272 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32273 (__xstat): Do not use CHECK_1.
32274 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32275 (___xstat64): Do not use CHECK_1.
32276
32277 [BZ #13550]
32278 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32279 definitions.
32280 (CHECK_BOUNDS_HIGH): Likewise.
32281 * string/strcpy.c: Do not include <bp-checks.h>.
32282 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32283
322842013-02-07 Roland McGrath <roland@hack.frob.com>
32285
32286 * nscd/nscd-client.h (__nscd_drop_map_ref):
32287 Add __attribute__ ((unused)).
32288 * nis/nss-nisplus.h (niserr2nss): Likewise.
32289
32290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32291 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32292
32293 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32294 Remove inline keyword.
32295 * include/rounding-mode.h (round_away): Likewise.
32296 * libio/wfileops.c (adjust_wide_data): Likewise.
32297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32298 (__m128i_strloadu_tolower): Likewise.
32299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32300 (__m128i_strloadu_tolower): Likewise.
32301 * time/mktime.c (ydhms_diff): Likewise.
32302 * locale/elem-hash.h (elem_hash): Likewise.
32303 * locale/setlocale.c (setdata): Likewise.
32304 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32305 (re_string_wchar_at): Likewise.
32306 (bitset_not, bitset_merge, bitset_mask): Likewise.
32307 [!(__GNUC__ > 3)] (inline): Remove macro.
32308 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32309 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32310 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32311 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32312 * string/memcmp.c (memcmp_bytes): Likewise.
32313 * locale/programs/locarchive.c (compute_hashval): Likewise.
32314 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32315 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32316 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32317 * nss/getent.c (print_rpc, print_protocols): Likewise.
32318 (print_passwd, print_group, print_aliases): Likewise.
32319 * nis/nss-nisplus.h (niserr2nss): Likewise.
32320 * nscd/connections.c (restart_p): Likewise.
32321 Change return type to bool.
32322
323232013-02-05 Roland McGrath <roland@hack.frob.com>
32324
32325 * Makeconfig (all-Depend-files): Add existing
32326 $(sorted-subdirs:=/Depend) files.
32327 (all-subdirs): Remove nss.
32328 * sysdeps/unix/inet/Subdirs: Add it here instead.
32329 * hesiod/Depend: New file.
32330
32331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32332 instead of calling alloca.
32333
32334 * io/lseek.c (__lseek): Rename to __libc_lseek.
32335 Define __lseek as an alias.
32336
32337 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32338
323392013-02-04 Carlos O'Donell <carlos@redhat.com>
32340
32341 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32342 else clause and remove check for non-standard endianness.
32343
323442013-02-04 David S. Miller <davem@davemloft.net>
32345
32346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32347
323482013-02-04 Joseph Myers <joseph@codesourcery.com>
32349
32350 [BZ #13550]
32351 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32352 (__ubp_memchr): Remove prototype.
32353 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32354 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32355 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32356 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32357 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32358 Remove alias.
32359 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32360 (__ubp_memchr): Likewise.
32361 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32362 (__ubp_memchr): Likewise.
32363 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32364 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32365 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32366 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32367 CHECK_STRING.
32368 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32369 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32370 (__getcwd): Do not use CHECK_STRING.
32371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32372 <bp-checks.h>.
32373 (__real_chown): Do not use CHECK_STRING.
32374 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32375 <bp-checks.h>.
32376 (fchownat): Do not use CHECK_STRING.
32377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32378 CHECK_STRING.
32379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32380 <bp-checks.h>.
32381 (__lchown): Do not use CHECK_STRING.
32382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32383 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32384 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32385 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32387 include <bp-checks.h>.
32388 (truncate64): Do not use CHECK_STRING.
32389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32390 <bp-checks.h>.
32391 (__real_chown): Do not use CHECK_STRING.
32392 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32393 <bp-checks.h>.
32394 (__lchown): Do not use CHECK_STRING.
32395 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32396 <bp-checks.h>.
32397 (__chown): Do not use CHECK_STRING.
32398 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32399 <bp-checks.h>.
32400 (truncate64): Do not use CHECK_STRING.
32401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32402 Likewise.
32403 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32404 (__xmknod): Do not use CHECK_STRING.
32405 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32406 <bp-checks.h>.
32407 (__xmknodat): Do not use CHECK_STRING.
32408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32409 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32410
324112013-02-04 Andreas Schwab <schwab@suse.de>
32412
32413 [BZ #14142]
32414 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32415 * include/netdb.h: Likewise for h_errno.
32416 * elf/tst-stackguard1.c: Include <tls.h>.
32417
324182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32419
32420 * elf/link.h (struct link_map): Extend the l_addr comment.
32421 * include/link.h (struct link_map): Likewise.
32422
324232013-02-01 Joseph Myers <joseph@codesourcery.com>
32424
32425 [BZ #13550]
32426 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32427 (BOUNDED_1): Remove macro.
32428 * debug/backtrace.c: Don't include <bp-checks.h>.
32429 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32430 (__backtrace): Likewise.
32431 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32432 <bp-checks.h>.
32433 (__backtrace): Don't use BOUNDED_1.
32434 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32435 <bp-checks.h>.
32436 (__backtrace): Don't use BOUNDED_1.
32437 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32438 (__backtrace): Don't use BOUNDED_1.
32439 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32440 (shmat): Don't use BOUNDED_N.
32441
324422013-01-31 Joseph Myers <joseph@codesourcery.com>
32443
32444 [BZ #13550]
32445 * sysdeps/generic/bp-start.h: Remove file.
32446 * csu/libc-start.c: Don't include <bp-start.h>.
32447 (LIBC_START_MAIN): Set up __environ directly instead of using
32448 INIT_ARGV_and_ENVIRON.
32449 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32450 <bp-start.h>.
32451
32452 [BZ #13550]
32453 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32454 definitions.
32455 (CHECK_FCNTL): Likewise.
32456 (CHECK_N_PAGES): Likewise.
32457
32458 [BZ #13550]
32459 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32460 definitions.
32461 (CHECK_SIGSET_NULL_OK): Likewise.
32462 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32463 <bp-checks.h>.
32464 (sigpending): Don't use CHECK_SIGSET.
32465 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32466 <bp-checks.h>.
32467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32468 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32469 <bp-checks.h>.
32470 (do_sigsuspend): Don't use CHECK_SIGSET.
32471 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32472 use CHECK_SIGSET.
32473 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32474 (do_sigwait): Don't use CHECK_SIGSET.
32475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32476 use CHECK_SIGSET.
32477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32478 include <bp-checks.h>.
32479 (sigpending): Don't use CHECK_SIGSET.
32480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32481 include <bp-checks.h>.
32482 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32484 <bp-checks.h>.
32485 (sigpending): Don't use CHECK_SIGSET.
32486 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32487 <bp-checks.h>.
32488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32489
32490 [BZ #13550]
32491 * sysdeps/generic/bp-semctl.h: Remove file.
32492 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32493 <bp-checks.h> and <bp-semctl.h>.
32494 (__old_semctl): Don't use CHECK_SEMCTL.
32495 (__new_semctl): Likewise.
32496 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32497 and <bp-semctl.h>.
32498 (__old_semctl): Don't use CHECK_SEMCTL.
32499 (__new_semctl): Likewise.
32500 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32501 <bp-checks.h> and <bp-semctl.h>.
32502 (__old_semctl): Don't use CHECK_SEMCTL.
32503 (__new_semctl): Likewise.
32504 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32505 <bp-checks.h> and <bp-semctl.h>.
32506 (semctl): Don't use CHECK_SEMCTL.
32507
32508 [BZ #13550]
32509 * Makerules (elide-bp-thunks): Remove variable.
32510 (elide-routines.oS): Don't use $(elide-bp-thunks).
32511 (elide-routines.os): Likewise.
32512 (elide-routines.o): Likewise.
32513 (elide-routines.op): Likewise.
32514 (elide-routines.og): Likewise.
32515 (objects): Don't use $(bp-thunks).
32516 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32517 include.
32518 (common-generated): Do not add s-proto-bp.d.
32519 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32520 (int): Likewise.
32521 (typ): Likewise.
32522 Do not generate makefile rules for bounded-pointer thunks.
32523 * sysdeps/generic/bp-thunks.h: Remove file.
32524 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32525 * sysdeps/unix/s-proto-bp.S: Likewise.
32526
32527 [BZ #15062]
32528 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32529 parts of result separately when argument is not close to line from
32530 -i to i and one part of argument is small.
32531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32533 * math/libm-test.inc (cacos_test): Add more tests.
32534 (casin_test): Likewise.
32535 (casinh_test): Likewise.
32536 * sysdeps/i386/fpu/libm-test-ulps: Update.
32537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32538
325392013-01-31 David S. Miller <davem@davemloft.net>
32540
32541 * po/de.po: Update from translation team.
32542
325432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32544
32545 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32546
325472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32548
32549 * configure.in (_AC_PROG_CC_C89): New definition.
32550 * configure: Regenerate.
32551
32552 * configure.in (AC_PROG_CPP): New definition.
32553 * configure: Regenerate.
32554
325552013-01-23 Joseph Myers <joseph@codesourcery.com>
32556
32557 * debug/tst-backtrace.h: New file.
32558 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32559 (ret): Remove variable.
32560 (x): Likewise.
32561 (FAIL): Remove macro.
32562 (NO_INLINE): Likewise.
32563 (fn1): Use match function instead of strstr.
32564 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32565 (ret): Remove variable.
32566 (x): Likewise.
32567 (FAIL): Remove macro.
32568 (NO_INLINE): Likewise.
32569 (fn): Use match function instead of strstr.
32570 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32571 (ret): Remove variable.
32572 (x): Likewise.
32573 (FAIL): Remove macro.
32574 (NO_INLINE): Likewise.
32575 (handle_signal): Use match function instead of strstr.
32576 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32577 (ret): Remove variable.
32578 (x): Likewise.
32579 (FAIL): Remove macro.
32580 (NO_INLINE): Likewise.
32581 (handle_signal): Use match function instead of strstr.
32582
325832013-01-23 Roland McGrath <roland@hack.frob.com>
32584
32585 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32586
325872013-01-23 David S. Miller <davem@davemloft.net>
32588
32589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32590 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32591 argument of CAS if possible.
32592 * sysdeps/sparc/sparc64/bits/atomic.h
32593 (__arch_compare_and_exchange_val_32_acq): Likewise.
32594 (__arch_compare_and_exchange_val_64_acq): Likewise.
32595
325962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32597
32598 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32599 * sysdeps/posix/ulimit.c: ... this.
32600 Include <limits.h>.
32601 * sysdeps/unix/bsd/ulimit.c: Remove file.
32602
326032013-01-23 Adam Conrad <adconrad@0c3.net>
32604
32605 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32606 (LDFLAGS-tst-array5): Likewise.
32607
326082013-01-23 Joseph Myers <joseph@codesourcery.com>
32609
32610 [BZ #15036]
32611 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32612 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32613 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32614 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32615
326162013-01-21 David S. Miller <davem@davemloft.net>
32617
32618 * sysdeps/sparc/backtrace.c: New file.
32619 * sysdeps/sparc/sparc32/backtrace.h: New file.
32620 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32621 * sysdeps/sparc/sparc64/backtrace.h: New file.
32622 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32623 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32624 -funwind-tables.
32625
326262013-01-21 Andreas Schwab <schwab@suse.de>
32627
32628 [BZ #15020]
32629 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32630 closed its stdout.
32631
326322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32633
32634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32635 "mpa2.h".
32636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32637
326382013-01-18 Joseph Myers <joseph@codesourcery.com>
32639 Mark Mitchell <mark@codesourcery.com>
32640 Tom de Vries <tom@codesourcery.com>
32641 Paul Pluzhnikov <ppluzhnikov@google.com>
32642
32643 * debug/tst-backtrace2.c: New file.
32644 * debug/tst-backtrace3.c: Likewise.
32645 * debug/tst-backtrace4.c: Likewise.
32646 * debug/tst-backtrace5.c: Likewise.
32647 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32648 (CFLAGS-tst-backtrace3.c): Likewise.
32649 (CFLAGS-tst-backtrace4.c): Likewise.
32650 (CFLAGS-tst-backtrace5.c): Likewise.
32651 (LDFLAGS-tst-backtrace2): Likewise.
32652 (LDFLAGS-tst-backtrace3): Likewise.
32653 (LDFLAGS-tst-backtrace4): Likewise.
32654 (LDFLAGS-tst-backtrace5): Likewise.
32655 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32656 tst-backtrace4 and tst-backtrace5.
32657
326582013-01-18 Anton Blanchard <anton@samba.org>
32659 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32660
32661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32662 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32663 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32664 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32666 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32667 "+r" and remove output regs list as redundant. Add explicit inline
32668 asm to specify register of return val to work around compiler codegen
32669 bug. Remove (int) cast on return value. Add return type parameter to
32670 use in macro so that this macro does not truncate return value for
32671 64-bit values.
32672 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32673 pass to INTERNAL_VSYSCALL_NCS.
32674 (INLINE_VSYSCALL): Add 'long int' as return type to
32675 INTERNAL_VSYSCALL_NCS macro invocation.
32676 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32677 INTERNAL_VSYSCALL_NCS macro invocation.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32679
326802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32681
32682 [BZ #14496]
32683 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32684 Fix application of SIMD FP exception mask.
32685
32686 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32687 mp_no from a power of two.
32688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32689 __mpexp_twomm1. Use __pow_mp.
32690
32691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32692 multiplication.
32693
326942013-01-17 David S. Miller <davem@davemloft.net>
32695
32696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32697
326982013-01-17 Joseph Myers <joseph@codesourcery.com>
32699
32700 [BZ #15023]
32701 * include/complex.h: Condition contents on [!_COMPLEX_H].
32702 (__kernel_casinhf): New prototype.
32703 (__kernel_casinh): Likewise.
32704 (__kernel_casinhl): Likewise.
32705 * math/Makefile (libm_calls): Add k_casinh.
32706 * math/k_casinh.c: New file.
32707 * math/k_casinhf.c: Likewise.
32708 * math/k_casinhl.c: Likewise.
32709 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32710 finite nonzero arguments.
32711 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32712 finite nonzero arguments.
32713 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32714 finite nonzero arguments.
32715 * math/s_casinh.c: Do not include <float.h>.
32716 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32717 * math/s_casinhf.c: Do not include <float.h>.
32718 (__casinhf): Move code for finite nonzero arguments to
32719 k_casinhf.c.
32720 * math/s_casinhl.c: Do not include <float.h>.
32721 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32722 redefine.
32723 (__casinhl): Move code for finite nonzero arguments to
32724 k_casinhl.c.
32725 * math/libm-test.inc (cacos_test): Add more tests.
32726 * sysdeps/i386/fpu/libm-test-ulps: Update.
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32728
327292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32730
32731 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32732 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32733 [!HAVE_MREMAP]: Remove [defined linux] case.
32734 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32735
327362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32737
32738 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32739
327402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * elf/elf.h (R_386_SIZE32): New relocation.
32743 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32744 R_386_SIZE32.
32745 (elf_machine_rela): Likewise.
32746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32747 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32748
327492013-01-17 Joseph Myers <joseph@codesourcery.com>
32750
32751 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32752 (FP_FAST_FMA): Do not define.
32753 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32754 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32755 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32756 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32757 !_SOFT_FLOAT]: Likewise.
32758 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32759 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32760 value.
32761 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32762 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32765 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32766 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32767 file.
32768
327692013-01-16 Andreas Schwab <schwab@suse.de>
32770
32771 [BZ #14327]
32772 * include/stdlib.h (__mktemp): Add declaration.
32773 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32774 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32775
327762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32777
32778 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32779 definitions.
32780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32781 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32782 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32783 definitions here.
32784 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32785 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32786 definitions.
32787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32788 and ONE.
32789 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32790 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32791 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32792 definitions.
32793 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32794 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32795 definitions.
32796 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32797
32798 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32799
328002013-01-15 David S. Miller <davem@davemloft.net>
32801
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32803 trunc{,f} to libm-sysdep_routes.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32806 file.
32807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32809 file.
32810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32811 file.
32812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32817 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32818 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32819 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32820
32821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32822 nearbyint{,f} to libm-sysdep_routes.
32823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32825 New file.
32826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32827 file.
32828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32829 New file.
32830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32831 file.
32832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32835 file.
32836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32838 file.
32839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32840 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32841 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32842
32843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32844 libc_feholdexcept and libc_fesetenv.
32845
328462013-01-15 Mike Frysinger <vapier@gentoo.org>
32847
32848 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32849
328502013-01-14 David S. Miller <davem@davemloft.net>
32851
32852 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32853 (SPARC_ASM_VIS2_IFUNC): Likewise.
32854 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32856 use of 'siam' instruction.
32857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32858 Likewise.
32859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32860 Likewise.
32861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32862 Likewise.
32863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32868 file.
32869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32870 file.
32871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32872 file.
32873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32874 file.
32875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32880 new VIS2 routines.
32881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32884 Likewise.
32885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32890 routines to libm-sysdep_routines.
32891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32892
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32894 fdim/fdimf to libm-sysdep_routines.
32895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32896 file.
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32899 file.
32900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32903 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32904 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32905 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32906 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32907
329082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32909
32910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32911 to optimize copies.
32912
32913 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32916
32917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32918 local variable MPTWO.
32919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32920 Likewise.
32921
329222013-01-13 Mike Frysinger <vapier@gentoo.org>
32923
32924 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32925 GLOB_NOESCAPE.
32926
329272013-01-13 Mike Frysinger <vapier@gentoo.org>
32928
32929 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32930
329312013-01-13 Mike Frysinger <vapier@gentoo.org>
32932
32933 * manual/pattern.texi (glob_t): Document gl_flags.
32934 (glob64_t): Likewise.
32935
329362013-01-11 David S. Miller <davem@davemloft.net>
32937
32938 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32939 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32940 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32941 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32942 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32943 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32944 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32945 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32946 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32947 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32948 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32949 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32951
32952 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32953 sparc V9 rather than using V8 code.
32954 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32955 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32956
32957 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32958 Move to...
32959 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32960 Here.
32961
329622013-01-11 Roland McGrath <roland@hack.frob.com>
32963
32964 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32965 not in the main loop.
32966 * configure: Regenerated.
32967
329682013-01-11 Joseph Myers <joseph@codesourcery.com>
32969
32970 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32971 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32972 to just #else.
32973 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32974 [!__GLIBC_HAVE_LONG_LONG] case.
32975 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32976 condition to just #else.
32977 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32978 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32979 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32980 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32981 unconditional.
32982 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32983 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32984 #elif condition to just #else.
32985 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32986 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32987 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32988 #elif condition to just #else.
32989
329902013-01-11 Steve Ellcey <sellcey@mips.com>
32991
32992 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32993 (EF_MIPS_ARCH_64): Fix value.
32994 (EF_MIPS_ARCH_32R2): New.
32995 (EF_MIPS_ARCH_64R2): New.
32996
329972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32998
32999 * Makeconfig (+link-pie-before-libc): New.
33000 (+link-pie-after-libc): Likewise.
33001 (+link-pie-tests): Likewise.
33002 (+link-pie): Rewritten.
33003 (link-before-libc): Remove $(config-LDFLAGS).
33004 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33005 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33006 (config-LDFLAGS): Renamed to ...
33007 (rtld-LDFLAGS): This.
33008 (rtld-tests-LDFLAGS): New macro.
33009 (link-libc-rpath-link): Likewise.
33010 (link-libc-tests-rpath-link): Likewise.
33011 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33012 (link-libc): Prepand $(link-libc-rpath-link).
33013 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33014 (test-program-prefix): New macro.
33015 (test-via-rtld-prefix): Likewise.
33016 (test-program-cmd): Likewise.
33017 (host-test-program-cmd): Likewise.
33018 * Makefile ($(common-objpfx)testrun.sh): Replace
33019 $(run-program-prefix) with $(test-program-prefix).
33020 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33021 $(rtld-LDFLAGS).
33022 ($(common-objpfx)shlib.lds): Likewise.
33023 (build-module-helper): Likewise.
33024 ($(common-objpfx)format.lds): Likewise.
33025 * Rules (binaries-pie-tests): New.
33026 (binaries-pie-notests): Likewise.
33027 (binaries-pie): Rewritten.
33028 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33029 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33030 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33031 (make-test-out): Replace $(host-built-program-cmd) with
33032 $(host-test-program-cmd).
33033 * config.make.in (build-hardcoded-path-in-tests): New variable.
33034 * configure.in (--enable-hardcoded-path-in-tests): New configure
33035 option.
33036 (hardcoded_path_in_tests): New AC_SUBST.
33037 * configure: Regenerated.
33038 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33039 $(built-program-cmd) with $(test-program-cmd).
33040 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33041 (test_program_cmd): This.
33042 * elf/Makefile ($(objpfx)order.out): Run test with
33043 $(test-program-prefix).
33044 ($(objpfx)order2.out): Likewise.
33045 ($(objpfx)tst-initorder.out): Likewise.
33046 ($(objpfx)tst-initorder2.out): Likewise.
33047 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33048 $(test-program-cmd).
33049 ($(objpfx)tst-array1-static.out): Likewise.
33050 ($(objpfx)tst-array2.out): Likewise.
33051 ($(objpfx)tst-array3.out): Likewise.
33052 ($(objpfx)tst-array4.out): Likewise.
33053 ($(objpfx)tst-array5.out): Likewise.
33054 ($(objpfx)tst-array5-static.out): Likewise.
33055 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33056 $(test-program-cmd).
33057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33058 $(run-program-prefix) with $(test-program-prefix).
33059 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33060 (test_program_prefix): This.
33061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33062 $(run-program-prefix) with $(test-program-prefix).
33063 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33064 (test_program_prefix): This.
33065 * iconvdata/tst-tables.sh: Likewise.
33066 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33067 $(run-program-prefix) with $(test-program-prefix).
33068 ($(objpfx)tst-translit.out): Likewise.
33069 ($(objpfx)tst-gettext2.out): Likewise.
33070 ($(objpfx)tst-gettext4.out): Likewise.
33071 ($(objpfx)tst-gettext6.out): Likewise.
33072 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33073 (test_program_prefix): This.
33074 * intl/tst-gettext2.sh: Likewise.
33075 * intl/tst-gettext4.sh Likewise.
33076 * intl/tst-gettext6.sh: Likewise.
33077 * intl/tst-translit.sh: Likewise.
33078 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33079 with $(test-program-cmd).
33080 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33081 $(run-program-prefix) with $(test-program-prefix).
33082 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33083 (test_program_prefix): This.
33084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33085 $(run-program-prefix) with $(test-program-prefix).
33086 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33087 (test_program_prefix): This.
33088 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33089 * posix/Makefile ($(objpfx)globtest.out): Replace
33090 $(run-via-rtld-prefix) and $(test-wrapper) with
33091 $(test-program-prefix) and $(test-via-rtld-prefix).
33092 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33093 $(test-program-prefix).
33094 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33095 $(host-test-program-cmd).
33096 (tst-spawn-ARGS): Likewise.
33097 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33098 $(test-program-prefix).
33099 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33100 (test_via_rtld_prefix): This.
33101 (test_wrapper): Renamed to ...
33102 (test_program_prefix): This.
33103 (run_program_prefix): Replaced by test_program_prefix.
33104 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33105 (test_program_prefix): This.
33106 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33107 with $(host-test-program-cmd).
33108 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33109 $(run-program-prefix) with $(test-program-prefix).
33110 ($(objpfx)tst-printf.out): Likewise.
33111 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33112 $(test-program-cmd).
33113 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33114 (test_program_prefix): This.
33115 * stdio-common/tst-unbputc.sh: Likewise.
33116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33117 $(run-program-prefix) with $(test-program-prefix).
33118 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33119 (test_program_prefix): This.
33120 * string/Makefile ($(objpfx)tst-svc.out): Replace
33121 $(built-program-cmd) with $(test-program-cmd).
33122
331232013-01-11 Andreas Jaeger <aj@suse.de>
33124
33125 [BZ #15003]
33126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33127 value. Sync with Linux 3.7.
33128
331292013-01-10 David S. Miller <davem@davemloft.net>
33130
33131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33132 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33133 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33134
331352013-01-10 Roland McGrath <roland@hack.frob.com>
33136
33137 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33138 never set.
33139 * configure: Regenerated.
33140
331412013-01-10 David S. Miller <davem@davemloft.net>
33142
33143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33144 sparc V9 rather than using V8 code.
33145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33147
331482013-01-10 Roland McGrath <roland@hack.frob.com>
33149
33150 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33151 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33152 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33153 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33154 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33155 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33156 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33157 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33158 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33159 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33160 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33161 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33162 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33163 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33164 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33165 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33166 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33167 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33168 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33169 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33170 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33171 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33172 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33173 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33174 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33175 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33176 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33177
331782013-01-10 David S. Miller <davem@davemloft.net>
33179
33180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33181
331822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * posix/Makefile (tests-static): New variable.
33185 (tests): Add $(tests-static).
33186 (tst-exec-static-ARGS): New variable.
33187 (tst-spawn-static-ARGS): Likewise.
33188 * posix/tst-exec-static.c: New file.
33189 * posix/tst-spawn-static.c: Likewise.
33190 * posix/tst-exec.c: Support run directly.
33191 * posix/tst-spawn.c: Likewise.
33192
331932013-01-10 Joseph Myers <joseph@codesourcery.com>
33194
33195 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33196 long.
33197 * math/bits/mathcalls.h (llrint): Likewise.
33198 (llround): Likewise.
33199 * stdlib/stdlib.h (struct drand48_data): Likewise.
33200 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33201 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33203 Likewise.
33204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33205 Likewise.
33206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33207 (elf_greg_t): Likewise.
33208 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33209 (__jmp_buf): Likewise.
33210 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33211 definitions.
33212 (llrint): Likewise, for all definitions.
33213 (llrintl): Likewise.
33214
33215 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33216 Remove [__GNUC__] condition.
33217 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33218 condition to just [__USE_ISOC99].
33219 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33220
332212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33222
33223 [BZ #14200]
33224 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33225 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33226 defined.
33227 (_POSIX_V6_ILP32_OFF32): Likewise.
33228 (_XBS5_ILP32_OFF32): Likewise.
33229 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33230 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33231
332322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33233
33234 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33235
33236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33237 doubles __mpexp_twomm1. Adjust usage.
33238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33239 Remove.
33240
332412013-01-10 Andreas Schwab <schwab@suse.de>
33242
33243 [BZ #14964]
33244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33245 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33246
332472013-01-09 David S. Miller <davem@davemloft.net>
33248
33249 [BZ #15003]
33250 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33251 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33252 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33253 (TCP_FASTOPEN): Define.
33254 (tcp_repair_opt): New structure.
33255 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33256 enum values.
33257 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33258 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33259 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33260 (tcp_cookie_transactions): New structure.
33261
332622013-01-09 Anton Blanchard <anton@samba.org>
33263
33264 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33268
332692013-01-09 Joseph Myers <joseph@codesourcery.com>
33270
33271 * include/features.h (__USE_ANSI): Remove.
33272
332732013-01-09 Roland McGrath <roland@hack.frob.com>
33274
33275 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33276
33277 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33278
332792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33280
33281 * sysdeps/s390/fpu/libm-test-ulps: Update.
33282
33283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33284
33285 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33286 (__acr): Likewise.
33287 (__cpy): Likewise.
33288 (norm): Likewise.
33289 (denorm): Likewise.
33290 (__mp_dbl): Likewise.
33291 (__dbl_mp): Likewise.
33292 (add_magnitudes): Likewise.
33293 (sub_magnitudes): Likewise.
33294 (__add): Likewise.
33295 (__sub): Likewise.
33296 (__mul): Likewise.
33297 (__inv): Likewise.
33298 (__dvd): Likewise.
33299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33300 (__acr): Likewise.
33301 (__cpy): Likewise.
33302 (norm): Likewise.
33303 (denorm): Likewise.
33304 (__mp_dbl): Likewise.
33305 (__dbl_mp): Likewise.
33306 (add_magnitudes): Likewise.
33307 (sub_magnitudes): Likewise.
33308 (__add): Likewise.
33309 (__sub): Likewise.
33310 (__mul): Likewise.
33311 (__inv): Likewise.
33312 (__dvd): Likewise.
33313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33314 (__acr): Likewise.
33315 (__cpy): Likewise.
33316 (norm): Likewise.
33317 (denorm): Likewise.
33318 (__mp_dbl): Likewise.
33319 (__dbl_mp): Likewise.
33320 (add_magnitudes): Likewise.
33321 (sub_magnitudes): Likewise.
33322 (__add): Likewise.
33323 (__sub): Likewise.
33324 (__mul): Likewise.
33325 (__inv): Likewise.
33326 (__dvd): Likewise.
33327
333282013-01-08 Joseph Myers <joseph@codesourcery.com>
33329
33330 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33331 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33332 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33333 2 && __USE_EXTERN_INLINES]: Likewise.
33334
333352013-01-08 Andreas Jaeger <aj@suse.de>
33336
33337 [BZ# 14985]
33338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33339 Remove.
33340 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33342
333432013-01-07 Anton Blanchard <anton@samba.org>
33344
33345 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33347 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33348 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33351 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33352 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33369 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33372 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33375 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33383 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33388
333892013-01-07 Joseph Myers <joseph@codesourcery.com>
33390
33391 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33392 (__MALLOC_PMT): Likewise.
33393 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33394 [__GNUC__], only on [_LIBC].
33395 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33396 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33397 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33398 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33399 forward declaration.
33400 (realloc_hook_ini): Likewise.
33401 (memalign_hook_ini): Likewise.
33402 (__libc_memalign): Do not use __MALLOC_PMT in variable
33403 declaration.
33404 (__libc_valloc): Likewise.
33405 (__libc_pvalloc): Likewise.
33406 (__libc_calloc): Likewise.
33407 (__posix_memalign): Likewise.
33408
33409 [BZ #14996]
33410 * math/s_casinh.c: Include <float.h>.
33411 (__casinh): Do not do computation with squaring and square root
33412 for large arguments.
33413 * math/s_casinhf.c: Include <float.h>.
33414 (__casinhf): Do not do computation with squaring and square root
33415 for large arguments.
33416 * math/s_casinhl.c: Include <float.h>.
33417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33418 (__casinhl): Do not do computation with squaring and square root
33419 for large arguments.
33420 * math/libm-test.inc (casin_test): Add more tests.
33421 (casinh_test): Likewise.
33422 * sysdeps/i386/fpu/libm-test-ulps: Update.
33423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33424
334252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33426
33427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33428 (__x86_64_raw_data_cache_size): Likewise.
33429 (__x86_64_data_cache_size_half): Likewise.
33430 (__x86_64_raw_data_cache_size_half): Likewise.
33431 (__x86_64_shared_cache_size): Likewise.
33432 (__x86_64_raw_shared_cache_size): Likewise.
33433 (__x86_64_shared_cache_size_half): Likewise.
33434 (__x86_64_raw_shared_cache_size_half): Likewise.
33435 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33436 to ...
33437 (__x86_data_cache_size): This.
33438 (__x86_64_raw_data_cache_size): Renamed to ...
33439 (__x86_raw_data_cache_size): This.
33440 (__x86_64_data_cache_size_half): Renamed to ...
33441 (__x86_data_cache_size_half): This.
33442 (__x86_64_raw_data_cache_size_half): Renamed to ...
33443 (__x86_raw_data_cache_size_half): This.
33444 (__x86_64_shared_cache_size): Renamed to ...
33445 (__x86_shared_cache_size): This.
33446 (__x86_64_raw_shared_cache_size): Renamed to ...
33447 (__x86_raw_shared_cache_size): This.
33448 (__x86_64_shared_cache_size_half): Renamed to ...
33449 (__x86_shared_cache_size_half): This.
33450 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33451 (__x86_raw_shared_cache_size_half): This.
33452 * sysdeps/x86_64/memcpy.S: Updated.
33453 * sysdeps/x86_64/memset.S: Likewise.
33454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33457
334582013-01-04 David S. Miller <davem@davemloft.net>
33459
33460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33461
334622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33463
33464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33465 1 to avoid redefinition warning.
33466 (__USE_GNU): Don't define.
33467 (init_signaling_nan): Protoize.
33468
33469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33470
334712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33472
33473 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33475 (__cpymn): Likewise.
33476 (norm): Remove commented code.
33477 (denorm): Likewise.
33478 (__mp_dbl): Likewise.
33479 (__inv): Likewise.
33480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33481 (__cpymn): Likewise.
33482 (norm): Remove commented code.
33483 (denorm): Likewise.
33484 (__mp_dbl): Likewise.
33485 (__inv): Likewise.
33486
33487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33488 mp_no value for 1.0 and 2.0.
33489 (norm): Use RADIXI instead of radixi.d.
33490 (denorm): Likewise.
33491 (__mul): Use 0.0 instead of zero.d.
33492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33493 mp_no value for 1.0 and 2.0.
33494 (norm): Use RADIXI instead of radixi.d.
33495 (denorm): Likewise.
33496 (__mul): Use 0.0 instead of zero.d.
33497
334982013-01-04 Joseph Myers <joseph@codesourcery.com>
33499
33500 [BZ #14994]
33501 * math/s_casinh.c (__casinh): Reduce finite argument to first
33502 quadrant then set signs of results at the end.
33503 * math/s_casinhf.c (__casinhf): Likewise.
33504 * math/s_casinhl.c (__casinhl): Likewise.
33505 * math/libm-test.inc (casin_test): Add more tests.
33506 (casinh_test): Likewise.
33507 * sysdeps/i386/fpu/libm-test-ulps: Update.
33508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33509
335102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33511
33512 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33513
33514 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33515
33516 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33517 declarations.
33518 (denorm): Likewise.
33519 (__mp_dbl): Likewise.
33520 (__inv): Likewise.
33521
33522 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33523 and adjust the header comment.
33524
33525 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33526 variable name from declaration.
33527
335282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33529
33530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33531 Initialize COMMON_CPUID_INDEX_7 element.
33532 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33533 (CPUID_RTM): Likewise.
33534 (HAS_RTM): Likewise.
33535 (COMMON_CPUID_INDEX_7): New enum.
33536
335372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33538
33539 [BZ #14981]
33540 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33541 size is zero, record memory as freed.
33542
335432013-01-03 Andreas Jaeger <aj@suse.de>
33544
33545 * po/ia.po: Add new Interlingua translation.
33546
335472012-01-03 Allan McRae <allan@archlinux.org>
33548
33549 * locale/programs/localedef.c: Fix description of '--posix' flag.
33550
335512013-01-02 Joseph Myers <joseph@codesourcery.com>
33552
33553 * NEWS: Update dates in second copyright notice.
33554 * README: Update copyright dates in example.
33555 * manual/libc.texinfo: Update copyright dates.
33556 * scripts/test-installation.pl: Update copyright date in --version
33557 output.
33558
33559 * hurd/ctty-input.c: Fix copyright notice formatting.
33560 * hurd/ctty-output.c: Likewise.
33561 * hurd/dtable.c: Likewise.
33562 * hurd/hurd-raise.c: Likewise.
33563 * hurd/hurdprio.c: Likewise.
33564 * hurd/msgportdemux.c: Likewise.
33565 * misc/sys/file.h: Likewise.
33566 * misc/sys/ioctl.h: Likewise.
33567 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33568 * sysdeps/mach/hurd/chdir.c: Likewise.
33569 * sysdeps/mach/hurd/fchdir.c: Likewise.
33570 * sysdeps/mach/hurd/rename.c: Likewise.
33571 * sysdeps/mach/hurd/rmdir.c: Likewise.
33572 * sysdeps/mach/hurd/seekdir.c: Likewise.
33573 * sysdeps/mach/hurd/setsid.c: Likewise.
33574 * sysdeps/posix/wait3.c: Likewise.
33575
33576 * All files with FSF copyright notices: Update copyright dates
33577 using scripts/update-copyrights.
33578 * intl/plural.c: Regenerated.
33579 * locale/programs/charmap-kw.h: Likewise.
33580 * locale/programs/locfile-kw.h: Likewise.
33581
335822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33583
33584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33585 four values.
33586
33587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33588 calculation loop and add branch prediction.
33589
33590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33591 check access beyond bounds of m1np.
33592
33593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33594 MPTWO.
33595 (__inv): Remove local variable MPTWO to use the global
33596 constant.
33597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33599 variable MPTWO.
33600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33601 MP3HALFS static const.
33602
336032013-01-01 David S. Miller <davem@davemloft.net>
33604
33605 * po/ca.po: Update from translation team.
33606
336072013-01-01 Joseph Myers <joseph@codesourcery.com>
33608
33609 * scripts/update-copyrights: New file.
33610 * Makeconfig: Reformat copyright notice.
33611 * ctype/ctype.h: Likewise.
33612 * debug/swprintf_chk.c: Likewise.
33613 * elf/dl-cache.c: Likewise.
33614 * elf/dl-debug.c: Likewise.
33615 * elf/dl-object.c: Likewise.
33616 * grp/initgroups.c: Likewise.
33617 * hurd/Makefile: Likewise.
33618 * hurd/hurd/signal.h: Likewise.
33619 * hurd/hurdfault.c: Likewise.
33620 * hurd/hurdioctl.c: Likewise.
33621 * hurd/hurdlookup.c: Likewise.
33622 * hurd/intr-msg.c: Likewise.
33623 * iconv/gconv_open.c: Likewise.
33624 * libio/swprintf.c: Likewise.
33625 * locale/lc-ctype.c: Likewise.
33626 * locale/nl_langinfo.c: Likewise.
33627 * mach/Machrules: Likewise.
33628 * mach/Makefile: Likewise.
33629 * malloc/obstack.h: Likewise.
33630 * manual/Makefile: Likewise.
33631 * manual/tsort.awk: Likewise.
33632 * misc/bits/stab.def: Likewise.
33633 * nis/nis_print_group_entry.c: Likewise.
33634 * nis/nis_table.c: Likewise.
33635 * nis/nss_compat/compat-pwd.c: Likewise.
33636 * nis/nss_compat/compat-spwd.c: Likewise.
33637 * po/Makefile: Likewise.
33638 * posix/fnmatch.c: Likewise.
33639 * posix/regex.h: Likewise.
33640 * resolv/Makefile: Likewise.
33641 * resolv/nss_dns/dns-network.c: Likewise.
33642 * resolv/res_hconf.c: Likewise.
33643 * scripts/gen-sorted.awk: Likewise.
33644 * soft-fp/soft-fp.h: Likewise.
33645 * stdio-common/printf.h: Likewise.
33646 * stdlib/monetary.h: Likewise.
33647 * stdlib/random.c: Likewise.
33648 * stdlib/random_r.c: Likewise.
33649 * sysdeps/generic/Makefile: Likewise.
33650 * sysdeps/gnu/Makefile: Likewise.
33651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33679 * sysdeps/mach/hurd/errnos.awk: Likewise.
33680 * sysdeps/mach/hurd/fork.c: Likewise.
33681 * sysdeps/mach/hurd/getcwd.c: Likewise.
33682 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33683 * sysdeps/mach/hurd/mmap.c: Likewise.
33684 * sysdeps/mach/hurd/utimes.c: Likewise.
33685 * sysdeps/mach/hurd/xmknod.c: Likewise.
33686 * sysdeps/posix/profil.c: Likewise.
33687 * sysdeps/posix/readdir_r.c: Likewise.
33688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33689 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33699 * sysdeps/pthread/lio_listio.c: Likewise.
33700 * sysdeps/sparc/dl-procinfo.h: Likewise.
33701 * sysdeps/unix/i386/sysdep.S: Likewise.
33702 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33703 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33704 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33705 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33709 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33711 * sysdeps/wordsize-32/divdi3.c: Likewise.
33712 * time/sys/time.h: Likewise.
33713 * wcsmbs/Makefile: Likewise.
33714
337152013-01-01 David S. Miller <davem@davemloft.net>
33716
33717 * po/fr.po: Update from translation team.
33718
33719 * catgets/gencat.c: Update copyright year.
33720 * csu/version.c: Likewise.
33721 * debug/catchsegv.sh: Likewise.
33722 * debug/pcprofiledump.c: Likewise.
33723 * debug/xtrace.sh: Likewise.
33724 * elf/ldconfig.c: Likewise.
33725 * elf/ldd.bash.in: Likewise.
33726 * elf/pldd.c: Likewise.
33727 * elf/sotruss.ksh: Likewise.
33728 * elf/sprof.c: Likewise.
33729 * iconv/iconv_prog.c: Likewise.
33730 * iconv/iconvconfig.c: Likewise.
33731 * locale/programs/locale.c: Likewise.
33732 * locale/programs/localedef.c: Likewise.
33733 * login/programs/pt_chown.c: Likewise.
33734 * malloc/memusage.sh: Likewise.
33735 * malloc/memusagestat.c: Likewise.
33736 * malloc/mtrace.pl: Likewise.
33737 * nscd/nscd.c: Likewise.
33738 * nss/getent.c: Likewise.
33739 * nss/makedb.c: Likewise.
33740 * posix/getconf.c: Likewise.
33741
337422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33743
33744 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33745 numbers.
33746
337472012-12-30 Mike Frysinger <vapier@gentoo.org>
33748
33749 * math/bits/mathcalls.h (modf): Use __nonnull.
33750
337512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33752
33753 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33754 (split): Use macro CN instead of the bare value.
33755 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33756 could be used.
33757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33758 instead of the bare value.
33759 (power1): Likewise.
33760
337612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33762
33763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33764 __ATAN_TWOM.
33765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33766
33767 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33768 their values.
33769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33771 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33772 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33773
337742012-12-28 Andreas Jaeger <aj@suse.de>
33775
33776 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33777 values are from Linux 3.7.
33778
33779 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33780 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33781
337822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33783
33784 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33785 TRUE case.
33786
33787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33788 (norm): Likewise.
33789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33790 variables with preprocessor constants.
33791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33794
337952012-12-27 Bruno Haible <bruno@clisp.org>
33796
33797 [BZ #14317]
33798 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33799 only if needed.
33800
338012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33802
33803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33804 and use variable directly.
33805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33806
33807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33808 MPONE.
33809 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33811 variable MPONE.
33812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33814 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33815 include directive. Remove local variable MPONE.
33816 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33819
338202012-12-25 David S. Miller <davem@davemloft.net>
33821
33822 * version.h (RELEASE): Set to "development".
33823 (VERSION): Set to "2.17.90".
33824 * NEWS: Add 2.18 section.
33825
338262012-12-21 David S. Miller <davem@davemloft.net>
33827
33828 * po/hr.po: Update from translation team.
33829
338302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33831
33832 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33833
338342012-12-19 Steve Ellcey <sellcey@mips.com>
33835
33836 * NEWS: Mention new memcpy for MIPS.
33837
338382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33839
33840 * manual/contrib.texi (Contributors): Spelling correction.
33841
338422012-12-15 David S. Miller <davem@davemloft.net>
33843
33844 * po/ru.po: Update from translation team.
33845
338462012-12-13 David S. Miller <davem@davemloft.net>
33847
33848 * NEWS: Mention IFUNC testsuite enhancements.
33849
33850 * po/pl.po: Update from translation team.
33851 * po/bg.po: Likewise.
33852
33853 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33854 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33855
338562012-12-11 David S. Miller <davem@davemloft.net>
33857
33858 * po/sv.po: Update from translation team.
33859
33860 * po/vi.po: Update from translation team.
33861
33862 * po/cs.po: Update from translation team.
33863
33864 * po/de.po: Update from translation team.
33865 * po/eo.po: Likewise.
33866 * po/nl.po: Likewise.
33867
338682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33869
33870 [BZ #14246]
33871 * manual/argp.texi (Argp Helper Functions): Move node to follow
33872 Argp Parsing State.
33873
33874 [BZ #14872]
33875 * manual/conf.texi (Limits on File System Capacity): Mention if
33876 terminating null is included in the max size.
33877
338782012-12-10 Andreas Jaeger <aj@suse.de>
33879
33880 * po/cs.po: Update from translation team.
33881
338822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33883
33884 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33885 void pointer and cast to uintptr_t.
33886 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33887 path.
33888 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33889 * sysdeps/s390/s390-64/memset.S: Likewise.
33890
338912012-12-08 Benno Schulenberg <bensberg@justemail.net>
33892
33893 [BZ #14833]
33894 * menual/message.texi (Message Translation): Fix typos.
33895 (Helper programs for gettext): Likewise.
33896
338972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33898
33899 [BZ #14898]
33900 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33901 Change to -1.
33902
339032012-12-07 David S. Miller <davem@davemloft.net>
33904
33905 * po/libc.pot: Update.
33906
339072012-12-07 Richard Henderson <rth@redhat.com>
33908
33909 [BZ #10114]
33910 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33911 normal/normal case to before the switch.
33912 (_FP_DIV): Likewise.
33913
339142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33915 Mike Frysinger <vapier@gentoo.org>
33916
33917 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33918 check for __NR_fadvise64_64.
33919
339202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33921
33922 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33923 0, not just to plain "0" as a statement.
33924 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33925 with cw.
33926
339272012-12-06 Joseph Myers <joseph@codesourcery.com>
33928
33929 * NEWS: Use sourceware.org in Bugzilla URL.
33930
339312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33932
33933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33934 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33935
33936 * stdio-common/tst-put-error.c (do_test): Add newline to the
33937 padded test to ensure flush.
33938
339392012-12-05 Jeff Law <law@redhat.com>
33940
33941 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33942
339432012-12-05 Joseph Myers <joseph@codesourcery.com>
33944
33945 * README: Don't refer to ports add-on as distributed separately.
33946 Mention AArch64 in list of systems supported in the ports add-on.
33947
33948 * LICENSES: Add more non-FSF copyright and license notices.
33949
33950 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33951 ((unused)).
33952
33953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33954
33955 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33956 10000 as width of padded output.
33957
339582012-12-04 Joseph Myers <joseph@codesourcery.com>
33959
33960 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33961
33962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33963 variable LX with __attribute__ ((unused)).
33964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33965 Likewise.
33966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33969 with __attribute__ ((unused)).
33970
339712012-12-04 David S. Miller <davem@abraco.davemloft.net>
33972
33973 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33974
339752012-12-04 Joseph Myers <joseph@codesourcery.com>
33976
33977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33978 (CFLAGS-nldbl-acos.c): New variable.
33979 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33980 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33981 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33982 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33983 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33984 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33985 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33986 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33987 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33988 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33989 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33990 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33991 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33992 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33993 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33994 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33995 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33996 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33997 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33998 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33999 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34000 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34001 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34002 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34003 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34004 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34005 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34006 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34007 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34008 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34009 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34010 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34011 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34012 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34013 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34014 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34015 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34016 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34017 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34018 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34019 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34020 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34021 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34022 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34023 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34024 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34025 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34026 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34027 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34028 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34029 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34030 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34031 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34032 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34033 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34034 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34035 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34036 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34037 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34038 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34039 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34040 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34041 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34042 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34043 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34044 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34045 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34046 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34047 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34048 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34049 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34050 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34051 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34052 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34053 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34054 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34055 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34056 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34057 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34058 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34059 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34060 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34061 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34062 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34063 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34064 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34065 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34066 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34067 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34068 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34069 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34070 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34071 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34072 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34073 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34074 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34075 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34076
34077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34079
34080 [BZ #14914]
34081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34082 whole low double instead of just low 47 bits when splitting values
34083 into two parts.
34084
340852012-12-03 Allan McRae <allan@archlinux.org>
34086
34087 * manual/stdio.texi (Predefined Printf Handlers): Remove
34088 @hsep and @vsep usage.
34089
340902012-12-03 Mike Frysinger <vapier@gentoo.org>
34091
34092 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34093 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34094
340952012-12-03 Jeff Law <law@redhat.com>
34096
34097 * time/sys/time.h (settimeofday): Do not mark TV argument
34098 as __nonnull.
34099
341002012-12-01 Mike Frysinger <vapier@gentoo.org>
34101
34102 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34103 when currently writing and seek to current position when not.
34104 * libio/Makefile (tests): Remove bug-fclose1.
34105 * libio/bug-fclose1.c: Delete.
34106
341072012-12-01 Joseph Myers <joseph@codesourcery.com>
34108
34109 * manual/arith.texi (feenableexcept): Fix typo.
34110 (fedisableexcept): Likewise.
34111
341122012-11-30 Roland McGrath <roland@hack.frob.com>
34113
34114 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34115 second, differently-typed declaration, rather than a cast.
34116
341172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34118
34119 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34120 * include/rpc/svc.h: ... here.
34121
341222012-11-30 Aurelien Jarno <aurel32@debian.org>
34123
34124 [BZ #13013]
34125 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34126 depending n and resplen2 to catch cases where answer
34127 equals answerp2.
34128
341292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34130
34131 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34132 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34133
341342012-11-29 Mike Frysinger <vapier@gentoo.org>
34135
34136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34137
341382012-11-29 Roland McGrath <roland@hack.frob.com>
34139
34140 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34141
341422012-11-28 Jeff Law <law@redhat.com>
34143
34144 [BZ #13761]
34145 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34146 dataset_temporary. Track alloca usage into alloca_used.
34147 If dataset is large allocate and release it via malloc/free.
34148
341492012-06-04 Florian Weimer <fweimer@redhat.com>
34150
34151 [BZ #14197]
34152 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34153
341542012-11-28 David S. Miller <davem@davemloft.net>
34155
34156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34157
341582012-11-28 Joseph Myers <joseph@codesourcery.com>
34159
34160 [BZ #14803]
34161 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34162 of pi/2 rounded to nearest to 64 bits.
34163 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34164 nearest to 64 bits.
34165 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34166 bits.
34167
341682012-11-28 Jeff Law <law@redhat.com>
34169 Martin Osvald <mosvald@redhat.com>
34170
34171 [BZ #14889]
34172 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34173 * sunrpc/svc.c: Include time.h.
34174 (__svc_accept_failed): New function.
34175 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34176 any reason other than EINTR, call __svc_accept_failed.
34177 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34178 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34179
341802012-11-28 Andreas Schwab <schwab@suse.de>
34181
34182 * scripts/abilist.awk: Also handle indirect functions in .opd
34183 section.
34184
341852012-11-28 Joseph Myers <joseph@codesourcery.com>
34186
34187 [BZ #13881]
34188 * sysdeps/x86/fpu/powl_helper.c: New file.
34189 * sysdeps/x86/fpu/Makefile: Likewise.
34190 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34191 (p3): New object.
34192 (__ieee754_powl): Use __powl_helper for finite arguments except
34193 integer exponents below 8.
34194 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34195 (p3): New object.
34196 (__ieee754_powl): Use __powl_helper for finite arguments except
34197 integer exponents below 8.
34198 * math/libm-test.inc (pow_test): Add more tests and enable some
34199 previously disabled tests.
34200 * sysdeps/i386/fpu/libm-test-ulps: Update.
34201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34202
342032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34204 Carlos O'Donell <carlos_odonell@mentor.com>
34205
34206 * nss/makedb.c (is_prime): Assert that input is odd and greater
34207 than 4. Note that fact in a comment too.
34208 (next_prime): Add 4 to input.
34209
342102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34211
34212 [BZ #11741]
34213 * libio/Makefile (tests): Add test case tst-fwrite-error.
34214 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34215 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34216 * libio/tst-fwrite-error.c: New test case.
34217
342182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34219
34220 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34221 before casting to void *.
34222 * include/libc-internal.h (__pointer_type): New macro.
34223 (__integer_if_pointer_type_sub): Likewise.
34224 (__integer_if_pointer_type): Likewise.
34225 (cast_to_integer): Likewise.
34226 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34227 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34228 before casting to atomic64_t.
34229 (atomic_exchange_acq): Likewise.
34230 (__arch_exchange_and_add_body): Likewise.
34231 (__arch_add_body): Likewise.
34232 (atomic_add_negative): Likewise.
34233 (atomic_add_zero): Likewise.
34234
342352012-11-26 Joseph Myers <joseph@codesourcery.com>
34236
34237 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34238 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34239 (add_fdes): Likewise.
34240 (linear_search_fdes): Likewise.
34241 (binary_search_unencoded_fdes): Likewise.
34242
342432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34244
34245 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34246
342472012-11-24 Adam Conrad <adconrad@0c3.net>
34248
34249 * configure.in: Autodetect C++ header directories.
34250 * configure: Regenerated.
34251
342522012-11-23 Mike Frysinger <vapier@gentoo.org>
34253
34254 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34255
342562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34257
34258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34259
342602012-11-22 Joseph Myers <joseph@codesourcery.com>
34261
34262 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34263 LDBL_MANT_DIG == 106]: Disable some tests.
34264 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34265 Likewise.
34266 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34267 Likewise.
34268
34269 [BZ #14871]
34270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34271 input for small inputs. Return +/- pi/2 for large inputs.
34272 * math/libm-test.inc (atan_test): Add more tests.
34273
34274 * sysdeps/generic/unwind-dw2-fde-glibc.c
34275 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34276 __attribute__ ((unused)).
34277
34278 [BZ #14645]
34279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34280 x * y if x and y are nonzero and z is zero.
34281
34282 [BZ #14811]
34283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34284 nonzero exponents with absolute value below 0x1p-117 to +/-
34285 0x1p-117.
34286
34287 [BZ #14869]
34288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34289 up arguments below 2**-450, not just those below 2**-500.
34290 * math/libm-test.inc (hypot_test): Add another test.
34291
34292 [BZ #14868]
34293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34294 Return a+b for ratio over 2**120, not 2**60.
34295 * math/libm-test.inc (hypot_test): Add another test.
34296
34297 * math/libm-test.inc (clog_test): Use
34298 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34299 (clog10_test): Likewise.
34300
34301 [BZ #6778]
34302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34303
343042012-11-22 Andreas Schwab <schwab@suse.de>
34305
34306 * sysdeps/i386/fpu/libm-test-ulps: Update.
34307
343082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34309
34310 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34311 printf output with newline.
34312
343132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34314
34315 [BZ #14865]
34316 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34317 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34318 -z nodlopen, -z initfirst and -z execstack support.
34319 * configure: Regenerated.
34320
34321 * elf/elf.h (DF_1_NODIRECT): New macro.
34322 (DF_1_IGNMULDEF): Likewise.
34323 (DF_1_NOKSYMS): Likewise.
34324 (DF_1_NOHDR): Likewise.
34325 (DF_1_EDITED): Likewise.
34326 (DF_1_NORELOC): Likewise.
34327 (DF_1_SYMINTPOSE): Likewise.
34328 (DF_1_GLOBAUDIT): Likewise.
34329 (DF_1_SINGLETON): Likewise.
34330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34331 DT_1_SUPPORTED_MASK bits.
34332 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34333
343342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34335
34336 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34337
343382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34339
34340 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34341 macro.
34342
34343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34344 (sendmmsg): Move declarations...
34345 * socket/sys/socket.h: ... here.
34346 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34347 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34348 include it from...
34349 * socket/recvmmsg.c: ... this new file.
34350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34351 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34352 definition of __sendmmsg hidden.
34353 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34354 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34355 Move ENOSYS stub into and include it from...
34356 * socket/sendmmsg.c: ... this new file.
34357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34358 (sysdep_routines): Move recvmmsg and sendmmsg...
34359 * socket/Makefile (routines): ... here.
34360 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34361 (GLIBC_PRIVATE): Add __sendmmsg.
34362 * include/sys/socket.h (__sendmmsg): Add declarations.
34363 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34364 sendmmsg.
34365
343662012-11-20 Joseph Myers <joseph@codesourcery.com>
34367
34368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34369 variable I1 with __attribute__ ((unused)).
34370 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34371
343722012-11-19 Joseph Myers <joseph@codesourcery.com>
34373
34374 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34375 DUMMY variables with __attribute__ ((unused)).
34376
34377 * bits/byteswap.h: Include <bits/types.h>.
34378 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34379
343802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34381
34382 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34383 string_t. Do not manually set errno.
34384 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34385 length with __strnlen. Make sure to both set errno and return it on
34386 failure.
34387
343882012-11-19 David S. Miller <davem@davemloft.net>
34389
34390 With help from Joseph Myers.
34391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34392 very large arguments properly.
34393 * math/libm-test.inc (atan_test): New tests.
34394 (atan2_test): New tests.
34395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34397
343982012-11-19 Joseph Myers <joseph@codesourcery.com>
34399
34400 [BZ #14856]
34401 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34402 Define to 3.
34403
34404 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34405 [POSIX] (EADDRNOTAVAIL): Likewise.
34406 [POSIX] (EAFNOSUPPORT): Likewise.
34407 [POSIX] (EALREADY): Likewise.
34408 [POSIX] (ECONNABORTED): Likewise.
34409 [POSIX] (ECONNREFUSED): Likewise.
34410 [POSIX] (ECONNRESET): Likewise.
34411 [POSIX] (EDESTADDRREQ): Likewise.
34412 [POSIX] (EDQUOT): Likewise.
34413 [POSIX] (EHOSTUNREACH): Likewise.
34414 [POSIX] (EIDRM): Likewise.
34415 [POSIX] (EISCONN): Likewise.
34416 [POSIX] (ELOOP): Likewise.
34417 [POSIX] (EMULTIHOP): Likewise.
34418 [POSIX] (ENETDOWN): Likewise.
34419 [POSIX] (ENETUNREACH): Likewise.
34420 [POSIX] (ENOBUFS): Likewise.
34421 [POSIX] (ENODATA): Likewise.
34422 [POSIX] (ENOLINK): Likewise.
34423 [POSIX] (ENOMSG): Likewise.
34424 [POSIX] (ENOPROTOOPT): Likewise.
34425 [POSIX] (ENOSR): Likewise.
34426 [POSIX] (ENOSTR): Likewise.
34427 [POSIX] (ENOTCONN): Likewise.
34428 [POSIX] (ENOTSOCK): Likewise.
34429 [POSIX] (EOPNOTSUPP): Likewise.
34430 [POSIX] (EOVERFLOW): Likewise.
34431 [POSIX] (EPROTO): Likewise.
34432 [POSIX] (EPROTONOSUPPORT): Likewise.
34433 [POSIX] (EPROTOTYPE): Likewise.
34434 [POSIX] (ESTALE): Likewise.
34435 [POSIX] (ETIME): Likewise.
34436 [POSIX] (ETXTBSY): Likewise.
34437 [POSIX] (EWOULDBLOCK): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34439 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34440 [POSIX] (SEEK_CUR): Likewise.
34441 [POSIX] (SEEK_END): Likewise.
34442 [POSIX || UNIX98] (mode_t): Do not require.
34443 [POSIX] (off_t): Likewise.
34444 [POSIX] (pid_t): Likewise.
34445 [POSIX] (sys/stat.h): Do not allow header.
34446 [POSIX] (unistd.h): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34448 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34450 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34451 require.
34452 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34453 sigevent): Specify elements.
34454 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34455 entry.
34456 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34457 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34458
34459 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34460 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34461 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34462 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34463 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34464 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34465 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34468 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34469 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34471 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34473 Likewise.
34474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34475 Likewise.
34476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34477 Likewise.
34478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34479 Likewise.
34480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34485 Specify lower bound on value.
34486 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34492 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34493 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34494 value.
34495 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34496 as optional.
34497 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34513 entry.
34514 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34515 optional.
34516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34522 Likewise.
34523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34528 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34530 as optional.
34531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34535 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34536 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34537 specify as optional.
34538 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34542 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34543 [XPG3] (NL_LANGMAX): Likewise.
34544 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34545 [POSIX || XPG3] (NL_NMAX): Likewise.
34546 [POSIX || XPG3] (NL_SETMAX): Likewise.
34547 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34548 [XPG3] (NZERO): Likewise.
34549 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34550 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34551 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34552 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34553 (REG_ERANGE): Expect.
34554 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34555 optional-constant.
34556 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34557 Use (void) in prototype.
34558 [POSIX] (*_t): Allow.
34559 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34560 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34561 (WRDE_BADVAL): Expect.
34562
34563 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34564 expect.
34565 [XPG3 || XPG4] (O_RSYNC): Likewise.
34566 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34567 Likewise.
34568 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34569 [XPG3 || XPG4] (sigqueue): Likewise.
34570 [XPG3 || XPG4] (sigtimedwait): Likewise.
34571 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34572 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34573 [XPG3 || XPG4] (vsnprintf): Likewise.
34574 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34575 Likewise.
34576 [XPG3 || XPG4] (blksize_t): Likewise.
34577 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34578 Likewise.
34579 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34580 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34581 [XPG3 || XPG4] (struct itimerspec): Likewise.
34582 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34583 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34584 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34585 [XPG3 || XPG4] (clockid_t): Likewise.
34586 [XPG3 || XPG4] (timer_t): Likewise.
34587 [XPG3 || XPG4] (clock_getres): Likewise.
34588 [XPG3 || XPG4] (clock_gettime): Likewise.
34589 [XPG3 || XPG4] (clock_settime): Likewise.
34590 [XPG3 || XPG4] (nanosleep): Likewise.
34591 [XPG3 || XPG4] (timer_create): Likewise.
34592 [XPG3 || XPG4] (timer_delete): Likewise.
34593 [XPG3 || XPG4] (timer_gettime): Likewise.
34594 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34595 [XPG3 || XPG4] (timer_settime): Likewise.
34596 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34597 [XPG3 || XPG4] (getlogin_r): Likewise.
34598 [XPG3 || XPG4] (pread): Likewise.
34599 [XPG3 || XPG4] (pthread_atfork): Likewise.
34600 [XPG3 || XPG4] (pwrite): Likewise.
34601
34602 [BZ #14835]
34603 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34604 <bits/siginfo.h>.
34605
346062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34607
34608 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34609 finalizing MALLSTREAM.
34610
34611 * sysdeps/mach/hurd/syncfs.c: New file.
34612
346132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34614
34615 [BZ #14719]
34616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34617 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34619 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34620 (_nss_dns_gethostbyname4_r): Likewise.
34621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34622 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34623
346242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34625
34626 [BZ #13763]
34627 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34628
346292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34630
34631 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34632 * elf/cache.c (print_entry): Print ",AArch64" for
34633 FLAG_AARCH64_LIB64
34634
34635 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34636 * elf/cache.c (print_entry): Print ",hard-float" for
34637 FLAG_ARM_LIBHF.
34638
346392012-11-18 David S. Miller <davem@davemloft.net>
34640
34641 With help from Joseph Myers.
34642 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34643 cutoff to 2**-13.
34644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34645 cutoff to 2**-25.
34646 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34647 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34648 small.
34649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34650 * math/libm-test.inc (y0_test): New tests.
34651 (y1_test): New tests.
34652 * sysdeps/i386/fpu/libm-test-ulps: Update.
34653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34655
346562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34657
34658 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34659 64-bit targets.
34660 * configure: Regenerated.
34661
346622012-11-17 David S. Miller <davem@davemloft.net>
34663
34664 [BZ #14811]
34665 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34666 nonzero exponents with absolute value below 0x1p-128 to +/-
34667 0x1p-128.
34668
346692012-11-17 Joseph Myers <joseph@codesourcery.com>
34670
34671 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34672
34673 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34674
34675 * posix/getconf-speclist.c: New file.
34676 * posix/posix-envs.def: Likewise.
34677 * posix/confstr.c (START_ENV_GROUP): New macro.
34678 (END_ENV_GROUP): Likewise.
34679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34680 (KNOWN_PRESENT_ENV_STRING): Likewise.
34681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34682 (UNKNOWN_ENVIRONMENT): Likewise.
34683 (confstr): Include posix-envs.def instead of handling
34684 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34685 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34686 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34687 (END_ENV_GROUP): Likewise.
34688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34689 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34690 (UNKNOWN_ENVIRONMENT): Likewise.
34691 (__sysconf): Include posix-envs.def instead of handling associated
34692 cases directly here.
34693 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34694 preprocessing getconf-speclist.c rather than running getconf or
34695 generating empty file.
34696
346972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34698
34699 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34700
347012012-11-16 Andrej Lajovic <natrij@gmail.com>
34702
34703 [BZ #14672]
34704 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34705
347062012-11-16 David S. Miller <davem@davemloft.net>
34707
34708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34709 smaller than LDBL_EPSILON/2.0L, just return xm1.
34710
347112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * elf/tst-array1.c (init): Set constructor priority to 1000.
34714 (fini): Set destructor priority to 1000.
34715 * elf/tst-array2dep.c: Likewise.
34716
347172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34718
34719 [BZ #11741]
34720 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34721 (_IO_new_file_xsputn): Also return EOF if none of the input
34722 data was written when overflow failed.
34723 * libio/iopadn.c (_IO_padn): Likewise.
34724 * libio/iowpadn.c (_IO_wpadn): Likewise.
34725 * stdio-common/tst-put-error.c: Add copyright notice.
34726 (do_test): Add case for printing padded string.
34727 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34728 _IO_padn returned error.
34729 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34730 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34731 return EOF.
34732
347332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34734
34735 * libio/libioP.h: Add comment note that the references to C++
34736 bits are now obsolete.
34737
347382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34739
34740 * math/libm-test.inc (check_complex): Use asprintf.
34741
347422012-11-14 Joseph Myers <joseph@codesourcery.com>
34743
34744 * debug/pcprofiledump.c (print_version): Update copyright year.
34745 * malloc/memusagestat.c (print_version): Likewise.
34746
347472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34748
34749 [BZ #14831]
34750 * elf/Makefile (tests): Add tst-audit8.
34751 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34752 ($(objpfx)tst-audit8.out): New target.
34753 (tst-audit8-ENV): New variable.
34754 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34755 audit if l_reloc_result is NULL.
34756 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34757 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34758 * elf/tst-audit8.c: New file.
34759
347602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34761
34762 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34763 * misc/Makefile (CFLAGS-select.c): Define.
34764 * posix/Makefile (CFLAGS-pause.c): Define.
34765
347662012-11-13 David S. Miller <davem@davemloft.net>
34767
34768 * crypt/Makefile: Move test targets after toplevel Rules
34769 inclusion. Grab any necessary sysdep routines when linking.
34770 * crypt/md5.c (md5_process_block): Remove define, we will always
34771 name it __md5_process_block.
34772 (md5_finish_ctx): Update md5_process_block call.
34773 (md5_stream): Likewise.
34774 (md5_process_bytes): Likewise.
34775 (md5_process_block): Rename to __md5_process_block and move to ...
34776 * crypt/md5-block.c: ... here.
34777 * crypt/sha256.c (sha256_process_block): Move to ...
34778 * crypt/sha256-block.c: ... here.
34779 * crypt/sha512.c (sha512_process_block): Move to ...
34780 * crypt/sha512-block.c: ... here.
34781 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34782 path.
34783 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34784 * sysdeps/sparc/sparc64/multiarch/Makefile
34785 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34786 crypt subdir.
34787 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34789 multiarch changes.
34790 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34791 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34792 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34793 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34794 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34795 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34799 file.
34800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34802 file.
34803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34804
348052012-11-13 Joseph Myers <joseph@codesourcery.com>
34806
34807 * timezone/tzselect.ksh: Update from tzcode git revision
34808 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34809 * timezone/zdump.c: Likewise.
34810 * timezone/zic.c: Likewise.
34811 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34812 in TZVERSION setting, not $(PKGVERSION).
34813 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34814 REPORT_BUGS_TO settings.
34815
34816 [BZ #14838]
34817 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34818 macro.
34819
348202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34821
34822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34823 detection to immediately after _FP_ROUND().
34824 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34825 bits are 0.
34826
348272012-11-11 David S. Miller <davem@davemloft.net>
34828
34829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34830 inttypes.h
34831 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34832 __close rather than their public counterparts.
34833
348342012-11-10 Joseph Myers <joseph@codesourcery.com>
34835
34836 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34837 file.
34838 [UNIX98] (sem_timedwait): Do not expect.
34839 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34840 [XPG4 || UNIX98] (sockatmark): Do not expect.
34841 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34842 (clock_getcpuclockid): Do not expect.
34843 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34844 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34845 Do not expect.
34846 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34847 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34848 [UNIX98] (vwscanf): Likewise.
34849 [UNIX98] (vswscanf): Likewise.
34850
348512012-11-09 Joseph Myers <joseph@codesourcery.com>
34852
34853 * timezone/version.h: Remove file.
34854 * timezone/README: Do not refer to version.h.
34855 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34856 $(objpfx)version.h.
34857 ($(objpfx)zdump.o): Likewise.
34858 ($(objpfx)version.h): New target.
34859
34860 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34861 2012i.
34862 * timezone/README: Don't mention modification to tzselect.ksh.
34863 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34864 work on unmodified tzselect.ksh. Substitute version numbers in
34865 tzselect.ksh.
34866
34867 * Makefile (format-me): Remove.
34868 (INSTALL): Adjust indentation. Use commands directly instead of
34869 using $(format-me).
34870
34871 * aclocal.m4 (ACX_PKGVERSION): New macro.
34872 (ACX_BUGURL): Likewise.
34873 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34874 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34875 (REPORT_BUGS_TO): Likewise.
34876 * configure: Regenerated.
34877 * config.h.in (PKGVERSION): New macro.
34878 (REPORT_BUGS_TO): Likewise.
34879 * config.make.in (PKGVERSION): New variable.
34880 (PKGVERSION_TEXI): Likewise.
34881 (REPORT_BUGS_TO): Likewise.
34882 (REPORT_BUGS_TEXI): Likewise.
34883 * Makefile (format-me): Use -I$(common-objpfx)manual.
34884 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34885 ($(common-objpfx)manual/%): New target.
34886 (manual/%): Remove target.
34887 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34888 (print_version): Use PKGVERSION.
34889 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34890 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34891 and REPORT_BUGS_TO.
34892 ($(objpfx)xtrace): Likewise.
34893 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34894 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34895 (print_version): Use PKGVERSION.
34896 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34897 (do_version): Use PKGVERSION.
34898 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34899 REPORT_BUGS_TO.
34900 (common-ldd-rewrite): Likewise.
34901 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34902 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34903 (print_version): Use PKGVERSION.
34904 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34905 * elf/pldd.c (argp_program_bug_address): Remove variable.
34906 (more_help): New function.
34907 (argp): Use more_help.
34908 (print_version): Use PKGVERSION.
34909 * elf/sln.c (main): Use PKGVERSION.
34910 (usage): Use REPORT_BUGS_TO.
34911 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34912 (top level): Use PKGVERSION.
34913 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34914 (print_version): Use PKGVERSION.
34915 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34916 (print_version): Use PKGVERSION.
34917 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34918 (print_version): Use PKGVERSION.
34919 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34920 (print_version): Use PKGVERSION.
34921 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34922 (print_version): Use PKGVERSION.
34923 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34924 (print_version): Use PKGVERSION.
34925 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34926 and BUGURL.
34927 ($(objpfx)memusage): Likewise.
34928 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34929 (do_version): Use PKGVERSION.
34930 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34931 (print_version): Use PKGVERSION.
34932 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34933 ($PKGVERSION): New variable.
34934 ($REPORT_BUGS_TO): Likewise.
34935 (usage): Use $REPORT_BUGS_TO.
34936 (top level): Use $PKGVERSION.
34937 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34938 ($(objpfx)pkgvers.texi): New rule.
34939 ($(objpfx)stamp-pkgvers): Likewise.
34940 * manual/install.texi: Include pkgvers.texi.
34941 (--with-pkgversion): Document new configure option.
34942 (--with-bugurl): Likewise.
34943 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34944 than necessarily for this particular distribution. Use
34945 REPORT_BUGS_TO for where to report bugs.
34946 * INSTALL: Regenerated.
34947 * manual/libc.texinfo: Include pkgvers.texi.
34948 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34949 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34950 (print_version): Use PKGVERSION.
34951 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34952 (print_version): Use PKGVERSION.
34953 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34954 (print_version): Use PKGVERSION.
34955 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34956 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34957 macro.
34958 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34959 (print_version): Use PKGVERSION.
34960 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34961 (print_version): Use PKGVERSION.
34962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34963 and PKGVERSION.
34964
34965 * timezone/checktab.awk: Update from tzcode 2012i.
34966 * timezone/ialloc.c: Likewise.
34967 * timezone/private.h: Likewise.
34968 * timezone/scheck.c: Likewise.
34969 * timezone/tzfile.h: Likewise.
34970 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34971 (TZVERSION): Hardcode tzcode version number.
34972 * timezone/zdump.c: Update from tzcode 2012i.
34973 * timezone/zic.c: Likewise.
34974 * timezone/version.h: New file.
34975 * timezone/README: Describe version.h. Update upstream location.
34976
34977 [BZ #14824]
34978 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34979 (mktemp): Enable declaration.
34980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34984 Likewise.
34985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34986 Likewise.
34987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34988 Likewise.
34989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34990 Likewise.
34991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34992 Likewise.
34993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34994 Likewise.
34995
34996 [BZ #14821]
34997 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34998 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34999 for copies of such integer values.
35000 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35001 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35002
350032012-11-09 Andreas Jaeger <aj@suse.de>
35004
35005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35006 definitions and declarations that are provided by
35007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35008
350092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35010
35011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35012 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35013 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35014 definition.
35015
350162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35017
35018 * elf/elf.h: Update comment before AArch64 relocations.
35019
350202012-11-07 David S. Miller <davem@davemloft.net>
35021
35022 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35023 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35024 (__start_context): Declare.
35025 (__makecontext_ret): Delete.
35026 (__makecontext): Hook up __start_context instead of
35027 __makecontext_ret.
35028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35029 (sysdep_routines): Add __start_context when in stdlib.
35030
350312012-11-07 Joseph Myers <joseph@codesourcery.com>
35032
35033 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35034 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35035 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35036 hardcoded "nm".
35037 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35038 (READELF): New variable. Use it instead of hardcoded "readelf".
35039
350402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35041
35042 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35043 * sysdeps/x86/Makefile: Here.
35044 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35045 * sysdeps/x86/tst-xmmymm.sh: This.
35046
350472012-11-07 Joseph Myers <joseph@codesourcery.com>
35048
35049 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35050 expectations.
35051 [UNIX98] (pthread_barrier_t): Do not expect.
35052 [UNIX98] (pthread_barrierattr_t): Likewise.
35053 [UNIX98] (pthread_spinlock_t): Likewise.
35054 [UNIX98] (pthread_barrier_destroy): Likewise.
35055 [UNIX98] (pthread_barrier_init): Likewise.
35056 [UNIX98] (pthread_barrier_wait): Likewise.
35057 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35058 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35059 [UNIX98] (pthread_barrierattr_init): Likewise.
35060 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35061 [UNIX98] (pthread_getcpuclockid): Likewise.
35062 [UNIX98] (pthread_mutex_timedlock): Likewise.
35063 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35064 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35065 [UNIX98] (pthread_sigmask): Likewise.
35066 [UNIX98] (pthread_spin_destroy): Likewise.
35067 [UNIX98] (pthread_spin_init): Likewise.
35068 [UNIX98] (pthread_spin_lock): Likewise.
35069 [UNIX98] (pthread_spin_trylock): Likewise.
35070 [UNIX98] (pthread_spin_unlock): Likewise.
35071 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35072 Do not expect.
35073 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35074 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35075 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35076 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35077 [XPG3 || XPG4] (pthread_key_t): Likewise.
35078 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35079 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35080 [XPG3 || XPG4] (pthread_once_t): Likewise.
35081 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35082 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35083 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35084 [XPG3 || XPG4] (pthread_t): Likewise.
35085
35086 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35087 not expect.
35088 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35089
35090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35091 Change function return type to int.
35092
35093 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35094 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35095 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35096 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35097 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35098 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35099 [!POSIX] (posix_madvise): Likewise.
35100 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35101 && !UNIX98].
35102 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35103 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35104 (mode_t): Likewise.
35105 (posix_mem_offset): Likewise.
35106 (posix_typed_mem_get_info): Likewise.
35107 (posix_typed_mem_open): Likewise.
35108
35109 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35110 Change condition to [XOPEN2K8].
35111
35112 * conform/conformtest.pl: Preprocess allow-header data with -x c
35113 instead of from stdin.
35114 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35115 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35116 [C99-based standards] (cerfc): Likewise.
35117 [C99-based standards] (cexp2): Likewise.
35118 [C99-based standards] (cexpm1): Likewise.
35119 [C99-based standards] (clog10): Likewise.
35120 [C99-based standards] (clog1p): Likewise.
35121 [C99-based standards] (clog2): Likewise.
35122 [C99-based standards] (clgamma): Likewise.
35123 [C99-based standards] (ctgamma): Likewise.
35124 [C99-based standards] (cerff): Likewise.
35125 [C99-based standards] (cerfcf): Likewise.
35126 [C99-based standards] (cexp2f): Likewise.
35127 [C99-based standards] (cexpm1f): Likewise.
35128 [C99-based standards] (clog10f): Likewise.
35129 [C99-based standards] (clog1pf): Likewise.
35130 [C99-based standards] (clog2f): Likewise.
35131 [C99-based standards] (clgammaf): Likewise.
35132 [C99-based standards] (ctgammaf): Likewise.
35133 [C99-based standards] (cerfl): Likewise.
35134 [C99-based standards] (cerfcl): Likewise.
35135 [C99-based standards] (cexp2l): Likewise.
35136 [C99-based standards] (cexpm1l): Likewise.
35137 [C99-based standards] (clog10l): Likewise.
35138 [C99-based standards] (clog1pl): Likewise.
35139 [C99-based standards] (clog2l): Likewise.
35140 [C99-based standards] (clgammal): Likewise.
35141 [C99-based standards] (ctgammal): Likewise.
35142 * conform/data/inttypes.h-data [C99-based standards]: Include
35143 stdint.h-data. Remove all expectations for stdint.h contents.
35144 [C99-based standards] (PRI*): Do not allow.
35145 [C99-based standards] (SCN*): Likewise.
35146 [C99-based standards] (*_t): Likewise.
35147 [C99-based-standards] (PRId8): Expect macro.
35148 [C99-based-standards] (PRIi8): Likewise.
35149 [C99-based-standards] (PRIo8): Likewise.
35150 [C99-based-standards] (PRIu8): Likewise.
35151 [C99-based-standards] (PRIx8): Likewise.
35152 [C99-based-standards] (PRIX8): Likewise.
35153 [C99-based-standards] (SCNd8): Likewise.
35154 [C99-based-standards] (SCNi8): Likewise.
35155 [C99-based-standards] (SCNo8): Likewise.
35156 [C99-based-standards] (SCNu8): Likewise.
35157 [C99-based-standards] (SCNx8): Likewise.
35158 [C99-based-standards] (PRIdLEAST8): Likewise.
35159 [C99-based-standards] (PRIiLEAST8): Likewise.
35160 [C99-based-standards] (PRIoLEAST8): Likewise.
35161 [C99-based-standards] (PRIuLEAST8): Likewise.
35162 [C99-based-standards] (PRIxLEAST8): Likewise.
35163 [C99-based-standards] (PRIXLEAST8): Likewise.
35164 [C99-based-standards] (SCNdLEAST8): Likewise.
35165 [C99-based-standards] (SCNiLEAST8): Likewise.
35166 [C99-based-standards] (SCNoLEAST8): Likewise.
35167 [C99-based-standards] (SCNuLEAST8): Likewise.
35168 [C99-based-standards] (SCNxLEAST8): Likewise.
35169 [C99-based-standards] (PRIdFAST8): Likewise.
35170 [C99-based-standards] (PRIiFAST8): Likewise.
35171 [C99-based-standards] (PRIoFAST8): Likewise.
35172 [C99-based-standards] (PRIuFAST8): Likewise.
35173 [C99-based-standards] (PRIxFAST8): Likewise.
35174 [C99-based-standards] (PRIXFAST8): Likewise.
35175 [C99-based-standards] (SCNdFAST8): Likewise.
35176 [C99-based-standards] (SCNiFAST8): Likewise.
35177 [C99-based-standards] (SCNoFAST8): Likewise.
35178 [C99-based-standards] (SCNuFAST8): Likewise.
35179 [C99-based-standards] (SCNxFAST8): Likewise.
35180 [C99-based-standards] (PRId16): Likewise.
35181 [C99-based-standards] (PRIi16): Likewise.
35182 [C99-based-standards] (PRIo16): Likewise.
35183 [C99-based-standards] (PRIu16): Likewise.
35184 [C99-based-standards] (PRIx16): Likewise.
35185 [C99-based-standards] (PRIX16): Likewise.
35186 [C99-based-standards] (SCNd16): Likewise.
35187 [C99-based-standards] (SCNi16): Likewise.
35188 [C99-based-standards] (SCNo16): Likewise.
35189 [C99-based-standards] (SCNu16): Likewise.
35190 [C99-based-standards] (SCNx16): Likewise.
35191 [C99-based-standards] (PRIdLEAST16): Likewise.
35192 [C99-based-standards] (PRIiLEAST16): Likewise.
35193 [C99-based-standards] (PRIoLEAST16): Likewise.
35194 [C99-based-standards] (PRIuLEAST16): Likewise.
35195 [C99-based-standards] (PRIxLEAST16): Likewise.
35196 [C99-based-standards] (PRIXLEAST16): Likewise.
35197 [C99-based-standards] (SCNdLEAST16): Likewise.
35198 [C99-based-standards] (SCNiLEAST16): Likewise.
35199 [C99-based-standards] (SCNoLEAST16): Likewise.
35200 [C99-based-standards] (SCNuLEAST16): Likewise.
35201 [C99-based-standards] (SCNxLEAST16): Likewise.
35202 [C99-based-standards] (PRIdFAST16): Likewise.
35203 [C99-based-standards] (PRIiFAST16): Likewise.
35204 [C99-based-standards] (PRIoFAST16): Likewise.
35205 [C99-based-standards] (PRIuFAST16): Likewise.
35206 [C99-based-standards] (PRIxFAST16): Likewise.
35207 [C99-based-standards] (PRIXFAST16): Likewise.
35208 [C99-based-standards] (SCNdFAST16): Likewise.
35209 [C99-based-standards] (SCNiFAST16): Likewise.
35210 [C99-based-standards] (SCNoFAST16): Likewise.
35211 [C99-based-standards] (SCNuFAST16): Likewise.
35212 [C99-based-standards] (SCNxFAST16): Likewise.
35213 [C99-based-standards] (PRId32): Likewise.
35214 [C99-based-standards] (PRIi32): Likewise.
35215 [C99-based-standards] (PRIo32): Likewise.
35216 [C99-based-standards] (PRIu32): Likewise.
35217 [C99-based-standards] (PRIx32): Likewise.
35218 [C99-based-standards] (PRIX32): Likewise.
35219 [C99-based-standards] (SCNd32): Likewise.
35220 [C99-based-standards] (SCNi32): Likewise.
35221 [C99-based-standards] (SCNo32): Likewise.
35222 [C99-based-standards] (SCNu32): Likewise.
35223 [C99-based-standards] (SCNx32): Likewise.
35224 [C99-based-standards] (PRIdLEAST32): Likewise.
35225 [C99-based-standards] (PRIiLEAST32): Likewise.
35226 [C99-based-standards] (PRIoLEAST32): Likewise.
35227 [C99-based-standards] (PRIuLEAST32): Likewise.
35228 [C99-based-standards] (PRIxLEAST32): Likewise.
35229 [C99-based-standards] (PRIXLEAST32): Likewise.
35230 [C99-based-standards] (SCNdLEAST32): Likewise.
35231 [C99-based-standards] (SCNiLEAST32): Likewise.
35232 [C99-based-standards] (SCNoLEAST32): Likewise.
35233 [C99-based-standards] (SCNuLEAST32): Likewise.
35234 [C99-based-standards] (SCNxLEAST32): Likewise.
35235 [C99-based-standards] (PRIdFAST32): Likewise.
35236 [C99-based-standards] (PRIiFAST32): Likewise.
35237 [C99-based-standards] (PRIoFAST32): Likewise.
35238 [C99-based-standards] (PRIuFAST32): Likewise.
35239 [C99-based-standards] (PRIxFAST32): Likewise.
35240 [C99-based-standards] (PRIXFAST32): Likewise.
35241 [C99-based-standards] (SCNdFAST32): Likewise.
35242 [C99-based-standards] (SCNiFAST32): Likewise.
35243 [C99-based-standards] (SCNoFAST32): Likewise.
35244 [C99-based-standards] (SCNuFAST32): Likewise.
35245 [C99-based-standards] (SCNxFAST32): Likewise.
35246 [C99-based-standards] (PRId64): Likewise.
35247 [C99-based-standards] (PRIi64): Likewise.
35248 [C99-based-standards] (PRIo64): Likewise.
35249 [C99-based-standards] (PRIu64): Likewise.
35250 [C99-based-standards] (PRIx64): Likewise.
35251 [C99-based-standards] (PRIX64): Likewise.
35252 [C99-based-standards] (SCNd64): Likewise.
35253 [C99-based-standards] (SCNi64): Likewise.
35254 [C99-based-standards] (SCNo64): Likewise.
35255 [C99-based-standards] (SCNu64): Likewise.
35256 [C99-based-standards] (SCNx64): Likewise.
35257 [C99-based-standards] (PRIdLEAST64): Likewise.
35258 [C99-based-standards] (PRIiLEAST64): Likewise.
35259 [C99-based-standards] (PRIoLEAST64): Likewise.
35260 [C99-based-standards] (PRIuLEAST64): Likewise.
35261 [C99-based-standards] (PRIxLEAST64): Likewise.
35262 [C99-based-standards] (PRIXLEAST64): Likewise.
35263 [C99-based-standards] (SCNdLEAST64): Likewise.
35264 [C99-based-standards] (SCNiLEAST64): Likewise.
35265 [C99-based-standards] (SCNoLEAST64): Likewise.
35266 [C99-based-standards] (SCNuLEAST64): Likewise.
35267 [C99-based-standards] (SCNxLEAST64): Likewise.
35268 [C99-based-standards] (PRIdFAST64): Likewise.
35269 [C99-based-standards] (PRIiFAST64): Likewise.
35270 [C99-based-standards] (PRIoFAST64): Likewise.
35271 [C99-based-standards] (PRIuFAST64): Likewise.
35272 [C99-based-standards] (PRIxFAST64): Likewise.
35273 [C99-based-standards] (PRIXFAST64): Likewise.
35274 [C99-based-standards] (SCNdFAST64): Likewise.
35275 [C99-based-standards] (SCNiFAST64): Likewise.
35276 [C99-based-standards] (SCNoFAST64): Likewise.
35277 [C99-based-standards] (SCNuFAST64): Likewise.
35278 [C99-based-standards] (SCNxFAST64): Likewise.
35279 [C99-based-standards] (PRIdMAX): Likewise.
35280 [C99-based-standards] (PRIiMAX): Likewise.
35281 [C99-based-standards] (PRIoMAX): Likewise.
35282 [C99-based-standards] (PRIuMAX): Likewise.
35283 [C99-based-standards] (PRIxMAX): Likewise.
35284 [C99-based-standards] (PRIXMAX): Likewise.
35285 [C99-based-standards] (SCNdMAX): Likewise.
35286 [C99-based-standards] (SCNiMAX): Likewise.
35287 [C99-based-standards] (SCNoMAX): Likewise.
35288 [C99-based-standards] (SCNuMAX): Likewise.
35289 [C99-based-standards] (SCNxMAX): Likewise.
35290 [C99-based-standards] (PRIdPTR): Likewise.
35291 [C99-based-standards] (PRIiPTR): Likewise.
35292 [C99-based-standards] (PRIoPTR): Likewise.
35293 [C99-based-standards] (PRIuPTR): Likewise.
35294 [C99-based-standards] (PRIxPTR): Likewise.
35295 [C99-based-standards] (PRIXPTR): Likewise.
35296 [C99-based-standards] (SCNdPTR): Likewise.
35297 [C99-based-standards] (SCNiPTR): Likewise.
35298 [C99-based-standards] (SCNoPTR): Likewise.
35299 [C99-based-standards] (SCNuPTR): Likewise.
35300 [C99-based-standards] (SCNxPTR): Likewise.
35301 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35302 allow.
35303 * conform/data/stdint.h-data: Update comments to clarify
35304 requirements.
35305 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35306 type.
35307 [C99-based standards] (INT8_MAX): Likewise.
35308 [C99-based standards] (INT16_MIN): Likewise.
35309 [C99-based standards] (INT16_MAX): Likewise.
35310 [C99-based standards] (INT32_MIN): Likewise.
35311 [C99-based standards] (INT32_MAX): Likewise.
35312 [C99-based standards] (INT64_MIN): Likewise.
35313 [C99-based standards] (INT64_MAX): Likewise.
35314 [C99-based standards] (UINT8_MAX): Likewise.
35315 [C99-based standards] (UINT16_MAX): Likewise.
35316 [C99-based standards] (UINT32_MAX): Likewise.
35317 [C99-based standards] (UINT64_MAX): Likewise.
35318 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35319 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35320 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35321 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35322 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35323 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35324 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35325 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35326 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35327 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35328 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35329 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35330 [C99-based standards] (INT_FAST8_MIN): Likewise.
35331 [C99-based standards] (INT_FAST8_MAX): Likewise.
35332 [C99-based standards] (INT_FAST16_MIN): Likewise.
35333 [C99-based standards] (INT_FAST16_MAX): Likewise.
35334 [C99-based standards] (INT_FAST32_MIN): Likewise.
35335 [C99-based standards] (INT_FAST32_MAX): Likewise.
35336 [C99-based standards] (INT_FAST64_MIN): Likewise.
35337 [C99-based standards] (INT_FAST64_MAX): Likewise.
35338 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35339 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35340 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35341 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35342 [C99-based standards] (INTPTR_MIN): Likewise.
35343 [C99-based standards] (INTPTR_MAX): Likewise.
35344 [C99-based standards] (UINTPTR_MAX): Likewise.
35345 [C99-based standards] (INTMAX_MIN): Likewise.
35346 [C99-based standards] (INTMAX_MAX): Likewise.
35347 [C99-based standards] (UINTMAX_MAX): Likewise.
35348 [C99-based standards] (PTRDIFF_MIN): Likewise.
35349 [C99-based standards] (PTRDIFF_MAX): Likewise.
35350 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35351 [C99-based standards] (SIZE_MAX): Likewise.
35352 [C99-based standards] (WCHAR_MAX): Likewise.
35353 [C99-based standards] (WINT_MAX): Likewise.
35354 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35355 constraint on value.
35356 [C99-based standards] (WCHAR_MIN): Likewise.
35357 [C99-based standards] (WINT_MIN): Likewise.
35358 [C99-based standards] (*_t): Allow.
35359 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35360 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35361 Include math.h-data and complex.h-data. Remove all expectations
35362 of math.h and complex.h contents.
35363 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35364 at end of line.
35365 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35366 (struct tm): Expect tag.
35367 [C99-based-standards] (wcstof): Expect function.
35368 [C99-based-standards] (wcstold): Likewise.
35369 [C99-based-standards] (wcstoll): Likewise.
35370 [C99-based-standards] (wcstoull): Likewise.
35371 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35372 macro-int-constant. Specify type.
35373 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35374 constraint on value.
35375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35376 Specify type.
35377 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35378 Specify value.
35379 [ISO C standards]: Do not allow headers.
35380 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35381 wcs[abcdefghijklmnopqrstuvwxyz]*.
35382 [ISO C standards] (*_t): Do not allow.
35383 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35384 Expect function.
35385 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35387 Specify type.
35388 [ISO C standards]: Do not allow headers.
35389 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35390 is[abcdefghijklmnopqrstuvwxyz]*.
35391 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35392 to[abcdefghijklmnopqrstuvwxyz]*.
35393 [ISO C standards] (*_t): Do not allow.
35394 * conform/data/stdalign.h-data: New file.
35395 * conform/data/stdbool.h-data: Likewise.
35396 * conform/data/stdnoreturn.h-data: Likewise.
35397
353982012-11-07 Roland McGrath <roland@hack.frob.com>
35399
35400 [BZ #14815]
35401 * manual/filesys.texi (Directory Entries): Typo fix.
35402 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35403
354042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35405
35406 * elf/elf.h (EM_AARCH64): New macro.
35407 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35408 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35409 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35410 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35411 (R_AARCH64_TLSDESC): Likewise.
35412 (NT_ARM_TLS): Likewise.
35413 (NT_ARM_HW_BREAK): Likewise.
35414 (NT_ARM_HW_WATCH): Likewise.
35415
354162012-11-07 Joseph Myers <joseph@codesourcery.com>
35417
35418 [BZ #14811]
35419 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35420 (__ieee754_powl): Saturate nonzero exponents with absolute value
35421 below 0x1p-79 to +/- 0x1p-79.
35422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35423 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35425 nonzero exponents with absolute value below 0x1p-32 to +/-
35426 0x1p-32.
35427 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35428 (__ieee754_powl): Saturate nonzero exponents with absolute value
35429 below 0x1p-79 to +/- 0x1p-79.
35430 * math/libm-test.inc (pow_test): Add more tests.
35431
354322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35433
35434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35435 _dl_s390_cap_flags with kernel. Increase string length.
35436 (_dl_s390_platforms): Add z196 and zEC12.
35437
354382012-11-07 Joseph Myers <joseph@codesourcery.com>
35439
35440 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35441 Change XOPEN21K to XOPEN2K.
35442
354432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35444
35445 * string/memmove.c: Use memcpy when possible.
35446
354472012-11-06 Andreas Jaeger <aj@suse.de>
35448
35449 * po/eo.po: Update from translation team.
35450
354512012-11-06 Joseph Myers <joseph@codesourcery.com>
35452
35453 [BZ #14793]
35454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35455 exponent and small x and y exponents, scale x or y up. Increase
35456 by 2 the exponent used in scaling up.
35457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35459 * math/libm-test.inc (fma_test): Add more tests.
35460 (fma_test_towardzero): Likewise.
35461 (fma_test_downward): Likewise.
35462 (fma_test_upward): Likewise.
35463
354642012-11-05 Joseph Myers <joseph@codesourcery.com>
35465
35466 [BZ #14805]
35467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35468 fenv_t *.
35469
35470 [BZ #14801]
35471 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35472 namespace for names of struct fields.
35473 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35474 fenv_t fields.
35475 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35476 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35477
354782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35479
35480 [BZ #3665]
35481 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35482
354832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35484
35485 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35486 PTR_DEMANGLE.
35487
35488 [BZ #5246]
35489 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35490 PTR_DEMANGLE.
35491
354922012-11-04 Joseph Myers <joseph@codesourcery.com>
35493
35494 [BZ #14797]
35495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35496 definitely overflow as x * y not x * y + z.
35497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35499 * math/libm-test.inc (fma_test): Add more tests.
35500 (fma_test_towardzero): Likewise.
35501 (fma_test_downward): Likewise.
35502 (fma_test_upward): Likewise.
35503
355042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35505
35506 [BZ #157]
35507
35508 * include/stub-tag.h: Remove file.
35509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35510 '#include' of it.
35511 * manual/maint.texi (Porting): Don't reference it.
35512 * Makerules ($(objpfx)stubs): Likewise.
35513 * dirent/closedir.c: Don't include <stub-tag.h>.
35514 * dirent/dirfd.c: Likewise.
35515 * dirent/fdopendir.c: Likewise.
35516 * dirent/getdents.c: Likewise.
35517 * dirent/getdents64.c: Likewise.
35518 * dirent/opendir.c: Likewise.
35519 * dirent/readdir.c: Likewise.
35520 * dirent/readdir64.c: Likewise.
35521 * dirent/readdir64_r.c: Likewise.
35522 * dirent/readdir_r.c: Likewise.
35523 * dirent/rewinddir.c: Likewise.
35524 * dirent/seekdir.c: Likewise.
35525 * dirent/telldir.c: Likewise.
35526 * gmon/profil.c: Likewise.
35527 * grp/setgroups.c: Likewise.
35528 * inet/if_index.c: Likewise.
35529 * io/access.c: Likewise.
35530 * io/chdir.c: Likewise.
35531 * io/chmod.c: Likewise.
35532 * io/chown.c: Likewise.
35533 * io/close.c: Likewise.
35534 * io/dup.c: Likewise.
35535 * io/dup2.c: Likewise.
35536 * io/dup3.c: Likewise.
35537 * io/euidaccess.c: Likewise.
35538 * io/faccessat.c: Likewise.
35539 * io/fchdir.c: Likewise.
35540 * io/fchmod.c: Likewise.
35541 * io/fchmodat.c: Likewise.
35542 * io/fchown.c: Likewise.
35543 * io/fchownat.c: Likewise.
35544 * io/fcntl.c: Likewise.
35545 * io/flock.c: Likewise.
35546 * io/fstatfs.c: Likewise.
35547 * io/fstatfs64.c: Likewise.
35548 * io/fstatvfs.c: Likewise.
35549 * io/fstatvfs64.c: Likewise.
35550 * io/futimens.c: Likewise.
35551 * io/fxstat.c: Likewise.
35552 * io/fxstat64.c: Likewise.
35553 * io/fxstatat.c: Likewise.
35554 * io/fxstatat64.c: Likewise.
35555 * io/getcwd.c: Likewise.
35556 * io/isatty.c: Likewise.
35557 * io/lchmod.c: Likewise.
35558 * io/lchown.c: Likewise.
35559 * io/link.c: Likewise.
35560 * io/linkat.c: Likewise.
35561 * io/lseek.c: Likewise.
35562 * io/lseek64.c: Likewise.
35563 * io/lxstat64.c: Likewise.
35564 * io/mkdir.c: Likewise.
35565 * io/mkdirat.c: Likewise.
35566 * io/mkfifo.c: Likewise.
35567 * io/mkfifoat.c: Likewise.
35568 * io/open.c: Likewise.
35569 * io/open64.c: Likewise.
35570 * io/openat.c: Likewise.
35571 * io/openat64.c: Likewise.
35572 * io/pipe.c: Likewise.
35573 * io/pipe2.c: Likewise.
35574 * io/poll.c: Likewise.
35575 * io/posix_fadvise.c: Likewise.
35576 * io/posix_fadvise64.c: Likewise.
35577 * io/posix_fallocate.c: Likewise.
35578 * io/posix_fallocate64.c: Likewise.
35579 * io/read.c: Likewise.
35580 * io/readlink.c: Likewise.
35581 * io/readlinkat.c: Likewise.
35582 * io/rmdir.c: Likewise.
35583 * io/sendfile.c: Likewise.
35584 * io/sendfile64.c: Likewise.
35585 * io/statfs.c: Likewise.
35586 * io/statfs64.c: Likewise.
35587 * io/statvfs.c: Likewise.
35588 * io/statvfs64.c: Likewise.
35589 * io/symlink.c: Likewise.
35590 * io/symlinkat.c: Likewise.
35591 * io/ttyname.c: Likewise.
35592 * io/ttyname_r.c: Likewise.
35593 * io/umask.c: Likewise.
35594 * io/unlink.c: Likewise.
35595 * io/unlinkat.c: Likewise.
35596 * io/utime.c: Likewise.
35597 * io/utimensat.c: Likewise.
35598 * io/write.c: Likewise.
35599 * io/xmknod.c: Likewise.
35600 * io/xmknodat.c: Likewise.
35601 * io/xstat.c: Likewise.
35602 * io/xstat64.c: Likewise.
35603 * login/getpt.c: Likewise.
35604 * login/grantpt.c: Likewise.
35605 * login/unlockpt.c: Likewise.
35606 * math/e_acoshl.c: Likewise.
35607 * math/e_acosl.c: Likewise.
35608 * math/e_asinl.c: Likewise.
35609 * math/e_atan2l.c: Likewise.
35610 * math/e_atanhl.c: Likewise.
35611 * math/e_coshl.c: Likewise.
35612 * math/e_expl.c: Likewise.
35613 * math/e_fmodl.c: Likewise.
35614 * math/e_gammal_r.c: Likewise.
35615 * math/e_hypotl.c: Likewise.
35616 * math/e_j0l.c: Likewise.
35617 * math/e_j1l.c: Likewise.
35618 * math/e_jnl.c: Likewise.
35619 * math/e_lgammal_r.c: Likewise.
35620 * math/e_log10l.c: Likewise.
35621 * math/e_log2l.c: Likewise.
35622 * math/e_logl.c: Likewise.
35623 * math/e_powl.c: Likewise.
35624 * math/e_rem_pio2l.c: Likewise.
35625 * math/e_sinhl.c: Likewise.
35626 * math/e_sqrtl.c: Likewise.
35627 * math/fclrexcpt.c: Likewise.
35628 * math/fedisblxcpt.c: Likewise.
35629 * math/feenablxcpt.c: Likewise.
35630 * math/fegetenv.c: Likewise.
35631 * math/fegetexcept.c: Likewise.
35632 * math/fegetround.c: Likewise.
35633 * math/feholdexcpt.c: Likewise.
35634 * math/fesetenv.c: Likewise.
35635 * math/fesetround.c: Likewise.
35636 * math/feupdateenv.c: Likewise.
35637 * math/fgetexcptflg.c: Likewise.
35638 * math/fraiseexcpt.c: Likewise.
35639 * math/fsetexcptflg.c: Likewise.
35640 * math/ftestexcept.c: Likewise.
35641 * math/k_cosl.c: Likewise.
35642 * math/k_rem_pio2l.c: Likewise.
35643 * math/k_sinl.c: Likewise.
35644 * math/k_tanl.c: Likewise.
35645 * math/s_asinhl.c: Likewise.
35646 * math/s_atanl.c: Likewise.
35647 * math/s_cbrtl.c: Likewise.
35648 * math/s_erfl.c: Likewise.
35649 * math/s_expm1l.c: Likewise.
35650 * math/s_log1pl.c: Likewise.
35651 * math/s_tanhl.c: Likewise.
35652 * misc/acct.c: Likewise.
35653 * misc/brk.c: Likewise.
35654 * misc/chflags.c: Likewise.
35655 * misc/chroot.c: Likewise.
35656 * misc/fchflags.c: Likewise.
35657 * misc/fgetxattr.c: Likewise.
35658 * misc/flistxattr.c: Likewise.
35659 * misc/fremovexattr.c: Likewise.
35660 * misc/fsetxattr.c: Likewise.
35661 * misc/fsync.c: Likewise.
35662 * misc/ftruncate.c: Likewise.
35663 * misc/futimes.c: Likewise.
35664 * misc/futimesat.c: Likewise.
35665 * misc/getdomain.c: Likewise.
35666 * misc/getdtsz.c: Likewise.
35667 * misc/gethostid.c: Likewise.
35668 * misc/gethostname.c: Likewise.
35669 * misc/getloadavg.c: Likewise.
35670 * misc/getpagesize.c: Likewise.
35671 * misc/getsysstats.c: Likewise.
35672 * misc/getxattr.c: Likewise.
35673 * misc/gtty.c: Likewise.
35674 * misc/ioctl.c: Likewise.
35675 * misc/lgetxattr.c: Likewise.
35676 * misc/listxattr.c: Likewise.
35677 * misc/llistxattr.c: Likewise.
35678 * misc/lremovexattr.c: Likewise.
35679 * misc/lsetxattr.c: Likewise.
35680 * misc/lutimes.c: Likewise.
35681 * misc/madvise.c: Likewise.
35682 * misc/mincore.c: Likewise.
35683 * misc/mlock.c: Likewise.
35684 * misc/mlockall.c: Likewise.
35685 * misc/mmap.c: Likewise.
35686 * misc/mprotect.c: Likewise.
35687 * misc/msync.c: Likewise.
35688 * misc/munlock.c: Likewise.
35689 * misc/munlockall.c: Likewise.
35690 * misc/munmap.c: Likewise.
35691 * misc/preadv.c: Likewise.
35692 * misc/preadv64.c: Likewise.
35693 * misc/ptrace.c: Likewise.
35694 * misc/pwritev.c: Likewise.
35695 * misc/pwritev64.c: Likewise.
35696 * misc/readv.c: Likewise.
35697 * misc/reboot.c: Likewise.
35698 * misc/remap_file_pages.c: Likewise.
35699 * misc/removexattr.c: Likewise.
35700 * misc/revoke.c: Likewise.
35701 * misc/select.c: Likewise.
35702 * misc/setdomain.c: Likewise.
35703 * misc/setegid.c: Likewise.
35704 * misc/seteuid.c: Likewise.
35705 * misc/sethostid.c: Likewise.
35706 * misc/sethostname.c: Likewise.
35707 * misc/setregid.c: Likewise.
35708 * misc/setreuid.c: Likewise.
35709 * misc/setxattr.c: Likewise.
35710 * misc/sstk.c: Likewise.
35711 * misc/stty.c: Likewise.
35712 * misc/swapoff.c: Likewise.
35713 * misc/swapon.c: Likewise.
35714 * misc/sync.c: Likewise.
35715 * misc/syncfs.c: Likewise.
35716 * misc/syscall.c: Likewise.
35717 * misc/truncate.c: Likewise.
35718 * misc/ualarm.c: Likewise.
35719 * misc/usleep.c: Likewise.
35720 * misc/ustat.c: Likewise.
35721 * misc/utimes.c: Likewise.
35722 * misc/vhangup.c: Likewise.
35723 * misc/writev.c: Likewise.
35724 * posix/_exit.c: Likewise.
35725 * posix/alarm.c: Likewise.
35726 * posix/execve.c: Likewise.
35727 * posix/fexecve.c: Likewise.
35728 * posix/fork.c: Likewise.
35729 * posix/fpathconf.c: Likewise.
35730 * posix/getaddrinfo.c: Likewise.
35731 * posix/getegid.c: Likewise.
35732 * posix/geteuid.c: Likewise.
35733 * posix/getgid.c: Likewise.
35734 * posix/getgroups.c: Likewise.
35735 * posix/getlogin.c: Likewise.
35736 * posix/getlogin_r.c: Likewise.
35737 * posix/getpgid.c: Likewise.
35738 * posix/getpid.c: Likewise.
35739 * posix/getppid.c: Likewise.
35740 * posix/getresgid.c: Likewise.
35741 * posix/getresuid.c: Likewise.
35742 * posix/getsid.c: Likewise.
35743 * posix/getuid.c: Likewise.
35744 * posix/glob64.c: Likewise.
35745 * posix/nanosleep.c: Likewise.
35746 * posix/pathconf.c: Likewise.
35747 * posix/pause.c: Likewise.
35748 * posix/posix_madvise.c: Likewise.
35749 * posix/pread.c: Likewise.
35750 * posix/pread64.c: Likewise.
35751 * posix/pwrite.c: Likewise.
35752 * posix/pwrite64.c: Likewise.
35753 * posix/sched_getaffinity.c: Likewise.
35754 * posix/sched_getp.c: Likewise.
35755 * posix/sched_gets.c: Likewise.
35756 * posix/sched_primax.c: Likewise.
35757 * posix/sched_primin.c: Likewise.
35758 * posix/sched_rr_gi.c: Likewise.
35759 * posix/sched_setaffinity.c: Likewise.
35760 * posix/sched_setp.c: Likewise.
35761 * posix/sched_sets.c: Likewise.
35762 * posix/sched_yield.c: Likewise.
35763 * posix/setgid.c: Likewise.
35764 * posix/setlogin.c: Likewise.
35765 * posix/setpgid.c: Likewise.
35766 * posix/setresgid.c: Likewise.
35767 * posix/setresuid.c: Likewise.
35768 * posix/setsid.c: Likewise.
35769 * posix/setuid.c: Likewise.
35770 * posix/sleep.c: Likewise.
35771 * posix/spawni.c: Likewise.
35772 * posix/sysconf.c: Likewise.
35773 * posix/times.c: Likewise.
35774 * posix/wait.c: Likewise.
35775 * posix/wait3.c: Likewise.
35776 * posix/wait4.c: Likewise.
35777 * posix/waitpid.c: Likewise.
35778 * resolv/gai_sigqueue.c: Likewise.
35779 * resource/getpriority.c: Likewise.
35780 * resource/getrlimit.c: Likewise.
35781 * resource/getrusage.c: Likewise.
35782 * resource/nice.c: Likewise.
35783 * resource/setpriority.c: Likewise.
35784 * resource/setrlimit.c: Likewise.
35785 * resource/ulimit.c: Likewise.
35786 * rt/aio_cancel.c: Likewise.
35787 * rt/aio_fsync.c: Likewise.
35788 * rt/aio_read.c: Likewise.
35789 * rt/aio_sigqueue.c: Likewise.
35790 * rt/aio_suspend.c: Likewise.
35791 * rt/aio_write.c: Likewise.
35792 * rt/clock_getres.c: Likewise.
35793 * rt/clock_gettime.c: Likewise.
35794 * rt/clock_nanosleep.c: Likewise.
35795 * rt/clock_settime.c: Likewise.
35796 * rt/lio_listio.c: Likewise.
35797 * rt/mq_close.c: Likewise.
35798 * rt/mq_getattr.c: Likewise.
35799 * rt/mq_notify.c: Likewise.
35800 * rt/mq_open.c: Likewise.
35801 * rt/mq_receive.c: Likewise.
35802 * rt/mq_send.c: Likewise.
35803 * rt/mq_setattr.c: Likewise.
35804 * rt/mq_timedreceive.c: Likewise.
35805 * rt/mq_timedsend.c: Likewise.
35806 * rt/mq_unlink.c: Likewise.
35807 * rt/shm_open.c: Likewise.
35808 * rt/shm_unlink.c: Likewise.
35809 * rt/timer_create.c: Likewise.
35810 * rt/timer_delete.c: Likewise.
35811 * rt/timer_getoverr.c: Likewise.
35812 * rt/timer_gettime.c: Likewise.
35813 * rt/timer_settime.c: Likewise.
35814 * setjmp/__longjmp.c: Likewise.
35815 * setjmp/setjmp.c: Likewise.
35816 * signal/kill.c: Likewise.
35817 * signal/killpg.c: Likewise.
35818 * signal/raise.c: Likewise.
35819 * signal/sigaction.c: Likewise.
35820 * signal/sigaltstack.c: Likewise.
35821 * signal/sigblock.c: Likewise.
35822 * signal/sigignore.c: Likewise.
35823 * signal/sigintr.c: Likewise.
35824 * signal/signal.c: Likewise.
35825 * signal/sigpause.c: Likewise.
35826 * signal/sigpending.c: Likewise.
35827 * signal/sigqueue.c: Likewise.
35828 * signal/sigreturn.c: Likewise.
35829 * signal/sigset.c: Likewise.
35830 * signal/sigsetmask.c: Likewise.
35831 * signal/sigstack.c: Likewise.
35832 * signal/sigsuspend.c: Likewise.
35833 * signal/sigtimedwait.c: Likewise.
35834 * signal/sigvec.c: Likewise.
35835 * signal/sigwait.c: Likewise.
35836 * signal/sigwaitinfo.c: Likewise.
35837 * signal/sysv_signal.c: Likewise.
35838 * socket/accept.c: Likewise.
35839 * socket/accept4.c: Likewise.
35840 * socket/bind.c: Likewise.
35841 * socket/connect.c: Likewise.
35842 * socket/getpeername.c: Likewise.
35843 * socket/getsockname.c: Likewise.
35844 * socket/getsockopt.c: Likewise.
35845 * socket/isfdtype.c: Likewise.
35846 * socket/listen.c: Likewise.
35847 * socket/recv.c: Likewise.
35848 * socket/recvfrom.c: Likewise.
35849 * socket/recvmsg.c: Likewise.
35850 * socket/send.c: Likewise.
35851 * socket/sendmsg.c: Likewise.
35852 * socket/sendto.c: Likewise.
35853 * socket/setsockopt.c: Likewise.
35854 * socket/shutdown.c: Likewise.
35855 * socket/sockatmark.c: Likewise.
35856 * socket/socket.c: Likewise.
35857 * socket/socketpair.c: Likewise.
35858 * stdio-common/ctermid.c: Likewise.
35859 * stdio-common/cuserid.c: Likewise.
35860 * stdio-common/remove.c: Likewise.
35861 * stdio-common/rename.c: Likewise.
35862 * stdio-common/renameat.c: Likewise.
35863 * stdio-common/tempname.c: Likewise.
35864 * stdlib/getcontext.c: Likewise.
35865 * stdlib/makecontext.c: Likewise.
35866 * stdlib/setcontext.c: Likewise.
35867 * stdlib/swapcontext.c: Likewise.
35868 * stdlib/system.c: Likewise.
35869 * streams/fattach.c: Likewise.
35870 * streams/fdetach.c: Likewise.
35871 * streams/getmsg.c: Likewise.
35872 * streams/getpmsg.c: Likewise.
35873 * streams/putmsg.c: Likewise.
35874 * streams/putpmsg.c: Likewise.
35875 * sysdeps/unix/bsd/getpt.c: Likewise.
35876 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35877 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35880 Likewise.
35881 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35882 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35883 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35884 * sysvipc/msgctl.c: Likewise.
35885 * sysvipc/msgget.c: Likewise.
35886 * sysvipc/msgrcv.c: Likewise.
35887 * sysvipc/msgsnd.c: Likewise.
35888 * sysvipc/semctl.c: Likewise.
35889 * sysvipc/semget.c: Likewise.
35890 * sysvipc/semop.c: Likewise.
35891 * sysvipc/semtimedop.c: Likewise.
35892 * sysvipc/shmat.c: Likewise.
35893 * sysvipc/shmctl.c: Likewise.
35894 * sysvipc/shmdt.c: Likewise.
35895 * sysvipc/shmget.c: Likewise.
35896 * termios/tcdrain.c: Likewise.
35897 * termios/tcflow.c: Likewise.
35898 * termios/tcflush.c: Likewise.
35899 * termios/tcgetattr.c: Likewise.
35900 * termios/tcgetpgrp.c: Likewise.
35901 * termios/tcsendbrk.c: Likewise.
35902 * termios/tcsetattr.c: Likewise.
35903 * termios/tcsetpgrp.c: Likewise.
35904 * time/adjtime.c: Likewise.
35905 * time/clock.c: Likewise.
35906 * time/getitimer.c: Likewise.
35907 * time/gettimeofday.c: Likewise.
35908 * time/setitimer.c: Likewise.
35909 * time/settimeofday.c: Likewise.
35910 * time/stime.c: Likewise.
35911 * time/time.c: Likewise.
35912
359132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35914
35915 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35916 /usr/old/bin.
35917
35918 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35919 instead of spaces.
35920 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35921
359222012-11-03 Joseph Myers <joseph@codesourcery.com>
35923
35924 [BZ #14796]
35925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35926 FE_TONEAREST before applying Dekker multiplication and Knuth
35927 addition. Clear inexact exceptions and check for exact zero
35928 results afterwards.
35929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35932 * math/libm-test.inc (fma_test): Add more tests.
35933 (fma_test_towardzero): Likewise.
35934 (fma_test_downward): Likewise.
35935 (fma_test_upward): Likewise.
35936 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35937 function.
35938 (libc_fesetround): New macro.
35939 (libc_fesetroundf): Likewise.
35940 (libc_fesetroundl): Likewise.
35941 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35942 function.
35943 (libc_fesetround_387): Likewise.
35944 (libc_fesetroundf): New macro.
35945 (libc_fesetround): Likewise.
35946 (libc_fesetroundl): Likewise.
35947 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35948 function.
35949 (libc_fesetroundf): New macro.
35950 (libc_fesetround): Likewise.
35951 (libc_fesetroundl): Likewise.
35952 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35953 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35954 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35955 libm_hidden_ver.
35956 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35957 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35958 libm_hidden_def.
35959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35960 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35961 libm_hidden_ver.
35962 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35963 libm_hidden_def.
35964
35965 [BZ #3439]
35966 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35967 integer constant usable in #if and use that to give value to enum
35968 constant.
35969 (FE_DIVBYZERO): Likewise.
35970 (FE_UNDERFLOW): Likewise.
35971 (FE_OVERFLOW): Likewise.
35972 (FE_INVALID): Likewise.
35973 (FE_INVALID_SNAN): Likewise.
35974 (FE_INVALID_ISI): Likewise.
35975 (FE_INVALID_IDI): Likewise.
35976 (FE_INVALID_ZDZ): Likewise.
35977 (FE_INVALID_IMZ): Likewise.
35978 (FE_INVALID_COMPARE): Likewise.
35979 (FE_INVALID_SOFTWARE): Likewise.
35980 (FE_INVALID_SQRT): Likewise.
35981 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35982 (FE_TONEAREST): Likewise.
35983 (FE_TOWARDZERO): Likewise.
35984 (FE_UPWARD): Likewise.
35985 (FE_DOWNWARD): Likewise.
35986 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35987 (FE_DIVBYZERO): Likewise.
35988 (FE_OVERFLOW): Likewise.
35989 (FE_UNDERFLOW): Likewise.
35990 (FE_INEXACT): Likewise.
35991 (FE_TONEAREST): Likewise.
35992 (FE_DOWNWARD): Likewise.
35993 (FE_UPWARD): Likewise.
35994 (FE_TOWARDZERO): Likewise.
35995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35996 (FE_UNDERFLOW): Likewise.
35997 (FE_OVERFLOW): Likewise.
35998 (FE_DIVBYZERO): Likewise.
35999 (FE_INVALID): Likewise.
36000 (FE_TONEAREST): Likewise.
36001 (FE_TOWARDZERO): Likewise.
36002 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36003 (FE_OVERFLOW): Likewise.
36004 (FE_UNDERFLOW): Likewise.
36005 (FE_DIVBYZERO): Likewise.
36006 (FE_INEXACT): Likewise.
36007 (FE_TONEAREST): Likewise.
36008 (FE_TOWARDZERO): Likewise.
36009 (FE_UPWARD): Likewise.
36010 (FE_DOWNWARD): Likewise.
36011 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36012 (FE_DIVBYZERO): Likewise.
36013 (FE_OVERFLOW): Likewise.
36014 (FE_UNDERFLOW): Likewise.
36015 (FE_INEXACT): Likewise.
36016 (FE_TONEAREST): Likewise.
36017 (FE_DOWNWARD): Likewise.
36018 (FE_UPWARD): Likewise.
36019 (FE_TOWARDZERO): Likewise.
36020
360212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36022
36023 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36024
360252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36026
36027 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36028 commands. Quote $PWD.
36029 (blacklist_exports): Don't use remove_newlines. Replace "declare
36030 -x" by "export".
36031 (remove_newlines): Remove.
36032
360332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36034
36035 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36036 * stdlib/stdlib.h (atof): Moved to ...
36037 * include/bits/stdlib-float.h: Here. New file.
36038 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36039 * stdlib/bits/stdlib-float.h: New file.
36040 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36041 -mno-sse -mno-mmx.
36042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36043 <xmmintrin.h>.
36044
360452012-11-02 Joseph Myers <joseph@codesourcery.com>
36046
36047 * conform/conformtest.pl (@headers): Add fenv.h.
36048 * conform/data/fenv.h-data: New file.
36049 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36050 include of <math/fenv.h>.
36051
36052 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36053 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36054 && !UNIX98]. Enables tests for XOPEN2K8.
36055 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36056 POSIX2008]: Likewise.
36057
36058 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36059 (struct rusage): Do not expect type or its members.
36060
36061 [BZ #3439]
36062 * math/math.h (FP_NAN): Define macro to integer constant usable in
36063 #if and use that to give value to enum constant.
36064 (FP_INFINITE): Likewise.
36065 (FP_ZERO): Likewise.
36066 (FP_SUBNORMAL): Likewise.
36067 (FP_NORMAL): Likewise.
36068
360692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36070
36071 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36072 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36073 arguments.
36074
360752012-11-02 Roland McGrath <roland@hack.frob.com>
36076
36077 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36078 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36079 autoconf-time if not.
36080 * configure.in: Remove AC_PREREQ.
36081
360822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36083
36084 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36085 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36086 of the internal implementation.
36087
360882012-11-02 Joseph Myers <joseph@codesourcery.com>
36089
36090 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36091 except include of <misc/sys/syslog.h>.
36092
360932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36094
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36096 function returns with a NULL context exit with zero.
36097
360982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36099
36100 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36101
361022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36103
36104 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36105 (run_program_cmd): This.
36106 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36107 (tst_langinfo): New variable. Use it.
36108
361092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36110
36111 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36112 floating point opcodes.
36113
361142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36115
36116 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36117 variable.
36118
36119 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36120
36121 * sysdeps/mach/hurd/powerpc: Remove directory.
36122 * sysdeps/mach/powerpc: Likewise.
36123
361242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36125
36126 * scripts/check-local-headers.sh: Ignore c++ headers.
36127
361282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36129
36130 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36131 __libc_cleanup_region_start argument.
36132
361332012-11-01 Joseph Myers <joseph@codesourcery.com>
36134
36135 [BZ #14784]
36136 [BZ #14785]
36137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36138 x * y using scaling, not as x * y + z.
36139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36141 * math/libm-test.inc (fma_test): Add more tests.
36142 (fma_test_towardzero): Likewise.
36143 (fma_test_downward): Likewise.
36144 (fma_test_upward): Likewise.
36145
361462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36147
36148 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36149
361502012-10-31 Joseph Myers <joseph@codesourcery.com>
36151
36152 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36153 New variable.
36154
361552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36156
36157 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36158
361592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36160
36161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36162 Fix sort order.
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36164 Likewise.
36165
361662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36167
36168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36169 Fix the order of the list for glibc 2.17.
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36171 Likewise.
36172
361732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36174
36175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36176
361772012-10-31 Joseph Myers <joseph@codesourcery.com>
36178
36179 [BZ #14610]
36180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36181 for low part of x being zero before using __atanl (y).
36182 * math/libm-test.inc (atan2_test): Add another test.
36183
36184 * manual/install.texi (Configuring and compiling): Document
36185 general use of test-wrapper and test-wrapper-env.
36186 * INSTALL: Regenerated.
36187
36188 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36189 (__fma): Do not extract and scale down low bits on after-rounding
36190 systems when result rounded to normal precision would have normal
36191 exponent.
36192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36193 (__fmal): Do not extract and scale down low bits on after-rounding
36194 systems when result rounded to normal precision would have normal
36195 exponent.
36196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36197 (__fmal): Do not extract and scale down low bits on after-rounding
36198 systems when result rounded to normal precision would have normal
36199 exponent.
36200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36201 macro.
36202 (fma_test): Add more tests.
36203 (fma_test_towardzero): Likewise.
36204 (fma_test_downward): Likewise.
36205 (fma_test_upward): Likewise.
36206
362072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36208
36209 * sysdeps/i386/tininess.h: Renamed to ...
36210 * sysdeps/x86/tininess.h: This.
36211 * sysdeps/x86_64/tininess.h: Removed.
36212
362132012-10-30 Joseph Myers <joseph@codesourcery.com>
36214
36215 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36216 input. Use $(build-program-cmd).
36217 ($(objpfx)tst-array1-static.out): Likewise.
36218 ($(objpfx)tst-array2.out): Likewise.
36219 ($(objpfx)tst-array3.out): Likewise.
36220 ($(objpfx)tst-array4.out): Likewise.
36221 ($(objpfx)tst-array5.out): Likewise.
36222 ($(objpfx)tst-array5-static.out): Likewise.
36223
362242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36225
36226 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36227 if defined.
36228
36229 * nss/nsswitch.h (nss_interface_function): Provide new
36230 macro for use with NSS functions.
36231 * grp/initgroups.c: Use new macro.
36232 * nss/getXXbyYY.c: Likewise.
36233 * nss/getXXbyYY_r.c: Likewise.
36234 * nss/getXXent.c: Likewise.
36235 * nss/getXXent_r.c: Likewise.
36236 * sysdeps/posix/getaddrinfo.c: Likewise.
36237
362382012-10-30 Andreas Jaeger <aj@suse.de>
36239
36240 * po/ru.po: Update Russion translation from translation project.
36241
362422012-10-30 Joseph Myers <joseph@codesourcery.com>
36243
36244 [BZ #14152]
36245 [BZ #14783]
36246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36247 result and shift together with sticky bit instead of replicating
36248 round-to-nearest rounding.
36249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36251 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36252 missing underflow exceptions.
36253 (fma_test_towardzero): Add more tests.
36254 (fma_test_downward): Likewise.
36255 (fma_test_upward): Likewise.
36256
36257 [BZ #14047]
36258 * sysdeps/generic/tininess.h: New file.
36259 * sysdeps/i386/tininess.h: Likewise.
36260 * sysdeps/sh/tininess.h: Likewise.
36261 * sysdeps/x86_64/tininess.h: Likewise.
36262 * stdlib/tst-strtod-underflow.c: Likewise.
36263 * stdlib/tst-tininess.c: Likewise.
36264 * stdlib/strtod_l.c: Include <tininess.h>.
36265 (round_and_return): Do not set errno for exact underflow cases.
36266 Force an underflow exception when setting errno for underflow.
36267 Determine underflow based on rounding to normal precision if
36268 TININESS_AFTER_ROUNDING.
36269 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36270 ERANGE for exact underflow cases.
36271 * stdlib/Makefile (tests): Add tst-tininess and
36272 tst-strtod-underflow.
36273 ($(objpfx)tst-tininess): Use $(link-libm).
36274 ($(objpfx)tst-strtod-underflow): Likewise.
36275
362762012-10-30 Andreas Jaeger <aj@suse.de>
36277
36278 [BZ#14767]
36279 * elf/Makefile (tests): Remove conditional for have-initfini-array
36280 since this is now always required and the variable does not exist
36281 anymore.
36282 (tests-static): Likewise.
36283 (modules-names): Likewise.
36284
36285 * po/eo.po: Add Esperanto translation from translation project.
36286
36287 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36288 merged with constructor/destructor.
36289 (init_array): Likewise.
36290 * elf/tst-array2dep.c (fini_array): Likewise.
36291 (init_array): Likewise.
36292
362932012-10-29 Mike Frysinger <vapier@gentoo.org>
36294
36295 * manual/message.texi: Delete @cartouche tags.
36296
362972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36298
36299 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36300 EOPNOTSUPP.
36301 * sysdeps/mach/hurd/fsync.c: Likewise.
36302
36303 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36304 [_POSIX_REALTIME_SIGNALS]: Change condition to
36305 [_POSIX_REALTIME_SIGNALS > 0].
36306
363072012-10-27 Andreas Jaeger <aj@suse.de>
36308
36309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36310 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36312 [__WORDSIZE != 64]: Likewise.
36313
363142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36315
36316 * iconvdata/tst-table.sh: Remove ${SHELL}.
36317 * iconvdata/tst-tables.sh: Likewise.
36318
363192012-10-25 David S. Miller <davem@davemloft.net>
36320
36321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36322 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36323 of strtoull.
36324
36325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36326 ifunc-impl-list.c
36327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36328 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36329 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36330 file.
36331
363322012-10-25 Roland McGrath <roland@hack.frob.com>
36333
36334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36335 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36336 __getdirentries.
36337
363382012-10-25 Joseph Myers <joseph@codesourcery.com>
36339 Jim Blandy <jimb@codesourcery.com>
36340
36341 * scripts/cross-test-ssh.sh: New file.
36342 * manual/install.texi (Configuring and compiling): Document use of
36343 cross-test-ssh.sh.
36344 * INSTALL: Regenerated.
36345
363462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36347
36348 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36349 EOPNOTSUPP.
36350
363512012-10-25 Joseph Myers <joseph@codesourcery.com>
36352
36353 * Makeconfig (run-program-prefix): Fix comment.
36354
363552012-10-24 Joseph Myers <joseph@codesourcery.com>
36356 Jim Blandy <jimb@codesourcery.com>
36357
36358 * Makeconfig (test-wrapper): New variable,
36359 (test-wrapper-env): Likewise.
36360 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36361 (run-built-tests): Define to yes.
36362 (run-program-prefix): Use $(test-wrapper).
36363 (built-program-cmd): Likewise.
36364 * Rules (make-test-out): Use $(test-wrapper-env) and
36365 $(host-built-program-cmd).
36366 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36367 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36368 tst-pathopt.sh.
36369 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36370 $(test-wrapper-env) to tst-rtld-load-self.sh.
36371 ($(objpfx)order2.out): Use $(test-wrapper).
36372 ($(objpfx)tst-initorder.out): Likewise.
36373 ($(objpfx)tst-initorder2.out): Likewise.
36374 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36375 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36376 (test_wrapper_env): New variable. Use it to run ld.so.
36377 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36378 Use it to run ld.so.
36379 (test_wrapper_env): Likewise.
36380 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36381 $(test-wrapper) to run-iconv-test.sh.
36382 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36383 (ICONV): Use $test_wrapper.
36384 * posix/Makefile ($(objpfx)globtest.out): Pass
36385 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36386 globtest.sh, not $(run-program-prefix).
36387 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36388 (test_wrapper): Likewise.
36389 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36390 set together with run_via_rtld_prefix.
36391 (run_program_prefix): Define in terms of test_wrapper and
36392 run_via_rtld_prefix.
36393
363942012-10-24 Roland McGrath <roland@hack.frob.com>
36395
36396 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36397 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36398 Targets removed.
36399
36400 [BZ #14743]
36401 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36402 Declare __clock_getres, __clock_gettime, __clock_settime,
36403 __clock_nanosleep, and __clock_getcpuclockid.
36404 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36405 Remove librt_hidden_def (clock_gettime).
36406 * sysdeps/unix/clock_gettime.c: Likewise.
36407 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36409 * rt/clock_getres.c: Define __clock_getres as an alias.
36410 * sysdeps/posix/clock_getres.c: Likewise.
36411 * rt/clock_settime.c: Define __clock_settime as an alias.
36412 * sysdeps/unix/clock_settime.c: Likewise.
36413 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36414 * sysdeps/unix/clock_nanosleep.c: Likewise.
36415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36416 * rt/clock-compat.c: New file.
36417 * rt/Makefile (librt-routines): Add clock-compat and move
36418 $(clock-routines) to ...
36419 (routines): ... here, new variable.
36420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36421 Don't add get_clockfreq here.
36422 * rt/Versions (libc: GLIBC_2.17): New version set.
36423 Add clock_* symbols here.
36424 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36426 (GLIBC_2.17): Add clock_* symbols.
36427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36431 Likewise.
36432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36433 Likewise.
36434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36438 * NEWS: Mention the move.
36439
36440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36441 Use __open, __read, __close rather than their public counterparts.
36442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36443 (__get_clockfreq_via_cpuinfo): Likewise.
36444 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36445 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36446
36447 * config.h.in (HAVE_IFUNC): New #undef.
36448 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36449 was successful.
36450 * configure: Regenerated.
36451
364522012-10-24 Mike Frysinger <vapier@gentoo.org>
36453
36454 * configure.in: Move READELF check to start of file.
36455 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36456 libc_cv_asm_gnu_indirect_function in the process.
36457 * configure: Regenerated.
36458
364592012-10-24 Mike Frysinger <vapier@gentoo.org>
36460
36461 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36462 send the output to /dev/null.
36463 (libc_cv_cc_with_libunwind): Likewise.
36464 (libc_cv_as_noexecstack): Likewise.
36465 * configure: Regenerate.
36466
364672012-10-24 Joseph Myers <joseph@codesourcery.com>
36468
36469 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36470
36471 * posix/globtest.sh (TMPDIR): Do not set.
36472 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36473 (testout): Likewise.
36474
364752012-10-24 Andreas Jaeger <aj@suse.de>
36476
36477 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36478 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36479 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36480 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36481 posix_fadvise64, posix_fallocate64.
36482
36483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36484 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36485 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36486 Likewise.
36487 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36488 Likewise.
36489 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36490
36491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36492 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36493 <bits/fcntl-linux.h>.
36494 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36495
36496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36497 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36498 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36499 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36500 [__WORDSIZE != 64]: Likewise.
36501
365022012-10-23 Joseph Myers <joseph@codesourcery.com>
36503
36504 * Makeconfig (run-built-tests): New variable.
36505 * Rules [$(cross-compiling) = yes]: Change condition to
36506 [$(run-built-tests) = no].
36507 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36508 to [$(run-built-tests) = yes].
36509 * elf/Makefile [$(cross-compiling) = no]: Likewise
36510 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36511 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36512 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36513 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36514 * io/Makefile [$(cross-compiling) = no]: Likewise.
36515 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36516 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36517 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36518 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36519 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36520 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36521 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36522 * string/Makefile [$(cross-compiling) = no]: Likewise.
36523
36524 * posix/Makefile ($(objpfx)globtest.out): Pass
36525 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36526 $(rtld-installed-name).
36527 * posix/globtest.sh (elf_objpfx): Remove variable.
36528 (rtld_installed_name): Likewise.
36529 (library_path): Likewise.
36530 (run_program_prefix): New variable. Use for running globtest
36531 binary.
36532
365332012-10-23 Jim Blandy <jimb@codesourcery.com>
36534 Joseph Myers <joseph@codesourcery.com>
36535
36536 * Makeconfig (host-built-program-cmd): New variable.
36537 * elf/Makefile (tst-stackguard1-ARGS): Use
36538 $(host-built-program-cmd).
36539 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36540 (tst-spawn-ARGS): Likewise.
36541 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36542
365432012-10-23 Joseph Myers <joseph@codesourcery.com>
36544 Jim Blandy <jimb@codesourcery.com>
36545
36546 * Makeconfig (run-via-rtld-prefix): New variable.
36547 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36548 (built-program-cmd): Likewise.
36549
365502012-10-22 Andreas Jaeger <aj@suse.de>
36551
36552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36553 __O_RSYNC if it exists, otherwise to O_SYNC.
36554
365552012-10-22 Jim Blandy <jimb@codesourcery.com>
36556 Joseph Myers <joseph@codesourcery.com>
36557
36558 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36559 /dev/null.
36560 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36561 from /dev/null
36562 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36563 /dev/null.
36564
365652012-10-22 Andreas Jaeger <aj@suse.de>
36566
36567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36568 Define always.
36569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36570
36571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36572 bits/fcntl-linux.h.
36573
36574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36575 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36576
36577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36578 to __O_LARGEFILE.
36579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36580 to __O_LARGEFILE.
36581
365822012-10-21 Jim Blandy <jimb@codesourcery.com>
36583 Joseph Myers <joseph@codesourcery.com>
36584
36585 * config.make.in (NM): New variable.
36586
365872012-10-21 Andreas Jaeger <aj@suse.de>
36588
36589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36590 definitions and declarations that are provided by
36591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36592
365932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36594
36595 [BZ #14683]
36596 * elf/Makefile (tests-static): Add tst-leaks1-static.
36597 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36598 ($(objpfx)tst-leaks1-static): New rule.
36599 ($(objpfx)tst-leaks1-static-mem): Likewise.
36600 (tst-leaks1-static-ENV): New macro.
36601 * elf/dl-open.c (dl_open_worker): Check the main application
36602 only if SHARED is defined.
36603 * elf/tst-leaks1-static.c: New file.
36604
366052012-10-20 Andreas Jaeger <aj@suse.de>
36606
36607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36608 generic values for Linux.
36609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36610 and declarations that are provided by <bits/fcntl-linux.h> and
36611 include <bits/fcntl-linux.h>.
36612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36614
366152012-10-20 Roland McGrath <roland@hack.frob.com>
36616
36617 * io/fcntl.h: Move include of <bits/types.h> to the top and
36618 include it unconditionally.
36619
366202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36621
36622 * wcsmbs/Makefile (tests-ifunc): New variable.
36623 (tests): Add $(tests-ifunc).
36624 * wcsmbs/test-wcschr-ifunc.c: New file.
36625 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36626 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36627 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36628 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36629 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36630
36631 * string/Makefile (tests-ifunc): New variable.
36632 (tests): Add $(tests-ifunc).
36633 * string/test-memccpy.c (TEST_NAME): New macro.
36634 * string/test-memchr.c (TEST_NAME): Likewise.
36635 * string/test-memcmp.c (TEST_NAME): Likewise.
36636 * string/test-memcpy.c (TEST_NAME): Likewise.
36637 * string/test-memmem.c (TEST_NAME): Likewise.
36638 * string/test-memmove.c (TEST_NAME): Likewise.
36639 * string/test-memset.c (TEST_NAME): Likewise.
36640 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36641 * string/test-stpcpy.c (TEST_NAME): Likewise.
36642 * string/test-stpncpy.c (TEST_NAME): Likewise.
36643 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36644 * string/test-strcasestr.c (TEST_NAME): Likewise.
36645 * string/test-strcat.c (TEST_NAME): Likewise.
36646 * string/test-strchr.c (TEST_NAME): Likewise.
36647 * string/test-strcmp.c(TEST_NAME): Likewise.
36648 * string/test-strcpy.c (TEST_NAME): Likewise.
36649 * string/test-strcspn.c (TEST_NAME): Likewise.
36650 * string/test-strlen.c (TEST_NAME): Likewise.
36651 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36652 * string/test-strncmp.c (TEST_NAME): Likewise.
36653 * string/test-strncpy.c (TEST_NAME): Likewise.
36654 * string/test-strnlen.c (TEST_NAME): Likewise.
36655 * string/test-strpbrk.c (TEST_NAME): Likewise.
36656 * string/test-strrchr.c (TEST_NAME): Likewise.
36657 * string/test-strspn.c (TEST_NAME): Likewise.
36658 * string/test-strstr.c (TEST_NAME): Likewise.
36659 * string/test-bcopy-ifunc.c: New file.
36660 * string/test-bzero-ifunc.c: Likewise.
36661 * string/test-memccpy-ifunc.c: Likewise.
36662 * string/test-memchr-ifunc.c: Likewise.
36663 * string/test-memcmp-ifunc.c: Likewise.
36664 * string/test-memcpy-ifunc.c: Likewise.
36665 * string/test-memmem-ifunc.c: Likewise.
36666 * string/test-memmove-ifunc.c: Likewise.
36667 * string/test-mempcpy-ifunc.c: Likewise.
36668 * string/test-memset-ifunc.c: Likewise.
36669 * string/test-rawmemchr-ifunc.c: Likewise.
36670 * string/test-stpcpy-ifunc.c: Likewise.
36671 * string/test-stpncpy-ifunc.c: Likewise.
36672 * string/test-strcasecmp-ifunc.c: Likewise.
36673 * string/test-strcasestr-ifunc.c: Likewise.
36674 * string/test-strcat-ifunc.c: Likewise.
36675 * string/test-strchr-ifunc.c: Likewise.
36676 * string/test-strchrnul-ifunc.c: Likewise.
36677 * string/test-strcmp-ifunc.c: Likewise.
36678 * string/test-strcpy-ifunc.c: Likewise.
36679 * string/test-strcspn-ifunc.c: Likewise.
36680 * string/test-strlen-ifunc.c: Likewise.
36681 * string/test-strncasecmp-ifunc.c: Likewise.
36682 * string/test-strncat-ifunc.c: Likewise.
36683 * string/test-strncmp-ifunc.c: Likewise.
36684 * string/test-strncpy-ifunc.c: Likewise.
36685 * string/test-strnlen-ifunc.c: Likewise.
36686 * string/test-strpbrk-ifunc.c: Likewise.
36687 * string/test-strrchr-ifunc.c: Likewise.
36688 * string/test-strspn-ifunc.c: Likewise.
36689 * string/test-strstr-ifunc.c: Likewise.
36690
36691 * debug/Makefile (tests-ifunc): New variable.
36692 (tests): Add $(tests-ifunc).
36693 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36694 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36695 * debug/test-stpcpy_chk-ifunc.c: New file.
36696 * debug/test-strcpy_chk-ifunc.c: Likewise.
36697
366982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36699
36700 [BZ #13601]
36701 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36702 header is not read in.
36703
367042012-10-19 Joseph Myers <joseph@codesourcery.com>
36705
36706 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36707 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36708 directly. Pass built executable to script as
36709 $(built-program-cmd).
36710 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36711 $testprogram without using LD_LIBRARY_PATH and $ldso.
36712
36713 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36714 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36715 $(rtld-installed-name).
36716 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36717 (rtld_installed_name): Likewise.
36718 (library_path): Likewise.
36719 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36721 $(run-program-prefix) to tst-tables.sh.
36722 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36723 it to run tst-table-from and tst-table-to.
36724 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36725 Pass it to tst-table.sh.
36726 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36727 $(run-program-prefix) to tst-gettext.sh.
36728 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36729 tst-translit.sh.
36730 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36731 tst-gettext2.sh.
36732 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36733 to run tst-gettext.
36734 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36735 to run tst-gettext2.
36736 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36737 to run tst-translit.
36738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36739 $(run-program-prefix) to tst-mtrace.sh.
36740 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36741 to run tst-mtrace.
36742 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36743 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36744 $(rtld-installed-name).
36745 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36746 (rtld_installed_name): Likewise.
36747 (run_program_prefix): New variable. Use it to run wordexp-test.
36748
36749 * Makeconfig (ARCH): Remove all definitions.
36750 (machine): Likewise.
36751 [ARCH]: Remove conditional code.
36752 [!objdir]: Give error.
36753 [!objdir] (objpfx): Remove.
36754 [!objdir] (common-objpfx): Likewise.
36755 [!objdir] (common-objdir): Likewise.
36756 * configure.in (config_makefile): Remove. Hardcode Makefile in
36757 AC_CONFIG_FILES call.
36758 * configure: Regenerated.
36759
36760 [BZ #13888]
36761 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36762 or TMPDIR.
36763 (testout): Likewise.
36764
36765 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36766 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36767 $(rtld-installed-name).
36768 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36769 (rtld_installed_name): Likwise.
36770 (runit): Remove function.
36771 (run_getconf): New variable, Use it for running getconf binary.
36772
367732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36774
36775 [BZ #14716]
36776 * string/test-memmem.c (check_result): New function.
36777 (do_one_test): Use it.
36778 (check1): New function.
36779 (test_main): Use it.
36780
367812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36782
36783 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36784
367852012-10-18 Joseph Myers <joseph@codesourcery.com>
36786
36787 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36788 (_G_LSEEK64): Likewise.
36789 (_G_MMAP64): Likewise.
36790 (_G_FSTAT64): Likewise.
36791 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36792 (_G_LSEEK64): Likewise.
36793 (_G_MMAP64): Likewise.
36794 (_G_FSTAT64): Likewise.
36795 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36796 unconditional. Call __mmap64 directly.
36797 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36798 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36799 __lseek64 directly.
36800 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36801 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36802 __mmap64 directly.
36803 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36804 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36805 __lseek64 directly.
36806 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36807 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36808 __lseek64 directly.
36809 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36810 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36811 __lseek64 directly.
36812 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36813 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36814 __fxstat64 directly.
36815 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36816 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36817 unconditional.
36818 (freopen64) [!_G_OPEN64]: Remove conditional code.
36819 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36820 unconditional.
36821 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36822 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36823 unconditional.
36824 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36825 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36826 unconditional.
36827 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36828 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36829 unconditional.
36830 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36831 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36832 unconditional.
36833 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36834 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36835 unconditional.
36836 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36837 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36838 unconditional.
36839 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36840
368412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36842
36843 [BZ #12140]
36844 * manual/memory.texi (Malloc Tunable Parameters): Add note
36845 about free list pointers overwriting some perturb bytes.
36846 Wording suggested by Roland McGrath.
36847
368482012-10-17 Joseph Myers <joseph@codesourcery.com>
36849
36850 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36851 (lgamma_test): Likewise.
36852 (tgamma_test): Likewise.
36853
368542012-10-16 Florian Weimer <fweimer@redhat.com>
36855
36856 [BZ #14700]
36857 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36858 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36859
368602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36861
36862 * NEWS: Mention BZ #14716.
36863 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36864 when removing AVAILABLE1_USES_J macro.
36865
368662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36867
36868 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36869 (__bswap_64): __uint64_t for unsigned 64-bit int.
36870
368712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36872
36873 * include/string.h (memmem): Declare libc hidden alias.
36874 * string/memmem.c (memmem): Define libc hidden alias.
36875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36876 __read, __close instead of open, read, close.
36877
368782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36879
36880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36881 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36882 global and hidden.
36883 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36884 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36885 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36886 Likewise.
36887 (__rawmemchr_sse2): Likewise.
36888 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36889 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36890 (__strchr_sse2): Likewise.
36891 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36892 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36893 (__strcasecmp_sse2): Likewise.
36894 (__strncasecmp_sse2): Likewise.
36895 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36896 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36897 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36898 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36899 (__strrchr_sse2): Likewise.
36900 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36901 ifunc-impl-list.c.
36902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36906 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36910 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36911 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36912 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36914 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36916 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36918 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36919 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36920 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36921 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36922 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36923 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36924 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36926 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36928 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36930 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36931 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36932
36933 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36934 global and hidden.
36935 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36936 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36937 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36938 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36939 Likewise.
36940 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36941 Likewise.
36942 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36943 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36944 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36945 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36946 ifunc-impl-list.c.
36947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36964 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36972 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36973 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36974 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36975 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36977 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36980 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36988
36989 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36990 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36991 * include/ifunc-impl-list.h: New file.
36992 * misc/ifunc-impl-list.c: Likewise.
36993 * misc/Makefile (routines): Add ifunc-impl-list.
36994 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36995 * string/test-string.h: Include <ifunc-impl-list.h>.
36996 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36997 TEST_NAME]: New variables.
36998 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36999 are defined.
37000 (test_init): Call __libc_ifunc_impl_list to initialize
37001 func_list if TEST_IFUNC and TEST_NAME are defined.
37002
37003 * string/Makefile (strop-tests): Add bcopy and bzero.
37004 * string/test-bcopy.c: New file.
37005 * string/test-bzero.c: Likewise.
37006 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37007 defined.
37008 * string/test-memset.c: Support bzero test if TEST_BZERO is
37009 defined.
37010 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37011 __libc_memmove.
37012 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37013 __libc_memset.
37014 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37015 of memset.
37016
370172012-10-10 Joseph Myers <joseph@codesourcery.com>
37018
37019 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37020 * configure: Regenerated.
37021
37022 * Makeconfig (+link-static-before-libc): Don't include
37023 $(link-static-libc).
37024
37025 * libio/libio.h (_IO_pos_t): Remove.
37026
370272012-10-10 Alexandre Oliva <aoliva@redhat.com>
37028
37029 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37030 McGrath.
37031
370322012-10-10 Alexandre Oliva <aoliva@redhat.com>
37033
37034 * crypt/crypt-entry.c: Include fips-private.h.
37035 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37036 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37037 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37038 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37039
370402012-10-10 Alexandre Oliva <aoliva@redhat.com>
37041
37042 * crypt/crypt-private.h: Include stdbool.h.
37043 (_ufc_setup_salt_r): Return bool.
37044 * crypt/crypt-entry.c: Include errno.h.
37045 (__crypt_r): Return NULL with EINVAL for bad salt.
37046 * crypt/crypt_util.c (bad_for_salt): New.
37047 (_ufc_setup_salt_r): Check that salt is long enough and within
37048 the specified alphabet.
37049 * crypt/badsalttest.c: New file.
37050 * crypt/Makefile (tests): Add it.
37051 ($(objpfx)badsalttest): New.
37052
370532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37054
37055 * NEWS: Add entry for BZ #14602.
37056
370572012-10-09 Joseph Myers <joseph@codesourcery.com>
37058
37059 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37060 type-generic.
37061 * math/libm-test.inc: Update comment listing what functions and
37062 macros are tested.
37063 (isgreater_test): New function.
37064 (isgreaterequal_test): Likewise.
37065 (isless_test): Likewise.
37066 (islessequal_test): Likewise.
37067 (islessgreater_test): Likewise.
37068 (isunordered_test): Likewise.
37069 (main): Call the new functions.
37070
370712012-10-09 Roland McGrath <roland@hack.frob.com>
37072
37073 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37074 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37075 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37076 * sysdeps/i386/configure: Regenerated.
37077 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37078 * sysdeps/mach/configure: Regenerated.
37079 * sysdeps/mach/hurd/configure: Regenerated.
37080 * sysdeps/powerpc/configure: Regenerated.
37081 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37082 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37083 * sysdeps/s390/s390-32/configure: Regenerated.
37084 * sysdeps/s390/s390-64/configure: Regenerated.
37085 * sysdeps/sh/configure: Regenerated.
37086 * sysdeps/sparc/configure: Regenerated.
37087 * sysdeps/unix/sysv/linux/configure: Regenerated.
37088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37089 * sysdeps/x86_64/configure: Regenerated.
37090
37091 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37092 defined. Don't check if MAP is NULL.
37093
370942012-10-09 Joseph Myers <joseph@codesourcery.com>
37095
37096 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37097 (_G_stat64): Likewise.
37098 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37099 (_G_stat64): Likewise.
37100 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37101 instead of struct _G_stat64.
37102 * libio/fileops.c (mmap_remap_check): Likewise.
37103 (decide_maybe_mmap): Likewise.
37104 (_IO_new_file_seekoff): Likewise.
37105 (_IO_file_stat): Likewise.
37106 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37107 _G_off64_t.
37108 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37109 instead of struct _G_stat64.
37110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37111
371122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37113
37114 [BZ #14602]
37115 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37116 Replace with ...
37117 (CHECK_EOL): New macro.
37118 (two_way_short_needle): Check beginning of haystack for EOL. Use
37119 CHECK_EOL.
37120 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37121 Replace with CHECK_EOL.
37122 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37123 Replace with CHECK_EOL.
37124
371252012-10-08 Joseph Myers <joseph@codesourcery.com>
37126
37127 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37128 type-generic.
37129 * math/libm-test.inc: Update comment listing what functions and
37130 macros are tested.
37131 (finite_test): New function.
37132 (isinf_test): Likewise.
37133 (isnan_test): Likewise.
37134 (fpclassify_test): Test subnormal input.
37135 (isfinite_test): Likewise.
37136 (isnormal_test): Likewise.
37137 (main): Call the new functions.
37138
371392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37140
37141 [BZ #14660]
37142 * Makerules (%.dynsym): Force C locale when running
37143 $(OBJDUMP) --dynamic-syms.
37144
371452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37146
37147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37148 <stdint.h>.
37149
371502012-10-06 David S. Miller <davem@davemloft.net>
37151
37152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37153 upper 32-bits of the length value in %o2 since we use branch-on-register
37154 tests which consider the entire 64-bit register.
37155
371562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37157
37158 * string/test-strstr.c (check2): Add a test for page boundary.
37159
371602012-10-05 David S. Miller <davem@davemloft.net>
37161
37162 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37163 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37164 file.
37165 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37166 sysdep_routines.
37167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37168 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37169 and bzero when HWCAP_SPARC_CRYPTO is present.
37170
371712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37172
37173 [BZ #14602]
37174 * string/test-strstr.c (check2): New function.
37175 (test_main): Call check2.
37176
37177 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37178 and bug-strchr1.
37179 * string/bug-strcasestr1.c (do_test): Moved to ...
37180 * string/test-strcasestr.c (check1): Here. New function.
37181 (do_one_test): Break out result checking code into ...
37182 (check_result): This. New function.
37183 (do_one_test): Call check_result.
37184 (test_main): Call check1.
37185 * string/bug-strchr1.c (do_test): Moved to ...
37186 * string/test-strchr.c (check1): Here. New function.
37187 (do_one_test): Break out result checking code into ...
37188 (check_result): This. New function.
37189 (do_one_test): Call check_result.
37190 (test_main): Call check1.
37191 * string/bug-strstr1.c (main): Moved to ...
37192 * string/test-strstr.c (check1): Here. New function.
37193 (do_one_test): Break out result checking code into ...
37194 (check_result): This. New function.
37195 (do_one_test): Call check_result.
37196 (test_main): Call check1.
37197 * string/bug-strcasestr1.c: Removed.
37198 * string/bug-strchr1.c: Likewise.
37199 * string/bug-strstr1.c: Likewise.
37200
37201 * elf/Makefile (dl-routines): Add hwcaps.
37202 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37203 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37204 (_dl_important_hwcaps): Moved to ...
37205 * elf/dl-hwcaps.c: Here. New file.
37206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37207
37208 [BZ #14557]
37209 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37210 if IS_IN_rtld isn't defined.
37211
37212 * elf/dl-support.c (_dl_sysinfo_map): New.
37213 Include "get-dynamic-info.h" and "setup-vdso.h".
37214 (_dl_non_dynamic_init): Call setup_vdso.
37215 * elf/dynamic-link.h: Don't include <assert.h>.
37216 (elf_get_dynamic_info): Moved to ...
37217 * elf/get-dynamic-info.h: Here. New file.
37218 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37219 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37220 * elf/setup-vdso.h: Here. New file.
37221 * elf/rtld.c: Include "setup-vdso.h".
37222 (dl_main): Call setup_vdso.
37223
372242012-10-05 Joseph Myers <joseph@codesourcery.com>
37225
37226 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37227 creal in comment listing functions tested. List finite, isinf,
37228 isnan, isless, islessequal, isgreater, isgreaterequal,
37229 islessgreater, isunordered, lgamma_r and pow10 as functions and
37230 macros not tested. Mention which functions not tested are aliases
37231 for other functions. Fix typo. Note that signs of NaNs are not
37232 tested.
37233
37234 * scripts/config.guess: Update from config.git.
37235 * scripts/config.sub: Likewise.
37236
372372012-10-04 Roland McGrath <roland@hack.frob.com>
37238
37239 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37240 * misc/madvise.c (madvise): Renamed to __madvise.
37241 Make madvise a weak alias.
37242 * include/sys/mman.h: Declare __madvise.
37243 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37244 * sysdeps/unix/syscalls.list
37245 (madvise): Make __madvise the strong name, and madvise a weak alias.
37246 * sysdeps/unix/sysv/linux/syscalls.list
37247 (madvise, mmap): Remove redundant entries.
37248 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37249 * malloc/malloc.c (mtrim): Likewise.
37250 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37251
372522012-10-03 Roland McGrath <roland@hack.frob.com>
37253
37254 * sysdeps/mach/hurd/dl-cache.c: File removed.
37255 * config.h.in (USE_LDCONFIG): New #undef.
37256 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37257 * configure: Regenerated.
37258 * elf/Makefile (dl-routines): Add dl-cache only under
37259 [$(use-ldconfig) = yes].
37260 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37261 cache on [USE_LDCONFIG].
37262 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37263 [USE_LDCONFIG].
37264 * elf/rtld.c (dl_main): Likewise.
37265
372662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37267
37268 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37269 _SC_LEVEL4_CACHE_LINESIZE.
37270
372712012-10-03 Roland McGrath <roland@hack.frob.com>
37272
37273 * sysdeps/unix/bsd/confstr.h: File removed.
37274
372752012-10-02 Alexandre Oliva <aoliva@redhat.com>
37276
37277 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37278 sys/sdt-config.h.
37279
372802012-10-02 Roland McGrath <roland@hack.frob.com>
37281
37282 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37283 Make 'mapoff' field ElfW(Off) rather than off_t.
37284
372852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37286
37287 * nscd/Makefile: Remove nscd-cflags and all its users.
37288 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37289 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37290
37291 [BZ #10631]
37292 * malloc.c (malloc_printerr): Clarify error message.
37293
372942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 [BZ #14648]
37297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37298 Set bit_FMA_Usable if FMA is supported.
37299 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37300 macro.
37301 (bit_FMA4_Usable): Updated.
37302 (index_FMA_Usable): New macro.
37303 (CPUID_FMA): Likewise
37304 (HAS_FMA): Defined with bit_FMA_Usable.
37305
373062012-10-01 Roland McGrath <roland@hack.frob.com>
37307
37308 * bits/types.h (__swblk_t): Type removed.
37309 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37310 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37312 (__SWBLK_T_TYPE): Likewise.
37313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37314 (__SWBLK_T_TYPE): Likewise.
37315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37316 (__SWBLK_T_TYPE): Likewise.
37317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37318 (__SWBLK_T_TYPE): Likewise.
37319
373202012-10-01 Patsy Franklin <pfrankli@redhat.com>
37321 Honza Horak <hhorak@redhat.com>
37322
37323 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37324 (xdr_mapname): Use YPMAXMAP as maxsize.
37325 (xdr_peername): Use YPMAXPEER as maxsize.
37326 (xdr_keydat): Use YPAXRECORD as maxsize.
37327 (xdr_valdat): Use YPMAXRECORD as maxsize.
37328
373292012-10-01 Roland McGrath <roland@hack.frob.com>
37330
37331 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37332
37333 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37334 * csu/init-first.c: ... here.
37335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37336 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37339 * sysdeps/i386/init-first.c: File removed.
37340 * sysdeps/sh/init-first.c: File removed.
37341
373422012-10-01 Joseph Myers <joseph@codesourcery.com>
37343
37344 [BZ #14645]
37345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37346 if x * y might underflow to zero and z is zero.
37347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37349 * math/libm-test.inc (min_subnorm_value): New variable.
37350 (fma_test): Add more tests.
37351 (fma_test_towardzero): Likewise.
37352 (fma_test_downward): Likewise
37353 (fma_test_upward): Likewise.
37354 (initialize): Set min_subnorm_value.
37355
373562012-09-29 Joseph Myers <joseph@codesourcery.com>
37357
37358 [BZ #14638]
37359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37360 0 + 0.
37361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37362 mode for addition resulting in exact zero.
37363 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37365 exact 0 + 0.
37366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37368 * math/libm-test.inc (fma_test): Add more tests.
37369 (fma_test_towardzero): New function.
37370 (fma_test_downward): Likewise.
37371 (fma_test_upward): Likewise.
37372 (main): Call the new functions.
37373
373742012-09-28 David S. Miller <davem@davemloft.net>
37375
37376 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37377
373782012-09-28 Roland McGrath <roland@hack.frob.com>
37379
37380 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37381 instead of SIGALRM.
37382
37383 * sysdeps/gnu/_G_config.h: Moved to ...
37384 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37385 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37386 * sysdeps/generic/_G_config.h: ... here.
37387
37388 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37389
37390 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37391
37392 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37393 Conditionalize target on [libnss_test1.so-version].
37394
37395 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37396
37397 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37398 (elfobjdir): Move out of conditionals.
37399
37400 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37401 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37402 (__nss_lookup_function): Conditionalize label remove_from_tree on
37403 [!DO_STATIC_NSS || SHARED], matching its only use.
37404
374052012-09-28 David S. Miller <davem@davemloft.net>
37406
37407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37409 file.
37410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37411 sysdep_routines.
37412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37414 when HWCAP_SPARC_CRYPTO is present.
37415
374162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37417
37418 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37419
374202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37421
37422 [BZ #6530]
37423 * stdio-common/vfprintf.c (process_string_arg): Revert
37424 2000-07-22 change.
37425
374262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37427
37428 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37429 for testcase.
37430 * stdio-common/tst-sprintf.c: Include <locale.h>
37431 (main): Test sprintf's handling of incomplete multibyte
37432 characters.
37433
374342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37435
37436 * elf/dl-runtime.c (VERSYMIDX): Removed.
37437 * elf/dl-version.c (VERSYMIDX): Likewise.
37438 * elf/do-rel.h (VERSYMIDX): Likewise.
37439 (VALIDX): Likewise.
37440 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37441 * elf/rtld.c (VALIDX): Likewise.
37442 (ADDRIDX): Likewise.
37443 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37444 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37445 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37446 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37447 (VALIDX): Likewise.
37448 (ADDRIDX): Likewise.
37449
374502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37451
37452 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37453
374542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37455
37456 [BZ #11438]
37457 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37458 to global scope.
37459 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37460 addresses are in the same scope as 192.0.2/24.
37461 * posix/gai.conf: Document new scope table defaults.
37462
374632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37464
37465 [BZ #5298]
37466 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37467 for ftell. Compute offsets from write pointers instead.
37468 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37469
374702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37471
37472 [BZ #14543]
37473 * libio/Makefile (tests): New test case tst-fseek.
37474 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37475 combination works in wide mode.
37476 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37477 state when the external buffer state changes.
37478
374792012-09-27 David S. Miller <davem@davemloft.net>
37480
37481 [BZ #14376]
37482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37483 pass reloc->r_addend in as the 'high' argument to
37484 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37485
37486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37487
374882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37489
37490 * rt/tst-aio2.c: Include <pthread.h>.
37491 * rt/tst-aio3.c: Likewise.
37492
374932012-09-27 Steve Ellcey <sellcey@mips.com>
37494
37495 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37496
374972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37498
37499 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37500 contents on [SHARED].
37501
375022012-09-26 Marek Polacek <polacek@redhat.com>
37503
37504 [BZ #14530]
37505 [BZ #13741]
37506 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37507 for C++ and GCC <4.3 as well as for non GCC compilers.
37508
375092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37510
37511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37512
375132012-09-25 Roland McGrath <roland@hack.frob.com>
37514
37515 * Makefile.in (all, install): Declare with .PHONY.
37516 Reported by Michael Hope <michael.hope@linaro.org>.
37517
375182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37519
37520 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37521 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37522 system header.
37523 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37524 Likewise.
37525 (sydep_routines): Add the new and the internal functions.
37526 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37529 (GLIBC_2.17): Add the new function.
37530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37531 (GLIBC_2.17): Likewise.
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37533 (GLIBC_2.17): Likewise.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37535 (GLIBC_2.17): Likewise.
37536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37537
375382012-09-25 Alan Modra <amodra@gmail.com>
37539
37540 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37541 Add release barrier before setting once_control to say
37542 initialisation is done. Add hints on lwarx. Use macro in
37543 place of isync.
37544 (clear_once_control): Add release barrier.
37545
375462012-09-25 Joseph Myers <joseph@codesourcery.com>
37547
37548 [BZ #13629]
37549 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37550 specially.
37551 * math/s_clog10.c (__clog10): Likewise.
37552 * math/s_clog10f.c (__clog10f): Likewise.
37553 * math/s_clog10l.c (__clog10l): Likewise.
37554 * math/s_clogf.c (__clogf): Likewise.
37555 * math/s_clogl.c (__clogl): Likewise.
37556 * math/Makefile (libm-calls): Add x2y2m1.
37557 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37558 (__x2y2m1): Likewise.
37559 (__x2y2m1l): Likewise.
37560 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37561 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37562 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37564 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37565 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37566 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37567 * sysdeps/i386/fpu/libm-test-ulps: Update.
37568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37569
37570 [BZ #14621]
37571 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37572 int as type of variable DEPTH.
37573 (glob): Use size_t instead of int as type of variables NEWCOUNT
37574 and OLD_PATHC.
37575
375762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37577
37578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37579 Add s_sincosf-sse2.
37580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37582 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37583 macros for using routine as __sincosf_ia32.
37584 Use macro for function declaration and weak_alias.
37585 * sysdeps/i386/fpu/libm-test-ulps: Update.
37586
37587 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37589
37590 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37591 subnormal argument.
37592 * math/s_cexpf.c (__cexpf): Likewise.
37593 * math/s_csinf.c (__csinf): Likewise.
37594 * math/s_csinhf.c (__csinhf): Likewise.
37595 * math/s_ctanf.c (__ctanf): Likewise.
37596 * math/s_ctanhf.c (__ctanhf): Likewise.
37597 * math/s_ccosh.c (__ccoshf): Likewise.
37598 * math/s_cexp.c (__cexpl): Likewise.
37599 * math/s_csin.c (__csin): Likewise.
37600 * math/s_csinh.c (__csinh): Likewise.
37601 * math/s_ctan.c (__ctan): Likewise.
37602 * math/s_ctanh.c (ctanh): Likewise.
37603 * math/s_ccoshl.c (__ccoshl): Likewise.
37604 * math/s_cexpl.c (__cexpl): Likewise.
37605 * math/s_csinl.c (__csinl): Likewise.
37606 * math/s_csinhl.c (__csinhl): Likewise.
37607 * math/s_ctanl.c (__ctanl): Likewise.
37608 * math/s_ctanhl.c (__ctanhl): Likewise.
37609
376102012-09-25 Joseph Myers <joseph@codesourcery.com>
37611
37612 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37613 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37614 (_IO_off_t): Define to __off_t, not _G_off_t.
37615 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37616 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37617 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37618 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37619 type of __dummy and __dummy2 fields.
37620 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37621 (_G_ssize_t): Likewise.
37622 (_G_off_t): Likewise.
37623 (_G_pid_t): Likewise.
37624 (_G_uid_t): Likewise.
37625 (_G_wchar_t): Likewise.
37626 (_G_wint_t): Likewise.
37627 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37628 (_G_ssize_t): Likewise.
37629 (_G_off_t): Likewise.
37630 (_G_pid_t): Likewise.
37631 (_G_uid_t): Likewise.
37632 (_G_wchar_t): Likewise.
37633 (_G_wint_t): Likewise.
37634 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37635 (_G_ssize_t): Likewise.
37636 (_G_off_t): Likewise.
37637 (_G_pid_t): Likewise.
37638 (_G_uid_t): Likewise.
37639 (_G_wchar_t): Likewise.
37640 (_G_wint_t): Likewise.
37641
376422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37643
37644 * malloc/arena.c: Include malloc-sysdep.h.
37645 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37646 is sufficient to shrink the heap or an unmap is needed.
37647 * sysdeps/generic/malloc-sysdep.h: New file. Define
37648 new function check_may_shrink_heap.
37649 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37650 new function check_may_shrink_heap.
37651
376522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37653
37654 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37655 comments.
37656
376572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37658
37659 * catgets/test-gencat.sh: Add "set -e".
37660 * elf/tst-pathopt.sh: Likewise.
37661 * grp/tst_fgetgrent.sh: Likewise.
37662 * iconvdata/run-iconv-test.sh: Likewise.
37663 * intl/tst-gettext.sh: Likewise.
37664 * intl/tst-gettext2.sh: Likewise.
37665 * intl/tst-gettext4.sh: Likewise.
37666 * intl/tst-gettext6.sh: Likewise.
37667 * intl/tst-translit.sh: Likewise.
37668 * io/ftwtest-sh: Likewise.
37669 * libio/test-freopen.sh: Likewise.
37670 * malloc/tst-mtrace.sh: Likewise.
37671 * posix/globtest.sh: Likewise.
37672 * posix/tst-getconf.sh: Likewise.
37673 * posix/wordexp-tst.sh: Likewise.
37674 * stdio-common/tst-printf.sh: Likewise.
37675 * stdio-common/tst-unbputc.sh: Likewise.
37676 * stdlib/tst-fmtmsg.sh: Likewise.
37677 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37678 * catgets/Makefile: Do not specify -e option when running
37679 testsuite shell scripts.
37680 * elf/Makefile: Likewise.
37681 * grp/Makefile: Likewise.
37682 * iconvdata/Makefile: Likewise.
37683 * intl/Makefile: Likewise.
37684 * io/Makefile: Likewise.
37685 * libio/Makefile: Likewise.
37686 * malloc/Makefile: Likewise.
37687 * posix/Makefile: Likewise.
37688 * stdio-common/Makefile: Likewise.
37689 * stdlib/Makefile: Likewise.
37690 * sysdeps/x86_64/Makefile: Likewise.
37691
37692 * io/ftwtest-sh: Add copyright header.
37693 * posix/globtest.sh: Likewise.
37694 * posix/tst-getconf.sh: Likewise.
37695 * posix/wordexp-tst.sh: Likewise.
37696 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37697
376982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37699
37700 [BZ #13679]
37701 * Makeconfig (+link): Defined as $(+link-static) if
37702 $(build-shared) isn't yes.
37703 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37704 isn't yes.
37705 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37706
37707 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37708
37709 [BZ #14562]
37710 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37711 new chunk size with MALLOC_ALIGN_MASK.
37712
377132012-09-24 Joseph Myers <joseph@codesourcery.com>
37714
37715 [BZ #5044]
37716 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37717 <rounding-mode.h>.
37718 (__printf_fphex): Determine rounding using get_rounding_mode and
37719 round_away.
37720 * stdio-common/tst-printf-round.c (struct hex_test): New
37721 structure.
37722 (hex_tests): New variable.
37723 (test_hex_in_one_mode): New function.
37724 (do_test): Also run tests for hex float output.
37725
377262012-09-21 Joseph Myers <joseph@codesourcery.com>
37727
37728 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37730 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37731 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37733 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37734 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37736
377372012-09-20 Joseph Myers <joseph@codesourcery.com>
37738
37739 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37740 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37741 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37742 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37743
377442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37745
37746 [BZ #14579]
37747 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37748 mode only.
37749 * elf/tst-rtld-load-self.sh: New test.
37750 * elf/Makefile: Run it.
37751
377522012-09-18 Joseph Myers <joseph@codesourcery.com>
37753
37754 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37755 (tst-writev-ENV): Remove.
37756 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37757
377582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37759
37760 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37761
377622012-09-17 Joseph Myers <joseph@codesourcery.com>
37763
37764 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37765 unconditional.
37766 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37767 Likewise.
37768 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37769 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37771 Likewise.
37772
377732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37774
37775 [BZ #14587]
37776 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37777 * config.make.in (have-cpp-asm-debuginfo): Removed.
37778 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37779 * configure: Regenerated.
37780
377812012-09-14 Joseph Myers <joseph@codesourcery.com>
37782
37783 [BZ #5044]
37784 * stdio-common/printf_fp.c: Include <stdbool.h> and
37785 <rounding-mode.h>.
37786 (___printf_fp): Determine rounding using get_rounding_mode and
37787 round_away.
37788 * stdio-common/tst-printf-round.c: New file.
37789 * stdio-common/Makefile (tests): Add tst-printf-round.
37790 (link-libm): New variable.
37791 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37792
377932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37794
37795 [BZ #14576]
37796 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37797 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37798 Likewise.
37799 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37800 Likewise.
37801
378022012-09-13 Joseph Myers <joseph@codesourcery.com>
37803
37804 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37805 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37806 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37808
378092012-09-12 Joseph Myers <joseph@codesourcery.com>
37810
37811 [BZ #14518]
37812 * include/rounding-mode.h: New file.
37813 * sysdeps/generic/get-rounding-mode.h: Likewise.
37814 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37815 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37816 (MAX_VALUE): New macro.
37817 (MIN_VALUE): Likewise.
37818 (overflow_value): New function.
37819 (underflow_value): Likewise.
37820 (round_and_return): Use overflow_value and underflow_value to
37821 determine return values in overflow and underflow cases. Use
37822 round_away to determine rounding depending on rounding mode.
37823 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37824 determine return values in overflow and underflow cases.
37825 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37826 (struct test_results): New structure.
37827 (struct test): Use struct test_results to store expected results
37828 for all rounding modes.
37829 (TEST): Include expected results for all rounding modes.
37830 (test_in_one_mode): New function.
37831 (do_test): Use test_in_one_mode to compute and check results.
37832 Check results for all rounding modes.
37833 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37834 $(link-libm).
37835
378362012-12-09 Allan McRae <allan@archlinux.org>
37837
37838 * sysdeps/i386/fpu/libm-test-ulps: Update
37839
378402012-09-11 Joseph Myers <joseph@codesourcery.com>
37841
37842 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37843 (_G_int32_t): Likewise.
37844 (_G_uint16_t): Likewise.
37845 (_G_uint32_t): Likewise.
37846 (_G_HAVE_BOOL): Likewise.
37847 (_G_HAVE_ATEXIT): Likewise.
37848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37849 (_G_HAVE_IO_FILE_OPEN): Likewise.
37850 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37851 (_G_int32_t): Likewise.
37852 (_G_uint16_t): Likewise.
37853 (_G_uint32_t): Likewise.
37854 (_G_HAVE_BOOL): Likewise.
37855 (_G_HAVE_ATEXIT): Likewise.
37856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37857 (_G_HAVE_IO_FILE_OPEN): Likewise.
37858 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37859 (_G_int32_t): Likewise.
37860 (_G_uint16_t): Likewise.
37861 (_G_uint32_t): Likewise.
37862 (_G_HAVE_BOOL): Likewise.
37863 (_G_HAVE_ATEXIT): Likewise.
37864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37865 (_G_HAVE_IO_FILE_OPEN): Likewise.
37866
378672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37868
37869 * csu/libc-tls.c: Update copyright years.
37870
378712012-09-10 Joseph Myers <joseph@codesourcery.com>
37872
37873 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37874 [!_G_USING_THUNKS]: Remove conditional code.
37875 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37876 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37877
37878 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37879 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37880 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37881 (_G_VTABLE_LABEL_PREFIX): Likewise.
37882 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37883 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37885 (_G_VTABLE_LABEL_PREFIX): Likewise.
37886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37887 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37889 (_G_VTABLE_LABEL_PREFIX): Likewise.
37890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37891
378922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37893
37894 * libio/Makefile: Include ../Makeconfig before tests.
37895 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37896 only if $(build-shared) is yes.
37897
37898 * iconv/gconv_db.c: Update copyright years.
37899
379002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37901
37902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37903 unwind info if defined PIC. Fix special cases description.
37904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37905
37906 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37907 DP_HI_MASK entry.
37908 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37909
379102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37911
37912 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37913
37914 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37915 is NULL.
37916
37917 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37918 (LDLIBS-tst-chk4): This.
37919 (LDFLAGS-tst-chk5): Renamed to ...
37920 (LDLIBS-tst-chk5): This.
37921 (LDFLAGS-tst-chk6): Renamed to ...
37922 (LDLIBS-tst-chk6): This.
37923 (LDFLAGS-tst-lfschk4): Renamed to ...
37924 (LDLIBS-tst-lfschk4): This.
37925 (LDFLAGS-tst-lfschk5): Renamed to ...
37926 (LDLIBS-tst-lfschk5): This.
37927 (LDFLAGS-tst-lfschk6): Renamed to ...
37928 (LDLIBS-tst-lfschk6): This.
37929
37930 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37931 on $(common-objpfx)soversions.mk.
37932
379332012-09-07 Joseph Myers <joseph@codesourcery.com>
37934
37935 [BZ #10014]
37936 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37937 example host name.
37938
379392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37940
37941 * malloc/arena.c (arena_get_retry): New function that gets
37942 another arena for the caller to try its request on.
37943 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37944 current arena cannot fulfill the request.
37945 (__libc_memalign): Likewise.
37946 (__libc_memalign): Likewise.
37947 (__libc_pvalloc): Likewise.
37948 (__libc_calloc): Likewise.
37949
379502012-09-05 John Tobey <john.tobey@gmail.com>
37951
37952 [BZ #13542]
37953 * manual/arith.texi (Operations on Complex): Fix description
37954 of carg branch cut.
37955
379562012-09-06 Joseph Myers <joseph@codesourcery.com>
37957
37958 [BZ #10014]
37959 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37960 host name.
37961
37962 [BZ #10038]
37963 * manual/memory.texi (Memory): Make order of menu items match
37964 order of sections.
37965
379662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37967
37968 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37969 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37970 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37971
379722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37973
37974 * csu/libc-tls.c (static_dtv): Renamed to ...
37975 (_dl_static_dtv): This. Make it global.
37976 (_dl_initial_dtv): Removed.
37977 (__libc_setup_tls): Updated.
37978 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37979 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37980 DL_INITIAL_DTV.
37981
379822012-09-06 Petr Machata <pmachata@redhat.com>
37983
37984 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37985 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37986 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37987 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37988
379892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37990
37991 [BZ #14545]
37992 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37993 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37994 freeing dtv[-1].
37995
379962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 [BZ #14544]
37999 * Makeconfig (link-static-before-libc): Replace $(+prector)
38000 with $(+prectorT).
38001 (link-static-after-libc): Replace $(+postctor) with
38002 $(+postctorT).
38003 (link-bounded): Replace $(+prector)/$(+postctor) with
38004 $(+prectorT)/$(+postctorT).
38005 (+prectorT): New macro.
38006 (+postctorT): Likewise.
38007
380082012-09-06 Joseph Myers <joseph@codesourcery.com>
38009
38010 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38011 (round_str): Handle values above the maximum for IBM long double
38012 as inexact.
38013 * stdlib/tst-strtod-round.c (tests): Regenerated.
38014
380152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38016
38017 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38018 assembler flag.
38019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38020 zarch_nohighgprs around the zarch optimized routines.
38021 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38022 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38024 for zarch.
38025
380262012-09-05 David S. Miller <davem@davemloft.net>
38027
38028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38029
38030 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38031 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38032 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38034 entries.
38035
380362012-09-05 Alexandre Oliva <aoliva@redhat.com>
38037
38038 * malloc/arena.c: Fold copyright years.
38039 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38040
380412012-09-05 Alexandre Oliva <aoliva@redhat.com>
38042
38043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38044
380452012-09-05 Alexandre Oliva <aoliva@redhat.com>
38046
38047 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38048
380492012-09-05 Alexandre Oliva <aoliva@redhat.com>
38050
38051 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38052 change internal state upon failure.
38053
380542012-09-05 Alexandre Oliva <aoliva@redhat.com>
38055
38056 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38057 * malloc/memusage.c (mmap): Likewise.
38058 (mmap64, mremap): Likewise. Adjust name in comment.
38059
380602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38061
38062 * libio/fileops.c: Fix typos in comments.
38063 * libio/oldfileops.c: Likewise.
38064 * libio/wfileops.c: Likewise.
38065
380662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38067
38068 [BZ #1349]
38069 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38070 (tst-malloc-usable-ENV): Set environment for test case.
38071 * malloc/hooks.c (malloc_check_get_size): New function to get
38072 requested size.
38073 * malloc/malloc.c (musable): Use malloc_check_get_size.
38074 * malloc/tst-malloc-usable.c: New test case.
38075
380762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38077
38078 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38079
380802012-09-05 Allan McRae <allan@archlinux.org>
38081
38082 [BZ #13966]
38083 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38084 determine header location.
38085 * configure: Regenerated.
38086
380872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38088
38089 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38090 float format.
38091 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38092 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38093 format.
38094 (test): Regenerate.
38095
380962012-09-04 David S. Miller <davem@davemloft.net>
38097
38098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38101
381022012-09-04 Florian Weimer <fweimer@redhat.com>
38103
38104 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38105 failures.
38106
38107 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38108
381092012-09-04 Joseph Myers <joseph@codesourcery.com>
38110
38111 [BZ #9914]
38112 * libio/iogetdelim.c: Include <limits.h>.
38113 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38114 + len + 1 would overflow.
38115
381162012-09-03 Andreas Jaeger <aj@suse.de>
38117
38118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38119 * sysdeps/i386/fpu/libm-test-ulps: Update.
38120
381212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38122
38123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38124 Add s_sinf-sse2, s_conf-sse2.
38125
38126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38129 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38130
38131 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38132 for using routine as __sinf_ia32.
38133 Use macro for function declaration and weak_alias.
38134 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38135 for using routine as __cosf_ia32.
38136 Use macro for function declaration and weak_alias.
38137
38138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38140
38141 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38142 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38144
38145 * math/libm-test.inc (cos_test): Add more test cases.
38146 (sin_test): Likewise.
38147 (sincos_test): Likewise.
38148
381492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38150
38151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38152 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38153 hidden.
38154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38155
381562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38157
38158 [BZ #14538]
38159 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38160 first element of the GOT.
38161 (elf_machine_load_address): Return the difference between
38162 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38163
381642012-09-01 Allan McRae <allan@archlinux.org>
38165
38166 [BZ #13412]
38167 * configure.in (AWK): Require gawk version 3.0 or later.
38168 * configure: Regenerated.
38169
381702012-09-01 Joseph Myers <joseph@codesourcery.com>
38171
38172 * sysdeps/unix/sysv/linux/kernel-features.h
38173 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38175 [__NR_clock_getres]: Make code unconditional.
38176 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38177 (clock_getcpuclockid): Remove code left unreachable by removal of
38178 conditionals.
38179 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38180 code unconditional.
38181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38183 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38184 Make code unconditional.
38185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38187 * sysdeps/unix/sysv/linux/clock_settime.c
38188 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38189 conditional code.
38190 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38192
381932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38194
38195 [BZ #14476]
38196 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38197 scripts/test-installation.pl.
38198
38199 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38200 and $ld_so_version if it is set.
38201
382022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38203
38204 [BZ #14516]
38205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38206 failure if reading from procfs failed.
38207 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38208
382092012-08-27 Joseph Myers <joseph@codesourcery.com>
38210
38211 * sysdeps/unix/sysv/linux/kernel-features.h
38212 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38213 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38214 Remove conditional code.
38215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38216 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38217 Remove conditional code.
38218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38219 * sysdeps/unix/sysv/linux/i386/fxstat.c
38220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38222 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38225 * sysdeps/unix/sysv/linux/i386/lxstat.c
38226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38228 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38229 Remove conditional code.
38230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38231 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38232 Remove conditional code.
38233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38234 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38235 <kernel-features.h>.
38236 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38237 Remove.
38238 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38239 Remove conditional code.
38240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38241 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38242 Remove conditional.
38243
382442012-08-27 Mike Frysinger <vapier@gentoo.org>
38245
38246 [BZ #5400]
38247 * NEWS: Add fixed bug number.
38248
382492012-08-27 Joseph Myers <joseph@codesourcery.com>
38250
38251 [BZ #14519]
38252 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38253 underflowing exponent in case of negative sign.
38254 * stdlib/tst-strtod-round-data: Add more tests.
38255 * stdlib/tst-strtod-round.c (tests): Regenerated.
38256
38257 [BZ #3479]
38258 * stdlib/strtod_l.c (NDIG): Remove.
38259 (HEXNDIG): Likewise.
38260 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38261 smallest representable value.
38262 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38263 lie within an exact representation of 1/2 ulp of the result.
38264 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38265 unconditionally.
38266 (TENS_P9_IDX): Define unconditionally.
38267 (TENS_P9_SIZE): Likewise.
38268 (TENS_P10_IDX): Likewise.
38269 (TENS_P10_SIZE): Likewise.
38270 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38271 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38272 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38273 entries for 10^2^13 and 10^2^14.
38274 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38275 (TENS_P13_IDX): Define.
38276 (TENS_P13_SIZE): Likewise.
38277 (TENS_P14_IDX): Likewise.
38278 (TENS_P14_SIZE): Likewise.
38279 (_fpioconst_pow10): Change array size to
38280 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38281 unconditional.
38282 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38283 1024]: Add entries for 10^2^13 and 10^2^14.
38284 [LAST_POW10 > _LAST_POW10]: Remove #error.
38285 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38286 (_fpioconst_pow10): Change array size to
38287 FPIOCONST_POW10_ARRAY_SIZE.
38288 * stdlib/gen-fpioconst.c: New file.
38289 * stdlib/gen-tst-strtod-round.c: Likewise.
38290 * stdlib/tst-strtod-round-data: Likewise.
38291 * stdlib/tst-strtod-round.c: Likewise.
38292 * stdlib/Makefile (tests): Add tst-strtod-round.
38293
38294 [BZ #14459]
38295 * stdlib/strtod_l.c: Include <stdint.h>.
38296 (NDEBUG): Do not define.
38297 (round_and_return): Change EXPONENT parameter to type intmax_t.
38298 Rearrange calculations to avoid internal overflow possibilities.
38299 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38300 Rearrange calculations to avoid internal overflow possibilities.
38301 Assert that number fits inside MPNSIZE limbs.
38302 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38303 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38304 calculations and add assertions to avoid internal overflow
38305 possibilities. Add casts to avoid signed/unsigned operations.
38306 * stdlib/tst-strtod-overflow.c: New file.
38307 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38308
383092012-08-25 Marek Polacek <polacek@redhat.com>
38310
38311 * time/time.h: Fix some typos in comments.
38312
383132012-08-23 Roland McGrath <roland@hack.frob.com>
38314
38315 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38316 * posix/tst-rfc3484-2.c: Likewise.
38317 * posix/tst-rfc3484-3.c: Likewise.
38318
383192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38320
38321 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38322 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38323
383242012-08-23 Joseph Myers <joseph@codesourcery.com>
38325
38326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38327 #include of fxstatat64.c.
38328
383292012-08-22 Roland McGrath <roland@hack.frob.com>
38330
38331 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38332 * shadow/getspent_r.c: Likewise.
38333 * shadow/getspnam.c: Likewise.
38334 * shadow/getspnam_r.c: Likewise.
38335 * gshadow/getsgent.c: Likewise.
38336 * gshadow/getsgent_r.c: Likewise.
38337 * gshadow/getsgnam.c: Likewise.
38338 * gshadow/getsgnam_r.c: Likewise.
38339 * inet/getnetbyad.c: Likewise.
38340 * inet/getnetbyad_r.c: Likewise.
38341 * inet/getnetbynm.c: Likewise.
38342 * inet/getnetbynm_r.c: Likewise.
38343 * inet/getnetent.c: Likewise.
38344 * inet/getnetent_r.c: Likewise.
38345 * inet/getproto.c: Likewise.
38346 * inet/getproto_r.c: Likewise.
38347 * inet/getprtent.c: Likewise.
38348 * inet/getprtent_r.c: Likewise.
38349 * inet/getprtname.c: Likewise.
38350 * inet/getprtname_r.c: Likewise.
38351 * inet/getrpcbyname.c: Likewise.
38352 * inet/getrpcbyname_r.c: Likewise.
38353 * inet/getrpcbynumber.c: Likewise.
38354 * inet/getrpcbynumber_r.c: Likewise.
38355 * inet/getrpcent.c: Likewise.
38356 * inet/getrpcent_r.c: Likewise.
38357 * inet/getaliasent.c: Likewise.
38358 * inet/getaliasent_r.c: Likewise.
38359 * inet/getaliasname.c: Likewise.
38360 * inet/getaliasname_r.c: Likewise.
38361 * nscd/getgrgid_r.c: Likewise.
38362 * nscd/getgrnam_r.c: Likewise.
38363 * nscd/gethstbyad_r.c: Likewise.
38364 * nscd/gethstbynm3_r.c: Likewise.
38365 * nscd/getpwnam_r.c: Likewise.
38366 * nscd/getpwuid_r.c: Likewise.
38367 * nscd/getsrvbynm_r.c: Likewise.
38368 * nscd/getsrvbypt_r.c: Likewise.
38369 * nscd/gai.c: Likewise.
38370
38371 * configure.in (build_nscd): New substituted variable, set
38372 by --disable-build-nscd and defaults to $use_nscd.
38373 * configure: Regenerated.
38374 * config.make.in (build-nscd): New substituted variable.
38375 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38376 Change conditional to require [$(build-nscd) = yes] as well.
38377 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38378
38379 [BZ# 13696]
38380 * configure.in (use_nscd): New substituted variable, set by
38381 --disable-nscd. If enabled, define USE_NSCD.
38382 * configure: Regenerated.
38383 * config.h.in: Add USE_NSCD.
38384 * config.make.in (use-nscd): New substituted variable.
38385 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38386 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38387 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38388 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38389 (CFLAGS-getgrnam_r.c): Likewise.
38390 (CFLAGS-initgroups.c): Likewise.
38391 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38392 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38393 Variables removed.
38394 * inet/getnetgrent_r.c
38395 (nscd_setnetgrent): New function, broken out of ...
38396 (setnetgrent): ... here. Call it.
38397 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38398 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38399 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38400 * nscd/Makefile (routines, aux): Move definitions after include of
38401 Makeconfig. Conditionalize on [$(use-nscd) != no].
38402 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38403 Conditionalize on [USE_NSCD].
38404 (is_nscd, nscd_init_cb): Likewise.
38405 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38406 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38407 * nss/nss_db/db-init.c: Likewise.
38408 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38409 [USE_NSCD].
38410 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38411 (make_request): Use it.
38412 (cache_valid_p): New function.
38413 (__check_pf): Use it.
38414 * NEWS: Add item for --disable-nscd.
38415
384162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38417
38418 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38419 to support sed >= 4.2.1-20-ga9bf076.
38420 * configure: Regenerated.
38421
384222012-08-22 Roland McGrath <roland@hack.frob.com>
38423
38424 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38425 Conditionalize whole body on [IREL].
38426
384272012-08-22 Jeff Law <law@redhat.com>
38428
38429 [BZ #14505]
38430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38431 if the family is PF_UNSPEC.
38432
384332012-08-22 Mike Frysinger <vapier@gentoo.org>
38434
38435 * Makerules (lib-version): Rename from V.
38436 (install-lib-nosubdir): Change V to lib-version.
38437
384382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38439
38440 [BZ #14252]
38441 * powerpc32/power6/wcschr.c: New file.
38442 * powerpc32/power6/wcscpy.c: New file.
38443 * powerpc32/power6/wcsrchr.c: New file.
38444 * powerpc64/power6/wcschr.c: New file.
38445 * powerpc64/power6/wcscpy.c: New file.
38446 * powerpc64/power6/wcsrchr.c: New file.
38447
384482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38449
38450 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38451 (two_way_short_needle): Use it.
38452 * string/strstr.c (AVAILABLE1_USES_J): Define.
38453 * string/strcasestr.c: Likewise.
38454
38455 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38456 array references.
38457 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38458
38459 [BZ #11607]
38460 * NEWS: Add an entry.
38461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38462 define their defaults.
38463 (two_way_short_needle): Detect end-of-string on-the-fly.
38464 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38465 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38466 * string/bug-strcasestr1.c: New test.
38467 * string/Makefile: Run it.
38468
384692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38470
38471 [BZ #11607]
38472 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38473 the first character.
38474
384752012-08-21 Roland McGrath <roland@hack.frob.com>
38476
38477 * csu/elf-init.c (__libc_csu_irel): Function removed.
38478 * csu/libc-start.c (apply_irel): New function.
38479 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38480
384812012-08-21 Joseph Myers <joseph@codesourcery.com>
38482
38483 * sysdeps/unix/sysv/linux/kernel-features.h
38484 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38486 <kernel-features.h>.
38487 [__NR_fadvise64_64]: Make code unconditional.
38488 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38489 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38490 !__NR_fadvise64_64)]: Likewise.
38491 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38492 !__NR_fadvise64_64))]: Likewise.
38493 [__NR_fadvise64]: Make code unconditional.
38494 [!__NR_fadvise64]: Remove conditional code.
38495 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38496 <kernel-features.h>.
38497 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38498 unconditional.
38499 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38500 conditional code.
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38502 not include <kernel-features.h>.
38503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38504 unconditional.
38505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38506 conditional code.
38507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38508 include <kernel-features.h>.
38509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38510 unconditional.
38511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38512 conditional code.
38513
385142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38515
38516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38517 slight instruction rearrangements per scrollpipe analysis.
38518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38519
385202012-08-20 Roland McGrath <roland@hack.frob.com>
38521
38522 * manual/syslog.texi (syslog; vsyslog, closelog):
38523 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38524 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38525
38526 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38527 DSOCAPS to match condition on defining it.
38528
385292012-08-20 Joseph Myers <joseph@codesourcery.com>
38530
38531 * sysdeps/unix/sysv/linux/kernel-features.h
38532 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38542
38543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38544 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38545
38546 * sysdeps/unix/sysv/linux/kernel-features.h
38547 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38548 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38549 unconditional.
38550 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38551 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38554 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38555 Make code unconditional.
38556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38557 (__mmap64) [!__NR_mmap2]: Likewise.
38558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38562 [__NR_mmap2]: Make code unconditional.
38563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38564 (__mmap64) [!__NR_mmap2]: Likewise.
38565
385662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38567
38568 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38569
385702012-08-18 Andreas Jaeger <aj@suse.de>
38571
38572 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38573
385742012-08-18 Mike Frysinger <vapier@gentoo.org>
38575
38576 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38577 * include/unistd.h (__have_sock_cloexec): Likewise.
38578 (__have_pipe2): Likewise.
38579 (__have_dup3): Likewise.
38580
385812012-08-18 Mike Frysinger <vapier@gentoo.org>
38582
38583 [BZ #9685]
38584 * include/unistd.h (__have_pipe2): Change define into an extern int.
38585 (__have_dup3): Likewise.
38586 * socket/have_sock_cloexec.c: Include fcntl.h.
38587 (__have_pipe2): New variable.
38588 (__have_dup3): Likewise.
38589
385902012-08-17 Mike Frysinger <vapier@gentoo.org>
38591
38592 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38593
385942012-08-17 Marek Polacek <polacek@redhat.com>
38595
38596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38597 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38598
385992012-08-17 Roland McGrath <roland@hack.frob.com>
38600
38601 * configure.in: Add AC_SUBST for sysheaders.
38602 * configure: Regenerated.
38603 * config.make.in (sysheaders): New substituted variable.
38604
38605 * sysdeps/unix/mkfifo.c: Moved ...
38606 * sysdeps/posix/mkfifo.c: ... here.
38607 * sysdeps/unix/mkfifoat.c: Moved ...
38608 * sysdeps/posix/mkfifoat.c: ... here.
38609
38610 * sysdeps/unix/utime.c: Moved ...
38611 * sysdeps/posix/utime.c: ... here.
38612
38613 * sysdeps/unix/time.c: Moved ...
38614 * sysdeps/posix/time.c: ... here.
38615 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38616 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38617
38618 * sysdeps/unix/nice.c: Moved ...
38619 * sysdeps/posix/nice.c: ... here.
38620
38621 * sysdeps/unix/alarm.c: Moved ...
38622 * sysdeps/posix/alarm.c: ... here.
38623
38624 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38625
386262012-08-17 Jeff Law <law@redhat.com>
38627
38628 * intl/Makefile (codeset_mo): New variable.
38629 ($(codeset_mo)): New target.
38630 (tst-codeset.out): Depend on that. Remove explicit rule.
38631 (tst-gettext3.out, tst-gettext5.out): Likewise.
38632 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38633 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38634 * intl/tst-codeset.sh: Remove.
38635 * intl/tst-gettext3.sh: Likewise.
38636 * intl/tst-gettext5.sh: Likewise.
38637
386382012-08-17 Roland McGrath <roland@hack.frob.com>
38639
38640 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38641 * sysdeps/unix/syscalls.list: ... here.
38642
38643 * sysdeps/posix/getaddrinfo.c
38644 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38645 (gaiconf_init, gaiconf_reload): Use them.
38646 [!_STATBUF_ST_NSEC]
38647 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38648 Define using time_t rather than struct timespec.
38649
38650 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38651 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38652 Macros removed.
38653 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38654 [!NO_THREADS].
38655 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38656 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38657 Likewise.
38658
38659 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38660 __libc_cleanup_push argument.
38661
38662 * bits/param.h: New file.
38663 * misc/sys/param.h: New file.
38664 * include/sys/param.h: New file.
38665 * misc/Makefile (headers): Add bits/param.h.
38666 * sysdeps/generic/sys/param.h: File removed.
38667 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38668 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38669 * sysdeps/mach/hurd/bits/param.h: New file.
38670 * sysdeps/mach/hurd/sys/param.h: File removed.
38671
38672 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38673 last change.
38674
38675 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38676 [_IO_MTSAFE_IO].
38677 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38678 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38679 New macros.
38680
38681 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38682 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38683 rather than -D_IO_MTSAFE_IO conditionally.
38684 * stdio-common/Makefile (CPPFLAGS): Likewise.
38685 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38686 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38687 Use $(libio-mtsafe).
38688 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38689 of -D_IO_MTSAFE_IO.
38690 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38691 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38692 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38693 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38694 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38695 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38696 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38697 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38698 (CFLAGS-fread_u_chk.c): Likewise.
38699 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38700 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38701 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38702 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38703 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38704 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38705 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38706 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38707 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38708
38709 * libio/Makefile: Test [$(libc-reentrant) = yes]
38710 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38711
38712 * Makeconfig
38713 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38714 * sysdeps/pthread/configure: File removed.
38715 * sysdeps/pthread/Makeconfig: New file.
38716 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38717 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38718
387192012-08-16 Gary Benson <gbenson@redhat.com>
38720
38721 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38722 unmapping the first object in a namespace.
38723
387242012-08-16 Roland McGrath <roland@hack.frob.com>
38725
38726 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38727 (__internal_setnetgrent): ... this. Add internal_function to
38728 definition. Add libc_hidden_def.
38729 (setnetgrent): Update caller.
38730 (internal_endnetgrent): Renamed to ...
38731 (__internal_endnetgrent): ... this. Add internal_function to
38732 definition. Add libc_hidden_def.
38733 (endnetgrent): Update caller.
38734 (internal_getnetgrent_r): Renamed to ...
38735 (__internal_getnetgrent_r): ... this. Add internal_function to
38736 definition. Add libc_hidden_def.
38737 (__getnetgrent_r): Update caller.
38738 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38739
387402012-08-16 Joseph Myers <joseph@codesourcery.com>
38741
38742 * stdlib/longlong.h: Update from GCC.
38743
387442012-08-16 Roland McGrath <roland@hack.frob.com>
38745
38746 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38747 on _QL, which is set by umul_ppmm but never used.
38748 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38749 variables, which are set by GMP macros but never used.
38750 * stdio-common/_itowa.c (_itowa): Likewise.
38751 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38752 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38753
387542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38755
38756 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38757 struct La_sh_regs is not constant.
38758 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38759 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38760 and struct La_sparc64_regs are not constant.
38761
387622012-08-16 Joseph Myers <joseph@codesourcery.com>
38763
38764 * sysdeps/unix/sysv/linux/kernel-features.h
38765 (__ASSUME_POSIX_TIMERS): Remove.
38766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38768 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38769 Make code unconditional.
38770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38771 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38772 Make code unconditional.
38773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38774 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38775 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38777 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38778 Make code unconditional.
38779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38781 (__libc_missing_posix_timers): Remove.
38782
387832012-08-15 Roland McGrath <roland@hack.frob.com>
38784
38785 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38786 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38787
38788 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38789
38790 * elf/dl-sym.c: Include <stdlib.h>.
38791
38792 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38793 constants, which avoids warnings in 32-bit builds.
38794
38795 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38796 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38797
38798 * misc/lseek.c: File moved to ...
38799 * io/lseek.c: ... here.
38800
38801 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38802
38803 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38804 shifting LEN more than 31 bits at once.
38805
388062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38807
38808 [BZ #14195]
38809 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38810 segmentation fault for a case of two empty input strings.
38811 * string/test-strncasecmp.c (check1): Renamed to...
38812 (bz12205): ...this.
38813 (bz14195): Add new testcase for two empty input strings and N > 0.
38814 (test_main): Call new testcase, adapt for renamed function.
38815
388162012-08-15 Andreas Jaeger <aj@suse.de>
38817
38818 [BZ #14090]
38819 * crypt/md5test2.c: New test, based on test supplied by Serge
38820 Belyshev <belyshev@depni.sinp.msu.ru>.
38821 * crypt/Makefile (xtests): Add md5test-giant..
38822 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38823
388242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38825
38826 [BZ #14090]
38827 * crypt/md5.c (md5_process_block): Don't assume the buffer
38828 length is less than 2**32.
38829 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38830 length is less than 2**64.
38831
388322012-08-15 Roland McGrath <roland@hack.frob.com>
38833
38834 * string/str-two-way.h: Include <sys/param.h>.
38835 (MAX): Macro removed.
38836
38837 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38838 Move #define and #undef of memmove to just before and after
38839 including <string.h>.
38840
38841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38842 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38843 and after including <string.h>. Move declarations of
38844 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38845 to before #include "string/memmove.c".
38846
38847 * include/dirent.h: Declare __getdirentries.
38848
38849 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38850 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38851
388522012-08-14 Mike Frysinger <vapier@gentoo.org>
38853
38854 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38855 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38856 * sysdeps/i386/configure: Regenerated.
38857 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38858 STABS_CURRENT_FILE, and STABS_FUN.
38859 (END): Remove call to STABS_FUN_END.
38860 (STABS_CURRENT_FILE1): Delete.
38861 (STABS_CURRENT_FILE): Likewise.
38862 (STABS_FUN): Likewise.
38863 (STABS_FUN_END): Likewise.
38864 (STABS_FUN2): Likewise.
38865 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38866 * sysdeps/x86_64/configure: Regenerated.
38867
388682012-08-14 Roland McGrath <roland@hack.frob.com>
38869
38870 * elf/dl-open.c: Include <atomic.h>.
38871 * elf/dl-lookup.c: Likewise.
38872
388732012-08-14 Joseph Myers <joseph@codesourcery.com>
38874
38875 * sysdeps/unix/sysv/linux/kernel-features.h
38876 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38877 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38878 unconditionally.
38879 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38880 unconditionally.
38881 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38882 condition on __ASSUME_CLONE_THREAD_FLAGS.
38883
388842012-08-14 Andreas Jaeger <aj@suse.de>
38885
38886 * sysdeps/i386/fpu/libm-test-ulps: Update.
38887
388882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38889
38890 * include/atomic.h (atomic_exchange_and_add): Split into ...
38891 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38892 New atomic macros.
38893
388942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38895
38896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38897
388982012-08-13 Jeff Law <law@redhat.com>
38899
38900 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38901 null byte in the output string.
38902
389032012-08-10 Joseph Myers <joseph@codesourcery.com>
38904
38905 * sysdeps/unix/sysv/linux/kernel-features.h
38906 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38907 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38908 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38910 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38911 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38912 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38913
389142012-08-09 Jeff Law <law@redhat.com>
38915
38916 [BZ #13939]
38917 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38918 When avoid_arena is set, don't retry in the that arena. Pick the
38919 next one, whatever it might be.
38920 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38921 (arena_lock): Pass in new parameter to arena_get2.
38922 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38923 arena_get2.
38924 (__libc_malloc): Unify retrying after main arena failure with
38925 __libc_memalign version.
38926 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38927
389282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38929
38930 [BZ #14166]
38931 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38932 to __redirect_strstr.
38933 (__strstr_sse42): Use typeof __redirect_strstr.
38934 (__strstr_ia32): Likewise.
38935 (__libc_strstr): New prototype.
38936 (strstr): Renamed to ...
38937 (__libc_strstr): This.
38938 (strstr): New strong alias of __libc_strstr.
38939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38940 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38941 __redirect_time.
38942 Include <time.h>.
38943 (__libc_time): New prototype.
38944 (time_ifunc): Replace time with __libc_time.
38945 (time): New strong alias and hidden definition of __libc_time.
38946 (__GI_time): Remove strong alias.
38947 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38948 Include <stddef.h>.
38949 (memmove): Redefined to __redirect_memmove.
38950 (__memmove_sse2): Use typeof __redirect_memmove.
38951 (__memmove_ssse3): Likewise.
38952 (__memmove_ssse3_back): Likewise.
38953 (__libc_memmove): New prototype.
38954 (memmove): Renamed to ...
38955 (__libc_memmove): This.
38956 (memmove): New strong alias of __libc_memmove.
38957
389582012-08-08 Mark Salter <msalter@redhat.com>
38959
38960 * elf/elf.h
38961 (R_MN10300_TLS_GD): Define.
38962 (R_MN10300_TLS_LD): Likewise.
38963 (R_MN10300_TLS_LDO): Likewise.
38964 (R_MN10300_TLS_GOTIE): Likewise.
38965 (R_MN10300_TLS_IE): Likewise.
38966 (R_MN10300_TLS_LE): Likewise.
38967 (R_MN10300_TLS_DTPMOD): Likewise.
38968 (R_MN10300_TLS_DTPOFF): Likewise.
38969 (R_MN10300_TLS_TPOFF): Likewise.
38970 (R_MN10300_SYM_DIFF): Likewise.
38971 (R_MN10300_ALIGN): Likewise.
38972 (R_MN10300_NUM): Update.
38973
389742012-08-08 Joseph Myers <joseph@codesourcery.com>
38975
38976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38977 Remove.
38978
389792012-08-08 Roland McGrath <roland@hack.frob.com>
38980
38981 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38982
38983 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38984 sysdeps/unix -> sysdeps/posix move.
38985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38986
389872012-08-07 Allan McRae <allan@archlinux.org>
38988
38989 [BZ #14303]
38990 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38991 (SUNOS_CPP): Likewise.
38992 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38993 not found.
38994 (open_input): Call CPP using execvp.
38995
389962012-08-07 Joseph Myers <joseph@codesourcery.com>
38997
38998 * sysdeps/unix/sysv/linux/kernel-features.h
38999 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39000 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39001 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39002 (__ASSUME_WAITID_SYSCALL): Likewise.
39003 * sysdeps/unix/sysv/linux/dl-execstack.c
39004 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39005 code unconditional.
39006 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39007 conditional code.
39008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39009 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39010 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39011 code.
39012 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39013 unconditional.
39014 [__ASSUME_WAITID_SYSCALL]: Likewise.
39015 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39016
390172012-08-07 Roland McGrath <roland@hack.frob.com>
39018
39019 * sysdeps/unix/closedir.c: Renamed to ...
39020 * sysdeps/posix/closedir.c: ... here.
39021 * sysdeps/unix/dirfd.c: Renamed to ...
39022 * sysdeps/posix/dirfd.c: ... here.
39023 * sysdeps/unix/dirstream.h: Renamed to ...
39024 * sysdeps/posix/dirstream.h: ... here.
39025 * sysdeps/unix/fdopendir.c: Renamed to ...
39026 * sysdeps/posix/fdopendir.c: ... here.
39027 * sysdeps/unix/opendir.c: Renamed to ...
39028 * sysdeps/posix/opendir.c: ... here.
39029 * sysdeps/unix/readdir.c: Renamed to ...
39030 * sysdeps/posix/readdir.c: ... here.
39031 * sysdeps/unix/readdir_r.c: Renamed to ...
39032 * sysdeps/posix/readdir_r.c: ... here.
39033 * sysdeps/unix/rewinddir.c: Renamed to ...
39034 * sysdeps/posix/rewinddir.c: ... here.
39035 * sysdeps/unix/seekdir.c: Renamed to ...
39036 * sysdeps/posix/seekdir.c: ... here.
39037 * sysdeps/unix/telldir.c: Renamed to ...
39038 * sysdeps/posix/telldir.c: ... here.
39039 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39040 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39041 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39042 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39043
39044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39045 * bits/fcntl.h: ... here.
39046
39047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39048 not 0.
39049 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39050 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39051 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39052 (struct flock): Move l_start, l_len to the beginning.
39053 Use __pid_t for l_pid.
39054 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39055 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39056 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39057 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39058 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39059 [__USE_LARGEFILE64] (struct flock64): New type.
39060 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39061
39062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39063 * bits/dirent.h: ... here.
39064
39065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39066 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39067
390682012-08-07 Joseph Myers <joseph@codesourcery.com>
39069
39070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39071 Change from 2.6.0 to 2.6.16.
39072 * sysdeps/unix/sysv/linux/configure: Regenerated.
39073 * sysdeps/unix/sysv/linux/kernel-features.h
39074 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39075 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39076 version.
39077 (__ASSUME_UTIMES): Likewise.
39078 (__ASSUME_CLONE_STOPPED): Remove.
39079 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39080 architectures, not kernel version.
39081 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39082 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39083 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39084 (__ASSUME_WAITID_SYSCALL): Likewise.
39085 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39086 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39087 * README: State 2.6.16 as minimum Linux kernel version. Do not
39088 refer to older versions.
39089
390902012-08-06 Roland McGrath <roland@hack.frob.com>
39091
39092 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39093 Define alphasort64 as an alias.
39094 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39095 Define versionsort64 as an alias.
39096 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39097 Define scandir64 as an alias.
39098 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39099 Define scandirat64 as an alias.
39100 * dirent/alphasort64.c (alphasort64):
39101 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39102 * dirent/versionsort64.c: Likewise.
39103 * dirent/scandir64.c: Likewise.
39104 * dirent/scandirat64.c: Likewise.
39105 * sysdeps/wordsize-64/alphasort.c: File removed.
39106 * sysdeps/wordsize-64/alphasort64.c: File removed.
39107 * sysdeps/wordsize-64/scandir.c: File removed.
39108 * sysdeps/wordsize-64/scandir64.c: File removed.
39109 * sysdeps/wordsize-64/scandirat.c: File removed.
39110 * sysdeps/wordsize-64/scandirat64.c: File removed.
39111 * sysdeps/wordsize-64/versionsort.c: File removed.
39112 * sysdeps/wordsize-64/versionsort64.c: File removed.
39113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39121
39122 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39124 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39126 [defined __arch64__ || defined __sparcv9]
39127 (__INO_T_MATCHES_INO64_T): New macro.
39128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39129 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39130 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39131 * sysdeps/unix/sysv/linux/bits/dirent.h
39132 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39133 (_DIRENT_MATCHES_DIRENT64): New macro.
39134
39135 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39136 Define lockf64 as an alias.
39137 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39138 Define fseeko64 as an alias.
39139 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39140 Define ftello64 as an alias.
39141 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39142 Define _IO_fgetpos64 and fgetpos64 as aliases.
39143 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39144 Define _IO_fsetpos64 and fsetpos64 as aliases.
39145 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39146 Conditionalize body on this.
39147 * libio/fseeko64.c: Likewise.
39148 * libio/ftello64.c: Likewise.
39149 * libio/iofgetpos64.c: Likewise.
39150 * libio/iofsetpos64.c: Likewise.
39151 * sysdeps/wordsize-64/lockf.c: File removed.
39152 * sysdeps/wordsize-64/lockf64.c: File removed.
39153 * sysdeps/wordsize-64/fseeko.c: File removed.
39154 * sysdeps/wordsize-64/fseeko64.c: File removed.
39155 * sysdeps/wordsize-64/ftello.c: File removed.
39156 * sysdeps/wordsize-64/ftello64.c: File removed.
39157 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39158 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39159 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39160 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39171
39172 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39174 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39176 [defined __arch64__ || defined __sparcv9]
39177 (__OFF_T_MATCHES_OFF64_T): New macro.
39178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39179 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39181 (__OFF_T_MATCHES_OFF64_T): New macro.
39182
391832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39184
39185 * stdlib/secure-getenv.c (__secure_getenv): Replace
39186 GLIBC_2_16 with GLIBC_2_17.
39187
391882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39189
39190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39192
391932012-08-03 David S. Miller <davem@davemloft.net>
39194
39195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39196
391972012-08-03 Joseph Myers <joseph@codesourcery.com>
39198
39199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39200 Remove.
39201 (__ASSUME_CORRECT_SI_PID): Likewise.
39202 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39203 (__ASSUME_TMPFS_NAME): Likewise.
39204 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39205 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39206 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39207 (HAVE_AUX_SECURE): Make definition unconditional.
39208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39209 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39210
392112012-08-03 Roland McGrath <roland@hack.frob.com>
39212
39213 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39214 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39215 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39217 __eloop_threshold instead of SYMLOOP_MAX.
39218
39219 * sysdeps/generic/eloop-threshold.h: New file.
39220 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39221 of MAXSYMLINKS.
39222 * elf/chroot_canon.c (chroot_canon): Likewise.
39223
392242012-08-03 Joseph Myers <joseph@codesourcery.com>
39225
39226 [BZ #13717]
39227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39228 Change to 2.6.0 everywhere.
39229 * sysdeps/unix/sysv/linux/configure: Regenerated.
39230 * sysdeps/unix/sysv/linux/kernel-features.h
39231 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39232 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39233 kernel versions.
39234 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39235 (__ASSUME_FUTEX_REQUEUE): Remove.
39236 (__ASSUME_STATFS64): Define unconditionally.
39237 (__ASSUME_AT_SECURE): Likewise.
39238 (__ASSUME_CORRECT_SI_PID): Likewise.
39239 (__ASSUME_TGKILL): Define without depending on kernel version for
39240 i386.
39241 (__ASSUME_UTIMES): Likewise.
39242 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39243 kernel version.
39244 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39245 (__ASSUME_TMPFS_NAME): Likewise.
39246 * README: Update reference to Linux kernel versions.
39247
392482012-08-02 Marek Polacek <polacek@redhat.com>
39249
39250 [BZ# 14150]
39251 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39252 libc_cv_asm_type_prefix with %.
39253 * configure: Regenerated.
39254 * include/libc-symbols.h: Remove comment about
39255 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39256 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39257 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39258 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39259 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39260 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39263 * elf/tst-unique2mod1.c: Likewise.
39264 * elf/tst-unique1mod2.c: Likewise.
39265 * elf/tst-unique1mod1.c: Likewise.
39266 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39267 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39268 Replace ASM_TYPE_DIRECTIVE with .type.
39269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39270 * sysdeps/i386/sysdep.h: Likewise.
39271 * sysdeps/x86_64/sysdep.h: Likewise.
39272 * sysdeps/sh/sysdep.h: Likewise.
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39274 Do not define ASM_TYPE_DIRECTIVE.
39275 * sysdeps/powerpc/sysdep.h: Likewise.
39276 * sysdeps/powerpc/powerpc32/sysdep.h:
39277 Replace ASM_TYPE_DIRECTIVE with .type.
39278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39280 * sysdeps/i386/fpu/e_powf.S: Likewise.
39281 * sysdeps/i386/fpu/e_expl.S: Likewise.
39282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39284 * sysdeps/i386/fpu/e_pow.S: Likewise.
39285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39289 * sysdeps/i386/fpu/e_log2.S: Likewise.
39290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39292 * sysdeps/i386/fpu/e_powl.S: Likewise.
39293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39295 * sysdeps/i386/fpu/e_logl.S: Likewise.
39296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39301 * sysdeps/i386/fpu/e_log.S: Likewise.
39302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39303 * sysdeps/i386/fpu/e_logf.S: Likewise.
39304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39307 * sysdeps/i386/fpu/e_log10.S: Likewise.
39308 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39310 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39311 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39315 * sysdeps/i386/i686/strtok.S: Likewise.
39316 * sysdeps/i386/i386-mcount.S: Likewise.
39317 * sysdeps/i386/strtok.S: Likewise.
39318 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39322 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39327 * sysdeps/x86_64/_mcount.S: Likewise.
39328 * sysdeps/x86_64/strtok.S: Likewise.
39329 * sysdeps/sh/_mcount.S: Likewise.
39330
393312012-08-01 Roland McGrath <roland@hack.frob.com>
39332
39333 * libio/iofopen.c: Include <fcntl.h>.
39334 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39335 (_IO_fopen64, fopen64): Define as aliases.
39336 * libio/iofopen64.c: Include <fcntl.h>.
39337 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39338 Conditionalize body on this.
39339 * sysdeps/wordsize-64/iofopen.c: File removed.
39340 * sysdeps/wordsize-64/iofopen64.c: File removed.
39341
393422012-08-01 Marek Polacek <polacek@redhat.com>
39343
39344 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39345 Use dlfcn directly instead of a variable.
39346 (binfmt-subdir): Do not define.
39347 (dlfcn): Likewise.
39348
393492012-08-01 Joseph Myers <joseph@codesourcery.com>
39350
39351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39352 Remove all definitions.
39353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39354 <kernel-features.h>.
39355 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39356 (miss_F_GETOWN_EX): Remove all definitions.
39357 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39358 macro definition.
39359 [!__ASSUME_FCNTL64]: Remove conditional code.
39360 [__ASSUME_FCNTL64]: Make code unconditional.
39361 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39362 <kernel-features.h>.
39363 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39364 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39365 (lockf64) [__NR_fcntl64]: Make code unconditional.
39366 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39367
39368 * sysdeps/unix/sysv/linux/kernel-features.h
39369 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39370 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39371 Make code unconditional.
39372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39375 [__NR_vfork]: Make code unconditional.
39376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39379 [__NR_vfork]: Make code unconditional.
39380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39382
393832012-08-01 Roland McGrath <roland@hack.frob.com>
39384
39385 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39386 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39387
39388 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39389 Define mkstemp64 as an alias.
39390 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39391 Define mkstemps64 as an alias.
39392 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39393 Define mkostemp64 as an alias.
39394 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39395 Define mkostemps64 as an alias.
39396 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39397 Conditionalize body on this.
39398 * misc/mkostemp64.c: Likewise.
39399 * misc/mkostemps64.c: Likewise.
39400 * misc/mkstemps64.c: Likewise.
39401 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39402 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39403 * sysdeps/wordsize-64/mkostemp.c: File removed.
39404 * sysdeps/wordsize-64/mkstemp.c: File removed.
39405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39409
39410 [BZ #14138]
39411 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39413 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39414 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39415
39416 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39417 compat_symbol macros from <shlib-compat.h> rather than the underlying
39418 default_symbol_version and symbol_version macros, so that DEFAULT
39419 lines in shlib-versions are respected.
39420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39421
394222012-08-01 Florian Weimer <fweimer@redhat.com>
39423
39424 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39425 Declare with warn_unused_result.
39426 (setgid, setregid, setegid, setresgid): Likewise.
39427 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39428 Likewise.
39429 * WUR-REPORT: Remove set*id functions.
39430
394312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39432
39433 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39434
394352012-07-31 Roland McGrath <roland@hack.frob.com>
39436
39437 [BZ #10191]
39438 * include/sys/socket.h (__libc_accept, __libc_accept4):
39439 Add attribute_hidden.
39440 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39441
39442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39443 use of PTR_MANGLE.
39444 * inet/getnetgrent_r.c (setup): Likewise.
39445
39446 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39447
394482012-07-31 David S. Miller <davem@davemloft.net>
39449
39450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39451
394522012-07-31 Joseph Myers <joseph@codesourcery.com>
39453
39454 [BZ #13629]
39455 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39456 value between 1.0 and 2.0 and smaller part has absolute value less
39457 than 1.0.
39458 * math/s_clog10.c (__clog10): Likewise.
39459 * math/s_clog10f.c (__clog10f): Likewise.
39460 * math/s_clog10l.c (__clog10l): Likewise.
39461 * math/s_clogf.c (__clogf): Likewise.
39462 * math/s_clogl.c (__clogl): Likewise.
39463 * math/libm-test.inc (clog_test): Add more tests.
39464 (clog10_test): Likewise.
39465 * sysdeps/i386/fpu/libm-test-ulps: Update.
39466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39467
394682012-07-31 Florian Weimer <fweimer@redhat.com>
39469
39470 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39471 Exit with zero in case no suitable GID is found, and write a
39472 message to standard error.
39473
394742012-07-30 Roland McGrath <roland@hack.frob.com>
39475
39476 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39477 rather than to 1.
39478 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39479 (MAXPATHLEN): Removed.
39480 (NOGROUP, NODEV): New macros.
39481 (setbit, clrbit, isset, isclr): New macros.
39482 (howmany, roundup, powerof2): New macros.
39483 (DEV_BSIZE): New macro.
39484
39485 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39486 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39487
39488 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39489 definition on [!__NO_LONG_DOUBLE_MATH].
39490
39491 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39492 PTR_MANGLE and PTR_DEMANGLE.
39493
39494 * socket/accept4.c (accept4): Rename to __libc_accept4.
39495 Define accept4 as a weak alias.
39496
39497 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39498 on [_DIRENT_HAVE_D_TYPE].
39499 * io/ftw.c (ftw_dir): Likewise.
39500
39501 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39502
39503 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39504
39505 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39506 Use the BSD numbers rather than the arbitrary ones we had.
39507 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39508 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39509 (SIGXCPU, SIGXFSZ): New macros.
39510 (_NSIG): Now 32.
39511
39512 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39513 initializer on [_LIBC_REENTRANT].
39514
39515 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39516 definitions inside [_POSIX_MAPPED_FILES].
39517
39518 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39519
39520 * dirent/opendir.c: Include <fcntl.h>.
39521
39522 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39523 (__libc_getspecific): Likewise.
39524 (__libc_key_create): Likewise.
39525
39526 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39527 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39528 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39529 (tmpfile64): Define as alias.
39530 * sysdeps/wordsize-64/tmpfile.c: File removed.
39531 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39534
39535 * stdio-common/vfscanf.c: Include <stdbool.h>.
39536 * nss/makedb.c: Likewise.
39537 * stdio-common/_i18n_number.h: Likewise.
39538 * argp/argp-help.c: Likewise.
39539 * posix/wordexp.c: Likewise.
39540 * sysdeps/posix/spawni.c: Likewise.
39541 * nss/nss_files/files-initgroups.c: Likewise.
39542 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39543 * nss/nss_files/files-initgroups.c: Likewise.
39544 * nss/nss_db/db-netgrp.c: Likewise.
39545 * nss/nss_db/db-initgroups.c: Likewise.
39546 * io/fchmodat.c: Include <sys/stat.h>.
39547
39548 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39549 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39550
39551 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39552 [HAVE_MMAP].
39553
39554 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39555 Add multiple inclusion protection.
39556
395572012-07-27 David S. Miller <davem@davemloft.net>
39558
39559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39560
395612012-07-27 Gary Benson <gbenson@redhat.com>
39562
39563 [BZ #14298]
39564 * elf/rtld.c: Include <stap-probe.h>.
39565 (dl_main): Added static probes "init_start" and "init_complete".
39566 * elf/dl-load.c: Include <stap-probe.h>.
39567 (lose): Take new parameter "nsid".
39568 Added static probe "map_failed".
39569 (_dl_map_object_from_fd): Pass namespace id to lose.
39570 Added static probe "map_start".
39571 (open_verify): Pass namespace id to lose.
39572 * elf/dl-open.c: Include <stap-probe.h>.
39573 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39574 and "reloc_complete".
39575 * elf/dl-close.c: Include <stap-probe.h>.
39576 (_dl_close_worker): Added static probes "unmap_start" and
39577 "unmap_complete".
39578 * elf/rtld-debugger-interface.txt: New file documenting the above.
39579
395802012-07-26 Roland McGrath <roland@hack.frob.com>
39581
39582 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39583 rather than a string variable.
39584 * sunrpc/rpc_main.c (h_output): Likewise.
39585 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39586
395872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39588
39589 * inet/check_native.c: New file.
39590
395912012-07-26 Joseph Myers <joseph@codesourcery.com>
39592
39593 [BZ #13629]
39594 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39595 if larger part has absolute value 1.0.
39596 * math/s_clog10.c (__clog10): Likewise.
39597 * math/s_clog10f.c (__clog10f): Likewise.
39598 * math/s_clog10l.c (__clog10l): Likewise.
39599 * math/s_clogf.c (__clogf): Likewise.
39600 * math/s_clogl.c (__clogl): Likewise.
39601 * math/libm-test.inc (clog_test): Add more tests.
39602 (clog10_test): Likewise.
39603 * sysdeps/i386/fpu/libm-test-ulps: Update.
39604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39605
39606 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39607 (pltexit): Likewise.
39608 (La_regs): Likewise.
39609 (La_retval): Likewise.
39610 (int_retval): Likewise.
39611 Update #error for removed macros to refer only to definitions in
39612 tst-audit.h.
39613 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39614 macro.
39615 (pltexit): Likewise.
39616 (La_regs): Likewise.
39617 (La_retval): Likewise.
39618 (int_retval): Likewise.
39619 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39620 macro.
39621 (pltexit): Likewise.
39622 (La_regs): Likewise.
39623 (La_retval): Likewise.
39624 (int_retval): Likewise.
39625 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39626 macro.
39627 (pltexit): Likewise.
39628 (La_regs): Likewise.
39629 (La_retval): Likewise.
39630 (int_retval): Likewise.
39631 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39632 macro.
39633 (pltexit): Likewise.
39634 (La_regs): Likewise.
39635 (La_retval): Likewise.
39636 (int_retval): Likewise.
39637 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39638 macro.
39639 (pltexit): Likewise.
39640 (La_regs): Likewise.
39641 (La_retval): Likewise.
39642 (int_retval): Likewise.
39643 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39644 macro.
39645 (pltexit): Likewise.
39646 (La_regs): Likewise.
39647 (La_retval): Likewise.
39648 (int_retval): Likewise.
39649 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39650 macro definitions in tst-audit.h.
39651 * sysdeps/i386/tst-audit.h: New file.
39652 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39653 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39654 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39655 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39656 * sysdeps/sh/tst-audit.h: Likewise.
39657 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39658 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39659 * sysdeps/x86_64/tst-audit.h: Likewise.
39660
396612012-07-26 Andreas Jaeger <aj@suse.de>
39662
39663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39664 ptrace.
39665
39666 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39667 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39668 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39669 PTRACE_O_MASK.
39670 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39671 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39672 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39673
39674 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39675 value.
39676
39677 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39678 _sigsys.
39679 (si_call_addr, si_syscall, si_arch): Define new macro.
39680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39681 _sigsys.
39682 (si_call_addr, si_syscall, si_arch): Define new marcro.
39683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39684 _sigsys.
39685 (si_call_addr, si_syscall, si_arch): Define new macro.
39686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39687 _sigsys.
39688 (si_call_addr, si_syscall, si_arch): Define new macro.
39689
396902012-07-25 Joseph Myers <joseph@codesourcery.com>
39691
39692 [BZ #13717]
39693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39694 Change to 2.4.21 where previously 2.4.1.
39695 * sysdeps/unix/sysv/linux/configure: Regenerated.
39696 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39697 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39698 Linux kernel version.
39699 (__ASSUME_STD_AUXV): Remove.
39700 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39701 kernel version.
39702 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39703 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39704 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39705 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39706 (__ASSUME_NETLINK_SUPPORT): Likewise.
39707 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39708 (__no_netlink_support): Remove conditional definition.
39709 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39710 Remove.
39711 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39712 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39714 (if_nameindex_ioctl): Remove.
39715 (if_nameindex_netlink): Do not handle __no_netlink_support.
39716 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39717 code.
39718 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39719 Remove conditional code.
39720 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39721 code.
39722 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39723 unconditional.
39724 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39725 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39726 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39727 Remove.
39728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39729 [!__ASSUME_STD_AUXV]: Remove conditional code.
39730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39731 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39732 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39736 code.
39737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39741 conditional code.
39742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39745 code.
39746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39748 conditional code.
39749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39750 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39751 code unconditional.
39752 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39753 conditional code.
39754 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39755 unconditional.
39756 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39757 conditional code.
39758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39759 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39760 unconditional.
39761 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39762 conditional code.
39763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39764 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39765 code unconditional.
39766 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39767 conditional code.
39768 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39769 unconditional.
39770 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39771 conditional code.
39772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39773 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39774 code unconditional.
39775 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39776 conditional code.
39777 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39778 unconditional.
39779 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39780 conditional code.
39781
397822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39783
39784 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39786 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39787 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39788 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39789 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39790 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39791 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39792 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39793 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39794 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39795 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39796 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39799 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39802 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39804 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39805 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39807
398082012-07-25 Florian Weimer <fweimer@redhat.com>
39809
39810 * Versions.def: Add GLIBC_2.17.
39811 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39812 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39813 Introduce __libc_secure_getenv.
39814 * stdlib/Versions (2.17): Add secure_getenv
39815 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39816 * stdlib/secure-getenv.c: Rename __secure_getenv to
39817 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39818 symbol __secure_getenv for GLIBC_2.0.
39819 * stdlib/tst-secure-getenv.c: New.
39820 * stdlib/Makefile (tests): Add testcase.
39821 * manual/startup.texi (Environment Access): Document
39822 secure_getenv.
39823 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39824 __libc_secure_getenv.
39825 * inet/ruserpass.c (ruserpass): Likewise.
39826 * malloc/mtrace.c (mtrace): Likewise.
39827 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39828 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39829 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39830 * sysdeps/posix/tempname.c: Likewise. Evaluate
39831 HAVE_SECURE_GETENV.
39832 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39833 __secure_getenv to __libc_secure_getenv.
39834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39836 Likewise.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39838 Likewise.
39839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39846
398472012-07-25 Joseph Myers <joseph@codesourcery.com>
39848
39849 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39850 (struct La_i86_retval): Likewise.
39851 (struct La_x86_64_regs): Likewise.
39852 (struct La_x86_64_retval): Likewise.
39853 (struct La_x32_regs): Likewise.
39854 (struct La_x32_retval): Likewise.
39855 (struct La_ppc32_regs): Likewise.
39856 (struct La_ppc32_retval): Likewise.
39857 (struct La_ppc64_regs): Likewise.
39858 (struct La_ppc64_retval): Likewise.
39859 (struct La_sh_regs): Likewise.
39860 (struct La_sh_retval): Likewise.
39861 (struct La_s390_32_regs): Likewise.
39862 (struct La_s390_32_retval): Likewise.
39863 (struct La_s390_64_regs): Likewise.
39864 (struct La_s390_64_retval): Likewise.
39865 (struct La_sparc32_regs): Likewise.
39866 (struct La_sparc32_retval): Likewise.
39867 (struct La_sparc64_regs): Likewise.
39868 (struct La_sparc64_retval): Likewise.
39869 (struct audit_ifaces): Remove architecture-specific pltenter and
39870 pltexit members.
39871 * sysdeps/i386/ldsodefs.h: New file.
39872 * sysdeps/powerpc/ldsodefs.h: Likewise.
39873 * sysdeps/s390/ldsodefs.h: Likewise.
39874 * sysdeps/sh/ldsodefs.h: Likewise.
39875 * sysdeps/sparc/ldsodefs.h: Likewise.
39876 * sysdeps/x86_64/ldsodefs.h: Likewise.
39877
398782012-07-25 Marek Polacek <polacek@redhat.com>
39879
39880 [BZ #6808]
39881 * math/libm-test.inc (yn_test): Add another test.
39882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39883 to ERANGE when the result is +-Inf.
39884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39887 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39888
398892012-07-24 Joseph Myers <joseph@codesourcery.com>
39890
39891 * conform/data/time.h-data (NULL): Use macro-constant. Require
39892 equal to 0.
39893 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39894 clock_t.
39895 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39896
398972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39898
39899 * configure.in <sysdeps resolving>: Correct printing
39900 Implies_before.
39901 * configure: Regenerate.
39902
399032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39904
39905 * math/w_ilogb.c: Include <limits.h>.
39906 * math/w_ilogbl.c: Likewise.
39907
399082012-07-20 Joseph Myers <joseph@codesourcery.com>
39909
39910 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39911 va_copy. Document allowing for unavailable va_copy only as
39912 pre-C99 compatibility.
39913 * manual/string.texi (Copying and Concatenation): Use va_copy
39914 instead of __va_copy in concat example.
39915
399162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39917
39918 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39919 (__sendto): Use create_address_port. Initialize APORT and deallocate
39920 it if not null.
39921
39922 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39923 with O_NOLINK passed to __file_name_lookup.
39924
39925 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39926 with O_NOLINK passed to __file_name_lookup.
39927
39928 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39929 negative N or less than NGIDS.
39930
39931 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39932 type to string_t. Set ERANGE as errno and return it if NAME is not big
39933 enough. Use memcpy instead of strncpy.
39934
399352012-07-20 Joseph Myers <joseph@codesourcery.com>
39936
39937 * elf/Makefile (check-data): Remove.
39938 (localplt.data): New vpath directive.
39939 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39940 instead of $(check-data).
39941 * scripts/data/localplt-generic.data: Move to ...
39942 * sysdeps/generic/localplt.data: ... here.
39943 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39945 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39947 ... here.
39948 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39950 ... here.
39951 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39953 ... here.
39954 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39956 ... here.
39957 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39959 ... here.
39960 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39962 ... here.
39963
399642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39965
39966 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39967 PPC32 and PPC64 files.
39968 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39969 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39970
399712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39972
39973 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39974 __makecontext_ret to ...
39975 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39976 ... here and call exit if uc_link is NULL. New file.
39977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39978 __makecontext_ret.S.
39979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39980 __makecontext_ret to ...
39981 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39982 ... here and call exit if uc_link is NULL. New file.
39983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39984 __makecontext_ret.S.
39985
399862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39987
39988 * elf/elf.h (R_390_IRELATIVE): New definition.
39989 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39990 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39991 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39993 (elf_machine_lazy_rel): Likewise.
39994 * sysdeps/s390/dl-irel.h: New file.
39995 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39996 * sysdeps/s390/s390-64/memset.S: New asm code.
39997 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39998 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40000 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40001 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40002 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40004 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40005 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40006 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40007 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40008 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40009 * sysdeps/s390/s390-32/memset.S: New asm code.
40010 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40011
400122012-07-17 Marek Polacek <polacek@redhat.com>
40013
40014 [BZ #14349]
40015 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40016 * sysdeps/s390/s390-64/configure.in: Likewise.
40017 * sysdeps/sparc/configure.in: Likewise.
40018 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40019 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40020 * sysdeps/i386/configure.in: Likewise.
40021 * sysdeps/x86_64/configure.in: Likewise.
40022 * sysdeps/sh/configure.in: Likewise.
40023 * sysdeps/s390/s390-32/configure: Regenerated.
40024 * sysdeps/s390/s390-64/configure: Likewise.
40025 * sysdeps/x86_64/configure: Likewise.
40026 * sysdeps/sh/configure: Likewise.
40027 * sysdeps/powerpc/powerpc64/configure: Likewise.
40028 * sysdeps/powerpc/powerpc32/configure: Likewise.
40029 * sysdeps/sparc/configure: Likwise.
40030 * sysdeps/i386/configure: Likewise.
40031
40032 * elf/dl-open.c: Comment fixes.
40033
400342012-07-17 Joseph Myers <joseph@codesourcery.com>
40035
40036 * Makefile [CXX] (check-data): Remove.
40037 [CXX] (c++-types.data): New vpath directive.
40038 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40039 vpath. Do not allow for C++ type data being missing.
40040 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40041 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40042 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40043 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40044 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40045 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40046 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40048 ... here.
40049 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40051 ... here.
40052 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40054 ... here.
40055 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40057 ... here.
40058 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40060 ... here.
40061 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40063 ... here.
40064 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40066 ... here.
40067 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40069
40070 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40071 definitions to architecture-specific files.
40072 (TLS_IE): Likewise.
40073 (TLS_LD): Likewise.
40074 (TLS_GD): Likewise.
40075 * sysdeps/i386/tls-macros.h: New file.
40076 * sysdeps/powerpc/tls-macros.h: Likewise.
40077 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40078 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40079 * sysdeps/sh/tls-macros.h: Likewise.
40080 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40081 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40082 * sysdeps/x86_64/tls-macros.h: Likewise.
40083
400842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40085
40086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40087 zero value for regular exit case.
40088
40089 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40090 (__start_context): Preserve zero value for regular exit case.
40091
400922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40094
40095 * manual/setjmp.texi (setcontext): Clarify normal process
40096 termination when uc_link is the null pointer.
40097 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40098 exit call.
40099
401002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40101
40102 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40103 preprocessor. Test for each exception mask separately.
40104
401052012-07-16 Andreas Jaeger <aj@suse.de>
40106
40107 * po/ru.po: Update from translation team.
40108
401092012-07-15 Joseph Myers <joseph@codesourcery.com>
40110
40111 * conform/data/string.h-data (NULL): Use macro-constant. Require
40112 equal to 0.
40113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40115 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40116 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40118
401192012-07-13 Andreas Jaeger <aj@suse.de>
40120
40121 * po/fr.po: Update from translation team.
40122
401232012-07-12 Marek Polacek <polacek@redhat.com>
40124
40125 [BZ #14173]
40126 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40128 loop condition.
40129
401302012-07-12 Joseph Myers <joseph@codesourcery.com>
40131
40132 [BZ #13717]
40133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40134 Change to 2.4.1 where previously 2.4.0.
40135 * sysdeps/unix/sysv/linux/configure: Regenerated.
40136 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40137 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40138 version.
40139 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40140 (__ASSUME_AT_CLKTCK): Remove.
40141 (__ASSUME_AT_PAGESIZE): Likewise.
40142 (__ASSUME_AT_XID): Likewise.
40143 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40144 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40145 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40146 unconditionally.
40147 (HAVE_AUX_PAGESIZE): Likewise.
40148 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40149 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40150 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40151
401522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40153
40154 [BZ #14307]
40155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40156 the temporary buffer used to invoke __gethostbyname2_r,
40157 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40158 host_data / struct gaih_addrtuple.
40159 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40160 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40161 header file nss/nsswitch.h.
40162 * nss/nsswitch.h (global scope): Add definition of implementation
40163 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40164 resolv/nss_dns/dns-host.c).
40165
401662012-07-11 Andreas Jaeger <aj@suse.de>
40167
40168 * po/fr.po: Update from translation team.
40169
40170 * po/sv.po: Update from translation team
40171 * po/fr.po: Another update from translation team.
40172
401732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40174
40175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40176 for subnormals or multiply small sinh result by itself.
40177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40179
401802012-07-11 David S. Miller <davem@davemloft.net>
40181
40182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40183
401842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40185
40186 [BZ #14347]
40187 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40188 (INTERNAL_MARK): Shift it here.
40189
401902012-07-10 Marek Polacek <polacek@redhat.com>
40191
40192 [BZ #14151]
40193 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40194 libc_cv_asm_global_directive with .globl.
40195 * configure: Regenerated.
40196 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40197 with .globl.
40198 * sysdeps/i386/configure: Regenerated.
40199 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40200 with .globl.
40201 * sysdeps/x86_64/configure: Regenerated.
40202 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40203 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40204 * elf/tst-unique2mod2.c: Likewise.
40205 * elf/tst-unique2mod1.c: Likewise.
40206 * elf/tst-unique1mod2.c: Likewise.
40207 * elf/tst-unique1mod1.c: Likewise.
40208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40212 * sysdeps/mach/sysdep.h: Likewise.
40213 * sysdeps/i386/sysdep.h: Likewise.
40214 * sysdeps/i386/i386-mcount.S: Likewise.
40215 * sysdeps/x86_64/_mcount.S: Likewise.
40216 * sysdeps/x86_64/sysdep.h: Likewise.
40217 * sysdeps/sh/_mcount.S: Likewise.
40218 * sysdeps/sh/sysdep.h: Likewise.
40219 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40220 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40221 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40223 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40224 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40225 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40226 * locale/localeinfo.h: Likewise.
40227 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40228 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40229
402302012-07-09 Roland McGrath <roland@hack.frob.com>
40231
40232 [BZ #14336]
40233 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40234 system".
40235 * manual/message.texi (The Uniforum approach): Likewise.
40236 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40237 (glibc iconv Implementation): Likewise.
40238
402392012-07-09 Joseph Myers <joseph@codesourcery.com>
40240
40241 [BZ #14337]
40242 * math/s_clog.c (__clog): Avoid scaling a value down where that
40243 could result in underflow.
40244 * math/s_clog10.c (__clog10): Likewise.
40245 * math/s_clog10f.c (__clog10f): Likewise.
40246 * math/s_clog10l.c (__clog10l): Likewise.
40247 * math/s_clogf.c (__clogf): Likewise.
40248 * math/s_clogl.c (__clogl): Likewise.
40249 * math/libm-test.inc (clog_test): Add more tests.
40250 (clog10_test): Likewise.
40251 * sysdeps/i386/fpu/libm-test-ulps: Update.
40252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40253
402542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40255
40256 [BZ #14283]
40257 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40258 by 7 not 8 to examine high bit of fractional part.
40259
40260 [BZ #14042]
40261 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40262 for call to __mcount_internal.
40263 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40264 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40265 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40266
402672012-07-06 Joseph Myers <joseph@codesourcery.com>
40268
40269 [BZ #14154]
40270 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40271 approximation for values within 0x1p-13f of an odd multiple of
40272 pi/4.
40273 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40274 exception. Add more tests.
40275 * sysdeps/i386/fpu/libm-test-ulps: Update.
40276
40277 [BZ #6778]
40278 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40279 inputs and return -1 for them. Do not check for +Inf in case not
40280 reachable for +Inf.
40281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40282 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40284 and return -1 for them. Do not check for +Inf in case not
40285 reachable for +Inf.
40286 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40287 define.
40288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40289 and return -1 for them. Do not check for +Inf in case not
40290 reachable for +Inf.
40291 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40292 spurious underflow.
40293 * sysdeps/i386/fpu/libm-test-ulps: Update.
40294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40295
402962012-07-06 Mike Frysinger <vapier@gentoo.org>
40297
40298 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40299
403002012-07-05 Joseph Myers <joseph@codesourcery.com>
40301
40302 [BZ #14157]
40303 [BZ #14331]
40304 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40305 could result in spurious underflow. Scale down values above
40306 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40307 * math/s_csqrtf.c (__csqrtf): Likewise.
40308 * math/s_csqrtl.c (__csqrtl): Likewise.
40309 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40310 spurious underflow.
40311 * sysdeps/i386/fpu/libm-test-ulps: Update.
40312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40313
403142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40315
40316 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40317 xopen-msg.sed.
40318 * catgets/xopen-msg.awk: New file.
40319 * catgets/xopen-msg.sed: Removed.
40320
40321 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40322 po2text.sed.
40323 * intl/po2test.awk: New file.
40324 * intl/po2test.sed: Removed.
40325
403262012-07-04 Joseph Myers <joseph@codesourcery.com>
40327
40328 [BZ #14328]
40329 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40330 or multiply small sinh result by itself.
40331 * math/s_ctanf.c (__ctanf): Likewise.
40332 * math/s_ctanh.c (__ctanh): Likewise.
40333 * math/s_ctanhf.c (__ctanhf): Likewise.
40334 * math/s_ctanhl.c (__ctanhl): Likewise.
40335 * math/s_ctanl.c (__ctanl): Likewise.
40336 * math/libm-test.inc (ctan_test_tonearest): New function.
40337 (ctan_test_towardzero): Likewise.
40338 (ctan_test_downward): Likewise.
40339 (ctan_test_upward): Likewise.
40340 (ctanh_test_tonearest): Likewise.
40341 (ctanh_test_towardzero): Likewise.
40342 (ctanh_test_downward): Likewise.
40343 (ctanh_test_upward): Likewise.
40344 (main): Call these new functions.
40345 * sysdeps/i386/fpu/libm-test-ulps: Update.
40346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40347
403482012-07-03 Mike Frysinger <vapier@gentoo.org>
40349
40350 * .gitignore: Delete /ports entry.
40351
403522012-07-03 Andreas Jaeger <aj@suse.de>
40353
40354 * po/bg.po: Update from translation team.
40355 * po/cs.po: Likewise.
40356 * po/de.po: Likewise.
40357 * po/hr.po: Likewise.
40358 * po/nl.pl: Likewise.
40359 * po/pl.po: Likewise.
40360 * po/vi.po: Likewise.
40361
403622012-07-03 Joseph Myers <joseph@codesourcery.com>
40363
40364 * Makeconfig [!+link] (+link-before-libc): New variable.
40365 [!+link] (+link-after-libc): Likewise.
40366 [!+link] (+link-tests): Likewise.
40367 [!+link] (+link): Define in terms of $(+link-before-libc) and
40368 $(+link-after-libc).
40369 [!+link-static] (+link-static-before-libc): New variable.
40370 [!+link-static] (+link-static-after-libc): Likewise.
40371 [!+link-static] (+link-static-tests): Likewise.
40372 [!+link-static] (+link-static): Define in terms of
40373 $(+link-static-before-libc) and $(+link-static-after-libc).
40374 [build-shared] (link-libc-before-gnulib): New variable.
40375 [build-shared] (link-libc-tests): Likewise.
40376 [build-shared] (link-libc): Define in terms of
40377 $(link-libc-before-gnulib).
40378 [!build-shared] (link-libc-tests): New variable.
40379 (link-libc-static-tests): New variable.
40380 [!gnulib] (gnulib-arch): New variable.
40381 [!gnulib] (gnulib-tests): Likewise.
40382 [!gnulib] (static-gnulib-arch): Likewise.
40383 [!gnulib] (static-gnulib-tests): Likewise.
40384 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40385 Define with "=" instead of ":=".
40386 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40387 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40388 * Rules (binaries-all-notests): New variable.
40389 (binaries-all-tests): Likewise.
40390 (binaries-static-notests): Likewise.
40391 (binaries-static-tests): Likewise.
40392 (binaries-all): Define using $(binaries-all-notests) and
40393 $(binaries-all-tests).
40394 (binaries-static): Define using $(binaries-static-notests) and
40395 $(binaries-static-tests).
40396 (binaries-shared-tests): New variable.
40397 (binaries-shared-notests): Likewise.
40398 (binaries-shared): Remove variable.
40399 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40400 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40401 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40402 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40403 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40404 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40405 * elf/Makefile (sln-modules): New variable.
40406 (extra-objs): Add $(sln-modules:=.o).
40407 (ldconfig-modules): Add static-stubs.
40408 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40409 * elf/static-stubs.c: New file.
40410
40411 [BZ #14283]
40412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40413 by 7 not 8 to examine high bit of fractional part. Use volatile
40414 variables when splitting into final array of floats if
40415 __FLT_EVAL_METHOD__ != 0.
40416 * math/libm-test.inc (cos_test): Add another test.
40417 (sin_test): Likewise.
40418 * sysdeps/i386/fpu/libm-test-ulps: Update.
40419
40420 [BZ #14273]
40421 * math/libm-test.inc (cosh_test): Add more tests.
40422
40423 * version.h (RELEASE): Set to "development".
40424 (VERSION): Set to "2.16.90".
40425
404262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40427
40428 * NEWS: Update copyright. Remove last-updated date.
40429 Mention math library bug fixes and timezone data changes.
40430 * README: Mention GNU/Hurd, x32, and HPPA support status.
40431
404322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40433
40434 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40435
404362012-06-27 Andreas Jaeger <aj@suse.de>
40437
40438 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40439
404402012-06-25 Andreas Jaeger <aj@suse.de>
40441
40442 * sysdeps/s390/fpu/libm-test-ulps: Update.
40443
404442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40445 Thomas Schwinge <thomas@codesourcery.com>
40446
40447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40448 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40450 fanotify_mark.
40451
404522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40453
40454 * sysdeps/mach/start.c: Remove file.
40455 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40456 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40457 * sysdeps/sh/init-first.c: Likewise.
40458
40459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40460 registers for frame unwinding purposes, add CFI directives.
40461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40463 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40464 Likewise.
40465
40466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40467 __fortify_fail returning.
40468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40469
40470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40471 sysdeps/sh/____longjmp_chk.S.
40472 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40473 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40474 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40475 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40476
40477 * sysdeps/sh/abort-instr.h: New file.
40478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40479 process in case exit returns.
40480
40481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40482 initialize the GOT register before use.
40483
40484 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40485 calculation of ARGC > 4.
40486
40487 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40488 meaningful names to some local labels.
40489
404902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40491 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40492
40493 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40494 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40495 (__arch_compare_and_exchange_val_16_acq): Likewise.
40496 (__arch_compare_and_exchange_val_32_acq): Likewise.
40497 (atomic_exchange_and_add): Fix gUSA sequence.
40498 (atomic_add): Likewise.
40499 (atomic_add_negative): Likewise.
40500 (atomic_add_zero): Likewise.
40501 (atomic_bit_test_set): Likewise.
40502
405032012-06-22 Andreas Schwab <schwab@redhat.com>
40504
40505 [BZ #13579]
40506 * include/link.h (struct link_map): Add l_free_initfini.
40507 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40508 l_initfini.
40509 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40510 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40511 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40512 set.
40513
405142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40515
40516 * configure.in: Use AC_LANG_SOURCE.
40517 * configure: Regenerate.
40518
405192012-06-22 Roland McGrath <roland@hack.frob.com>
40520
40521 * configure.in (libc_cv_localstatedir): New substituted variable.
40522 * configure: Regenerated.
40523 * config.make.in (localstatedir): New variable, substituted from
40524 libc_cv_localstatedir.
40525 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40526 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40527 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40528 * sysdeps/gnu/configure: Regenerated.
40529
405302012-06-21 Jeff Law <law@redhat.com>
40531
40532 [BZ #14277]
40533 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40534 free. Simplify list management for _LIBC case.
40535
405362012-06-21 Joseph Myers <joseph@codesourcery.com>
40537
40538 [BZ #14273]
40539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40540 Clear sign bit of 64-bit integer value before comparing against
40541 overflow value.
40542
40543 * sysdeps/mach/configure: Regenerated.
40544
405452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40546
40547 [BZ #14278]
40548 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40549
405502012-06-21 Jeff Law <law@redhat.com>
40551
40552 [BZ #13882]
40553 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40554 uint16_t for elements in the "seen" array to avoid char overflows.
40555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40556 * elf/dl-open.c (dl_open_worker): Likewise.
40557
405582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40559
40560 * scripts/list-sources.sh: Scan PORTS for translations.
40561 * po/libc.pot: Regenerated.
40562
405632012-06-21 Andreas Jaeger <aj@suse.de>
40564
40565 [BZ #12194]
40566 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40567 warning.
40568 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40569 * bits/byteswap-16.h (__bswap_16): Likewise.
40570 * bits/byteswap.h (__bswap_constant_16): Likewise.
40571
405722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40573
40574 [BZ #14117]
40575 * sysdeps/i386/fpu_control.h: Removed.
40576 * sysdeps/x86_64/fpu_control.h: Moved to ...
40577 * sysdeps/x86/fpu_control.h: Here.
40578
40579 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40580 (_FPU_SETCW): Likewise.
40581
405822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40583
40584 [BZ #14117]
40585 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40586 * sysdeps/x86/fpu/bits/mathinline.h: This.
40587 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40588
40589 [BZ #14050]
40590 [BZ #14117]
40591 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40592 functions if __x86_64__ is defined.
40593
405942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40595
40596 * string/endian.h: Add !__ASSEMBLER__ condition for including
40597 conversion interfaces.
40598
405992012-06-15 Joseph Myers <joseph@codesourcery.com>
40600
40601 [BZ #14241]
40602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40603 of ABS(x) in calculating zero to negative powers other than odd
40604 integers.
40605 * math/libm-test.inc (pow_test): Add more tests.
40606
406072012-06-15 Andreas Jaeger <aj@suse.de>
40608
40609 * manual/contrib.texi (Contributors): Update entry of Liubov
40610 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40611 Machado Filho.
40612
406132012-06-15 Cyril Hrubis <metan@ucw.cz>
40614
40615 * string/string.h: Add __wur to GNU version of strerror_r.
40616
406172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40618
40619 [BZ #14229]
40620 * string/Makefile (tests): Add tst-strtok_r.
40621 * string/tst-strtok_r.c: New file.
40622 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40623 RAX_LP/RDX_LP on SAVE_PTR.
40624
406252012-06-14 Roland McGrath <roland@hack.frob.com>
40626
40627 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40628
406292012-06-14 Joseph Myers <joseph@codesourcery.com>
40630
40631 * libm_test.inc (csqrt_test): Allow more spurious underflow
40632 exceptions.
40633 (j0_test): Likewise.
40634 (j1_test): Likewise.
40635 (y0_test): Likewise.
40636 (y1_test): Likewise.
40637
406382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40639
40640 * po/Makefile (libc.pot): Use UTF-8 charset.
40641
406422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40643
40644 [BZ #14210]
40645 Suppress sign-conversion warning from FD_SET.
40646 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40647 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40648 not unsigned long int.
40649 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40650
406512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40652
40653 [BZ #14050]
40654 [BZ #14117]
40655 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40656 __extern_always_inline instead of __extern_inline.
40657 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40658 (__signbit): Likewise.
40659 (__signbitl): Support C++ namespace.
40660 (lrintf): New inline function.
40661 (lrint): Likewise.
40662 (llrintf): Likewise.
40663 (llrint): Likewise.
40664 (fmaxf): Likewise.
40665 (fmax): Likewise.
40666 (fminf): Likewise.
40667 (fmin): Likewise.
40668 (rint): Likewise.
40669 (rintf): Likewise.
40670 (ceil): Likewise.
40671 (ceilf): Likewise.
40672 (floor): Likewise.
40673 (floorf): Likewise.
40674 (nearbyint): Likewise.
40675 (nearbyintf): Likewise.
40676
406772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40678
40679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40680 non-default versions.
40681
406822012-06-11 Roland McGrath <roland@hack.frob.com>
40683
40684 [BZ #14218]
40685 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40686
406872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40688
40689 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40690 (FE_UPWARD, FE_DOWNWARD): Don't define.
40691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40693
40694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40695 reading it.
40696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40698
406992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40700
40701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40703 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40705
407062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40707
40708 [BZ #14117]
40709 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40710 * sysdeps/i386/fpu/Implies: New file.
40711 * sysdeps/x86_64/fpu/Implies: Likewise.
40712 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40713 * sysdeps/x86/fpu/bits/fenv.h: This.
40714
40715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40716 __SSE_MATH__.
40717
407182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40719
40720 [BZ #14134]
40721 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40722 character 0xffff that matches the last element of the
40723 conversion table.
40724
407252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40726
40727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40728 fmodl commit.
40729
407302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40731
40732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40733 values higher than 25.6283.
40734
407352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40736
40737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40738 subnormal exponent extraction and add some __builtin_expect.
40739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40740 Fix for subnormal mantissa calculation.
40741
407422012-06-04 Mike Frysinger <vapier@gentoo.org>
40743
40744 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40745 cpu2 is -1 and errno is not ENOSYS.
40746
407472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40748
40749 [BZ #14117]
40750 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40751 * sysdeps/x86/bits/string.h: This.
40752 * sysdeps/x86_64/bits/string.h: Removed.
40753
40754 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40755 if not compiling for x86-64, but compiling for >= i486.
40756
40757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40759
40760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40761 New macro from Linux kernel 3.4.0.
40762 (FP_XSTATE_MAGIC2): Likewise.
40763 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40764 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40765 (struct _fpx_sw_bytes): New struct.
40766 (struct _xsave_hdr): Likewise.
40767 (struct _ymmh_state): Likewise.
40768 (struct _xstate): Likewise.
40769
40770 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40771 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40773 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40775 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40776
40777 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40779 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40780 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40781 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40782 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40783
407842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40785
40786 [BZ #13743]
40787 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40788 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40789 (sysdep_headers): Include sys/platform/ppc.h.
40790 * sysdeps/powerpc/test-gettimebase.c: Test for
40791 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40792 * manual/Makefile (appendices): Include platform.texi.
40793 * manual/contrib.texi (Contributors): Update @node pointers.
40794 * manual/maint.texi (Maintenance): Likewise.
40795 (Platform): New node.
40796 * manual/platform.texi: New file. Document the new features.
40797
407982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40799 Jakub Jelinek <jakub@redhat.com>
40800
40801 [BZ #14188]
40802 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40803 where __builtin_expect is unavailable.
40804
408052012-06-03 David S. Miller <davem@davemloft.net>
40806
40807 * stdlib/longlong.h: Updated from GCC.
40808
408092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40810
40811 [BZ #14042]
40812 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40813 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40814 __mcount_internal.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40816 (GLIBC_2.16): Likewise.
40817
408182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40819
40820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40821
408222012-06-01 Joseph Myers <joseph@codesourcery.com>
40823
40824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40825 (default-abi): New variable.
40826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40828 variable.
40829 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40830 Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40832 Likewise.
40833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40834 Likewise.
40835
40836 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40837 definition. Document in comment.
40838
408392012-06-01 David S. Miller <davem@davemloft.net>
40840
40841 * stdlib/longlong.h: Updated from GCC.
40842
408432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40844
40845 [BZ #14117]
40846 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40847 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40848 sys/debugreg.h sys/io.h here.
40849 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40850 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40851 sys/io.h.
40852 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40853 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40854 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40855 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40856 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40857 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40858
40859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40860 Define only if __x86_64__ is defined.
40861
408622012-06-01 Joseph Myers <joseph@codesourcery.com>
40863
40864 [BZ #14048]
40865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40866 Use int64_t for variable i.
40867 * math/libm-test.inc (fmod_test): Add more tests.
40868
40869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40870 z computation is not scheduled after fetestexcept.
40871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40872 Use math_force_eval instead of asm to ensure calculation scheduled
40873 before exception test.
40874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40875 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40876
408772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40878
40879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40880 computation is not scheduled after fetestexcept.
40881
408822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40883
40884 [BZ #14117]
40885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40887
408882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40889
40890 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40892
408932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40894
40895 [BZ #14117]
40896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40897 <bits/wordsize.h>.
40898 (__WCHAR_MIN): Support __WORDSIZE == 64.
40899 (__WCHAR_MAX): Likewise.
40900
40901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40903
40904 [BZ #14183]
40905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40906 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40907
40908 [BZ #14117]
40909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40911
40912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40913 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40914
40915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40916 Defined to 1 if __x86_64__ isn't defined.
40917 (_STAT_VER_LINUX_OLD): New.
40918 (st_atime): Remove duplicate.
40919 (st_mtime): Likewise.
40920 (st_ctime): Likewise.
40921
409222012-05-31 David S. Miller <davem@davemloft.net>
40923
40924 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40925 entries.
40926
409272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40928
40929 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40930 gen-libm-test.pl.
40931
40932 [BZ #14132]
40933 * elf/dl-reloc.c: Include <_itoa.h>.
40934 (_dl_reloc_bad_type): Remove use of INTUSE.
40935 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40936 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40937 * stdio-common/psiginfo.c (psiginfo): Likewise.
40938 * stdio-common/psignal.c (psignal): Likewise.
40939 * string/strsignal.c (strsignal): Likewise.
40940 * include/signal.h (_sys_siglist): Declare hidden proto.
40941 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40942 INTVARDEF with libc_hidden_data_def.
40943 * stdio-common/itoa-udigits.c: Likewise.
40944 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40945 (_itoa_lower_digits_internal): Remove declaration.
40946 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40947 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40948 (_sys_sigabbrev_internal): Remove aliases.
40949 (_sys_siglist): Define hidden alias.
40950
409512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40952
40953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40954 bits/sysctl.h.
40955
409562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40957
40958 [BZ #14117]
40959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40960 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40961
40962 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40965 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40967 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40968
40969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40972
40973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40974 with __addr.
40975 (insw): Likewise.
40976 (insl): Likewise.
40977 (outsb): Likewise.
40978 (outsw): Likewise.
40979 (outsl): Likewise.
40980
40981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40984
40985 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40991
40992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40993 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40994
40995 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40997
40998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41001
41002 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41003 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41004 to ...
41005 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41006
41007 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41009 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41010
41011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41012 for x86-64.
41013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41014
410152012-05-31 Joseph Myers <joseph@codesourcery.com>
41016
41017 * math/math.h (M_El): Use two more decimal places.
41018 (M_LOG2El): Likewise.
41019 (M_LOG10El): Likewise.
41020 (M_LN2l): Likewise.
41021 (M_LN10l): Likewise.
41022 (M_PIl): Likewise.
41023 (M_PI_2l): Likewise.
41024 (M_PI_4l): Likewise.
41025 (M_1_PIl): Likewise.
41026 (M_2_PIl): Likewise.
41027 (M_2_SQRTPIl): Likewise.
41028 (M_SQRT2l): Likewise.
41029 (M_SQRT1_2l): Likewise.
41030
410312012-05-31 David S. Miller <davem@davemloft.net>
41032
41033 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41034 values between float registers.
41035 * sysdeps/sparc/sparc64/memset.S: Likewise.
41036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41037
410382012-05-31 Mike Frysinger <vapier@gentoo.org>
41039
41040 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41041 -D_FORTIFY_SOURCE=1.
41042 (CPPFLAGS-tst-longjmp_chk.c): Define.
41043 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41044 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41045 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41046 CFLAGS-tst-wchar-h.c.
41047
410482012-05-31 Marek Polacek <polacek@redhat.com>
41049
41050 [BZ #14132]
41051 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41052 __endmntent_internal): Remove declaration.
41053 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41054 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41055 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41056
410572012-05-30 David S. Miller <davem@davemloft.net>
41058
41059 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41060 (___Q_simulate_exceptions): Use real FP ops rather than writing
41061 into the %fsr.
41062 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41063 Likewise.
41064
410652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41066
41067 [BZ #14117]
41068 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41069 * sysdeps/x86/bits/xtitypes.h: This.
41070
41071 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41072 * sysdeps/x86/bits/wordsize.h: This.
41073
41074 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41075 * sysdeps/x86/bits/huge_vall.h: This.
41076
41077 * sysdeps/i386/bits/select.h: Removed.
41078 * sysdeps/x86_64/bits/select.h: Renamed to ...
41079 * sysdeps/x86/bits/select.h: This.
41080
41081 * sysdeps/i386/bits/setjmp.h: Removed.
41082 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41083 * sysdeps/x86/bits/setjmp.h: This.
41084
41085 * sysdeps/i386/bits/mathdef.h: Removed.
41086 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41087 * sysdeps/x86/bits/mathdef.h: This.
41088
410892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41090
41091 [BZ #14132]
41092 * include/sys/socket.h (__connect_internal)
41093 (__libc_sa_len_internal): Remove declaration.
41094 (__connect, __libc_sa_len): Declare hidden_proto.
41095 (SA_LEN): Remove use of INTUSE.
41096 * socket/connect.c: Add libc_hidden_def.
41097 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41098 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41099 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41100 alias.
41101 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41103 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41104 of adding _internal alias.
41105
411062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41107
41108 [BZ #14117]
41109 * sysdeps/i386/bits/link.h: Removed.
41110 * sysdeps/i386/bits/linkmap.h: Likewise.
41111 * sysdeps/x86_64/bits/link.h: Renamed to ...
41112 * sysdeps/x86/bits/link.h: This.
41113 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41114 * sysdeps/x86/bits/linkmap.h: This.
41115
41116 * sysdeps/i386/bits/endian.h: Removed.
41117 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41118 * sysdeps/x86/bits/endian.h: This.
41119
41120 * sysdeps/i386/bits/byteswap.h: Removed.
41121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41122 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41123 * sysdeps/x86/bits/byteswap.h: This.
41124 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41125 * sysdeps/x86/bits/byteswap-16.h: This.
41126 * sysdeps/i386/Implies: Add x86.
41127 * sysdeps/x86_64/Implies: Likewise.
41128
411292012-05-30 David S. Miller <davem@davemloft.net>
41130
41131 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41132 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41134 (FP_TRAPPING_EXCEPTIONS): Define.
41135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41136 (FP_TRAPPING_EXCEPTIONS): Define.
41137 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41138 subnormals only when inexact has been signalled or underflow
41139 exceptions are enabled.
41140 (_FP_PACK_CANONICAL): Likewise.
41141
411422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41143
41144 [BZ #14183]
41145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41146 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41147
411482012-05-30 Richard Henderson <rth@twiddle.net>
41149
41150 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41151 with #ifndef NOT_IN_libc.
41152
41153 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41154 marked to avoid plt entry.
41155
411562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41157
41158 [BZ #14112]
41159 * Makeconfig (default-abi): New macro.
41160 (abi-includes): Likewise.
41161 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41162 $(abi-$(default-abi)-lib-soname) for soname if defined.
41163 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41164 abi-variants.
41165 * Makefile (installed-stubs): Likewise.
41166 * include/stubs-biarch.h: Removed.
41167 * scripts/lib-names.awk: Only handle one library at a time.
41168 * scripts/soversions.awk: Remove WORDSIZE support.
41169 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41170 entries.
41171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41172 Removed.
41173 (syscall-list-default-condition): Likewise.
41174 (syscall-list-default-condition): Likewise.
41175 (syscall-list-includes): Likewise.
41176 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41177 syscall-list-* with abi-*. Handle undefined abi-variants.
41178 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41179 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41180 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41181 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41183 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41184 Removed.
41185 (syscall-list-32-options): Likewise.
41186 (syscall-list-32-condition): Likewise.
41187 (syscall-list-64-options): Likewise.
41188 (syscall-list-64-condition): Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41190 macro.
41191 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41192 Renamed to ...
41193 (abi-*): This.
41194 (abi-64-ld-soname): New macro.
41195 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41196 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41197 Renamed to ...
41198 (abi-*): This.
41199 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41200 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41201
412022012-05-30 Joseph Myers <joseph@codesourcery.com>
41203
41204 * sysdeps/unix/sysv/linux/kernel-features.h
41205 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41206 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41207 include <kernel-features.h>.
41208 [!__NR_ftruncate64]: Remove conditional code.
41209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41210 [__NR_ftruncate64]: Make code unconditional.
41211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41212 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41213 include <kernel-features.h>.
41214 [!__NR_ftruncate64]: Remove conditional code.
41215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41216 [__NR_ftruncate64]: Make code unconditional.
41217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41219 include <kernel-features.h>.
41220 [!__NR_ftruncate64]: Remove conditional code.
41221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41222 [__NR_ftruncate64]: Make code unconditional.
41223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41225 include <kernel-features.h>.
41226 [!__NR_ftruncate64]: Remove conditional code.
41227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41228 [__NR_ftruncate64]: Make code unconditional.
41229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41230
41231 * configure.in (libc_cv_fpie): Weaken to a compile test using
41232 LIBC_TRY_CC_OPTION.
41233 * configure: Regenerated.
41234
412352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41236
41237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41241 Refreshed.
41242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41248 Refreshed.
41249
412502012-05-27 David S. Miller <davem@davemloft.net>
41251
41252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41253 (___Q_zero): New.
41254 (__Q_simulate_exceptions): Return void. Change to simulate
41255 exceptions by writing into the %fsr.
41256 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41257 (__Qp_handle_exceptions): Likewise.
41258 (numbers): Delete.
41259 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41260 __Qp_handle_exceptions.
41261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41262 __Qp_handle_exceptions.
41263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41264 as unused and give dummy FP_RND_NEAREST initializer.
41265 (FP_INHIBIT_RESULTS): Define.
41266 (___Q_simulate_exceptions): Update declaration.
41267 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41268 formatting.
41269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41270 as unused and give dummy FP_RND_NEAREST initializer.
41271 (__Qp_handle_exceptions): Update declaration.
41272 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41273 formatting.
41274
412752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41276
41277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41278 the temporary FPU control word.
41279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41280 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41285 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41288 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41290
412912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41292
41293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41294 fields.
41295
412962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41297
41298 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41299 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41302 Likewise.
41303 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41304 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41305 Likewise.
41306
413072012-05-27 Ulrich Drepper <drepper@gmail.com>
41308
41309 * po/h.po: Update from translation team.
41310
413112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41312
41313 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41314
41315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41316 handling of denormals.
41317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41318 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41324 Likewise.
41325
413262012-05-26 Marek Polacek <polacek@redhat.com>
41327
41328 [BZ #14152]
41329 * math/libm-test.inc (fma_test): Don't always expect underflow
41330 exception.
41331
413322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41333
41334 [BZ #12416]
41335 * elf/tst-execstack.c: Include stackinfo.h.
41336 (do_test): Adjust test case to ensure that pthread_getattr_np
41337 behaviour remains the same after marking stack executable.
41338
413392012-05-25 Joseph Myers <joseph@codesourcery.com>
41340
41341 * sysdeps/unix/sysv/linux/kernel-features.h
41342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41344 kernel-features.h.
41345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41347 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41348 kernel-features.h.
41349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41351
413522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * configure.in: Define the default includes to being none.
41355 * configure: Regenerated.
41356
413572012-05-25 Roland McGrath <roland@hack.frob.com>
41358
41359 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41360 * sysdeps/x86_64/setjmp.S: Likewise.
41361 * sysdeps/i386/bsd-setjmp.S: Likewise.
41362 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41363 * sysdeps/i386/setjmp.S: Likewise.
41364 * sysdeps/i386/__longjmp.S: Likewise.
41365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41367
41368 * include/stap-probe.h: New file.
41369 * configure.in: Handle --enable-systemtap.
41370 * configure: Regenerated.
41371 * config.h.in (USE_STAP_PROBE): New #undef.
41372 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41373 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41374 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41375
413762012-05-25 Joseph Myers <joseph@codesourcery.com>
41377
41378 [BZ #13717]
41379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41380 to 2.4.0 where earlier.
41381 * sysdeps/unix/sysv/linux/configure: Regenerated.
41382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41383 <kernel-features.h>.
41384 [__ASSUME_32BITUIDS]: Make code unconditional.
41385 [!__ASSUME_32BITUIDS]: Remove conditional code.
41386 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41387 <kernel-features.h>.
41388 [__ASSUME_32BITUIDS]: Make code unconditional.
41389 [!__ASSUME_32BITUIDS]: Remove conditional code.
41390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41391 [__ASSUME_32BITUIDS]: Make code unconditional.
41392 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41393 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41394 <kernel-features.h>.
41395 [__ASSUME_32BITUIDS]: Make code unconditional.
41396 [!__ASSUME_32BITUIDS]: Remove conditional code.
41397 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41398 <kernel-features.h>.
41399 [__ASSUME_32BITUIDS]: Make code unconditional.
41400 [!__ASSUME_32BITUIDS]: Remove conditional code.
41401 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41402 <kernel-features.h>.
41403 [__ASSUME_32BITUIDS]: Make code unconditional.
41404 [!__ASSUME_32BITUIDS]: Remove conditional code.
41405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41406 <kernel-features.h>.
41407 [__ASSUME_32BITUIDS]: Make code unconditional.
41408 [!__ASSUME_32BITUIDS]: Remove conditional code.
41409 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41410 <kernel-features.h>.
41411 [__ASSUME_32BITUIDS]: Make code unconditional.
41412 [!__ASSUME_32BITUIDS]: Remove conditional code.
41413 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41414 <kernel-features.h>.
41415 [__ASSUME_32BITUIDS]: Make code unconditional.
41416 [!__ASSUME_32BITUIDS]: Remove conditional code.
41417 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41418 <kernel-features.h>.
41419 [__ASSUME_32BITUIDS]: Make code unconditional.
41420 [!__ASSUME_32BITUIDS]: Remove conditional code.
41421 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41422 <kernel-features.h>.
41423 [__ASSUME_32BITUIDS]: Make code unconditional.
41424 [!__ASSUME_32BITUIDS]: Remove conditional code.
41425 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41426 <kernel-features.h>.
41427 [__ASSUME_32BITUIDS]: Make code unconditional.
41428 [!__ASSUME_32BITUIDS]: Remove conditional code.
41429 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41430 <kernel-features.h>.
41431 [__ASSUME_32BITUIDS]: Make code unconditional.
41432 [!__ASSUME_32BITUIDS]: Remove conditional code.
41433 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41434 <kernel-features.h>.
41435 [__NR_setresgid] (__setresgid): Do not declare.
41436 [__ASSUME_32BITUIDS]: Make code unconditional.
41437 [!__ASSUME_32BITUIDS]: Remove conditional code.
41438 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41439 <kernel-features.h>.
41440 [__NR_setresuid] (__setresuid): Do not declare.
41441 [__ASSUME_32BITUIDS]: Make code unconditional.
41442 [!__ASSUME_32BITUIDS]: Remove conditional code.
41443 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41444 <kernel-features.h>.
41445 [__ASSUME_32BITUIDS]: Make code unconditional.
41446 [!__ASSUME_32BITUIDS]: Remove conditional code.
41447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41448 <kernel-features.h>.
41449 [__ASSUME_32BITUIDS]: Make code unconditional.
41450 [!__ASSUME_32BITUIDS]: Remove conditional code.
41451 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41452 <kernel-features.h>.
41453 [__ASSUME_32BITUIDS]: Make code unconditional.
41454 [!__ASSUME_32BITUIDS]: Remove conditional code.
41455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41456 <kernel-features.h>.
41457 [__ASSUME_32BITUIDS]: Make code unconditional.
41458 [!__ASSUME_32BITUIDS]: Remove conditional code.
41459 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41460 <kernel-features.h>.
41461 [__ASSUME_32BITUIDS]: Make code unconditional.
41462 [!__ASSUME_32BITUIDS]: Remove conditional code.
41463 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41464 <kernel-features.h>.
41465 [__ASSUME_32BITUIDS]: Make code unconditional.
41466 [!__ASSUME_32BITUIDS]: Remove conditional code.
41467 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41468 <kernel-features.h>.
41469 [__ASSUME_32BITUIDS]: Make code unconditional.
41470 [!__ASSUME_32BITUIDS]: Remove conditional code.
41471 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41472 <kernel-features.h>.
41473 [__ASSUME_32BITUIDS]: Make code unconditional.
41474 [!__ASSUME_32BITUIDS]: Remove conditional code.
41475 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41476 <kernel-features.h>.
41477 [__ASSUME_32BITUIDS]: Make code unconditional.
41478 [!__ASSUME_32BITUIDS]: Remove conditional code.
41479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41480 <kernel-features.h>.
41481 [__ASSUME_32BITUIDS]: Make code unconditional.
41482 [!__ASSUME_32BITUIDS]: Remove conditional code.
41483 * sysdeps/unix/sysv/linux/kernel-features.h
41484 (__ASSUME_SETRESUID_SYSCALL): Remove.
41485 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41486 (__ASSUME_32BITUIDS): Likewise.
41487 (__ASSUME_LDT_WORKS): Likewise.
41488 (__ASSUME_O_DIRECTORY): Likewise.
41489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41490 architecture but not kernel version.
41491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41492 (__ASSUME_MMAP2_SYSCALL): Likewise.
41493 (__ASSUME_STAT64_SYSCALL): Likewise.
41494 (__ASSUME_IPC64): Likewise.
41495 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41496 <kernel-features.h>.
41497 [__ASSUME_32BITUIDS]: Make code unconditional.
41498 [!__ASSUME_32BITUIDS]: Remove conditional code.
41499 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41500 <kernel-features.h>.
41501 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41502 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41503 132096]: Remove conditional code.
41504 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41506 <kernel-features.h>.
41507 [__ASSUME_32BITUIDS]: Make code unconditional.
41508 [!__ASSUME_32BITUIDS]: Remove conditional code.
41509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41510 <kernel-features.h>.
41511 [__ASSUME_32BITUIDS]: Make code unconditional.
41512 [!__ASSUME_32BITUIDS]: Remove conditional code.
41513 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41514 <kernel-features.h>.
41515 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41516 unconditional.
41517 (__setresgid): Do not declare.
41518 [__ASSUME_32BITUIDS]: Make code unconditional.
41519 [!__ASSUME_32BITUIDS]: Remove conditional code.
41520 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41521 <kernel-features.h>.
41522 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41523 unconditional.
41524 (__setresuid): Do not declare.
41525 [__ASSUME_32BITUIDS]: Make code unconditional.
41526 [!__ASSUME_32BITUIDS]: Remove conditional code.
41527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41528 <kernel-features.h>.
41529 [__ASSUME_32BITUIDS]: Make code unconditional.
41530 [!__ASSUME_32BITUIDS]: Remove conditional code.
41531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41532 <kernel-features.h>.
41533 [__ASSUME_32BITUIDS]: Make code unconditional.
41534 [!__ASSUME_32BITUIDS]: Remove conditional code.
41535
415362012-05-25 Richard Henderson <rth@twiddle.net>
41537
41538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41539 dl_hwcap to ifunc resolver.
41540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41541 elf_ifunc_invoke.
41542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41543 dl_hwcap to ifunc resolver.
41544 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41545
415462012-05-24 Joseph Myers <joseph@codesourcery.com>
41547
41548 [BZ #14153]
41549 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41550 for |x| <= 2**-26, not 2**-57.
41551 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41552 exception.
41553
415542012-05-24 Jeff Law <law@redhat.com>
41555
41556 * stdio-common/Makefile (tests): Add bug25.
41557 * stdio-common/bug25.c: New test.
41558
415592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41560
41561 [BZ #13576]
41562 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41563 multiple of MALLOC_ALIGNMENT in size.
41564 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41565
415662012-05-24 Joseph Myers <joseph@codesourcery.com>
41567
41568 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41569 Require >= 256.
41570 (FILENAME_MAX): Use macro-int-constant.
41571 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41572 (_IOFBF): Use macro-int-constant.
41573 (_IOLBF): Likewise.
41574 (_IONBF): Likewise.
41575 (SEEK_CUR): Likewise.
41576 (SEEK_END): Likewise.
41577 (SEEK_SET): Likewise.
41578 (TMP_MAX): Likewise.
41579 (EOF): Use macro-int-constant. Require < 0.
41580 (NULL): Use macro-constant. Require == 0.
41581 (stdin): Require type to be FILE *.
41582 (stdout): Likewise.
41583 (stderr): Likewise.
41584 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41585 macro-int-constant.
41586 (EXIT_SUCCESS): Likewise.
41587 (NULL): Use macro-constant. Require == 0.
41588 (RAND_MAX): Use macro-int-constant.
41589 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41590 [C99-based standards] (strtof): Require function.
41591 [C99-based standards] (strtold): Likewise.
41592 [C99-based standards] (strtoll): Likewise.
41593 [C99-based standards] (strtoull): Likewise.
41594 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41595 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41596 [ISO || ISO99 || ISO11] (math.h): Likewise.
41597 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41598 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41600
416012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41602
41603 [BZ #14132]
41604 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41605 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41606 * intl/dgettext.c (DCGETTEXT): Likewise.
41607 * intl/gettext.c (DCGETTEXT): Likewise.
41608 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41609 * posix/regex_internal.h (gettext): Likewise.
41610 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41611 Remove declaration.
41612 * include/argz.h (__argz_count_internal)
41613 (__argz_stringify_internal): Remove declaration.
41614 (__argz_count, __argz_stringify): Declare hidden proto.
41615 * intl/dcgettext.c: Remove use of INTDEF.
41616 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41617 * string/argz-stringify.c: Likewise.
41618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41620 Declare hidden proto.
41621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41623 Declare hidden proto.
41624 * include/stdio.h (__asprintf_internal): Don't declare.
41625 (__asprintf): Don't define as macro. Declare hidden proto.
41626 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41627 (__fsetlocking): Declare hidden proto.
41628 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41629 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41630 hidden proto.
41631 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41632 (_IO_setlinebuf): Remove use of INTUSE.
41633 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41634 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41635 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41636 Remove declaration.
41637 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41638 (_IO_do_flush): Remove use of INTUSE.
41639 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41640 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41641 (_IO_adjust_column, _IO_least_wmarker)
41642 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41643 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41644 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41645 (_IO_default_doallocate, _IO_wdefault_doallocate)
41646 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41647 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41648 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41649 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41650 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41651 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41652 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41653 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41654 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41655 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41656 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41657 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41658 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41659 proto.
41660 (_IO_flush_all_internal, _IO_adjust_column_internal)
41661 (_IO_default_uflow_internal, _IO_default_finish_internal)
41662 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41663 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41664 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41665 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41666 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41667 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41668 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41669 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41670 (_IO_file_close_internal, _IO_file_close_it_internal)
41671 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41672 (_IO_file_init_internal, _IO_file_attach_internal)
41673 (_IO_file_fopen_internal, _IO_file_read_internal)
41674 (_IO_file_sync_internal, _IO_file_seek_internal)
41675 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41676 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41677 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41678 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41679 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41680 (_IO_list_all_internal, _IO_link_in_internal)
41681 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41682 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41683 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41684 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41685 (_IO_do_write_internal, _IO_padn_internal)
41686 (_IO_getline_info_internal, _IO_getline_internal)
41687 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41688 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41689 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41690 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41691 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41692 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41693 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41694 with libc_hidden_ver, remove use of INTUSE.
41695 * libio/genops.c: Likewise.
41696 * libio/freopen.c: Likewise.
41697 * libio/freopen64.c: Likewise.
41698 * libio/iofclose.c: Likewise.
41699 * libio/iofdopen.c: Likewise.
41700 * libio/iofflush.c: Likewise.
41701 * libio/iofflush_u.c: Likewise.
41702 * libio/iofgets.c: Likewise.
41703 * libio/iofgets_u.c: Likewise.
41704 * libio/iofopen.c: Likewise.
41705 * libio/iofopncook.c: Likewise.
41706 * libio/iofread.c: Likewise.
41707 * libio/iofread_u.c: Likewise.
41708 * libio/ioftell.c: Likewise.
41709 * libio/iofwrite.c: Likewise.
41710 * libio/iogetline.c: Likewise.
41711 * libio/iogets.c: Likewise.
41712 * libio/iogetwline.c: Likewise.
41713 * libio/iopadn.c: Likewise.
41714 * libio/iopopen.c: Likewise.
41715 * libio/ioseekoff.c: Likewise.
41716 * libio/ioseekpos.c: Likewise.
41717 * libio/iosetbuffer.c: Likewise.
41718 * libio/iosetvbuf.c: Likewise.
41719 * libio/ioungetc.c: Likewise.
41720 * libio/ioungetwc.c: Likewise.
41721 * libio/iovdprintf.c: Likewise.
41722 * libio/iovsprintf.c: Likewise.
41723 * libio/iovsscanf.c: Likewise.
41724 * libio/memstream.c: Likewise.
41725 * libio/obprintf.c: Likewise.
41726 * libio/oldfileops.c: Likewise.
41727 * libio/oldiofclose.c: Likewise.
41728 * libio/oldiofdopen.c: Likewise.
41729 * libio/oldiofopen.c: Likewise.
41730 * libio/oldiopopen.c: Likewise.
41731 * libio/oldstdfiles.c: Likewise.
41732 * libio/putc.c: Likewise.
41733 * libio/setbuf.c: Likewise.
41734 * libio/setlinebuf.c: Likewise.
41735 * libio/stdfiles.c: Likewise.
41736 * libio/strops.c: Likewise.
41737 * libio/vasprintf.c: Likewise.
41738 * libio/vscanf.c: Likewise.
41739 * libio/vsnprintf.c: Likewise.
41740 * libio/vswprintf.c: Likewise.
41741 * libio/wfiledoalloc.c: Likewise.
41742 * libio/wfileops.c: Likewise.
41743 * libio/wgenops.c: Likewise.
41744 * libio/wmemstream.c: Likewise.
41745 * libio/wstrops.c: Likewise.
41746 * libio/__fpurge.c: Likewise.
41747 * libio/__fsetlocking.c: Likewise.
41748 * assert/assert.c: Likewise.
41749 * debug/fgets_chk.c: Likewise.
41750 * debug/fgets_u_chk.c: Likewise.
41751 * debug/fread_chk.c: Likewise.
41752 * debug/fread_u_chk.c: Likewise.
41753 * debug/gets_chk.c: Likewise.
41754 * debug/obprintf_chk.c: Likewise.
41755 * debug/vasprintf_chk.c: Likewise.
41756 * debug/vdprintf_chk.c: Likewise.
41757 * debug/vsnprintf_chk.c: Likewise.
41758 * debug/vsprintf_chk.c: Likewise.
41759 * malloc/mtrace.c: Likewise.
41760 * misc/error.c: Likewise.
41761 * misc/syslog.c: Likewise.
41762 * stdio-common/asprintf.c: Likewise.
41763 * stdio-common/fxprintf.c: Likewise.
41764 * stdio-common/getw.c: Likewise.
41765 * stdio-common/isoc99_fscanf.c: Likewise.
41766 * stdio-common/isoc99_scanf.c: Likewise.
41767 * stdio-common/isoc99_vfscanf.c: Likewise.
41768 * stdio-common/isoc99_vscanf.c: Likewise.
41769 * stdio-common/isoc99_vsscanf.c: Likewise.
41770 * stdio-common/printf-prs.c: Likewise.
41771 * stdio-common/printf_fp.c: Likewise.
41772 * stdio-common/printf_fphex.c: Likewise.
41773 * stdio-common/printf_size.c: Likewise.
41774 * stdio-common/putw.c: Likewise.
41775 * stdio-common/scanf.c: Likewise.
41776 * stdio-common/sprintf.c: Likewise.
41777 * stdio-common/tmpfile.c: Likewise.
41778 * stdio-common/vfprintf.c: Likewise.
41779 * stdio-common/vfscanf.c: Likewise.
41780 * stdlib/strfmon_l.c: Likewise.
41781 * sunrpc/openchild.c: Likewise.
41782 * sunrpc/xdr_stdio.c: Likewise.
41783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41784 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41785
417862012-05-24 Roland McGrath <roland@hack.frob.com>
41787
41788 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41789
41790 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41791 in the third column, to generate for the shared library an IFUNC
41792 that uses _dl_vdso_vsym.
41793 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41794 * Makeconfig (object-suffixes-noshared): New variable.
41795
41796 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41797 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41798 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41799 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41800
41801 [BZ #14132]
41802 * include/sys/time.h (__gettimeofday): Remove macro.
41803 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41804 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41805 Remove INTDEF.
41806 (__gettimeofday): Add libc_hidden_def.
41807 (gettimeofday): Add libc_hidden_weak.
41808 * sysdeps/mach/gettimeofday.c: Likewise.
41809 * sysdeps/posix/gettimeofday.c: Likewise.
41810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41811 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41813 (__gettimeofday_internal): Remove strong_alias.
41814 (__gettimeofday): Add libc_hidden_def.
41815 (gettimeofday): Add libc_hidden_weak.
41816 * sysdeps/unix/syscalls.list (gettimeofday):
41817 Remove __gettimeofday_internal alias.
41818
418192012-05-24 Daniel Jacobowitz <drow@false.org>
41820 H.J. Lu <hongjiu.lu@intel.com>
41821
41822 [BZ #12495]
41823 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41824 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41825 (largebin_index_32_big): New.
41826 (largebin_index): Use it for 16-byte alignment.
41827 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41828 correction with front_misalign.
41829
418302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41831
41832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41834 Likewise.
41835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41836 Likewise.
41837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41838 Likewise.
41839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41840 Likewise.
41841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41842 Likewise.
41843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41844 Likewise.
41845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41846 Likewise.
41847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41848 Likewise.
41849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41850 Likewise.
41851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41852 Likewise.
41853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41854 Likewise.
41855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41856 Likewise.
41857
41858 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41859 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41860
418612012-05-24 Joseph Myers <joseph@codesourcery.com>
41862
41863 [BZ #10846]
41864 [BZ #14036]
41865 * math/libm-test.inc (exp_test): Add test from bug 14036.
41866 (pow_test): Add test from bug 10846.
41867
41868 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41869 and other flags.
41870 (special_function): Do not include flags in test name.
41871 (parse_args): Likewise.
41872 * sysdeps/i386/fpu/libm-test-ulps: Update.
41873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41874 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41877
41878 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41879 exceptions.
41880 * math/libm-test.inc ("Philosophy"): Update comment about
41881 exception testing.
41882 (UNDERFLOW_EXCEPTION): New macro.
41883 (UNDERFLOW_EXCEPTION_OK): Likewise.
41884 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41885 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41886 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41887 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41888 (INVALID_EXCEPTION_OK): Update value.
41889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41890 (OVERFLOW_EXCEPTION_OK): Likewise.
41891 (IGNORE_ZERO_INF_SIGN): Likewise.
41892 (test_exceptions): Handle underflow exceptions.
41893 (acos_test): Update for underflow exception expectations.
41894 (cexp_test): Likewise.
41895 (clog_test): Likewise.
41896 (clog10_test): Likewise.
41897 (csqrt_test): Likewise.
41898 (ctan_test): Likewise.
41899 (ctanh_test): Likewise.
41900 (exp_test): Likewise.
41901 (exp10_test): Likewise.
41902 (exp2_test): Likewise.
41903 (expm1_test): Likewise.
41904 (fma_test): Likewise.
41905 (j0_test): Likewise.
41906 (jn_test): Likewise.
41907 (nexttoward_test): Likewise.
41908 (pow_test): Likewise.
41909 (scalbn_test): Likewise.
41910 (scalbln_test): Likewise.
41911 (tan_test): Likewise.
41912 (y1_test): Likewise.
41913 * sysdeps/i386/fpu/libm-test-ulps: Update.
41914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41915
419162012-05-23 David S. Miller <davem@davemloft.net>
41917
41918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41919 (__libc_sigaction): Remove unused local variables.
41920
419212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41922
41923 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41924
419252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41926
41927 mktime: avoid signed integer overflow
41928 * time/mktime.c (__mktime_internal): Do not mishandle the case
41929 where diff == INT_MIN.
41930
41931 mktime: simplify computation of average
41932 * time/mktime.c (ranged_convert): Use new time_t_avg function
41933 instead of rolling our own (probably-slower) code.
41934
41935 mktime: do not assume signed right shift propagates sign bit
41936 * time/mktime.c (isdst_differ): New static function.
41937 (__mktime_internal): No need to normalize tm_isdst now.
41938 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41939 tm_isdst values.
41940
41941 mktime: merge another wrapv change from gnulib
41942 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41943 from some compilers.
41944
41945 mktime: remove incorrect attempt at unusual arithmetics
41946 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41947 The code didn't really work on such machines anyway.
41948 (TYPE_MINIMUM): Assume two's complement.
41949 (twos_complement_arithmetic): Verify that long_int and time_t
41950 are two's complement (or unsigned, in the latter case).
41951
41952 mktime: check signed shifts on long_int and time_t, too
41953 * time/mktime.c (SHR): Check that shifts work as desired
41954 on the types long_int and time_t too, as SHR is used on
41955 such types.
41956
41957 mktime: do not assume 'long' is wide enough
41958 * time/mktime.c (verify): Move decl up.
41959 (long_int): New type.
41960 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41961 to remove assumption in the code that 'long' is wide enough to
41962 store year values. This assumption is not true on x32 and on
41963 some non-glibc platforms.
41964
41965 mktime: merge wrapv change from gnulib
41966 * time/mktime.c (WRAPV): New macro.
41967 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41968 (guess_time_tm, __mktime_internal): Do not assume that signed
41969 integer overflow wraps around; modern compilers generate code
41970 where this assumption is no longer valid.
41971
419722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41973
41974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41975 Replace "jmp L(pseudo_end)" with "ret".
41976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41977 Likewise.
41978
419792012-05-23 Andreas Jaeger <aj@suse.de>
41980
41981 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41982 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41983
419842012-05-23 Andreas Jaeger <aj@suse.de>
41985 Maximilian Attems <max@stro.at>
41986
41987 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41988 New macros.
41989
419902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41991
41992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41993 code so that pseudo_end is just ret and the stack pointer is
41994 correct also for static library in error case.
41995
419962012-05-23 Joseph Myers <joseph@codesourcery.com>
41997
41998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41999 move to syscalls.list.
42000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42004
42005 * manual/install.texi (Running make install): Do not mention Linux
42006 kernel version for which pt_chown is not needed.
42007 (Linux): Do not mention problems with nscd with 2.0 kernels.
42008 * INSTALL: Regenerated.
42009
420102012-05-23 Andreas Jaeger <aj@suse.de>
42011
42012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42013 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42014 macro.
42015 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42017 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42019 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42025 * sysdeps/unix/sysv/linux/bits/in.h
42026 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42027
420282012-05-22 Roland McGrath <roland@hack.frob.com>
42029
42030 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42031 (PREPARE_VERSION): Just use assert instead, it will be elided
42032 under [NDEBUG] anyway.
42033
420342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42035
42036 * sysdeps/unix/sysv/linux/Makefile: Include
42037 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42038 (sysdep_routines): Remove sysctl.
42039 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42040 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42041 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42042 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42043 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42044
420452012-05-22 Andreas Jaeger <aj@suse.de>
42046
42047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42048 that pseudo_end is just ret and the stack pointer is correct also
42049 for static library in error case.
42050
420512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42052
42053 [BZ #14122]
42054 * nss/nsswitch.c (defconfig_entries): New variable.
42055 (__nss_database_lookup): Don't leak defconfig entries.
42056 (nss_parse_service_list): Don't leak on error paths.
42057 (free_database_entries): New function.
42058 (free_defconfig): New function.
42059 (free_mem): Move common code to free_database_entries.
42060
420612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42064 Add arch_prctl.
42065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42066
42067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42068 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42070 New macro.
42071 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42072 (INTERNAL_SYSCALL_TYPES): Likewise.
42073 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42074 (LOAD_REGS_TYPES_[1-6]): Likewise.
42075 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42076 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42077
420782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42079
42080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42081 copysignl for GLIBC_2_0.
42082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42083 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42085 logbl for GLIBC_2_0.
42086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42088
420892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42093
42094 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42095 Use "neg %eax".
42096
42097 * time/mktime.c: Update copyright years.
42098
420992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42100
42101 mktime: merge comment-quoting-style change from gnulib
42102 * time/mktime.c: Quote 'like this' in comments.
42103 The GNU coding standards suggest that we no longer quote `like this',
42104 as "`" and "'" are typically rendered asymmetrically nowadays.
42105 The typical gnulib style is to quote 'like this' when quoting
42106 code, and "like this" when quoting English.
42107
42108 * time/mktime.c (compile-command): Add "-I.".
42109
42110 mktime: merge mktime-internal.h change from gnulib
42111 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42112
42113 mktime: merge time_r change from gnulib
42114 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42115
42116 mktime: merge DEBUG change from gnulib
42117 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42118 case system <time.h> has a #define.
42119
42120 mktime: merge <sys/types.h> change from gnulib
42121 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42122 since <time.t> is now guaranteed to define time_t.
42123
42124 mktime: merge HAVE_CONFIG_H change from gnulib
42125 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42126
421272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42128
42129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42130 Use "neg %eax".
42131
42132 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42133 __rlim_t cast.
42134 (struct rusage): Use anonymous union to pad each field to
42135 __syscall_slong_t.
42136
421372012-05-21 David S. Miller <davem@davemloft.net>
42138
42139 * Makefules (o-iterator): Remove .s cases.
42140 (compile-command.s): Delete.
42141 (COMPILE.s): Delete.
42142 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42143
421442012-05-21 Joseph Myers <joseph@codesourcery.com>
42145
42146 * configure.in (libc_cv_predef_stack_protector): Only consider
42147 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42148 * configure: Regenerated.
42149
421502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42151
42152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42153 New macro. Use R*LP on int and pointer.
42154 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42155 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42157 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42158
42159 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42160 [__WORDSIZE_TIME64_COMPAT32] instead of
42161 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42162 (struct utmp): Likewise.
42163 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42164 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42165 Renamed to ...
42166 (__WORDSIZE_TIME64_COMPAT32): This.
42167 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42168 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42169 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42170 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42172 (__WORDSIZE_TIME64_COMPAT32): New macro.
42173
421742012-05-21 Andreas Jaeger <aj@suse.de>
42175
42176 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42177 only if [SHARED]. Add prototype for __wcschr_ia32.
42178
421792012-05-21 Roland McGrath <roland@hack.frob.com>
42180
42181 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42182 of %rbp unmolested in the jmp_buf while mangling the low bits.
42183 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42184 unmolested high bits of %rbp while demangling the low bits.
42185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42186
421872012-05-21 Andreas Jaeger <aj@suse.de>
42188
42189 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42190 * sunrpc/svc_simple.c: Use it for registerrpc.
42191 * sunrpc/xcrypt.c: Use it for passwd2des.
42192
42193 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42194
421952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42196
42197 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42198 Don't define if [__SYSCALL_WORDSIZE != 32].
42199 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42200 New macro.
42201
422022012-05-21 Bruno Haible <bruno@clisp.org>
42203 Andreas Jaeger <aj@suse.de>
42204
42205 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42206 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42207 inptr and inend for must_buffer_ch.
42208 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42209 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42210 * stdio-common/Makefile (tests): Remove bug15.
42211 (bug15-ENV): Remove macro.
42212 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42213 anymore.
42214
422152012-05-19 Andreas Jaeger <aj@suse.de>
42216 Roland McGrath <roland@hack.frob.com>
42217
42218 * manual/contrib.texi: Completely rewritten. It contains now an
42219 alphabetical list of contributors and their contributions.
42220
422212012-05-21 Richard Henderson <rth@twiddle.net>
42222
42223 * misc/getauxval.c (__getauxval): Use unsigned long int.
42224 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42225 (getauxval): Use unsigned long int.
42226
422272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42228
42229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42230
422312012-05-21 Roland McGrath <roland@hack.frob.com>
42232
42233 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42234 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42235 __alignof__ (long double).
42236
422372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42238
42239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42240
422412012-05-20 Richard Henderson <rth@twiddle.net>
42242
42243 * misc/getauxval.c: New file.
42244 * misc/sys/auxv.h: New file.
42245 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42246 (routines): Add getauxval.
42247 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42249 * elf/dl-sysdep.c (_dl_auxv): Remove.
42250 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42251 * elf/dl-support.c (_dl_auxv): New variable.
42252 (_dl_aux_init): Initialize it.
42253 * manual/startup.texi (Auxiliary Vector): New node.
42254 * sysdeps/generic/bits/hwcap.h: New file.
42255 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42256 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42257 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42258 * sysdeps/sparc/sysdep.h: ... here. Include it.
42259 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42262 Update.
42263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42271
422722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42273
42274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42275
422762012-05-19 David S. Miller <davem@davemloft.net>
42277
42278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42279
422802012-05-19 Joseph Myers <joseph@codesourcery.com>
42281
42282 [BZ #14123]
42283 * math/s_ccosh.c: Include <float.h>
42284 (__ccosh): Avoid internal overflow calculating sinh and cosh
42285 values before multiplying by sin and cos values.
42286 * math/s_ccoshf.c: Likewise.
42287 * math/s_ccoshl.c: Likewise.
42288 * math/s_csin.c: Likewise.
42289 * math/s_csinf.c: Likewise.
42290 * math/s_csinl.c: Likewise.
42291 * math/s_csinh.c: Likewise.
42292 * math/s_csinhf.c: Likewise.
42293 * math/s_csinhl.c: Likewise.
42294 * math/libm-test.inc (ccos_test): Add more tests.
42295 (ccosh_test): Likewise.
42296 (csin_test): Likewise.
42297 (csinh_test): Likewise.
42298 * sysdeps/i386/fpu/libm-test-ulps: Update.
42299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42300
423012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42302
42303 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42304 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42305
42306 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42307
423082012-05-19 Joseph Myers <joseph@codesourcery.com>
42309
42310 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42311 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42312 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42313 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42314 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42315 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42316 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42317 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42318 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42319 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42320 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42321 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42322 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42323 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42324 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42325 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42326 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42327 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42328 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42329 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42330 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42331 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42332 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42333 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42334 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42335 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42336 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42337 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42338 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42339 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42340 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42341
423422012-05-18 Andreas Jaeger <aj@suse.de>
42343
42344 * csu/.gitignore: Delete.
42345
423462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42347
42348 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42349 (timex): Use __syscall_slong_t.
42350
423512012-05-18 Andreas Jaeger <aj@suse.de>
42352 Carlos O'Donell <carlos_odonell@mentor.com>
42353
42354 * manual/install.texi (Configuring and compiling): Update
42355 description about files modified in the source directory.
42356 * INSTALL: Regenerated.
42357
423582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42359
42360 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42361 value. Use "or" to set return value to -1.
42362 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42363 negate return value.
42364
423652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42366
42367 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42368 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42369 failure if the compiler has Graphite support disabled.
42370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42371 Likewise.
42372 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42373 (CFLAGS-memmove.c): Likewise.
42374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42375 Likewise.
42376
423772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42378
42379 * sysdeps/x86_64/x32/_itoa.h: New file.
42380
42381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42382 getdents system call only if kernel and user dirents have the
42383 same d_ino and d_off.
42384
42385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42386 LLONG_MAX != LONG_MAX.
42387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42388 (_fitoa_word): Likewise.
42389
42390 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42391 years.
42392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42395
42396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42397 include <bits/wordsize.h>. Check __x86_64__ instead of
42398 __WORDSIZE.
42399 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42400 if __x86_64__ is defined. Use anonymous union on fpstate.
42401
42402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42403 anonymous union.
42404
424052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42406
42407 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42408 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42410 Refer to _rtld_local_ro instead of _rtld_global_ro.
42411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42412 Likewise.
42413 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42414 Likewise.
42415 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42416 Likewise.
42417 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42418 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42419 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42420
42421 * sysdeps/powerpc/powerpc32/dl-machine.c
42422 (__elf_machine_runtime_setup) [PROF]: Don't reference
42423 _dl_prof_resolve.
42424
424252012-05-18 Andreas Jaeger <aj@suse.de>
42426
42427 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42428 function only available for GCCs before 3.4 since GCC 3.4
42429 introduced a builtin.
42430 (lrint): Likewise.
42431 (llrintf): Likewise.
42432 (llrint): Likewise.
42433 (fmaxf): Likewise.
42434 (fmax): Likewise.
42435 (fminf): Likewise.
42436 (fmin): Likewise.
42437 (rint): Likewise.
42438 (rintf): Likewise.
42439 (nearbyint): Likewise.
42440 (nearbyintf): Likewise.
42441 (ceil): Likewise.
42442 (ceilf): Likewise.
42443 (floor): Likewise.
42444 (floorf): Likewise.
42445
424462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42447
42448 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42449 on both fields and cast pointer to __syscall_ulong_t.
42450
42451 * bits/types.h (__fsword_t): New type.
42452 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42453 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42455 (__FSWORD_T_TYPE): Likewise.
42456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42457 (__FSWORD_T_TYPE): Likewise.
42458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42459 (__FSWORD_T_TYPE): Likewise.
42460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42461 (__FSWORD_T_TYPE): Likewise.
42462 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42463 __SWORD_TYPE with __fsword_t.
42464 (statfs64): Likewise.
42465
424662012-05-17 David S. Miller <davem@davemloft.net>
42467
42468 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42469
424702012-05-17 Andreas Jaeger <aj@suse.de>
42471
42472 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42473 warning.
42474
424752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42476
42477 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42478
424792012-05-17 Andreas Jaeger <aj@suse.de>
42480
42481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42482 when it is used.
42483
424842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42485
42486 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42487
424882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42489
42490 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42491 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42492
424932012-05-17 Andreas Jaeger <aj@suse.de>
42494 Carlos O'Donell <carlos_odonell@mentor.com>
42495
42496 [BZ #14059]
42497 * sysdeps/x86_64/multiarch/init-arch.h
42498 (bit_YMM_Usable): Rename to...
42499 (bit_AVX_Usable): ... this.
42500 (bit_FMA4_Usable): New macro.
42501 (bit_XMM_state): New macro.
42502 (bit_YMM_state): New macro.
42503 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42504 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42505 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42506 (CPUID_OSXSAVE): New macro.
42507 (CPUID_AVX): New macro.
42508 (CPUID_FMA4): New macro.
42509 (index_YMM_Usable): Rename to...
42510 (index_AVX_Usable): ... this.
42511 (HAS_AVX): Use HAS_ARCH_FEATURE.
42512 (HAS_FMA4): Likewise.
42513 (HAS_YMM_USABLE): Remove.
42514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42515 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42516 are present.
42517 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42518 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42519 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42520 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42521 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42522
425232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42524
42525 * math/libm-test.c: Support platforms without multiple rounding modes.
42526 * math/bug-nextafter.c: Support platforms without FP exceptions.
42527 * math/bug-nexttoward.c: Likewise.
42528 * math/test-fenv.c: Likewise.
42529 * math/test-misc.c: Likewise.
42530 * stdlib/bug-getcontext.c: Likewise.
42531
425322012-05-17 Andreas Jaeger <aj@suse.de>
42533
42534 * manual/examples/search.c (critter_cmp): Change signature to
42535 avoid warnings.
42536 * manual/string.texi (Collation Functions): Likewise.
42537
425382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * bits/types.h: Fold copyright years.
42541 * bits/typesizes.h: Likewise.
42542 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42546 * time/time.h: Likewise.
42547
425482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42549
42550 [BZ #208]
42551 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42552 in instead of returning them. Return void.
42553 (__libc_mallinfo): Accumulate over all arenas.
42554 (__malloc_stats): Adjust for change in int_mallinfo interface.
42555
425562012-05-16 Roland McGrath <roland@hack.frob.com>
42557
42558 [BZ #10375]
42559 * configure.in (NM): Add AC_CHECK_TOOL for it.
42560 (libc_extra_cflags): New substituted variable.
42561 Check for -fstack-protector being used implicitly.
42562 * configure: Regenerated.
42563 * config.make.in (config-extra-cflags): New variable,
42564 gets @libc_extra_cflags@.
42565 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42566
42567 [BZ #10375]
42568 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42569 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42570 * configure: Regenerated.
42571 * config.make.in (CPPUNDEFS): New substituted variable.
42572 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42573 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42574 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42575
425762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42577
42578 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42579 (mq_attr): Use __syscall_slong_t.
42580
425812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42582
42583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42584 Check __x86_64__ instead of __WORDSIZE.
42585 (_STAT_VER_LINUX): Likewise.
42586 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42587 __syscall_ulong_t and __syscall_slong_t.
42588 (stat64): Likewise.
42589
425902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42591
42592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42593
425942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42595
42596 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42597
425982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42599
42600 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42601 __syscall_ulong_t.
42602
42603 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42604 include <bits/wordsize.h>. Check __x86_64__ instead of
42605 __WORDSIZE.
42606 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42607 defined.
42608 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42609
42610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42611 include <bits/wordsize.h>. Check __x86_64__ instead of
42612 __WORDSIZE.
42613 (user_regs_struct): Use "__extension__ unsigned long long"
42614 instead of "unsigned long" if __x86_64__ is defined.
42615 (user): Likewise. Pad after pointer field if __ILP32__ is
42616 defined.
42617
426182012-05-16 Joseph Myers <joseph@codesourcery.com>
42619
42620 * configure.in (makeinfo): Require version 4.5 or later. Allow
42621 versions 5 to 9.
42622 * configure: Regenerated.
42623 * manual/install.texi (texinfo): Increase version requirement to
42624 4.5 or later.
42625 * INSTALL: Regenerated.
42626
42627 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42628
426292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42630
42631 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42632
42633 * sysdeps/x86_64/x32/ffs.c: New file.
42634
42635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42636 __syscall_ulong_t.
42637 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42638 defined. Use __syscall_ulong_t.
42639 (shminfo): Use __syscall_ulong_t.
42640 (shm_info): Likewise.
42641
42642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42643 __syscall_ulong_t.
42644
42645 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42646 <bits/wordsize.h>.
42647 (msgqnum_t): Use __syscall_ulong_t.
42648 (msglen_t): Likewise.
42649 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42650 __syscall_ulong_t.
42651
42652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42654
42655 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42656
42657 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42658 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42659
42660 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42661 __syscall_slong_t.
42662
42663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42664 include <bits/wordsize.h>. Check __x86_64__ instead of
42665 __WORDSIZE.
42666
42667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42668 "unsigned long long int" if __x86_64__ is defined.
42669 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42670
42671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42673 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42674
42675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42676 <stdint.h>.
42677 (GET_PC): Cast to uintptr_t first.
42678 (GET_FRAME): Likewise.
42679 (GET_STACK): Likewise.
42680
42681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42689 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42710
427112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42712
42713 * Makerules (+depfiles): Also collect depfiles from .oS in
42714 $(extra-objs).
42715 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42716 .oS, $(libnldbl-routines)).
42717
42718 * Makerules (native-compile-mkdep-flags): Define.
42719 * sunrpc/Makefile (extra-objs): Add $(addprefix
42720 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42721 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42722 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42723 calling $(make-target-directory).
42724
427252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42726
42727 * bits/types.h (__snseconds_t): Removed.
42728 * time/time.h (struct timespec): Replace __snseconds_t with
42729 __syscall_slong_t.
42730 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42731 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42732 Likewise.
42733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42734 (__SNSECONDS_T_TYPE): Likewise.
42735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42736 (__SNSECONDS_T_TYPE): Likewise.
42737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42738 (__SNSECONDS_T_TYPE): Likewise.
42739
427402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42741
42742 * sysdeps/mach/hurd/bits/typesizes.h
42743 (__SYSCALL_SLONG_TYPE): New macro.
42744 (__SYSCALL_ULONG_TYPE): Likewise.
42745
427462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42747
42748 * bits/types.h (__syscall_slong_t): New type.
42749 (__syscall_ulong_t): Likewise.
42750
42751 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42752 (__SYSCALL_ULONG_TYPE): Likewise.
42753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42754 (__SYSCALL_SLONG_TYPE): Likewise.
42755 (__SYSCALL_ULONG_TYPE): Likewise.
42756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42757 (__SYSCALL_SLONG_TYPE): Likewise.
42758 (__SYSCALL_ULONG_TYPE): Likewise.
42759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42760 (__SYSCALL_SLONG_TYPE): Likewise.
42761 (__SYSCALL_ULONG_TYPE): Likewise.
42762
427632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42764
42765 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42766 Add sigaltstack-offsets.sym.
42767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42768 <sigaltstack-offsets.h>.
42769 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42770 longjmp_msg pointer.
42771 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42772 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42773 signal stack.
42774 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42775
427762012-05-15 Joseph Myers <joseph@codesourcery.com>
42777
42778 * elf/stackguard-macros.h: Remove file.
42779 * sysdeps/generic/stackguard-macros.h: New file.
42780 * sysdeps/i386/stackguard-macros.h: Likewise.
42781 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42782 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42783 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42784 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42785 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42786 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42787 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42788 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42789 <elf/stackguard-macros.h>.
42790
42791 [BZ #14109]
42792 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42793 __aligned__ in attribute.
42794 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42795 (gregset_t): Likewise.
42796
427972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42798
42799 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42800 * sysdeps/x86_64/64/Implies-after: Here. New file.
42801 * sysdeps/x86_64/x32/Implies-after: New file.
42802
428032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42804
42805 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42806 and access return value for _dl_profile_fixup. Use R10_LP to
42807 load frame size.
42808
428092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42810
42811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42812
428132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42814
42815 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42816 * sysdeps/x86_64/x32/sysdep.h: New file.
42817
428182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42819
42820 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42821 * sysdeps/x86_64/setjmp.S: Likewise.
42822
428232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42824
42825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42827 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42829 remove unused global constant.
42830
428312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42832
42833 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42834 include of <not-cancel.h>.
42835
428362012-05-15 Roland McGrath <roland@hack.frob.com>
42837
42838 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42839
428402012-05-15 Jeff Law <law@redhat.com>
42841 Andreas Jaeger <aj@suse.de>
42842
42843 [BZ #13594]
42844 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42845 out from...
42846 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42847 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42848 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42849 code changing __hst_map_handle.map.
42850
428512012-05-15 Roland McGrath <roland@hack.frob.com>
42852
42853 * configure.in (sysnames): Look for Implies-before and Implies-after
42854 files.
42855 * configure: Regenerated.
42856
428572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42858
42859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42860 8-byte data alignment with LP_SIZE alignment.
42861
428622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42863
42864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42865 into R10_LP.
42866
428672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42868
42869 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42870
428712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42872
42873 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42874 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42876 Likewise.
42877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42878
428792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42882 (stackinfo_sub_sp): Likewise.
42883
428842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42887 RAX_LP.
42888
428892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42890
42891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42892 into R*_LP.
42893
428942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42895
42896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42897 sizes into R*_LP.
42898
428992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42900
42901 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42902
429032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42904
42905 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42906 into R11_LP and load __x86_64_shared_cache_size_half into
42907 R8_LP.
42908
429092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42910
42911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42912 R8_LP.
42913
429142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42915
42916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42917 logb for POWER7.
42918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42919 logbf for POWER7.
42920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42921 logbl for POWER7.
42922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42923 powerpc32/power7/fpu/s_logb.c via #include.
42924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42925 powerpc32/power7/fpu/s_logbf.c via #include.
42926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42927 powerpc32/power7/fpu/s_logbl.c via #include.
42928
429292012-05-15 Joseph Myers <joseph@codesourcery.com>
42930
42931 * README.libm: Remove file.
42932
429332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42934
42935 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42936 count for x32. Use R*_LP and omit operand-size suffix.
42937
429382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42939
42940 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42941 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42942 * sysdeps/x86_64/x32/shlib-versions: New file.
42943
429442012-05-14 Roland McGrath <roland@hack.frob.com>
42945
42946 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42947 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42948 Use _dl_fatal_printf instead.
42949
429502012-05-14 Joseph Myers <joseph@codesourcery.com>
42951
42952 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42953 set if not set by the user. Do not allow for being unset.
42954 * sysdeps/unix/sysv/linux/configure: Regenerated.
42955
429562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42957
42958 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42959 the `q' suffix from lea and replace .quad with ASM_ADDR.
42960
429612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42962
42963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42964 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42965 instead of $17.
42966 (PTR_DEMANGLE): Likewise.
42967
429682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42969
42970 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42971 (LP_OP): Likewise.
42972 (ASM_ADDR): Likewise.
42973 (RAX_LP): Likewise.
42974 (RBP_LP): Likewise.
42975 (RBX_LP): Likewise.
42976 (RCX_LP): Likewise.
42977 (RDI_LP): Likewise.
42978 (RSI_LP): Likewise.
42979 (RSP_LP): Likewise.
42980 (R8_LP): Likewise.
42981 (R9_LP): Likewise.
42982 (R10_LP): Likewise.
42983 (R10_LP): Likewise.
42984 (R11_LP): Likewise.
42985 (R12_LP): Likewise.
42986 (R13_LP): Likewise.
42987 (R14_LP): Likewise.
42988 (R15_LP): Likewise.
42989
429902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42991
42992 * sysdeps/x86_64/x32/dl-machine.h: New file.
42993
429942012-05-14 Andreas Jaeger <aj@suse.de>
42995
42996 * manual/Makefile (subdir): Remove export of subdir.
42997 (all): Remove target.
42998 (.PHONY): Remove all from list.
42999 (mkinstalldirs): Remove.
43000 (.PHONY): Remove installdirs from list.
43001 ($(inst_infodir)/libc.info): Use make-target-directory.
43002 (installdirs): Remove.
43003 (subdir_%): Remove.
43004 (glibc-targets): Remove.
43005 (lib): Remove.
43006 (stubs): Remove.
43007 ($(objpfx)stubs ../po/manual.pot): Remove.
43008 ($(objpfx)stamp%): Remove.
43009 (make-target-directory): Remove.
43010 (subdir_install): Remove.
43011 (routines): Remove.
43012 (aux): Remove.
43013 (sources): Remove.
43014 (objects): Remove.
43015 (headers): Remove.
43016
43017 [BZ #13750]
43018 * manual/.gitignore: Remove, it's not needed anymore.
43019 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43020 all files in it.
43021 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43022 directory.
43023 (texis): Renamed to $(objpfx)texis.
43024 (texis-path): New, contains path to generated files.
43025 (chapters.%): Use texis-path for complete path, add extra argument
43026 libc-texinfo.sh.
43027 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43028 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43029 (summary,texi, stamp-summary): Use complete path of
43030 files. Generate files in build dir.
43031 (dir-add.texi): Build in build dir.
43032 (libm-err.texi,stamp-libm-err): Likewise.
43033 (version.texi, stamp-version): Likewise.
43034 (.%c.texi): Likewise.
43035 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43036 (mostlyclean): Remove target.
43037 (realclean): Remove target.
43038 (generated): Add new variable with contents from mostlyclean and
43039 realclean, remove entries duplicated in common-mostlyclean, add
43040 stamp-libm-err and stamp-version.
43041 (generated-dirs): Add libc directory.
43042 ($(inst_infodir)/libc.info): Install files from build dir.
43043
43044 * manual/install.texi (Configuring and compiling): Adjust since
43045 the info files are not part of the tar ball anymore.
43046
430472012-05-14 Andreas Jaeger <aj@suse.de>
43048
43049 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43050 variable.
43051
430522012-05-14 Joseph Myers <joseph@codesourcery.com>
43053
43054 [BZ #13717]
43055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43056 to 2.2.0 where earlier.
43057 * sysdeps/unix/sysv/linux/configure: Regenerated.
43058 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43059 Remove conditional code.
43060 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43061 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43062 Remove conditional code.
43063 [!__NR_lchown]: Likewise.
43064 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43065 [__NR_lchown]: Likewise.
43066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43067 comment referencing __ASSUME_LCHOWN_SYSCALL.
43068 * sysdeps/unix/sysv/linux/i386/sigaction.c
43069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43071 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43072 Remove conditional code.
43073 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43074 (__protocol_available): Remove #if 0 code.
43075 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43076 conditional code.
43077 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43078 * sysdeps/unix/sysv/linux/kernel-features.h
43079 (__ASSUME_GETCWD_SYSCALL): Don't define.
43080 (__ASSUME_REALTIME_SIGNALS): Likewise.
43081 (__ASSUME_PREAD_SYSCALL): Likewise.
43082 (__ASSUME_PWRITE_SYSCALL): Likewise.
43083 (__ASSUME_POLL_SYSCALL): Likewise.
43084 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43085 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43086 non-SPARC.
43087 (__ASSUME_SIOCGIFNAME): Don't define.
43088 (__ASSUME_MSG_NOSIGNAL): Likewise.
43089 (__ASSUME_SENDFILE): Define unconditionally.
43090 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43091 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43092 conditional code.
43093 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43094 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43096 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43097 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43099 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43124 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43125 Remove conditional code.
43126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43127 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43128 Remove conditional code.
43129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43130 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43131 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43132 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43133 Remove conditional code.
43134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43135 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43136 Remove conditional code.
43137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43138 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43139 Remove conditional code.
43140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43141 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43142 Remove conditional code.
43143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43144 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43145 Remove conditional code.
43146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43147 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43150 * sysdeps/unix/sysv/linux/sigaction.c
43151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43153 * sysdeps/unix/sysv/linux/sigpending.c
43154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43156 * sysdeps/unix/sysv/linux/sigprocmask.c
43157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43159 * sysdeps/unix/sysv/linux/sigsuspend.c
43160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43163 (__libc_missing_rt_sigs): Remove.
43164 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43165 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43166 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43167 Remove conditional code.
43168 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43169 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43170 return 1.
43171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43172 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43174 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43175
431762012-05-14 Andreas Jaeger <aj@suse.de>
43177
43178 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43179 it's not used in glibc.
43180 (__coshm1): Likewise.
43181 (__acosh1p): Likewise.
43182 (__sgn): Likewise.
43183
43184 * manual/string.texi (Copying and Concatenation): Add missing
43185 variable in concat example.
43186 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43187
431882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43189
43190 [BZ #14103]
43191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43192 __builtin_clzl with __builtin_clzll.
43193
431942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43195
43196 [BZ #14104]
43197 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43198 libc_freeres_ptr.
43199
432002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43201
43202 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43203 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43204 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43206
432072012-05-14 Mike Frysinger <vapier@gentoo.org>
43208
43209 * NEWS: Update ia64 info.
43210
432112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43212
43213 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43214 used as bcopy.
43215
432162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43217
43218 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43219 * sysdeps/unix/syscalls.list (dup3): Likewise.
43220 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43221 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43222
432232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43224
43225 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43226 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43227
432282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43229
43230 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43231 thread pointer.
43232 (TLS_IE): Use mov/add instead of movq/addq to load thread
43233 pointer.
43234 (TLS_GD_PREFIX): New.
43235 (TLS_GD): Use it.
43236
432372012-05-11 David S. Miller <davem@davemloft.net>
43238
43239 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43240 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43241 (_FPU_SETCW): Likewise.
43242
432432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43244
43245 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43246 is 32-byte aligned.
43247
432482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43249
43250 [BZ #11837]
43251 * iconvdata/gb18030.c: Update tables.
43252 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43253 characters specially.
43254 (BODY for TO_LOOP): Add encoding of missing ranges.
43255
432562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43257
43258 [BZ #13673]
43259 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43260 * sysdeps/mach/hurd/dup3.c: Likewise.
43261 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43262 * sysdeps/powerpc/memmove.c:: Likewise.
43263
432642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43265
43266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43267 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43268
432692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43270
43271 * elf/elf.h (R_X86_64_RELATIVE64): New.
43272 (R_X86_64_NUM): Updated.
43273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43274 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43275 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43276 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43277 tst-quad1pie tst-quad2pie
43278 (modules-names): Add tst-quadmod1 tst-quadmod2.
43279 ($(objpfx)tst-quad1): New dependency.
43280 ($(objpfx)tst-quad2): Likewise.
43281 ($(objpfx)tst-quad1pie): Likewise.
43282 ($(objpfx)tst-quad2pie): Likewise.
43283 * sysdeps/x86_64/tst-quad1.c: New file.
43284 * sysdeps/x86_64/tst-quad1pie.c: New file.
43285 * sysdeps/x86_64/tst-quad2.c: Likewise.
43286 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43287 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43288 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43289 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43290 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43291
432922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43293
43294 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43295 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43296 * streams/stropts.h (t_scalar_t): Define type.
43297
43298 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43299 (_PATH_PRESERVE): Set to "/var/lib".
43300 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43301
43302 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43303 instead of int.
43304
43305 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43306 if __dir_mkfile succeeded.
43307
43308 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43309 checking for _hurd_dtablesize. Unlock it right after having
43310 finished _hurd_dtable allocation.
43311
433122012-05-10 Thomas Schwinge <thomas@schwinge.name>
43313
43314 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43315 * sysdeps/mach/hurd/configure: Regenerated.
43316 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43317 special-casing to...
43318 * sysdeps/gnu/configure.in: ... this new file.
43319 * sysdeps/unix/sysv/linux/configure: Regenerated.
43320 * sysdeps/gnu/configure: New generated file.
43321
43322 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43323 for Linux: use nsec instead of usec, as well as:
43324 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43325 members of type struct timespec.
43326 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43327 New macros.
43328 (struct stat64): Likewise.
43329 (_STATBUF_ST_NSEC): New macro.
43330 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43331
43332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43333 __strtoul_internal rather than strtoul.
43334
433352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43336
43337 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43338 and reject them.
43339
433402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43341
43342 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43343 which preserves existing values.
43344 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43345
433462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43347
43348 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43349 TIMEOUT values. Return EINVAL for NFDS values either negative or
43350 greater than FD_SETSIZE.
43351
433522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43353
43354 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43355 allocated, call __vm_protect to finish enabling the existing space, and
43356 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43357 allocate the remainder.
43358
433592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43360
43361 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43362 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43363
433642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43365
43366 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43367 sysdeps/mach/hurd/readlink.c.
43368
43369 * posix/tst-sysconf.c (posix_options): Only use
43370 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43371 _POSIX_SYNCHRONIZED_IO when they are defined
43372 * sysdeps/mach/hurd/bits/posix_opt.h:
43373 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43374 (_XOPEN_REALTIME): Undefine macro.
43375 (_XOPEN_REALTIME_THREADS): Undefine macro.
43376 (_XOPEN_SHM): Undefine macro.
43377 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43378 macro to -1.
43379 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43380 macro to -1.
43381 (_POSIX_ASYNC_IO): Undefine macro.
43382 (_POSIX_PRIORITIZED_IO): Undefine macro.
43383 (_POSIX_SPIN_LOCKS): Define macro to -1.
43384
43385 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43386 SA_NODEFER, SA_RESETHAND.
43387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43388 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43389 F_DUPFD_CLOEXEC.
43390
433912012-05-10 Thomas Schwinge <thomas@schwinge.name>
43392
43393 * elf/Makefile (pldd-modules): Define unconditionally.
43394
433952012-05-10 Thomas Schwinge <thomas@schwinge.name>
43396
43397 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43398
433992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43400
43401 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43402 Return ENOENT when name is empty.
43403 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43404
434052012-05-10 Thomas Schwinge <thomas@schwinge.name>
43406
43407 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43408
43409 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43410
434112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43412
43413 Fix mlock in all cases except non-readable pages.
43414 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43415 instead of VM_PROT_ALL as parameter to __vm_wire function.
43416
43417 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43418 (__mkdir): When path is `/', just fail with EEXIST.
43419 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43420
434212012-05-10 Thomas Schwinge <thomas@schwinge.name>
43422
43423 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43424 <sys/uio.h> (for writev).
43425 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43426 and <sys/param.h> (for MIN).
43427
434282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43429
43430 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43431 REQUESTED_TIME. Properly set the remaining time and return EINTR
43432 if interrupted.
43433
434342012-05-10 Thomas Schwinge <thomas@schwinge.name>
43435
43436 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43437 Depend on against $(link-rpcuserlibs).
43438
434392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43440
43441 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43442 (__libc_stack_end): Do not use attribute_relro.
43443 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43444 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43445 to libthread-provided value.
43446 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43447 attribute_relro.
43448
434492012-05-10 Thomas Schwinge <thomas@schwinge.name>
43450
43451 [BZ #3748]
43452 * bits/libc-lock.h (__libc_once_get): New macro.
43453 * sysdeps/mach/bits/libc-lock.h: Likewise.
43454 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43456 instead of using implementation details.
43457
43458 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43459 * libio/freopen.c: Likewise.
43460 * libio/freopen64.c: Likewise.
43461 * misc/syslog.c: Likewise.
43462 * nscd/connections.c: Likewise.
43463 * nscd/netgroupcache.c: Likewise.
43464 * sysdeps/posix/getcwd.c: Likewise.
43465
434662012-05-10 Roland McGrath <roland@hack.frob.com>
43467
43468 * math/w_ilogbf.c: Add #include <limits.h>.
43469
434702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43471
43472 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43473 path instead of returning without unlocking.
43474
43475 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43476 immediate-write ioctls.
43477 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43478
434792012-05-10 Thomas Schwinge <thomas@schwinge.name>
43480
43481 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43482 __builtin_frame_address instead of making assumptions about the
43483 location of the return address relative to DATA. Force early load of
43484 the return address.
43485 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43486 __builtin_frame_address.
43487
43488 dup3 for GNU Hurd.
43489 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43490 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43491 implement dup3 and do some further code clean-ups.
43492 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43493 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43494
434952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43496
43497 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43498
43499 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43500 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43501 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43502 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43503 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43504 d->port.lock.
43505
43506 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43507 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43508 when handler == SIG_ERR, not when handler != SIG_ERR.
43509
435102012-05-10 Thomas Schwinge <thomas@schwinge.name>
43511
43512 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43513 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43514 definitions.
43515
43516 accept4 for GNU Hurd.
43517 * include/sys/socket.h (__libc_accept4): New prototype.
43518 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43519 to implement __libc_accept4.
43520 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43521 __libc_accept4.
43522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43523
43524 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43525 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43526 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43527 signal-defines.sym.
43528
435292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43530
43531 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43532
435332012-05-10 Thomas Schwinge <thomas@schwinge.name>
43534
43535 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43536 assertion on O_CLOEXEC flag.
43537 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43538 * hurd/intern-fd.c: Likewise.
43539 * hurd/port2fd.c: Likewise.
43540
435412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43542
43543 [BZ #3906]
43544 * bits/in.h (IPV6_PKTINFO): Define new macro.
43545 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43546
435472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43548
43549 [BZ #13954]
43550 [BZ #13955]
43551 [BZ #13956]
43552 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43554 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43555 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43558 * math/libm-test.inc (logb_test) : Additional logb tests.
43559
435602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43561 Andreas Jaeger <aj@suse.de>
43562
43563 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43564 * configure: Regenerated.
43565 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43566 * config.make.in (link-obsolete-rpc): New substituted variable.
43567 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43568 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43569 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43570 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43571 so that libc.a contains the symbols.
43572 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43573 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43574 * sunrpc/auth_none.c: Likewise.
43575 * sunrpc/auth_unix.c: Likewise.
43576 * sunrpc/authdes_prot.c: Likewise.
43577 * sunrpc/authuxprot.c: Likewise.
43578 * sunrpc/clnt_gen.c: Likewise.
43579 * sunrpc/clnt_perr.c: Likewise.
43580 * sunrpc/clnt_raw.c: Likewise.
43581 * sunrpc/clnt_simp.c: Likewise.
43582 * sunrpc/clnt_tcp.c: Likewise.
43583 * sunrpc/clnt_udp.c: Likewise.
43584 * sunrpc/clnt_unix.c: Likewise.
43585 * sunrpc/des_crypt.c: Likewise.
43586 * sunrpc/des_soft.c: Likewise.
43587 * sunrpc/get_myaddr.c: Likewise.
43588 * sunrpc/key_call.c: Likewise.
43589 * sunrpc/key_prot.c: Likewise.
43590 * sunrpc/netname.c: Likewise.
43591 * sunrpc/pm_getmaps.c: Likewise.
43592 * sunrpc/pm_getport.c: Likewise.
43593 * sunrpc/pmap_clnt.c: Likewise.
43594 * sunrpc/pmap_prot.c: Likewise.
43595 * sunrpc/pmap_prot2.c: Likewise.
43596 * sunrpc/pmap_rmt.c: Likewise.
43597 * sunrpc/publickey.c: Likewise.
43598 * sunrpc/rpc_cmsg.c: Likewise.
43599 * sunrpc/rpc_common.c: Likewise.
43600 * sunrpc/rpc_dtable.c: Likewise.
43601 * sunrpc/rpc_prot.c: Likewise.
43602 * sunrpc/rpc_thread.c: Likewise.
43603 * sunrpc/rtime.c: Likewise.
43604 * sunrpc/svc.c: Likewise.
43605 * sunrpc/svc_auth.c: Likewise.
43606 * sunrpc/svc_raw.c: Likewise.
43607 * sunrpc/svc_run.c: Likewise.
43608 * sunrpc/svc_tcp.c: Likewise.
43609 * sunrpc/svc_udp.c: Likewise.
43610 * sunrpc/svc_unix.c: Likewise.
43611 * sunrpc/svcauth_des.c: Likewise.
43612 * sunrpc/xcrypt.c: Likewise.
43613 * sunrpc/xdr.c: Likewise.
43614 * sunrpc/xdr_array.c: Likewise.
43615 * sunrpc/xdr_float.c: Likewise.
43616 * sunrpc/xdr_intXX_t.c: Likewise.
43617 * sunrpc/xdr_mem.c: Likewise.
43618 * sunrpc/xdr_rec.c: Likewise.
43619 * sunrpc/xdr_ref.c: Likewise.
43620 * sunrpc/xdr_sizeof.c: Likewise.
43621 * sunrpc/xdr_stdio.c: Likewise.
43622
436232012-05-10 Roland McGrath <roland@hack.frob.com>
43624
43625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43626 change. Update copyright years.
43627
436282012-05-10 Joseph Myers <joseph@codesourcery.com>
43629
43630 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43631
436322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43633 Joseph Myers <joseph@codesourcery.com>
43634 Paul Pluzhnikov <ppluzhnikov@google.com>
43635
43636 [BZ #14012]
43637 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43638 requiring rpcgen.
43639 [cross-compiling] (extra-libs): Likewise.
43640 [cross-compiling] (extra-libs-others): Likewise.
43641 [cross-compiling] (librpcsvc-routines): Likewise.
43642 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43643 [cross-compiling] (omit-deps): Likewise.
43644 (sunrpc-CPPFLAGS): New variable.
43645 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43646 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43647 (cross-rpcgen-objs): New variable.
43648 (extra-objs): Append $(cross-rpcgen-objs).
43649 ($(cross-rpcgen-objs)): New rule.
43650 ($(objpfx)cross-rpcgen): Likewise.
43651 (rpcgen-cmd): Define to use $(built-program-file). Expand
43652 comment.
43653 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43654 ($(objpfx)x%.stmp): Likewise.
43655 * sunrpc/proto.h [IS_IN_build] (_): Define.
43656 [IS_IN_build] (_libc_intl_domainname): Likewise.
43657
436582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43659
43660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43661 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43662 and R_X86_64_TPOFF64.
43663
436642012-05-10 Joseph Myers <joseph@codesourcery.com>
43665
43666 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43667 sysdeps/unix/sysv/syscalls.list.
43668 (stime): Likewise.
43669 (utime): Likewise.
43670 * sysdeps/unix/sysv/syscalls.list: Remove file.
43671
436722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43673
43674 [BZ #3440]
43675 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43676 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43677 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43678 (__LC_IDENTIFICATION): Make these macros useful in #if
43679 expressions, as required by C99.
43680
436812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43682
43683 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43684 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43685 after this.
43686
436872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43688
43689 * stdlib/longlong.h: Updated from GCC.
43690
436912012-05-09 Andreas Jaeger <aj@suse.de>
43692
43693 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43694 default is first entry.
43695 (run_mode): Set type.
43696 (main): Remove informal message about syslog.
43697 (options): Fix typo.
43698
43699 [BZ #14053]
43700 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43701 to asm.
43702 (lrint): Likewise.
43703 (llrintf): Likewise.
43704 (llrint): Likewise.
43705 (rint): Likewise.
43706 (rintf): Likewise.
43707 (nearbyint): Likewise.
43708 (nearbyintf): Likewise.
43709
437102012-05-09 Andreas Jaeger <aj@suse.de>
43711 Pedro Alves <palves@redhat.com>
43712
43713 * nscd/nscd.c (run_mode): Use enum.
43714 (main): Cleanup coding style issue.
43715
437162012-05-09 Alexandre Oliva <aoliva@redhat.com>
43717 Andreas Jaeger <aj@suse.de>
43718
43719 * nscd/nscd.c (go_background): Replaced with...
43720 (run_mode): ... this.
43721 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43722 (options): Add -F --foreground.
43723 (main): Implement it.
43724 (parse_opt): Parse it.
43725
437262012-05-09 Andreas Jaeger <aj@suse.de>
43727
43728 [BZ #14083]
43729 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43730 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43731 -Wconversion warning.
43732 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43733 Likewise.
43734
437352012-05-09 Joseph Myers <joseph@codesourcery.com>
43736
43737 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43738 == 0.
43739 (LC_ALL): Use macro-int-constant.
43740 (LC_COLLATE): Likewise.
43741 (LC_CTYPE): Likewise.
43742 (LC_MESSAGES): Likewise.
43743 (LC_MONETARY): Likewise.
43744 (LC_NUMERIC): Likewise.
43745 (LC_TIME): Likewise.
43746 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43747 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43749 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43750 Specify type.
43751 [C99-based standards] (float_t): Expect type.
43752 [C99-based standards] (double_t): Expect type.
43753 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43754 type.
43755 [C99-based standards] (HUGE_VALL): Likewise.
43756 [C99-based standards] (INFINITY): Likewise.
43757 [C99-based standards] (NAN): Likewise.
43758 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43759 [C99-based standards] (FP_NAN): Likewise.
43760 [C99-based standards] (FP_NORMAL): Likewise.
43761 [C99-based standards] (FP_SUBNORMAL): Likewise.
43762 [C99-based standards] (FP_ZERO): Likewise.
43763 [C99-based standards] (FP_FAST_FMA): Use
43764 optional-macro-int-constant. Specify type. Require == 1.
43765 [C99-based standards] (FP_FAST_FMAF): Likewise.
43766 [C99-based standards] (FP_FAST_FMAL): Likewise.
43767 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43768 [C99-based standards] (FP_ILOGBNAN): Likewise.
43769 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43770 Specify type.
43771 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43772 [C99-based standards] (math_errhandling): Specify type.
43773 [ISO99 || ISO11] (signgam): Do not allow.
43774 [non-C99-based standards] (copysignf): Do not allow.
43775 [non-C99-based standards] (exp2f): Likewise.
43776 [non-C99-based standards] (log2f): Likewise.
43777 [non-C99-based standards] (modff): Allow.
43778 [non-C99-based standards] (erff): Do not allow.
43779 [non-C99-based standards] (erfcf): Likewise.
43780 [non-C99-based standards] (gammaf): Likewise.
43781 [non-C99-based standards] (hypotf): Likewise.
43782 [non-C99-based standards] (j0f): Likewise.
43783 [non-C99-based standards] (j1f): Likewise.
43784 [non-C99-based standards] (jnf): Likewise.
43785 [non-C99-based standards] (lgammaf): Likewise.
43786 [non-C99-based standards] (tgammaf): Likewise.
43787 [non-C99-based standards] (y0f): Likewise.
43788 [non-C99-based standards] (y1f): Likewise.
43789 [non-C99-based standards] (ynf): Likewise.
43790 [non-C99-based standards] (isnanf): Likewise.
43791 [non-C99-based standards] (acoshf): Likewise.
43792 [non-C99-based standards] (asinhf): Likewise.
43793 [non-C99-based standards] (atanhf): Likewise.
43794 [non-C99-based standards] (cbrtf): Likewise.
43795 [non-C99-based standards] (expm1f): Likewise.
43796 [non-C99-based standards] (ilogbf): Likewise.
43797 [non-C99-based standards] (log1pf): Likewise.
43798 [non-C99-based standards] (logbf): Likewise.
43799 [non-C99-based standards] (nextafterf): Likewise.
43800 [non-C99-based standards] (remainderf): Likewise.
43801 [non-C99-based standards] (rintf): Likewise.
43802 [non-C99-based standards] (scalbf): Likewise.
43803 [non-C99-based standards] (copysignl): Likewise.
43804 [non-C99-based standards] (exp2l): Likewise.
43805 [non-C99-based standards] (log2l): Likewise.
43806 [non-C99-based standards] (modfl): Allow.
43807 [non-C99-based standards] (erfl): Do not allow.
43808 [non-C99-based standards] (erfcl): Likewise.
43809 [non-C99-based standards] (gammal): Likewise.
43810 [non-C99-based standards] (hypotl): Likewise.
43811 [non-C99-based standards] (j0l): Likewise.
43812 [non-C99-based standards] (j1l): Likewise.
43813 [non-C99-based standards] (jnl): Likewise.
43814 [non-C99-based standards] (lgammal): Likewise.
43815 [non-C99-based standards] (tgammal): Likewise.
43816 [non-C99-based standards] (y0l): Likewise.
43817 [non-C99-based standards] (y1l): Likewise.
43818 [non-C99-based standards] (ynl): Likewise.
43819 [non-C99-based standards] (isnanl): Likewise.
43820 [non-C99-based standards] (acoshl): Likewise.
43821 [non-C99-based standards] (asinhl): Likewise.
43822 [non-C99-based standards] (atanhl): Likewise.
43823 [non-C99-based standards] (cbrtl): Likewise.
43824 [non-C99-based standards] (expm1l): Likewise.
43825 [non-C99-based standards] (ilogbl): Likewise.
43826 [non-C99-based standards] (log1pl): Likewise.
43827 [non-C99-based standards] (logbl): Likewise.
43828 [non-C99-based standards] (nextafterl): Likewise.
43829 [non-C99-based standards] (remainderl): Likewise.
43830 [non-C99-based standards] (rintl): Likewise.
43831 [non-C99-based standards] (scalbl): Likewise.
43832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43833 [non-C99-based standards] (FP_*): Do not allow.
43834 [C99-based standards] (FP_*): Change to
43835 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43836 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43837 allow.
43838 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43839 (SIG_ERR): Likewise.
43840 [X/Open-based standards] (SIG_HOLD): Likewise.
43841 (SIG_IGN): Likewise.
43842 (SIGABRT): Use macro-int-constant. Specify type. Require
43843 positive value.
43844 (SIGFPE): Likewise.
43845 (SIGILL): Likewise.
43846 (SIGINT): Likewise.
43847 (SIGSEGV): Likewise.
43848 (SIGTER): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43867 [X/Open-based standards] (SIGTRAP): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43869 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43870 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43871 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43872 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43873 allow.
43874
438752012-05-08 Ian Wienand <ianw@vmware.com>
43876
43877 [BZ #14080]
43878 * time/tzset.c (__tzset_parse_tz): Update default rules for
43879 daylight time changes in the Energy Policy Act of 2005.
43880
438812012-05-09 Andreas Jaeger <aj@suse.de>
43882
43883 [BZ #13983]
43884 * elf/ldconfig.c (parse_conf): Change string to make clear that
43885 ldconfig only issued a warning if ld.so.conf does not exist.
43886
438872012-05-08 David S. Miller <davem@davemloft.net>
43888
43889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43890 movxtod instead of popping the value on the stack.
43891
43892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43893
438942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43895
43896 * config.h.in: Add HAVE_ARM_PCS_VFP.
43897
438982012-05-08 Roland Mc Grath <roland@hack.frob.com>
43899
43900 [BZ #13979]
43901 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43902 checking but the checks are disabled for any reason.
43903
439042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43905
43906 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43907 and ELF64_R_TYPE with ELFW(R_TYPE).
43908
439092012-05-08 Joseph Myers <joseph@codesourcery.com>
43910
43911 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43912 (ulimit): Likewise.
43913
43914 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43915 (settimeofday): Likewise.
43916
439172012-05-08 Mike Frysinger <vapier@gentoo.org>
43918
43919 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43920 a struct th_u2 inside the union, and move tu_block/tu_code into
43921 a new th_u3 union of tu_block/tu_code inside of that. Move
43922 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43923 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43924 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43925 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43926 (th_stuff): Change to th_u1.tu_stuff.
43927 (th_data): Define.
43928 (th_msg): Change to th_u1.th_u2.tu_data.
43929
439302012-05-07 David S. Miller <davem@davemloft.net>
43931
43932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43933
43934 [BZ #14074]
43935 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43936 (SETUP_PIC_REG): Use it.
43937 (SETUP_PIC_REG_LEAF): Use it.
43938
439392012-05-07 Joseph Myers <joseph@codesourcery.com>
43940
43941 [BZ #13885]
43942 [BZ #13923]
43943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43944 USE_AS_EXPM1L.
43945 (EXPL_FINITE): Likewise.
43946 (FLDLOG): Likewise.
43947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43948 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43949 e_expl.S.
43950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43951 USE_AS_EXPM1L.
43952 (EXPL_FINITE): Likewise.
43953 (FLDLOG): Likewise.
43954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43955 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43956 e_expl.S.
43957 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43958 test of -max_value argument for long double.
43959 * sysdeps/i386/fpu/libm-test-ulps: Update.
43960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43961
439622012-05-06 David S. Miller <davem@davemloft.net>
43963
43964 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43965 quad soft-float symbols whose references which are compiler
43966 generated.
43967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43968
439692012-05-06 Joseph Myers <joseph@codesourcery.com>
43970
43971 [BZ #13884]
43972 [BZ #13914]
43973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43974 USE_AS_EXP10L.
43975 (EXPL_FINITE): Likewise.
43976 (FLDLOG): Likewise.
43977 (c0): Likewise.
43978 (c1): Likewise.
43979 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43980 Adjust comments for base varying.
43981 (__expl_finite): Change alias to EXPL_FINITE.
43982 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43983 e_expl.S.
43984 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43985 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43987 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43989 USE_AS_EXP10L.
43990 (EXPL_FINITE): Likewise.
43991 (FLDLOG): Likewise.
43992 (c0): Likewise.
43993 (c1): Likewise.
43994 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43995 Adjust comments for base varying.
43996 (__expl_finite): Change alias to EXPL_FINITE.
43997 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43998 tests for bugs.
43999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44000
44001 [BZ #14064]
44002 * math/libm-test.inc (check_float_internal): Correct ulp
44003 calculation for subnormal expected results.
44004
440052012-05-06 Andreas Jaeger <aj@suse.de>
44006
44007 * Makeconfig (+math-flags): New, set to -frounding-math.
44008 (+cflags): Add +math-flags so that all of glibc gets compiled with
44009 it.
44010
44011 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44012
440132012-05-05 Joseph Myers <joseph@codesourcery.com>
44014
44015 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44016 Disable one test.
44017
44018 [BZ #13787]
44019 [BZ #13922]
44020 [BZ #14036]
44021 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44022 (__ieee754_expl): Allow for and saturate large arguments.
44023 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44024 (u_threshold): Likewise.
44025 (__exp): Call __ieee754_exp before checking for overflow and
44026 underflow.
44027 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44028 (u_threshold): Likewise.
44029 (__expf): Call __ieee754_expf before checking for overflow and
44030 underflow.
44031 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44032 (u_threshold): Likewise.
44033 (__expl): Call __ieee754_expl before checking for overflow and
44034 underflow.
44035 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44036 (__ieee754_expl): Allow for and saturate large arguments.
44037 * math/libm-test.inc (exp_test): Add another test. Do not allow
44038 missing overflow exception on overflow.
44039 (expm1_test): Do not allow missing overflow exception on overflow.
44040
44041 * sysdeps/i386/fpu/e_expl.c: Move to ...
44042 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44043 rather than using inline asm.
44044 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44045 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44046 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44047
44048 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44049 (nice): Likewise.
44050 (poll): Likewise.
44051 (signal): Likewise.
44052 (time): Likewise.
44053 (times): Likewise.
44054
440552012-05-04 Joseph Myers <joseph@codesourcery.com>
44056
44057 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44058 sysdeps/unix/common/syscalls.list.
44059 (fchmod): Likewise.
44060 (fchown): Likewise.
44061 (ftruncate): Likewise.
44062 (getrusage): Likewise.
44063 (gettimeofday): Likewise.
44064 (setpgid): Likewise.
44065 (setregid): Likewise.
44066 (setreuid): Likewise.
44067 (sigaction): Likewise.
44068 (truncate): Likewise.
44069 (vhangup): Likewise.
44070 * sysdeps/unix/common/syscalls.list: Remove file.
44071 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44072 * sysdeps/unix/sysv/linux/Implies: Likewise.
44073
440742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44075
44076 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44078 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44079 Moved to ...
44080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44081 Here.
44082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44083 to ...
44084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44086 to ...
44087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44088 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44089 to ...
44090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44091 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44092 to ...
44093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44095 to ...
44096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44098 to ...
44099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44101 to ...
44102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44103 Here.
44104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44105 to ...
44106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44107 Here.
44108 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44109 to ...
44110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44111 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44112 Moved to ...
44113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44114 Here.
44115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44116 to ...
44117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44118
441192012-05-04 Joseph Myers <joseph@codesourcery.com>
44120
44121 * sysdeps/unix/common/bits/dirent.h: Remove file.
44122 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44123
44124 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44125 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44126 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44127 * sysdeps/unix/bsd/isatty.c: Likewise.
44128 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44129 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44130 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44131
441322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44133
44134 [BZ #13563]
44135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44136 long double comparison inaccuracies.
44137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44139
441402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44141
44142 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44144
441452012-05-04 Joseph Myers <joseph@codesourcery.com>
44146
44147 [BZ #14049]
44148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44149 nonzero digits before rounding a hex value.
44150 * stdlib/tst-strtod.c (tests): Add another test.
44151
441522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44153
44154 * sysdeps/s390/fpu/libm-test-ulps: Update.
44155
441562012-05-03 Andreas Jaeger <aj@suse.de>
44157
44158 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44159 does not get optimized out.
44160 (malloc_opt_barrier): New.
44161
441622012-05-03 Andreas Jaeger <aj@suse.de>
44163 Roland McGrath <roland@hack.frob.com>
44164
44165 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44166 intermediate file deletion.
44167 (generated): Add .symlist files.
44168
441692012-05-03 Joseph Myers <joseph@codesourcery.com>
44170
44171 [BZ #13775]
44172 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44173 Redirect under this condition.
44174 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44175 [__USE_GNU] (__dprintf_chk): Not under this condition.
44176 [__USE_GNU] (__vdprintf_chk): Likewise.
44177 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44178 under this condition.
44179 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44180 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44181 [__USE_XOPEN2K8] (vdprintf): Likewise.
44182 [__USE_GNU] (__dprintf_chk): Not under this condition.
44183 [__USE_GNU] (__vdprintf_chk): Likewise.
44184 [__USE_GNU] (dprintf): Likewise.
44185 [__USE_GNU] (vdprintf): Likewise.
44186
441872012-05-03 Roland McGrath <roland@hack.frob.com>
44188
44189 * elf/Makefile (common-generated): Set this instead of generated for
44190 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44191 $(all-built-dso)-derived lists.
44192
441932012-05-03 Andreas Jaeger <aj@suse.de>
44194
44195 * sysdeps/i386/fpu/libm-test-ulps: Update.
44196
44197 * FAQ: Removed.
44198 * FAQ.in: Likewise.
44199 * scripts/gen-FAQ.pl: Likewise.
44200 * manual/install.texi (Installation): Point to online location of
44201 FAQ.
44202 * Makefile (files-for-dist): Remove FAQ.
44203 (FAQ): Remove.
44204
442052012-05-02 Allan McRae <allan@archlinux.org>
44206
44207 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44208 (LDFLAGS-reldepmod5.so): Likewise.
44209 (LDFLAGS-reldep6mod1.so): Likewise.
44210 (LDFLAGS-reldep6mod4.so): Likewise.
44211 (LDFLAGS-reldep8mod3.so): Likewise.
44212 (LDFLAGS-unload4mod1.so): Likewise.
44213 (LDFLAGS-unload4mod2.so): Likewise.
44214 (LDFLAGS-tst-initorder): Likewise.
44215 (LDFLAGS-tst-initordera2.so): Likewise.
44216 (LDFLAGS-tst-initordera3.so): Likewise.
44217 (LDFLAGS-tst-initordera4.so): Likewise.
44218 (LDFLAGS-tst-initorderb2.so): Likewise.
44219 (LDFLAGS-noload): Likewise.
44220 (LDFLAGS-next): Likewise.
44221 (LDFLAGS-order2mod1.so): Likewise.
44222 (LDFLAGS-order2mod2.so): Likewise.
44223 (LDFLAGS-tst-initorder2): Likewise.
44224 (LDFLAGS-tst-initorder2a.so): Likewise.
44225 (LDFLAGS-tst-initorder2b.so): Likewise.
44226 (LDFLAGS-tst-initorder2c.so): Likewise.
44227 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44228
442292012-05-02 David S. Miller <davem@davemloft.net>
44230
44231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44232
442332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44234
44235 [BZ #14055]
44236 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44237
442382012-05-02 Andreas Jaeger <aj@suse.de>
44239
44240 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44241 since we manipulate rounding mode.
44242 (CPPFLAGS-test-idouble.c): Likewise.
44243 (CPPFLAGS-test-ifloat.c): Likewise.
44244 (CFLAGS-test-ldouble.c): Likewise.
44245 (CFLAGS-test-double.c): Likewise.
44246 (CFLAGS-test-float.c): Likewise.
44247 (CFLAGS-test-misc.c): Likewise.
44248 (CFLAGS-test-test-fenv.c): Likewise.
44249
442502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44251
44252 [BZ #2550]
44253 [BZ #2570]
44254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44255 comparisons to determine direction to adjust input.
44256
442572012-05-01 Roland McGrath <roland@hack.frob.com>
44258
44259 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44260 output to the target.
44261
44262 * scripts/localplt.awk: New file.
44263 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44264 (check-localplt-CFLAGS): Variable removed.
44265 ($(all-built-dso:=.jmprel)): New static pattern rule.
44266 (generated): Add those targets.
44267 (localplt-built-dso): New variable.
44268 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44269
44270 * elf/check-localplt.c: File removed.
44271
44272 * scripts/check-execstack.awk: New file.
44273 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44274 (check-execstack-CFLAGS): Variable removed.
44275 ($(objpfx)check-execstack.h): Target removed.
44276 ($(objpfx)execstack-default): New target.
44277 (generated): Add that instead of check-execstack.h.
44278 ($(all-built-dso:=.phdr)): New static pattern rule.
44279 (generated): Add those targets.
44280 * elf/check-execstack.c: File removed.
44281
44282 * scripts/check-textrel.awk: New file.
44283 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44284 (check-textrel-CFLAGS): Variable removed.
44285 (all-built-dso): Use := to define.o
44286 ($(all-built-dso:=.dyn)): New static pattern rule.
44287 (generated): Add those targets.
44288 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44289 * config.make.in (READELF): New substituted variable.
44290 * elf/check-textrel.c: File removed.
44291
442922012-05-01 Joseph Myers <joseph@codesourcery.com>
44293
44294 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44295 allow.
44296 * conform/data/ctype.h-data [C99-based standards] (isblank):
44297 Expect function.
44298 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44299 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44301 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44302 Specify type. Require positive value.
44303 (EILSEQ): Likewise.
44304 (ERANGE): Likewise.
44305 [ISO || POSIX] (EILSEQ): Do not expect.
44306 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44307 Specify type. Require positive value.
44308 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44309 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44310 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44311 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44312 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44313 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44314 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44315 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44316 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44317 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44318 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44319 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44320 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44321 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44322 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44323 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44324 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44325 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44326 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44327 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44328 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44329 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44330 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44331 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44332 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44333 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44334 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44335 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44336 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44337 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44338 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44339 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44340 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44341 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44342 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44343 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44344 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44345 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44346 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44347 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44348 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44349 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44350 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44351 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44352 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44353 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44354 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44355 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44356 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44357 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44358 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44359 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44360 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44361 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44362 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44363 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44364 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44365 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44366 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44367 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44368 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44369 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44370 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44371 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44372 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44373 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44374 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44375 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44376 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44377 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44378 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44379 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44380 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44381 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44382 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44383 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44384 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44385 Require >= 2.
44386 (FLT_ROUNDS): Expect as macro, not constant.
44387 (FLT_MANT_DIG): Use macro-int-constant.
44388 (DBL_MANT_DIG): Likewise.
44389 (LDBL_MANT_DIG): Likewise.
44390 (FLT_DIG): Likewise.
44391 (DBL_DIG): Likewise.
44392 (LDBL_DIG): Likewise.
44393 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44394 (DBL_MIN_EXP): Likewise.
44395 (LDBL_MIN_EXP): Likewise.
44396 (FLT_MAX_EXP): Use macro-int-constant.
44397 (DBL_MAX_EXP): Likewise.
44398 (LDBL_MAX_EXP): Likewise.
44399 (FLT_MAX_10_EXP): Likewise.
44400 (DBL_MAX_10_EXP): Likewise.
44401 (LDBL_MAX_10_EXP): Likewise.
44402 (FLT_MAX): Use macro-constant.
44403 (DBL_MAX): Likewise.
44404 (LDBL_MAX): Likewise.
44405 (FLT_EPSILON): Use macro-constant. Give upper bound.
44406 (DBL_EPSILON): Likewise.
44407 (LDBL_EPSILON): Likewise.
44408 (FLT_MIN): Likewise.
44409 (DBL_MIN): Likewise.
44410 (LDBL_MIN): Likewise.
44411 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44412 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44413 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44414 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44415 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44416 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44417 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44418 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44419 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44420 [ISO11] (FLT_TRUE_MIN): Likewise.
44421 [ISO11] (LDBL_TRUE_MIN): Likewise.
44422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44423 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44424 (SCHAR_MIN): Use macro-int-constant. Specify type.
44425 (SCHAR_MAX): Likewise.
44426 (UCHAR_MAX): Likewise.
44427 (CHAR_MIN): Likewise.
44428 (CHAR_MAX): Likewise.
44429 (MB_LEN_MAX): Use macro-int-constant.
44430 (SHRT_MIN): Use macro-int-constant. Specify type.
44431 (SHRT_MAX): Likewise.
44432 (USHRT_MAX): Likewise.
44433 (INT_MAX): Likewise.
44434 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44435 bound negative.
44436 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44437 bound with "U".
44438 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44439 bound with "L".
44440 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44441 bound negative. Suffix upper bound with "L".
44442 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44443 bound with "UL".
44444 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44445 Specify type.
44446 [C99-based standards] (LLONG_MAX): Likewise.
44447 [C99-based standards] (ULLONG_MAX): Likewise.
44448 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44449 == 0.
44450 [ISO11] (max_align_t): Require type.
44451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44452
44453 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44454 from $CFLAGS, without defining away __attribute__ calls.
44455 (checknamespace): Use $CFLAGS_namespace.
44456
44457 * conform/conformtest.pl (@keywords): Only include C99 keywords
44458 for standards based on C99 or C11.
44459
44460 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44461 Disable tests.
44462 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44463 UNIX98]: Likewise.
44464
44465 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44466 usability of symbols in #if.
44467
44468 * conform/conformtest.pl: If macro or constant types start
44469 "promoted:", expect the symbol to be of the following type
44470 promoted by the integer promotions.
44471
44472 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44473 in one place. Also handle "macro-constant".
44474
44475 * conform/conformtest.pl: Only accept expected macro values with
44476 "==". Parse all "macro" lines in one place.
44477 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44478
44479 * conform/conformtest.pl: Handle braced types on "constant" lines
44480 instead of handling "typed-constant".
44481 * conform/data/signal.h-data: Use "constant" instead of
44482 "typed-constant".
44483
44484 * conform/conformtest.pl: Handle "optional-" at start of lines in
44485 one place rather than duplicating several cases. Handle each
44486 format of "macro" line with initial "optional-".
44487
44488 * conform/conformtest.pl: Only accept expected constant or
44489 optional-constant values with "==". Parse all "constant" lines in
44490 one place. Parse all "optional-constant" lines in one place.
44491 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44492 * conform/data/fmtmsg.h-data: Likewise.
44493 * conform/data/netinet/in.h-data: Likewise.
44494 * conform/data/tar.h-data: Likewise.
44495 * conform/data/limits.h-data: Use "==" form on "constant" and
44496 "optional-constant" lines.
44497
44498 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44499 Use -std=c99 for XOPEN2K.
44500 (@knownproblems): Remove.
44501 (newtoken): Don't check %isknown.
44502
44503 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44504 Do not expect macro.
44505 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44506 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44507 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44508 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44509 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44510 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44511 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44512 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44513 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44514 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44515 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44516 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44517 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44518 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44519 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44520 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44521 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44522 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44523 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44524 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44525 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44529 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44530 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44531 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44532 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44533 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44534 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44535 [XPG3] (acosh): Likewise.
44536 [XPG3] (asinh): Likewise.
44537 [XPG3] (atanh): Likewise.
44538 [XPG3] (cbrt): Likewise.
44539 [XPG3] (expm1): Likewise.
44540 [XPG3] (ilogb): Likewise.
44541 [XPG3] (log1p): Likewise.
44542 [XPG3] (logb): Likewise.
44543 [XPG3] (nextafter): Likewise.
44544 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44545 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44546 [XPG3] (remainder): Likewise.
44547 [XPG3] (rint): Likewise.
44548 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44549 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44550 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44551 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44552 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44553 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44554 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44555 [UNIX98 || XOPEN2K] (scalb): Expect.
44556 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44557 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44558 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44559 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44560 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44561 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44562 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44563 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44564 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44565 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44566 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44567 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44568 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44569 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44570 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44571 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44572 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44573 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44574 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44575 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44576 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44577 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44578 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44579 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44580 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44581 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44582 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44583 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44584 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44585 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44586 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44587 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44588 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44590 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44591 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44592 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44593 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44594 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44595 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44596 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44597 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44598 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44599 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44600 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44601 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44602 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44603 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44604 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44605 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44606 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44607 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44608 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44609 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44610 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44611 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44612 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44613 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44614 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44615 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44616 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44617 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44618 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44621 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44630 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44633 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44634 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44647 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44648 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44649 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44650 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44651 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44652 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44653 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44654 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44655 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44656 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44657 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44658 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44659 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44662 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44663 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44693
44694 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44695 _XOPEN_SOURCE_EXTENDED for XPG4.
44696
44697 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44698
44699 * Makeconfig (localtime): Remove variable.
44700 (inst_localtime-file): Likewise.
44701
447022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44703
44704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44705 Update.
44706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44707 Update.
44708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44709 Update.
44710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44711 Update.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44713 Update.
44714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44715 Update.
44716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44717 Update.
44718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44719 Update.
44720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44721 Update.
44722
447232012-05-01 Joseph Myers <joseph@codesourcery.com>
44724
44725 [BZ #2550]
44726 [BZ #2570]
44727 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44728 comparisons to determine direction to adjust input.
44729 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44730 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44732 Likewise.
44733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44734 Likewise.
44735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44736 Likewise.
44737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44739 Likewise.
44740 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44741 Likewise.
44742 * math/libm-test.inc (nexttoward_test): Add more tests.
44743
447442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44745
44746 [BZ #14040]
44747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44748 in version GLIBC_2.1, not GLIBC_2.0.
44749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44750 Likewise.
44751
447522012-04-30 Joseph Myers <joseph@codesourcery.com>
44753
44754 [BZ #13942]
44755 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44756 (1 - x) * (1 + x).
44757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44758 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44759 * math/libm-test.inc (acos_test): Add more tests.
44760 (asin_test): Likewise.
44761 * sysdeps/i386/fpu/libm-test-ulps: Update.
44762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44763
44764 [BZ #14034]
44765 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44766 of square root.
44767 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44769 * math/libm-test.inc (acos_test_tonearest): New function.
44770 (acos_test_towardzero): Likewise.
44771 (acos_test_downward): Likewise.
44772 (acos_test_upward): Likewise.
44773 (asin_test_tonearest): Likewise.
44774 (asin_test_towardzero): Likewise.
44775 (asin_test_downward): Likewise.
44776 (asin_test_upward): Likewise.
44777 (main): Call the new functions.
44778 * sysdeps/i386/fpu/libm-test-ulps: Update.
44779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44780
44781 [BZ #13884]
44782 [BZ #13924]
44783 * math/e_exp10.c: Include <float.h>.
44784 (__ieee754_exp10): Handle underflow here rather than multiplying
44785 large negative argument by M_LN10.
44786 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44787 of __ieee754_expf.
44788 * math/e_exp10l.c: Include <float.h>.
44789 (__ieee754_exp10l): Handle underflow here rather than multiplying
44790 large negative argument by M_LN10l.
44791 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44792 spurious overflow exception on underflow.
44793
447942012-04-29 Marek Polacek <polacek@redhat.com>
44795
44796 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44797 (__fortify_function): New macro.
44798 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44799 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44800 __extern_always_inline.
44801 * libio/bits/stdio2.h: Likewise.
44802 * libio/bits/stdio.h: Likewise.
44803 * string/string.h: Likewise.
44804 * string/bits/string3.h: Likewise.
44805 * include/stdio.h: Likewise.
44806 * stdlib/bits/stdlib.h: Likewise.
44807 * stdlib/stdlib.h: Likewise.
44808 * rt/bits/mqueue2.h: Likewise.
44809 * rt/mqueue.h: Likewise.
44810 * posix/bits/unistd.h: Likewise.
44811 * posix/unistd.h: Likewise.
44812 * io/bits/poll2.h: Likewise.
44813 * io/bits/fcntl2.h: Likewise.
44814 * io/fcntl.h: Likewise.
44815 * io/sys/poll.h: Likewise.
44816 * misc/bits/syslog.h: Likewise.
44817 * misc/bits/syslog-ldbl.h: Likewise.
44818 * misc/sys/syslog.h: Likewise.
44819 * socket/bits/socket2.h: Likewise.
44820 * socket/sys/socket.h: Likewise.
44821 * debug/tst-chk1.c: Likewise.
44822 * wcsmbs/bits/wchar2.h: Likewise.
44823 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44824 * wcsmbs/wchar.h: Likewise.
44825
448262012-04-29 Andreas Jaeger <aj@suse.de>
44827
44828 * Makerules (tests): Remove enable-check-abi protection.
44829 (check-abi-warn): Remove.
44830 (check-abi-%): Remove check-abi-warn usage.
44831
44832 * configure.in: Remove check-abi configure option.
44833 * configure: Regenerated.
44834 * config.make.in (enable-check-abi): Remove.
44835
448362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44837
44838 [BZ #14033]
44839 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44840 double functions to double *_finite functions.
44841
44842 [BZ #13941]
44843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44844 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44845 LDBL_MIN_EXP.
44846 * stdio-common/Makefile (tests): Add tst-sprintf3.
44847 * stdio-common/tst-sprintf3.c: New file.
44848
44849 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44850 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44851
448522012-04-28 Joseph Myers <joseph@codesourcery.com>
44853
44854 * conform/conformtest.pl: Remove duplicate typed-constant
44855 handling.
44856
448572012-04-28 David S. Miller <davem@davemloft.net>
44858
44859 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44860 (check-abi-%): Remove AWK script prerequisite and explicit
44861 abilist directory.
44862 (check-abi): Rewrite to just diff the symlist with the abilist.
44863 (config-tls, config-abi-config): Delete, no longer used.
44864 (update-abi-%): Remove AWK script and explicit abilist directory.
44865 (update-abi): Rewrite to simply compare and conditionally copy the
44866 symlist and the sysdep abilist file. Remove update-abi-config
44867 checks.
44868 * abilist/ld.abilist: Remove.
44869 * abilist/libBrokenLocale.abilist: Remove.
44870 * abilist/libanl.abilist: Remove.
44871 * abilist/libcrypt.abilist: Remove.
44872 * abilist/libdl.abilist: Remove.
44873 * abilist/librt.abilist: Remove.
44874 * abilist/libthread_db.abilist: Remove.
44875 * abilist/libutil.abilist: Remove.
44876 * scripts/extract-abilist.awk: Remove.
44877 * scripts/merge-abilist.awk: Remove.
44878 * sysdeps/generic/libcidn.abilist: New file.
44879 * sysdeps/generic/libnss_compat.abilist: New file.
44880 * sysdeps/generic/libnss_db.abilist: New file.
44881 * sysdeps/generic/libnss_dns.abilist: New file.
44882 * sysdeps/generic/libnss_files.abilist: New file.
44883 * sysdeps/generic/libnss_hesiod.abilist: New file.
44884 * sysdeps/generic/libnss_nis.abilist: New file.
44885 * sysdeps/generic/libnss_nisplus.abilist: New file.
44886 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44887 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44888 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44889 file.
44890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44891 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44892 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44893 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44895 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44896 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44897 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44898 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44899 file.
44900 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44901 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44903 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44904 file.
44905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44908 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44910 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44911 file.
44912 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44914 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44915 file.
44916 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44918 New file.
44919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44920 New file.
44921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44922 New file.
44923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44924 New file.
44925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44926 New file.
44927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44928 New file.
44929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44930 New file.
44931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44932 New file.
44933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44934 New file.
44935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44936 New file.
44937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44938 New file.
44939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44940 New file.
44941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44942 New file.
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44944 file.
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44946 New file.
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44948 New file.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44950 file.
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44952 New file.
44953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44954 New file.
44955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44956 file.
44957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44958 New file.
44959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44960 New file.
44961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44962 New file.
44963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44964 New file.
44965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44966 New file.
44967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44968 New file.
44969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44971 file.
44972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44973 New file.
44974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44975 file.
44976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44977 file.
44978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44979 file.
44980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44981 file.
44982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44983 file.
44984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44985 New file.
44986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44987 file.
44988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44989 file.
44990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44991 New file.
44992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44993 file.
44994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44996 file.
44997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44998 New file.
44999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45000 file.
45001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45002 file.
45003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45004 file.
45005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45006 file.
45007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45008 file.
45009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45010 New file.
45011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45012 file.
45013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45014 file.
45015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45016 New file.
45017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45018 file.
45019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45020 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45021 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45022 file.
45023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45024 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45025 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45027 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45028 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45029 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45030 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45031 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45032 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45035 file.
45036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45037 New file.
45038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45039 file.
45040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45041 file.
45042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45043 file.
45044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45045 file.
45046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45047 file.
45048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45049 New file.
45050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45051 New file.
45052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45053 file.
45054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45055 New file.
45056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45057 file.
45058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45060 file.
45061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45062 New file.
45063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45064 file.
45065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45066 file.
45067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45068 file.
45069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45070 file.
45071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45072 file.
45073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45074 New file.
45075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45076 New file.
45077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45078 file.
45079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45080 New file.
45081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45082 file.
45083
450842012-04-28 Joseph Myers <joseph@codesourcery.com>
45085
45086 * conform/conformtest.pl: Fix typo in handling typed-constant from
45087 allow-header.
45088
450892012-04-27 Joseph Myers <joseph@codesourcery.com>
45090
45091 * README: Cut down references to pre-2.6 Linux kernels and
45092 Linuxthreads. Update lists of configurations in libc and ports
45093 and sort alphabetically. Say "or newer" with Linux kernel version
45094 requirements.
45095
45096 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45097
450982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45099
45100 [BZ #887]
45101 * math/libm-test.inc (logb_test_downward): New test to expose
45102 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45103 rounding mode.
45104
451052012-04-27 Joseph Myers <joseph@codesourcery.com>
45106
45107 [BZ #14027]
45108 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45109 to be done.
45110 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45111 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45112
451132012-04-26 Joseph Myers <joseph@codesourcery.com>
45114
45115 * sysdeps/unix/i386/brk.S: Remove file.
45116 * sysdeps/unix/i386/dl-brk.S: Likewise.
45117 * sysdeps/unix/i386/pipe.S: Likewise.
45118 * sysdeps/unix/i386/sigreturn.S: Likewise.
45119 * sysdeps/unix/i386/syscall.S: Likewise.
45120 * sysdeps/unix/i386/vfork.S: Likewise.
45121 * sysdeps/unix/i386/wait.S: Likewise.
45122
45123 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45124 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45125
45126 * configure.in (arm*-none*): Do not allow without
45127 --enable-hacker-mode.
45128 (netbsd*): Remove case setting base_os.
45129 (386bsd*): Likewise.
45130 (freebsd*): Likewise.
45131 (bsdi*): Likewise.
45132 (osf*): Likewise.
45133 (sunos*): Likewise.
45134 (ultrix*): Likewise.
45135 (newsos*): Likewise.
45136 (dynix*): Likewise.
45137 (*bsd*): Likewise.
45138 (sysv*): Likewise.
45139 (isc*): Likewise.
45140 (esix*): Likewise.
45141 (sco*): Likewise.
45142 (minix*): Likewise.
45143 (irix4*): Likewise.
45144 (irix6*): Likewise.
45145 (solaris[2-9]*): Likewise.
45146 (none): Likewise.
45147 * configure: Regenerated.
45148
451492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45150
45151 [BZ #11521]
45152 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45153 overflow or cancellation in calculating denominator.
45154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45156 down expression to avoid unexpected rounding in newer GCCs.
45157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45158
451592012-04-26 David S. Miller <davem@davemloft.net>
45160
45161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45162 long-double compat symbols.
45163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45176
451772012-04-25 David S. Miller <davem@davemloft.net>
45178
45179 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45180 HWCAP_* values only after the memory barriers have been defined.
45181 (atomic_full_barrier): Define.
45182 (atomic_read_barrier): Define.
45183 (atomic_write_barrier): Define.
45184
451852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45186
45187 * shlib-versions: Add libgcc_s version information.
45188 * sysdeps/generic/libgcc_s.h: Remove.
45189 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45190 libgcc_s.h.
45191 * sysdeps/gnu/unwind-resume.c: Likewise.
45192 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45193
451942012-04-25 David S. Miller <davem@davemloft.net>
45195
45196 * sysdeps/unix/sparc/brk.S: Delete.
45197 * sysdeps/unix/sparc/dl-brk.S: Delete.
45198 * sysdeps/unix/sparc/pipe.S: Delete.
45199 * sysdeps/unix/sparc/sysdep.S: Delete.
45200 * sysdeps/unix/sparc/sysdep.h: Delete.
45201 * sysdeps/unix/sparc/vfork.S: Delete.
45202 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45203 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45205 (ret_ERRVAL, r0, r1, MOVE): Define.
45206 (JUMPTARGET): Remove.
45207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45208 sysdeps/unix/sparc/sysdep.h
45209 (ENTRY, END): Remove.
45210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45211
452122012-04-25 Joseph Myers <joseph@codesourcery.com>
45213
45214 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45215 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45216 -DIS_IN_build.
45217
45218 * timezone/README: Update upstream location and email address for
45219 tzcode and tzdata.
45220 * timezone/zdump.c: Update from tzcode 2012b.
45221 * timezone/zic.c: Likewise.
45222
45223 * configure.in (libc_cv_as_needed): Remove test.
45224 * configure: Regenerated.
45225 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45226 conditional definition.
45227 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45228 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45229 * config.make.in (have-as-needed): Remove variable.
45230
452312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45232 Paul Pluzhnikov <ppluzhnikov@google.com>
45233
45234 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45235 strings correctly.
45236
452372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45238
45239 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45240 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45241 * sysdeps/sh/strlen.S: Likewise.
45242
452432012-04-24 Joseph Myers <joseph@codesourcery.com>
45244
45245 * sysdeps/unix/fork.S: Remove file.
45246 * sysdeps/unix/i386/fork.S: Likewise.
45247 * sysdeps/unix/sparc/fork.S: Likewise.
45248
45249 * sysdeps/unix/system.c: Remove file.
45250 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45251
45252 * sysdeps/unix/getegid.S: Remove file.
45253 * sysdeps/unix/geteuid.S: Likewise.
45254
452552012-04-24 Roland McGrath <roland@hack.frob.com>
45256
45257 * scripts/check-localplt.awk: New file.
45258 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45259 of diff.
45260 * scripts/data/localplt-generic.data: Add a comment.
45261
45262 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45263 NODE when __dir_mkfile failed.
45264 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45265 Reported by Ludovic Courtès <ludo@gnu.org>.
45266
452672012-04-24 Andreas Jaeger <aj@suse.de>
45268
45269 * Makerules (common-clean): Also remove gen-as-const-headers
45270 files.
45271
452722012-04-24 Joseph Myers <joseph@codesourcery.com>
45273
45274 * Makerules (native-compile): Do not change working directory for
45275 build. Use $(OUTPUT_OPTION) in command.
45276 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45277
452782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45279
45280 [BZ #13886]
45281 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45282 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45283 * math/libm-test.inc (floor_test): Add more tests.
45284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45285
452862012-04-24 Joseph Myers <joseph@codesourcery.com>
45287
45288 * sysdeps/unix/getdents.c: Remove file.
45289 * sysdeps/unix/sysv/getdents.c: Likewise.
45290 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45291
45292 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45293 sysdeps/unix/mman/syscalls.list.
45294 (mmap): Likewise.
45295 (mprotect): Likewise.
45296 (msync): Likewise.
45297 (munmap): Likewise.
45298 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45299 * sysdeps/unix/mman/syscalls.list: Remove.
45300 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45301
45302 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45303 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45304 * configure: Regenerated.
45305 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45306 $(libgcc_s_suffix).
45307 * config.make.in (libgcc_s_suffix): Remove variable.
45308
453092012-04-23 Joseph Myers <joseph@codesourcery.com>
45310
45311 * sysdeps/unix/sysv/gethostname.c: Move to ...
45312 * sysdeps/posix/gethostname.c: ... here.
45313
45314 * sysdeps/unix/execve.S: Remove file.
45315
45316 * sysdeps/unix/_exit.S: Remove file.
45317
453182012-04-23 Andreas Jaeger <aj@suse.de>
45319
45320 [BZ #13739]
45321 * manual/Makefile: Remove make dist support, there's no
45322 need for a stand-alone documentation tar ball.
45323 (TEXI2DVI): Define always, it's not in Makeconfig.
45324 (dist): Removed.
45325 (tar-it): Removed.
45326 (edition): Removed.
45327 (glibc-doc-$(edition).tar): Removed
45328 (%.Z): Removed.
45329 (%.gz): Removed.
45330 (%.uu): Removed.
45331 (ETAGS): Remove, it's in Makeconfig.
45332 (move-if-change): Remove, it's in Makeconfig.
45333
453342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45335
45336 [BZ #13970]
45337 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45338 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45339 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45340 (strtod_l, strtof_l, strtold_l): Remove __wur.
45341 It is not necessarily an error to ignore strtol's return value.
45342 One can reliably look at the stored endptr to decide whether
45343 the number had valid syntax.
45344
453452012-04-21 Andreas Jaeger <aj@suse.de>
45346
45347 [BZ #13739]
45348 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45349
453502012-04-21 Joseph Myers <joseph@codesourcery.com>
45351
45352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45353 * sysdeps/unix/sysv/Versions: Remove file.
45354
453552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45356
45357 [BZ #13927]
45358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45359
453602012-04-21 Nick Alcock <nick.alcock@oracle.com>
45361
45362 [BZ #7064]
45363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45364 version from __vm86.
45365
453662012-04-20 Joseph Myers <joseph@codesourcery.com>
45367
45368 * sysdeps/unix/common/lxstat.c: Remove file.
45369 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45370
45371 * sysdeps/unix/sysv/Makefile: Remove file.
45372
45373 * sysdeps/unix/sysv/direct.h: Remove file.
45374
45375 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45376 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45377 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45378 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45379 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45380 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45381 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45382
45383 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45384
45385 * sysdeps/unix/xmknod.c: Remove file.
45386 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45387
45388 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45389
45390 * sysdeps/unix/sysv/i386/time.S: Remove file.
45391
45392 * sysdeps/unix/fxstat.c: Remove file.
45393 * sysdeps/unix/xstat.c: Likewise.
45394 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45395
45396 * sysdeps/unix/sysv/sigaction.c: Remove file.
45397
45398 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45399 (sysdep_headers): Remove variable.
45400 [termio.h not in sysdep_headers] (generated): Likewise.
45401 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45402 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45403 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45404 * sysdeps/unix/sysv/tcflow.c: Likewise.
45405 * sysdeps/unix/sysv/tcflush.c: Likewise.
45406 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45407 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45408 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45409 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45410 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45411
45412 * sysdeps/unix/siglist.c: Remove file.
45413
45414 * sysdeps/unix/getppid.S: Remove file.
45415
45416 * sysdeps/unix/mkdir.c: Remove file.
45417 * sysdeps/unix/rmdir.c: Likewise.
45418
454192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45420
45421 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45422 ERR_MAX value.
45423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45424 errlist-compat value.
45425
454262012-04-18 David S. Miller <davem@davemloft.net>
45427
45428 * sysdeps/generic/memcopy.h (reg_char): Delete.
45429 * debug/strcat_chk.c: Use char, not reg_char.
45430 * debug/strcpy_chk.c: Likewise.
45431 * debug/strncat_chk.c: Likewise.
45432 * debug/strncpy_chk.c: Likewise.
45433 * string/memchr.c: Likewise.
45434 * string/memrchr.c: Likewise.
45435 * string/rawmemchr.c: Likewise.
45436 * string/strcat.c: Likewise.
45437 * string/strchr.c: Likewise.
45438 * string/strchrnul.c: Likewise.
45439 * string/strcmp.c: Likewise.
45440 * string/strcpy.c: Likewise.
45441 * string/strncat.c: Likewise.
45442 * string/strncmp.c: Likewise.
45443 * string/strncpy.c: Likewise.
45444
454452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45446
45447 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45448 __builtin_memcopy is called when src and dest ranges are known to not
45449 overlap.
45450
454512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45452
45453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45454 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45455 fwd_align_merge macro call.
45456 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45457 bwd_align_merge macro call.
45458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45459
454602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45461
45462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45463 bwd_align_merge macros.
45464 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45465 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45466 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45467
454682012-04-18 David S. Miller <davem@davemloft.net>
45469
45470 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45471
454722012-04-18 Andreas Jaeger <aj@suse.de>
45473
45474 [BZ# 6794]
45475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45476 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45478
45479 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45480 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45482
45483 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45484 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45485 Adjust for changed ldbl-128 files.
45486
45487 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45488 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45490
454912012-04-17 David S. Miller <davem@davemloft.net>
45492
45493 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45494
454952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45496
45497 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45498 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45499 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45500 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45501 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45502 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45503
455042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45505
45506 [BZ #6794]
45507 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45508 * math/libm-test.inc: Add ilogb errno and exception tests.
45509 * math/w_ilogb.c: New file: ilogb wrapper.
45510 * math/w_ilogbf.c: New file: ilogbf wrapper.
45511 * math/w_ilogbl.c: New file: ilogbl wrapper.
45512 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45513 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45514 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45515 exception being thrown with 0.0 as argument.
45516 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45517 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45518 exception being thrown with 0.0 as argument.
45519 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45520 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45521 exception being thrown with 0.0 as argument.
45522 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45523 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45524 exception being thrown with 0.0 as argument.
45525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45526 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45528 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45531 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45532 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45533 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45534
455352012-04-17 Petr Baudis <pasky@ucw.cz>
45536
45537 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45538 with altivec.
45539
455402012-04-16 Marek Polacek <polacek@redhat.com>
45541
45542 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45543
455442012-04-16 Marek Polacek <polacek@redhat.com>
45545
45546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45547 operands of fdivp instruction.
45548
455492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45550
45551 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45552 * elf/tst-auditmod3b.c: Likewise.
45553 * elf/tst-auditmod4b.c: Likewise.
45554 * elf/tst-auditmod5b.c: Likewise.
45555 * elf/tst-auditmod6b.c: Likewise.
45556 * elf/tst-auditmod6c.c: Likewise.
45557 * elf/tst-auditmod7b.c: Likewise.
45558 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45559 * sysdeps/x86_64/preconfigure.in: Likewise.
45560 * sysdeps/x86_64/preconfigure: Regenerated.
45561
455622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45563
45564 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45565 __ILP32__.
45566
455672012-04-13 Antoine Balestrat <merkil33@gmail.com>
45568
45569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45570 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45571
455722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45573
45574 [BZ #13973]
45575 * locale/iso-639.def: Fix gl language name. Spotted by
45576 Yaron Shahrabani.
45577
455782012-04-12 Roland McGrath <roland@hack.frob.com>
45579
45580 [BZ #2074]
45581 * libio/libio.h (__io_write_fn): Update comment.
45582
455832012-04-12 Petr Baudis <pasky@ucw.cz>
45584
45585 [BZ #2074]
45586 * stdio.texi (Hook Functions): The user provided writer function
45587 is not allowed to return -1.
45588
455892012-04-11 David S. Miller <davem@davemloft.net>
45590
45591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45592
455932012-04-11 Mike Frysinger <vapier@gentoo.org>
45594
45595 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45596 Add a leading slash to rtkaio.
45597
455982012-04-11 Jim Meyering <meyering@redhat.com>
45599
45600 [BZ #11959]
45601 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45602 It is not necessarily an error to ignore fwrite's return
45603 value. One can reliably use ferror to test for errors after
45604 the fact.
45605
456062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45607
45608 * bits/types.h (__snseconds_t): New type.
45609 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45610
45611 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45613 (__SNSECONDS_T_TYPE): Likewise.
45614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45615 (__SNSECONDS_T_TYPE): Likewise.
45616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45617 (__SNSECONDS_T_TYPE): Likewise.
45618
456192012-04-10 Andreas Jaeger <aj@suse.de>
45620
45621 [BZ #2636]
45622 * manual/time.texi (Processor Time): Return type of times is
45623 elapsed real time since an arbitrary point in the past.
45624 (CPU Time): Move CLK_TCK from here...
45625 (Processor Time): ...to here. Correct description.
45626 * manual/conf.texi (Constants for Sysconf): Correct description of
45627 _SC_CLK_TCK.
45628
456292012-04-10 David S. Miller <davem@davemloft.net>
45630
45631 [BZ #13967]
45632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45633 where the is a gap between DT_REL(A) and DT_JMPREL.
45634
456352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45636
45637 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45638 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45639 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45640
456412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45642
45643 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45644 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45645 (dl_main): Handle --inhibit-cache.
45646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45647 _dl_inhibit_cache.
45648 * elf/dl-load.c (_dl_map_object): Use it.
45649 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45650
456512012-04-09 Joseph Myers <joseph@codesourcery.com>
45652
45653 [BZ #13872]
45654 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45655 (__ieee754_powl): Saturate large exponents rather than testing for
45656 overflow of y*log2(x).
45657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45658 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45659 exceptions.
45660
45661 [BZ #11521]
45662 * math/s_ctan.c: Include <float.h>.
45663 (__ctan): Avoid internal overflow or cancellation in calculating
45664 denominator.
45665 * math/s_ctanf.c: Likewise.
45666 * math/s_ctanl.c: Likewise.
45667 * math/s_ctanh.c: Likewise.
45668 * math/s_ctanhf.c: Likewise.
45669 * math/s_ctanhl.c: Likewise.
45670 * math/libm-test.inc (ctan_test): Add more tests.
45671 (ctanh_test): Likewise.
45672 * sysdeps/i386/fpu/libm-test-ulps: Update.
45673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45674
456752012-04-09 Andreas Jaeger <aj@suse.de>
45676
45677 [BZ #6894]
45678 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45679 is an optional BSD extension.
45680
45681 [BZ #10254]
45682 * manual/stdio.texi (Opening Streams): Document additional fopen
45683 parameters.
45684
456852012-04-09 Roland McGrath <roland@hack.frob.com>
45686
45687 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45688 %eax without telling the compiler.
45689
456902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45691
45692 [BZ # 13963]
45693 * manual/install.texi: Use sourceware.org.
45694
456952012-04-09 Joseph Myers <joseph@codesourcery.com>
45696
45697 [BZ #13873]
45698 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45699 (__ieee754_pow): Generate overflow and underflow using huge*huge
45700 and tiny*tiny rather than just returning constant infinity or zero
45701 for large exponents.
45702 * math/libm-test.inc (pow_test): Require overflow exceptions for
45703 applicable cases of large exponents.
45704
45705 [BZ #706]
45706 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45707 (__ieee754_pow): Use iterative multiplication algorithm only for
45708 integer exponents with absolute value below 1024. Check for odd
45709 integer exponents when using algorithm for real exponents.
45710 * math/libm-test.inc (pow_test): Add more tests.
45711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45712
457132012-04-08 Joseph Myers <joseph@codesourcery.com>
45714
45715 [BZ #13705]
45716 * math/libm-test.inc (exp_test): Do not allow overflow exception
45717 on underflow test.
45718
457192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45720
45721 [BZ #13705]
45722 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45723 instead of __kernel_standard_f.
45724
457252012-04-08 Mike Frysinger <vapier@gentoo.org>
45726
45727 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45728 * sysdeps/x86_64/memset_chk.S: Likewise.
45729
457302012-04-08 Andreas Jaeger <aj@suse.de>
45731
45732 [BZ #10153]
45733 * manual/startup.texi (Environment Access): Describe return value
45734 for putenv and setenv.
45735
45736 [BZ #6895]
45737 * manual/filesys.texi (Directory Entries): Add description for
45738 DT_LNK.
45739
45740 [BZ #6890]
45741 * manual/filesys.texi (Directory Entries): Clarify that it's file
45742 system not operating system in the description of DT_UNKNOWN.
45743
45744 [BZ #6578]
45745 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45746
457472012-04-08 Stephen Compall <s11@member.fsf.org>
45748
45749 [BZ #6649]
45750 * manual/llio.texi (Opening and Closing Files): Add cross
45751 reference to explain mode argument.
45752
457532012-04-07 Mike Frysinger <vapier@gentoo.org>
45754
45755 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45756 * sysdeps/x86_64/memset_chk.S: Likewise.
45757
457582012-04-07 David S. Miller <davem@davemloft.net>
45759
45760 * elf/elf.h (R_SPARC_WDISP10): Define.
45761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45762 R_SPARC_SIZE32.
45763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45764 R_SPARC_SIZE64 and R_SPARC_H34.
45765
457662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45767
45768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45769 conditions and remove no longer applicable assertion.
45770
457712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45772
45773 * bits/byteswap.h: Include <features.h>.
45774 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45775 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45776
457772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45778
45779 * bits/byteswap.h (__bswap_16): Removed.
45780 Include <bits/byteswap-16.h> to get __bswap_16.
45781 * sysdeps/i386/bits/byteswap.h: Likewise.
45782 * sysdeps/s390/bits/byteswap.h: Likewise.
45783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45784 * bits/byteswap-16.h: New file.
45785 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45786 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45787 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45788 * string/Makefile (headers): Add bits/byteswap-16.h.
45789
457902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45791
45792 [BZ #13895]
45793 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45794 extra indirection.
45795 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45796 * nss/tst-nss-static.c: New.
45797
457982012-04-06 Robert Millan <rmh@gnu.org>
45799
45800 [BZ #6486]
45801 * manual/llio.texi (File Position Primitive): lseek
45802 refers to WHENCE when it really means OFFSET.
45803
458042012-04-06 Andreas Jaeger <aj@suse.de>
45805
45806 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45807 strncmp declarations.
45808
45809 * abilist/libc.abilist: Add __poll and __ppoll.
45810
458112012-04-05 David S. Miller <davem@davemloft.net>
45812
45813 * scripts/check-local-headers.sh: Accept a host triplet in the
45814 path matched by the exclude regexp.
45815
45816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45817 definition.
45818 * sysdeps/powerpc/powerpc32/dl-machine.h
45819 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45820 * sysdeps/s390/s390-32/dl-machine.h
45821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45822 * sysdeps/sparc/sparc32/dl-machine.h
45823 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45824 * sysdeps/sparc/sparc64/dl-machine.h
45825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45826
45827 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45828 lazy binding.
45829 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45830 undefined symbol errors.
45831
45832 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45833 DT_NEEDED entries.
45834
458352012-04-05 Michael Matz <matz@suse.de>
45836
45837 [BZ #13592]
45838 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45839
458402012-04-05 Andreas Jaeger <aj@suse.de>
45841
45842 [BZ #13908]
45843 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45844 comment.
45845
458462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45847
45848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45849 which ROUND is no valid rounding mode.
45850
458512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45852
45853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45854 read again.
45855 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45856
458572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45858
45859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45860 an exception using FPU order intentionally.
45861
458622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45863
45864 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45865 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45866 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45867 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45868
458692012-04-05 Simon Josefsson <simon@josefsson.org>
45870
45871 [BZ #12340]
45872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45873 EINVAL when BUFLEN is too smal.
45874
458752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45876
45877 [BZ #13553]
45878 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45879 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45880
458812012-04-03 Andreas Jaeger <aj@suse.de>
45882
45883 [BZ #13938]
45884 * manual/setjmp.texi (System V contexts): Fix sentence.
45885
45886 [BZ #13926]
45887 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45888 New macro for this case.
45889 [!__GNUC__] (__bswap_64): New inline function for this case.
45890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45891 * bits/byteswap.h: Likewise.
45892 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45893 ull, guard with __GLIBC_HAVE_LONG_LONG.
45894
45895 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45896 __GLIBC_HAVE_LONG_LONG.
45897
45898 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45899 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45900
459012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45902
45903 [BZ #13691]
45904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45905 inptr and inend, rather than using last_ch.
45906
459072012-04-02 David S. Miller <davem@davemloft.net>
45908
45909 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45910 * stdio-common/printf-parse.h (read_int): Change return type to
45911 'int', return -1 on INT_MAX overflow.
45912 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45913 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45914 overflows INT_MAX. Check for overflow of in-format-string precision
45915 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45916 SIZE_MAX not INT_MAX for integer overflow test.
45917 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45918 skip the construct in the format string but do not record anything.
45919 * stdio-common/bug22.c: Adjust to test both width/prevision
45920 INT_MAX overflow as well as total length INT_MAX overflow. Check
45921 explicitly for proper errno values.
45922
459232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45924
45925 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45926 CHAR_MAX.
45927 * string/test-strcmp.c [! WIDE]: Likewise.
45928 * time/tst-mktime2.c: Likewise for INT_MAX.
45929 * string/test-string.h: #include <sys/param.h> for MIN.
45930
45931 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45932 * sysdeps/i386/init-first.c (init): Likewise.
45933 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45934 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45935 * sysdeps/sh/init-first.c (init): Likewise.
45936
459372012-04-01 Ulrich Drepper <drepper@gmail.com>
45938
45939 * po/ru.po: Update from translation team.
45940 * po/vi.po: Likewise.
45941
459422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45943
45944 * resolv/nss_dns/dns-host.c: Merge copyright years.
45945
459462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45947
45948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45949 Optimize memcpy with prefetch if
45950 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45951 src, dst pointers have unequal 16 byte alignments.
45952
459532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45954
45955 [BZ #13928]
45956 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45957 from a CNAME entry and return the minimum ttl for the query.
45958 (gaih_getanswer_slice): Likewise.
45959
459602012-03-30 Jeff Law <law@redhat.com>
45961
45962 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45963 due to long keys.
45964 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45965 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45966
45967 * resolv/nss_dns/dns-host.c: Update copyright year.
45968
459692012-03-30 Ulrich Drepper <drepper@gmail.com>
45970
45971 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45972 requests to save a system call. Fix check that all bytes are sent.
45973
45974 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45975 comments for sendmmsg.
45976
459772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45978
45979 [BZ #13691]
45980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45981 with only 1 character between 0x0041 and 0x01b0.
45982 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45983 * wcsmbs/tst-mbsnrtowcs.c: New file.
45984
459852012-03-29 David S. Miller <davem@davemloft.net>
45986
45987 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45988 small copies by hand.
45989
459902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45991
45992 [BZ #13761]
45993 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45994 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45995 group memberships.
45996
459972012-03-28 David S. Miller <davem@davemloft.net>
45998
45999 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46000 that branches into memcpy.
46001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46006 bits.
46007 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46008 implementation too.
46009 * sysdeps/sparc/mempcpy.S: New file.
46010
46011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46012 the IFUNC routine in the libc case.
46013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46014
46015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46017 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46018 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46019 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46020 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46021 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46022 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46023
46024 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46025 loop to 256 bytes instead of 64 bytes and fix test signedness.
46026
46027 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46028 * sysdeps/sparc/sparc32/Makefile: rather than here...
46029 * sysdeps/sparc/sparc64/Makefile: and here.
46030
460312012-03-28 Ulrich Drepper <drepper@gmail.com>
46032
46033 * malloc/mallocbug.c: Avoid warnings about unused variables.
46034
460352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46036
46037 [BZ #13760]
46038 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46039 in the right place. Discard and retry query if response is
46040 larger than input buffer size.
46041
460422012-03-28 Joseph Myers <joseph@codesourcery.com>
46043
46044 [BZ #369]
46045 [BZ #2678]
46046 [BZ #3866]
46047 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46048 x for large integer exponent.
46049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46050 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46051 sign of result as needed afterwards.
46052 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46054 result for underflowing pow the same as for overflow.
46055 (__kernel_standard_l): Handle powl overflow and underflow here
46056 rather than calling __kernel_standard.
46057 * math/libm-test.inc (pow_test): Add more tests.
46058
46059 [BZ #3868]
46060 [BZ #13879]
46061 [BZ #13910]
46062 [BZ #13911]
46063 [BZ #13912]
46064 [BZ #13913]
46065 [BZ #13915]
46066 [BZ #13916]
46067 [BZ #13917]
46068 [BZ #13918]
46069 [BZ #13919]
46070 [BZ #13920]
46071 [BZ #13921]
46072 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46073 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46074 (__kernel_standard_l): New function.
46075 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46076 __kernel_standard.
46077 * math/w_acosl.c (__acosl): Likewise.
46078 * math/w_asinl.c (__asinl): Likewise.
46079 * math/w_atan2l.c (__atan2l): Likewise.
46080 * math/w_atanhl.c (__atanhl): Likewise.
46081 * math/w_coshl.c (__coshl): Likewise.
46082 * math/w_exp10l.c (__exp10l): Likewise.
46083 * math/w_exp2l.c (__exp2l): Likewise.
46084 * math/w_fmodl.c (__fmodl): Likewise.
46085 * math/w_hypotl.c (__hypotl): Likewise.
46086 * math/w_j0l.c (__j0l, __y0l): Likewise.
46087 * math/w_j1l.c (__j1l, __y1l): Likewise.
46088 * math/w_jnl.c (__jnl, __ynl): Likewise.
46089 * math/w_lgammal.c (__lgammal): Likewise.
46090 * math/w_log10l.c (__log10l): Likewise.
46091 * math/w_log2l.c (__log2l): Likewise.
46092 * math/w_logl.c (__logl): Likewise.
46093 * math/w_powl.c (__powl): Likewise.
46094 * math/w_remainderl.c (__remainderl): Likewise.
46095 * math/w_scalbl.c (sysv_scalbl): Likewise.
46096 * math/w_sinhl.c (__sinhl): Likewise.
46097 * math/w_sqrtl.c (__sqrtl): Likewise.
46098 * math/w_tgammal.c (__tgammal): Likewise.
46099 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46100 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46101 * math/libm-test.inc (acos_test): Add more tests.
46102 (acosh_test): Likewise.
46103 (asin_test): Likewise.
46104 (atanh_test): Likewise.
46105 (exp_test): Likewise.
46106 (exp10_test): Likewise.
46107 (exp2_test): Likewise.
46108 (expm1_test): Likewise.
46109 (lgamma_test): Likewise.
46110 (log_test): Likewise.
46111 (log10_test): Likewise.
46112 (log1p_test): Likewise.
46113 (log2_test): Likewise.
46114 (pow_test): Do not allow some spurious overflow exceptions.
46115 (sqrt_test): Add more tests.
46116 (tgamma_test): Likewise.
46117 (y0_test): Likewise.
46118 (y1_test): Likewise.
46119 (yn_test): Likewise.
46120
461212012-03-27 Anton Blanchard <anton@samba.org>
46122
46123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46124 MAP_HUGETLB.
46125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46128
461292012-03-27 David S. Miller <davem@davemloft.net>
46130
46131 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46132
46133 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46134 have-as-vis3 check.
46135
461362012-03-27 Andreas Jaeger <aj@suse.de>
46137
46138 * sysdeps/x86_64/elf/configure.in: Moved to ...
46139 * sysdeps/x86_64/configure.in: ... here.
46140 * sysdeps/x86_64/elf/start.S: Moved to ...
46141 * sysdeps/x86_64/start.S: ... here.
46142 * sysdeps/x86_64/elf/configure: Delete.
46143
46144 * sysdeps/x86_64/configure.in: Merge contents from
46145 sysdeps/i386/configure.in (without i686 check).
46146
46147 * sysdeps/i386/elf/Versions: Merge into ...
46148 * sysdeps/i386/Versions: ... this.
46149 * sysdeps/i386/elf/Versions: Delete file.
46150 * sysdeps/i386/elf/start.S: Moved to ...
46151 * sysdeps/i386/start.S: ...here.
46152 * sysdeps/i386/elf/configure.in: Merge into...
46153 * sysdeps/i386/configure.in: ...here.
46154 * sysdeps/i386/elf/configure.in: Delete file.
46155 * sysdeps/i386/elf/configure: Delete file.
46156
46157 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46158 * debug/backtracesyms.c: ... here.
46159 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46160 * debug/backtracesymsfd.c: ... here.
46161 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46162 * sysdeps/generic/ifunc-sel.h: ... here.
46163
46164 * sysdeps/unix/i386/start.c: Delete file.
46165 * sysdeps/unix/sparc/start.c: Delete file.
46166 * sysdeps/unix/start.c: Delete file.
46167
46168 * sysdeps/sh/elf/configure.in: Moved to ...
46169 * sysdeps/sh/configure.in: ... here.
46170 * sysdeps/sh/elf/start.S: Moved to ...
46171 * sysdeps/sh/start.S: ... here.
46172 * sysdeps/sh/elf/configure: Delete file.
46173
46174 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46175 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46176 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46177 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46178 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46179 * sysdeps/powerpc/powerpc64/start.S: here.
46180 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46181 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46182 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46183 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46184 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46185
46186 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46187 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46188 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46189 * sysdeps/powerpc/powerpc32/start.S: ... here.
46190 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46191 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46192 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46193
46194 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46195 * sysdeps/powerpc/ifunc-sel.h: ... here.
46196 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46197 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46198
46199 * sysdeps/sparc/elf/configure.in: Moved to ...
46200 * sysdeps/sparc/configure.in: ... here.
46201 * sysdeps/sparc/elf/configure: Delete file.
46202 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46203 * sysdeps/sparc/sparc32/start.S: ... here.
46204 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46205 * sysdeps/sparc/sparc64/start.S: ... here.
46206 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46207 * sysdeps/sparc/sparc32/Makefile: ... this.
46208 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46209 * sysdeps/sparc/sparc64/Makefile: ... this.
46210
46211 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46212 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46213 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46214 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46215 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46216 * sysdeps/s390/s390-32/setjmp.S: ... here.
46217 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46218 * sysdeps/s390/s390-32/configure.in: ... here.
46219 * sysdeps/s390/s390-32/elf/configure: Delete file.
46220 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46221 * sysdeps/s390/s390-32/start.S: ... here.
46222
46223 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46224 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46225 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46226 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46227 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46228 * sysdeps/s390/s390-64/setjmp.S: ... here.
46229 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46230 * sysdeps/s390/s390-64/configure.in: ... here
46231 * sysdeps/s390/s390-64/elf/configure: Delete file.
46232 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46233 * sysdeps/s390/s390-64/start.S: ... here.
46234 * sysdeps/s390/s390-64/elf/configure: Delete.
46235
46236 * configure.in: Remove support for elf directories in sysdeps.
46237
46238 * configure: Regenerated.
46239 * sysdeps/i386/configure: Regenerated.
46240 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46241 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46242 * sysdeps/s390/s390-32/configure: Regenerated.
46243 * sysdeps/s390/s390-64/configure: Regenerated.
46244 * sysdeps/sh/configure: Regenerated.
46245 * sysdeps/sparc/configure: Regenerated.
46246 * sysdeps/x86_64/configure: Regenerated.
46247
462482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46249
46250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46251
46252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46253 denormal result into account.
46254
462552012-03-25 Roland McGrath <roland@hack.frob.com>
46256
46257 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46258 Reported by Allan McRae <allan@archlinux.org>.
46259
462602012-03-23 Jeff Law <law@redhat.com>
46261
46262 * nss/getnssent.c (__nss_getent): Fix typo.
46263
462642012-03-23 David S. Miller <davem@davemloft.net>
46265
46266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46267
462682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46269
46270 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46271 to pad to uint64_t for each field.
46272 (dl_tls_index): Replace unsigned long with uint64_t.
46273
462742012-03-23 Daniel Jacobowitz <dmj@google.com>
46275 Paul Pluzhnikov <ppluzhnikov@google.com>
46276
46277 [BZ #6528]
46278 * grp/Makefile (otherlibs): Don't set it.
46279 * inet/Makefile (otherlibs): Likewise.
46280 * login/Makefile (otherlibs): Likewise.
46281 * nscd/Makefile (otherlibs): Likewise.
46282 * posix/Makefile (otherlibs): Likewise.
46283 * pwd/Makefile (otherlibs): Likewise.
46284 * rt/Makefile (otherlibs): Likewise.
46285 * sunrpc/Makefile (otherlibs): Likewise.
46286 * nss/Makefile (otherlibs): Likewise.
46287 Add libnss_files to routines and static-only-routines.
46288 ($(objpfx)getent): Remove rule.
46289 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46290 static-only-routines.
46291
462922012-03-22 Joseph Myers <joseph@codesourcery.com>
46293
46294 [BZ #13892]
46295 * math/s_cexp.c: Include <float.h>.
46296 (__cexp): Handle exp result overflowing not necessarily
46297 overflowing both real and imaginary parts of result.
46298 * math/s_cexpf.c: Likewise.
46299 * math/s_cexpl.c: Likewise.
46300 * math/libm-test.inc (cexp_test): Add more tests.
46301 * sysdeps/i386/fpu/libm-test-ulps: Update.
46302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46303
463042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46305
46306 * include/link.h (ELFW): New macro.
46307 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46308 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46309
463102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46311
46312 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46313 with uint64_t.
46314
463152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46316
46317 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46318 declaration.
46319 (struct La_x32_retval): Likewise.
46320
463212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46322
46323 * sysdeps/x86_64/preconfigure.in: New file.
46324 * sysdeps/x86_64/preconfigure: New generated file.
46325
463262012-03-22 Joseph Myers <joseph@codesourcery.com>
46327
46328 [BZ #13824]
46329 * math/e_exp2l.c: Include <float.h>.
46330 (__ieee754_exp2l): Handle overflow and underflow cases
46331 separately. Only pass fractional part of argument to
46332 __ieee754_expl.
46333 * math/libm-test.inc (exp2_test): Add more tests.
46334
46335 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46336 negating x to take absolute value.
46337 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46338 Likewise.
46339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46341 Likewise.
46342 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46343 computing low part if x was negated.
46344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46345
463462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46347
46348 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46349 la_x32_gnu_pltexit.
46350 (pltexit): Cast int_retval to ptrdiff_t.
46351 * elf/tst-auditmod3b.c: Likewise.
46352 * elf/tst-auditmod4b.c: Likewise.
46353 * elf/tst-auditmod5b.c: Likewise.
46354 * elf/tst-auditmod6b.c: Likewise.
46355 * elf/tst-auditmod6c.c: Likewise.
46356 * elf/tst-auditmod7b.c: Likewise.
46357
46358 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46359 and x32_gnu_pltexit.
46360
46361 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46362 __ELF_NATIVE_CLASS.
46363 (La_x32_regs): New macro.
46364 (La_x32_retval): Likewise.
46365 (la_x32_gnu_pltenter): New function prototype.
46366 (la_x32_gnu_pltexit): Likewise.
46367
463682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46369
46370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46371 exponent.
46372
46373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46374
46375 * configure.in (libc_cv_cc_nofma): Check for option to disable
46376 generation of FMA instructions.
46377 * configure: Regenerate.
46378 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46379 * sysdeps/ieee754/dbl-64/Makefile: New file.
46380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46381 Remove brandred-fma4.
46382 (CFLAGS-brandred-fma4.c): Remove.
46383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46385 define.
46386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46387 define.
46388
463892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46390
46391 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46392 LLONG_MAX != LONG_MAX.
46393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46394 (_fitoa_word): Likewise.
46395 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46396 LLONG_MAX != LONG_MAX.
46397 * stdio-common/_itowa.h: Include <_itoa.h>.
46398 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46399 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46400 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46401 only if not defined.
46402 (_ITOA_WORD_TYPE): Likewise.
46403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46404 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46405
464062012-03-21 David S. Miller <davem@davemloft.net>
46407
46408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46409
464102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46411
46412 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46413 of x86_64 when setting libc_cv_slibdir, libdir and
46414 libc_cv_localedir.
46415 * sysdeps/unix/sysv/linux/configure: Regenerated.
46416
464172012-03-21 Joseph Myers <joseph@codesourcery.com>
46418
46419 * manual/lang.texi (Old Varargs): Remove section.
46420 (How Variadic): Update menu.
46421 (va_start): Do not mention varargs.h.
46422
464232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46424 Joseph Myers <joseph@codesourcery.com>
46425
46426 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46427 link test.
46428 * configure: Regenerated.
46429
464302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46431
46432 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46433 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46434 conformtest.pl
46435
464362012-03-21 Joseph Myers <joseph@codesourcery.com>
46437
46438 * NOTES: Remove.
46439 * Makefile (files-for-dist): Remove NOTES.
46440 (NOTES): Remove rule.
46441 * README: Don't refer to NOTES.
46442 * manual/creature.texi: Don't include macros.texi.
46443 * manual/intro.texi (creature.texi): Remove comment referring to
46444 NOTES.
46445
46446 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46447 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46448 * configure: Regenerated.
46449 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46450 LIBC_TRY_CC_OPTION.
46451 (libc_cv_as_i686): Likewise.
46452 (libc_cv_cc_avx): Likewise.
46453 (libc_cv_cc_sse2avx): Likewise.
46454 (libc_cv_cc_fma4): Likewise.
46455 (libc_cv_cc_novzeroupper): Likewise.
46456 * sysdeps/i386/configure: Regenerated.
46457
46458 [BZ #13883]
46459 * sysdeps/i386/fpu/s_cexp.S: Remove.
46460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46462 * math/libm-test.inc (cexp_test): Add more tests.
46463 * sysdeps/i386/fpu/libm-test-ulps: Update.
46464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46465
464662012-03-21 Allan McRae <allan@archlinux.org>
46467
46468 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46469
464702012-03-21 Joseph Myers <joseph@codesourcery.com>
46471
46472 [BZ #13871]
46473 * math/w_exp2.c: Do not include <float.h>.
46474 (o_threshold, u_threshold): Remove.
46475 (__exp2): Calculate result before checking finiteness and calling
46476 __kernel_standard.
46477 * math/w_exp2f.c: Likewise.
46478 * math/w_exp2l.c: Likewise.
46479 * math/libm-test.inc (exp2_test): Require overflow exception for
46480 1e6 input.
46481
46482 [BZ #3866]
46483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46484 range of signed 64-bit integers before using fistpll. Remove
46485 checks for whether integers fit in mantissa bits.
46486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46487 the range of signed 32-bit integers before using fistpl. Remove
46488 checks for whether integers fit in mantissa bits.
46489 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46490 (__ieee754_powl): Test for y outside the range of signed 64-bit
46491 integers before using fistpll. Reduce 64-bit values to 63-bit
46492 ones as needed.
46493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46494 divide-by-zero is raised for zero to large negative powers.
46495 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46496 (__ieee754_powl): Test for y outside the range of signed 64-bit
46497 integers before using fistpll. Reduce 64-bit values to 63-bit
46498 ones as needed.
46499 * math/libm-test.inc (pow_test): Add more tests.
46500
465012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46502
46503 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46504 <stdio-common/_itoa.h>.
46505 * debug/segfault.c: Likewise.
46506 * elf/dl-cache.c: Likewise.
46507 * elf/dl-minimal.c: Likewise.
46508 * elf/dl-misc.c: Likewise.
46509 * elf/dl-sysdep.c: Likewise.
46510 * elf/dl-version.c: Likewise.
46511 * elf/rtld.c: Likewise.
46512 * hurd/hurdsock.c: Likewise.
46513 * hurd/lookup-retry.c: Likewise.
46514 * malloc/malloc.c: Likewise.
46515 * malloc/mtrace.c: Likewise.
46516 * nscd/nscd_getgr_r.c: Likewise.
46517 * nscd/nscd_getpw_r.c: Likewise.
46518 * nscd/nscd_getserv_r.c: Likewise.
46519 * posix/getopt_init.c: Likewise.
46520 * posix/wordexp.c: Likewise.
46521 * stdio-common/_itoa.c: Likewise.
46522 * stdio-common/printf_fphex.c: Likewise.
46523 * stdio-common/vfprintf.c: Likewise.
46524 * string/_strerror.c: Likewise.
46525 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46526 * sysdeps/i386/i686/hp-timing.h: Likewise.
46527 * sysdeps/mach/_strerror.c: Likewise.
46528 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46529 * sysdeps/mach/hurd/sethostid.c: Likewise.
46530 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46531 * sysdeps/mach/xpg-strerror.c: Likewise.
46532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46534 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46535 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46536 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46537 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46539 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46540 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46541 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46542 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46543 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46544 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46545 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46546 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46547 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46548 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46549 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46550 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46551 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46552 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46553
46554 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46555
46556 * stdio-common/_itoa.h: Moved to ...
46557 * sysdeps/generic/_itoa.h: Here.
46558
46559 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46560
46561 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46562 instead of "_itoa.h" and "_itowa.h".
46563 * stdio-common/vfprintf.: Likewise.
46564
465652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46566
46567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46568 <bits/wordsize.h>.
46569 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46570 (__signbit): Likwise.
46571 (llrintf): Likwise.
46572 (llrint): Likwise.
46573
465742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46575
46576 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46577 __WORDSIZE != 64.
46578
465792012-03-20 Joseph Myers <joseph@codesourcery.com>
46580
46581 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46582 OVERFLOW_EXCEPTION_OK.
46583 * math/libm-test.inc ("Philosophy"): Update comment about
46584 exception testing.
46585 (OVERFLOW_EXCEPTION): Define.
46586 (OVERFLOW_EXCEPTION_OK): Likewise.
46587 (INVALID_EXCEPTION_OK): Renumber.
46588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46589 (IGNORE_ZERO_INF_SIGN): Likewise.
46590 (test_exceptions): Handle FE_OVERFLOW.
46591 (exp10_test): Expect overflow exceptions.
46592 (exp2_test): Likewise.
46593 (expm1_test): Likewise.
46594 (nextafter_test): Likewise.
46595 (pow_test): Likewise.
46596 (scalbn_test): Likewise.
46597 (scalbln_test): Likewise.
46598
465992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46600
46601 * sysdeps/x86_64/bits/atomic.h
46602 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46603 64bit integer.
46604 (atomic_exchange_acq): Likewise.
46605 (__arch_exchange_and_add_body): Likewise.
46606 (__arch_add_body): Likewise.
46607 (atomic_add_negative): Likewise.
46608 (atomic_add_zero): Likewise.
46609
466102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46611
46612 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46613 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46614
466152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46616
46617 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46618 Check __x86_64__ instead of __WORDSIZE.
46619
466202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46621
46622 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46623
466242012-03-19 David S. Miller <davem@davemloft.net>
46625
46626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46627
46628 * sysdeps/sparc/fpu/fenv_private.h: New file.
46629 * sysdeps/sparc/fpu/math_private.h: Use it.
46630 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46631 Remove.
46632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46633 (libc_feholdexcept_setroundl): Remove.
46634 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46635 Remove.
46636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46638
466392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46640
46641 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46642 int64_t instead of long int.
46643 (INSERT_WORDS64): Likwise.
46644
466452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46646
46647 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46648 _Unwind_GetCFA return to _Unwind_Ptr first.
46649
466502012-03-19 Joseph Myers <joseph@codesourcery.com>
46651
46652 [BZ #13629]
46653 * math/s_clog.c: Include <float.h>.
46654 (__clog): Scale large or subnormal inputs.
46655 * math/s_clogf.c: Likewise.
46656 * math/s_clogl.c: Likewise.
46657 * math/s_clog10.c: Include <float.h>.
46658 (M_LOG10_2): Define.
46659 (__clog10): Scale large or subnormal inputs.
46660 * math/s_clog10f.c: Likewise.
46661 * math/s_clog10l.c: Likewise.
46662 * math/libm-test.inc (clog_test): Add more tests.
46663 (clog10_test): Likewise.
46664 * sysdeps/i386/fpu/libm-test-ulps: Update.
46665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46666
46667 [BZ #11451]
46668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46669 x and y.
46670 * math/libm-test.inc (atan2_test): Add another test.
46671
46672 * Makerules (common-objdir-compile): Remove.
46673 * sysdeps/unix/Makefile (config-generated): Do not add
46674 $(unix-generated) to variable.
46675 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46676 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46677 Remove rule.
46678 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46679 Likewise.
46680 [generic bits/local_lim.h] (before-compile): Do not append to
46681 variable.
46682 [generic bits/local_lim.h] (common-generated): Likewise.
46683 [generic sys/param.h] (before-compile): Do not append to variable.
46684 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46685 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46688 include.
46689 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46690 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46691 [generic sys/param.h] ($(addprefix
46692 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46693 [generic sys/param.h] (common-generated): Do not append to
46694 variable.
46695 [generic sys/param.h] (sysdep_headers): Likewise.
46696 [generic bits/errno.h] (before-compile): Do not append to
46697 variable.
46698 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46699 rule.
46700 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46701 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46702 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46703 [generic bits/errno.h] (common-generated): Do not append to
46704 variable.
46705 [generic bits/ioctls.h] (before-compile): Do not append to
46706 variable.
46707 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46708 rule.
46709 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46710 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46711 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46712 rule.
46713 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46714 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46715 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46716 [generic bits/ioctls.h] (common-generated): Do not append to
46717 variable.
46718 [generic sys/syscall.h] (syscall.h): Remove variable.
46719 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46720 rule.
46721 [generic sys/syscall.h] (before-compile): Do not append to
46722 variable.
46723 [generic sys/syscall.h] (common-generated): Likewise.
46724 * sysdeps/unix/errnos-tmpl.c: Remove file.
46725 * sysdeps/unix/errnos.awk: Likewise.
46726 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46727 * sysdeps/unix/ioctls.awk: Likewise.
46728 * sysdeps/unix/mk-local_lim.c: Likewise.
46729 * sysdeps/unix/snarf-ioctls: Likewise.
46730
467312012-03-19 Richard Henderson <rth@twiddle.net>
46732
46733 * sysdeps/i386/fpu/fenv_private.h: New file.
46734 * sysdeps/i386/fpu/math_private.h: Use it.
46735 (math_opt_barrier, math_force_eval): Remove.
46736 (libc_feholdexcept_setround_53bit): Remove.
46737 (libc_feupdateenv_53bit): Remove.
46738 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46739 (math_opt_barrier, math_force_eval): Remove.
46740 (libc_feholdexcept): Remove.
46741 (libc_feholdexcept_setround): Remove.
46742 (libc_fetestexcept, libc_fesetenv): Remove.
46743 (libc_feupdateenv_test): Remove.
46744 (libc_feupdateenv, libc_feholdsetround): Remove.
46745 (libc_feresetround): Remove.
46746
46747 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46748 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46749
46750 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46751 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46752 (libc_feupdateenv_testl): New.
46753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46754 (libc_feupdateenv_testf): New.
46755 (libc_feupdateenv): Use libc_feupdateenv_test.
46756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46758
46759 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46760 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46761 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46762 (libc_feresetround_noex): New.
46763 (libc_feresetround_noexf): New.
46764 (libc_feresetround_noexl): New.
46765 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46766 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46767 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46769 SET_RESTORE_ROUND.
46770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46772 (__cos): Likewise.
46773 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46775 SET_RESTORE_ROUND_NOEX.
46776 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46777 SET_RESTORE_ROUND_NOEXF.
46778 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46779 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46780 (libc_feholdsetroundf): New.
46781 (libc_feresetround, libc_feresetroundf): New.
46782
46783 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46784 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46785 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46786
46787 * sysdeps/generic/math_private.h: Include <fenv.h>.
46788 (default_libc_feholdexcept): New.
46789 (default_libc_feholdexcept_setround): New.
46790 (default_libc_fesetenv, default_libc_feupdateenv): New.
46791 (libc_feholdexcept): Only define if undefined.
46792 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46793 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46794 (libc_feholdexcept_setroundl): Likewise.
46795 (libc_feholdexcept_setround_53bit): Likewise.
46796 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46797 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46798 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46799 (libc_feupdateenv_53bit): Likewise.
46800 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46801 (libc_feholdexcept): Convert from macro to inline function.
46802 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46803 (libc_fesetenv, libc_feupdateenv): Likewise.
46804
46805 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46806 not previously defined.
46807 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46808 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46809 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46811 * sysdeps/ieee754/flt-32/math_private.h: New file.
46812 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46813 math_private.h below SET_FLOAT_WORD.
46814 (__isnan, __isinf_ns, __finite): Remove.
46815 (__isnanf, __isinf_nsf, __finitef): Remove.
46816
468172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46818
46819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46820
468212012-03-17 David S. Miller <davem@davemloft.net>
46822
46823 [BZ #6471]
46824 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46825 for 2.16.
46826
468272012-03-16 David S. Miller <davem@davemloft.net>
46828
46829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46830 warnings.
46831
46832 [BZ #6471]
46833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46834 properly.
46835 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46836 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46837 sysdep_routines when subdir is sysvipc.
46838 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46839 __getshmlba helper.
46840
46841 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46842
468432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46844
46845 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46846 [__LP64__].
46847
468482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46849
46850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46851 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46852 (__lround): Renamed to ...
46853 (__llround): This. Replace long int with long long int.
46854 Define lround functions as aliases of llround functions.
46855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46856
468572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46858
46859 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46860 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46861 adresses to uintptr_t. Replace "long int" and "unsigned long
46862 int" with "greg_t" on va_arg.
46863
468642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46865
46866 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46867 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46868
46869 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46870 Move e_machine check before EI_CLASS check. Handle x32
46871 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46872 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46873 SKIP_EM_IA_64 and include
46874 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46875
46876 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46877 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46878 (add_system_dir): New macro.
46879
46880 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46881 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46882
468832012-03-16 Joseph Myers <joseph@codesourcery.com>
46884
46885 [BZ #2551]
46886 [BZ #2552]
46887 [BZ #2553]
46888 [BZ #2554]
46889 [BZ #2562]
46890 [BZ #2563]
46891 [BZ #2565]
46892 [BZ #2566]
46893 [BZ #2576]
46894 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46895 (y0): Likewise.
46896 * math/w_j0f.c (j0f): Likewise.
46897 (y0f): Likewise.
46898 * math/w_j0l.c (__j0l): Likewise.
46899 (__y0l): Likewise.
46900 * math/w_j1.c (j1): Likewise.
46901 (y1): Likewise.
46902 * math/w_j1f.c (j1f): Likewise.
46903 (y1f): Likewise.
46904 * math/w_j1l.c (__j1l): Likewise.
46905 (__y1l): Likewise.
46906 * math/w_jn.c (jn): Likewise.
46907 (yn): Likewise.
46908 * math/w_jnf.c (jnf): Likewise.
46909 (ynf): Likewise.
46910 * math/w_jnl.c (__jnl): Likewise.
46911 (__ynl): Likewise.
46912 * math/libm-test.inc (j0_test): Add more tests.
46913 (j1_test): Likewise.
46914 (jn_test): Likewise. Add trailing semicolon to existing test.
46915 (y0_test): Likewise.
46916 (y1_test): Likewise.
46917 * sysdeps/i386/fpu/libm-test-ulps: Update.
46918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46919
46920 [BZ #13851]
46921 [BZ #13854]
46922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46923 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46924 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46926 (__tanl): Set errno for infinite argument.
46927 * sysdeps/i386/fpu/mptan.c: Remove.
46928 * sysdeps/i386/fpu/s_tan.S: Likewise.
46929 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46930 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46931 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46932 * math/libm-test.inc (tan_test): Add more tests and enable more
46933 tests for double and long double.
46934 * sysdeps/i386/fpu/libm-test-ulps: Update.
46935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46936
469372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46938
46939 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46940 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46941
469422012-03-16 Roland McGrath <roland@hack.frob.com>
46943
46944 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46945 * configure.in: Use it for both main tree and add-ons.
46946 * configure: Regenerated.
46947
469482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46949
46950 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46951
469522012-03-16 Joseph Myers <joseph@codesourcery.com>
46953
46954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46955 in comment.
46956
46957 [BZ #13851]
46958 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46959 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46960 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46961 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46962 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46963 infinite argument.
46964 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46966 != 0 for prec == 2.
46967 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46968 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46969 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46970 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46971 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46972 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46973 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46974 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46975 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46976 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46977 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46978 * math/libm-test.inc (cos_test): Add more tests and enable more
46979 tests for long double.
46980 (sin_test): Likewise.
46981 (sincos_test): Likewise.
46982 * sysdeps/i386/fpu/libm-test-ulps: Update.
46983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46984
469852012-03-16 David S. Miller <davem@davemloft.net>
46986
46987 * sysdeps/sparc/fpu/math_private.h: New file.
46988
469892012-03-15 David S. Miller <davem@davemloft.net>
46990
46991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46992 file.
46993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46995 file.
46996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47002 sysdep routines.
47003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47004
47005 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47006 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47007
47008 * sysdeps/sparc/sparc-ifunc.h: New file.
47009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47010 sparc-ifunc.h
47011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47013 Likewise.
47014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47015 Likewise.
47016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47020 Likewise.
47021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47026 Likewise.
47027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47028 Likewise.
47029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47053
470542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47055
47056 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47057 scaling.
47058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47059
470602012-03-15 Andreas Jaeger <aj@suse.de>
47061
47062 [BZ #13852]
47063 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47064 ieee754/flt-32 implementation for sin, cos and sincos.
47065 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47066 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47067 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47068 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47069 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47070 ieee754/flt-32 implementation for tan.
47071
47072 * math/libm-test.inc (cos_test): Enable some large input tests for
47073 float as well
47074 (sin_test): Likewise.
47075 (sincos_test): Likewise.
47076 (tan_test): Add tests for large input.
47077
47078 * sysdeps/i386/fpu/libm-test-ulps: Update.
47079
470802012-03-15 Andreas Jaeger <aj@suse.de>
47081
47082 [BZ #13658]
47083 * math/libm-test.inc (cos_test): Add more test cases.
47084 (sin_test): Likewise.
47085 (sincos_test): Likewise.
47086
470872012-03-15 Andreas Jaeger <aj@suse.de>
47088
47089 [BZ #13837]
47090 * math/libm-test.inc (cos_test): Add a test case for large input
47091 value.
47092 (sin_test): Likewise.
47093 (sincos_test): Likewise.
47094
470952012-03-15 Andreas Jaeger <aj@suse.de>
47096 Joseph Myers <joseph@codesourcery.com>
47097
47098 [BZ #13658]
47099 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47100 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47101 * sysdeps/i386/fpu/branred.c: Likewise.
47102 * sysdeps/i386/fpu/dosincos.c: Likewise.
47103 * sysdeps/i386/fpu/mpa.c: Likewise.
47104 * sysdeps/i386/fpu/s_cos.S: Likewise.
47105 * sysdeps/i386/fpu/s_sin.S: Likewise.
47106 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47107 * sysdeps/i386/fpu/sincos32.c: Likewise.
47108
47109 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47110 Define.
47111 (libc_feupdateenv_53bit): Define.
47112 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47113 Define.
47114 (libc_feupdateenv_53bit): Define.
47115
47116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47117 53 bit (without extend i386 double precision).
47118
47119 * math/libm-test.inc (sincos_test): Add tests for large input.
47120 (sin): Likewise.
47121 (cos): Likewise.
47122
47123 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47124
471252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47126
47127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47128
471292012-03-15 David S. Miller <davem@davemloft.net>
47130
47131 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47132 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47133 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47134 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47147 file.
47148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47150 file.
47151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47153 file.
47154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47156 file.
47157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47159 fmin/fmax sysdep routines.
47160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47161
471622012-03-14 David S. Miller <davem@davemloft.net>
47163
47164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47193 routines.
47194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47195 file.
47196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47198 file.
47199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47201 file.
47202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47204 file.
47205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47207 file.
47208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47210 file.
47211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47212 file.
47213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47214 file.
47215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47216 file.
47217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47218 New file.
47219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47220 file.
47221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47222 file.
47223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47225 file.
47226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47228 file.
47229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47231 file.
47232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47234 VIS3 routines.
47235
47236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47237 New file.
47238
47239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47240
47241 * sysdeps/sparc/configure.in: New file.
47242 * sysdeps/sparc/configure: Generate.
47243 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47244 * configure: Regenerate.
47245 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47246 * config.make.in (have-as-vis3): New.
47247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47248 available use -Av9d instead of -Av9a.
47249 * sysdeps/sparc/sparc64/Makefile: Likewise.
47250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47252 New file.
47253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47254 file.
47255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47256 New file.
47257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47258 file.
47259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47264
47265 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47266 fzeros/fnegs to load 0x80000000 into a float register instead of
47267 using the stack.
47268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47269
472702012-03-14 Joseph Myers <joseph@codesourcery.com>
47271
47272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47273 bits/syscall.h.
47274 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47275 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47276 ($(inst_includedir)/bits/syscall.h): Remove rule.
47277 ($(objpfx)bits/syscall.d): Include instead of
47278 $(objpfx)syscall-list.d.
47279 (generated): Change syscall-list.h and syscall-list.d to
47280 bits/syscall.h and bits/syscall.d.
47281
472822012-03-14 Roland McGrath <roland@hack.frob.com>
47283
47284 [BZ #13846]
47285 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47286
472872012-03-14 Joseph Myers <joseph@codesourcery.com>
47288
47289 [BZ #13841]
47290 * math/s_csqrt.c: Include <float.h>.
47291 (__csqrt): Scale large or subnormal inputs.
47292 * math/s_csqrtf.c: Likewise.
47293 * math/s_csqrtl.c: Likewise.
47294 * math/libm-test.inc (csqrt_test): Add more tests.
47295 * sysdeps/i386/fpu/libm-test-ulps: Update.
47296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47297
47298 [BZ #13840]
47299 * math/libm-test.inc (hypot_test): Add more tests.
47300
473012012-03-13 David S. Miller <davem@davemloft.net>
47302
47303 [BZ #13840]
47304 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47305 double-precision for the calculation instead of scaling.
47306
473072012-03-13 Joseph Myers <joseph@codesourcery.com>
47308
47309 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47310 manipulate bits before adding and subtracting TWO52[sx].
47311 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47313 Likewise.
47314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47315
473162012-03-13 David S. Miller <davem@davemloft.net>
47317
47318 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47319 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47321 rtld-global-offsets.h
47322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47323
47324 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47325 large parameters.
47326
47327 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47328
47329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47330 'err' in the ifdef scope in which it is actually used.
47331
47332 * nss/nss_db/db-init.c: Include string.h
47333
473342012-03-12 David S. Miller <davem@davemloft.net>
47335
47336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47337 masking out of the most significant byte of random value used.
47338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47339 Fix coding style in previous change.
47340
47341 * sysdeps/unix/sysv/linux/kernel-features.h
47342 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47343 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47344 expression.
47345 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47346 later.
47347
473482012-03-11 David S. Miller <davem@davemloft.net>
47349
47350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47351 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47353 for 'resultvar' otherwise things get truncated on 64-bit.
47354
47355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47356 Fix masking out of the most significant byte of random value used.
47357
47358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47359
473602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47361
47362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47363
473642012-03-09 David S. Miller <davem@davemloft.net>
47365
47366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47367 variables with appropriate CPP guards.
47368 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47369 from the frame pointer, not the stack pointer. Correct layout
47370 comments. Fix test on resulting framesize and the management of
47371 the outregs buffer for pltexit. Preserve floating point return
47372 values across _dl_call_pltexit call.
47373 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47374 framesize and the management of the outregs buffer for pltexit.
47375 Preserve floating point return values across _dl_call_pltexit
47376 call.
47377 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47378 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47379 (la_sparc64_gnu_pltexit): New functions.
47380 (print_exit): Fix format string for return register value.
47381
473822012-03-10 Joseph Myers <joseph@codesourcery.com>
47383
47384 * sunrpc/Makefile (others): Add rpcgen.
47385 ($(objpfx)rpcgen): Remove special build rule and dependency on
47386 libc.
47387 * sunrpc/rpcgen.c: New file.
47388
473892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47390
47391 [BZ #13673]
47392 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47393 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47394 * sysdeps/i386/crti.S: Likewise.
47395 * sysdeps/i386/crtn.S: Likewise.
47396 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47397 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47398 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47399 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47400 * sysdeps/sh/crti.S: Likewise.
47401 * sysdeps/sh/crtn.S: Likewise.
47402 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47403
47404 [BZ #13673]
47405 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47406 with URL.
47407 * locale/programs/locfile-kw.gperf: Likewise.
47408 * locale/programs/charmap-kw.h: Regenerated.
47409 * locale/programs/locfile-kw.h: Likewise.
47410
47411 [BZ #13673]
47412 * intl/plural.y: Replace FSF snail mail address with URL.
47413 * intl/plural.c: Regenerated.
47414
474152012-03-09 Richard Henderson <rth@twiddle.net>
47416
47417 * include/math_private.h: Remove file.
47418 * math/math_private.h: Move file ...
47419 * sysdeps/generic/math_private.h: ... here.
47420
47421 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47422 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47423 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47424
47425 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47426 and <math_private.h>.
47427 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47428 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47429 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47430 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47431 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47432 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47441 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47442 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47445 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47446 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47449 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47453 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47457 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47459 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47460 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47461 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47462 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47463 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47464 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47465 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47477 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47478 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47479 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47480 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47481 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47482 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47483 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47486 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47487 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47488 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47490 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47491 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47492 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47494 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47498 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47507 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47514 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47515 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47518 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47521 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47522 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47523 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47527 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47528 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47529 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47530 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47531 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47532 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47533 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47534 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47535 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47536 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47537 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47538 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47539 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47541 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47544 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47545 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47546 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47550 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47553 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47554 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47556 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47557 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47558 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47559 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47560 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47561 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47562 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47563 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47565 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47568 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47569 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47570 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47571 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47572 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47573 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47574 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47575 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47576 * sysdeps/ieee754/k_standard.c: Likewise.
47577 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47578 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47580 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47581 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47582 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47584 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47585 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47589 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47590 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47591 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47592 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47594 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47596 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47597 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47598 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47599 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47600 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47601 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47602 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47604 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47670 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47681 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47684 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47686 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47688 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47704 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47709 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47717 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47720 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47726 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47727 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47728 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47730 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47731 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47732 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47733 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47734 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47735 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47736 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47737 * sysdeps/ieee754/s_lib_version.c: Likewise.
47738 * sysdeps/ieee754/s_matherr.c: Likewise.
47739 * sysdeps/ieee754/s_signgam.c: Likewise.
47740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47742 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47743 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47745 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47746 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47747 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47748 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47749 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47750 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47751 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47754 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47755 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47756 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47757 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47761
477622012-03-09 Joseph Myers <joseph@codesourcery.com>
47763
47764 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47765 * sunrpc/rpc_main.c: Likewise.
47766 * sunrpc/rpc_svcout.c: Likewise.
47767
477682012-03-09 David S. Miller <davem@davemloft.net>
47769
47770 * include/math_private.h: New file.
47771
477722012-03-09 Joseph Myers <joseph@codesourcery.com>
47773
47774 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47775 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47776 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47777 from <bits/socket_type.h>.
47778 (enum __socket_type): Don't define here.
47779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47781 bits/socket_type.h.
47782
47783 [BZ #13566]
47784 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47785 checking __USE_GNU.
47786
47787 * Makerules ($(inst_includedir)/%.h): New rule.
47788 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47789 (install-others): Remove variable setting.
47790 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47791
477922012-03-08 Richard Henderson <rth@twiddle.net>
47793
47794 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47795 from macro to inline function; merge with the
47796 !__LIBC_INTERNAL_MATH_INLINES version.
47797 (__ieee754_sqrtf): Likewise.
47798
47799 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47800 to inline function.
47801 (__rintf, __floor, __floorf): Likewise.
47802
47803 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47804 macro to inline function.
47805 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47806
47807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47808 not <math/math_private.h>.
47809
478102012-03-08 David S. Miller <davem@davemloft.net>
47811
47812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47813 copyright year.
47814 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47815
478162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47817
47818 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47819 normalization.
47820 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47821 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47822
478232012-03-08 Ulrich Drepper <drepper@gmail.com>
47824
47825 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47826 be defined individually, they must be defined as a block. Define
47827 S for printing a string instead of hidint the different by using a
47828 macro for adding the 'l'.
47829 * stdio-common/tst-fphex-wide.c: Adjust.
47830
478312012-03-07 Marek Polacek <polacek@redhat.com>
47832
47833 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47834
478352012-03-08 Marek Polacek <polacek@redhat.com>
47836
47837 [BZ #13806]
47838 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47839 * stdio-common/tst-fphex.c: Define a few macros to make the
47840 test reusable. Use them.
47841 * stdio-common/tst-fphex-wide.c: New file.
47842
478432012-03-08 Joseph Myers <joseph@codesourcery.com>
47844
47845 [BZ #6911]
47846 * manual/macros.texi (gnusystems): New macro.
47847 (nongnusystems): Likewise.
47848 (gnulinuxhurdsystems): Likewise.
47849 (gnuhurdsystems): Likewise..
47850 (gnulinuxsystems): Likewise.
47851 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47852 variants of the GNU system, not "GNU system".
47853 * manual/conf.texi: Likewise.
47854 * manual/errno.texi: Likewise. Update example of errno macro
47855 expansion.
47856 * manual/filesys.texi: Likewise.
47857 (getumask): Document as specific to GNU/Hurd.
47858 * manual/install.texi: Likewise. Reword some references to
47859 GNU/Linux.
47860 * manual/intro.texi: Likewise.
47861 * manual/io.texi: Likewise.
47862 (File Name Portability): Detail which constraints are inapplicable
47863 to all GNU systems and which are only inapplicable to GNU/Hurd.
47864 * manual/job.texi: Likewise.
47865 * manual/llio.texi: Likewise.
47866 (O_NOCTTY): Document as present on GNU/Linux.
47867 * manual/maint.texi: Likewise.
47868 * manual/memory.texi: Likewise.
47869 * manual/pattern.texi: Likewise.
47870 * manual/pipe.texi: Likewise.
47871 * manual/process.texi: Likewise.
47872 * manual/resource.texi: Likewise.
47873 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47874 child on GNU/Hurd.
47875 * manual/setjmp.texi: Likewise.
47876 * manual/signal.texi: Likewise.
47877 * manual/startup.texi: Likewise.
47878 * manual/stdio.texi: Likewise.
47879 * manual/terminal.texi: Likewise.
47880 (ONLCR): Document as POSIX.
47881 (OXTABS): Document availability on GNU/Linux as XTABS.
47882 (ONOEOT): Document availability separately from other bits.
47883 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47884 * manual/time.texi: Likewise.
47885 * manual/users.texi: Likewise.
47886 * INSTALL: Regenerated.
47887 * sysdeps/gnu/errlist.c: Regenerated.
47888
47889 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47890 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47891 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47892 puts.
47893 * configure: Regenerated.
47894
478952012-03-07 Joseph Myers <joseph@codesourcery.com>
47896
47897 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47898 default includes instead of AC_HEADER_CHECK.
47899 * sysdeps/i386/configure: Regenerated.
47900
47901 [BZ #10716]
47902 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47903 * math/s_cacoshf.c (__cacoshf): Likewise.
47904 * math/s_cacoshl.c (__cacoshl): Likewise.
47905 * math/s_casinh.c (__casinh): Set signs of result from argument.
47906 * math/s_casinhf.c (__casinhf): Likewise.
47907 * math/s_casinhl.c (__casinhl): Likewise.
47908 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47909 (casinh_test): Add more tests.
47910 * sysdeps/i386/fpu/libm-test-ulps: Update.
47911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47912
479132012-03-07 Ulrich Drepper <drepper@gmail.com>
47914
47915 * po/zh_TW.po: Update from translation team.
47916
47917 * login/Makefile (distribute): Remove variable.
47918 * catgets/Makefile: Likewise.
47919 * mach/Makefile: Likewise.
47920 * malloc/Makefile: Likewise.
47921 * misc/Makefile: Likewise.
47922 * iconv/Makefile: Likewise.
47923 * nscd/Makefile: Likewise.
47924 * hurd/Makefile: Likewise.
47925 * manual/Makefile: Likewise.
47926 * locale/Makefile: Likewise.
47927 * intl/Makefile: Likewise.
47928 * conform/Makefile: Likewise.
47929 * nss/Makefile: Likewise.
47930 * time/Makefile: Likewise.
47931 * soft-fp/Makefile: Likewise.
47932 * dirent/Makefile: Likewise.
47933 * gmon/Makefile: Likewise.
47934 * po/Makefile: Likewise.
47935 * rt/Makefile: Likewise.
47936 * socket/Makefile: Likewise.
47937 * math/Makefile: Likewise.
47938 * signal/Makefile: Likewise.
47939 * debug/Makefile: Likewise.
47940 * elf/Makefile: Likewise.
47941 * timezone/Makefile: Likewise.
47942 * stdlib/Makefile: Likewise.
47943 * iconvdata/Makefile: Likewise.
47944 * sunrpc/Makefile: Likewise.
47945 * io/Makefile: Likewise.
47946 * argp/Makefile: Likewise.
47947 * inet/Makefile: Likewise.
47948 * hesiod/Makefile: Likewise.
47949 * grp/Makefile: Likewise.
47950 * csu/Makefile: Likewise.
47951 * wctype/Makefile: Likewise.
47952 * crypt/Makefile: Likewise.
47953 * libio/Makefile: Likewise.
47954 * string/Makefile: Likewise.
47955 * nis/Makefile: Likewise.
47956 * resolv/Makefile: Likewise.
47957 * stdio-common/Makefile: Likewise.
47958 * wcsmbs/Makefile: Likewise.
47959 * dlfcn/Makefile: Likewise.
47960 * posix/Makefile: Likewise.
47961
47962 [BZ #6959]
47963 * timezone/Makefile: Don't install timezone files, just the programs
47964 and scripts.
47965
479662012-03-06 Ulrich Drepper <drepper@gmail.com>
47967
47968 * nss/databases.def: Add missing gshadow entry.
47969
47970 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47971
479722012-03-06 Marek Polacek <polacek@redhat.com>
47973
47974 [BZ #13726]
47975 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47976 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47977 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47978 * stdio-common/tst-long-dbl-fphex.c: New file.
47979
479802012-03-06 David S. Miller <davem@davemloft.net>
47981
47982 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47983 (set_obp_int): New function.
47984 (get_obp_int): New function.
47985 (__get_clockfreq_via_dev_openprom): Likewise.
47986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47987 Avoid unused variable warnings on 'val' and use builtin_expect.
47988 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47989 __builtin_expect.
47990 (INLINE_CLONE_SYSCALL): Likewise.
47991
479922012-03-05 David S. Miller <davem@davemloft.net>
47993
47994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47995
479962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47997
47998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47999
48000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48001 only for |x| >= 40.
48002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48003
480042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48005
48006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48007 Replace gettimeofday with __vdso_gettimeofday.
48008
48009 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48010 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48011 __vdso_clock_gettime and __vdso_getcpu.
48012
48013 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48014 time with __vdso_time.
48015
480162012-03-05 Joseph Myers <joseph@codesourcery.com>
48017
48018 * manual/lang.texi (size_t): Note types to which size_t may be
48019 equivalent with the GNU C Library, but do not describe when
48020 differences between them are significant.
48021
480222012-03-05 Andreas Jaeger <aj@suse.de>
48023
48024 * sysdeps/i386/fpu/libm-test-ulps: Update.
48025
480262012-03-05 Joseph Myers <joseph@codesourcery.com>
48027
48028 [BZ #3976]
48029 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48030 (__ieee754_pow): Save and restore rounding mode and use
48031 round-to-nearest for main computations.
48032 * math/libm-test.inc (pow_test_tonearest): New function.
48033 (pow_test_towardzero): Likewise.
48034 (pow_test_downward): Likewise.
48035 (pow_test_upward): Likewise.
48036 (main): Call the new functions.
48037 * sysdeps/i386/fpu/libm-test-ulps: Update.
48038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48039
48040 [BZ #3976]
48041 * math/libm-test.inc (cosh_test_tonearest): New function.
48042 (cosh_test_towardzero): Likewise.
48043 (cosh_test_downward): Likewise.
48044 (cosh_test_upward): Likewise.
48045 (sinh_test_tonearest): Likewise.
48046 (sinh_test_towardzero): Likewise.
48047 (sinh_test_downward): Likewise.
48048 (sinh_test_upward): Likewise.
48049 (main): Call the new functions.
48050 * sysdeps/i386/fpu/libm-test-ulps: Update.
48051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48052
480532012-03-05 Tom de Vries <tom@codesourcery.com>
48054
48055 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48056 default stack guard is set in last bytes.
48057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48058
480592012-03-05 Kees Cook <keescook@chromium.org>
48060
48061 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48062
48063 [BZ #13656]
48064 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48065 possibly allocate from heap instead of stack.
48066 * stdio-common/bug-vfprintf-nargs.c: New file.
48067 * stdio-common/Makefile (tests): Add nargs overflow test.
48068
480692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48070
48071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48072
480732012-03-03 Marek Polacek <polacek@redhat.com>
48074
48075 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48076 * math/math_private.h: Likewise.
48077 * stdlib/tst-strtod.c: Likewise.
48078 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48079 * sysdeps/x86_64/bits/atomic.h: Likewise.
48080
480812012-03-02 David S. Miller <davem@davemloft.net>
48082
48083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48089 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48090 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48091
480922012-03-02 Roland McGrath <roland@hack.frob.com>
48093
48094 [BZ #13792]
48095 * manual/examples/README: New file, says the example source files
48096 can be used under GPL>=2.
48097 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48098 line containing just "*/".
48099 * manual/examples/add.c: Add copyright header (GPL>=2).
48100 * manual/examples/argp-ex1.c: Likewise.
48101 * manual/examples/argp-ex2.c: Likewise.
48102 * manual/examples/argp-ex3.c: Likewise.
48103 * manual/examples/argp-ex4.c: Likewise.
48104 * manual/examples/atexit.c: Likewise.
48105 * manual/examples/db.c: Likewise.
48106 * manual/examples/dir.c: Likewise.
48107 * manual/examples/dir2.c: Likewise.
48108 * manual/examples/execinfo.c: Likewise.
48109 * manual/examples/filecli.c: Likewise.
48110 * manual/examples/filesrv.c: Likewise.
48111 * manual/examples/fmtmsgexpl.c: Likewise.
48112 * manual/examples/genpass.c: Likewise.
48113 * manual/examples/inetcli.c: Likewise.
48114 * manual/examples/inetsrv.c: Likewise.
48115 * manual/examples/isockad.c: Likewise.
48116 * manual/examples/longopt.c: Likewise.
48117 * manual/examples/memopen.c: Likewise.
48118 * manual/examples/memstrm.c: Likewise.
48119 * manual/examples/mkfsock.c: Likewise.
48120 * manual/examples/mkisock.c: Likewise.
48121 * manual/examples/mygetpass.c: Likewise.
48122 * manual/examples/pipe.c: Likewise.
48123 * manual/examples/popen.c: Likewise.
48124 * manual/examples/rprintf.c: Likewise.
48125 * manual/examples/search.c: Likewise.
48126 * manual/examples/select.c: Likewise.
48127 * manual/examples/setjmp.c: Likewise.
48128 * manual/examples/sigh1.c: Likewise.
48129 * manual/examples/sigusr.c: Likewise.
48130 * manual/examples/stpcpy.c: Likewise.
48131 * manual/examples/strdupa.c: Likewise.
48132 * manual/examples/strftim.c: Likewise.
48133 * manual/examples/strncat.c: Likewise.
48134 * manual/examples/subopt.c: Likewise.
48135 * manual/examples/swapcontext.c: Likewise.
48136 * manual/examples/termios.c: Likewise.
48137 * manual/examples/testopt.c: Likewise.
48138 * manual/examples/testpass.c: Likewise.
48139 * manual/examples/timeval_subtract.c: Likewise.
48140
48141 [BZ #13792]
48142 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48143 function to ...
48144 * manual/timeval_subtract.c.texi: ... here, new file.
48145
481462012-03-02 David S. Miller <davem@davemloft.net>
48147
48148 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48149
481502012-03-02 Joseph Myers <joseph@codesourcery.com>
48151
48152 [BZ #3976]
48153 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48154 (__sin): Save and restore rounding mode and use round-to-nearest
48155 for all computations.
48156 (__cos): Save and restore rounding mode and use round-to-nearest
48157 for all computations.
48158 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48159 <fenv.h>.
48160 (tan): Save and restore rounding mode and use round-to-nearest for
48161 all computations.
48162 * math/libm-test.inc (cos_test_tonearest): New function.
48163 (cos_test_towardzero): Likewise.
48164 (cos_test_downward): Likewise.
48165 (cos_test_upward): Likewise.
48166 (sin_test_tonearest): Likewise.
48167 (sin_test_towardzero): Likewise.
48168 (sin_test_downward): Likewise.
48169 (sin_test_upward): Likewise.
48170 (tan_test_tonearest): Likewise.
48171 (tan_test_towardzero): Likewise.
48172 (tan_test_downward): Likewise.
48173 (tan_test_upward): Likewise.
48174 (main): Call the new functions.
48175 * sysdeps/i386/fpu/libm-test-ulps: Update.
48176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48177
48178 [BZ #10135]
48179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48180 small n, then large n, before computing and testing k+n.
48181 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48183 Likewise.
48184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48185 Likewise.
48186 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48187 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48194 * math/libm-test.inc (scalbn_test): Add more tests.
48195 (scalbln_test): Likewise.
48196
48197 * manual/filesys.texi (mode_t): Describe constraints on size and
48198 signedness, not exact equivalence to a particular type.
48199 (ino_t): Likewise.
48200 (ino64_t): Likewise.
48201 (dev_t): Likewise.
48202 (nlink_t): Likewise.
48203 (blkcnt_t): Likewise.
48204 (blkcnt64_t): Likewise.
48205 * manual/llio.texi (off_t): Likewise.
48206
48207 [BZ #3976]
48208 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48209 (__ieee754_exp): Save and restore rounding mode and use
48210 round-to-nearest for all computations.
48211 * math/libm-test.inc (exp_test_tonearest): New function.
48212 (exp_test_towardzero): Likewise.
48213 (exp_test_downward): Likewise.
48214 (exp_test_upward): Likewise.
48215 (main): Call the new functions.
48216 * sysdeps/i386/fpu/libm-test-ulps: Update.
48217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48218
482192012-03-01 Chris Demetriou <cgd@google.com>
48220
48221 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48222 have predictable order.
48223
482242012-03-01 David S. Miller <davem@davemloft.net>
48225
48226 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48227
48228 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48229 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48230 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48231 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48232
48233 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48234 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48235 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48237 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48238 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48239 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48240 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48241 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48242
48243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48244
48245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48246 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48248
48249 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48250 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48251 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48252 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48253 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48256 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48258 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48259 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48263 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48265 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48266 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48267 * sysdeps/sparc/elf/configure: Regenerated.
48268
482692012-03-01 Joseph Myers <joseph@codesourcery.com>
48270
48271 * configure.in (AS, LD): Require binutils 2.20 or later.
48272 * configure: Regenerated.
48273 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48274 as required minimum version.
48275 * INSTALL: Regenerated.
48276
48277 [BZ #2541]
48278 [BZ #4108]
48279 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48280 before squaring exponent.
48281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48282 bottom long double and 27 bits of top long double before squaring
48283 exponent.
48284 * math/libm-test.inc (erfc_test): Add more tests.
48285 * sysdeps/i386/fpu/libm-test-ulps: Update.
48286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48288
482892012-03-01 Kai Tietz <ktietz@redhat.com>
48290
48291 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48292 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48293 containing bit-fields.
48294 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48295 * soft-fp/single.h (_FP_UNION_S): Likewise.
48296 * soft-fp/double.h (_FP_UNION_D): Likewise.
48297
482982012-02-29 Joseph Myers <joseph@codesourcery.com>
48299
48300 [BZ #13786]
48301 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48302 not include ../strcmp.S.
48303 [USE_AS_STRNCASECMP_L]: Likewise.
48304 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48305 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48306 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48307 (__strncasecmp_l_ia32): Define as alias to
48308 __strncasecmp_l_nonascii.
48309
48310 [BZ #5794]
48311 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48312 * sysdeps/i386/fpu/libm-test-ulps: Update.
48313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48314
48315 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48317
483182012-02-29 Jeff Law <law@redhat.com>
48319
48320 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48321 out of bounds read.
48322
483232012-02-29 Marek Polacek <polacek@redhat.com>
48324
48325 [BZ #13706]
48326 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48327 * elf/Makefile: Add rules to run tst-unused-dep.out.
48328
483292012-02-28 David S. Miller <davem@davemloft.net>
48330
48331 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48332 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48337
483382012-02-29 Joseph Myers <joseph@codesourcery.com>
48339
48340 * math/libm-test.inc (llround_test): Move one test from
48341 lround_test. Use TEST_f_L in moved test.
48342 (lround_test): Move misplaced test to llround_test. Add testcase
48343 from bug 2561.
48344
483452012-02-28 Ulrich Drepper <drepper@gmail.com>
48346
48347 * sysdeps/x86_64/fpu/e_expf.S: New file.
48348 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48349
483502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48351
48352 [BZ #13637]
48353 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48354 of remain_len that may cause incomplete multi-byte character and
48355 false match.
48356 * posix/bug-regex33.c: New file.
48357 * posix/Makefile (tests): Add bug-regex33.
48358
483592012-02-28 Joseph Myers <joseph@codesourcery.com>
48360
48361 * manual/macros.texi: New file.
48362 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48363 * manual/libc.texinfo: Include macros.texi.
48364 * manual/creatute.texi: Likewise.
48365 * manual/install.texi: Likewise.
48366 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48367 @glibcadj{} in references to the GNU C Library.
48368 * manual/charset.texi: Likewise.
48369 * manual/conf.texi: Likewise.
48370 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48371 when not using those macros.
48372 * manual/creature.texi: Likewise.
48373 * manual/crypt.texi: Likewise.
48374 * manual/errno.texi: Likewise.
48375 * manual/filesys.texi: Likewise.
48376 * manual/header.texi: Likewise.
48377 * manual/install.texi: Likewise.
48378 * manual/intro.texi: Likewise.
48379 * manual/io.texi: Likewise.
48380 * manual/job.texi: Likewise.
48381 * manual/lang.texi: Likewise.
48382 * manual/libc.texiinfo: Likewise.
48383 * manual/llio.texi: Likewise.
48384 * manual/locale.texi: Likewise.
48385 * manual/maint.texi: Likewise.
48386 * manual/math.texi: Likewise.
48387 * manual/memory.texi: Likewise.
48388 * manual/message.texi: Likewise.
48389 * manual/nss.texi: Likewise.
48390 * manual/pattern.texi: Likewise.
48391 * manual/process.texi: Likewise.
48392 * manual/resource.texi: Likewise.
48393 * manual/search.texi: Likewise.
48394 * manual/setjmp.texi: Likewise.
48395 * manual/signal.texi: Likewise.
48396 * manual/socket.texi: Likewise.
48397 * manual/startup.texi: Likewise.
48398 * manual/stdio.texi: Likewise.
48399 * manual/string.texi: Likewise.
48400 * manual/sysinfo.texi: Likewise.
48401 * manual/syslog.texi: Likewise.
48402 * manual/terminal.texi: Likewise.
48403 * manual/time.texi: Likewise.
48404 * manual/users.texi: Likewise.
48405 * INSTALL: Regenerated.
48406 * NOTES: Regenerated.
48407 * sysdeps/gnu/errlist.c: Regenerated.
48408
484092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48410
48411 * include/dirent.h: Include <dirstream.h> before
48412 <dirent/dirent.h>.
48413
484142012-02-28 David S. Miller <davem@davemloft.net>
48415
48416 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48417 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48418 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48419 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48420
484212012-02-27 David S. Miller <davem@davemloft.net>
48422
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48425 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48426 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48427
48428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48429 frame pointer instead of stack pointer relative arg slot.
48430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48431 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48432 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48433
484342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48435
48436 [BZ #3992]
48437 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48438
484392012-02-27 David S. Miller <davem@davemloft.net>
48440
48441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48445 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48446 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48447 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48448 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48449
484502012-02-27 Joseph Myers <joseph@codesourcery.com>
48451
48452 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48453 later. Allow versions 5-9.
48454 * configure: Regenerated.
48455 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48456 required minimum version and 4.6 as recommended version. Do not
48457 mention bugs in GCC 2.7 and 2.8.
48458 * INSTALL: Regenerated.
48459
484602012-02-27 David S. Miller <davem@davemloft.net>
48461
48462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48468 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48469 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48470
48471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48472 manipulate bits before adding and subtracting TWO112[sx].
48473 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48474
484752012-02-27 Roland McGrath <roland@hack.frob.com>
48476
48477 [BZ #13775]
48478 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48479 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48480 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48481 being in POSIX, because they are in 1003.1-2008.
48482
48483 * rt/tst-aio.c: Include <fcntl.h>.
48484 * rt/tst-aio7.c: Likewise.
48485 * rt/tst-aio64.c: Likewise.
48486
48487 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48488
484892012-02-27 Joseph Myers <joseph@codesourcery.com>
48490
48491 * manual/install.texi (--with-headers): Describe headers as
48492 interface headers, not private headers.
48493 (Specific advice for GNU/Linux systems): Describe use of headers
48494 from "make headers_install", not private headers from older
48495 kernels.
48496 * INSTALL: Regenerated.
48497 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48498 Change to 2.6.19.
48499 * sysdeps/unix/sysv/linux/configure: Regenerated.
48500
48501 * manual/llio.texi (fclean): Remove documentation.
48502
48503 * manual/Makefile (libc-texi-generated): New variable. Include
48504 version.texi.
48505 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48506 $(libc-texi-generated), not duplicated list of files.
48507 (version.texi, stamp-version): New rules.
48508 (realclean): Remove $(libc-texi-generated), not individual files
48509 from that list. Do not remove dir-add.texinfo.
48510 * manual/libc.texinfo: Comment out uses of edition numbers and
48511 references to printed manual. Remove last-updated dates.
48512 (EDITION): Comment out.
48513 (ISBN): Likewise.
48514 (VERSION, UPDATED): Remove.
48515 (version.texi): Include.
48516
485172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48518
48519 * sysdeps/posix/spawni.c: Include <signal.h>.
48520 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48521 * sysdeps/pthread/aio_fsync.c: Likewise.
48522
485232012-02-26 Ulrich Drepper <drepper@gmail.com>
48524
48525 * conform/Makefile (tests): Run only when not cross-compiling and
48526 when fast-check is not defined.
48527
48528 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48529 * conform/data/limits.h-data: Fixes for POSIX2008.
48530 * conform/run-conformtest.sh: Run all tests.
48531 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48532 headers.
48533 * include/bits/dlfcn.h: Likewise.
48534 * include/langinfo.h: Likewise.
48535 * include/monetary.h: Likewise.
48536 * include/sys/poll.h: Likewise.
48537
48538 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48539 for __USE_GNU.
48540 * posix/spawn.h: Define __need_sigset_t.
48541 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48542 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48543 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48544 to get sigevent_t only.
48545 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48546 only for __USE_GNU.
48547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48548 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48549 process_vm_writev only for __USE_GNU.
48550 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48551
48552 * conform/Makefile: For now ignore errors from run-conformtest.
48553 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48554 POSIX to avoid namespace pollution. Don't prepend headers.
48555 * conform/data/aio.h-data: Fixes for POSIX testing.
48556 * conform/data/fcntl.h-data: Likewise.
48557 * conform/data/glob.h-data: Likewise.
48558 * conform/data/grp.h-data: Likewise.
48559 * conform/data/pthread.h-data: Likewise.
48560 * conform/data/pwd.h-data: Likewise.
48561 * conform/data/signal.h-data: Likewise.
48562 * conform/data/spawn.h-data: Likewise.
48563 * conform/data/stdio.h-data: Likewise.
48564 * conform/data/stdlib.h-data: Likewise.
48565 * conform/data/stropts.h-data: Likewise.
48566 * conform/data/sys/mman.h-data: Likewise.
48567 * conform/data/sys/stat.h-data: Likewise.
48568 * conform/data/sys/types.h-data: Likewise.
48569 * conform/data/sys/wait.h-data: Likewise.
48570 * conform/data/time.h-data: Likewise.
48571 * conform/data/unistd.h-data: Likewise.
48572 * conform/data/utime.h-data: Likewise.
48573
48574 * io/sys/stat.h: fchmod was always in POSIX.
48575 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48576 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48577 * rt/aio.h: Define __need_timespec before including <time.h>.
48578 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48579 struct. Add forward declaration of pthread_attr_t and use it in
48580 sigevent.
48581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48583 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48584 always remove CLK_TCK definition.
48585
485862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48587
48588 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48589
485902012-02-25 Ulrich Drepper <drepper@gmail.com>
48591
48592 * conform/run-conformtest.sh: New file.
48593 * conform/Makefile: Run run-conformtest for tests.
48594 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48595 support.
48596
48597 * conform/data/uchar.h-data: New file.
48598 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48599 * conform/data/arpa/inet.h-data: Likewise.
48600 * conform/data/assert.h-data: Likewise.
48601 * conform/data/complex.h-data: Likewise.
48602 * conform/data/cpio.h-data: Likewise.
48603 * conform/data/ctype.h-data: Likewise.
48604 * conform/data/dirent.h-data: Likewise.
48605 * conform/data/dlfcn.h-data: Likewise.
48606 * conform/data/errno.h-data: Likewise.
48607 * conform/data/fcntl.h-data: Likewise.
48608 * conform/data/float.h-data: Likewise.
48609 * conform/data/fmtmsg.h-data: Likewise.
48610 * conform/data/fnmatch.h-data: Likewise.
48611 * conform/data/ftw.h-data: Likewise.
48612 * conform/data/glob.h-data: Likewise.
48613 * conform/data/grp.h-data: Likewise.
48614 * conform/data/iconv.h-data: Likewise.
48615 * conform/data/inttypes.h-data: Likewise.
48616 * conform/data/langinfo.h-data: Likewise.
48617 * conform/data/libgen.h-data: Likewise.
48618 * conform/data/limits.h-data: Likewise.
48619 * conform/data/locale.h-data: Likewise.
48620 * conform/data/math.h-data: Likewise.
48621 * conform/data/monetary.h-data: Likewise.
48622 * conform/data/mqueue.h-data: Likewise.
48623 * conform/data/ndbm.h-data: Likewise.
48624 * conform/data/net/if.h-data: Likewise.
48625 * conform/data/netdb.h-data: Likewise.
48626 * conform/data/netinet/in.h-data: Likewise.
48627 * conform/data/nl_types.h-data: Likewise.
48628 * conform/data/poll.h-data: Likewise.
48629 * conform/data/pthread.h-data: Likewise.
48630 * conform/data/pwd.h-data: Likewise.
48631 * conform/data/regex.h-data: Likewise.
48632 * conform/data/sched.h-data: Likewise.
48633 * conform/data/search.h-data: Likewise.
48634 * conform/data/semaphore.h-data: Likewise.
48635 * conform/data/setjmp.h-data: Likewise.
48636 * conform/data/signal.h-data: Likewise.
48637 * conform/data/spawn.h-data: Likewise.
48638 * conform/data/stdarg.h-data: Likewise.
48639 * conform/data/stdio.h-data: Likewise.
48640 * conform/data/stdlib.h-data: Likewise.
48641 * conform/data/string.h-data: Likewise.
48642 * conform/data/strings.h-data: Likewise.
48643 * conform/data/stropts.h-data: Likewise.
48644 * conform/data/sys/ipc.h-data: Likewise.
48645 * conform/data/sys/mman.h-data: Likewise.
48646 * conform/data/sys/msg.h-data: Likewise.
48647 * conform/data/sys/resource.h-data: Likewise.
48648 * conform/data/sys/select.h-data: Likewise.
48649 * conform/data/sys/sem.h-data: Likewise.
48650 * conform/data/sys/shm.h-data: Likewise.
48651 * conform/data/sys/socket.h-data: Likewise.
48652 * conform/data/sys/stat.h-data: Likewise.
48653 * conform/data/sys/statvfs.h-data: Likewise.
48654 * conform/data/sys/time.h-data: Likewise.
48655 * conform/data/sys/timeb.h-data: Likewise.
48656 * conform/data/sys/times.h-data: Likewise.
48657 * conform/data/sys/types.h-data: Likewise.
48658 * conform/data/sys/uio.h-data: Likewise.
48659 * conform/data/sys/un.h-data: Likewise.
48660 * conform/data/sys/utsname.h-data: Likewise.
48661 * conform/data/sys/wait.h-data: Likewise.
48662 * conform/data/syslog.h-data: Likewise.
48663 * conform/data/tar.h-data: Likewise.
48664 * conform/data/termios.h-data: Likewise.
48665 * conform/data/utime.h-data: Likewise.
48666 * conform/data/utmpx.h-data: Likewise.
48667 * conform/data/varargs.h-data: Likewise.
48668 * conform/data/wchar.h-data: Likewise.
48669 * conform/data/wctype.h-data: Likewise.
48670 * conform/data/wordexp.h-data: Likewise.
48671
48672 * include/stropts.h: New file.
48673 * include/uchar.h: New file.
48674 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48675 * include/assert.h: Likewise.
48676 * include/ctype.h: Likewise.
48677 * include/dirent.h: Likewise.
48678 * include/dlfcn.h: Likewise.
48679 * include/fcntl.h: Likewise.
48680 * include/fnmatch.h: Likewise.
48681 * include/glob.h: Likewise.
48682 * include/grp.h: Likewise.
48683 * include/libio.h: Likewise.
48684 * include/locale.h: Likewise.
48685 * include/math.h: Likewise.
48686 * include/net/if.h: Likewise.
48687 * include/netdb.h: Likewise.
48688 * include/netinet/in.h: Likewise.
48689 * include/pthread.h: Likewise.
48690 * include/pwd.h: Likewise.
48691 * include/regex.h: Likewise.
48692 * include/sched.h: Likewise.
48693 * include/search.h: Likewise.
48694 * include/setjmp.h: Likewise.
48695 * include/signal.h: Likewise.
48696 * include/stdio.h: Likewise.
48697 * include/stdlib.h: Likewise.
48698 * include/string.h: Likewise.
48699 * include/sys/cdefs.h: Likewise.
48700 * include/sys/mman.h: Likewise.
48701 * include/sys/msg.h: Likewise.
48702 * include/sys/resource.h: Likewise.
48703 * include/sys/select.h: Likewise.
48704 * include/sys/socket.h: Likewise.
48705 * include/sys/stat.h: Likewise.
48706 * include/sys/statvfs.h: Likewise.
48707 * include/sys/time.h: Likewise.
48708 * include/sys/times.h: Likewise.
48709 * include/sys/uio.h: Likewise.
48710 * include/sys/utsname.h: Likewise.
48711 * include/sys/wait.h: Likewise.
48712 * include/termios.h: Likewise.
48713 * include/time.h: Likewise.
48714 * include/ulimit.h: Likewise.
48715 * include/unistd.h: Likewise.
48716 * include/utime.h: Likewise.
48717 * include/wchar.h: Likewise.
48718 * include/wctype.h: Likewise.
48719 * include/wordexp.h: Likewise.
48720
48721 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48722
48723 * time/time.h: TIME_UTC must be a macro.
48724 Make timespec_get available for ISO C11 only as well.
48725
487262012-02-24 Ulrich Drepper <drepper@gmail.com>
48727
48728 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48729 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48730
487312012-02-24 Joseph Myers <joseph@codesourcery.com>
48732
48733 * configure.in: Use -o not -a in test for unsupported multi-arch.
48734
487352012-02-24 Joseph Myers <joseph@codesourcery.com>
48736
48737 * manual/texinfo.tex: Update to version 2012-01-19.16.
48738
487392012-02-24 Joseph Myers <joseph@codesourcery.com>
48740
48741 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48742
487432012-02-24 Roland McGrath <roland@hack.frob.com>
48744
48745 [BZ #13738]
48746 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48747 * manual/fdl-1.3.texi: New file.
48748 * manual/fdl-1.1.texi: File removed.
48749
48750 [BZ #13738]
48751 * manual/libc.texinfo (FDL_VERSION): New @set.
48752 Use it for mention of FDL in cover text.
48753 (Documentation License): Use it in @include file name.
48754
487552012-02-22 Joseph Myers <joseph@codesourcery.com>
48756 Roland McGrath <roland@hack.frob.com>
48757
48758 [BZ #5461]
48759 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48760 (not LONG_LONG_MAX and LONG_LONG_MIN.
48761 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48762 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48763 name.
48764 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48765
487662012-02-22 Joseph Myers <joseph@codesourcery.com>
48767
48768 [BZ #2547]
48769 [BZ #11365]
48770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48771 manipulate bits before adding and subtracting TWO23[sx].
48772 * math/libm-test.inc (nearbyint_test): Add more tests.
48773
487742012-02-22 Joseph Myers <joseph@codesourcery.com>
48775
48776 [BZ #2548]
48777 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48778 bits before adding and subtracting TWO23[sx].
48779 * math/libm-test.inc (rint_test): Add more tests.
48780 (rint_test_tonearest): Likewise.
48781 (rint_test_towardzero): Likewise.
48782 (rint_test_downward): Likewise.
48783 (rint_test_upward: Likewise.
48784
487852012-02-22 Joseph Myers <joseph@codesourcery.com>
48786
48787 [BZ #10110]
48788 * include/stdc-predef.h: New file. Extracted from features.h.
48789 * include/features.h: Include stdc-predef.h.
48790 * Makefile (headers): Add stdc-predef.h.
48791 * CONFORMANCE (Compiler limitations): Update.
48792
487932012-02-22 Joseph Myers <joseph@codesourcery.com>
48794
48795 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48796
487972012-02-21 David S. Miller <davem@davemloft.net>
48798
48799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48801
488022012-02-20 David S. Miller <davem@davemloft.net>
48803
48804 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48805 using a normal save/restore sequence, rather than allocating a
48806 dummy stack frame just to store a frame pointer and restore.
48807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48808
488092012-02-21 Joseph Myers <joseph@codesourcery.com>
48810
48811 * manual/install.texi: Fix stray word in line-wrapped comment.
48812
488132012-02-20 David S. Miller <davem@davemloft.net>
48814
48815 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48816 both binutils and gcc support GOTDATA.
48817
48818 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48819 "rd %pc" in the PIC register setup sequences.
48820
48821 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48822 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48824 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48825 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48830 (SYSCALL_ERROR_HANDLER): Likewise.
48831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48832 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48834 (SYSCALL_ERROR_HANDLER): Likewise.
48835
48836 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48837 (HAVE_GCC_GOTDATA): New.
48838 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48839 relocation support in both binutils and gcc.
48840 * sysdeps/sparc/elf/configure: Regenerate.
48841
48842 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48843 * sysdeps/sparc/sparc32/elf/configure: Delete.
48844 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48845 * sysdeps/sparc/sparc64/elf/configure: Delete.
48846 * sysdeps/sparc/elf/configure.in: New file.
48847 * sysdeps/sparc/elf/configure: Generate.
48848
48849 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48850 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48851 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48852 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48853 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48854
488552012-02-21 Joseph Myers <joseph@codesourcery.com>
48856
48857 * manual/install.texi: Do not mention specific glibc version
48858 numbers.
48859 * manual/libc.texinfo (VERSION, UPDATED): Update.
48860 (@copying): Use @copyright{} and range of years.
48861
488622012-02-21 Joseph Myers <joseph@codesourcery.com>
48863
48864 [BZ #13695]
48865 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48866 [crti.S not in sysdirs] (generated): Do not append.
48867 [crti.S not in sysdirs] (omit-deps): Likewise.
48868 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48869 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48870 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48871 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48872 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48873 Likewise.
48874 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48875 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48876 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48877 * csu/defs.awk: Remove file.
48878 * sysdeps/generic/initfini.c: Likewise.
48879 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48880 variable.
48881 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48882 Likewise.
48883
488842012-02-20 Joseph Myers <joseph@codesourcery.com>
48885
48886 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48888 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48891 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48892 <bits/epoll.h>.
48893 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48894 (__EPOLL_PACKED): Define to empty if not defined by
48895 <bits/epoll.h>.
48896 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48898 bits/epoll.h.
48899
489002012-02-20 Joseph Myers <joseph@codesourcery.com>
48901
48902 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48903 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48904 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48905 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48906 <bits/timerfd.h>.
48907 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48909 bits/timerfd.h.
48910
489112012-02-20 Joseph Myers <joseph@codesourcery.com>
48912
48913 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48914 in C locale.
48915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48919
489202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48921
48922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48923 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48924
489252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48926
48927 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48928 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48929 defined.
48930 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48931 Likewise.
48932 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48933 entry for 2.16.
48934
489352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48936
48937 * math/w_acos.c: Use non-signaling floating-point comparisons.
48938 * math/w_acosf.c: Likewise.
48939 * math/w_acosh.c: Likewise.
48940 * math/w_acoshf.c: Likewise.
48941 * math/w_acoshl.c: Likewise.
48942 * math/w_acosl.c: Likewise.
48943 * math/w_asin.c: Likewise.
48944 * math/w_asinf.c: Likewise.
48945 * math/w_asinl.c: Likewise.
48946 * math/w_atanh.c: Likewise.
48947 * math/w_atanhf.c: Likewise.
48948 * math/w_atanhl.c: Likewise.
48949 * math/w_exp2.c: Likewise.
48950 * math/w_exp2f.c: Likewise.
48951 * math/w_exp2l.c: Likewise.
48952 * math/w_j0.c: Likewise.
48953 * math/w_j0f.c: Likewise.
48954 * math/w_j0l.c: Likewise.
48955 * math/w_j1.c: Likewise.
48956 * math/w_j1f.c: Likewise.
48957 * math/w_j1l.c: Likewise.
48958 * math/w_jn.c: Likewise.
48959 * math/w_jnf.c: Likewise.
48960 * math/w_log.c: Likewise.
48961 * math/w_log10.c: Likewise.
48962 * math/w_log10f.c: Likewise.
48963 * math/w_log10l.c: Likewise.
48964 * math/w_log2.c: Likewise.
48965 * math/w_log2f.c: Likewise.
48966 * math/w_log2l.c: Likewise.
48967 * math/w_logf.c: Likewise.
48968 * math/w_logl.c: Likewise.
48969 * math/w_sqrt.c: Likewise.
48970 * math/w_sqrtf.c: Likewise.
48971 * math/w_sqrtl.c: Likewise.
48972 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48973 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48975 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48976 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48977
489782012-02-19 Joseph Myers <joseph@codesourcery.com>
48979
48980 [BZ #9739]
48981 * manual/string.texi (strnlen): Use correct parameter name in
48982 equivalent expression.
48983
489842012-02-19 Joseph Myers <joseph@codesourcery.com>
48985
48986 [BZ #11174]
48987 * manual/users.texi (seteuid): Consistently use neweuid for
48988 argument name.
48989
489902012-02-19 Joseph Myers <joseph@codesourcery.com>
48991
48992 [BZ #13704]
48993 * manual/nss.texi (Services in the NSS configuration): Correct
48994 list of services in example configuration file.
48995
489962012-02-19 Nick Bowler <nbowler@draconx.ca>
48997
48998 [BZ #11322]
48999 * manual/arith.texi: Remove statements about negative zero
49000 behaving identically to zero.
49001
490022012-02-18 Joseph Myers <joseph@codesourcery.com>
49003
49004 [BZ #5993]
49005 * manual/install.texi: Do not document upgrading from libc5.
49006
490072012-02-18 Joseph Myers <joseph@codesourcery.com>
49008
49009 [BZ #4596]
49010 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49011
490122012-02-18 David S. Miller <davem@davemloft.net>
49013
49014 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49015 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49016 %o7 across the call.
49017 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49018 instead.
49019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49020 SETUP_PIC_REG_LEAF.
49021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49022 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49023 * sysdeps/sparc/crtn.S: Likewise.
49024
490252012-02-17 Ulrich Drepper <drepper@gmail.com>
49026
49027 * aout/Makefile: Remove.
49028
490292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49030
49031 [BZ #13058]
49032 * manual/examples/argp-ex1.c (main): Format definition in GNU
49033 style.
49034 * manual/examples/argp-ex2.c (main): Likewise.
49035 * manual/examples/argp-ex3.c (main): Likewise.
49036 * manual/examples/argp-ex4.c (main): Likewise.
49037 * manual/examples/longopt.c (main): Use new-style prototype
49038 definition.
49039 * manual/examples/strncat.c (main): Specify return type and use
49040 (void) for arguments.
49041 * manual/examples/subopt.c (main): Use char **argv argument.
49042
490432012-02-17 Joseph Myers <joseph@codesourcery.com>
49044
49045 [BZ #5077]
49046 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49047 rounding modes.
49048
490492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49050
49051 [BZ #6907]
49052 * manual/string.texi (strchr): Change when strchrnul is
49053 recommended.
49054
490552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49056
49057 [BZ #174]
49058 * manual/locale.texi (setlocale): Document LOCPATH.
49059
490602012-02-17 Joseph Myers <joseph@codesourcery.com>
49061
49062 [BZ #10210]
49063 * manual/process.texi (execle): Move @dots{} before last argument.
49064
490652012-02-17 Paul Bolle <pebolle@tiscali.nl>
49066
49067 [BZ #12047]
49068 * manual/charset.texi (Generic Charset Conversion): Fix typo
49069 (LC_TYPE -> LC_CTYPE).
49070
490712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49072
49073 [BZ #5805]
49074 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49075 (scalbnf): Likewise.
49076 (scalbnl): Likewise.
49077 (scalbln): Likewise.
49078 (scalblnf): Likewise.
49079 (scalblnl): Likewise.
49080 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49081 (vwarnx): Likewise.
49082 (verr): Likewise.
49083 (verrx): Likewise.
49084 * manual/filesys.texi (telldir): Use braces around return type.
49085 * manual/llio.texi (mmap): Add space after comma.
49086 (mmap64): Likewise.
49087 * manual/math.texi (jn): Use @var{} on parameter names.
49088 (jnf): Likewise.
49089 (jnl): Likewise.
49090 (yn): Likewise.
49091 (ynf): Likewise.
49092 (ynl): Likewise.
49093 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49094 line.
49095 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49096 "...".
49097 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49098 (sched_get_priority_max): Likewise.
49099 * manual/signal.texi (sigvec): Add space after comma.
49100 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49101 names.
49102 (if_indextoname): Likewise.
49103 (if_freenameindex): Likewise.
49104 (sendto): Use ',' instead of '.' in prototype.
49105 * manual/startup.texi (syscall): Use @dots{} instead of literal
49106 "...".
49107 * manual/stdio.texi (__fpending): Separate initial words of
49108 paragraph from @deftypefun line.
49109 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49110 "...".
49111 (vsyslog): Use @var{} on parameter names.
49112 * manual/terminal.texi (stty): Use @var{} on parameter names.
49113 * manual/users.texi (getutmp): Use @var{} on parameter names.
49114 (getutmpx): Likewise.
49115
491162012-02-17 Joseph Myers <joseph@codesourcery.com>
49117
49118 [BZ #6884]
49119 * manual/stdio.texi (fopen): Fix typos in description of
49120 ",ccs=STRING".
49121
491222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49123
49124 [BZ #4026]
49125 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49126 get clock_id definition.
49127
491282012-02-17 Thomas Schwinge <thomas@schwinge.name>
49129
49130 [BZ #4822]
49131 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49132 (madvise): Cast every argument to void on its own.
49133
491342012-02-17 Joseph Myers <joseph@codesourcery.com>
49135
49136 [BZ #9902]
49137 * manual/startup.texi (Exit Status): Fix typo.
49138
491392012-02-17 Joseph Myers <joseph@codesourcery.com>
49140
49141 [BZ #10140]
49142 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49143 * manual/examples/argp-ex2.c: Likewise.
49144 * manual/examples/argp-ex3.c: Likewise.
49145
491462012-02-16 Richard Henderson <rth@redhat.com>
49147
49148 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49149 * sysdeps/s390/s390-32/initfini.c: Remove.
49150 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49151 * sysdeps/s390/s390-64/initfini.c: Remove.
49152
491532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49154
49155 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49156 compiler output for sysdeps/generic/initfini.c.
49157 * sysdeps/sh/elf/initfini.c: Remove file.
49158
491592012-02-16 David S. Miller <davem@davemloft.net>
49160
49161 [BZ #11494]
49162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49163
49164 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49165 * sysdeps/sparc/crti.S: New file.
49166 * sysdeps/sparc/crtn.S: New file.
49167 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49168 * sysdeps/sparc/sparc64/Makefile: Likewise.
49169
491702012-02-15 Mike Frysinger <vapier@gentoo.org>
49171
49172 [BZ #3335]
49173 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49174
491752012-02-15 Roland McGrath <roland@hack.frob.com>
49176
49177 [BZ #4822]
49178 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49179
49180 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49181 (write, read, close): Likewise.
49182 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49183
491842012-02-15 Joseph Myers <joseph@codesourcery.com>
49185
49186 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49187 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49188 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49189 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49190 <bits/signalfd.h>.
49191 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49193 bits/signalfd.h.
49194
491952012-02-14 Marek Polacek <polacek@redhat.com>
49196
49197 * sysdeps/x86_64/crti.S: New file.
49198 * sysdeps/x86_64/crtn.S: New file.
49199 * sysdeps/x86_64/elf/initfini.c: Remove file.
49200
492012012-02-13 Joseph Myers <joseph@codesourcery.com>
49202
49203 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49204 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49205 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49206 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49207 <bits/inotify.h>.
49208 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49210 bits/inotify.h.
49211
492122012-02-13 Joseph Myers <joseph@codesourcery.com>
49213
49214 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49215 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49216 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49217 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49218 <bits/eventfd.h>.
49219 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49221 bits/eventfd.h.
49222
492232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49224
49225 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49226 __feraiseexcept instead of feraiseexcept.
49227
49228 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49229 nanosleep invocations.
49230 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49231 strings, and add error checking for a nanosleep invocations.
49232
492332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49234
49235 Replace FSF snail mail address with URLs, as per GNU coding standards.
49236 Most of the snail mail addresses were wrong anyway, and omitting
49237 them makes the source code easier to maintain. Almost all of the
49238 changes are to license notices and to locale LC_IDENTIFICATION
49239 addresses, except for this one:
49240 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49241 not its snail mail address.
49242
492432012-02-09 Richard Henderson <rth@twiddle.net>
49244
49245 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49246 of kernel-features.h.
49247
49248 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49249
492502012-02-08 Marek Polacek <polacek@redhat.com>
49251
49252 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49253 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49254 * sysdeps/gnu/_G_config.h: Likewise.
49255 * sysdeps/generic/_G_config.h: Likewise.
49256
492572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49258
49259 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49260 tests.
49261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49262
49263 * sysdeps/powerpc/powerpc32/crti.S: New file.
49264 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49265 * sysdeps/powerpc/powerpc64/crti.S: New file.
49266 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49267
49268 * Makeconfig (have-initfini): Don't set.
49269 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49270 * configure.in (nopic_initfini): Don't substitute.
49271 * config.h.in (HAVE_INITFINI): Don't #undef.
49272 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49273 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49274
492752012-02-08 Joseph Myers <joseph@codesourcery.com>
49276
49277 Support crti.S and crtn.S provided directly by architectures.
49278 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49279 [crti.S in sysdirs] (omit-deps): Likewise.
49280 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49281 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49282 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49283 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49284 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49285 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49286 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49287 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49288 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49289 compiler output for sysdeps/generic/initfini.c.
49290 * sysdeps/i386/elf/Makefile: Remove file.
49291 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49292
492932012-02-07 Marek Polacek <polacek@redhat.com>
49294
49295 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49296 * sysdeps/gnu/_G_config.h: Likewise.
49297 * sysdeps/mach/hurd/_G_config.h: Likewise.
49298
492992012-02-07 Marek Polacek <polacek@redhat.com>
49300
49301 * math/Makefile (tests): Add tst-CMPLX2.
49302 * math/tst-CMPLX2.c: New file.
49303
493042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49305
49306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49307
49308 * math/libm-test.inc (jn_test): Add missing L suffix.
49309
493102012-02-06 Marek Polacek <polacek@redhat.com>
49311
49312 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49313 * sysdeps/i386/fpu/e_powf.S: Likewise.
49314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49315 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49317 * sysdeps/i386/fpu/e_pow.S: Likewise.
49318 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49319 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49320 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49321 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49322 * sysdeps/i386/fpu/e_log2.S: Likewise.
49323 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49324 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49325 * sysdeps/i386/fpu/e_powl.S: Likewise.
49326 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49327 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49328 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49329 * sysdeps/i386/fpu/e_logl.S: Likewise.
49330 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49331 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49332 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49333 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49335 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49336 * sysdeps/i386/fpu/e_log.S: Likewise.
49337 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49338 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49339 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49340 * sysdeps/i386/fpu/e_logf.S: Likewise.
49341 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49342 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49343 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49345 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49346 * sysdeps/i386/fpu/e_log10.S: Likewise.
49347 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49348 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49349 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49350 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49351 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49353 * sysdeps/i386/asm-syntax.h: Likewise.
49354 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49355 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49356 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49357 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49358 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49360 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49361 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49362 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49363 * sysdeps/powerpc/sysdep.h: Likewise.
49364 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49365 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49366
493672012-02-06 Joseph Myers <joseph@codesourcery.com>
49368
49369 [BZ #411]
49370 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49371
493722012-02-06 Joseph Myers <joseph@codesourcery.com>
49373
49374 * sysdeps/i386/sysdep.h: Include <features.h>.
49375 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49376 version.
49377
493782012-02-05 Joseph Myers <joseph@codesourcery.com>
49379
49380 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49381 Define.
49382 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49383 LOAD_PIC_REG_STR.
49384
493852012-02-03 Joseph Myers <joseph@codesourcery.com>
49386
49387 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49388 (SETUP_PIC_REG): Use GET_PC_THUNK.
49389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49390 macro.
49391
493922012-02-03 Joseph Myers <joseph@codesourcery.com>
49393
49394 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49395 for non-PIC compilation.
49396 (SETUP_PIC_REG): Add .p2align directive.
49397 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49398 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49399 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49400 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49401 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49402 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49403 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49405 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49406 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49407 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49408 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49409 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49410 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49411 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49412 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49413 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49414 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49415 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49416 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49417 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49419 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49420 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49425 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49426 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49427 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49429 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49430 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49431 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49438
494392012-02-03 Joseph Myers <joseph@codesourcery.com>
49440
49441 * math/tst-CMPLX.c: Include <stdio.h>.
49442
494432012-01-31 Joseph Myers <joseph@codesourcery.com>
49444
49445 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49446 float.
49447 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49448 * sysdeps/sparc/bits/mathdef.h: Likewise.
49449
494502012-01-31 Marek Polacek <polacek@redhat.com>
49451
49452 * libio/libio.h: Don't define _PARAMS.
49453 * locale/programs/config.h: Don't define PARAMS.
49454 * stdlib/strtol_l.c: Likewise.
49455 (__strtol_l): Remove PARAMS from the prototype.
49456
494572012-01-31 Ulrich Drepper <drepper@gmail.com>
49458
49459 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49460 names. Just use the correct names. Remove unnecessary wrapper
49461 functions.
49462 * malloc/arena.c: Likewise.
49463 * malloc/hooks.c: Likewise.
49464
49465 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49466 ARENA_TEST says not to. Simplify test for creation of a new arena.
49467 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49468
494692012-01-30 Ulrich Drepper <drepper@gmail.com>
49470
49471 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49472 into tail calls.
49473 (update_get_addr): New function.
49474 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49475 GET_ADDR_MODULE parameter.
49476
494772012-01-30 Joseph Myers <joseph@codesourcery.com>
49478
49479 * crypt/cert.c: Remove __STDC__ conditionals.
49480 * crypt/crypt-entry.c: Likewise.
49481 * crypt/crypt_util.c: Likewise.
49482 * libio/filedoalloc.c: Likewise.
49483 * libio/fileops.c: Likewise.
49484 * libio/genops.c: Likewise.
49485 * libio/iofclose.c: Likewise.
49486 * libio/iofdopen.c: Likewise.
49487 * libio/iofopen.c: Likewise.
49488 * libio/iofopen64.c: Likewise.
49489 * libio/iogetdelim.c: Likewise.
49490 * libio/iopopen.c: Likewise.
49491 * libio/obprintf.c: Likewise.
49492 * libio/oldfileops.c: Likewise.
49493 * libio/oldiofclose.c: Likewise.
49494 * libio/oldiofdopen.c: Likewise.
49495 * libio/oldiofopen.c: Likewise.
49496 * libio/oldiopopen.c: Likewise.
49497 * libio/wfiledoalloc.c: Likewise.
49498 * libio/wgenops.c: Likewise.
49499 * locale/programs/xmalloc.c: Likewise.
49500 * misc/syslog.c: Likewise.
49501 * stdio-common/xbug.c: Likewise.
49502 * string/memchr.c: Likewise.
49503 * string/memcmp.c: Likewise.
49504 * string/memrchr.c: Likewise.
49505 * string/rawmemchr.c: Likewise.
49506 * sysdeps/posix/getcwd.c: Likewise.
49507 * time/strftime_l.c: Likewise.
49508
495092012-01-30 Joseph Myers <joseph@codesourcery.com>
49510
49511 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49512 * config.make.in (config-cflags-sse2avx): Define.
49513 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49514 Fix typo.
49515
495162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49517
49518 * scripts/config.guess: Update from upstream config git repository.
49519 * scripts/config.sub: Likewise.
49520
495212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49522
49523 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49524 (EM_NUM): Update.
49525 (R_TILEPRO_*, R_TILEGX_*): New macros.
49526
49527 * scripts/firstversions.awk: Fix bug in version range handling.
49528
49529 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49530
49531 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49532
49533 * include/sys/epoll.h: New file.
49534 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49535 libc_hidden_def.
49536
495372012-01-28 Ulrich Drepper <drepper@gmail.com>
49538
49539 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49540 Avoid unnecessary __WORDSIZE == 64 test.
49541 (fmaxf): Use VEX format if possible.
49542 (fmax): Likewise.
49543 (fminf): Likewise.
49544 (fmin): Likewise.
49545
49546 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49547 * math/math_private.h: Remove libc_fegetround* and
49548 libc_fesetround*.
49549 * sysdeps/i386/configure.in: Check for -msse2avx.
49550 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49551 also if SSE2AVX is defined.
49552 Remove libc_fegetround* and libc_fesetround*.
49553 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49554 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49556 of HAS_YMM_USABLE.
49557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49562
49563 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49564
495652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49566
49567 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49568 size is not set.
49569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49570
495712012-01-27 Ulrich Drepper <drepper@gmail.com>
49572
49573 [BZ #13618]
49574 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49575 relocation.
49576 * Makeconfig (libm): Define.
49577 * elf/Makefile: Add rules to build and run tst-relsort1.
49578 * elf/tst-relsort1.c: New file.
49579 * elf/tst-relsort1mod1.c: New file.
49580 * elf/tst-relsort1mod2.c: New file.
49581
495822012-01-27 Joseph Myers <joseph@codesourcery.com>
49583
49584 * math/s_ldexp.c: Remove __STDC__ conditionals.
49585 * math/s_ldexpf.c: Likewise.
49586 * math/s_ldexpl.c: Likewise.
49587 * math/s_nextafter.c: Likewise.
49588 * math/s_nexttowardf.c: Likewise.
49589 * math/s_significand.c: Likewise.
49590 * math/s_significandf.c: Likewise.
49591 * math/s_significandl.c: Likewise.
49592 * math/w_jnl.c: Likewise.
49593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49612 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49613 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49615 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49617 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49618 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49624 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49625 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49628 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49629 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49633 * sysdeps/ieee754/k_standard.c: Likewise.
49634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49635 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49636 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49637 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49638 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49639 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49642 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49643 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49644 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49648 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49656 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49657 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49659 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49665 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49672 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49676 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49677 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49683 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49684 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49690 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49695 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49696 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49698 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49699 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49700 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49703 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49704 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49705 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49706 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49709 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49710 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49711 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49713 * sysdeps/ieee754/s_matherr.c: Likewise.
49714 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49715 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49718
497192012-01-26 Joseph Myers <joseph@codesourcery.com>
49720
49721 * crypt/md5.h: Remove __STDC__ conditionals.
49722 * libio/libioP.h: Likewise.
49723 * locale/programs/config.h: Likewise.
49724 * sysdeps/generic/sysdep.h: Likewise.
49725 * sysdeps/i386/asm-syntax.h: Likewise.
49726 * sysdeps/s390/asm-syntax.h: Likewise.
49727 * sysdeps/unix/sysdep.h: Likewise.
49728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49730
497312012-01-26 Joseph Myers <joseph@codesourcery.com>
49732
49733 * libio/libio.h: Remove __STDC__ conditionals.
49734 * malloc/obstack.h: Likewise.
49735 * math/complex.h: Likewise.
49736 * math/math.h: Likewise.
49737 * sysdeps/generic/_G_config.h: Likewise.
49738 * sysdeps/gnu/_G_config.h: Likewise.
49739 * sysdeps/mach/hurd/_G_config.h: Likewise.
49740 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49741 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49742 * sysdeps/sparc/bits/mathdef.h: Likewise.
49743
497442012-01-26 Ulrich Drepper <drepper@gmail.com>
49745
49746 [BZ #13583]
49747 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49748 Clean up HAS_* macros.
49749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49750 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49751 possible.
49752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49753 HAS_AVX.
49754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49759
497602012-01-25 Joseph Myers <joseph@codesourcery.com>
49761
49762 * elf/tst-unique3.cc (gets): Remove declaration.
49763 * elf/tst-unique3lib.cc (gets): Likewise.
49764 * elf/tst-unique3lib2.cc (gets): Likewise.
49765 * elf/tst-unique4.cc (gets): Likewise.
49766
497672012-01-24 Ulrich Drepper <drepper@gmail.com>
49768
49769 * include/stdio.h: Add C++ protection. Add gets declarations and
49770 definitions.
49771 * debug/tst-chk1.c: Don't declare gets here.
49772 * stdio-common/tst-gets.c: Likewise.
49773
497742012-01-24 Joseph Myers <joseph@codesourcery.com>
49775
49776 * posix/glob: Remove directory.
49777
497782012-01-24 Joseph Myers <joseph@codesourcery.com>
49779
49780 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49781
497822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49783
49784 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49785 of the non-standard EPFNOSUPPORT.
49786
497872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49788
49789 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49790 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49791 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49792
497932012-01-21 Ulrich Drepper <drepper@gmail.com>
49794
49795 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49796
497972012-01-20 Ulrich Drepper <drepper@gmail.com>
49798
49799 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49800 transient errors.
49801 * nscd/grpcache.c (cache_addgr): Likewise.
49802 * nscd/hstcache.c (cache_addhst): Likewise.
49803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49804 * nscd/pwdcache.c (cache_addpw): Likewise.
49805 * nscd/servicescache.c (cache_addserv): Likewise.
49806
498072012-01-16 Ulrich Drepper <drepper@gmail.com>
49808
49809 * malloc/malloc.c: Various cleanups.
49810 * malloc/hooks.c: Likewise.
49811
49812 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49813 * stdlib/bug-fmtmsg1.c: New file.
49814
49815 * stdlib/fmtmsg.c (init): Add missing unlock.
49816 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49817
498182012-01-12 Marek Polacek <polacek@redhat.com>
49819
49820 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49821 and _GNU_SOURCE.
49822
498232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49824
49825 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49827 macro to ensure uniqueness of label name.
49828 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49829 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49830
498312012-01-11 Ulrich Drepper <drepper@gmail.com>
49832
49833 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49834
49835 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49836 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49839
498402012-01-10 Ulrich Drepper <drepper@gmail.com>
49841
49842 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49843
49844 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49847
49848 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49849
49850 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49851 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49854
49855 * math/bits/math-finite.h: Add ldexp support.
49856
498572012-01-10 Marek Polacek <polacek@redhat.com>
49858
49859 * locale/programs/localedef.h (show_archive_content): Add noreturn
49860 attribute.
49861
498622012-01-09 Ulrich Drepper <drepper@gmail.com>
49863
49864 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49865
498662012-01-08 Ulrich Drepper <drepper@gmail.com>
49867
49868 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49869
49870 * io/Makefile (headers): Add bits/poll2.h.
49871
498722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49873
49874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49875 typo #include statement.
49876
498772012-01-08 Ulrich Drepper <drepper@gmail.com>
49878
49879 * include/sys/cdefs.h: Define __attribute_alloc_size.
49880 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49881 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49882 * elf/pldd.c: Likewise.
49883 * iconv/iconv_charmap.c: Likewise.
49884 * iconv/iconvconfig.c: Likewise.
49885 * iconv/strtab.c: Likewise.
49886 * locale/programs/locale.c: Likewise.
49887 * locale/programs/localedef.h: Likewise.
49888 * locale/programs/simple-hash.c: Likewise.
49889 * nscd/nscd.h: Likewise.
49890 * nss/makedb.c: Likewise.
49891 * sysdeps/generic/ldconfig.h: Likewise.
49892 * locale/programs/localedef.c: Remove xmalloc prototype.
49893 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49894
498952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49896
49897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49898 appropriate.
49899
499002012-01-08 Ulrich Drepper <drepper@gmail.com>
49901
49902 * math/Makefile (tests): Add tst-CMPLX.
49903 * math/tst-CMPLX.c: New file.
49904
49905 * math/complex.h (CMPLXL): Fix typo.
49906
49907 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49908 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49909 GLIBC_2.16.
49910 * debug/tst-chk1.c: Add poll and ppoll tests.
49911 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49912 * include/sys/poll.h: Add hidden proto for ppoll.
49913 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49914 * sysdeps/mach/hurd/ppoll.c: Likewise.
49915 * io/ppoll.c: Likewise.
49916 * debug/poll_chk.c: New file.
49917 * debug/ppoll_chk.c: New file.
49918 * include/bits/poll2.h: New file.
49919 * io/bits/poll2.h: New file.
49920
49921 [BZ #1350]
49922 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49923
49924 * configure.in: static is always set to yes. Remove.
49925 * config.make.in: Don't set build-static.
49926 * Makeconfig: Remove use of build-static.
49927 * dlfcn/Makefile: Likewise.
49928 * elf/Makefile: Likewise.
49929 * math/Makefile: Likewise.
49930 * misc/Makefile: Likewise.
49931 * nptl/Makefile: Likewise.
49932 * sysdeps/mach/hurd/Makefile: Likewise.
49933
49934 * configure.in: PWD_P is not used anymore.
49935 * config.make.in: Remove PWD_P entry.
49936
49937 * configure.in: Remove last remnants of RANLIB.
49938 No need to check for signed size_t anymore.
49939 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49940 and IA-64.
49941 Remove __builtin_expect test because we require at least gcc 3.4.
49942 * aclocal.m4: Likewise.
49943
49944 * wcsmbs/mbrtoc16.c: Implement using towc function.
49945 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49946 * wcsmbs/wcsmbsload.c: Likewise.
49947 * iconv/gconv_simple.c: Likewise.
49948 * iconv/gconv_int.h: Likewise.
49949 * iconv/gconv_builtin.h: Likewise.
49950 * iconv/iconv_prog.c: Remove CHAR16 handling.
49951
49952 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49953
49954 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49955
49956 * configure.in: Remove --with-elf and --enable-bounded options.
49957 Dont set base_machine for ia64. More non-ELF conditions removed.
49958 Remove testing and setting of leading underscore information.
49959 * config.make.in (build-bounded): Set to no.
49960 * config.h.in: Remove NO_UNDERSCORES entry.
49961 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49962 them.
49963 * csu/start.c: Remove !NO_UNDERSCORE code.
49964 * locale/localeinfo.h: Likewise.
49965 * sysdeps/generic/machine-gmon.h: Likewise.
49966 * sysdeps/generic/sysdep.h: Likewise.
49967 * sysdeps/i386/sysdep.h: Likewise.
49968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49969 * sysdeps/mach/sysdep.h: Likewise.
49970 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49972 * sysdeps/sh/sysdep.h: Likewise.
49973 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49974 * sysdeps/unix/i386/sysdep.S: Likewise.
49975 * sysdeps/unix/sparc/start.c: Likewise.
49976 * sysdeps/unix/sparc/sysdep.S: Likewise.
49977 * sysdeps/unix/sparc/sysdep.h: Likewise.
49978 * sysdeps/unix/start.c: Likewise.
49979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49980 * sysdeps/x86_64/sysdep.h: Likewise.
49981
499822012-01-07 Ulrich Drepper <drepper@gmail.com>
49983
49984 [BZ #13553]
49985 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49986 for non-gcc.
49987 * argp/argp-fmtstream.h: Use const instead __const.
49988 * argp/argp.h: Likewise.
49989 * assert/assert.h: Likewise.
49990 * bits/fenv.h: Likewise.
49991 * bits/sched.h: Likewise.
49992 * bits/sigset.h: Likewise.
49993 * bits/sigthread.h: Likewise.
49994 * catgets/nl_types.h: Likewise.
49995 * conform/data/pthread.h-data: Likewise.
49996 * crypt/crypt-private.h: Likewise.
49997 * crypt/crypt.h: Likewise.
49998 * crypt/crypt_util.c: Likewise.
49999 * ctype/ctype.h: Likewise.
50000 * debug/execinfo.h: Likewise.
50001 * debug/mbsnrtowcs_chk.c: Likewise.
50002 * debug/mbsrtowcs_chk.c: Likewise.
50003 * debug/wcsnrtombs_chk.c: Likewise.
50004 * debug/wcsrtombs_chk.c: Likewise.
50005 * debug/wcstombs_chk.c: Likewise.
50006 * dirent/dirent.h: Likewise.
50007 * dlfcn/dlfcn.h: Likewise.
50008 * elf/neededtest4.c: Likewise.
50009 * grp/grp.h: Likewise.
50010 * gshadow/gshadow.h: Likewise.
50011 * iconv/gconv.h: Likewise.
50012 * iconv/gconv_int.h: Likewise.
50013 * iconv/gconv_simple.c: Likewise.
50014 * iconv/iconv.h: Likewise.
50015 * iconv/loop.c: Likewise.
50016 * iconv/skeleton.c: Likewise.
50017 * include/aio.h: Likewise.
50018 * include/aliases.h: Likewise.
50019 * include/argz.h: Likewise.
50020 * include/arpa/inet.h: Likewise.
50021 * include/assert.h: Likewise.
50022 * include/dirent.h: Likewise.
50023 * include/dlfcn.h: Likewise.
50024 * include/execinfo.h: Likewise.
50025 * include/fcntl.h: Likewise.
50026 * include/fenv.h: Likewise.
50027 * include/glob.h: Likewise.
50028 * include/grp.h: Likewise.
50029 * include/libintl.h: Likewise.
50030 * include/mntent.h: Likewise.
50031 * include/netdb.h: Likewise.
50032 * include/pwd.h: Likewise.
50033 * include/rpc/netdb.h: Likewise.
50034 * include/sched.h: Likewise.
50035 * include/search.h: Likewise.
50036 * include/shadow.h: Likewise.
50037 * include/signal.h: Likewise.
50038 * include/stdio.h: Likewise.
50039 * include/stdlib.h: Likewise.
50040 * include/string.h: Likewise.
50041 * include/sys/socket.h: Likewise.
50042 * include/sys/stat.h: Likewise.
50043 * include/sys/statfs.h: Likewise.
50044 * include/sys/statvfs.h: Likewise.
50045 * include/sys/syslog.h: Likewise.
50046 * include/sys/time.h: Likewise.
50047 * include/sys/uio.h: Likewise.
50048 * include/time.h: Likewise.
50049 * include/unistd.h: Likewise.
50050 * include/utmp.h: Likewise.
50051 * include/wchar.h: Likewise.
50052 * include/wctype.h: Likewise.
50053 * inet/aliases.h: Likewise.
50054 * inet/arpa/inet.h: Likewise.
50055 * inet/netinet/ether.h: Likewise.
50056 * inet/netinet/in.h: Likewise.
50057 * intl/libintl.h: Likewise.
50058 * io/bits/fcntl2.h: Likewise.
50059 * io/fcntl.h: Likewise.
50060 * io/ftw.h: Likewise.
50061 * io/sys/poll.h: Likewise.
50062 * io/sys/stat.h: Likewise.
50063 * io/sys/statfs.h: Likewise.
50064 * io/sys/statvfs.h: Likewise.
50065 * io/utime.h: Likewise.
50066 * libio/bits/stdio.h: Likewise.
50067 * libio/bits/stdio2.h: Likewise.
50068 * libio/libio.h: Likewise.
50069 * libio/libioP.h: Likewise.
50070 * libio/stdio.h: Likewise.
50071 * locale/lc-ctype.c: Likewise.
50072 * locale/locale.h: Likewise.
50073 * login/utmp.h: Likewise.
50074 * malloc/arena.c: Likewise.
50075 * malloc/malloc.c: Likewise.
50076 * malloc/malloc.h: Likewise.
50077 * malloc/mcheck.c: Likewise.
50078 * malloc/mtrace.c: Likewise.
50079 * math/bits/mathcalls.h: Likewise.
50080 * math/fenv.h: Likewise.
50081 * math/math_private.h: Likewise.
50082 * misc/bits/error.h: Likewise.
50083 * misc/bits/syslog.h: Likewise.
50084 * misc/err.h: Likewise.
50085 * misc/error.h: Likewise.
50086 * misc/fstab.h: Likewise.
50087 * misc/mntent.h: Likewise.
50088 * misc/regexp.h: Likewise.
50089 * misc/search.h: Likewise.
50090 * misc/sgtty.h: Likewise.
50091 * misc/sys/mman.h: Likewise.
50092 * misc/sys/syslog.h: Likewise.
50093 * misc/sys/uio.h: Likewise.
50094 * misc/sys/xattr.h: Likewise.
50095 * misc/ttyent.h: Likewise.
50096 * nis/rpcsvc/ypclnt.h: Likewise.
50097 * nss/nss.h: Likewise.
50098 * posix/bits/unistd.h: Likewise.
50099 * posix/fnmatch.h: Likewise.
50100 * posix/glob.h: Likewise.
50101 * posix/sched.h: Likewise.
50102 * posix/spawn.h: Likewise.
50103 * posix/sys/wait.h: Likewise.
50104 * posix/unistd.h: Likewise.
50105 * posix/wordexp.h: Likewise.
50106 * pwd/pwd.h: Likewise.
50107 * resolv/netdb.h: Likewise.
50108 * resource/sys/resource.h: Likewise.
50109 * rt/aio.h: Likewise.
50110 * rt/bits/mqueue2.h: Likewise.
50111 * rt/mqueue.h: Likewise.
50112 * shadow/shadow.h: Likewise.
50113 * signal/signal.h: Likewise.
50114 * socket/send.c: Likewise.
50115 * socket/sendto.c: Likewise.
50116 * socket/sys/socket.h: Likewise.
50117 * stdio-common/printf.h: Likewise.
50118 * stdlib/bits/stdlib.h: Likewise.
50119 * stdlib/fmtmsg.h: Likewise.
50120 * stdlib/monetary.h: Likewise.
50121 * stdlib/stdlib.h: Likewise.
50122 * stdlib/ucontext.h: Likewise.
50123 * streams/stropts.h: Likewise.
50124 * string/argz.h: Likewise.
50125 * string/bits/string2.h: Likewise.
50126 * string/string.h: Likewise.
50127 * string/strings.h: Likewise.
50128 * sunrpc/rpc/auth.h: Likewise.
50129 * sunrpc/rpc/auth_des.h: Likewise.
50130 * sunrpc/rpc/clnt.h: Likewise.
50131 * sunrpc/rpc/netdb.h: Likewise.
50132 * sunrpc/rpc/pmap_clnt.h: Likewise.
50133 * sunrpc/rpc/xdr.h: Likewise.
50134 * sysdeps/generic/inttypes.h: Likewise.
50135 * sysdeps/generic/net/if.h: Likewise.
50136 * sysdeps/generic/sys/swap.h: Likewise.
50137 * sysdeps/gnu/net/if.h: Likewise.
50138 * sysdeps/gnu/utmpx.h: Likewise.
50139 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50140 * sysdeps/i386/i486/bits/string.h: Likewise.
50141 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50142 * sysdeps/s390/bits/string.h: Likewise.
50143 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50144 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50145 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50146 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50147 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50148 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50149 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50150 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50151 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50152 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50153 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50154 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50155 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50156 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50157 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50158 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50159 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50163 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50164 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50165 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50166 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50167 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50168 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50169 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50171 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50172 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50173 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50174 * sysvipc/sys/ipc.h: Likewise.
50175 * sysvipc/sys/msg.h: Likewise.
50176 * sysvipc/sys/sem.h: Likewise.
50177 * sysvipc/sys/shm.h: Likewise.
50178 * termios/termios.h: Likewise.
50179 * time/sys/time.h: Likewise.
50180 * time/time.h: Likewise.
50181 * wcsmbs/bits/wchar2.h: Likewise.
50182 * wcsmbs/uchar.h: Likewise.
50183 * wcsmbs/wchar.h: Likewise.
50184 * wctype/wctype.h: Likewise.
50185
50186 [BZ #13551]
50187 * Makeconfig: Remove all but ELF support including AIX support.
50188 * Makerules: Likewise.
50189 * config.h.in: Likewise.
50190 * config.make.in: Likewise.
50191 * configure: Likewise.
50192 * configure.in: Likewise.
50193 * csu/Makefile: Likewise.
50194 * csu/version.c: Likewise.
50195 * debug/Makefile: Likewise.
50196 * dlfcn/Makefile: Likewise.
50197 * elf/Makefile: Likewise.
50198 * extra-lib.mk: Likewise.
50199 * iconv/Makefile: Likewise.
50200 * include/libc-symbols.h: Likewise.
50201 * include/shlib-compat.h: Likewise.
50202 * resolv/Makefile: Likewise.
50203 * resolv/res_libc.c: Likewise.
50204 * rt/Makefile: Likewise.
50205 * sysdeps/i386/asm-syntax.h: Likewise.
50206 * sysdeps/i386/sysdep.h: Likewise.
50207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50208 * sysdeps/mach/sysdep.h: Likewise.
50209 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50210 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50211 * sysdeps/s390/asm-syntax.h: Likewise.
50212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50214 * sysdeps/sh/sysdep.h: Likewise.
50215 * sysdeps/unix/sparc/sysdep.h: Likewise.
50216 * sysdeps/wordsize-32/divdi3.c: Likewise.
50217 * sysdeps/x86_64/sysdep.h: Likewise.
50218
50219 * argp/Versions: Remove _argp_unlock_xxx.
50220
50221 [BZ #13559]
50222 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50223 * abilist/libBrokenLocale.abilist: Likewise.
50224 * abilist/libanl.abilist: Likewise.
50225 * abilist/libc.abilist: Likewise.
50226 * abilist/libcrypt.abilist: Likewise.
50227 * abilist/libdl.abilist: Likewise.
50228 * abilist/libm.abilist: Likewise.
50229 * abilist/libnsl.abilist: Likewise.
50230 * abilist/libpthread.abilist: Likewise.
50231 * abilist/libresolv.abilist: Likewise.
50232 * abilist/librt.abilist: Likewise.
50233 * abilist/libthread_db.abilist: Likewise.
50234 * abilist/libutil.abilist: Likewise.
50235 * abilist/libnss_db.abilist: New file.
50236
50237 * scripts/abilist.awk: Add support for indirect functions.
50238
50239 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50240
50241 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50242
50243 * shlib-versions: Remove entries for ports architectures.
50244
50245 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50246 files in ports.
50247 * elf/stackguard-macros.h: Remove support for IA-64.
50248 * elf/tst-auditmod1.c: Likewise.
50249 * sysdeps/generic/ldsodefs.h: Likewise.
50250
50251 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50252 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50253 configure files.
50254
50255 [BZ #13552]
50256 * configure.in: Remove --enable-omitfp support.
50257 * FAQ.in: Adjust.
50258 * config.make.in: Likewise.
50259 * Makeconfig: Likewise.
50260 * manual/install.texi: Likewise.
50261
50262 In case anyone cares, the IA-64 architecture could move to ports.
50263 * sysdeps/ia64/*: Removed.
50264 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50265 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50266
50267 [BZ #13555]
50268 * configure.in: Remove entries for unsupported architectures.
50269
50270 [BZ #13533]
50271 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50272 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50273 routines.
50274 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50275 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50276 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50277 fall back to using wcrtomb.
50278 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50279 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50280 renaming.
50281 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50282 * wcsmbs/tst-c16c32-1.c: New file.
50283
50284 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50285 local variable.
50286
50287 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50288
50289 * elf/tst-unique3.cc: Add explicit declaration of gets.
50290 * elf/tst-unique3lib.cc: Likewise.
50291 * elf/tst-unique3lib2.cc: Likewise.
50292 * elf/tst-unique4.cc: Likewise.
50293
50294 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50295
502962012-01-06 Joseph Myers <joseph@codesourcery.com>
50297
50298 [BZ #13566]
50299 * assert/assert.h (static_assert): Don't define for C++.
50300 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50301 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50302
503032012-01-03 Ulrich Drepper <drepper@gmail.com>
50304
50305 * iconv/loop.c (single loop): Fix assertion in storing of
50306 remaining bytes.
50307
50308 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50309
503102012-01-01 Ulrich Drepper <drepper@gmail.com>
50311
50312 * posix/getconf.c: Update copyright year.
50313 * nss/getent.c: Likewise.
50314 * nss/makedb.c: Likewise.
50315 * iconv/iconvconfig.c: Likewise.
50316 * iconv/iconv_prog.c: Likewise.
50317 * elf/ldconfig.c: Likewise.
50318 * elf/pldd.c: Likewise.
50319 * elf/sotruss.ksh: Likewise.
50320 * catgets/gencat.c: Likewise.
50321 * csu/version.c: Likewise.
50322 * elf/ldd.bash.in: Likewise.
50323 * elf/sprof.c (print_version): Likewise.
50324 * locale/programs/locale.c: Likewise.
50325 * locale/programs/localedef.c: Likewise.
50326 * login/programs/pt_chown.c: Likewise.
50327 * nscd/nscd.c (print_version): Likewise.
50328 * debug/xtrace.sh: Likewise.
50329 * malloc/memusage.sh: Likewise.
50330 * malloc/mtrace.pl: Likewise.
50331 * debug/catchsegv.sh: Likewise.
50332
503332011-12-30 Jakub Jelinek <jakub@redhat.com>
50334
50335 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50336 pure attribute.
50337
503382011-12-24 Ulrich Drepper <drepper@gmail.com>
50339
50340 [BZ #13533]
50341 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50342 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50343 transformations.
50344 * iconv/gconv_int.h: Likewise.
50345 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50346 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50347 from libc for GLIBC_2.16.
50348 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50349 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50350 * wcsmbs/uchar.h: Really define mbstate_t.
50351 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50352 * wcsmbs/c16rtomb.c: New file.
50353 * wcsmbs/mbrtoc16.c: New file.
50354 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50355 for C/POSIX locale.
50356 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50357 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50358
50359 * wcsmbs/wchar.h: Add missing __restrict.
50360
503612011-12-23 Ulrich Drepper <drepper@gmail.com>
50362
50363 [BZ #13532]
50364 * time/Makefile (routines): Add timespec_get.
50365 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50366 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50367 timespec for ISO C11.
50368 * time/timespec_get.c: New file.
50369 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50370 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50371
50372 [BZ #13531]
50373 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50374 * stdlib/stdlib.h: Declare aligned_alloc.
50375 * Versions.def: Add GLIBC_2.16 for libc.
50376 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50377
50378 [BZ 13527]
50379 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50380 ISO C11.
50381
50382 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50383 code.
50384
50385 [BZ #13528]
50386 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50387
50388 [BZ #13529]
50389 * assert/assert.h (static_assert): Define.
50390
50391 * version.h: Update for 2.16 development version.
50392
50393 [BZ #13526]
50394 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50395 _ISOC11_SOURCE.
50396
50397 * version.h (RELEASE): Bump for 2.15 release.
50398 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50399
50400 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50401 Patch by Marek Polacek <mpolacek@redhat.com>.
50402
50403 * bits/byteswap.h: Protect long long constants with __extension__.
50404 * sysdeps/i386/bits/byteswap.h: Likewise.
50405 * sysdeps/ia64/bits/byteswap.h: Likewise.
50406 * sysdeps/s390/bits/byteswap.h: Likewise.
50407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50408
504092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50410
50411 [BZ #13540]
50412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50413 destination buffer.
50414 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50415
504162011-12-23 Marek Polacek <polacek@redhat.com>
50417
50418 * elf/dl-addr.c (determine_info): Add inline keyword.
50419 * elf/tst-auditmod4b.c (check_avx): Likewise.
50420 * elf/tst-auditmod6b.c (check_avx): Likewise.
50421 * elf/tst-auditmod6c.c (check_avx): Likewise.
50422 * elf/tst-auditmod7b.c (check_avx): Likewise.
50423
504242011-12-23 Ulrich Drepper <drepper@gmail.com>
50425
50426 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50427 !__SSE_MATH__.
50428
504292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50430
50431 [BZ #13540]
50432 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50433 processing for last bytes.
50434
504352011-08-06 Bruno Haible <bruno@clisp.org>
50436
50437 [BZ #13061]
50438 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50439 U+0385, not to U+1FEE.
50440
50441 [BZ #13062]
50442 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50443 entry for U+00A5 U+0301.
50444
504452011-12-22 Ulrich Drepper <drepper@gmail.com>
50446
50447 [BZ #13166]
50448 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50449 buffer for the output is too small.
50450
50451 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50452 optimization.
50453
50454 [BZ #13185]
50455 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50456 SSE flags if possible.
50457
504582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50459
50460 [BZ #13540]
50461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50462 processing for last bytes.
50463
504642011-12-22 Joseph Myers <joseph@codesourcery.com>
50465
50466 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50467 (syscall-list-default-options, syscall-list-default-condition)
50468 (syscall-list-includes): Define.
50469 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50470 list of ABIs and options and #if conditions for each ABI. Do not
50471 handle common syscalls between ABIs specially.
50472 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50473 Remove.
50474 (syscall-list-variants, syscall-list-32bit-options)
50475 (syscall-list-32bit-condition, syscall-list-64bit-options)
50476 (syscall-list-64bit-condition): Define.
50477 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50478 (syscall-list-variants, syscall-list-32bit-options)
50479 (syscall-list-32bit-condition, syscall-list-64bit-options)
50480 (syscall-list-64bit-condition): Define.
50481 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50482 Remove.
50483 (syscall-list-variants, syscall-list-32bit-options)
50484 (syscall-list-32bit-condition, syscall-list-64bit-options)
50485 (syscall-list-64bit-condition): Define.
50486 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50487 Remove.
50488 (syscall-list-variants, syscall-list-32bit-options)
50489 (syscall-list-32bit-condition, syscall-list-64bit-options)
50490 (syscall-list-64bit-condition): Define.
50491
504922011-12-22 Ulrich Drepper <drepper@gmail.com>
50493
50494 * locale/iso-639.def: Add brx entry.
50495
50496 [BZ #13328]
50497 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50498 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50499
50500 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50501 __feraiseexcept_renamed.
50502
505032011-12-21 Ulrich Drepper <drepper@gmail.com>
50504
50505 [BZ #13538]
50506 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50507 EPOLLET with unsigned values.
50508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50510
50511 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50512 to large cancellation.
50513 * math/s_cacoshf.c: Likewise.
50514 * math/s_cacoshl.c: Likewise.
50515
505162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50517
50518 [BZ #13305]
50519 [BZ #12786]
50520 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50521 * math/s_cacoshf.c: Likewise.
50522 * math/s_cacoshl.c: Likewise.
50523
505242011-12-21 Ulrich Drepper <drepper@gmail.com>
50525
50526 [BZ #13439]
50527 * iconv/gconv.h: Define __GCONV_SWAP.
50528 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50529 * iconvdata/utf-16.c: Likewise.
50530 * iconvdata/utf-32.c: Likewise.
50531
505322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50533
50534 [BZ #13524]
50535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50536 numerator after shifting it by one limb.
50537
505382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50539
50540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50541 under [__USE_EXTERN_INLINES].
50542
505432011-12-17 Ulrich Drepper <drepper@gmail.com>
50544
50545 [BZ #13446]
50546 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50547
505482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50549
50550 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50551 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50552 optimized code.
50553 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50554 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50555 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50556 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50557 for strncasecmp/strncasecmp_l compilation.
50558 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50559 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50560
505612011-12-08 Marek Polacek <mpolacek@redhat.com>
50562
50563 [BZ #13484]
50564 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50565 of __asm__.
50566
505672011-12-17 Ulrich Drepper <drepper@gmail.com>
50568
50569 [BZ #13506]
50570 * time/tzfile.c (__tzfile_read): Check values from file header.
50571
505722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50573
50574 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50575 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50576 * powerpc/powerpc32/dl-start.S: Likewise.
50577 * powerpc/powerpc32/elf/start.S: Likewise.
50578 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50579 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50580 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50581 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50582 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50583 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50584 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50585 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50586 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50587 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50588 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50589 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50590 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50591 * powerpc/powerpc32/memset.S: Likewise.
50592 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50593 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50594 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50595 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50596 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50597 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50598 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50599 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50600 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50601 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50602 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50603 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50604 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50605
506062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50607
50608 * math/libm-test.inc: Added more nearbyint tests.
50609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50613
506142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50615
50616 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50617 FD_CLOEXEC.
50618
506192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50620
50621 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50622 Add wcscpy-ssse3 wcscpy-c.
50623 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50624 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50625 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50626 * sysdeps/x86_64/wcschr.S: New file.
50627 * sysdeps/x86_64/wcsrchr.S: New file.
50628 * string/test-strcmp.c: Remove checking of wcscmp function for
50629 wrong alignments.
50630 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50631 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50632 wcsrchr-sse2 wcsrchr-c.
50633 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50634 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50635 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50636 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50637 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50638 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50639 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50640 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50641 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50642 * wcsmbc/wcschr.c (WCSCHR): New macro.
50643
506442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50645
50646 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50647 * wcsmbs/test-wcsrchr.c: New file.
50648 * string/test-strrchr.c: Add wcsrchr support.
50649 (WIDE): New macro.
50650 * wcsmbs/test-wcscpy.c: New file.
50651 * string/test-strcpy.c: Add wcscpy support.
50652 (WIDE): New macro.
50653
506542011-12-10 Ulrich Drepper <drepper@gmail.com>
50655
50656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50657 the inner loop.
50658
506592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50660
50661 [BZ #13472]
50662 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50663
506642011-12-04 Ulrich Drepper <drepper@gmail.com>
50665
50666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50667 Minor optimizations.
50668
50669 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50670 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50671 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50672
506732011-12-03 Ulrich Drepper <drepper@gmail.com>
50674
50675 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50676 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50677 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50678 for gcc to avoid warnings.
50679 * inet/Makefile (tests): Add tst-checks.
50680 * inet/tst-checks.c: New file.
50681
50682 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50683 warning.
50684
50685 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50686 __wmemcmp_sse2.
50687
50688 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50689 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50690
50691 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50692
506932011-12-02 Ulrich Drepper <drepper@gmail.com>
50694
50695 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50696 problem.
50697
50698 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50699
507002011-11-29 Joseph Myers <joseph@codesourcery.com>
50701
50702 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50703 conditional on GCC version.
50704 (__arch_compare_and_exchange_val_8_acq)
50705 (__arch_compare_and_exchange_val_16_acq)
50706 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50707 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50708 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50709
507102011-12-02 Joseph Myers <joseph@codesourcery.com>
50711
50712 * sysdeps/sh/backtrace.c: New file.
50713
507142011-12-02 Andreas Schwab <schwab@redhat.com>
50715
50716 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50717 parenthesis.
50718
507192011-12-01 Andreas Schwab <schwab@redhat.com>
50720
50721 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50722 falling back to utime.
50723
507242011-11-30 Andreas Schwab <schwab@redhat.com>
50725
50726 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50727 expectations for float.
50728
507292011-11-29 Andreas Schwab <schwab@redhat.com>
50730
50731 * locale/weight.h (findidx): Add parameter len.
50732 * locale/weightwc.h (findidx): Likewise.
50733 * posix/fnmatch_loop.c (FCT): Adjust caller.
50734 * posix/regcomp.c (build_equiv_class): Likewise.
50735 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50736 * posix/regexec.c (check_node_accept_bytes): Likewise.
50737 * string/strcoll_l.c (STRCOLL): Likewise.
50738 * string/strxfrm_l.c (STRXFRM): Likewise.
50739
507402011-11-17 Ulrich Drepper <drepper@gmail.com>
50741
50742 * Makefile.in: Remove CVSOPT handling.
50743 * configure.in: Remove use of AC_REVISION.
50744 * iconvdata/Makefile (distribute): No need to filter out CVS.
50745 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50746 handling.
50747
507482011-11-16 Andreas Schwab <schwab@redhat.com>
50749
50750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50751 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50752 [USE_AS_STRNCASECMP_L]: Likewise.
50753 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50754 NO_TLS_DIRECT_SEG_REFS.
50755 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50756 Fix argument offsets for non-PIC.
50757 [USE_AS_STRNCASECMP_L]: Likewise.
50758 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50759 NO_TLS_DIRECT_SEG_REFS.
50760
507612011-11-15 Ulrich Drepper <drepper@gmail.com>
50762
50763 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50764 O_CLOEXEC.
50765 * locale/loadlocale.c (_nl_load_locale): Likewise.
50766
507672011-11-15 Andreas Schwab <schwab@redhat.com>
50768
50769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50770 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50772 (SYSCALL_GETTIME): Set errno on error.
50773
50774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50775 count references to noai6ai_cached.
50776
507772011-11-15 Ulrich Drepper <drepper@gmail.com>
50778
50779 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50780
50781 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50782 FD_CLOEXEC for /proc/self/maps.
50783
50784 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50785 FD_CLOEXEC for /proc/meminfo.
50786
50787 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50788 gai.conf.
50789
50790 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50791 FD_CLOEXEC for given file.
50792
50793 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50794
50795 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50796 FD_CLOEXEC for /etc/hosts.
50797 (_gethtent): Likewise.
50798
50799 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50800
50801 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50802 cancellation and set FD_CLOEXEC for /etc/netgroup.
50803
50804 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50805 reading /etc/publickey.
50806
50807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50808 allow cancellation when reading /etc/group.
50809
50810 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50811 cancellation.
50812 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50813
50814 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50815 when using data file.
50816
50817 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50818
50819 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50820 (write_nis_obj): Use "c" and "e" in fopen.
50821
50822 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50823
50824 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50825
50826 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50827
50828 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50829
50830 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50831 locale.alias.
50832
50833 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50834
50835 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50836
50837 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50838
50839 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50840 file parsing and set FD_CLOEXEC.
50841
508422011-11-14 Ulrich Drepper <drepper@gmail.com>
50843
50844 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50845
508462011-11-14 Andreas Schwab <schwab@redhat.com>
50847
50848 * malloc/arena.c (arena_get2): Don't call reused_arena when
50849 _int_new_arena failed.
50850
508512011-11-14 Ulrich Drepper <drepper@gmail.com>
50852
50853 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50854 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50858 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50859 to compile strcasecmp and strncasecmp.
50860 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50861 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50862
50863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50864
508652011-11-13 Ulrich Drepper <drepper@gmail.com>
50866
50867 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50868 locale-defines.sym to gen-as-const-headers.
50869 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50870 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50872 to compile strcasecmp and strncasecmp.
50873 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50874 strcasecmp_l and strncasecmp_l.
50875 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50876 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50877 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50878 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50879 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50881 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50882 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50883 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50884 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50885 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50886
508872011-11-12 Ulrich Drepper <drepper@gmail.com>
50888
50889 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50890 result of SYSDEP_GETTIME_CPU to retval.
50891 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50892 parameter list to macro. Remove trailing semicolon. Adjust users.
50893
50894 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50895 variable.
50896
50897 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50898 mantissa words.
50899 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50900
50901 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50902 from unused variable.
50903
50904 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50905 DWARF definitions.
50906 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50907 for assembling.
50908
50909 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50910 over namespaces.
50911
50912 * sunrpc/rpc_prot.c (rejected): Fix case value.
50913
50914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50915 unsigned long long int to avoid warnings in shift.
50916
50917 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50918 of use of trans.
50919 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50920 variable tmp.
50921
50922 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50923 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50925
50926 * nis/nis_table.c (nis_list): Use variable of correct type for
50927 result of __follow_path call.
50928
509292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50930
50931 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50932 of math functions ceil, trunc, floor, round, and sqrt, when
50933 avaliable on the platform.
50934 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50935 name clash.
50936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50937 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50938 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50939
509402011-10-30 Marek Polacek <mpolacek@redhat.com>
50941
50942 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50943 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50944
509452011-11-11 Roland McGrath <roland@hack.frob.com>
50946
50947 * include/unistd.h: Fix __readlink return type.
50948 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50949
509502011-11-11 Ulrich Drepper <drepper@gmail.com>
50951
50952 * stdlib/ucontext.h: Undo last change for makecontext.
50953
509542011-11-11 Andreas Schwab <schwab@redhat.com>
50955
50956 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50957
50958 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50959 * setjmp/setjmp.h: Mark functions as non-leaf.
50960 * setjmp/bits/setjmp2.h: Likewise.
50961 * stdlib/ucontext.h: Likewise.
50962
509632011-11-10 Andreas Schwab <schwab@redhat.com>
50964
50965 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50966 (reused_arena): Don't check arena limit.
50967 (arena_get2): Atomically check arena limit.
50968
509692011-11-08 Ulrich Drepper <drepper@gmail.com>
50970
50971 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50972 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50973
50974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50975 instructions.
50976
509772011-11-07 Andreas Schwab <schwab@redhat.com>
50978
50979 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50980 handler when locking.
50981
50982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50983 Fix size of allocated buffer.
50984
509852011-11-04 Andreas Schwab <schwab@redhat.com>
50986
50987 [BZ #10103]
50988 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50989 declarations for long double functions.
50990 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50991
50992 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50993
509942011-11-03 Andreas Schwab <schwab@redhat.com>
50995
50996 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50997 installed.
50998
50999 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51000 is disabled.
51001
510022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51003
51004 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51005
510062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51007
51008 * include/alloca.h (stackinfo_alloca_round): Define.
51009 (extend_alloca): Use it.
51010 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51011 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51012 here.
51013
51014 * scripts/check-local-headers.sh: Ignore libaudit.h.
51015
51016 * nscd/Makefile (extra-objs): Make recursively expanded.
51017
510182011-11-01 Ulrich Drepper <drepper@gmail.com>
51019
51020 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51022
51023 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51024 * posix/tst-rfc3484-2.c: Likewise.
51025 * posix/tst-rfc3484-3.c: Likewise.
51026
51027 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51028 process_vm_writev.
51029 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51030 process_vm_writev.
51031 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51032 process_vm_writev from libc using GLIBC_2.15 version.
51033
51034 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51035
510362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51037
51038 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51039 stack usage.
51040
510412011-10-31 Ulrich Drepper <drepper@gmail.com>
51042
51043 [BZ #13367]
51044 * nss/getent.c (initgroups_keys): Show error message in case no group
51045 names are given.
51046
51047 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51048 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51049 __bump_nl_timestamp.
51050 * nscd/connections (nscd_init): When host database is served open
51051 netlink socket and request notification about configuration changes.
51052 (main_loop_poll): Track netlink file descriptor and bump timestamp
51053 in case data becomes available.
51054 (main_loop_epoll): Likewise.
51055 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51056 (database_pers_head): Add extra_data fileds.
51057 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51058 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51059 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51060 Adjust caller.
51061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51062 in6ai data, call __free_in6ai.
51063 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51064 Add -DHAVE_NETLINK.
51065 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51066 interface information. Reuse previous data if netlink timestamp
51067 is not changed.
51068 (__bump_nl_timestamp): New function.
51069 (__free_in6ai): New function.
51070
510712011-10-30 Ulrich Drepper <drepper@gmail.com>
51072
51073 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51074 close_not_cancel_no_status here.
51075 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51076
510772011-10-29 Ulrich Drepper <drepper@gmail.com>
51078
51079 [BZ #13276]
51080 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51081 return value.
51082
51083 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51084 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51085 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51086
510872011-07-03 Andreas Jaeger <aj@suse.de>
51088
51089 [BZ #10709]
51090 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51091 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51092 * math/libm-test.inc (sin_test): Add test case.
51093
510942011-10-29 Ulrich Drepper <drepper@gmail.com>
51095
51096 [BZ #13337]
51097 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51098 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51099
51100 * elf/chroot_canon.c (chroot_canon): Cleanups.
51101
51102 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51103
51104 [BZ #13335]
51105 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51106 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51107
51108 * string/test-strchr.c: Make usable for strchrnul testing.
51109 * string/test-strchrnul.c: New file.
51110 * string/Makefile (strop-tests): Add strchrnul.
51111
51112 * po/it.po: Update from translation team.
51113 * po/es.po: Likewise.
51114
511152011-10-28 Ulrich Drepper <drepper@gmail.com>
51116
51117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51118 the three constants needed as parameters. Drop the others.
51119 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51120 __m128i_strloadu_tolower.
51121 Create and initialize variable zero and use it in all the places
51122 where _mm_setzero_si128 was used.
51123
51124 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51125 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51126 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51128 anymore.
51129 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51132 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51134 __mpranred, __mptan.
51135 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51136 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51137 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51138 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51139 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51140 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51142 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51143 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51144
511452011-10-28 Andreas Schwab <schwab@redhat.com>
51146
51147 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51148 redefine if SHARED.
51149 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51150
51151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51152 wide char related routines to wcsmbs subdir.
51153
511542011-10-27 Andreas Schwab <schwab@redhat.com>
51155
51156 [BZ #13344]
51157 * misc/sys/cdefs.h (__THROWNL): Define.
51158 * posix/unistd.h: Use __THREADNL instead of __THREAD
51159 for memory synchronization functions.
51160
511612011-10-26 Roland McGrath <roland@hack.frob.com>
51162
51163 [BZ #13349]
51164 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51165 doesn't exist.
51166 * manual/stdio.texi (Obstack Streams): Node removed.
51167
511682011-10-26 Andreas Schwab <schwab@redhat.com>
51169
51170 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51173
51174 * math/math_private.h (math_force_eval): Allow non-addressable
51175 arguments.
51176 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51177
511782011-10-25 Ulrich Drepper <drepper@gmail.com>
51179
51180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51181 file is not needed.
51182
51183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51190 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51191 Add AVX variants.
51192 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51193 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51194 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51195 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51197 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51198 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51202 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51203 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51205 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51207 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51208 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51209 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51210 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51211
51212 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51213 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51214
51215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51216 place. Use VEX encoding when compiling for AVX.
51217
512182011-10-25 Andreas Schwab <schwab@redhat.com>
51219
51220 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51221 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51222
51223 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51224
512252011-10-25 Ulrich Drepper <drepper@gmail.com>
51226
51227 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51228 useless if() expression.
51229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51230 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51237 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51240 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51241 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51243 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51247 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51248
51249 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51250
512512011-10-25 Andreas Schwab <schwab@redhat.com>
51252
51253 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51254 condition.
51255 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51256
512572011-10-25 Ulrich Drepper <drepper@gmail.com>
51258
51259 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51260 .text section. Avoid duplicate constants.
51261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51269 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51271 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51275 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51277 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51278 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51284 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51285 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51286 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51287 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51288 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51297 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51299 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51302 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51303 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51304 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51305 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51306
513072011-10-24 Ulrich Drepper <drepper@gmail.com>
51308
51309 * sysdeps/x86_64/dla.h: Move to ...
51310 * sysdeps/x86_64/fpu/dla.h: ...here.
51311 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51312 situations. Use __builtin_fma only for gcc 4.6 and up.
51313
51314 * config.make.in: Add have-mfma4 entry.
51315 * configure.in: Substitute libc_cv_cc_fma4.
51316 * math/Makefile (dbl-only-routines): Add sincostab.
51317 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51318 Use __sincostab not sincos.
51319 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51320 name is a macro.
51321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51325 using __copysign.
51326 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51327 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51328 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51329 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51330 and __inv.
51331 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51332 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51333 __copysign.
51334 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51335 define aliases when function name is a macro.
51336 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51337 sysdeps/ieee754/dbl-64/sincos.tbl.
51338 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51339 fma4-enabled routines.
51340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51345 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51350 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51351 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51352 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51367 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51368 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51369 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51370
51371 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51372 rename.
51373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51381
513822011-10-24 Andreas Schwab <schwab@redhat.com>
51383
51384 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51385
513862011-10-23 Ulrich Drepper <drepper@gmail.com>
51387
51388 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51389
51390 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51391 prediction.
51392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51393
51394 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51395 Remove unused variable magic_bits.
51396 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51397
51398 * string/strnlen.c: Define and use STRNLEN macro.
51399 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51400 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51402 * wcsmbs/wcslen.c: Define and use WCSLEN.
51403 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51404 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51405 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51406 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51407 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51408 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51409 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51410
514112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51412
51413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51414 strnlen-sse2-no-bsf.
51415 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51417 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51418 Add strnlen support.
51419 (USE_AS_STRNLEN): New macro.
51420 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51422 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51423 * sysdeps/x86_64/wcslen.S: New file.
51424
514252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51426
51427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51428 XMM-moves are used for copying on small sizes.
51429
514302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51431
51432 * wcsmbs/Makefile (strop-tests): Add wcschr.
51433 * wcsmbs/test-wcschr.c: New file.
51434 * string/test-strchr.c: Update.
51435 Add wcschr support.
51436 (WIDE): New macro.
51437
514382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51439
51440 * wcsmbs/Makefile (strop-tests): Add wcslen.
51441 * wcsmbs/test-wcslen.c: New file.
51442 * string/test-strlen.c: Update.
51443 Add wcslen support.
51444 (WIDE): New macro.
51445
514462011-10-23 Ulrich Drepper <drepper@gmail.com>
51447
51448 * po/it.po: Update from translation team.
51449
514502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51451
51452 * sysdeps/x86_64/wcscmp.S: Update.
51453 Fix wrong comparison semantics.
51454 wcscmp shall use signed comparison not unsigned.
51455 Don't use substraction to avoid overflow bug.
51456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51457 * wcsmbc/wcscmp.c: Likewise.
51458 * string/test-strcmp.c: Likewise.
51459 Add new tests to check cases with negative values.
51460
514612011-10-23 Ulrich Drepper <drepper@gmail.com>
51462
51463 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51464 * sysdeps/x86_64/dla.h: ...here. New file.
51465 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51474
514752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51476
51477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51478 __ynl_finite aliases.
51479
514802011-10-22 Ulrich Drepper <drepper@gmail.com>
51481
51482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51483
51484 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51485 define DLA_FMA.
51486 [DLA_FMA] (EMULV): Use DLA_FMA.
51487 [DLA_FMA] (MUL12): Use EMULV.
51488 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51489 that are not needed.
51490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51497
514982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51499
51500 * math/s_nan.c: Undef __nan.
51501 * math/s_nanf.c: Undef __nanf.
51502 * math/s_nanl.c: Undef __nanl.
51503 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51504 "math_private.h".
51505
515062011-10-22 Ulrich Drepper <drepper@gmail.com>
51507
51508 * math/s_catan.c: Add branch predictions.
51509 * math/s_catanf.c: Likewise.
51510 * math/s_catanh.c: Likewise.
51511 * math/s_catanhf.c: Likewise.
51512 * math/s_catanhl.c: Likewise.
51513 * math/s_catanl.c: Likewise.
51514 * math/s_cexp.c: Likewise.
51515 * math/s_cexpf.c: Likewise.
51516 * math/s_cexpl.c: Likewise.
51517 * math/s_clog.c: Likewise.
51518 * math/s_clog10.c: Likewise.
51519 * math/s_clog10f.c: Likewise.
51520 * math/s_clog10l.c: Likewise.
51521 * math/s_clogf.c: Likewise.
51522 * math/s_clogl.c: Likewise.
51523 * math/s_csqrt.c: Likewise.
51524 * math/s_csqrtf.c: Likewise.
51525 * math/s_csqrtl.c: Likewise.
51526 * math/s_ctanf.c: Likewise.
51527 * math/s_ctanh.c: Likewise.
51528 * math/s_ctanhf.c: Likewise.
51529 * math/s_ctanhl.c: Likewise.
51530 * math/s_ctanl.c: Likewise.
51531
51532 * math/math_private.h: Define __nan, __nanf, __nanl.
51533 * math/s_cacosh.c: Include <math_private.h>.
51534 * math/s_cacoshl.c: Likewise.
51535 * math/s_casinh.c: Likewise.
51536 * math/s_casinhf.c: Likewise.
51537 * math/s_casinhl.c: Likewise.
51538 * math/s_ccos.c: Rely entire on ccosh.
51539 * math/s_ccosf.c: Rely entire on ccoshf.
51540 * math/s_ccosl.c: Rely entirely on ccoshl.
51541 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51542 Remove tests for FE_INVALID.
51543 * math/s_ccoshf.c: Likewise.
51544 * math/s_ccoshl.c: Likewise.
51545 * math/s_csin.c: Likewise.
51546 * math/s_csinf.c: Likewise.
51547 * math/s_csinh.c Likewise.
51548 * math/s_csinhf.c: Likewise.
51549 * math/s_csinhl.c: Likewise.
51550 * math/s_csinl.c: Likewise.
51551 * math/s_ctan.c: Likewise.
51552 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51553 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51555
515562011-10-21 Ulrich Drepper <drepper@gmail.com>
51557
51558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51559 compilation problems.
51560
51561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51562 __builtin_expect.
51563
515642011-10-20 Ulrich Drepper <drepper@gmail.com>
51565
51566 * sysdeps/i386/configure.in: Test for -mfma4 option.
51567 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51568 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51569 COMMON_CPUID_INDEX_80000001.
51570 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51571 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51572 use it if FMA3 is not supported.
51573 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51574
51575 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51576 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51577
515782011-10-20 Andreas Schwab <schwab@redhat.com>
51579
51580 [BZ #12892]
51581 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51582 it would create a cycle with a link time dependency.
51583
515842011-10-19 Ulrich Drepper <drepper@gmail.com>
51585
51586 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51587 instruction.
51588 * string/Makefile (strop-tests): Add rawmemchr.
51589 * string/test-rawmemchr.c: New file.
51590
51591 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51593 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51594 when compiling str{,n}casecmp and when AVX is available. Hook up
51595 new optimized code in initializers.
51596
515972011-10-19 Andreas Schwab <schwab@redhat.com>
51598
51599 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51600 __feraiseexcept instead of feraiseexcept.
51601
516022011-10-18 Ulrich Drepper <drepper@gmail.com>
51603
51604 * math/math_private.h: Define defaults for libc_fetestexcept and
51605 libc_feupdateenv.
51606 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51607 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51608 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51609 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51610 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51611 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51612 libc_fetestexcept and libc_feupdateenv.
51613
51614 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51615 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51616 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51617 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51618 libc_feholdexcept_setround.
51619
51620 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51621 Add s_nearbyint-c and s_nearbyintf-c.
51622 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51623 nearbyintf inlines.
51624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51626 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51628
51629 * math/math_private.h: Define defaults for libc_fegetround,
51630 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51631 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51632 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51633 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51634 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51635 standard functions.
51636 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51637 Remove comments and hacks for old compiler versions.
51638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51639 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51640 libc_feholdexceptl.
51641
516422011-10-18 Andreas Schwab <schwab@redhat.com>
51643
51644 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51645 (__feraiseexcept_renamed): Add __NTH.
51646 (feraiseexcept): Add __NTH. Rename local variables to fix
51647 namespace violations.
51648
516492011-10-17 Ulrich Drepper <drepper@gmail.com>
51650
51651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51652
51653 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51654
51655 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51656 recently added interfaces.
51657 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51658
51659 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51660 about macro parameter expansion.
51661
51662 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51663 __NO_MATH_INLINES is defined. Cleanups.
51664
51665 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51666 and __floorf is target has SSE4.1.
51667 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51668 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51669 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51670 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51671
51672 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51673 name.
51674 (floorf): Likewise.
51675
51676 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51677
516782011-10-17 Andreas Schwab <schwab@redhat.com>
51679
51680 * misc/sys/cdefs.h: Fix last change.
51681
51682 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51683 database lookup.
51684
516852011-10-16 Ulrich Drepper <drepper@gmail.com>
51686
51687 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51688
51689 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51694 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51697 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51698 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51699 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51700 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51701 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51702 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51703 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51704 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51705 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51706 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51708 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51709 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51710 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51711
51712 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51713 ceil, ceilf, floor, floorf.
51714
51715 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51716 Perform IRELATIVE relocations last.
51717
51718 * elf/do-rel.h: Add another parameter nrelative, replacing the
51719 local variable with the same name. Change name of the function
51720 to end in Rel or Rela (uppercase).
51721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51722 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51723 elf_dynamic_do_##reloc function.
51724
517252011-10-15 Ulrich Drepper <drepper@gmail.com>
51726
51727 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51728 is sufficient, at least on modern CPUs.
51729
51730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51731
51732 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51734
51735 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51736 __expl_finite.
51737 * math/bits/math-finite.h: Add entries for exp.
51738 * math/e_expl.c: Add __*_finite alias.
51739 * sysdeps/i386/fpu/e_exp.S: Likewise.
51740 * sysdeps/i386/fpu/e_expf.S: Likewise.
51741 * sysdeps/i386/fpu/e_expl.c: Likewise.
51742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51743 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51744 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51746 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51747 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51748 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51749
51750 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51751 is sufficient, at least on modern CPUs.
51752
51753 * ctype/ctype-info.c (__ctype_init): Define.
51754 * include/ctype.h (__ctype_init): Declare.
51755 (__ctype_b_loc): The variable is always initialized.
51756 (__ctype_toupper_loc): Likewise.
51757 (__ctype_tolower_loc): Likewise.
51758 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51759 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51760
517612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51762
51763 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51764
51765 * configure.in: Also look in $cxxmachine/include for C++ system
51766 headers.
51767
517682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51769
51770 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51771 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51772 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51773 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51774 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51775 (USE_AS_WMEMCMP): New macro.
51776 Fixing indents.
51777 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51778 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51779 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51780 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51782 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51783 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51784 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51785 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51786 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51787 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51788 (USE_AS_WMEMCMP): New macro.
51789 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51790 * sysdeps/string/test-memcmp.c: Update.
51791 Fix simple_wmemcmp.
51792 Add new tests.
51793 * wcsmbs/wmemcmp.c: Update.
51794 (WMEMCMP): New macro.
51795 Fix overflow bug.
51796
517972011-10-12 Andreas Jaeger <aj@suse.de>
51798
51799 [BZ #13268]
51800 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51801
518022011-10-15 Ulrich Drepper <drepper@gmail.com>
51803
51804 * libio/iofwide.c (do_length): Avoid warning.
51805
51806 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51807
518082011-10-14 Ulrich Drepper <drepper@gmail.com>
51809
51810 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51811
51812 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51813 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51814 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51815 * sysdeps/i386/i686/fpu/e_log.S: New file.
51816 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51817 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51818
51819 * ctype/ctype.h: Add support for inlined isXXX functions when
51820 compiling C++ code.
51821
518222011-10-14 Andreas Schwab <schwab@redhat.com>
51823
51824 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51825
51826 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51827
518282011-10-13 Roland McGrath <roland@hack.frob.com>
51829
51830 [BZ #13291]
51831 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51832
518332011-10-13 Andreas Schwab <schwab@redhat.com>
51834
51835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51836 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51837 feraiseexcept.
51838
51839 * sysdeps/x86_64/memrchr.S: Check for zero size.
51840
51841 * string/stratcliff.c: Add memrchr tests.
51842
518432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51844
51845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51846 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51847 rawmemchr-sse2 rawmemchr-sse2-bsf.
51848 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51849 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51850 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51851 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51852 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51853 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51854 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51855 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51856 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51858 * string/memrchr.c (MEMRCHR): New macro.
51859
518602011-10-12 Ulrich Drepper <drepper@gmail.com>
51861
51862 Add integration with gcc's -ffinite-math-only and optimize wrapper
51863 functions in libm.
51864 * Versions.def: Define GLIBC_2.15 version for libm.
51865 * math/Makefile (headers): Add bits/math-finite.h.
51866 * math/bits/math-finite.h: New file.
51867 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51868 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51869 * math/e_acoshl.c: Add __*_finite alias.
51870 * math/e_acosl.c: Likewise.
51871 * math/e_asinl.c: Likewise.
51872 * math/e_atan2l.c: Likewise.
51873 * math/e_atanhl.c: Likewise.
51874 * math/e_coshl.c: Likewise.
51875 * math/e_exp10.c: Likewise.
51876 * math/e_exp10f.c: Likewise.
51877 * math/e_exp10l.c: Likewise.
51878 * math/e_exp2l.c: Likewise.
51879 * math/e_fmodl.c: Likewise.
51880 * math/e_gammal_r.c: Likewise.
51881 * math/e_hypotl.c: Likewise.
51882 * math/e_j0l.c: Likewise.
51883 * math/e_j1l.c: Likewise.
51884 * math/e_jnl.c: Likewise.
51885 * math/e_lgammal_r.c: Likewise.
51886 * math/e_log10l.c: Likewise.
51887 * math/e_log2l.c: Likewise.
51888 * math/e_logl.c: Likewise.
51889 * math/e_powl.c: Likewise.
51890 * math/e_sinhl.c: Likewise.
51891 * math/e_sqrtl.c: Likewise.
51892 * math/e_scalb.c: Completely rewritten and optimized.
51893 * math/e_scalbf.c: Likewise.
51894 * math/e_scalbl.c: Likewise.
51895 * math/w_acos.c: Likewise.
51896 * math/w_acosf.c: Likewise.
51897 * math/w_acosl.c: Likewise.
51898 * math/w_acosh.c: Likewise.
51899 * math/w_acoshf.c: Likewise.
51900 * math/w_acoshl.c: Likewise.
51901 * math/w_asin.c: Likewise.
51902 * math/w_asinf.c: Likewise.
51903 * math/w_asinl.c: Likewise.
51904 * math/w_atan2.c: Likewise.
51905 * math/w_atan2f.c: Likewise.
51906 * math/w_atan2l.c: Likewise.
51907 * math/w_atanh.c: Likewise.
51908 * math/w_atanhf.c: Likewise.
51909 * math/w_atanhl.c: Likewise.
51910 * math/w_exp10.c: Likewise.
51911 * math/w_exp10f.c: Likewise.
51912 * math/w_exp10l.c: Likewise.
51913 * math/w_fmod.c: Likewise.
51914 * math/w_fmodf.c: Likewise.
51915 * math/w_fmodl.c: Likewise.
51916 * math/w_j0.c: Likewise.
51917 * math/w_j0f.c: Likewise.
51918 * math/w_j0l.c: Likewise.
51919 * math/w_j1.c: Likewise.
51920 * math/w_j1f.c: Likewise.
51921 * math/w_j1l.c: Likewise.
51922 * math/w_jn.c: Likewise.
51923 * math/w_jnf.c: Likewise.
51924 * math/w_log.c: Likewise.
51925 * math/w_logf.c: Likewise.
51926 * math/w_logl.c: Likewise.
51927 * math/w_log10.c: Likewise.
51928 * math/w_log10f.c: Likewise.
51929 * math/w_log10l.c: Likewise.
51930 * math/w_log2.c: Likewise.
51931 * math/w_log2f.c: Likewise.
51932 * math/w_log2l.c: Likewise.
51933 * math/w_pow.c: Likewise.
51934 * math/w_powf.c: Likewise.
51935 * math/w_powl.c: Likewise.
51936 * math/w_remainder.c: Likewise.
51937 * math/w_remainderf.c: Likewise.
51938 * math/w_remainderl.c: Likewise.
51939 * math/w_scalb.c: Likewise.
51940 * math/w_scalbf.c: Likewise.
51941 * math/w_scalbl.c: Likewise.
51942 * math/w_sqrt.c: Likewise.
51943 * math/w_sqrtf.c: Likewise.
51944 * math/w_sqrtl.c: Likewise.
51945 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51946 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51947 used.
51948 * math/math_private.h: Declare __kernel_standard_f.
51949 * math/w_cosh.c: Remove cruft and optimize a bit.
51950 * math/w_coshf.c: Likewise.
51951 * math/w_coshl.c: Likewise.
51952 * math/w_exp2.c: Likewise.
51953 * math/w_exp2f.c: Likewise.
51954 * math/w_exp2l.c: Likewise.
51955 * math/w_hypot.c: Likewise.
51956 * math/w_hypotf.c: Likewise.
51957 * math/w_hypotl.c: Likewise.
51958 * math/w_lgamma.c: Likewise.
51959 * math/w_lgamma_r.c: Likewise.
51960 * math/w_lgammaf.c: Likewise.
51961 * math/w_lgammaf_r.c: Likewise.
51962 * math/w_lgammal.c: Likewise.
51963 * math/w_lgammal_r.c: Likewise.
51964 * math/w_sinh.c: Likewise.
51965 * math/w_sinhf.c: Likewise.
51966 * math/w_sinhl.c: Likewise.
51967 * math/w_tgamma.c: Likewise.
51968 * math/w_tgammaf.c: Likewise.
51969 * math/w_tgammal.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51972 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51973 Minor optimizations. Pretty printing. Remove cruft.
51974 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51976 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51978 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51979 * sysdeps/i386/fpu/e_asin.S: Likewise.
51980 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51981 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51982 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51983 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51985 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51986 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51987 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51988 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51989 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51990 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51991 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51992 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51993 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51994 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51995 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51996 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51997 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51998 * sysdeps/i386/fpu/e_log.S: Likewise.
51999 * sysdeps/i386/fpu/e_log10.S: Likewise.
52000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52001 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52002 * sysdeps/i386/fpu/e_log2.S: Likewise.
52003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52004 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52005 * sysdeps/i386/fpu/e_logf.S: Likewise.
52006 * sysdeps/i386/fpu/e_logl.S: Likewise.
52007 * sysdeps/i386/fpu/e_pow.S: Likewise.
52008 * sysdeps/i386/fpu/e_powf.S: Likewise.
52009 * sysdeps/i386/fpu/e_powl.S: Likewise.
52010 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52011 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52012 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52015 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52016 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52017 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52018 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52044 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52045 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52047 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52048 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52050 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52052 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52053 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52054 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52055 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52056 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52060 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52061 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52062 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52064 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52065 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52066 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52067 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52068 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52069 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52070 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52074 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52075 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52076 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52077 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52078 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52079 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52080 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52083 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52084 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52087 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52089 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52090 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52095 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52096 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52097 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52098 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52099 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52100 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52107 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52108 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52109 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52110 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52112 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52113 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52114 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52115 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52116 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52117 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52118 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52119 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52120 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52121 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52122 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52124 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52127 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52129 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52130 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52131 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52132 (__isnanf): Likewise.
52133 (__isinf_ns): Likewise.
52134 (__isinf_nsf): Likewise.
52135 (__finite): Likewise.
52136 (__finitef): Likewise.
52137 (__ieee754_sqrt): Define as macro.
52138 (__ieee754_sqrtf): Define as macro.
52139 (__ieee754_sqrtl): Define as macro.
52140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52141 inlined copy.
52142 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52143 __FINITE_MATH_ONLY__ consistent.
52144 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52145
521462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52147
52148 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52149 of rawmemchr.
52150
52151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52152
521532011-10-09 Ulrich Drepper <drepper@gmail.com>
52154
52155 * po/ja.po: Update from translation team.
52156
521572011-10-08 Roland McGrath <roland@hack.frob.com>
52158
52159 * locale/programs/locarchive.c (prepare_address_space): New function.
52160 (create_archive, enlarge_archive, open_archive): Use it.
52161
52162 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52163 inside [SHARED], where it is used.
52164
52165 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52166
52167 * nss/getent.c (netgroup_keys): Remove unused variable.
52168 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52169
521702011-10-08 Ulrich Drepper <drepper@gmail.com>
52171
52172 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52173 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52176 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52177 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52178 * math/Makefile (libm-calls): Add s_isinf_ns.
52179 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52180 * math/multc3.c: Likewise.
52181 * math/s_casin.c: Likewise.
52182 * math/s_casinf.c: Likewise.
52183 * math/s_casinl.c: Likewise.
52184 * math/s_ccos.c: Likewise.
52185 * math/s_ccosf.c: Likewise.
52186 * math/s_ccosl.c: Likewise.
52187 * math/s_ctan.c: Likewise.
52188 * math/s_ctanf.c: Likewise.
52189 * math/s_ctanh.c: Likewise.
52190 * math/s_ctanhf.c: Likewise.
52191 * math/s_ctanhl.c: Likewise.
52192 * math/s_ctanl.c: Likewise.
52193 * math/w_fmod.c: Likewise.
52194 * math/w_fmodf.c: Likewise.
52195 * math/w_fmodl.c: Likewise.
52196 * math/w_remainder.c: Likewise.
52197 * math/w_remainderf.c: Likewise.
52198 * math/w_remainderl.c: Likewise.
52199 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52200 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52201 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52203 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52204 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52205 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52206 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52207
52208 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52209 of the number.
52210 * stdio-common/printf_fphex.c: Likewise.
52211 * stdio-common/printf_size.c: Likewise.
52212
52213 * math/e_exp10.c: Include math_private.h using <...> not "...".
52214 * math/e_exp10f.c: Likewise.
52215 * math/e_exp10l.c: Likewise.
52216 * math/e_exp2l.c: Likewise.
52217 * math/e_j0l.c: Likewise.
52218 * math/e_j1l.c: Likewise.
52219 * math/e_jnl.c: Likewise.
52220 * math/e_lgammal_r.c: Likewise.
52221 * math/e_rem_pio2l.c: Likewise.
52222 * math/e_scalb.c: Likewise.
52223 * math/e_scalbf.c: Likewise.
52224 * math/e_scalbl.c: Likewise.
52225 * math/k_cosl.c: Likewise.
52226 * math/k_sinl.c: Likewise.
52227 * math/k_tanl.c: Likewise.
52228 * math/s_cacoshf.c: Likewise.
52229 * math/s_catan.c: Likewise.
52230 * math/s_catanf.c: Likewise.
52231 * math/s_catanh.c: Likewise.
52232 * math/s_catanhf.c: Likewise.
52233 * math/s_catanhl.c: Likewise.
52234 * math/s_catanl.c: Likewise.
52235 * math/s_ccosh.c: Likewise.
52236 * math/s_ccoshf.c: Likewise.
52237 * math/s_ccoshl.c: Likewise.
52238 * math/s_cexp.c: Likewise.
52239 * math/s_cexpf.c: Likewise.
52240 * math/s_cexpl.c: Likewise.
52241 * math/s_clog.c: Likewise.
52242 * math/s_clog10.c: Likewise.
52243 * math/s_clog10f.c: Likewise.
52244 * math/s_clog10l.c: Likewise.
52245 * math/s_clogf.c: Likewise.
52246 * math/s_clogl.c: Likewise.
52247 * math/s_csin.c: Likewise.
52248 * math/s_csinf.c: Likewise.
52249 * math/s_csinh.c: Likewise.
52250 * math/s_csinhf.c: Likewise.
52251 * math/s_csinhl.c: Likewise.
52252 * math/s_csinl.c: Likewise.
52253 * math/s_csqrt.c: Likewise.
52254 * math/s_csqrtf.c: Likewise.
52255 * math/s_csqrtl.c: Likewise.
52256 * math/s_ctan.c: Likewise.
52257 * math/s_ctanf.c: Likewise.
52258 * math/s_ctanh.c: Likewise.
52259 * math/s_ctanhf.c: Likewise.
52260 * math/s_ctanhl.c: Likewise.
52261 * math/s_ctanl.c: Likewise.
52262 * math/s_ldexp.c: Likewise.
52263 * math/s_ldexpf.c: Likewise.
52264 * math/s_ldexpl.c: Likewise.
52265 * math/s_significand.c: Likewise.
52266 * math/s_significandf.c: Likewise.
52267 * math/s_significandl.c: Likewise.
52268 * math/w_acos.c: Likewise.
52269 * math/w_acosf.c: Likewise.
52270 * math/w_acosh.c: Likewise.
52271 * math/w_acoshf.c: Likewise.
52272 * math/w_acoshl.c: Likewise.
52273 * math/w_acosl.c: Likewise.
52274 * math/w_asin.c: Likewise.
52275 * math/w_asinf.c: Likewise.
52276 * math/w_asinl.c: Likewise.
52277 * math/w_atan2.c: Likewise.
52278 * math/w_atan2f.c: Likewise.
52279 * math/w_atan2l.c: Likewise.
52280 * math/w_atanh.c: Likewise.
52281 * math/w_atanhf.c: Likewise.
52282 * math/w_atanhl.c: Likewise.
52283 * math/w_cosh.c: Likewise.
52284 * math/w_coshf.c: Likewise.
52285 * math/w_coshl.c: Likewise.
52286 * math/w_dremf.c: Likewise.
52287 * math/w_exp10.c: Likewise.
52288 * math/w_exp10f.c: Likewise.
52289 * math/w_exp10l.c: Likewise.
52290 * math/w_exp2.c: Likewise.
52291 * math/w_exp2f.c: Likewise.
52292 * math/w_fmod.c: Likewise.
52293 * math/w_fmodf.c: Likewise.
52294 * math/w_fmodl.c: Likewise.
52295 * math/w_hypot.c: Likewise.
52296 * math/w_hypotf.c: Likewise.
52297 * math/w_hypotl.c: Likewise.
52298 * math/w_j0.c: Likewise.
52299 * math/w_j0f.c: Likewise.
52300 * math/w_j0l.c: Likewise.
52301 * math/w_j1.c: Likewise.
52302 * math/w_j1f.c: Likewise.
52303 * math/w_j1l.c: Likewise.
52304 * math/w_jn.c: Likewise.
52305 * math/w_jnf.c: Likewise.
52306 * math/w_jnl.c: Likewise.
52307 * math/w_lgamma.c: Likewise.
52308 * math/w_lgamma_r.c: Likewise.
52309 * math/w_lgammaf.c: Likewise.
52310 * math/w_lgammaf_r.c: Likewise.
52311 * math/w_lgammal.c: Likewise.
52312 * math/w_lgammal_r.c: Likewise.
52313 * math/w_log.c: Likewise.
52314 * math/w_log10.c: Likewise.
52315 * math/w_log10f.c: Likewise.
52316 * math/w_log10l.c: Likewise.
52317 * math/w_log2.c: Likewise.
52318 * math/w_log2f.c: Likewise.
52319 * math/w_log2l.c: Likewise.
52320 * math/w_logf.c: Likewise.
52321 * math/w_logl.c: Likewise.
52322 * math/w_pow.c: Likewise.
52323 * math/w_powf.c: Likewise.
52324 * math/w_powl.c: Likewise.
52325 * math/w_remainder.c: Likewise.
52326 * math/w_remainderf.c: Likewise.
52327 * math/w_remainderl.c: Likewise.
52328 * math/w_scalb.c: Likewise.
52329 * math/w_scalbf.c: Likewise.
52330 * math/w_scalbl.c: Likewise.
52331 * math/w_sinh.c: Likewise.
52332 * math/w_sinhf.c: Likewise.
52333 * math/w_sinhl.c: Likewise.
52334 * math/w_sqrt.c: Likewise.
52335 * math/w_sqrtf.c: Likewise.
52336 * math/w_sqrtl.c: Likewise.
52337 * math/w_tgamma.c: Likewise.
52338 * math/w_tgammaf.c: Likewise.
52339 * math/w_tgammal.c: Likewise.
52340
52341 * po/ja.po: Update from translation team.
52342
523432011-09-29 Andreas Jaeger <aj@suse.de>
52344
52345 [BZ #13179]
52346 * sunrpc/netname.c (netname2host): Fix logic.
52347
52348 [BZ #6779]
52349 [BZ #6783]
52350 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52351 correctly.
52352 * math/w_remainder.c (__remainder): Likewise.
52353 * math/w_remainderf.c (__remainderf): Likewise.
52354 * math/libm-test.inc (remainder_test): Add test cases.
52355
523562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52357
52358 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52359 sdiv_qrnnd.
52360
523612011-10-07 Ulrich Drepper <drepper@gmail.com>
52362
52363 * string/test-memcmp.c: Avoid unncessary #defines.
52364 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52365
523662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52367
52368 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52369 Use new sse2 version for core i3 - i7 as it's faster
52370 than sse42 version.
52371 (bit_Prefer_PMINUB_for_stringop): New.
52372 * sysdeps/x86_64/rawmemchr.S: Update.
52373 Replace with faster SSE2 version.
52374 * sysdeps/x86_64/memrchr.S: New file.
52375 * sysdeps/x86_64/memchr.S: Update.
52376 Replace with faster SSE2 version.
52377
523782011-09-12 Marek Polacek <mpolacek@redhat.com>
52379
52380 * elf/dl-load.c (lose): Add cast to avoid warning.
52381
523822011-10-07 Ulrich Drepper <drepper@gmail.com>
52383
52384 * po/ca.po: Update from translation team.
52385
52386 * inet/getnetgrent_r.c: Hook up nscd.
52387 * nscd/Makefile (routines): Add nscd_netgroup.
52388 (nscd-modules): Add netgroupcache.
52389 (CFLAGS-netgroupcache.c): Define.
52390 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52391 (cache_search): Add const to second parameter.
52392 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52393 INNETGR.
52394 (dbs): Add netgrdb entry.
52395 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52396 (verify_persistent_db): Handle netgrdb.
52397 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52398 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52399 GETFDNETGR.
52400 (netgroup_response_header): Define.
52401 (innetgroup_response_header): Define.
52402 (datahead): Add netgroup_response_header and innetgroup_response_header
52403 elements.
52404 * nscd/nscd.conf: Add entries for netgroup cache.
52405 * nscd/nscd.h (dbtype): Add netgrdb.
52406 (_PATH_NSCD_NETGROUP_DB): Define.
52407 (netgroup_iov_disabled): Declare.
52408 (xmalloc, xcalloc, xrealloc): Move declarations here.
52409 (cache_search): Adjust prototype.
52410 Add netgroup-related prototypes.
52411 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52412 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52413 (__nscd_innetgr): Declare.
52414 * nscd/selinux.c (perms): Use access_vector_t as element type and
52415 add netgroup-related initializers.
52416 * nscd/netgroupcache.c: New file.
52417 * nscd/nscd_netgroup.c: New file.
52418 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52419 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52420 For four parameters use innetgr.
52421 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52422 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52423 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52424 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52425
52426 * nscd/connections.c (register_traced_file): Don't register file
52427 for disabled databases.
52428
524292011-10-06 Ulrich Drepper <drepper@gmail.com>
52430
52431 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52432
52433 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52434 from tree and freeing node.
52435
524362011-09-25 Jiri Olsa <jolsa@redhat.com>
52437
52438 * nss/nsswitch.c (__nss_database_lookup): Handle
52439 nss_parse_service_list out of memory case.
52440
524412011-09-15 Jiri Olsa <jolsa@redhat.com>
52442
52443 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52444 out of memory case.
52445
524462011-10-04 Andreas Schwab <schwab@redhat.com>
52447
52448 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52449 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52450 pass it down.
52451 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52452 elf_machine_rela, elf_machine_lazy_rel.
52453 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52454 (ELF_DYNAMIC_DO_REL): Likewise.
52455 (ELF_DYNAMIC_DO_RELA): Likewise.
52456 (ELF_DYNAMIC_RELOCATE): Likewise.
52457 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52458 to ELF_DYNAMIC_DO_REL.
52459 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52460 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52461 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52462 elf_machine_rela.
52463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52464 skip_ifunc, don't call ifunc function if non-zero.
52465 (elf_machine_rela): Likewise.
52466 (elf_machine_lazy_rel): Likewise.
52467 (elf_machine_lazy_rela): Likewise.
52468 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52469 (elf_machine_lazy_rel): Likewise.
52470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52471 Likewise.
52472 (elf_machine_lazy_rel): Likewise.
52473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52474 Likewise.
52475 (elf_machine_lazy_rel): Likewise.
52476 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52477 (elf_machine_lazy_rel): Likewise.
52478 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52479 (elf_machine_lazy_rel): Likewise.
52480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52481 (elf_machine_lazy_rel): Likewise.
52482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52483 (elf_machine_lazy_rel): Likewise.
52484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52485 (elf_machine_lazy_rel): Likewise.
52486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52487 (elf_machine_lazy_rel): Likewise.
52488
524892011-09-28 Ulrich Drepper <drepper@gmail.com>
52490
52491 * nss/nss_files/files-init.c (_nss_files_init): Use static
52492 initialization for all the *_traced_file variables.
52493
524942011-09-28 Andreas Schwab <schwab@redhat.com>
52495
52496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52497
524982011-09-27 Roland McGrath <roland@hack.frob.com>
52499
52500 [BZ #13226]
52501 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52502
525032011-09-27 Andreas Schwab <schwab@redhat.com>
52504
52505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52506 Reread the line before reparsing it.
52507
525082011-09-26 Andreas Schwab <schwab@redhat.com>
52509
52510 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52511
525122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52513 Maxim Kuvyrkov <maxim@codesourcery.com>
52514 Joseph Myers <joseph@codesourcery.com>
52515
52516 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52517 if needed for __stack_chk_guard.
52518
525192011-09-19 Roland McGrath <roland@hack.frob.com>
52520
52521 * sysdeps/posix/spawni.c (script_execute): Always define it.
52522 It will be optimized away if unused.
52523 (maybe_script_execute): New function.
52524 (__spawni): Call it.
52525
52526 * Makerules: Don't include tls.make.
52527 (config-tls): Always set to thread.
52528 * tls.make.c: File removed.
52529
525302011-09-19 Mike Frysinger <vapier@gentoo.org>
52531
52532 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52533 * config.make.in (CPPFLAGS-config): New substituted variable.
52534
525352011-09-15 Ulrich Drepper <drepper@gmail.com>
52536
52537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52538
52539 [BZ #13192]
52540 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52541 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52542
525432011-09-15 Roland McGrath <roland@hack.frob.com>
52544
52545 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52546 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52547 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52548 (CALL_FAIL): Likewise.
52549 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52550 (CALL_FAIL): Macro removed.
52551 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52552
525532011-09-15 Ulrich Drepper <drepper@gmail.com>
52554
52555 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52556 for __FINITE_MATH_ONLY__ == 1.
52557
525582011-09-15 Andreas Schwab <schwab@redhat.com>
52559
52560 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52561 __ieee754_sqrt instead of sqrt.
52562 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52563 __ieee754_sqrtf instead of sqrtf.
52564 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52565 __floorf instead of floorf.
52566 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52567 __floorf, __truncf instead of floorf, truncf.
52568
525692011-09-14 Ulrich Drepper <drepper@gmail.com>
52570
52571 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52572
52573 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52574 __extern_always_inline.
52575 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52576 32-bit.
52577
525782011-09-14 Andreas Schwab <schwab@redhat.com>
52579
52580 * elf/rtld.c (dl_main): Also relocate in dependency order when
52581 doing symbol dependency testing.
52582
525832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52584
52585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52586 Always define `refsym'.
52587
525882011-09-13 Andreas Schwab <schwab@redhat.com>
52589
52590 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52591 (__FD_ELT): Renamed from __FDELT.
52592 * misc/bits/select2.h (__FD_ELT): Likewise.
52593 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52594 __FD_MASK instead of __FDELT, __FDMASK.
52595 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52596 Likewise.
52597 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52598 Likewise.
52599
52600 * elf/Makefile (gen-ldd): Fix pattern.
52601
52602 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52603 (init_tls): Likewise.
52604
526052011-09-12 Ulrich Drepper <drepper@gmail.com>
52606
52607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52608
526092011-09-12 Andreas Schwab <schwab@redhat.com>
52610
52611 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52612 `struct cmsghdr *' instead of `void *'.
52613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52614 Likewise.
52615
526162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52617
52618 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52619 if non-absolute.
52620 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52621 ldd_rewrite_script.
52622
526232011-09-11 Ulrich Drepper <drepper@gmail.com>
52624
52625 * configure.in: Remove --with-tls option.
52626 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52627 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52628 out in case it is missing.
52629 * sysdeps/ia64/elf/configure.in: Likewise.
52630 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52631 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52632 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52633 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52634 * sysdeps/sh/elf/configure.in: Likewise.
52635 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52636 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52637 * sysdeps/x86_64/elf/configure.in: Likewise.
52638 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52639 * sysdeps/mach/hurd/tls.h: Likewise.
52640
52641 [BZ #13067]
52642 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52643
52644 [BZ #13090]
52645 * configure.in: Fix use of AC_INIT.
52646
52647 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52648
526492011-09-10 Ulrich Drepper <drepper@gmail.com>
52650
52651 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52652 __set_errno.
52653 * malloc/hooks.c: Likewise.
52654
52655 [BZ #11929]
52656 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52657 variables statically.
52658 (narenas): Initialize.
52659 (list_lock): Initialize.
52660 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52661 initializtion of main_arena and list_lock. Small cleanups.
52662 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52663 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52664 Add initializers to main_arena and mp_.
52665 (malloc_state): Remove pagesize member. Change all users to use
52666 GLRO(dl_pagesize).
52667
52668 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52669 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52670 is always initialized.
52671
52672 * malloc/malloc.c: Removed unused configurations and dead code.
52673 * malloc/arena.c: Likewise.
52674 * malloc/hooks.c: Likewise.
52675 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52676
52677 * include/tls.h: Removed. USE___THREAD must always be defined.
52678 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52679 * elf/dl-libc.c: Likewise.
52680 * elf/dl-tsd.c: Likewise.
52681 * include/errno.h: Likewise.
52682 * include/netdb.h: Likewise.
52683 * include/resolv.h: Likewise.
52684 * inet/herrno-loc.c: Likewise.
52685 * inet/herrno.c: Likewise.
52686 * malloc/arena.c: Likewise.
52687 * malloc/hooks.c: Likewise.
52688 * malloc/malloc.c: Likewise.
52689 * resolv/res-state.c: Likewise.
52690 * resolv/res_libc.c: Likewise.
52691 * sysdeps/i386/dl-machine.h: Likewise.
52692 * sysdeps/ia64/dl-machine.h: Likewise.
52693 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52694 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52695 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52696 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52697 * sysdeps/sh/dl-machine.h: Likewise.
52698 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52699 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52700 * sysdeps/unix/i386/sysdep.S: Likewise.
52701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52702 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52707 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52711 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52712 * sysdeps/x86_64/dl-machine.h: Likewise.
52713 * tls.make.c: Likewise.
52714
52715 * configure.in: Remove --with-__thread option. Make tests for
52716 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52717 tls_model attribute fail if no support is available. Remove
52718 USE_IN_LIBIO.
52719 * Makeconfig: Adjust for dropped configure option. All features are
52720 now mandatory.
52721 * Makerules: Likewise.
52722 * Versions.def: Likewise.
52723 * argp/argp-fmtstream.c: Likewise.
52724 * argp/argp-fmtstream.h: Likewise.
52725 * argp/argp-help.c: Likewise.
52726 * assert/assert.c: Likewise.
52727 * config.h.in: Likewise.
52728 * config.make.in: Likewise.
52729 * configure: Likewise.
52730 * configure.in: Likewise.
52731 * csu/Versions: Likewise.
52732 * csu/init.c: Likewise.
52733 * elf/tst-audit2.c: Likewise.
52734 * elf/tst-tls10.c: Likewise.
52735 * elf/tst-tls10.h: Likewise.
52736 * elf/tst-tls11.c: Likewise.
52737 * elf/tst-tls12.c: Likewise.
52738 * elf/tst-tls14.c: Likewise.
52739 * elf/tst-tlsmod11.c: Likewise.
52740 * elf/tst-tlsmod12.c: Likewise.
52741 * elf/tst-tlsmod13.c: Likewise.
52742 * elf/tst-tlsmod13a.c: Likewise.
52743 * elf/tst-tlsmod14a.c: Likewise.
52744 * elf/tst-tlsmod15b.c: Likewise.
52745 * elf/tst-tlsmod16a.c: Likewise.
52746 * elf/tst-tlsmod16b.c: Likewise.
52747 * elf/tst-tlsmod7.c: Likewise.
52748 * elf/tst-tlsmod8.c: Likewise.
52749 * elf/tst-tlsmod9.c: Likewise.
52750 * gmon/gmon.c: Likewise.
52751 * grp/fgetgrent_r.c: Likewise.
52752 * grp/putgrent.c: Likewise.
52753 * hurd/fopenport.c: Likewise.
52754 * include/libc-symbols.h: Likewise.
52755 * include/tls.h: Likewise.
52756 * intl/gettextP.h: Likewise.
52757 * intl/loadinfo.h: Likewise.
52758 * locale/global-locale.c: Likewise.
52759 * locale/localeinfo.h: Likewise.
52760 * mach/devstream.c: Likewise.
52761 * malloc/arena.c: Likewise.
52762 * malloc/set-freeres.c: Likewise.
52763 * misc/err.c: Likewise.
52764 * misc/getttyent.c: Likewise.
52765 * misc/mntent_r.c: Likewise.
52766 * posix/getopt.c: Likewise.
52767 * posix/wordexp.c: Likewise.
52768 * pwd/fgetpwent_r.c: Likewise.
52769 * resolv/Versions: Likewise.
52770 * resolv/res_hconf.c: Likewise.
52771 * shadow/fgetspent_r.c: Likewise.
52772 * shadow/putspent.c: Likewise.
52773 * stdio-common/printf_fphex.c: Likewise.
52774 * stdio-common/tmpfile.c: Likewise.
52775 * stdlib/abort.c: Likewise.
52776 * stdlib/fmtmsg.c: Likewise.
52777 * sunrpc/auth_unix.c: Likewise.
52778 * sunrpc/clnt_perr.c: Likewise.
52779 * sunrpc/clnt_tcp.c: Likewise.
52780 * sunrpc/clnt_udp.c: Likewise.
52781 * sunrpc/clnt_unix.c: Likewise.
52782 * sunrpc/openchild.c: Likewise.
52783 * sunrpc/svc_simple.c: Likewise.
52784 * sunrpc/svc_tcp.c: Likewise.
52785 * sunrpc/svc_udp.c: Likewise.
52786 * sunrpc/svc_unix.c: Likewise.
52787 * sunrpc/xdr.c: Likewise.
52788 * sunrpc/xdr_array.c: Likewise.
52789 * sunrpc/xdr_rec.c: Likewise.
52790 * sunrpc/xdr_ref.c: Likewise.
52791 * sunrpc/xdr_stdio.c: Likewise.
52792
527932011-09-09 Ulrich Drepper <drepper@gmail.com>
52794
52795 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52796
527972011-07-03 Andreas Jaeger <aj@suse.de>
52798
52799 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52800 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52801 regenerate with gen-libm-tests.pl.
52802
528032010-05-12 Petr Baudis <pasky@suse.cz>
52804
52805 [BZ #11589]
52806 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52807 around j0() zero points by switching to j1().
52808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52809 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52812
528132011-09-09 Ulrich Drepper <drepper@gmail.com>
52814
52815 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52816 instead of 0.
52817 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52818 instead of 0.
52819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52820 Patch in part by Pavel Roskin <proski@gnu.org>.
52821
52822 [BZ #13138]
52823 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52824 realloc.
52825 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52826 Free memory block if necessary.
52827
52828 [BZ #12847]
52829 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52830 be NULL. Don't lock in this case.
52831
528322011-09-09 Roland McGrath <roland@hack.frob.com>
52833
52834 * elf/elf.h (ELFOSABI_GNU): New macro.
52835 (ELFOSABI_LINUX): Define to that.
52836
528372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52838
52839 * string/strncat.c (strncat): Undef the symbol in case it has been
52840 defined in bits/string.h.
52841
528422011-09-09 Ulrich Drepper <drepper@gmail.com>
52843
52844 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52845
52846 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52847 link map.
52848
528492011-08-17 Andreas Jaeger <aj@suse.de>
52850
52851 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52852
528532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52854 Ian Lance Taylor <iant@google.com>
52855
52856 * math/libm-test.inc (lround_test): New testcase.
52857 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52858
528592011-09-08 Ulrich Drepper <drepper@gmail.com>
52860
52861 * Makefile: Remove support for automatic cvs check-ins.
52862 * Makerules: Likewise.
52863 * config.make.in: Likewise.
52864 * configure.in: Likewise.
52865 * intl/Makefile: Likewise.
52866 * locale/Makefile: Likewise.
52867 * po/Makefile: Likewise.
52868 * posix/Makefile: Likewise.
52869 * sysdeps/gnu/Makefile: Likewise.
52870 * sysdeps/mach/hurd/Makefile: Likewise.
52871 * sysdeps/sparc/sparc32/Makefile: Likewise.
52872
52873 [BZ #13118]
52874 * posix/Makefile (bug-regex32-ENV): Define.
52875 Patch by John Stanley <jpsinthemix@verizon.net>.
52876
52877 * misc/Makefile (headers): Add bits/select2.h.
52878 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52879 * misc/bits/select2.h: New file.
52880 * include/bits/select2.h: New file.
52881 * debug/Makefile (routines): Add fdelt_chk.
52882 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52883 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52884 FD_ISSET.
52885 * debug/fdelt_chk.c: New file.
52886
52887 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52888 * wcsmbs/test-wmemcmp.c: Likewise.
52889 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52890 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52891
528922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52893
52894 * string/Makefile (strop-tests): Add memcmp.
52895 * string/test-wmemcmp.c: New file.
52896 * string/test-memcmp.c: Add wmemcmp support.
52897
528982011-09-08 Roland McGrath <roland@hack.frob.com>
52899
52900 [BZ #13153]
52901 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52902 2011-07-19 change.
52903
52904 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52905 garbage value in a __mach_port_mod_refs call in the cases of the
52906 task-self and thread-self ports.
52907
529082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52909
52910 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52911
529122011-09-08 Andreas Schwab <schwab@redhat.com>
52913
52914 * elf/dl-load.c (lose): Check for non-null L.
52915
529162011-09-07 Ulrich Drepper <drepper@gmail.com>
52917
52918 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52919
52920 * elf/dl-libc.c (dlerror_run): Pass back error code from
52921 dl_catch_error.
52922
52923 [BZ #13123]
52924 * elf/dl-load.c (lose): Free l_origin if it is valid.
52925
52926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52927 names.
52928 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52932 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52933 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52934
529352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52936
52937 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52938 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52939 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52940 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52941 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52942 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52943 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52944 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52945 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52946 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52947
529482011-08-15 Alan Modra <amodra@gmail.com>
52949
52950 [BZ #13092]
52951 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52952 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52953 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52954 ppc_mcount to static-only-routines.
52955 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52956 __mcount_internal.
52957 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52958 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52959
529602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52961
52962 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52963 for finite and infinity parameters.
52964
529652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52966
52967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52968 and add nop instructions for throughput optimization.
52969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52970
529712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52972
52973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52974 aligned copy for power7 with vector-scalar instructions.
52975 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52976
529772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52978
52979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52980 AVX check.
52981
529822011-09-07 Andreas Schwab <schwab@redhat.com>
52983
52984 [BZ #13144]
52985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52986 last change.
52987
529882011-09-07 Ulrich Drepper <drepper@gmail.com>
52989
52990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52991 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52992 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52993 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52994 clock_gettime.
52995
529962011-09-06 Ulrich Drepper <drepper@gmail.com>
52997
52998 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52999 Forgot to demangle the pointer.
53000
53001 * sysdeps/i386/sysdep.h: Define atom_text_section.
53002 * sysdeps/x86_64/sysdep.h: Likewise.
53003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53004 section with atom_text_section.
53005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53006 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53007 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53010
53011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53013 already be defined. Change to take two parameters and don't assign
53014 result to variable. Adjust all users.
53015 Define INTERNAL_GETTIME if not already defined.
53016 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53017 call.
53018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53019 HAVE_CLOCK_GETTIME_VSYSCALL.
53020 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53021
53022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53023 gettimeofday vsyscall, just use time.
53024
530252011-09-06 Andreas Schwab <schwab@redhat.com>
53026
53027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53028 <errno.h>.
53029
530302011-09-06 Ulrich Drepper <drepper@gmail.com>
53031
53032 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53033 syscall on x86-64.
53034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53035 syscall.
53036 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53038 syscall if possible.
53039
530402011-09-05 Ulrich Drepper <drepper@gmail.com>
53041
53042 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53043 e_ident. Don't pass to find_mapsXX.
53044 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53045
530462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53047
53048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53049 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53050 * sysdeps/x86_64/multiarch/strchr.S: Update.
53051 Check bit_slow_BSF bit.
53052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53053 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53054 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53055
530562011-09-05 Ulrich Drepper <drepper@gmail.com>
53057
53058 [BZ #13134]
53059 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53060 before glibc 2.15.
53061 (tryshell): Define.
53062 (__spawni): Change last parameter to be flag. Test
53063 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53064 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53065 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53066 * posix/spawni.c: Likewise.
53067 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53068 * posix/spawnp.c: Likewise. Change normal version to use
53069 SPAWN_XFLAGS_USE_PATH.
53070 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53071 SPAWN_XFLAGS_TRY_SHELL.
53072
53073 [BZ #13150]
53074 * posix/glob.h: Remove gcc 1.x support.
53075
53076 [BZ #13068]
53077 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53078
530792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53080
53081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53082 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53083 strrchr-sse2-bsf
53084 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53085 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53088 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53090
530912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53092
53093 * sysdeps/x86_64/wcscmp.S: New file.
53094
53095 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53096 wcscmp-c wcscmp-sse2
53097 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53098 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53100 * wcsmbs/wcscmp.c: Allow renaming.
53101
531022011-09-05 David S. Miller <davem@davemloft.net>
53103
53104 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53105 stack slot, rather than the struct return pointer slot.
53106 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53107 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53109 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53110
531112011-09-05 Ulrich Drepper <drepper@gmail.com>
53112
53113 * po/ja.po: Update from translation team.
53114
53115 [BZ #13144]
53116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53117 kernel in 64-bit binaries.
53118
531192011-09-01 David S. Miller <davem@davemloft.net>
53120
53121 * elf/elf.h (HWCAP_SPARC_*): Move to..
53122 * sysdeps/sparc/sysdep.h: this new file and add new values.
53123 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53124 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53125 _DL_HWCAP_COUNT to 24.
53126 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53127 entries.
53128 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53129 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53130 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53132 instead of magic constants.
53133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53134
531352011-08-31 David S. Miller <davem@davemloft.net>
53136
53137 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53139 Reimplement to do errno handling inline.
53140 (SYSCALL_ERROR_HANDLER): New macro.
53141 (__SYSCALL_STRING): Do not do errno handling in asm.
53142 (__CLONE_SYSCALL_STRING): Delete.
53143 (__INTERNAL_SYSCALL_STRING): Delete.
53144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53145 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53146 (PSEUDO): Reimplement to do errno handling inline.
53147 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53148 (SYSCALL_ERROR_HANDLER): New macro.
53149 (__SYSCALL_STRING): Do not do errno handling in asm.
53150 (__CLONE_SYSCALL_STRING): Delete.
53151 (__INTERNAL_SYSCALL_STRING): Delete.
53152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53153 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53154 i386.
53155 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53156 (inline_syscall*): Add 'err' argument.
53157 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53158 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53159 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53160 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53161
53162 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53164
531652011-08-30 Andreas Schwab <schwab@redhat.com>
53166
53167 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53168
531692011-08-29 Jiri Olsa <jolsa@redhat.com>
53170
53171 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53172 directive.
53173
531742011-08-24 David S. Miller <davem@davemloft.net>
53175
53176 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53177
531782011-08-24 Andreas Schwab <schwab@redhat.com>
53179
53180 * elf/Makefile: Add rules to build and run unload8 test.
53181 * elf/unload8.c: New file.
53182 * elf/unload8mod1.c: New file.
53183 * elf/unload8mod1x.c: New file.
53184 * elf/unload8mod2.c: New file.
53185 * elf/unload8mod3.c: New file.
53186
53187 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53188 it wasn't used.
53189
531902011-08-23 David S. Miller <davem@davemloft.net>
53191
53192 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53193 subtract stack bias.
53194 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53195 %sp not %fp in calculations.
53196 (_JMPBUF_UNWINDS_ADJ): Likewise.
53197
53198 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53199 (aio_suspend): Call it to force an exception region around the
53200 AIO_MISC_WAIT() invocation.
53201
532022011-08-23 Andreas Schwab <schwab@redhat.com>
53203
53204 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53205 backslash.
53206
532072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53208
53209 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53210 protection macro.
53211 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53212 and <dl-machine.h>.
53213 (Elf64_FuncDesc): Remove.
53214
532152011-08-22 David S. Miller <davem@davemloft.net>
53216
53217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53218 sigaltstack check, add missing cfi directives.
53219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53220 missing cfi directives, and sigaltstack handling.
53221
532222011-08-16 Andreas Schwab <schwab@redhat.com>
53223
53224 [BZ #11724]
53225 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53226 object is seen twice.
53227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53228
53229 * elf/Makefile (distribute): Add tst-initorder2.c.
53230 (tests): Add tst-initorder2.
53231 (modules-names): Add tst-initorder2a tst-initorder2b
53232 tst-initorder2c tst-initorder2d. Add rules to build them.
53233 ($(objpfx)tst-initorder2.out): New rule.
53234 * elf/tst-initorder2.c: New file.
53235 * elf/tst-initorder2.exp: New file.
53236
532372011-08-22 Andreas Schwab <schwab@redhat.com>
53238
53239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53240
53241 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53242 dependencies back to end of function.
53243
53244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53245 $(elfobjdir)/ld.so.
53246
532472011-08-21 Ulrich Drepper <drepper@gmail.com>
53248
53249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53250 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53252 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53253 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53254 of __vdso_gettimeofday.
53255 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53256 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53257 attribute_hidden.
53258 (_libc_vdso_platform_setup): Remove initialization of
53259 __vdso_gettimeofday and __vdso_time.
53260
532612011-08-20 Ulrich Drepper <drepper@gmail.com>
53262
53263 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53264 and fgetc_unlocked.
53265 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53266 getc_unlocked.
53267
53268 * elf/dl-open.c (add_to_global): Report additions to the global scope
53269 for LD_DEBUG=scopes.
53270 (dl_open_worker): Also print scope of newly loaded dependencies.
53271 (_dl_show_scope): Indicate if there is no scope.
53272
53273 [BZ #13114]
53274 * stdio-common/Makefile (tests): Add bug24.
53275 * stdio-common/bug24.c: New file.
53276
532772011-08-19 Andreas Jaeger <aj@suse.de>
53278
53279 [BZ #13114]
53280 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53281 non-existant file when using close-on-exec mode.
53282
532832011-08-20 Ulrich Drepper <drepper@gmail.com>
53284
53285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53286 the very first instruction.
53287
53288 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53289 the CFI state in the end.
53290 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53291 inclusion of dl-trampoline.h.
53292 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53293
532942011-08-19 Andreas Schwab <schwab@redhat.com>
53295
53296 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53297 expectations for long double.
53298
53299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53300 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53301
533022011-08-14 David S. Miller <davem@davemloft.net>
53303
53304 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53305 artificual limit depends upon the system page size.
53306
533072011-08-17 Ulrich Drepper <drepper@gmail.com>
53308
53309 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53310 * resolv/Makefile: Define CFLAGS-libresolv.
53311
533122011-08-17 Andreas Schwab <schwab@redhat.com>
53313
53314 * nss/makedb.c (compute_tables): Make variables used in nested
53315 function static.
53316
533172011-08-17 Ulrich Drepper <drepper@gmail.com>
53318
53319 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53320 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53321 if buffer was too small.
53322
53323 * elf/pldd.c (main): Attach to all threads in the process.
53324 Rewrite /proc handling to use *at functions.
53325
533262011-08-16 Ulrich Drepper <drepper@gmail.com>
53327
53328 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53329 specifies first scope to show.
53330 (dl_open_worker): Update callers. Move printing scope of new
53331 object to before the relocation.
53332 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53333 * sysdeps/generic/ldsodefs.h: Update declaration.
53334
53335 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53336 string for the scope number.
53337
533382011-08-14 Ulrich Drepper <drepper@gmail.com>
53339
53340 * nscd/servicescache.c (cache_addserv): Make sure written is always
53341 initialized.
53342
533432011-08-14 Roland McGrath <roland@hack.frob.com>
53344
53345 * sysdeps/i386/i486/bits/atomic.h
53346 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53347 statement expression, so as to suppress "set but not used" warning.
53348 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53349
53350 * string/strncat.c (STRNCAT): Use prototype definition.
53351
53352 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53353 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53354 -Iprograms here.
53355 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53356 (localedef-modules): Add localedef.
53357 (locale-modules): Add locale.
53358
53359 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53360 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53361 to avoid a warning.
53362
533632011-08-14 David S. Miller <davem@davemloft.net>
53364
53365 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53366 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53367
533682011-08-13 Ulrich Drepper <drepper@gmail.com>
53369
53370 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53371 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53372 * elf/rtld.c (dl_main): Set l_name of vDSO.
53373 Call _dl_show_scope when DL_DEBUG_SCOPES.
53374 (process_dl_debug): Recognize scopes flag and also set it for all.
53375 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53376 Declare _dl_show_scope.
53377
53378 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53379 (do_dlopen): Pass caller_dlopen to dl_open.
53380 (__libc_dlopen_mode): Initialize caller_dlopen.
53381
53382 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53383 of libc. Make tolower call locale-independent. Optimize a bit by
53384 using isdigit instead of isalnum.
53385 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53386
533872011-08-12 Ulrich Drepper <drepper@gmail.com>
53388
53389 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53390 was a dependency or dynamically loaded.
53391
533922011-08-11 Ulrich Drepper <drepper@gmail.com>
53393
53394 * intl/l10nflist.c: Allow architecture-specific pop function.
53395 * sysdeps/x86_64/l10nflist.c: New file.
53396
53397 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53398 classification.
53399
534002011-08-10 Andreas Schwab <schwab@redhat.com>
53401
53402 * include/dirent.h: Add libc_hidden_proto for scandirat and
53403 scandirat64. Don't declare __scandirat64.
53404 * dirent/scandirat.c: Add libc_hidden_def.
53405 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53406 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53407
534082011-08-10 David S. Miller <davem@davemloft.net>
53409
53410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53411 enum.
53412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53415
534162011-08-09 Ulrich Drepper <drepper@gmail.com>
53417
53418 * Versions.def [libc]: Add GLIBC_2.15.
53419 * dirent/Makefile (routines): Add scandirat and scandirat64.
53420 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53421 GLIBC_2.15.
53422 * dirent/dirent.h: Declare scandirat and scandirat64.
53423 * dirent/scandirat.c: New file.
53424 * dirent/scandirat64.c: New file.
53425 * sysdeps/wordsize-64/scandirat.c: New file.
53426 * sysdeps/wordsize-64/scandirat64.c: New file.
53427 * dirent/opendir.c: Define opendirat.
53428 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53429 using scandirat.
53430 * dirent/scandir64.c: Adjust for scandir.c change.
53431 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53432 __scandirat64, and __scandir_cancel_handler.
53433 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53434 additional parameter and use openat instead of open (outside of ld.so).
53435 Add new __opendir as wrapper around __opendirat.
53436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53437 here without requiring old scandirat implementation.
53438
534392011-08-08 Ulrich Drepper <drepper@gmail.com>
53440
53441 * dirent/scandir.c (cancel_handler): Renamed to
53442 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53443 defined. Adjust users.
53444 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53446
534472011-08-04 Ulrich Drepper <drepper@gmail.com>
53448
53449 * string/test-string.h (IMPL): Use __STRING to expand name and then
53450 stringify it.
53451
53452 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53453 of cleanups.
53454
534552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53456
53457 * string/Makefile: Update.
53458 (strop-tests): Append strncat.
53459 * string/test-wcscmp.c: New file.
53460 New comprehensive test for wcscmp.
53461 * string/test-strcmp.c: Update.
53462 (WIDE): New define.
53463
534642011-07-22 Andreas Schwab <schwab@redhat.com>
53465
53466 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53467 line.
53468
534692011-07-26 Andreas Schwab <schwab@redhat.com>
53470
53471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53472 encoding to ACE if AI_IDN.
53473
534742011-08-01 Jakub Jelinek <jakub@redhat.com>
53475
53476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53477 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53478
534792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53480
53481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53482 Fix overflow bug in strncat.
53483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53484
53485 * string/test-strncat.c: Update.
53486 Add new tests for checking overflow bugs.
53487
534882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53489
53490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53491 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53492 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53493 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53495 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53496 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53497 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53498 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53499
53500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53501 (USE_AS_STRCAT): Define.
53502 Add strcat and strncat support.
53503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53504
535052011-07-25 Andreas Schwab <schwab@redhat.com>
53506
53507 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53508 __n bigger than INT_MAX+1.
53509 (__strncmp_g): Likewise.
53510
535112011-07-23 Ulrich Drepper <drepper@gmail.com>
53512
53513 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53514 * libio/stido.h: Likewise.
53515
53516 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53517 (AF_NFC): Define.
53518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53519 (AF_NFC): Define.
53520
53521 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53526
53527 [BZ #13021]
53528 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53529 installed.
53530
53531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53532 typo.
53533 (_dl_x86_64_save_sse): Likewise.
53534
535352011-07-22 Ulrich Drepper <drepper@gmail.com>
53536
53537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53538 OSXSAVE.
53539 (_dl_x86_64_save_sse): Likewise.
53540
53541 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53542
53543 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53544
535452011-07-21 Andreas Schwab <schwab@redhat.com>
53546
53547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53548 change.
53549 (_dl_x86_64_save_sse): Use correct AVX check.
53550
535512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53552
53553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53554 bug in strncpy/strncat.
53555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53556
535572011-07-21 Ulrich Drepper <drepper@gmail.com>
53558
53559 * string/tester.c (test_strcat): Add tests for different alignments
53560 of source and destination.
53561 (test_strncat): Likewise.
53562
535632011-07-20 Ulrich Drepper <drepper@gmail.com>
53564
53565 [BZ #12852]
53566 * posix/glob.c (glob): Check passed in values before using them in
53567 expressions to avoid some overflows.
53568 (glob_in_dir): Likewise.
53569
53570 [BZ #13007]
53571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53572 check for AVX enablement so that we don't crash with old kernels and
53573 new hardware.
53574 * elf/tst-audit4.c: Add same checks here.
53575 * elf/tst-audit6.c: Likewise.
53576
53577 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53578
535792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53580
53581 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53582
535832011-07-20 Ulrich Drepper <drepper@gmail.com>
53584
53585 * po/cs.po: Update from translation team.
53586 * po/bg.po: Likewise.
53587
535882011-07-12 Marek Polacek <mpolacek@redhat.com>
53589
53590 * misc/sys/cdefs.h: Add support for const attribute.
53591 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53592 to gnu_dev_{major,minor,makedev} functions.
53593
535942011-07-20 Marek Polacek <mpolacek@redhat.com>
53595
53596 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53597
535982011-07-20 Andreas Schwab <schwab@redhat.com>
53599
53600 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53601 strlen results.
53602
536032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53604
53605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53606 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53607 register in order to avoid conflicts with the soft frame pointer
53608 being held in r11 when necessary.
53609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53610 (INTERNAL_VSYSCALL_NCS): Likewise.
53611
536122011-07-14 Marek Polacek <mpolacek@redhat.com>
53613
53614 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53615 * elf/dl-fini.c (_dl_fini): Adjust caller.
53616 * elf/dl-close.c (_dl_close_worker): Likewise.
53617 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53618
536192011-07-15 Marek Polacek <mpolacek@redhat.com>
53620
53621 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53622 "aux_cache->nlibs < 0".
53623
53624 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53625 in the reload-count case.
53626
536272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53628
53629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53630 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53631 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53632 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53633 * sysdeps/x86_64/multiarch/strcat.S: New file.
53634 * sysdeps/x86_64/multiarch/strncat.S: New file.
53635 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53637 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53638 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53640 (USE_AS_STRCAT): Define.
53641 Add strcat and strncat support.
53642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53644 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53645 * string/strncat.c: Update.
53646 (USE_AS_STRNCAT): Define.
53647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53648 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53649 and i7.
53650 * sysdeps/x86_64/multiarch/init-arch.h
53651 (bit_Prefer_PMINUB_for_stringop): New.
53652 (index_Prefer_PMINUB_for_stringop): Likewise.
53653 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53654 bit_Prefer_PMINUB_for_stringop.
53655
536562011-07-19 Ulrich Drepper <drepper@gmail.com>
53657
53658 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53659 buffer64.
53660 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53661 of casting of buffer.
53662 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53663 buffer32 and buffer64.
53664 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53665 writes instead of casting of buffer.
53666 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53667 buffer32.
53668 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53669 casting of buffer.
53670
536712011-07-19 Andreas Schwab <schwab@redhat.com>
53672
53673 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53674
536752011-07-19 Ulrich Drepper <drepper@gmail.com>
53676
53677 * nscd/nscd.c (termination_handler): Don't do anything for a database
53678 if it has not yet been initialized.
53679
536802011-07-18 Ulrich Drepper <drepper@gmail.com>
53681
53682 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53683
536842011-07-15 Marek Polacek <mpolacek@redhat.com>
53685
53686 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53687
536882011-07-18 Ulrich Drepper <drepper@gmail.com>
53689
53690 * po/nl.po: Update from translation team.
53691 * po/sv.po: Likewise.
53692
536932011-07-16 Roland McGrath <roland@hack.frob.com>
53694
53695 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53696 now disallowed by GCC.
53697
53698 * configure.in (use-default-link): Default to yes if a test -shared
53699 link meets our qualifications.
53700 * configure: Regenerated.
53701
53702 * config.make.in (output-format): New variable.
53703 * configure.in: Check for ld --print-output-format support.
53704 * configure: Regenerated.
53705 * Makerules ($(common-objpfx)format.lds)
53706 [$(output-format) != unknown]: Just use $(output-format),
53707 instead of the linker-script munging.
53708
537092011-07-14 Roland McGrath <roland@hack.frob.com>
53710
53711 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53712 of $(common-objpfx)shlib.lds.
53713 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53714
53715 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53716 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53717
53718 * configure.in (-z relro check): Adjust test code to add a large
53719 writable data section after it.
53720 * configure: Regenerated.
53721
537222011-07-11 Roland McGrath <roland@hack.frob.com>
53723
53724 * configure.in (-z relro check): Fix test code to make the variable
53725 truly const.
53726 * configure: Regenerated.
53727
537282011-07-11 Ulrich Drepper <drepper@gmail.com>
53729
53730 * nscd/nscd.h (struct traced_file): Define.
53731 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53732 elements. Add traced_files.
53733 (inotify_fd): Declare.
53734 (register_traced_file): Declare.
53735 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53736 (inotify_fd): Export.
53737 (resolv_conf_descr): Remove.
53738 (nscd_init): Move inotify descriptor creation to main.
53739 Don't register files for notification here.
53740 (register_traced_file): New function.
53741 (invalidate_cache): Don't use reset_res to determine whether to call
53742 res_init, go through the list of registered files.
53743 (main_loop_poll): The inotify descriptors are now stored in the
53744 structures for the traced files.
53745 (main_loop_epoll): Likewise
53746 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53747 to __nss_disable_nscd.
53748 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53749 for a database anymore. Check the records for all the registered
53750 files instead.
53751 * nss/Makefile (libnss_files-routines): Add files-init.
53752 (libnss_db-routines): Add db-init.
53753 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53754 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53755 * nss/nss_db/db-init.c: New file.
53756 * nss/nss_files/files-init.c: New file.
53757 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53758 __nss_lookup_function.
53759 (__nss_lookup_function): Call nss_load_library.
53760 (nss_load_all_libraries): New function.
53761 (__nss_disable_nscd): Take parameter with callback function for files
53762 to register. Set is_nscd. Load all the DSOs for the NSS modules
53763 used for the cached services.
53764 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53765 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53766 options for features to all the files in nscd.
53767
53768 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53769
537702011-07-10 Roland McGrath <roland@hack.frob.com>
53771
53772 * csu/elf-init.c (__libc_csu_init): Comment typo.
53773
537742011-07-09 Ulrich Drepper <drepper@gmail.com>
53775
53776 * po/pl.po: Update from translation team.
53777 * po/ja.po: Likewise.
53778 * po/ru.po: Likewise.
53779 * po/ko.po: Likewise.
53780 * po/fr.po: Likewise.
53781
537822011-07-09 Roland McGrath <roland@hack.frob.com>
53783
53784 * configure.in (.ctors/.dtors header and trailer check):
53785 Use an empirical test on a built program.
53786 * configure: Regenerated.
53787
53788 * configure.in (-z relro check): Use an empirical test on a built DSO.
53789 Detect, but do not require, on ia64.
53790 * configure: Regenerated.
53791
53792 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53793 Update tests that use readelf to use $READELF instead.
53794 * configure: Regenerated.
53795
537962011-07-08 Ulrich Drepper <drepper@gmail.com>
53797
53798 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53799 if the result is not used.
53800
538012011-07-05 Andreas Jaeger <aj@suse.de>
53802
53803 [BZ#9696]
53804 * stdlib/tst-strtod.c: Add testcase.
53805
538062011-07-07 Ulrich Drepper <drepper@gmail.com>
53807
53808 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53809 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53810 The latter has a higher limit. Take additional parameter to pass to
53811 the new function.
53812 (__pathconf): Pass file to __statfs_link_max.
53813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53814 __statfs_link_max.
53815 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53816 __statfs_link_max.
53817
53818 [BZ #12868]
53819 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53821 Handle Lustre.
53822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53823 (__statfs_filesize_max): Likewise.
53824 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53825
538262011-07-05 Andreas Jaeger <aj@suse.de>
53827
53828 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53829
538302011-07-06 Marek Polacek <mpolacek@redhat.com>
53831
53832 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53833 `status' variable.
53834 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53835 Likewise.
53836
538372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53838
53839 * Makefile (strop-tests): Add strncat.
53840 * string/test-strncat.c: New file.
53841
538422011-06-30 Marek Polacek <mpolacek@redhat.com>
53843
53844 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53845
538462011-06-21 Andreas Jaeger <aj@suse.de>
53847
53848 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53849 Copy rule from iconvdata/Makefile.
53850
538512011-07-06 Ulrich Drepper <drepper@gmail.com>
53852
53853 [BZ #12922]
53854 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53855 but no long options are defined, just return 'W'.
53856
538572011-06-22 Marek Polacek <mpolacek@redhat.com>
53858
53859 [BZ #9696]
53860 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53861
538622011-07-06 Ulrich Drepper <drepper@gmail.com>
53863
53864 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53865 netgroups to read.
53866 (innetgr): Likewise.
53867
538682011-07-05 Roland McGrath <roland@hack.frob.com>
53869
53870 * config.make.in (install_root): Default to $(DESTDIR).
53871
538722011-07-05 Ulrich Drepper <drepper@gmail.com>
53873
53874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53875
538762011-07-02 Roland McGrath <roland@hack.frob.com>
53877
53878 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53879
53880 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53881 containing directory rather than embedding absolute directory names.
53882
53883 * scripts/check-local-headers.sh: Rewritten using awk.
53884 Match by word, not by line. Print error messages for matches.
53885 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53886
53887 * Makerules [shlib-lds-flags empty]:
53888 ($(common-objpfx)libc_pic.opts): New target.
53889 ($(common-objpfx)libc_pic.os.clean): New target.
53890 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53891
53892 * config.make.in (OBJCOPY): New variable.
53893 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53894 * configure: Regenerated.
53895
53896 * config.make.in (use-default-link): New variable.
53897 * configure.in (use_default_link): Grok --with-default-link to set it.
53898 * configure: Regenerated.
53899 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53900 (shlib-lds, shlib-lds-flags): Define to empty.
53901
53902 * Makerules (shlib-lds): New variable.
53903 (shlib-lds-flags): New variable.
53904 (build-shlib, build-moduile, build-module-asneeded): Use it.
53905 ($(common-objpfx)libc.so): Use $(shlib-lds).
53906 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53907 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53908
53909 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53910 DT_FLAGS/DT_FLAGS_1 with zero flags.
53911
53912 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53913 linker script munging.
53914
539152011-07-02 Ulrich Drepper <drepper@gmail.com>
53916
53917 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53918 as 128-bit value.
53919 * crypt/sha512.c (sha512_process_block): Perform total addition using
53920 128-bit if possible.
53921 (__sha512_finish_ctx): Likewise.
53922 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53923 as 64-bit value.
53924 * crypt/sha256.c (SWAP64): Define.
53925 (sha256_process_block): Perform total addition using 64-bit if
53926 possible.
53927 (__sha256_finish_ctx): Likewise.
53928
539292011-07-01 Ulrich Drepper <drepper@gmail.com>
53930
53931 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53933 * nscd/hstcache.c (cache_addhst): Likewise.
53934 * nscd/grpcache.c (cache_addgr): Likewise.
53935 * nscd/aicache.c (addhstaiX): Likewise
53936 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53937
539382011-07-01 Thorsten Kukuk <kukuk@suse.de>
53939
53940 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53942 * nscd/hstcache.c (cache_addhst): Likewise.
53943 * nscd/grpcache.c (cache_addgr): Likewise.
53944 * nscd/aicache.c (addhstaiX): Likewise
53945
539462011-07-01 Andreas Schwab <schwab@redhat.com>
53947
53948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53949 domain only when needed.
53950
539512011-06-30 Andreas Schwab <schwab@redhat.com>
53952
53953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53954 is always restored.
53955
539562011-06-29 Ulrich Drepper <drepper@gmail.com>
53957
53958 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53959 are re-adding the entry.
53960 * nscd/servicescache.c (cache_addserv): Likewise.
53961
539622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53963
53964 * sysdeps/generic/dl-irel.h: fix protection against multiple
53965 inclusions.
53966 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53967
539682011-06-28 Ulrich Drepper <drepper@gmail.com>
53969
53970 [BZ #12935]
53971 * malloc/memusage.sh: Fix quoting in message.
53972 * debug/xtrace.sh: Likewise.
53973
53974 * configure.in: Remove support for --experimental-malloc option, make
53975 it the default.
53976 * config.make.in: Likewise.
53977 * malloc/Makefile: Likewise.
53978
539792011-06-27 Andreas Schwab <schwab@redhat.com>
53980
53981 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53982 two-byte characters.
53983
539842011-06-27 Roland McGrath <roland@hack.frob.com>
53985
53986 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53987 AC_CACHE_CHECK invocation.
53988 * configure: Regenerated.
53989
53990 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53991
539922011-06-27 Ulrich Drepper <drepper@gmail.com>
53993
53994 [BZ #12350]
53995 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53996 bit from old_res_options.
53997
53998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53999
54000 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54001 value type for setfct.
54002
540032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54004
54005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54006 __gettimeofday instead of gettimeofday.
54007
540082011-06-26 Ulrich Drepper <drepper@gmail.com>
54009
54010 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54011
540122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54013
54014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54015
54016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54017 info.
54018
540192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54020
54021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54022 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54023 strcpy-sse2-unaligned strncpy-sse2-unaligned
54024 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54025 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54026 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54027 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54028 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54031 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54032 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54033 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54034 (STRCPY): Support SSE2 and SSSE3 versions.
54035
540362011-06-24 Ulrich Drepper <drepper@gmail.com>
54037
54038 [BZ #12874]
54039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54040 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54041 kernels which artificially limit size of requests.
54042
540432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54044
54045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54046 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54047 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54048 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54049 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54050 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54051 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54052 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54055 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54056 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54057 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54058 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54059 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54061 Enable unaligned load optimization for Intel Core i3, i5 and i7
54062 processors.
54063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54064 Define.
54065 (index_Fast_Unaligned_Load): Define.
54066 (HAS_FAST_UNALIGNED_LOAD): Define.
54067
540682011-06-23 Marek Polacek <mpolacek@redhat.com>
54069
54070 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54071
540722011-06-22 Ulrich Drepper <drepper@gmail.com>
54073
54074 [BZ #12907]
54075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54076 until it is clear that the information is realy needed.
54077 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54078
540792011-06-22 Andreas Schwab <schwab@redhat.com>
54080
54081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54082
540832011-06-22 Ulrich Drepper <drepper@gmail.com>
54084
54085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54086 /sys/devices/system/cpu/online if it is usable.
54087
54088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54089 reading the information from the /proc filesystem to once a second.
54090
540912011-06-21 Andreas Jaeger <aj@suse.de>
54092
54093 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54094 NULL after inclusion of kernel headers.
54095
540962011-06-21 Ulrich Drepper <drepper@gmail.com>
54097
54098 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54099 calls to internal_setent.
54100
54101 [BZ #12885]
54102 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54103 addresses using gethostbyname4_r ignore IPv4 addresses.
54104
54105 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54106 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54107
54108 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54109
541102011-06-20 David S. Miller <davem@davemloft.net>
54111
54112 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54113 inclusions.
54114 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54115
54116 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54117 (elf_irel): Use it.
54118 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54119 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54120 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54121 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54122 * sysdeps/x86_64/dl-irel.h: Likewise.
54123
54124 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54125 * elf/dl-sym.c: Likewise.
54126
541272011-06-15 Ulrich Drepper <drepper@gmail.com>
54128
54129 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54130 need to dereference resplen2.
54131
541322011-06-14 Andreas Schwab <schwab@redhat.com>
54133
54134 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54135
541362011-06-15 Ulrich Drepper <drepper@gmail.com>
54137
54138 * Makeconfig: Define vardbdir and inst_vardbdir.
54139 * nss/Makefile: Add rules to install db-Makefile.
54140
54141 * nss/nss_db/db-XXX.c: Cleanup.
54142
54143 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54144 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54145 GLIBC_PRIVATE.
54146 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54147 * nss/makedb.c: Implement -g option to specify that value strings
54148 are generated and should not be added to table iterated over for
54149 get*ent calls.
54150 * nss/nss_db/db-initgroups.c: New file.
54151
54152 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54153 interface.
54154
54155 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54156 (internal_getgrouplist): Adjust to name change.
54157 Update use_initgroups_entry if this is not the first call.
54158 * nss/databases.def: Add initgroups entry.
54159
54160 * nss/makedb.c (compute_tables): Check result of multiple hash table
54161 sizes to minimize maximum chain length.
54162
541632011-06-14 Ulrich Drepper <drepper@gmail.com>
54164
54165 * Versions.def: Add entry for libnss_db.
54166 * shlib-versions: Likewise.
54167 * nss/Makefile: Add rules to build libnss_db.
54168 * nss/Versions: Add libnss_db information. Organize libnss_files
54169 entries better.
54170 * nss/db-Makefile: Add gshadow support. Change rules for the new
54171 makedb progra. Some minor improvements to generate smaller files.
54172 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54173 here from...
54174 * nss/makedb.c: ...here.
54175 Improve database format to be smaller and require less memory at
54176 runtime.
54177 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54178 db anymore.
54179 * nss/nss_db/db-netgrp.c: Likewise.
54180 * nss/nss_db/db-open.c: Likewise.
54181 * nss/nss_files/flies-XXX.x: Adjust comments.
54182 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54183 * nss/nss_files/files-grp.c: Likewise.
54184 * nss/nss_files/files-hosts.c: Likewise.
54185 * nss/nss_files/files-network.c: Likewise.
54186 * nss/nss_files/files-proto.c: Likewise.
54187 * nss/nss_files/files-pwd.c: Likewise.
54188 * nss/nss_files/files-rpc.c: Likewise.
54189 * nss/nss_files/files-service.c: Likewise.
54190 * nss/nss_files/files-sgrp.c: Likewise.
54191 * nss/nss_files/files-spwd.c: Likewise.
54192 * nss/nss_db/db-alias.c: Removed.
54193 * nss/nss_db/dummy-db.h: Removed.
54194
541952011-06-02 Ulrich Drepper <drepper@gmail.com>
54196
54197 * nss/makedb.c: Rewritten to not use database library.
54198 * nss/Makefile: Update to build new makedb program.
54199
542002011-06-14 Andreas Jaeger <aj@suse.de>
54201
54202 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54203 memset declaration.
54204
542052011-06-10 Andreas Schwab <schwab@redhat.com>
54206
54207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54208 tmpbuf.
54209
542102011-06-10 Roland McGrath <roland@hack.frob.com>
54211
54212 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54213 * elf/Makefile ($(objpfx)ld.so): Likewise.
54214
54215 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54216 Don't list ld.so twice in dependencies.
54217
54218 * posix/bug-regex31.c: Include <stdlib.h>.
54219
54220 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54221
54222 * nis/nss_compat/compat-spwd.c
54223 (getspent_next_nss_netgr): Remove unused variable.
54224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54225
54226 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54227 nonmembers" output to use the right array.
54228
54229 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54230
54231 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54232
54233 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54234 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54235 * catgets/gencat.c (read_input_file): Likewise.
54236 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54237
54238 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54239 variable definition inside #if's controlling its use.
54240
54241 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54242
54243 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54244
54245 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54246
54247 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54248 unreachable code.
54249
54250 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54251
54252 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54253 * configure: Regenerated.
54254
54255 * Makerules: Revert last change.
54256 * elf/Makefile: Likewise.
54257
542582011-06-09 Roland McGrath <roland@hack.frob.com>
54259
54260 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54261 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54262 (reloc-link): Likewise.
54263
542642011-06-09 Ulrich Drepper <drepper@gmail.com>
54265
54266 * elf/Makefile: Add rules to build pldd.
54267 * elf/pldd.c: New file.
54268 * elf/pldd-xx.c: New file.
54269
542702011-06-07 Ulrich Drepper <drepper@gmail.com>
54271
54272 * version.h: Update for 2.15 development version.
54273
542742011-06-07 David S. Miller <davem@davemloft.net>
54275
54276 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54277 ifuncs.
54278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54279 elf_machine_lazy_rel): Likewise.
54280 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54282 elf_machine_lazy_rel): Likewise.
54283 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54284 dl_hwcap via passed in argument.
54285 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54286 Likewise.
54287
542882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54289
54290 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54291
542922011-06-06 Roland McGrath <roland@hack.frob.com>
54293
54294 [BZ #12849]
54295 * manual/fdl-1.1.texi: New file, verbatim from:
54296 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54297 * manual/lgpl-2.1.texi: New file, verbatim from:
54298 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54299 * manual/Makefile (licenses): New variable, list those new file names.
54300 (texis): Use it.
54301 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54302
54303 * manual/fdl.texi: File removed.
54304 * manual/lesser.texi: File removed.
54305 * manual/libc.texinfo (Copying, Documentation License):
54306 Use new @include file names, put @appendix directive before @include.
54307
543082011-06-04 Jakub Jelinek <jakub@redhat.com>
54309
54310 [BZ #12841]
54311 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54312 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54313 (mq_open): Add __NTH.
54314
543152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54316
54317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54318 Assume Intel Core i3/i5/i7 processor if AVX is available.
54319
543202011-05-31 Ulrich Drepper <drepper@gmail.com>
54321
54322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54323 typo.
54324
543252011-05-31 Andreas Schwab <schwab@redhat.com>
54326
54327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54328 memory. Use alloca_account. Fix memory leak when retrying.
54329
543302011-05-31 Ulrich Drepper <drepper@gmail.com>
54331
54332 * version.h (RELEASE): Bump for 2.14 release.
54333 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54334
54335 * config.make.in (RANLIB): Remove entry.
54336
543372011-05-30 Ulrich Drepper <drepper@gmail.com>
54338
54339 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54340 (libc.pot): Work around missing support for .ksh extension in xgettext.
54341
54342 [BZ #12684]
54343 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54344 if both request failed.
54345 (send_dg): In case of server errors clear resplen or *resplen2.
54346
54347 [BZ #12454]
54348 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54349 when there are multiple maps.
54350 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54351 (_dl_fini): Remove test here.
54352
54353 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54354
543552011-05-29 Ulrich Drepper <drepper@gmail.com>
54356
54357 [BZ #12350]
54358 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54359 bit from old_res_options.
54360 (gaih_inet): Likewise.
54361
54362 [BZ #11099]
54363 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54364 as signed.
54365
54366 * resolv/res_init.c (res_setoptions): Make the code more compact.
54367
54368 [BZ #11558]
54369 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54370 set RES_USEVC.
54371
54372 [BZ #11634]
54373 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54374
54375 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54376
54377 [BZ #11781]
54378 * malloc/malloc.h: Declare malloc hook variables as volatile.
54379
54380 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54381 in last patch.
54382
54383 [BZ #11799]
54384 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54385 raise in the comment.
54386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54387 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54388 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54389
543902011-05-28 Ulrich Drepper <drepper@gmail.com>
54391
54392 [BZ #12811]
54393 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54394 grow the buffers more if it already has to be sufficient.
54395 (build_wcs_upper_buffer): Likewise.
54396 * posix/regexec.c (check_matching): Likewise.
54397 (clean_state_log_if_needed): Likewise.
54398 (extend_buffers): Don't enlarge buffers beyond size of the input
54399 buffer.
54400 Patches mostly by Emil Wojak <emil@wojak.eu>.
54401 * posix/bug-regex32.c: New file.
54402 * posix/Makefile (tests): Add bug-regex32.
54403
54404 * locale/findlocale.c (_nl_find_locale): Return right away if
54405 _nl_explode_name failed.
54406 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54407
54408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54409
54410 * debug/xtrace.sh: Unify messages.
54411 * malloc/memusage.sh: Likewise.
54412
54413 [BZ #12813]
54414 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54415 time symbol from vDSO. Substitute with vsyscall if not available.
54416 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54417 __vdso_time.
54418
54419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54420 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54421 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54422 Add sendmmsg and internal_sendmmsg.
54423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54424 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54426
54427 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54428 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54430
544312011-05-27 Ulrich Drepper <drepper@gmail.com>
54432
54433 [BZ #12813]
54434 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54435 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54436 available.
54437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54438 __vdso_getcpu.
54439
54440 [BZ #12814]
54441 * iconvdata/Makefile (tests): Add bug-iconv9.
54442 * iconvdata/bug-iconv9.c: New file.
54443
544442011-05-27 Andreas Schwab <schwab@redhat.com>
54445
54446 [BZ #12814]
54447 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54448
544492011-05-25 Jakub Jelinek <jakub@redhat.com>
54450
54451 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54452 (struct user_regs_struct): Change intcs field back to cs.
54453
544542011-05-25 Ulrich Drepper <drepper@gmail.com>
54455
54456 * po/ja.po: Update from translation team.
54457
544582011-05-23 Ulrich Drepper <drepper@gmail.com>
54459
54460 [BZ #12795]
54461 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54462 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54463
544642011-05-20 Andreas Schwab <schwab@redhat.com>
54465
54466 * stdlib/longlong.h: Update from GCC.
54467
544682011-05-23 Andreas Schwab <schwab@redhat.com>
54469
54470 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54471 parameter name.
54472 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54473 Add parameter name.
54474 (__sysconf): Pass it down.
54475
544762011-05-22 Ulrich Drepper <drepper@gmail.com>
54477
54478 [BZ #12671]
54479 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54480 some situations.
54481 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54482 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54483 add in in __libc_use_alloca calls. Adjust callers.
54484 (glob): Use malloc in some situations.
54485
54486 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54487 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54488 pltexit.
54489
544902011-05-21 Ulrich Drepper <drepper@gmail.com>
54491
54492 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54493 and CLOCK_BOOTTIME_ALARM.
54494
54495 [BZ #12782]
54496 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54497 is returned.
54498
54499 * string/_strerror.c (__strerror_r): Print negative errors as signed
54500 numbers.
54501
54502 [BZ #12777]
54503 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54504 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54505 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54506
54507 * configure.in: Fix typo in redirection and correct removal of test
54508 files in two cases.
54509
54510 [BZ #12788]
54511 * locale/setlocale.c (new_composite_name): Fix test to check for
54512 identical name of all categories.
54513
54514 [BZ #12792]
54515 * libio/filedoalloc.c (local_isatty): New function.
54516 (_IO_file_doallocate): Use local_isatty.
54517 * stdio-common/perror.c (perror): In case a new stream is used
54518 forward the stream error.
54519 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54520 error flag.
54521
545222011-05-20 Ulrich Drepper <drepper@gmail.com>
54523
54524 [BZ #11869]
54525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54526 alloca.
54527 * include/alloca.h (extend_alloca_account): Define.
54528
54529 [BZ #11857]
54530 * posix/regex.h: Fix comments with documentation of user-accessible
54531 fields after compilation and describe correct free'ing of pattern
54532 after re_compile_pattern.
54533 Patch by Reuben Thomas <rrt@sc3d.org>.
54534
545352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54536
54537 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54538 and -mno-altivec to prevent the compiler from using Altivec and/or
54539 VSX instructions when the corresponding registers are not available.
54540
545412011-05-19 Andreas Schwab <schwab@redhat.com>
54542
54543 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54544
545452011-05-19 Ulrich Drepper <drepper@gmail.com>
54546
54547 * libio/freopen.c (freopen): Use __dup2, not dup2.
54548 * libio/freopen64.c (freopen64): Likewise.
54549
545502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54551
54552 [BZ #12775]
54553 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54554 * math/Makefile (tests): Add test-powl.
54555 (CFLAGS-test-powl.c): Define.
54556 * math/test-powl.c: New file.
54557
545582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54559
54560 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54561
545622011-05-17 Ulrich Drepper <drepper@gmail.com>
54563
54564 [BZ #11837]
54565 * iconvdata/gb18030.c: Update to GB18020-2005.
54566
545672011-05-16 Ulrich Drepper <drepper@gmail.com>
54568
54569 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54570 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54571 Patch by Aharon Robbins <arnold@skeeve.com>.
54572
54573 [BZ #11892]
54574 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54575 on the stack.
54576
54577 [BZ #11895]
54578 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54579 through underflows.
54580
54581 [BZ #12766]
54582 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54583 point to strings before performing equality test for error_one_per_line
54584 mode.
54585
54586 [BZ #11697]
54587 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54588
54589 [BZ #11820]
54590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54591 (struct user_fpregs_struct): Avoid __uint*_t types.
54592
54593 [BZ #6420]
54594 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54595 symbol info. Use it instead of calling _dl_addr locally.
54596 (lock_and_info): New function.
54597 (tr_freehook): Call lock_and_info and pass symbol info as additional
54598 parameter to tr_where.
54599 (tr_mallochook): Likewise.
54600 (tr_reallochook): Likewise.
54601 (tr_memalignhook): Likewise.
54602
54603 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54604 used and couldn't be at all thread-safe.
54605
546062011-05-15 Ulrich Drepper <drepper@gmail.com>
54607
54608 * libio/freopen.c (freopen): Don't close old file descriptor
54609 before the new one is opened. Instead dup the new file descriptor
54610 to the old one after the new stream is created.
54611 * libio/freopen64.c (freopen64): Likewise.
54612 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54613 * libio/fileops.c (_IO_new_file_close_it): Handle new
54614 _IO_FLAGS2_NOCLOSE flag.
54615 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54616 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54617 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54618 _IO_FLAGS2_NOCLOSE flag.
54619 * include/unistd.h: Add hidden_proto for dup3.
54620 Define __have_dup3.
54621 * io/dup3.c: Define hidden symbol.
54622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54623
54624 [BZ #7101]
54625 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54626 when an incomplete long option is used.
54627 * posix/tst-getopt_long1.c: New file.
54628 * posix/Makefile (tests): Add tst-getopt_long1.
54629
54630 [BZ #10138]
54631 * scripts/config.guess: Update from autoconf-2.68.
54632 * scripts/config.sub: Likewise.
54633
54634 [BZ #10157]
54635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54636 tests into ...
54637 (has_cpuclock): ...this. New function.
54638 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54639 macro here based on has_cpuclock code.
54640
54641 [BZ #10149]
54642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54643 First byte (not low byte) is now always NUL.
54644 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54645
54646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54647 Use non-cancelable interfaces.
54648
54649 [BZ #9809]
54650 * locale/iso-639.def: Add entry for Sorani.
54651
54652 [BZ #11901]
54653 * include/stdlib.h: Move include protection to the right place.
54654 Define abort_msg_s. Declare __abort_msg with it.
54655 * stdlib/abort.c (__abort_msg): Adjust type.
54656 * assert/assert.c (__assert_fail_base): New function. Majority
54657 of code from __assert_fail. Allocate memory for __abort_msg with
54658 mmap.
54659 (__assert_fail): Now call __assert_fail_base.
54660 * assert/assert-perr.c: Remove bulk of implementation. Use
54661 __assert_fail_base.
54662 * include/assert.hL Declare __assert_fail_base.
54663 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54664 mmap.
54665 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54666
546672011-05-14 Ulrich Drepper <drepper@gmail.com>
54668
54669 [BZ #11952]
54670 [BZ #12453]
54671 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54672 until all modules are registered in the DTV.
54673 * elf/Makefile: Add rules to build and run tst-tls19.
54674 * elf/tst-tls19.c: New file.
54675 * elf/tst-tls19mod1.c: New file.
54676 * elf/tst-tls19mod2.c: New file.
54677 * elf/tst-tls19mod3.c: New file.
54678 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54679
54680 [BZ #12083]
54681 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54682 correctly.
54683
54684 [BZ #12601]
54685 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54686 two-byte sequence errors.
54687 * iconvdata/Makefile (tests): Add bug-iconv8.
54688 * iconvdata/bug-iconv8.c: New file.
54689
54690 [BZ #12626]
54691 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54692 buf2 definition.
54693
54694 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54695
54696 [BZ #12432]
54697 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54698 (dummy_getcfa): New function.
54699 (init): Get _Unwind_GetCFA address, use dummy if not found.
54700 (backtrace_helper): In recursion check, also check whether CFA changes.
54701 (__backtrace): Completely initialize arg.
54702
54703 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54704 storing incomplete byte sequence in state object. Avoid testing for
54705 guaranteed too small input if we know there is enough data available.
54706
547072011-05-11 Andreas Schwab <schwab@redhat.com>
54708
54709 * Makeconfig (+link-pie): Indent.
54710 * Rules (binaries-pie): Define if $(have-fpie) and
54711 $(build-shared).
54712 (binaries-shared): Also filter out $(binaries-pie).
54713 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54714 * nscd/Makefile (others-pie): Add nscd.
54715 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54716 ($(objpfx)nscd): Remove command override.
54717 * login/Makefile (others-pie): Add pt_chown.
54718 ($(objpfx)pt_chown): Remove command override.
54719 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54720 remove command overrides.
54721
547222011-05-13 Ulrich Drepper <drepper@gmail.com>
54723
54724 * libio/tst_putwc.c: Fix error messages.
54725
54726 [BZ #12724]
54727 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54728 currently writing and seek to current position when not.
54729 * libio/Makefile (tests): Add bug-fclose1.
54730 * libio/bug-fclose1.c: New file.
54731
547322011-05-12 Ulrich Drepper <drepper@gmail.com>
54733
54734 [BZ #12511]
54735 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54736 don't set DF_1_NODELETE here.
54737 (do_lookup_x): When entering new entry test for copy relocation
54738 and if necessary set DF_1_NODELETE flag.
54739 * elf/tst-unique4.cc: New file.
54740 * elf/tst-unique4.h: New file.
54741 * elf/tst-unique4lib.cc: New file.
54742 * elf/Makefile: Add rules to build and run tst-unique4.
54743 Patch by Piotr Bury <pbury@goahead.com>.
54744
547452011-05-11 Ulrich Drepper <drepper@gmail.com>
54746
54747 [BZ #12052]
54748 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54749
54750 [BZ #12625]
54751 * misc/mntent_r.c (addmntent): Flush the stream after the output
54752
54753 [BZ #12393]
54754 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54755 (is_trusted_path_normalize): Skip initial colon. Append slash
54756 to empty buffer. Duplicate is_trusted_path code but allow
54757 constructed patch to be prefix.
54758 (is_dst): Allow $ORIGIN followed by /.
54759 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54760 Correct testing of result of is_trusted_path_normalize
54761 (decompose_rpath): Fix warning.
54762
547632011-05-10 Ulrich Drepper <drepper@gmail.com>
54764
54765 [BZ #11257]
54766 * grp/initgroups.c (internal_getgrouplist): When we found the service
54767 list through the initgroups entry in nsswitch.conf do not always
54768 continue on a successful lookup. Don't always use the
54769 __nss_group_database value if it is set.
54770 * nss/nsswitch.conf (initgroups): Change action for successful db
54771 lookup to continue for compatibility.
54772
547732011-05-09 Ulrich Drepper <drepper@gmail.com>
54774
54775 [BZ #11532]
54776 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54777 and CP774 modules.
54778 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54779 and CP774 modules.
54780 * iconvdata/tst-tables.sh: Likewise.
54781 * iconvdata/cp770.c: New file.
54782 * iconvdata/cp771.c: New file.
54783 * iconvdata/cp772.c: New file.
54784 * iconvdata/cp773.c: New file.
54785 * iconvdata/cp774.c: New file.
54786 * iconvdata/testdata/CP770: New file.
54787 * iconvdata/testdata/CP770..UTF8: New file.
54788 * iconvdata/testdata/CP771: New file.
54789 * iconvdata/testdata/CP771..UTF8: New file.
54790 * iconvdata/testdata/CP772: New file.
54791 * iconvdata/testdata/CP772..UTF8: New file.
54792 * iconvdata/testdata/CP773: New file.
54793 * iconvdata/testdata/CP773..UTF8: New file.
54794 * iconvdata/testdata/CP774: New file.
54795 * iconvdata/testdata/CP774..UTF8: New file.
54796
54797 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54798 END CHARMAP line.
54799 * iconvdata/gen-8bit-gap.sh: Likewise.
54800 * iconvdata/gen-8bit.sh: Likewise.
54801
54802 * locale/iso-639.def: Add ary entry.
54803
54804 [BZ #11258]
54805 * locale/C-translit.h.in: Add U20A1 transliteration.
54806
54807 [BZ #12178]
54808 * locale/iso-639.def: Add wae entry.
54809 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54810
54811 [BZ #12545]
54812 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54813 for n.
54814
54815 [BZ #12711]
54816 * locale/C-translit.h.in: Add entry for U20B9.
54817 Patch by pravin.d.s@gmail.com.
54818
548192011-05-08 Ulrich Drepper <drepper@gmail.com>
54820
54821 [BZ #12713]
54822 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54823 ENAMETOOLONG use generic getcwd.
54824 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54825 in rtld. Use *stat64.
54826 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54827 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54828 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54829 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54830 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54831 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54832 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54833 __fstatat64 macros.
54834 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54835 * dirent/rewinddir.c: Add libc_hidden_def.
54836 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54837 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54838
54839 * include/dirent.h (__alloc_dir): Add flags parameter.
54840 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54841 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54842 __alloc_dir.
54843 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54844 from fdopendir if O_CLOEXEC is already set.
54845
548462011-03-15 Alan Modra <amodra@gmail.com>
54847
54848 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54849 l_tls_firstbyte_offset non-zero. Save padding offset in
54850 l_tls_firstbyte_offset for later use.
54851 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54852 freeing static tls block.
54853
548542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54855
54856 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54857 where #ifdef was intended. The intent is to prevent ARG_MAX from
54858 being defined by the kernel headers.
54859
548602011-05-07 Ulrich Drepper <drepper@gmail.com>
54861
54862 [BZ #12734]
54863 * resolv/resolv.h: Define RES_NOTLDQUERY.
54864 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54865 no-tld-query and set RES_NOTLDQUERY.
54866 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54867 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54868 modern BIND to search name as TLD unless forbidden.
54869
548702011-05-07 Petr Baudis <pasky@suse.cz>
54871 Ulrich Drepper <drepper@gmail.com>
54872
54873 [BZ #12393]
54874 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54875 (is_trusted_path): ...to here.
54876 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54877 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54878 using is_trusted_path_normalize() in setuid scripts.
54879
548802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54881
54882 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54883 __BEGIN/__END_DECLS.
54884
548852011-05-06 Ulrich Drepper <drepper@gmail.com>
54886
54887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54888 NSS_STATUS_NOTFOUND if no record was found.
54889
548902011-05-05 Andreas Schwab <schwab@redhat.com>
54891
54892 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54893 (headers-not-in-tirpc): Remove rpc/netdb.h
54894 * resolv/netdb.h: Revert last change.
54895
548962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54897
54898 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54899 circular dependency between libgcc.a and libc.a.
54900
549012011-05-05 Andreas Schwab <schwab@redhat.com>
54902
54903 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54904 * nis/Makefile: Don't install rpcsvc/*.
54905 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54906 instead of <rpc/types.h>.
54907 (MAXHOSTNAMELEN): Define.
54908
549092011-05-03 Andreas Schwab <schwab@redhat.com>
54910
54911 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54912
549132011-04-28 Maciej Babinski <mbabinski@google.com>
54914
54915 [BZ #12714]
54916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54917 gethostbyname4_r when IPv6 results are possible.
54918
549192011-05-02 Ulrich Drepper <drepper@gmail.com>
54920
54921 [BZ #12723]
54922 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54923 _PC_PIPE_BUF handling.
54924
549252011-04-30 Bruno Haible <bruno@clisp.org>
54926
54927 [BZ #12717]
54928 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54929 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54930 to 'int'.
54931 * inet/getnameinfo.c (getnameinfo): Likewise.
54932
549332011-04-29 Ulrich Drepper <drepper@gmail.com>
54934
54935 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54936 to groups setting in database lookup.
54937 * nss/nsswitch.conf: Add initgroups entry.
54938
549392011-04-22 Ulrich Drepper <drepper@gmail.com>
54940
54941 [BZ #12685]
54942 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54943 mode string.
54944 Patch by Eric Blake <eblake@redhat.com>.
54945
549462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54947
54948 * sunrpc/Makefile (need-export-routines): Add svc_run.
54949 (routines): Remove svc_run.
54950 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54951 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54952 * sunrpc/svc_run.c (svc_run): Likewise.
54953 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54954
549552011-04-21 Ulrich Drepper <drepper@gmail.com>
54956
54957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54958 problem in reallocation in last patch.
54959
549602011-04-20 Ulrich Drepper <drepper@gmail.com>
54961
54962 * sunrpc/Makefile: Move inclusion of Rules.
54963
549642011-04-19 Ulrich Drepper <drepper@gmail.com>
54965
54966 * nss/nss_files/files-initgroups.c: New file.
54967 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54968 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54969 _nss_files_initgroups_dyn.
54970
549712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54972
54973 * elf/elf.h (R_ARM_IRELATIVE): Define.
54974
549752011-04-19 Ulrich Drepper <drepper@gmail.com>
54976
54977 * po/ru.po: Update from translation team.
54978
549792011-04-17 Ulrich Drepper <drepper@gmail.com>
54980
54981 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54982 dependencies.
54983
549842011-02-06 Mike Frysinger <vapier@gentoo.org>
54985
54986 [BZ #12653]
54987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54988 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54992
549932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54994
54995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54996 differing bytes.
54997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55000
550012011-04-17 Ulrich Drepper <drepper@gmail.com>
55002
55003 [BZ #12420]
55004 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55005 storing it.
55006 * stdlib/bug-getcontext.c: New file.
55007 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55008
550092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55010
55011 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55012 instructions into .machine "z9-109".
55013 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55014 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55015
550162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55017
55018 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55019 between environment variables and auxiliary vector.
55020
550212011-04-16 Ulrich Drepper <drepper@gmail.com>
55022
55023 * Makefile: Add rules to build linkobj/libc.so.
55024 * include/libc-symbols.h: Define libc_hidden_nolink.
55025 * include/rpc/auth.h: Mark functions which are to be hidden.
55026 * include/rpc/auth_des.h: Likewise.
55027 * include/rpc/auth_unix.h: Likewise.
55028 * include/rpc/clnt.h: Likewise.
55029 * include/rpc/des_crypt.h: Likewise.
55030 * include/rpc/key_prot.h: Likewise.
55031 * include/rpc/pmap_clnt.h: Likewise.
55032 * include/rpc/pmap_prot.h: Likewise.
55033 * include/rpc/pmap_rmt.h: Likewise.
55034 * include/rpc/rpc_msg.h: Likewise.
55035 * include/rpc/svc.h: Likewise.
55036 * include/rpc/svc_auth.h: Likewise.
55037 * include/rpc/xdr.h: Likewise.
55038 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55039 * nss/Makefile: Likewise.
55040 * sunrpc/Makefile: Don't install headers. Build library with normal
55041 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55042 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55043 for the compat linking library. Remove use of INTDEF/INTUSE.
55044 * sunrpc/auth_none.c: Likewise.
55045 * sunrpc/auth_unix.c: Likewise.
55046 * sunrpc/authdes_prot.c: Likewise.
55047 * sunrpc/authuxprot.c: Likewise.
55048 * sunrpc/clnt_gen.c: Likewise.
55049 * sunrpc/clnt_perr.c: Likewise.
55050 * sunrpc/clnt_raw.c: Likewise.
55051 * sunrpc/clnt_simp.c: Likewise.
55052 * sunrpc/clnt_tcp.c: Likewise.
55053 * sunrpc/clnt_udp.c: Likewise.
55054 * sunrpc/clnt_unix.c: Likewise.
55055 * sunrpc/des_crypt.c: Likewise.
55056 * sunrpc/des_soft.c: Likewise.
55057 * sunrpc/get_myaddr.c: Likewise.
55058 * sunrpc/key_call.c: Likewise.
55059 * sunrpc/key_prot.c: Likewise.
55060 * sunrpc/netname.c: Likewise.
55061 * sunrpc/pm_getmaps.c: Likewise.
55062 * sunrpc/pm_getport.c: Likewise.
55063 * sunrpc/pmap_clnt.c: Likewise.
55064 * sunrpc/pmap_prot.c: Likewise.
55065 * sunrpc/pmap_prot2.c: Likewise.
55066 * sunrpc/pmap_rmt.c: Likewise.
55067 * sunrpc/publickey.c: Likewise.
55068 * sunrpc/rpc_cmsg.c: Likewise.
55069 * sunrpc/rpc_common.c: Likewise.
55070 * sunrpc/rpc_dtable.c: Likewise.
55071 * sunrpc/rpc_prot.c: Likewise.
55072 * sunrpc/rpc_thread.c: Likewise.
55073 * sunrpc/rtime.c: Likewise.
55074 * sunrpc/svc.c: Likewise.
55075 * sunrpc/svc_auth.c: Likewise.
55076 * sunrpc/svc_authux.c: Likewise.
55077 * sunrpc/svc_raw.c: Likewise.
55078 * sunrpc/svc_run.c: Likewise.
55079 * sunrpc/svc_simple.c: Likewise.
55080 * sunrpc/svc_tcp.c: Likewise.
55081 * sunrpc/svc_udp.c: Likewise.
55082 * sunrpc/svc_unix.c: Likewise.
55083 * sunrpc/svcauth_des.c: Likewise.
55084 * sunrpc/xcrypt.c: Likewise.
55085 * sunrpc/xdr.c: Likewise.
55086 * sunrpc/xdr_array.c: Likewise.
55087 * sunrpc/xdr_float.c: Likewise.
55088 * sunrpc/xdr_intXX_t.c: Likewise.
55089 * sunrpc/xdr_mem.c: Likewise.
55090 * sunrpc/xdr_rec.c: Likewise.
55091 * sunrpc/xdr_ref.c: Likewise.
55092 * sunrpc/xdr_sizeof.c: Likewise.
55093 * sunrpc/xdr_stdio.c: Likewise.
55094
550952011-04-10 Ulrich Drepper <drepper@gmail.com>
55096
55097 [BZ #12650]
55098 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55099 * sysdeps/ia64/dl-tls.h: Likewise.
55100 * sysdeps/powerpc/dl-tls.h: Likewise.
55101 * sysdeps/s390/dl-tls.h: Likewise.
55102 * sysdeps/sh/dl-tls.h: Likewise.
55103 * sysdeps/sparc/dl-tls.h: Likewise.
55104 * sysdeps/x86_64/dl-tls.h: Likewise.
55105 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55106
551072011-03-14 Andreas Schwab <schwab@redhat.com>
55108
55109 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55110 rpath element also skip the following colon.
55111 (expand_dynamic_string_token): Add is_path parameter and pass
55112 down to DL_DST_REQUIRED and _dl_dst_substitute.
55113 (decompose_rpath): Call expand_dynamic_string_token with
55114 non-zero is_path. Ignore empty rpaths.
55115 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55116 with zero is_path.
55117
551182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55119
55120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55121 Make cancelable.
55122
551232011-04-09 Ulrich Drepper <drepper@gmail.com>
55124
55125 [BZ #12655]
55126 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55127 Patch by Filipe David Manana <fdmanana@apache.org>.
55128
551292011-04-07 Andreas Schwab <schwab@redhat.com>
55130
55131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55132 Maintain aligned stack.
55133 (CHECK_RSP): Remove unused macro.
55134
551352011-04-03 Ulrich Drepper <drepper@gmail.com>
55136
55137 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55139
551402011-04-02 Ulrich Drepper <drepper@gmail.com>
55141
55142 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55143
55144 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55145
551462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55147
55148 [BZ #12518]
55149 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55150 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55151 * sysdeps/x86_64/memmove.c: New file.
55152 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55153 (memcpy): Renamed to ...
55154 (__new_memcpy): This.
55155 (memcpy): Provide GLIBC_2_14 memcpy.
55156 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55157 (memcpy): Provide GLIBC_2_2_5 memcpy.
55158
551592011-04-01 Ulrich Drepper <drepper@gmail.com>
55160
55161 [BZ #12631]
55162 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55163
551642011-03-30 Andreas Schwab <schwab@redhat.com>
55165
55166 * misc/syncfs.c: New file.
55167 * misc/Makefile (routines): Add syncfs.
55168 * posix/unistd.h: Declare syncfs.
55169 * sysdeps/unix/syscalls.list: Add syncfs.
55170
551712011-04-01 Andreas Schwab <schwab@redhat.com>
55172
55173 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55174 open_by_handle_at.
55175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55180 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55182
551832011-04-01 Ulrich Drepper <drepper@gmail.com>
55184
55185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55187 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55192
55193 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55194 sync_file_range.c with -fexceptions.
55195 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55196 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55197 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55198 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55199 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55200 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55202 sync_file_range as cancellation point
55203 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55204 now a wrapper around __call_sync_file_range with cancellation handling.
55205 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55206 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55207 function name to __call_sync_file_range.
55208 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55209 Add call_sync_file_range.
55210
552112011-04-01 Andreas Schwab <schwab@redhat.com>
55212
55213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55214 bits/timex.h.
55215
552162011-04-01 Ulrich Drepper <drepper@gmail.com>
55217
55218 * iconv/iconv.h: Fix typo in comment.
55219 * io/fcntl.h: Likewise.
55220 * libio/stdio.h: Likewise.
55221 * posix/spawn.h: Likewise.
55222 * posix/unistd.h: Likewise.
55223 * stdlib/stdlib.h: Likewise.
55224 * time/time.h: Likewise.
55225 * wcsmbs/wchar.h: Likewise.
55226
55227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55228 open_by_handle): Add.
55229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55230 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55231 Augment a few comments.
55232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55237 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55238 open_by_handle.
55239
55240 * io/fcntl.h (AT_EMPTY_PATH): Define.
55241
552422011-03-30 Ulrich Drepper <drepper@gmail.com>
55243
55244 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55245 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55246 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55247 to...
55248 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55249 * Versions.def: Add GLIBC_2.14.
55250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55251 Export.
55252
552532011-03-22 Ulrich Drepper <drepper@gmail.com>
55254
55255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55256 round counter.
55257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55258
552592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55260
55261 [BZ #12597]
55262 * string/test-strncmp.c (do_page_test): New function.
55263 (check2): Likewise.
55264 (test_main): Call check2.
55265 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55266
552672011-03-20 Ulrich Drepper <drepper@gmail.com>
55268
55269 [BZ #12587]
55270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55271 Handle cache information in CPU leaf 4.
55272 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55273
552742011-03-18 Ulrich Drepper <drepper@gmail.com>
55275
55276 [BZ #12583]
55277 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55278 character representation.
55279 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55280
552812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55282
55283 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55284 END(__isnan) to END(__isnanf) to match function entry point/label
55285 EALIGN(__isnanf,...).
55286
552872011-03-10 Jakub Jelinek <jakub@redhat.com>
55288
55289 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55290
552912011-03-10 Ulrich Drepper <drepper@gmail.com>
55292
55293 [BZ #12510]
55294 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55295 copy from the symbol referenced in the relocation to initialize the
55296 used variable.
55297 Patch by Piotr Bury <pbury@goahead.com>.
55298 * elf/Makefile: Add rules to build and tst-unique3.
55299 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55300 * elf/tst-unique3.cc: New file.
55301 * elf/tst-unique3.h: New file.
55302 * elf/tst-unique3lib.cc: New file.
55303 * elf/tst-unique3lib2.cc: New file.
55304
55305 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55306
553072011-03-10 Mike Frysinger <vapier@gentoo.org>
55308
55309 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55310 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55311 to _start.
55312
553132011-03-06 Ulrich Drepper <drepper@gmail.com>
55314
55315 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55316 to-be-loaded object along a path to loader is ld.so.
55317
553182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55319 Ulrich Drepper <drepper@gmail.com>
55320
55321 * sysdeps/x86_64/memset.S: After aligning destination, code
55322 branches to different locations depending on the value of
55323 misalignment, when multiarch is enabled. Fix this.
55324
553252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55326
55327 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55328 Set _x86_64_preferred_memory_instruction for AMD processsors.
55329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55330 Set bit_Prefer_SSE_for_memop for AMD processors.
55331
553322011-03-04 Ulrich Drepper <drepper@gmail.com>
55333
55334 * libio/fmemopen.c (fmemopen): Optimize a bit.
55335
553362011-03-03 Andreas Schwab <schwab@redhat.com>
55337
55338 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55339
553402011-03-03 Roland McGrath <roland@redhat.com>
55341
55342 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55343
553442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55345
55346 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55347 __bzero_ultra1 instead of __memset_ultra1.
55348
553492011-02-23 Andreas Schwab <schwab@redhat.com>
55350 Ulrich Drepper <drepper@gmail.com>
55351
55352 [BZ #12509]
55353 * include/link.h (struct link_map): Add l_orig_initfini.
55354 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55355 returning unsuccessfully.
55356 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55357 close of a file loaded at startup, restore the original l_initfini
55358 list.
55359 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55360 list, store the pointer.
55361 * elf/Makefile ($(objpfx)noload-mem): New rule.
55362 (noload-ENV): Define.
55363 (tests): Add $(objpfx)noload-mem.
55364 * elf/noload.c: Include <memcheck.h>.
55365 (main): Call mtrace. Close all opened handles.
55366
553672011-02-17 Andreas Schwab <schwab@redhat.com>
55368
55369 [BZ #12454]
55370 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55371 dependencies are missing.
55372
553732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55374
55375 Fix __if_freereq crash: Unlike the generic version which uses free,
55376 Hurd needs munmap.
55377 * sysdeps/mach/hurd/ifreq.h: New file.
55378
553792011-01-27 Petr Baudis <pasky@suse.cz>
55380 Ulrich Drepper <drepper@gmail.com>
55381
55382 [BZ 12445]#
55383 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55384 to extend_alloca().
55385 * stdio-common/bug23.c: New file.
55386 * stdio-common/Makefile (tests): Add bug23.
55387
553882010-09-28 Andreas Schwab <schwab@redhat.com>
55389 Ulrich Drepper <drepper@gmail.com>
55390
55391 [BZ #12489]
55392 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55393 before performing relro protection. At old place add assertion
55394 to make sure nothing changed.
55395
553962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55397 Glauber de Oliveira Costa <glommer@gmail.com>
55398
55399 * elf/elf.h: Add new ARM TLS relocs.
55400
554012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55402
55403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55404 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55405 cast from r3.
55406 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55407 'tests' variable.
55408 * sysdeps/wordsize-64/tst-writev.c: New file.
55409
554102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55411
55412 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55413 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55414 insns in _dl_start to prevent a TOC reference before relocs are
55415 resolved.
55416
554172011-02-15 Ulrich Drepper <drepper@gmail.com>
55418
55419 [BZ #12469]
55420 * Makeconfig: Remove RANLIB definition.
55421 * Makerules: Don't use RANLIB.
55422 * aclocal.m4: Remove ranlib test.
55423 * configure.in: No need to check for ranlib.
55424 * elf/rtld-Rules: Don't use RANLIB.
55425
554262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55427
55428 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55429 protection macro.
55430 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55431 inclusion protection macro.
55432
55433 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55434 SIGRTMIN and SIGRTMAX and print information in that case only when
55435 SIGRTMIN is defined.
55436
554372011-02-11 Jakub Jelinek <jakub@redhat.com>
55438
55439 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55440 arginfo fn returning -1.
55441
55442 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55443 and thousands string is zero terminated.
55444
554452011-02-03 Andreas Schwab <schwab@redhat.com>
55446
55447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55448 sysdeps/unix/sysv/linux/bits/socket.h.
55449
554502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55451
55452 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55453 (__CPU_COUNT): Remove old macros.
55454 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55455 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55456 (__CPU_ALLOC, __CPU_FREE): Add macros.
55457 (__sched_cpualloc, __sched_cpufree): Add declarations.
55458
554592011-02-05 Ulrich Drepper <drepper@gmail.com>
55460
55461 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55462 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55463 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55464 (readdhstai): Return value of addhstaiX call.
55465 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55466 (addgrbyX): Return value returned by cache_addgr.
55467 (readdgrbyname): Return value returned by addgrbyX.
55468 (readdgrbygid): Likewise.
55469 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55470 (addpwbyX): Return value returned by cache_addpw.
55471 (readdpwbyname): Return value returned by addhstbyX.
55472 (readdpwbyuid): Likewise.
55473 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55474 (addservbyX): Return value returned by cache_addserv.
55475 (readdservbyname): Return value returned by addservbyX:
55476 (readdservbyport): Likewise.
55477 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55478 (addhstbyX): Return value returned by cache_addhst.
55479 (readdhstbyname): Return value returned by addhstbyX.
55480 (readdhstbyaddr): Likewise.
55481 (readdhstbynamev6): Likewise.
55482 (readdhstbyaddrv6): Likewise.
55483 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55484 (readdinitgroups): Return value returned by addinitgroupsX.
55485 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55486 (prune_cache): Keep track of timeout value of re-added entries.
55487 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55488 * nscd/nscd.h: Adjust prototypes of readd* functions.
55489
554902011-02-04 Roland McGrath <roland@redhat.com>
55491
55492 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55493 (nis_stats): Likewise.
55494 * nis/nis_modify.c (nis_modify): Likewise.
55495 * nis/nis_remove.c (nis_remove): Likewise.
55496 * nis/nis_add.c (nis_add): Likewise.
55497
55498 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55499
55500 * posix/fnmatch_loop.c: Add some consts.
55501
55502 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55503
555042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55505
55506 [BZ #12460]
55507 * config.make.in (config-cflags-novzeroupper): Define.
55508 * configure.in: Substitute libc_cv_cc_novzeroupper.
55509 * elf/Makefile (AVX-CFLAGS): Define.
55510 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55511 (CFLAGS-tst-auditmod4a.c): Likewise.
55512 (CFLAGS-tst-auditmod4b.c): Likewise.
55513 (CFLAGS-tst-auditmod6b.c): Likewise.
55514 (CFLAGS-tst-auditmod6c.c): Likewise.
55515 (CFLAGS-tst-auditmod7b.c): Likewise.
55516 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55517
555182011-02-02 Ulrich Drepper <drepper@gmail.com>
55519
55520 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55521 function to the callback.
55522 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55523
555242011-02-02 Andreas Schwab <schwab@redhat.com>
55525
55526 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55527 of errno.
55528
555292011-01-19 Ulrich Drepper <drepper@gmail.com>
55530
55531 [BZ #11724]
55532 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55533 of constructors.
55534 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55535 of destructors.
55536 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55537
55538 [BZ #11724]
55539 * elf/Makefile: Add rules to build and run new test.
55540 * elf/tst-initorder.c: New file.
55541 * elf/tst-initorder.exp: New file.
55542 * elf/tst-initordera1.c: New file.
55543 * elf/tst-initordera2.c: New file.
55544 * elf/tst-initordera3.c: New file.
55545 * elf/tst-initordera4.c: New file.
55546 * elf/tst-initorderb1.c: New file.
55547 * elf/tst-initorderb2.c: New file.
55548 * elf/tst-order-a1.c: New file.
55549 * elf/tst-order-a2.c: New file.
55550 * elf/tst-order-a3.c: New file.
55551 * elf/tst-order-a4.c: New file.
55552 * elf/tst-order-b1.c: New file.
55553 * elf/tst-order-b2.c: New file.
55554 * elf/tst-order-main.c: New file.
55555 New test case by George Gensure <werkt0@gmail.com>.
55556
555572010-10-01 Andreas Schwab <schwab@redhat.com>
55558
55559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55560 decoding ACE if AI_CANONIDN.
55561
555622011-01-18 Ulrich Drepper <drepper@gmail.com>
55563
55564 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55565
555662011-01-17 Ulrich Drepper <drepper@gmail.com>
55567
55568 * version.h (RELEASE): Bump for 2.13 release.
55569 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55570
55571 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55572
55573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55574 MADV_NOHUGEPAGE.
55575 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55581
55582 * posix/getconf.c: Update copyright year.
55583 * catgets/gencat.c: Likewise.
55584 * csu/version.c: Likewise.
55585 * debug/catchsegv.sh: Likewise.
55586 * debug/xtrace.sh: Likewise.
55587 * elf/ldconfig.c: Likewise.
55588 * elf/ldd.bash.in: Likewise.
55589 * elf/sprof.c (print_version): Likewise.
55590 * iconv/iconv_prog.c: Likewise.
55591 * iconv/iconvconfig.c: Likewise.
55592 * locale/programs/locale.c: Likewise.
55593 * locale/programs/localedef.c: Likewise.
55594 * malloc/memusage.sh: Likewise.
55595 * malloc/mtrace.pl: Likewise.
55596 * nscd/nscd.c (print_version): Likewise.
55597 * nss/getent.c: Likewise.
55598
55599 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55600 PF_CAIF, and PF_ALG.
55601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55602
556032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55604
55605 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55606 (modules-names): Use them.
55607 (ifunc-test-modules, ifunc-pie-tests): Define.
55608 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55609 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55610 (test-extras): Likewise.
55611 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55612 $(compile-command.c).
55613 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55614 (all-built-dso): Define.
55615 (check-textrel.out, check-execstack.out): Depend on it.
55616
55617 * configure.in: Don't override --enable-multi-arch.
55618
556192011-01-15 Ulrich Drepper <drepper@gmail.com>
55620
55621 [BZ #6812]
55622 * nscd/hstcache.c (tryagain): Define.
55623 (cache_addhst): Return tryagain not notfound for temporary errors.
55624 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55625 failed.
55626
556272011-01-14 Ulrich Drepper <drepper@gmail.com>
55628
55629 [BZ #10563]
55630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55631 to make the syscall.
55632 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55633
55634 [BZ #12378]
55635 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55636 and fall back to matching as normal character if the string ends before
55637 the matching ']' is found. This is what POSIX requires.
55638 * posix/testfnm.c: Adjust test result.
55639 * posix/globtest.sh: Adjust test result. Add new test.
55640 * posix/tst-fnmatch.input: Likewise.
55641 * posix/tst-fnmatch2.c: Add new test.
55642
556432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55644
55645 * elf/Makefile (check-execstack): Revert last change. Depend on
55646 check-execstack.h.
55647 (check-execstack.h): New target.
55648 (generated): Add check-execstack.h.
55649 * elf/check-execstack.c: Include "check-execstack.h".
55650 (main): Revert last change.
55651 (handle_file): Return zero if GNU_STACK is absent and
55652 DEFAULT_STACK_PERMS doesn't include PF_X.
55653
556542011-01-13 Ulrich Drepper <drepper@gmail.com>
55655
55656 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55657 in child fails because the descriptor is already closed.
55658 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55659 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55661
55662 [BZ #12397]
55663 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55664 syscall.
55665
55666 [BZ #10484]
55667 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55668 temporary buffer used to handle multi lookups locally.
55669 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55670
556712011-01-12 Ulrich Drepper <drepper@gmail.com>
55672
55673 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55674 loader is ld.so.
55675
556762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55677
55678 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55679 alignment for SSE2.
55680
556812011-01-12 Ulrich Drepper <drepper@gmail.com>
55682
55683 [BZ #12394]
55684 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55685 characters. When rounding increased number of integer digits recompute
55686 number of groups.
55687 * stdio-common/tst-grouping.c: New file.
55688 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55689
556902011-01-09 Ulrich Drepper <drepper@gmail.com>
55691
55692 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55693 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55694
55695 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55696 void.
55697 * bits/select.h: Likewise.
55698
556992011-01-08 Ulrich Drepper <drepper@gmail.com>
55700
55701 * po/ja.po: Update from translation team.
55702
557032011-01-04 David S. Miller <davem@sunset.davemloft.net>
55704
55705 [BZ #11155]
55706 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55707 implementation just like for lxstat, fxstatat, et al.
55708
557092010-12-27 Jim Meyering <meyering@redhat.com>
55710
55711 [BZ #12348]
55712 * posix/regexec.c (build_trtable): Return failure indication upon
55713 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55714
557152010-12-25 Ulrich Drepper <drepper@gmail.com>
55716
55717 [BZ #12201]
55718 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55719 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55720 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55721 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55722
55723 [BZ #12207]
55724 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55725
55726 [BZ #12204]
55727 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55728 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55729
557302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55731
55732 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55733 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55734 script has SORT_BY_INIT_PRIORITY.
55735 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55736 NO_CTORS_DTORS_SECTIONS is defined.
55737 * elf/soinit.c: Likewise.
55738 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55739 NO_CTORS_DTORS_SECTIONS is defined.
55740 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55741 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55742 * sysdeps/sh/init-first.c: Likewise.
55743 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55744
557452010-12-24 Ulrich Drepper <drepper@gmail.com>
55746
55747 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55748 always use the slow path.
55749
557502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55751
55752 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55753 similar rule which adds the sysdep directories to the header search in
55754 order to pick up the correct platform stackinfo.h.
55755 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55756 perform test if it is, otherwise return successfully without testing.
55757 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55758 DEFAULT_STACK_PERMS define in stackinfo.h.
55759 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55760 defined in stackinfo.h.
55761 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55762 DEFAULT_STACK_PERMS defined in stackinfo.h.
55763 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55764 * sysdeps/ia64/stackinfo.h: Likewise.
55765 * sysdeps/s390/stackinfo.h: Likewise.
55766 * sysdeps/sh/stackinfo.h: Likewise.
55767 * sysdeps/sparc/stackinfo.h: Likewise.
55768 * sysdeps/x86_64/stackinfo.h: Likewise.
55769 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55770 PF_X for powerpc64. Retain PF_X for powerpc32.
55771
557722010-12-19 Ulrich Drepper <drepper@gmail.com>
55773
55774 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55775 accurately.
55776 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55777 GETDENTS_64BIT_ALIGNED.
55778
557792010-12-14 Ulrich Drepper <dreper@gmail.com>
55780
55781 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55782
557832010-12-10 Andreas Schwab <schwab@redhat.com>
55784
55785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55786 _GNU_SOURCE.
55787
55788 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55789 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55790 Remove __restrict.
55791 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55792 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55793
557942010-12-09 Ulrich Drepper <drepper@gmail.com>
55795
55796 [BZ #11655]
55797 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55798 are initialized.
55799
558002010-12-09 Jakub Jelinek <jakub@redhat.com>
55801
55802 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55803
558042010-12-03 Ulrich Drepper <drepper@gmail.com>
55805
55806 * po/it.po: Update from translation team.
55807
558082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55809
55810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55811 unused codes.
55812
558132010-11-30 Ulrich Drepper <drepper@gmail.com>
55814
55815 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55816
558172010-11-24 Andreas Schwab <schwab@redhat.com>
55818
55819 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55820 specially.
55821 (gaih_getanswer_slice): Likewise.
55822
558232010-10-20 Jakub Jelinek <jakub@redhat.com>
55824
55825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55826
558272010-05-31 Petr Baudis <pasky@suse.cz>
55828
55829 [BZ #11149]
55830 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55831 silently even in the chroot mode.
55832
558332010-11-22 Ulrich Drepper <drepper@gmail.com>
55834
55835 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55836 last patch a bit. Pretty printing
55837
558382010-05-31 Petr Baudis <pasky@suse.cz>
55839
55840 [BZ #10085]
55841 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55842 initialization of skip_initgroups_dyn.
55843
558442010-11-19 Ulrich Drepper <drepper@gmail.com>
55845
55846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55848
558492010-11-16 Ulrich Drepper <drepper@gmail.com>
55850
55851 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55852
558532010-11-11 Andreas Schwab <schwab@redhat.com>
55854
55855 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55856 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55857 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55858 ($(objpfx)tst-fnmatch-mem): New rule.
55859 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55860 * posix/tst-fnmatch.c (main): Call mtrace.
55861
558622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55863
55864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55865 Support Intel processor model 6 and model 0x2c.
55866
558672010-11-10 Luis Machado <luisgpm@br.ibm.com>
55868
55869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55870 signed comparison.
55871
558722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55873
55874 [BZ #12205]
55875 * string/test-strncasecmp.c (check_result): New function.
55876 (do_one_test): Use it.
55877 (check1): New function.
55878 (test_main): Use it.
55879 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55880 Support strcasecmp and strncasecmp.
55881
558822010-11-08 Ulrich Drepper <drepper@gmail.com>
55883
55884 [BZ #12194]
55885 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55887
558882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55889
55890 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55891 IFUNC support.
55892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55893 memset-x86-64.
55894 * sysdeps/x86_64/multiarch/bzero.S: New file.
55895 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55896 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55897 * sysdeps/x86_64/multiarch/memset.S: New file.
55898 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55900 Set bit_Prefer_SSE_for_memop for Intel processors.
55901 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55902 Define.
55903 (index_Prefer_SSE_for_memop): Define.
55904 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55905
559062010-11-04 Luis Machado <luisgpm@br.ibm.com>
55907
55908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55909 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55910
559112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55912
55913 [BZ #12191]
55914 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55915 (__x86_64_raw_data_cache_size_half): Likewise.
55916 (__x86_64_raw_shared_cache_size): Likewise.
55917 (__x86_64_raw_shared_cache_size_half): Likewise.
55918
55919 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55920 (__x86_64_raw_data_cache_size_half): Likewise.
55921 (__x86_64_raw_shared_cache_size): Likewise.
55922 (__x86_64_raw_shared_cache_size_half): Likewise.
55923 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55924 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55925 and __x86_64_raw_shared_cache_size_half. Round
55926 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55927 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55928 to multiple of 256 bytes.
55929
559302010-11-03 Ulrich Drepper <drepper@gmail.com>
55931
55932 [BZ #12167]
55933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55934 of inacessible symlinks. Verify result of symlink before returning it.
55935 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55936 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55937
559382010-10-28 Erich Ritz <erichritz@gmail.com>
55939
55940 * math/math.h (isinf): Fix typo in comment.
55941
559422010-11-01 Ulrich Drepper <drepper@gmail.com>
55943
55944 * po/da.po: Update from translation team.
55945
559462010-10-26 Ulrich Drepper <drepper@gmail.com>
55947
55948 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55949 is added to the list.
55950
559512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55952 Ulrich Drepper <drepper@gmail.com>
55953
55954 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55955 the global list here. Move code to...
55956 (_dl_add_to_namespace_list): ...here. New function.
55957 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55958 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55959 * elf/dl-load.c (lose): Don't remove the element from the list.
55960 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55961 (_dl_map_object): Likewise.
55962
559632010-10-25 Ulrich Drepper <drepper@gmail.com>
55964
55965 [BZ #12159]
55966 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55967 into all bytes of SSE register.
55968 Patch by Richard Li <richardpku@gmail.com>.
55969
559702010-10-24 Ulrich Drepper <drepper@gmail.com>
55971
55972 [BZ #12140]
55973 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55974 perturbing.
55975
559762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55977
55978 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55979 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55980 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55983 submachine.
55984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55985
559862010-10-22 Andreas Schwab <schwab@redhat.com>
55987
55988 * include/dlfcn.h (__RTLD_SECURE): Define.
55989 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55990 mode & __RTLD_SECURE instead.
55991 (open_path): Rename preloaded parameter to secure.
55992 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55993 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55994 * elf/dl-deps.c (openaux): Likewise.
55995 * elf/rtld.c (struct map_args): Remove is_preloaded.
55996 (map_doit): Don't use it.
55997 (dl_main): Likewise.
55998 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55999 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56000
560012010-09-09 Andreas Schwab <schwab@redhat.com>
56002
56003 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56004 (sysd-rules-targets): Remove duplicates.
56005 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56006 rtld-%.$o dependency.
56007
560082010-10-18 Andreas Schwab <schwab@redhat.com>
56009
56010 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56011 _dl_map_object do it.
56012
560132010-10-19 Ulrich Drepper <drepper@gmail.com>
56014
56015 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56016 fast fma builtins, define the macros in the C99 standard.
56017 (FP_FAST_FMAF): Likewise.
56018 (FP_FAST_FMAL): Likewise.
56019 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56020
56021 * bits/mathdef.h: Update copyright year.
56022 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56023
560242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56025
56026 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56027 builtins, define the macros in the C99 standard.
56028 (FP_FAST_FMAF): Likewise.
56029 (FP_FAST_FMAL): Likewise.
56030 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56031 multiply/add.
56032 (FP_FAST_FMAF): Likewise.
56033
560342010-10-15 Jakub Jelinek <jakub@redhat.com>
56035
56036 [BZ #3268]
56037 * math/libm-test.inc (fma_test): Some new testcases.
56038 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56040 y and infinite z. Do multiplication by C already in long double.
56041 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56043 y and infinite z. Do bitwise or of inexact bit into u.d.
56044 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56045 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56046 * sysdeps/i386/fpu/s_fma.S: Removed.
56047 * sysdeps/i386/fpu/s_fmal.S: Removed.
56048
560492010-10-16 Jakub Jelinek <jakub@redhat.com>
56050
56051 [BZ #3268]
56052 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56054 computation is not scheduled after fetestexcept. Fix value
56055 of minimum denormal long double.
56056
560572010-10-14 Jakub Jelinek <jakub@redhat.com>
56058
56059 [BZ #3268]
56060 * math/libm-test.inc (fma_test): Add some more tests.
56061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56062 correctly.
56063
560642010-10-15 Andreas Schwab <schwab@redhat.com>
56065
56066 * scripts/data/localplt-s390-linux-gnu.data: New file.
56067 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56068
560692010-10-13 Jakub Jelinek <jakub@redhat.com>
56070
56071 [BZ #3268]
56072 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56073 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56074 instead of dbl-64.
56075 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56076 inlines.
56077 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56079 if one of x and y is very large and the other is subnormal.
56080 * sysdeps/s390/fpu/s_fmaf.c: New file.
56081 * sysdeps/s390/fpu/s_fma.c: New file.
56082 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56083 * sysdeps/powerpc/fpu/s_fma.S: New file.
56084 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56085 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56086 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56087
560882010-10-12 Jakub Jelinek <jakub@redhat.com>
56089
56090 [BZ #3268]
56091 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56092 fma tests.
56093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56094 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56095 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56096 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56097 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56098 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56099 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56100
561012010-10-12 Ulrich Drepper <drepper@redhat.com>
56102
56103 [BZ #12078]
56104 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56105 * posix/bug-regex31.input: Add test case.
56106
561072010-10-11 Ulrich Drepper <drepper@gmail.com>
56108
56109 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56110 * posix/bug-regex31.input: New file.
56111
56112 [BZ #12078]
56113 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56114 (parse_sub_exp): Fix last change, use postorder.
56115
56116 * posix/bug-regex31.c: New file.
56117 * posix/Makefile: Add rules to build and run bug-regex31.
56118
56119 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56120
56121 [BZ #12078]
56122 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56123
56124 [BZ #12108]
56125 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56126 to have entries in sys_siglist.
56127
56128 [BZ #12093]
56129 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56130 be NULL.
56131
561322010-10-07 Jakub Jelinek <jakub@redhat.com>
56133
56134 [BZ #3268]
56135 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56136 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56137 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56138 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56139 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56140 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56141 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56142 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56143 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56144 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56145 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56146 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56147 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56148 * math/ftestexcept.c (fetestexcept): Likewise.
56149 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56150 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56151 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56152 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56153 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56154 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56155 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56156
561572010-10-11 Ulrich Drepper <drepper@gmail.com>
56158
56159 [BZ #12107]
56160 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56161 newline.
56162
561632010-10-06 Ulrich Drepper <drepper@gmail.com>
56164
56165 * string/bug-strstr1.c: New file.
56166 * string/Makefile: Add rules to build and run bug-strstr1.
56167
561682010-10-05 Eric Blake <eblake@redhat.com>
56169
56170 [BZ #12092]
56171 * string/str-two-way.h (two_way_long_needle): Always clear memory
56172 when skipping input due to the shift table.
56173
561742010-10-03 Ulrich Drepper <drepper@gmail.com>
56175
56176 [BZ #12005]
56177 * malloc/mcheck.c: Handle large requests.
56178
56179 [BZ #12077]
56180 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56181 for strncmp and strncasecmp.
56182 * string/stratcliff.c: Add tests for strcmp and strncmp.
56183 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56184
561852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56186
56187 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56188 __set_fpscr.
56189
561902010-09-30 Andreas Jaeger <aj@suse.de>
56191
56192 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56193 (CGROUP_SUPER_MAGIC): Define.
56194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56195 Handle btrfs and cgroup file systems.
56196 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56197 Likewise.
56198
561992010-09-27 Luis Machado <luisgpm@br.ibm.com>
56200
56201 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56202 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56203
562042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56205
56206 [BZ #12067]
56207 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56208 trying to locate the ELF header.
56209
562102010-09-27 Andreas Schwab <schwab@redhat.com>
56211
56212 [BZ #11611]
56213 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56214 Mask out sign-bit copies when constructing f_fsid.
56215
562162010-09-24 Petr Baudis <pasky@suse.cz>
56217
56218 * debug/stack_chk_fail_local.c: Add missing licence exception.
56219 * debug/warning-nop.c: Likewise.
56220
562212010-09-15 Joseph Myers <joseph@codesourcery.com>
56222
56223 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56224 implementing getdents64 using getdents syscall, set d_type if
56225 __ASSUME_GETDENTS32_D_TYPE.
56226
562272010-09-16 Andreas Schwab <schwab@redhat.com>
56228
56229 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56230 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56231
562322010-09-21 Ulrich Drepper <drepper@redhat.com>
56233
56234 [BZ #12037]
56235 * posix/unistd.h: Undo change of feature selection for ftruncate from
56236 2010-01-11.
56237
562382010-09-20 Ulrich Drepper <drepper@redhat.com>
56239
56240 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56241 detection.
56242
562432010-09-20 Andreas Schwab <schwab@redhat.com>
56244
56245 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56246 fanotify_mark.
56247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56248
562492010-09-14 Andreas Schwab <schwab@redhat.com>
56250
56251 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56252 variables after CHECK_SP call.
56253 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56254
562552010-09-13 Andreas Schwab <schwab@redhat.com>
56256 Ulrich Drepper <drepper@redhat.com>
56257
56258 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56259 re-relocationg ld.so.
56260 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56261 _dl_init_paths call.
56262 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56263 here anymore.
56264
562652010-09-14 Ulrich Drepper <drepper@redhat.com>
56266
56267 * resolv/res_init.c (__res_vinit): Count the default server we added.
56268
562692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56270 Ulrich Drepper <drepper@redhat.com>
56271
56272 [BZ #11968]
56273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56274 (____longjmp_chk): Use %ebx for saving value across system call.
56275 Add unwind info.
56276
562772010-09-06 Andreas Schwab <schwab@redhat.com>
56278
56279 * manual/Makefile: Don't mix pattern rules with normal rules.
56280
562812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56282
56283 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56284 operation.
56285 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56286 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56287 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56288 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56290 Likewise.
56291
562922010-09-04 Ulrich Drepper <drepper@redhat.com>
56293
56294 [BZ #11979]
56295 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56296 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56297
562982010-09-02 Ulrich Drepper <drepper@redhat.com>
56299
56300 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56301 * sysdeps/x86_64/addmul_1.S: Likewise.
56302 * sysdeps/x86_64/lshift.S: Likewise.
56303 * sysdeps/x86_64/mul_1.S: Likewise.
56304 * sysdeps/x86_64/rshift.S: Likewise.
56305 * sysdeps/x86_64/sub_n.S: Likewise.
56306 * sysdeps/x86_64/submul_1.S: Likewise.
56307
563082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56309
56310 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56311 Define __sched_param instead of SCHED_* and sched_param when
56312 <bits/sched.h> is included with __need_schedparam defined.
56313 * bits/sched.h [__need_schedparam]
56314 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56315 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56316 (__defined_schedparam): Define to 1.
56317 (__sched_param): New structure, identical to sched_param.
56318 (__need_schedparam): Undefine.
56319
563202010-08-31 Mike Frysinger <vapier@gentoo.org>
56321
56322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56323 (epoll_create1): Declare.
56324
56325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56326
563272010-08-31 Andreas Schwab <schwab@redhat.com>
56328
56329 [BZ #7066]
56330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56331 shifting retval into place.
56332
563332010-09-01 Ulrich Drepper <drepper@redhat.com>
56334
56335 * nis/rpcsvc/nis.h: Update copyright notice.
56336 * nis/rpcsvc/nis.x: Likewise.
56337 * nis/rpcsvc/nis_callback.h: Likewise.
56338 * nis/rpcsvc/nis_callback.x: Likewise.
56339 * nis/rpcsvc/nis_object.x: Likewise.
56340 * nis/rpcsvc/nis_tags.h: Likewise.
56341 * nis/rpcsvc/yp.h: Likewise.
56342 * nis/rpcsvc/yp.x: Likewise.
56343 * nis/rpcsvc/ypupd.h: Likewise.
56344 * nis/yp_xdr.c: Likewise.
56345 * nis/ypupdate_xdr.c: Likewise.
56346
56347 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56348 mainly the body of pmap_getport. Add parameters to specify timeouts.
56349 (pmap_getport): Use __libc_rpc_getport.
56350 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56351 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56352 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56353
563542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56355
56356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56357 fanotify_mark.
56358
563592010-08-27 Roland McGrath <roland@redhat.com>
56360
56361 * sysdeps/i386/i686/multiarch/Makefile
56362 (CFLAGS-varshift.c): New variable.
56363
563642010-08-27 Ulrich Drepper <drepper@redhat.com>
56365
56366 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56367 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56368
56369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56370
56371 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56372
563732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56374
56375 * sysdeps/x86_64/strlen.S: Unroll the loop.
56376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56377 strlen-sse2 strlen-sse2-bsf.
56378 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56379 __strlen_no_bsf if bit_Slow_BSF is set.
56380 (__strlen_sse42): Removed.
56381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56382 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56383
563842010-08-25 Roland McGrath <roland@redhat.com>
56385
56386 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56387 * sysdeps/x86_64/multiarch/varshift.c: New file.
56388 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56389 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56390 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56391 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56392
563932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56394
56395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56396 strlen-sse2 strlen-sse2-bsf.
56397 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56398 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56399 (__strlen_sse2): Removed.
56400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56401 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56403 bit_Slow_BSF for Atom.
56404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56405 (index_Slow_BSF): Define.
56406 (HAS_SLOW_BSF): Define.
56407
564082010-08-25 Ulrich Drepper <drepper@redhat.com>
56409
56410 [BZ #10851]
56411 * resolv/res_init.c (__res_vinit): When no server address at all
56412 is given default to loopback.
56413
564142010-08-24 Roland McGrath <roland@redhat.com>
56415
56416 * configure.in: Remove config-name.h generation.
56417 * configure: Regenerated.
56418 * config-name.in: File removed.
56419 * scripts/config-uname.sh: New file.
56420 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56421 ($(objdir)config-name.h): New target.
56422
56423 * sunrpc/rpc_parse.h: Avoid nested comment.
56424
564252010-08-24 Richard Henderson <rth@redhat.com>
56426 Ulrich Drepper <drepper@redhat.com>
56427 H.J. Lu <hongjiu.lu@intel.com>
56428
56429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56431 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56432 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56433 _mm_alignr_epi8 with _mm_loadu_si128.
56434 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56435 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56436 (__m128i_shift_right): Removed.
56437 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56438 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56439 * sysdeps/x86_64/multiarch/varshift.h: New file.
56440 * sysdeps/x86_64/multiarch/varshift.S: New file.
56441
564422010-08-21 Mike Frysinger <vapier@gentoo.org>
56443
56444 * configure.in: Move assembler checks to before sysdep dir checking.
56445
564462010-08-20 Petr Baudis <pasky@suse.cz>
56447
56448 * LICENSES: Sync the sunrpc license.
56449
564502010-08-19 Ulrich Drepper <drepper@redhat.com>
56451
56452 * sunrpc/auth_des.c: Update copyright notice once again.
56453 * sunrpc/auth_none.c: Likewise.
56454 * sunrpc/auth_unix.c: Likewise.
56455 * sunrpc/authdes_prot.c: Likewise.
56456 * sunrpc/authuxprot.c: Likewise.
56457 * sunrpc/bindrsvprt.c: Likewise.
56458 * sunrpc/clnt_gen.c: Likewise.
56459 * sunrpc/clnt_perr.c: Likewise.
56460 * sunrpc/clnt_raw.c: Likewise.
56461 * sunrpc/clnt_simp.c: Likewise.
56462 * sunrpc/clnt_tcp.c: Likewise.
56463 * sunrpc/clnt_udp.c: Likewise.
56464 * sunrpc/clnt_unix.c: Likewise.
56465 * sunrpc/des_crypt.c: Likewise.
56466 * sunrpc/des_soft.c: Likewise.
56467 * sunrpc/get_myaddr.c: Likewise.
56468 * sunrpc/getrpcport.c: Likewise.
56469 * sunrpc/key_call.c: Likewise.
56470 * sunrpc/key_prot.c: Likewise.
56471 * sunrpc/openchild.c: Likewise.
56472 * sunrpc/pm_getmaps.c: Likewise.
56473 * sunrpc/pm_getport.c: Likewise.
56474 * sunrpc/pmap_clnt.c: Likewise.
56475 * sunrpc/pmap_prot.c: Likewise.
56476 * sunrpc/pmap_prot2.c: Likewise.
56477 * sunrpc/pmap_rmt.c: Likewise.
56478 * sunrpc/rpc/auth.h: Likewise.
56479 * sunrpc/rpc/auth_unix.h: Likewise.
56480 * sunrpc/rpc/clnt.h: Likewise.
56481 * sunrpc/rpc/des_crypt.h: Likewise.
56482 * sunrpc/rpc/key_prot.h: Likewise.
56483 * sunrpc/rpc/netdb.h: Likewise.
56484 * sunrpc/rpc/pmap_clnt.h: Likewise.
56485 * sunrpc/rpc/pmap_prot.h: Likewise.
56486 * sunrpc/rpc/pmap_rmt.h: Likewise.
56487 * sunrpc/rpc/rpc.h: Likewise.
56488 * sunrpc/rpc/rpc_des.h: Likewise.
56489 * sunrpc/rpc/rpc_msg.h: Likewise.
56490 * sunrpc/rpc/svc.h: Likewise.
56491 * sunrpc/rpc/svc_auth.h: Likewise.
56492 * sunrpc/rpc/types.h: Likewise.
56493 * sunrpc/rpc/xdr.h: Likewise.
56494 * sunrpc/rpc_clntout.c: Likewise.
56495 * sunrpc/rpc_cmsg.c: Likewise.
56496 * sunrpc/rpc_common.c: Likewise.
56497 * sunrpc/rpc_cout.c: Likewise.
56498 * sunrpc/rpc_dtable.c: Likewise.
56499 * sunrpc/rpc_hout.c: Likewise.
56500 * sunrpc/rpc_main.c: Likewise.
56501 * sunrpc/rpc_parse.c: Likewise.
56502 * sunrpc/rpc_parse.h: Likewise.
56503 * sunrpc/rpc_prot.c: Likewise.
56504 * sunrpc/rpc_sample.c: Likewise.
56505 * sunrpc/rpc_scan.c: Likewise.
56506 * sunrpc/rpc_scan.h: Likewise.
56507 * sunrpc/rpc_svcout.c: Likewise.
56508 * sunrpc/rpc_tblout.c: Likewise.
56509 * sunrpc/rpc_util.c: Likewise.
56510 * sunrpc/rpc_util.h: Likewise.
56511 * sunrpc/rpcinfo.c: Likewise.
56512 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56513 * sunrpc/rpcsvc/key_prot.x: Likewise.
56514 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56515 * sunrpc/rpcsvc/mount.x: Likewise.
56516 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56517 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56518 * sunrpc/rpcsvc/rex.x: Likewise.
56519 * sunrpc/rpcsvc/rstat.x: Likewise.
56520 * sunrpc/rpcsvc/rusers.x: Likewise.
56521 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56522 * sunrpc/rpcsvc/spray.x: Likewise.
56523 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56524 * sunrpc/rtime.c: Likewise.
56525 * sunrpc/svc.c: Likewise.
56526 * sunrpc/svc_auth.c: Likewise.
56527 * sunrpc/svc_authux.c: Likewise.
56528 * sunrpc/svc_raw.c: Likewise.
56529 * sunrpc/svc_run.c: Likewise.
56530 * sunrpc/svc_simple.c: Likewise.
56531 * sunrpc/svc_tcp.c: Likewise.
56532 * sunrpc/svc_udp.c: Likewise.
56533 * sunrpc/svc_unix.c: Likewise.
56534 * sunrpc/svcauth_des.c: Likewise.
56535 * sunrpc/xcrypt.c: Likewise.
56536 * sunrpc/xdr.c: Likewise.
56537 * sunrpc/xdr_array.c: Likewise.
56538 * sunrpc/xdr_float.c: Likewise.
56539 * sunrpc/xdr_mem.c: Likewise.
56540 * sunrpc/xdr_rec.c: Likewise.
56541 * sunrpc/xdr_ref.c: Likewise.
56542 * sunrpc/xdr_sizeof.c: Likewise.
56543 * sunrpc/xdr_stdio.c: Likewise.
56544
56545 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56546 handling.
56547
565482010-08-19 Andreas Schwab <schwab@redhat.com>
56549
56550 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56551
565522010-08-19 Luis Machado <luisgpm@br.ibm.com>
56553
56554 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56557 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56559 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56561 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56562 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56563 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56564 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56565 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56566 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56567 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56568
565692010-07-26 Anton Blanchard <anton@samba.org>
56570
56571 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56572 * malloc/arena.c (heap_trim): Likewise.
56573
565742010-08-16 Ulrich Drepper <drepper@redhat.com>
56575
56576 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56577 here. Not...
56578 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56579 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56580
565812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56582
56583 * sysdeps/i386/elf/Makefile: New file.
56584
565852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56586
56587 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56588 from fanotify_init.
56589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56591
565922010-08-15 Ulrich Drepper <drepper@redhat.com>
56593
56594 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56595 of strncasecmp_l.
56596 * sysdeps/multiarch/strcmp.S: Likewise.
56597
565982010-08-14 Ulrich Drepper <drepper@redhat.com>
56599
56600 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56601 strncase_l-nonascii.
56602 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56603 Add strncase_l-ssse3.
56604 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56605 * sysdeps/x86_64/strcmp.S: Likewise.
56606 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56607 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56608 * sysdeps/x86_64/strncase.S: New file.
56609 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56610 * sysdeps/x86_64/strncase_l.S: New file.
56611 * string/Makefile (strop-tests): Add strncasecmp.
56612 * string/test-strncasecmp.c: New file.
56613
56614 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56615 warning.
56616
56617 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56618 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56619
566202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56621
56622 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56623
566242010-08-12 Ulrich Drepper <drepper@redhat.com>
56625
56626 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56628 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56629
566302010-05-01 Alan Modra <amodra@gmail.com>
56631
56632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56633 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56634 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56635 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56636 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56637 tidying. Don't tail-call __sigjmp_save for static lib.
56638 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56639 save location.
56640 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56641 (CALL_MCOUNT): Add eh info, and nop after bl.
56642 (TAIL_CALL_SYSCALL_ERROR): New macro.
56643 (PSEUDO_RET): Use it.
56644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56645 Correct save location of integer regs and cr.
56646 (_dl_profile_resolve): Correct cr save location. Delete nops
56647 after bl when SHARED. Reduce cfi size a little by better
56648 placement of cfi directives.
56649 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56650 make a stack frame. Instead use parm save area as a temp.
56651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56652 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56654 Don't make a stack frame for parent, use parm save area.
56655 Increase child stack frame to 112 bytes. Don't save unused reg,
56656 and adjust reg usage. Set up cfi on error recovery and
56657 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56659 (__makecontext): Add dummy nop after jump to exit.
56660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56661 Use correct parm save area and cr save, reduce stack frame.
56662 Correct cfi for possible PSEUDO_RET frame setup.
56663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56664 Branch to local label emitted by PSEUDO_RET rather than
56665 __syscall_error.
56666
566672010-08-12 Andreas Schwab <schwab@redhat.com>
56668
56669 [BZ #11904]
56670 * locale/programs/locale.c (print_assignment): New function.
56671 (show_locale_vars): Use it.
56672
566732010-08-11 Ulrich Drepper <drepper@redhat.com>
56674
56675 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56676 field.
56677 (struct statfs64): Likewise.
56678 (_STATFS_F_FLAGS): Define.
56679 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56680 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56681 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56682 (ST_VALID): Define locally.
56683 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56684 __statvfs_getflags, use the provided value.
56685 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56686 __ASSUME_STATFS_F_FLAGS.
56687
56688 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56689
56690 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56691 Add sys/fanotify.h.
56692 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56693 fanotify_mask for GLIBC_2.13.
56694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56695 fanotify_init and fanotify_mark.
56696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56697 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56698
56699 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56700 Add prlimit.
56701 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56702 prlimit64 for GLIBC_2.13.
56703 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56704 prlimit64.
56705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56706 syscall.
56707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56709 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56712 add prlimit alias.
56713 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56714
56715 [BZ #11903]
56716 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56717 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56718
56719 * nss/Makefile: Add rules to build and run tst-nss-test1.
56720 * shlib-versions: Add entry for libnss_test1.
56721 * nss/nss_test1.c: New file.
56722 * nss/tst-nss-test1.c: New file.
56723
56724 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56725 (__nss_configure_lookup): Set appropriate entry in
56726 __nss_configure_lookup to true.
56727 * nss/nsswitch.h: Define enum with indeces of databases in
56728 databases and __nss_database_custom arrays. Declare
56729 __nss_database_custom.
56730 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56731 to avoid using nscd when custom rules are installed.
56732 * nss/getXXbyYY_r.c: Likewise.
56733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56734
56735 * nss/nss_files/files-parse.c: Whitespace fixes.
56736
567372010-08-09 Ulrich Drepper <drepper@redhat.com>
56738
56739 [BZ #11883]
56740 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56741 * posix/fnmatch_loop.c: Likewise.
56742
567432010-07-17 Andi Kleen <ak@linux.intel.com>
56744
56745 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56746 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56747 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56748 * Versions.def [GLIBC_2.13]: Add.
56749
567502010-08-06 Ulrich Drepper <drepper@redhat.com>
56751
56752 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56753 Also fail if tpwd after pwuid call is NULL.
56754
567552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56756
56757 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56758 when converting to ms.
56759
567602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56761
56762 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56763 EOPNOTSUPP errors with ENOTTY.
56764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56765 EOPNOTSUPP errors with ENOTTY.
56766
567672010-07-31 Ulrich Drepper <drepper@redhat.com>
56768
56769 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56770 Add strcasecmp_l-ssse3.
56771 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56772 strcasecmp.
56773 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56774 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56775 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56776
567772010-07-30 Ulrich Drepper <drepper@redhat.com>
56778
56779 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56780
56781 * string/Makefile (strop-tests): Add strcasecmp.
56782 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56783 strcasecmp_l-nonascii.
56784 (gen-as-const-headers): Add locale-defines.sym.
56785 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56786 * sysdeps/x86_64/strcasecmp.S: New file.
56787 * sysdeps/x86_64/strcasecmp_l.S: New file.
56788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56789 * sysdeps/x86_64/locale-defines.sym: New file.
56790 * string/test-strcasecmp.c: New file.
56791
56792 * string/test-strcasestr.c: Test both ends of the range of characters.
56793 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56794
567952010-07-29 Roland McGrath <roland@redhat.com>
56796
56797 [BZ #11856]
56798 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56799
568002010-07-27 Ulrich Drepper <drepper@redhat.com>
56801
56802 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56803 for ld.so.
56804
568052010-07-27 Andreas Schwab <schwab@redhat.com>
56806
56807 * manual/memory.texi (Malloc Tunable Parameters): Document
56808 M_PERTURB.
56809
568102010-07-26 Roland McGrath <roland@redhat.com>
56811
56812 [BZ #11840]
56813 * configure.in (-fgnu89-inline check): Set and substitute
56814 gnu89_inline, not libc_cv_gnu89_inline.
56815 * configure: Regenerated.
56816 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56817
568182010-07-26 Ulrich Drepper <drepper@redhat.com>
56819
56820 * string/test-strnlen.c: New file.
56821 * string/Makefile (strop-tests): Add strnlen.
56822 * string/tester.c (test_strnlen): Add a few more test cases.
56823 * string/tst-strlen.c: Better error reporting.
56824
56825 * sysdeps/x86_64/strnlen.S: New file.
56826
568272010-07-24 Ulrich Drepper <drepper@redhat.com>
56828
56829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56830 lower-latency instructions.
56831
568322010-07-23 Ulrich Drepper <drepper@redhat.com>
56833
56834 * string/test-strcasestr.c: New file.
56835 * string/test-strstr.c: New file.
56836 * string/Makefile (strop-tests): Add strstr and strcasestr.
56837 * string/str-two-way.h: Don't undefine MAX.
56838 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56839
568402010-07-21 Andreas Schwab <schwab@redhat.com>
56841
56842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56843 strcasestr-nonascii.
56844 (CFLAGS-strcasestr-nonascii.c): Define.
56845 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56847 Remove unused attribute.
56848
568492010-07-20 Roland McGrath <roland@redhat.com>
56850
56851 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56852 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56853 ld.so.cache was broken. With it, there is no way to disable dsocaps
56854 like LD_HWCAP_MASK can disable hwcaps.
56855
568562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56857
56858 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56859
568602010-07-16 Ulrich Drepper <drepper@redhat.com>
56861
56862 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56863 call in strcasestr.
56864 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56865 __strcasestr_sse42_nonascii.
56866 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56867 strcasestr-nonascii.c.
56868 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56869
568702010-06-15 Luis Machado <luisgpm@br.ibm.com>
56871
56872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56876
568772010-07-09 Ulrich Drepper <drepper@redhat.com>
56878
56879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56880 fcntl.
56881
568822010-07-06 Andreas Schwab <schwab@redhat.com>
56883
56884 [BZ #11577]
56885 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56886 dl_signal_cerror.
56887
568882010-07-06 Ulrich Drepper <drepper@redhat.com>
56889
56890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56891 _PC_PIPE_BUF using F_GETPIPE_SZ.
56892
568932010-07-05 Roland McGrath <roland@redhat.com>
56894
56895 * manual/arith.texi (Rounding Functions): Fix rint description
56896 implicit in round description.
56897
568982010-07-02 Ulrich Drepper <drepper@redhat.com>
56899
56900 * elf/Makefile: Fix linking for a few tests to make recent linker
56901 happy.
56902
569032010-06-30 Andreas Schwab <schwab@redhat.com>
56904
56905 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56906 $(common-objpfx)libc_nonshared.a.
56907
569082010-06-21 Luis Machado <luisgpm@br.ibm.com>
56909
56910 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56911 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56912 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56913 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56914 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56915 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56916 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56917 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56932 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56933 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56934 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56935 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56936 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56937 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56938 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56939 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56940 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56941 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56942 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56943 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56958
569592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56960
56961 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56962 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56963 * string/memmove.c (memmove): Renamed to ...
56964 (MEMMOVE): ...this. Default to memmove.
56965 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56966 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56967 (END_CHK): Define.
56968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56969 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56970 mempcpy-ssse3-back memmove-ssse3-back.
56971 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56974 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56975 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56976 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56977 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56978 * sysdeps/x86_64/multiarch/memmove.c: New file.
56979 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56980 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56981 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56982 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56983 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56985 Define.
56986 (index_Fast_Copy_Backward): Define.
56987 (HAS_ARCH_FEATURE): Define.
56988 (HAS_FAST_REP_STRING): Define.
56989 (HAS_FAST_COPY_BACKWARD): Define.
56990
569912010-06-21 Andreas Schwab <schwab@redhat.com>
56992
56993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56994 Restore proper fallback handling.
56995
569962010-06-19 Ulrich Drepper <drepper@redhat.com>
56997
56998 [BZ #11701]
56999 * posix/group_member.c (__group_member): Correct checking loop.
57000
57001 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57002 OOM in getpwuid_r correctly. Return error number when the caller
57003 should return, otherwise -1.
57004 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57005 call returning > 0 value.
57006 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57007
570082010-06-07 Andreas Schwab <schwab@redhat.com>
57009
57010 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57011 libc_nonshared.a from targets in modules-names.
57012
570132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57014
57015 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57016 requires it.
57017
570182010-06-10 Luis Machado <luisgpm@br.ibm.com>
57019
57020 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57024
570252010-06-02 Andreas Schwab <schwab@redhat.com>
57026
57027 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57028
570292010-06-14 Ulrich Drepper <drepper@redhat.com>
57030
57031 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57032 and F_GETPIPE_SZ.
57033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57039
570402010-06-14 Roland McGrath <roland@redhat.com>
57041
57042 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57043
570442010-06-07 Jakub Jelinek <jakub@redhat.com>
57045
57046 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57047 __REDIRECT followed by __THROW.
57048 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57049 * posix/getopt.h (getopt): Likewise.
57050
570512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57052
57053 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57054 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57055 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57056 in AT_FLAGS.
57057 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57058 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57059
570602010-05-28 Luis Machado <luisgpm@br.ibm.com>
57061
57062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57063
570642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57065
57066 [BZ #11640]
57067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57068 Properly check family and model.
57069
570702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57071
57072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57073
570742010-05-24 Luis Machado <luisgpm@br.ibm.com>
57075
57076 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57077
570782010-05-21 Ulrich Drepper <drepper@redhat.com>
57079
57080 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57081 symbol reference.
57082
570832010-05-19 Andreas Schwab <schwab@redhat.com>
57084
57085 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57086 symbol reference.
57087
570882010-05-21 Andreas Schwab <schwab@redhat.com>
57089
57090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57091 and internal_recvmmsg.
57092 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57093 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57094 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57095 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57096
57097 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57098 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57099 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57100
571012010-05-20 Andreas Schwab <schwab@redhat.com>
57102
57103 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57104
571052010-05-17 Luis Machado <luisgpm@br.ibm.com>
57106
57107 POWER7 optimizations.
57108 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57109 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57110
571112010-05-19 Ulrich Drepper <drepper@redhat.com>
57112
57113 * version.h: Update for 2.13 development version.
57114
571152010-05-12 Andrew Stubbs <ams@codesourcery.com>
57116
57117 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57118 exceptions. Return 0.
57119
571202010-05-07 Roland McGrath <roland@redhat.com>
57121
57122 * elf/ldconfig.c (main): Add a const.
57123
571242010-05-06 Ulrich Drepper <drepper@redhat.com>
57125
57126 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57127 (args_options): Add no-idn option.
57128 (ahosts_keys_int): Add idn_flags to ai_flags.
57129 (parse_option): Handle 'i' option to clear idn_flags.
57130
57131 * malloc/malloc.c (_int_free): Possible race in the most recently
57132 added check. Only act on the data if no current modification
57133 happened.
57134
57135See ChangeLog.17 for earlier changes.