]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix x86/x86_64 scalb (qNaN, -Inf) (bug 16783).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9438b237
JM
12015-02-24 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16783]
4 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9 * math/libm-test.inc (scalb_test_data): Add more tests.
10
6909d276
PP
112015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12
13 [BZ #17916]
14 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16
65f6f938
ER
172015-02-24 Eric Rannaud <e@nanocritical.com>
18
19 [BZ #17523]
20 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21 * io/bits/fcntl2.h (open): Use it.
22 (openat): Likewise.
23 * io/open.c (__libc_open): Likewise.
24 * io/open64.c (__libc_open64): Likewise.
25 * io/open64_2.c (__open64_2): Likewise.
26 * io/open_2.c (__open_2): Likewise.
27 * io/openat.c (__openat): Likewise.
28 * io/openat64.c (__openat64): Likewise.
29 * io/openat64_2.c (__openat64_2): Likewise.
30 * io/openat_2.c (__openat_2): Likewise.
31 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33 * sysdeps/posix/open64.c (__libc_open64): Likewise.
34 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36 (__open_nocancel): Likewise.
37 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
40
3e3002ff
SP
412015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42
43 [BZ #14841]
44 * resolv/gethnamaddr.c (getanswer): Skip logging if
45 RES_USE_DNSSEC is set.
46 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47
9813dd58
MF
482015-02-24 Mike Frysinger <vapier@gentoo.org>
49
50 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
51
7b1ec6a0
AO
522015-02-23 Alexandre Oliva <aoliva@redhat.com>
53
54 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
55 201304L, for Unicode 7.
56
d49499c1
L
572015-02-23 H.J. Lu <hongjiu.lu@intel.com>
58
59 [BZ #17836]
60 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
61 shared library. Add gmon-start.os otherwise.
62 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
63 $(objpfx)gmon-start.os if builing shared library.
64 ($(objpfx)g$(static-start-installed-name)): Likewise.
65
51225803
AS
662015-02-23 Andreas Schwab <schwab@suse.de>
67
68 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
69
bdf1ff05
PP
702015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
71
72 [BZ #17269]
73 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
74 (enlarge_userbuf): Likewise.
75
95296112
CLT
762015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
77
78 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
79 * math/atest-exp.c (TIMEOUT): Adjust to 200.
80 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
81 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
82
e4a399dc
JM
832015-02-20 Joseph Myers <joseph@codesourcery.com>
84
85 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
86 expression inside statement expression.
87
7133957f
SL
882015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
89
90 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
91 <sysdeps/nptl/lowlevellock.h> and remove macros and
92 functions that are now defined there.
93 (SYS_futex): Remove.
94 (lll_compare_and_swap): Remove.
95 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
96
40176158
JM
972015-02-19 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #17999]
100 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
101 instead of scandirat.
102 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
103 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
104 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
105 __scandirat.
106 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
107 (__scandirat): Declare. Use libc_hidden_proto.
108 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
109 Remove variable.
110 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
111
4629c866
JM
1122015-02-18 Joseph Myers <joseph@codesourcery.com>
113
114 [BZ #15319]
115 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
116 (MO): New macro.
117 (__ieee754_atan2): For results with small absolute value, force
118 underflow exception and remove excess range and precision from
119 return value.
120 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
121 (MO): New macro.
122 (__ieee754_atan2f): For results with small absolute value, force
123 underflow exception and remove excess range and precision from
124 return value.
125 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
126 (MO): New macro.
127 (__atan): For results with small absolute value, force underflow
128 exception and remove excess range and precision from return value.
129 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
130 (MO): New macro.
131 (__atanf): For results with small absolute value, force underflow
132 exception and remove excess range and precision from return value.
133 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
134 <math.h>.
135 (__ieee754_atan2): Force underflow exception for results with
136 small absolute value.
137 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
138 <math_private.h>.
139 (atan): Force underflow exception for results with small absolute
140 value.
141 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
142 (__atanf): Force underflow exception for results with small
143 absolute value.
144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
145 <math.h>.
146 (__atanl): Force underflow exception for results with small
147 absolute value.
148 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
149 (__atanl): Force underflow exception for results with small
150 absolute value.
151 * sysdeps/x86/fpu/bits/mathinline.h
152 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
153 (__ieee754_atan2): Only define inline for long double.
154 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
155 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
156 * math/auto-libm-test-in: Do not mark underflow exceptions as
157 possibly missing for bug 15319. Add more tests of atan2.
158 * math/auto-libm-test-out: Regenerated.
159 * math/libm-test.inc (casin_test_data): Do not mark underflow
160 exceptions as possibly missing for bug 15319.
161 (casinh_test_data): Likewise.
162 * sysdeps/i386/fpu/libm-test-ulps: Update.
163
9ee16d8b
SE
1642015-02-18 Steve Ellcey <sellcey@imgtec.com>
165
166 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
167 * sysdeps/mips/bits/endian.h: Fix comments.
168
4ffb1771
JM
1692015-02-18 Joseph Myers <joseph@codesourcery.com>
170
171 [BZ #17996]
172 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
173 (hdestroy_r): Likewise.
174 (hsearch_r): Likewise.
175 (__hcreate_r): Declare and use libc_hidden_proto.
176 (__hdestroy_r): Likewise.
177 (__hsearch_r): Likewise.
178 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
179 (hcreate): Call __hcreate_r instead of hcreate_r.
180 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
181 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
182 as weak alias of __hcreate_r.
183 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
184 __hdestroy_r.
185 (hsearch_r): Rename to __hsearch_r and define as weak alias of
186 __hsearch_r.
187 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
188 Remove variable.
189 (test-xfail-XPG4/search.h/linknamespace): Likewise.
190 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
191 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
192 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
193
94c5a52a
SP
1942015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
195
196 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
197 arena_lock into a single arena_get.
198
8a35c3fe
CD
1992015-02-17 Carlos O'Donell <carlos@redhat.com>
200
201 * dl-reloc.c: Inlucde libc-internal.h.
202 (_dl_try_allocate_static_tls): Call ALIGN_UP.
203 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
204 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
205 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
206 (grow_heap): Likewise.
207 * malloc/malloc.c: Include libc-internal.h.
208 (do_check_malloc): Call powerof2.
209 (sysmalloc): Use pagesize. Call ALIGN_UP.
210 (systrim): Use pagesize.
211 (mremap_chunk): Use pagesize. Call ALIGN_UP.
212 (__libc_valloc): Use pagesize.
213 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
214
1a2325c0
JM
2152015-02-17 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #17991]
218 * include/sys/resource.h (__getrlimit64): Declare. Use
219 libc_hidden_proto.
220 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
221 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
222 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
223 getrlimit64.
224 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
225 __getrlimit64.
226 [!getrlimit64] (getrlimit64): Define as weak alias of
227 __getrlimit64. Use libc_hidden_weak.
228 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
229 using __getrlimit64 not __new_getrlimit64.
230 (__GI_getrlimit64): Likewise.
231 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
232 Likewise.
233 (__GI_getrlimit64): Likewise.
234 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
236 (getrlimit): Add __getrlimit64 alias.
237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
238 Likewise.
239 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
240 Remove variable.
241 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
242 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
243
8ae4bb5a
PP
2442015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
245
246 * libio/fileops.c: Add missing sys/mman.h
247 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
248
18a218b7
JM
2492015-02-17 Joseph Myers <joseph@codesourcery.com>
250
251 * manual/math.texi (Errors in Math Functions): Clarify goals
252 regarding inexact and underflow exceptions.
253
e72ad0ef
SE
2542015-02-17 Steve Ellcey <sellcey@imgtec.com>
255
256 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
257 * sysdeps/mips/memset.S: Ditto.
258
2caa4099
SE
2592015-02-17 Steve Ellcey <sellcey@imgtec.com>
260
261 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
262
f20bfc9b
SL
2632015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
264
265 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
266 (__v1longjmp): Remove versioned symbol.
267 (__v1siglongjmp): Remove alias and versioned symbol.
268 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
269 (__v2siglongjmp): Likewise.
270
71c06b69
TR
2712015-02-16 Torvald Riegel <triegel@redhat.com>
272
273 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
274
a9a05adb
MF
2752015-02-16 Mike Frysinger <vapier@gentoo.org>
276
277 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
278
ce8fc784
JM
2792015-02-16 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #17987]
282 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
283 zero result does not depend on the sign resulting from
284 subtraction.
285 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
286 Likewise.
287 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
288 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
290 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
291 * math/libm-test.inc (remquo_test_data): Add more tests.
292
0d7036bd
PE
2932015-02-16 Paul Eggert <eggert@cs.ucla.edu>
294
295 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
296 Problem reported by J William Piggott.
297
86c56b16
JM
2982015-02-16 Joseph Myers <joseph@codesourcery.com>
299
a820f9b3
JM
300 [BZ #17978]
301 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
302 products 4 * y and 2 * y where those would overflow.
303 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
304 Likewise.
305 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
306 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
308 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
309 * math/libm-test.inc (remquo_test_data): Add more tests.
310
be802953
JM
311 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
312
e5e72fe9
JM
313 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
314 [defined _COMPILING_NEWLIB].
315 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
316 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
317
86c56b16
JM
318 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
319 [!defined __mips_isa_rev || __mips_isa_rev < 6].
320
35264d14
TR
3212015-02-16 Torvald Riegel <triegel@redhat.com>
322
323 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
324 acquired.
325
6f49e32a
MF
3262015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
327
328 [BZ #17792]
329 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
330 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
331 HOST_STACK_END_ADDR): Likewise.
332
e525154e
SE
3332015-02-13 Steve Ellcey <sellcey@imgtec.com>
334
335 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
336 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
337 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
338
4ab770b7
RM
3392015-02-13 Roland McGrath <roland@hack.frob.com>
340
341 * sysdeps/generic/c++-types.data: New file.
342 * sysdeps/generic/ld.abilist: New file.
343 * sysdeps/generic/libBrokenLocale.abilist: New file.
344 * sysdeps/generic/libanl.abilist: New file.
345 * sysdeps/generic/libc.abilist: New file.
346 * sysdeps/generic/libcrypt.abilist: New file.
347 * sysdeps/generic/libdl.abilist: New file.
348 * sysdeps/generic/libm.abilist: New file.
349 * sysdeps/generic/libpthread.abilist: New file.
350 * sysdeps/generic/libresolv.abilist: New file.
351 * sysdeps/generic/librt.abilist: New file.
352
d9afe48d
JM
3532015-02-13 Joseph Myers <joseph@codesourcery.com>
354
355 [BZ #17569]
356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
357 Compute absolute value of x as modified by fmod, not original
358 value of x.
359 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
360 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
361 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
362 RUN_TEST_ffI_f1_mod8.
363 (remquo_test_data): Add more tests.
364
3846188b
RM
3652015-02-13 Roland McGrath <roland@hack.frob.com>
366
367 * sysdeps/init_array/pt-crti.S: New file.
368
95c26233
JM
3692015-02-13 Joseph Myers <joseph@codesourcery.com>
370
371 [BZ #17967]
372 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
373 __builtin_fmaf instead of relying on contraction of a * b + c.
374
3f293d61
WP
3752015-02-12 J William Piggott <elseifthen@gmx.com>
376
377 [BZ #17969]
378 * manual/time.texi: correct the zoneinfo path in the TZ Variable
379 node.
380
e8bd5286
JM
3812015-02-12 Joseph Myers <joseph@codesourcery.com>
382
383 [BZ #17964]
384 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
385 __builtin_fma instead of relying on contraction of a * b + c.
386
04f5a636
RM
3872015-02-12 Roland McGrath <roland@hack.frob.com>
388
96a15749
RM
389 * Makeconfig (ASFLAGS): Add -Werror=undef.
390 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
391 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
392 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
393
04f5a636
RM
394 * Makeconfig (after-link): New variable.
395 (+link-pie, +link-pie-tests): Use it.
396 (+link-static, +link-static-tests): Likewise.
397 (+link, +link-tests): Likewise.
398 * Makerules (build-module, build-module-asneeded): Likewise.
399 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
400 Likewise.
401 * elf/Makefile ($(objpfx)ld.so): Likewise.
402
87a629c5
RS
4032015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
404
405 [BZ #17965]
406 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
407 both struct timeval and struct timespec.
408
03d95bd4
JM
4092015-02-12 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #16560]
412 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
413 and redefine.
414 (__ieee754_exp2l): Do not multiply small fractional parts by
415 M_LN2l.
416 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
417 small argument.
418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
419 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
420 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
421 * math/auto-libm-test-in: Add more tests of exp2.
422 * math/auto-libm-test-out: Regenerated.
423
98408b95
RS
4242015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
425
426 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
427 unaligned path.
428
6f741503
AZ
4292015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430
431 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
432 little endian.
433
2868e070
AS
4342015-02-12 Andreas Schwab <schwab@suse.de>
435
436 [BZ #15790]
437 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
438 Filter out elision flags from value returned in kind.
439 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
440 * nptl/tst-pthread-mutexattr.c: New file.
441
ebf27d12
ST
4422015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
443
444 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
445 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
446 into gnu-gnu, and update comment to refer to abi-tags.
447
d435569c
JM
4482015-02-11 Joseph Myers <joseph@codesourcery.com>
449
450 [BZ #15467]
451 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
452 (__sincos): Set errno to EDOM for infinite argument.
453 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
454 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
455 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
456 (__sincosl): Set errno to EDOM for infinite argument.
457 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
458 (__sincosl): Set errno to EDOM for infinite argument.
459 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
460 (__sincosl): Set errno to EDOM for infinite argument.
461 * math/libm-test.inc (sincos_test_data): Test errno setting.
462
d35273f2
LH
4632015-02-11 Leonhard Holz <leonhard.holz@web.de>
464
465 * string/strxfrm_l.c: Remove #define STRCMP.
466 * string/strcoll_l.c: Remove #define STRLEN.
467 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
468 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
469
306bc0d1
JM
4702015-02-10 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
473 * sysdeps/mips/mips32/sfp-machine.h: ... here.
474 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
475 * sysdeps/mips/mips64/Makefile: ... here.
476 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
477 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
478 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
479 * sysdeps/mips/mips64/sfp-machine.h: ... here.
480 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
481 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
482 * sysdeps/mips/mips64/n64/Implies: Likewise.
483
92b67e8d
RM
4842015-02-10 Roland McGrath <roland@hack.frob.com>
485
486 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
487 <sys/time.h>, <string.h>, and <errno.h>.
488 (dest_offset, dest_address, value, zero): Remove unused variables.
489 (ldouble): Remove typedef.
490 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
491 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
492 1). Fix code style.
493 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
494 (check): Function removed.
495 (CHECK): New macro.
496 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
497 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
498 Don't call set_sigaction_FP and remove_sigaction_FP here.
499 (ldouble_test): Just use 'long double' as macro argument, no need for
500 the 'ldouble' typedef.
501 (do_test): Set up SIGFPE handler at start, using plain signal rather
502 than sigaction. Fix code style.
503
132a1328
EF
5042015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
505
506 [BZ #17949]
507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
508 jump label.
509
3001e54c
AZ
5102015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
511
bc0cdc49
AZ
512 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
513 * sysdeps/powerpc/powerpc32/configure: Regenerated.
514
83658961
AZ
515 * sysdeps/powerpc/configure.ac: Remove file.
516 * sysdeps/powerpc/configure: Likewise.
517
10169938
AZ
518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
519 [sysdep_routines]: Remove wordcopy-power6 object.
520 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
521 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
522 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
523 (__memmove_ppc32): Likewise.
524 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
525 file.
526 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
528 Remove preprocessor.
529
8548a53d
AZ
530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
531 [sysdep_routines]: Remove wide chars objects.
532 [wcsmbs]: New rule for wide char objects.
533
b2692114
AZ
534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
535 Remove wordcopy-power6 obejct.
536 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
537 Use local call for wordcopy and memcpy symbols.
538 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
539 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
540 implementation for loader.
541 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
542
18e270aa
AZ
543 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
544 Remove wordcopy-power7 object.
545 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
546 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
547 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
548 (_wordcopy_fwd_dest_aligned): Likewise.
549 (_wordcopy_bwd_aligned): Likewise.
550 (_wordcopy_bwd_dest_aligned): Likewise.
551
6f0993a6
AZ
552 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
553 Rewrite to call __memmove_ppc instead of include default
554 implementation.
555
3001e54c
AZ
556 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
557 Remove wide chars objects.
558 [wcsmbs]: New rule for wide char objects.
559
59b61c82
AS
5602015-02-09 Andreas Schwab <schwab@suse.de>
561
562 [BZ #17912]
563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
564 in terms of __O_DIRECTORY.
565
ebd7aede
ST
5662015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
567
568 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
569 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
570 call PTR_MANGLE.
571 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
572 PTR_DEMANGLE.
ebd7aede 573
3999d26e
PE
5742015-02-07 Paul Eggert <eggert@cs.ucla.edu>
575
576 Add ersatz _Static_assert on older C hosts
577 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
578 pre-C11 C platform that is not known to support _Static_assert.
579
e9a5bc1c
ST
5802015-02-07 Richard Braun <rbraun@sceen.net>
581
582 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
583 sigstate.
e86c5b64 584 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 585
e2049d17
ST
5862015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
587
588 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
589 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
590 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
591 instead of int.
592 * misc/fchflags.c (fchflags): Likewise.
593 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
594 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
595 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
596 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
597 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
598 Declare macros.
599 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
600 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
601 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
602 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
603 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
604 45.
a9a002fb
ST
605 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
606 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
607 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
608 MACH_RCV_TIMED_OUT.
f96ec27a
ST
609 * hurd/hurd/signal.h (_hurd_self_sigstate,
610 _hurd_critical_section_lock, _hurd_critical_section_unlock):
611 Explicit casts from void *.
4fc81a77 612 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 613 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 614
f05826f0
ST
615 [BZ #4719]
616 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
617 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
618 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
619 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
620 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
621 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
622
a5eb23de
ST
623 [BZ #17944]
624 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
625 duplicates ADDR->sun_path with sockaddr LEN limitation.
626 * sysdeps/mach/hurd/connect.c: Include <string.h>
627 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
628 * sysdeps/mach/hurd/sendmsg.c: Likewise.
629 * sysdeps/mach/hurd/sendto.c: Likewise.
630 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
631 implementing it by hand.
632
ac9e0e5e
RM
6332015-02-06 Roland McGrath <roland@hack.frob.com>
634
f8d1bb4c
RM
635 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
636 Use sfi_breg on ldr.
637 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
638 Likewise.
639
022f4812
RM
640 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
641 it's defined.
642 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
643 Test SIGSETXID only if it's defined.
644
1ac074e6
RM
645 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
646
f50ad78b
RM
647 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
648 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
649
9e7265f4
RM
650 * nptl/tst-align2.c: Moved ...
651 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
652 * nptl/Makefile (tests): Remove tst-align2.
653 * sysdeps/unix/sysv/linux/Makefile
654 [$(subdir) = nptl] (tests): Add tst-align-clone.
655 * nptl/tst-getpid1.c: Moved ...
656 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
657 * nptl/tst-getpid2.c: Moved ...
658 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
659 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
660 * sysdeps/unix/sysv/linux/Makefile
661 [$(subdir) = nptl] (tests): ... here.
662 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
663 * sysdeps/unix/sysv/linux/Makefile
664 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
665
62ad2abc
RM
666 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
667 Drop trailing \n from perror argument. Use return rather than exit.
668
cfa69b0b
RM
669 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
670 on [SA_SIGINFO].
671 * nptl/tst-cancel21.c (do_test): Likewise.
672 * debug/tst-backtrace6.c: Include <signal.h> first thing.
673 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
674 [!SA_SIGINFO]: Make it a stub test.
675
82727806
RM
676 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
677 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
678
da3a1594
RM
679 * posix/tst-getlogin.c: Move to ...
680 * login/tst-getlogin.c: ... here.
681 * posix/Makefile (tests): Move tst-getlogin to ...
682 * login/Makefile (tests): ... here.
683
b65c0ff9
RM
684 * libio/tst-atime.c (do_test): Move local variables SV and E
685 inside [ST_NOATIME] conditional.
686
56606ab3
RM
687 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
688
ebf7d6ee
RM
689 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
690
ca0e0675
RM
691 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
692 (wait_code): New function replaces macro.
693 Call nanosleep rather than syscall.
694
8c28bbc6
RM
695 * nptl/pt-system.c: Rewritten. Put everything under
696 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
697 Use IFUNC to redirect when possible.
698
ec2a88b3
RM
699 * nptl/pt-longjmp.c: Rewritten. Put everything under
700 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
701 Use IFUNC to redirect when possible.
702
beff1d13
RM
703 * nptl/pt-fork.c: Rewritten. Put everything under
704 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
705 Use IFUNC to redirect when possible.
706 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
707
ea02c6b8
RM
708 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
709 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
710 unconditionally nowadays. This included the only reference to
711 __vdso_clock_gettime that appears outside libc proper.
712 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
713 Remove version set (containing only __vdso_clock_gettime).
714 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
715 Add attribute_hidden.
716 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
717 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
718 libc_hidden_data_def.
719 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
720 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
721
a1309c2b
RM
722 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
723 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
724 setrpcent, and getrpcport to ...
725 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
726 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
727 getrpcbynumber_r, and getrpcent_r to ...
728 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
729 * inet/getrpcbyname.c: Moved ...
730 * sunrpc/getrpcbyname.c: ... here.
731 * inet/getrpcbyname_r.c: Moved ...
732 * sunrpc/getrpcbyname_r.c: ... here.
733 * inet/getrpcbynumber.c: Moved ...
734 * sunrpc/getrpcbynumber.c: ... here.
735 * inet/getrpcbynumber_r.c: Moved ...
736 * sunrpc/getrpcbynumber_r.c: ... here.
737 * inet/getrpcent.c: Moved ...
738 * sunrpc/getrpcent.c: ... here.
739 * inet/getrpcent_r.c: Moved ...
740 * sunrpc/getrpcent_r.c: ... here.
741 * inet/Makefile (routines): Move those to ...
742 * sunrpc/Makefile (routines): ... here.
743 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
744 the $(subdirs) list.
745 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
746 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
747 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
748 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
749
ac9e0e5e
RM
750 * elf/Makefile (routines): Include $(all-dl-routines), not just
751 $(dl-routines).
752 (rtld-routines): Likewise. Use = rather than :=.
753 * sysdeps/aarch64/Makefile [$(subdir) = elf]
754 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
755 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
756 * sysdeps/arm/Makefile: Likewise.
757 * sysdeps/i386/Makefile: Likewise.
758 * sysdeps/x86_64/Makefile: Likewise.
759 * sysdeps/hppa/Makefile [$(subdir) = elf]
760 (sysdep_routines, sysdep-rtld-routines): Don't add
761 $(sysdep-dl-routines) to these.
762 * sysdeps/ia64/Makefile: Likewise.
763 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
764 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
765 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
766 Don't add dl-static to these; sysdep-dl-routines alone is enough.
767 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
768 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
770 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
771 * sysdeps/powerpc/Makefile [$(subdir) = elf]
772 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
773 these; sysdep-dl-routines alone is enough.
774
639e42eb
JM
7752015-02-06 Joseph Myers <joseph@codesourcery.com>
776
1c7a4a51
JM
777 [BZ #17932]
778 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
779 where multiplication results in zero and third argument is finite
780 and nonzero.
781 * math/auto-libm-test-in: Add more tests of fma.
782 * math/auto-libm-test-out: Regenerated.
783
61f006c1
JM
784 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
785 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
786 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
787 (_FP_CMP_EQ): Likewise.
788 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
789
639e42eb
JM
790 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
791 extra argument CHECK_NAN. Redefine as wrapper around
792 _FP_EXTEND_CNAN.
793
3c0c543b
CD
7942015-02-06 Carlos O'Donell <carlos@systemhalted.org>
795
4e42b5b8
CD
796 * version.h (RELEASE): Set to "stable".
797 (VERSION): Set to "2.21"
798 * include/features.h (__GLIBC_MINOR__): Set to 21.
799
3c0c543b
CD
800 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
801
5bd80bfe 8022015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 803 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
804
805 [BZ #16618]
806 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
808 size in bytes. Store needed elements in wpmax. Use needed size
809 in bytes for extend_alloca.
810
3f823f48
CD
8112015-02-05 Carlos O'Donell <carlos@systemhalted.org>
812
04cb913d
CD
813 * manual/install.texi: Latest tested versions are GCC 4.9.2,
814 binutls 2.25, and texinfo 5.2.
815 * INSTALL: Regenerate.
816 * sysdeps/nios2/configure: Regenerate.
817 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
818 * manual/contrib.texi: Update.
819 * po/be.po: Update.
820 * po/bg.po: Update.
821 * po/ca.po: Update.
822 * po/cs.po: Update.
823 * po/da.po: Update.
824 * po/de.po: Update.
825 * po/el.po: Update.
826 * po/eo.po: Update.
827 * po/es.po: Update.
828 * po/fi.po: Update.
829 * po/fr.po: Update.
830 * po/gl.po: Update.
831 * po/hr.po: Update.
832 * po/hu.po: Update.
833 * po/ia.po: Update.
834 * po/id.po: Update.
835 * po/it.po: Update.
836 * po/ja.po: Update.
837 * po/ko.po: Update.
838 * po/lt.po: Update.
839 * po/nb.po: Update.
840 * po/nl.po: Update.
841 * po/pl.po: Update.
842 * po/pt_BR.po: Update.
843 * po/ru.po: Update.
844 * po/rw.po: Update.
845 * po/sk.po: Update.
846 * po/sl.po: Update.
847 * po/sv.po: Update.
848 * po/tr.po: Update.
849 * po/uk.po: Update.
850 * po/vi.po: Update.
851 * po/zh_CN.po: Update.
852 * po/zh_TW.po: Update.
853
3f823f48
CD
854 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
855 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
856 * sysdeps/hppa/dl-irel.h: Remove #warning.
857 * sysdeps/hppa/entry.h: Provide prototype for
858 __canonicalize_funcptr_for_compare and cast argument.
859 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
860 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
861 * sysdeps/hppa/sotruss-lib.c: New file.
862 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
863 (atomic_compare_and_exchange_val_acq): Use __typeof__.
864 (atomic_compare_and_exchange_bool_acq): Likewise.
865 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
866 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
867
868 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
869 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
870 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
871
34c56048
CLT
8722015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
873
874 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
875 called function in non-PIC case.
876
d4abeca5
DM
8772015-01-31 David S. Miller <davem@davemloft.net>
878
edac0a60
DM
879 * sysdeps/sparc/sparc32/bits/atomic.h
880 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
881 unlock not after it.
882 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
883 volatile register usage warnings from the compiler.
884
d4abeca5
DM
885 * sysdeps/sparc/nptl/sem_init.c: Delete.
886 * sysdeps/sparc/nptl/sem_post.c: Delete.
887 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
888 * sysdeps/sparc/nptl/sem_wait.c: Delete.
889 * sysdeps/sparc/sparc32/sem_init.c: New file.
890 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
891 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
892 padding explicitly initialized.
893 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
894 padding for in-semaphore spinlock.
895 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
896 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
897 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
898 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
899 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
900 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
901 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
902 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
903 version.
904 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
905 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
906
5f3d0b78
L
9072015-01-30 H.J. Lu <hongjiu.lu@intel.com>
908
909 [BZ #17801]
910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
911 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
912 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
913 New.
914 (index_AVX_Fast_Unaligned_Load): Likewise.
915 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
916 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
917 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
918 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
919 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
920 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
921 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
922 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
923 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
924
b658fdd8
AS
9252015-01-29 Andreas Schwab <schwab@suse.de>
926
927 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
928
3cb26316
SP
9292015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
930
931 [BZ #17892]
932 * nscd/nscd_stat.c (send_stats): Initialize DATA.
933
527de9e4
MS
9342015-01-28 Martin Sebor <msebor@redhat.com>
935
936 * math/README.libm-test: Clarify. Add "How to read the test output."
937
06991eb8
CM
9382015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
939
940 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
941 Define to 0.
942
df341342
JM
9432015-01-28 Joseph Myers <joseph@codesourcery.com>
944
945 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
946 (__HAVE_64B_ATOMICS): Define to 0.
947
08cee2a4
AZ
9482015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
949
d4d0ecb2
AZ
950 [BZ #17885]
951 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
952 value to set as new flag.
953
08cee2a4
AZ
954 [BZ #16576]
955 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
956 and use _ARCH_PPCSQ instead.
957 (__ieee754_sqrt): Likewise.
958 (__ieee754_sqrtf): Likewise.
959 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
960 _ARCH_PPCSQ is defined.
961 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
962 fsqrt instruction.
963 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
964 _ARCH_PPCSQ is defined.
965 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
966 fsqrts instruction.
967 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
968
5fe8e359
AK
9692015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
970
971 * iconv/loop.c: Suppress array out of bound warning caused by GCC
972 bug (GCC BZ #64739).
973
24bb7432
AS
9742015-01-25 Andreas Schwab <schwab@linux-m68k.org>
975
fa20da31
AS
976 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
977 Mark _retval as used.
978 (lll_futex_wake_unlock): Likewise.
979 (lll_futex_timed_wait_requeue_pi): Likewise.
980
45819cbc
AS
981 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
982 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
983 register variables.
984
403cc231
AS
985 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
986 libm_hidden_def.
987
24bb7432
AS
988 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
989 (__bswap_64): Mark as __always_inline.
990
9317ea65
B
9912015-01-25 Bram <bug_rh@spam.wizbit.be>
992
993 [BZ #15378]
994 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
995 when none of the search directories exist.
996
0e87343e
AZ
9972015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
998
bea58013
AZ
999 [BZ #17869]
1000 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1001 power8 in .machine directive.
1002
0e87343e
AZ
1003 [BZ #17868]
1004 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1005 set dependency from opd value.
1006
ede0236c
L
10072015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1010 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1011 architecture.
ede0236c 1012
22971c35
L
10132015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 [BZ #17870]
1016 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1017 with uint64_t.
1018 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1019 (uint64_t) 1.
e0da28a1 1020 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1021 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1022 Replace 1UL with (uint64_t) 1.
1023 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1024 int with uint64_t.
1025
da5bf245
RM
10262015-01-23 Roland McGrath <roland@hack.frob.com>
1027
2ec2d703
RM
1028 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1029 (if_freenameindex): Likewise.
1030
da5bf245
RM
1031 * resource/getrlimit64.c: Add missing libc_hidden_def.
1032
d7423856
JM
10332015-01-22 Joseph Myers <joseph@codesourcery.com>
1034
1035 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1036 __label__.
1037 (_FP_FMA): Likewise.
1038 (_FP_TO_INT_ROUND): Likewise.
1039 (_FP_FROM_INT): Likewise.
1040
6b2ba95b
AZ
10412015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042
1043 [BZ #16418]
1044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1045 Make code racy and cancel safe.
1046
ccdb048d
CD
10472015-01-21 Carlos O'Donell <carlos@redhat.com>
1048
191220b3
CD
1049 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1050 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1051 attribution.
1052
0897c551
CD
1053 * pwd/tst-getpw.c: Rewrite.
1054
ccdb048d
CD
1055 [BZ #17702]
1056 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1057 (modules-names): Add moddummy1 and moddummy2.
1058 ($(objpfx)tst-rec-dlopen): Define.
1059 * dlfcn/moddummy1.c: New file.
1060 * dlfcn/moddummy2.c: New file.
1061 * dlfcn/tst-rec-dlopen.c: New file.
1062 * elf/dl-cache.c (_dl_load_cache_lookup):
1063 Return char*. Copy result with alloca/strcpy/strdup.
1064 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1065 returns char*. Free cached. If not saving realname
1066 free cached.
1067 * elf/dl-open.c (dl_open_worker): Do not assert that
1068 _r_debug->r_state is RT_CONSISTENT.
1069 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1070 returns char*.
1071
042e1521
CD
10722015-01-21 Torvald Riegel <triegel@redhat.com>
1073 Carlos O'Donell <carlos@redhat.com>
1074
1075 [BZ #12674]
1076 * nptl/sem_waitcommon.c: New file.
1077 * nptl/sem_wait.c: Include sem_waitcommon.c.
1078 (__sem_wait_cleanup, do_futex_wait): Remove.
1079 (__new_sem_wait): Adapt.
1080 (__new_sem_trywait): New function.
1081 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1082 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1083 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1084 (sem_timedwait): Adapt.
1085 * nptl/sem_post.c (__new_sem_post): Adapt.
1086 (futex_wake): New function.
1087 (__old_sem_post): Add release MO fence.
1088 * nptl/sem_open.c (sem_open): Adapt.
1089 * nptl/sem_init.c (__new_sem_init): Adapt.
1090 (futex_private_if_supported): New function.
1091 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1092 (__old_sem_getvalue): Add using previous code.
1093 * sysdeps/nptl/internaltypes.h: Adapt.
1094 * nptl/tst-sem13.c (do_test): Adapt.
1095 * nptl/tst-sem11.c (main): Adapt.
1096 * nptl/sem_trywait.c: Remove.
1097 * nptl/DESIGN-sem.txt: Remove.
1098 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1099 (gen-as-const-headers): Remove structsem.sym.
1100 * nptl/structsem.sym: Remove.
1101 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1102 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1103 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1104 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1105 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1106 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1107 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1108 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1109 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1110 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1111 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1112 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1113 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1114 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1115 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1116 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1117 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1118 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1119 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1120 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1121 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1122 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1123
fe0e85af
CD
11242015-01-20 Carlos O'Donell <carlos@redhat.com>
1125
a8db092e
CD
1126 * INSTALL: Regenerated.
1127
fe0e85af
CD
1128 * po/libc.pot: Regenerated.
1129
522e6ee3
CLT
11302015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1131 Sandra Loosemore <sandra@codesourcery.com>
1132 Andrew Jenner <andrew@codesourcery.com>
1133 Joseph Myers <joseph@codesourcery.com>
1134 Nathan Sidwell <nathan@codesourcery.com>
1135
1136 * NEWS: Mention new Nios II port.
1137 * sysdeps/nios2/Implies: New file.
1138 * sysdeps/nios2/Makefile: New file.
1139 * sysdeps/nios2/Subdirs: New file.
1140 * sysdeps/nios2/Versions: New file.
1141 * sysdeps/nios2/__longjmp.S: New file.
1142 * sysdeps/nios2/abort-instr.h: New file.
1143 * sysdeps/nios2/backtrace.c: New file.
1144 * sysdeps/nios2/bits/endian.h: New file.
1145 * sysdeps/nios2/bits/fenv.h: New file.
1146 * sysdeps/nios2/bits/link.h: New file.
1147 * sysdeps/nios2/bits/setjmp.h: New file.
1148 * sysdeps/nios2/bsd-_setjmp.S: New file.
1149 * sysdeps/nios2/bsd-setjmp.S: New file.
1150 * sysdeps/nios2/configure: New generated file.
1151 * sysdeps/nios2/configure.ac: New file.
1152 * sysdeps/nios2/crti.S: New file.
1153 * sysdeps/nios2/crtn.S: New file.
1154 * sysdeps/nios2/dl-init.c: New file.
1155 * sysdeps/nios2/dl-machine.h: New file.
1156 * sysdeps/nios2/dl-sysdep.h: New file.
1157 * sysdeps/nios2/dl-tls.h: New file.
1158 * sysdeps/nios2/dl-trampoline.S: New file.
1159 * sysdeps/nios2/gccframe.h: New file.
1160 * sysdeps/nios2/gmp-mparam.h: New file.
1161 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1162 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1163 * sysdeps/nios2/ldsodefs.h: New file.
1164 * sysdeps/nios2/libc-tls.c: New file.
1165 * sysdeps/nios2/libm-test-ulps: New file.
1166 * sysdeps/nios2/machine-gmon.h: New file.
1167 * sysdeps/nios2/math-tests.h: New file.
1168 * sysdeps/nios2/math_private.h: New file.
1169 * sysdeps/nios2/memusage.h: New file.
1170 * sysdeps/nios2/nptl/Makefile: New file.
1171 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1172 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1173 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1174 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1175 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1176 * sysdeps/nios2/nptl/tls.h: New file.
1177 * sysdeps/nios2/preconfigure: New file.
1178 * sysdeps/nios2/s_fma.c: New file.
1179 * sysdeps/nios2/s_fmaf.c: New file.
1180 * sysdeps/nios2/setjmp.S: New file.
1181 * sysdeps/nios2/sfp-machine.h: New file.
1182 * sysdeps/nios2/sotruss-lib.c: New file.
1183 * sysdeps/nios2/stackguard-macros.h: New file.
1184 * sysdeps/nios2/stackinfo.h: New file.
1185 * sysdeps/nios2/start.S: New file.
1186 * sysdeps/nios2/sysdep.h: New file.
1187 * sysdeps/nios2/tls-macros.h: New file.
1188 * sysdeps/nios2/tst-audit.h: New file.
1189 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1190 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1191 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1192 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1193 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1194 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1195 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1196 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1197 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1198 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1199 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1200 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1201 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1202 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1203 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1204 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1205 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1206 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1207 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1208 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1209 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1210 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1211 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1212 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1213 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1214 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1215 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1216 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1217 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1218 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1219 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1220 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1221 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1222 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1223 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1224 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1225 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1226 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1227 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1228 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1229 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1230 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1231 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1232 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1233
026eb207
SL
12342015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1235
1236 [BZ #17844]
1237 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1238 (getutent): Use weak_alias in non SHARED case
1239 and default_symbol_version in SHARED case.
1240 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1241 (getutent_r, pututline): Likewise.
1242 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1243 (getutid): Likewise.
1244 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1245 (getutid_r): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1247 (getutline): Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1249 (getutline_r): Likewise.
1250 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1251 (updwtmp): Likewise.
1252
1d532483
SL
12532015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1254
1255 [BZ #17848]
1256 * sysdeps/s390/s390-32/memcmp.S
1257 (memcmp_g5): Rename to __memcmp_g5.
1258 * sysdeps/s390/s390-32/memcpy.S
1259 (memcpy_g5): Rename to __memcpy_g5.
1260 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1261 (memcpy_mvcle) Rename to __memcpy_mvcle.
1262 * sysdeps/s390/s390-32/memset.S
1263 (memset_g5): Rename to __memset_g5.
1264 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1265 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1266 and use prefixed functions.
1267 * sysdeps/s390/s390-32/multiarch/memcmp.S
1268 (memcmp_z196): Rename to __memcmp_z196.
1269 (memcmp_z10): Rename to __memcmp_z10.
1270 (memcmp): Set alias to __memcmp_g5.
1271 (bcmp): Set alias to __memcmp_g5.
1272 * sysdeps/s390/s390-32/multiarch/memcpy.S
1273 (memcpy_z196): Rename to __memcpy_z196.
1274 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1275 (memcpy_z10): Rename to __memcpy_z10.
1276 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1277 (memcpy): Set alias to __memcpy_g5.
1278 * sysdeps/s390/s390-32/multiarch/memset.S
1279 (memset_z196): Rename to __memset_z196.
1280 Jump to __memset_mvcle instead of memset_mvcle.
1281 (memset_z10): Rename to __memset_z10.
1282 Jump to __memset_mvcle instead of memset_mvcle.
1283 (memset_mvcle) Rename to __memset_mvcle.
1284 (memset): Set alias to __memset_g5.
1285 * sysdeps/s390/s390-64/memcmp.S
1286 (memcmp_z900): Rename to __memcmp_z900.
1287 * sysdeps/s390/s390-64/memcpy.S
1288 (memcpy_z900): Rename to __memcpy_z900.
1289 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1290 (memcpy_mvcle) Rename to __memcpy_mvcle.
1291 * sysdeps/s390/s390-64/memset.S
1292 (memset_z900): Rename to __memset_z900.
1293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1294 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1295 and use prefixed functions.
1296 * sysdeps/s390/s390-64/multiarch/memcmp.S
1297 (memcmp_z196): Rename to __memcmp_z196.
1298 (memcmp_z10): Rename to __memcmp_z10.
1299 (memcmp): Set alias to __memcmp_z900.
1300 (bcmp): Set alias to __memcmp_z900.
1301 * sysdeps/s390/s390-64/multiarch/memcpy.S
1302 (memcpy_z196): Rename to __memcpy_z196.
1303 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1304 (memcpy_z10): Rename to __memcpy_z10.
1305 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1306 (memcpy): Set alias to __memcpy_z900.
1307 * sysdeps/s390/s390-64/multiarch/memset.S
1308 (memset_z196): Rename to __memset_z196.
1309 Jump to __memset_mvcle instead of memset_mvcle.
1310 (memset_z10): Rename to __memset_z10.
1311 Jump to __memset_mvcle instead of memset_mvcle.
1312 (memset_mvcle) Rename to __memset_mvcle.
1313 (memset): Set alias to __memset_z900.
1314
53fbd169
JM
13152015-01-14 Joseph Myers <joseph@codesourcery.com>
1316
1317 [BZ #17748]
1318 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1319 __fesetenv instead of fesetenv.
1320
d639a363
SP
13212015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
1323 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1324 macro.
1325
d3b00f46
AZ
13262015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327
ce6615c9
AZ
1328 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1329 regression on LE.
1330
d3b00f46
AZ
1331 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1332 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1333 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1334 strncmp-power8 object.
1335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1336 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1337 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1338 * NEWS: Update.
1339
72607db0
RS
13402015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1341 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1344 trailing byte check.
1345
54dc5461
DM
13462015-01-13 David S. Miller <davem@davemloft.net>
1347
1348 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1349
1c6e6f23
RM
13502015-01-13 Roland McGrath <roland@hack.frob.com>
1351
1352 * login/logout.c (logout): Use memset rather than bzero.
1353 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1354 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1355 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1356 (_gethtbyaddr): Likewise.
1357 * locale/programs/simple-hash.c (bcopy): Macro removed.
1358
96d6fd6c
AZ
13592015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360
8bedcb5f
AZ
1361 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1362 Add strcmp-power8 object.
1363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1364 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1365 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1366 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1367 __strcmp_power8 implementation.
1368 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1369 * NEWS: Update.
1370
f06a4faf
AZ
1371 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1372 Add strncpy-power8 and stpncpy-power8 objects.
1373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1374 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1375 implementations.
1376 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1377 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1378 __stpncpy_power8 implementation.
1379 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1380 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1381 __strncpy_power8 implementation.
1382 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1383 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1384 * NEWS: Update.
1385
9f2f36e5
AZ
1386 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1387 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1388 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1389
96d6fd6c 1390 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1391 strncat-power8 object.
1392 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1393 __strcat_power8 implementation.
1394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1395 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1396 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1397 optimized strcat for power8.
1398
1399 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1400 strcpy-power8 and stpcpy-power8 objects.
1401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1402 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1403 implementations.
1404 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1405 multiarch stpcpy implementation for POWER8.
1406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1407 multiarch strcpy implementation for POWER8.
1408 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1409 __strcpy_power8 function.
1410 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1411 stpcpy for POWER8.
1412 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1413 strcpy for POWER8.
1414 * NEWS: Update.
1415
0f9e5854
LH
14162015-01-13 Leonhard Holz <leonhard.holz@web.de>
1417
1418 [BZ #16009]
1419 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1420 weights and rules. Use do_xfrm_cached if data fits in cache,
1421 do_xfrm otherwise. Moved former main loop to...
1422 * (do_xfrm_cached): New function.
1423 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1424 find_idx, find_position and stack_push.
1425 * (find_idx): New function.
1426 * (find_position): Likewise.
1427 * localedata/sort-test.sh: Added test run for do_xfrm.
1428 * localedata/xfrm-test.c (main): Added command line option
1429 -nocache to run the test with strings that are too large for
1430 the STRXFRM cache.
1431
c60ec0e0
TR
14322015-01-13 Torvald Riegel <triegel@redhat.com>
1433
1434 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1435 variable to lll_futex_wake call, not the value itself.
1436
34e93d6c
JM
14372015-01-12 Joseph Myers <joseph@codesourcery.com>
1438
5a9e4c09
JM
1439 [BZ #17803]
1440 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1441 twom64. Adjust value to 0x1p-64L.
1442 (__scalblnl): Only return standard underflowing result for K <=
1443 -64 not K <= -63; adjust exponent for underflowing result by 64
1444 not 63.
1445 * math/libm-test.inc (scalbn_test_data): Add more tests.
1446 (scalbln_test_data): Likewise.
1447
34e93d6c
JM
1448 [BZ #17834]
1449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1450 0x1p63L.
1451 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1452 not HX.
1453 * math/libm-test.inc (scalbn_test_data): Add more tests.
1454 (scalbln_test_data): Likewise.
1455
ca677d3c
AZ
14562015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457 Stefani Seibold <stefani@seibold.net>
1458
1459 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1460 (sysdep_routines): Add dl-vdso here, ...
1461 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1462 (sysdep_routines): ... not here.
1463 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1464 fallback when vDSO is not presented.
1465 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1466 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1467 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1468 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1469 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1470 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1471 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1473 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1475 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1476 fallback configurable symbol when vDSO is not available.
1477 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1478 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1479 be able to redefine fallback symbol when vDSO is not available.
1480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1481 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1482
49a9f6ab 14832015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1484
56cf2763
AZ
1485 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1486 (TLS_INIT_TP): Add tm_capable initialization.
1487 (TLS_DEFINE_INIT_TP): Likewise.
1488 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1489 TCB.
1490 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1491 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1492 calculation.
1493 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1494 transactoion is lock elision is built and TCB tm_capable is set.
1495 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1497 (INTERNAL_SYSCALL_NCS): Likewise.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1499 (INTERNAL_SYSCALL_NCS): Likewise.
1500 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1501
4b45943a
AZ
1502 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1503 for powerpc.
1504 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1505 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1506 and remove it for 32 bits case.
1507 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1508 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1509 initialization.
1510 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1511 Disable lock elision with rdlocks if elision is not available.
1512
8d2c0a59
AZ
1513 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1514 (sysdep_routines): Add lock elision objects.
1515 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1516 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1517 [pthread_mutex_t] (__elision): Add field.
1518 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1519 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1520 elision definitions for powerpc.
1521 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1522 implementation of lock elision for powerpc.
1523 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1524 implementation of timed lock elision for powerpc.
1525 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1526 implementation of trylock with lock elision for powerpc.
1527 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1528 implementaion of unlock for lock elision for powerpc.
1529 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1530 automatic enable lock elision for mutexes.
1531 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1532 transaction execution definitions for powerpc.
1533 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1534 definitions.
1535 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1536 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1539 * NEWS: Update.
1540
bc0ed9f7
RM
15412015-01-09 Roland McGrath <roland@hack.frob.com>
1542
1543 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1544 for #include of <shm-directory.h>.
1545
585d9c18
CLT
15462015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1547
1548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1549 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1550
aee6626c
MF
15512015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1552
1553 [BZ #17791]
1554 * NEWS: Mention bug fix.
1555 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1556 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1557 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1558
9e560f48
TR
15592015-01-09 Torvald Riegel <triegel@redhat.com>
1560
1561 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1562
e1cfbd0c
TR
15632015-01-09 Torvald Riegel <triegel@redhat.com>
1564
1565 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1566
cf71e44f
DH
15672015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1568
1569 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1570 pointer and cast to uintptr_t.
1571
b360ee62
DH
15722015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1573
1574 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1575 removed.
1576 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1577
caff764e
DH
15782015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1579
1580 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1581 of 0.
1582
59ff172f
RM
15832015-01-08 Roland McGrath <roland@hack.frob.com>
1584
c97d27f1
RM
1585 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1586 <nptl/pthreadP.h> instead.
1587 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1588
08734ccd
RM
1589 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1590 already defined.
1591 [__SIGRTMIN] (init): Function removed.
1592 [__SIGRTMIN] (initialized): Variable removed.
1593 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1594 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1595 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1596 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1597 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1598 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1599 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1600 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1601 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1602 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1603 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1604 * sysdeps/nptl/allocrtsig.c: New file.
1605 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1606 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1607 * sysdeps/generic/testrtsig.h: File removed.
1608
7b052e33
RM
1609 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1610 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1611
cc40d25e
RM
1612 * nptl/nptl-init.c (pthread_functions): Conditionalize
1613 .ptr__nptl_setxid initialization on [SIGSETXID].
1614
9287adf0
RM
1615 * sysdeps/nptl/sys/procfs.h: New file.
1616 * nptl_db/Makefile (headers): Add it.
1617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1618
59ff172f
RM
1619 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1620 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1621 * nptl/pthread_attr_setaffinity.c: Include it.
1622 * nptl/pthread_setattr_default_np.c: Likewise.
1623 * nptl/check-cpuset.h: New file.
1624
b9205857
RH
16252015-01-08 Richard Henderson <rth@redhat.com>
1626
1627 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1628 (CFLAGS-tst-execstack-prog.c): Likewise.
1629 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1630
1a0a8d15
CLT
16312015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1632 Sandra Loosemore <sandra@codesourcery.com>
1633 Andrew Jenner <andrew@codesourcery.com>
1634 Joseph Myers <joseph@codesourcery.com>
1635 Nathan Sidwell <nathan@codesourcery.com>
1636
1637 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1638 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1639 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1640 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1641 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1642 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1643 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1644 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1645 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1646 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1647 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1648 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1649 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1650 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1651 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1652 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1653 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1654
dd6e8af6
AZ
16552015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1658 timespec struct member in syscall macro.
1659 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1660 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1661 first timeval struct member in syscall macro.
1662 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1663
8116321f
JM
16642015-01-07 Joseph Myers <joseph@codesourcery.com>
1665
1666 [BZ #17748]
1667 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1668 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1669 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1670 __feupdateenv and define as weak alias of __feupdateenv. Use
1671 libm_hidden_weak.
1672 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1673 libm_hidden_def.
1674 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1675 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1676 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1677 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1678 libm_hidden_def.
1679 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1680 __feupdateenv and define as weak alias of __feupdateenv. Use
1681 libm_hidden_weak.
1682 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1683 libm_hidden_def.
1684 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1685 __feupdateenv and define as weak alias of __feupdateenv. Use
1686 libm_hidden_weak.
1687 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1688 libm_hidden_def.
1689 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1690 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1691 (__feupdateenv): Likewise.
1692 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1693 __feupdateenv and define as weak alias of __feupdateenv. Use
1694 libm_hidden_weak.
1695 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1696 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1697 libm_hidden_def.
1698 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1699 function.
1700 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1701 libm_hidden_def.
1702 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1703 __feupdateenv instead of feupdateenv.
1704 (default_libc_feupdateenv_test): Likewise.
1705 (libc_feresetround_ctx): Likewise.
1706
882dfe18
AZ
17072015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1710 prototype.
1711
39a12f8d
CM
17122015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1713
1714 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1715 COLL_SYM in a couple of places to avoid uninitialized variable
1716 wanings on tilegx gcc 4.8.2.
1717
dc400d7b
RE
17182015-01-07 Richard Earnshaw <rearnsha@arm.com>
1719
1720 * sysdeps/aarch64/strcpy.S: New file.
1721 * sysdeps/aarch64/stpcpy.S: New file.
1722 * NEWS: Updated.
1723
ec582ca0
RE
17242015-01-07 Richard Earnshaw <rearnsha@arm.com>
1725
1726 * sysdeps/aarch64/strrchr.S: New file.
1727 * NEWS: Updated.
1728
d5b1c5ed
EB
17292015-01-07 Eric Biggers <ebiggers3@gmail.com>
1730
1731 [BZ #17658]
1732 * stdlib/setenv.c: Fix memory leak when setting large,
1733 duplicate string.
1734
fb87ee96
VN
17352015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1736
60f046a8 1737 [BZ #17273]
fb87ee96
VN
1738 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1739 and tabs from buffer before parsing fstab entry.
1740 * misc/tst-mntent.c (main): Add test for mount entry with
1741 trailing spaces and tabs.
1742
cd42798a
JM
17432015-01-06 Joseph Myers <joseph@codesourcery.com>
1744
01238691
JM
1745 [BZ #17748]
1746 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1747 * math/fesetround.c (fesetround): Rename to __fesetround and
1748 define as weak alias of __fesetround. Use libm_hidden_weak.
1749 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1750 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1751 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1752 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1753 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1754 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1755 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1756 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1757 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1758 __fesetround_inline.
1759 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1760 __fesetround_inline instead of __fesetround.
1761 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1762 __fesetround and define as weak alias of __fesetround. Use
1763 libm_hidden_weak. Call __fesetround_inline instead of
1764 __fesetround.
1765 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1766 __fesetround and define as weak alias of __fesetround. Use
1767 libm_hidden_weak.
1768 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1769 Likewise.
1770 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1772 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1773 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1774 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1775 __fesetround and define as weak alias of __fesetround. Use
1776 libm_hidden_weak.
1777 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1778 __fesetround instead of fesetround.
1779 (default_libc_feholdexcept_setround): Likewise.
1780 (libc_feholdsetround_ctx): Likewise.
1781 (libc_feholdsetround_noex_ctx): Likewise.
1782
cd42798a
JM
1783 [BZ #17748]
1784 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1785 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1786 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1787 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1788 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1789 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1790 define as weak alias of __fesetenv. Use libm_hidden_weak.
1791 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1792 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1793 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1794 define as weak alias of __fesetenv. Use libm_hidden_weak.
1795 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1796 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1797 define as weak alias of __fesetenv. Use libm_hidden_weak.
1798 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1799 libm_hidden_def.
1800 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1801 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1802 Likewise.
1803 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1804 define as weak alias of __fesetenv. Use libm_hidden_weak.
1805 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1806 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1807 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1808 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1809 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1810 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1811 __fesetenv instead of fesetenv.
1812 (libc_feresetround_noex_ctx): Likewise.
1813 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1814 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1815 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1816 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1817 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1818 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1819 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1820 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1821 (__feupdateenv): Likewise.
1822 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1823 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1824 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1825 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1826
38949026
AJ
18272015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1828
1cf98e27 1829 [BZ #17806]
38949026
AJ
1830 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1831 addresses have been freed.
1832
5fe55e9c
AJ
18332015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1834
1835 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1836 and nservall.
1837
dc8ab018
OB
18382015-01-06 Ondřej Bílka <neleai@seznam.cz>
1839
1840 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1841 Clean up check_pf allocation pattern. addresses
1842
14bb4e57
AZ
18432015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844
1845 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1846 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1847 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1848 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1849 * nptl/pthread_join.c (pthread_join): Likewise.
1850 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1851 * sysdeps/posix/waitid.c (__waitid): Likewise.
1852 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1853 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1854 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1855 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1857 Likewise.
1858 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1859 (__libc_pread64): Likewise.
1860 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1861 (__libc_pwrite): Likewise.
1862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1863 (__libc_pwrite64): Likewsie.
1864 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1865 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1866 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1867 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1868 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1869 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1872 Likewise.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1874 (__libc_pread64): Likewise.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1876 Likewise.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1878 (__libc_pwrite64): Likewise.
1879 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1880 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1881 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1882 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1883 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1884 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1885 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1886 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1887 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1888 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1889 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1890 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1891 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1892 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1893 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1895 Likewise.
1896
10a5e112
AS
18972015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1898
1899 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1900 (CFLAGS-test-double.c): Likewise.
1901 (CFLAGS-test-ldouble.c): Likewise.
1902 (CPPFLAGS-test-ifloat.c): Likewise.
1903 (CPPFLAGS-test-idouble.c): Likewise.
1904 (CPPFLAGS-test-ildoubl.c): Likewise.
1905 (CFLAGS-test-test-fenv.c): Remove variable.
1906 (CFLAGS-test-misc.c): Likewise.
1907
57ada0e7
L
19082015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 [BZ #17797]
1911 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1912 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1913 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1914 CLOCKS_PER_SEC == 1000000.
1915 * time/clocktest.c (main): Replace %ld with %jd and cast to
1916 intmax_t.
1917
46abb64d
RM
19182015-01-05 Roland McGrath <roland@hack.frob.com>
1919
1920 * sysdeps/generic/unwind-resume.h: New file.
1921 * sysdeps/gnu/unwind-resume.c: Include it.
1922 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1923 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1924 argument list.
1925 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1926 global rather than static.
1927 (_Unwind_Resume): Update user.
1928 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1929 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1930 rather than static. Add __attribute__ ((cold)).
1931 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1932 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1933 * sysdeps/arm/arm-unwind-resume.S: New file.
1934 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1935 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1936 * sysdeps/arm/Makefile [$(subdir) = csu]
1937 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1938 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1939 Add rt-arm-unwind-resume.
1940 [$(subdir) = nptl]
1941 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1942 Add pt-arm-unwind-resume.
1943 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1944 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1945
ef9faf13
JM
19462015-01-05 Joseph Myers <joseph@codesourcery.com>
1947
1948 [BZ #17748]
1949 * include/fenv.h (__feholdexcept): Declare. Use
1950 libm_hidden_proto.
1951 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1952 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1953 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1954 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1955 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1956 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1957 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1958 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1959 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1960 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1961 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1962 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1963 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1964 (feholdexcept): Likewise.
1965 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1967 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1968 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1969 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1970 __feholdexcept instead of feholdexcept.
1971 (default_libc_feholdexcept_setround): Likewise.
1972
295a453e
SE
19732015-01-05 Steve Ellcey <sellcey@imgtec.com>
1974
1975 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1976 to avoid using stl/str to align destination.
1977
882c4b9f
SE
19782015-01-05 Steve Ellcey <sellcey@imgtec.com>
1979
1980 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1981
ac4c11f5
JM
19822015-01-05 Joseph Myers <joseph@codesourcery.com>
1983
1984 [BZ #17796]
1985 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1986 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1987 Define as weak alias not strong alias.
1988
03403e30
SE
19892015-01-05 Steve Ellcey <sellcey@imgtec.com>
1990
1991 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1992 bltzal with addiupc.
1993 (RTLD_START): Ditto.
1994
1dca195e
CM
19952015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1996
00b8b9ba
SP
1997 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1998 for __vdso_* functions in declarations.
1999 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2000 definitions.
2001 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2002 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2003
1dca195e
CM
2004 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2005 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2006 function with cast from llround().
2007 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2008 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2009 Define.
2010
a287953a
JM
20112015-01-05 Joseph Myers <joseph@codesourcery.com>
2012
ab70da77
JM
2013 [BZ #17793]
2014 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2015 Define as weak alias not strong alias.
2016
b8986484
JM
2017 [BZ #17635]
2018 * ctype/ctype-c99.c: New file. isblank implementation moved from
2019 ...
2020 * ctype/ctype-extn.c: ... here.
2021 (__isblank_l): Move to ...
2022 * ctype/ctype-c99_l.c: ... here. New file.
2023 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2024 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2025 Remove variable.
2026 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2027 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2028 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2029 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2030 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2031
a287953a
JM
2032 [BZ #17777]
2033 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2034 (posix_fadvise64): Define as weak alias not strong alias.
2035 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2036 (posix_fallocate64): Likewise.
2037 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2038 Remove variable.
2039 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2040 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2041 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2042 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2043 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2044
b1efe3bb
MF
20452015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2046
2047 [BZ #16191]
2048 * NEWS: Mention bug fix.
2049 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2050 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2051 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2052 (HOST_STACK_END_ADDR): Likewise.
2053
9706dc5f
JM
20542015-01-02 Joseph Myers <joseph@codesourcery.com>
2055
b93c2205
JM
2056 [BZ #17748]
2057 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2058 * math/fegetround.c (fegetround): Rename to __fegetround and
2059 define as weak alias of __fegetround. Use libm_hidden_weak.
2060 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2061 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2062 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2063 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2064 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2065 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2066 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2067 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2068 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2069 Undefine after rather than before function definition; use
2070 parentheses around function name in definition.
2071 (__fegetround): Also undefine macro after function definition.
2072 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2073 __fegetround and define as weak alias of __fegetround. Use
2074 libm_hidden_weak. Do not undefine as macro.
2075 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2076 Likewise.
2077 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2078 __fegetround and define as weak alias of __fegetround. Use
2079 libm_hidden_weak.
2080 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2081 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2082 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2083 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2084 __fegetround and define as weak alias of __fegetround. Use
2085 libm_hidden_weak.
2086 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2087 __fegetround instead of fegetround.
2088
253a59cc
JM
2089 [BZ #17782]
2090 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2091 Condition macro definition on [__USE_MISC].
2092
27dae011
JM
2093 [BZ #17781]
2094 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2095 (struct sigaction): Change type of sa_flags field to int.
2096
172019c0
JM
2097 [BZ #17780]
2098 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2099 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2100 __glibc_reserved0.
2101
522ad1d6
JM
2102 * nptl/version.c (banner): Use single year in copyright notice.
2103
9706dc5f
JM
2104 * NEWS: Update copyright dates.
2105 * catgets/gencat.c (print_version): Likewise.
2106 * csu/version.c (banner): Likewise.
2107 * debug/catchsegv.sh: Likewise.
2108 * debug/pcprofiledump.c (print_version): Likewise.
2109 * debug/xtrace.sh (do_version): Likewise.
2110 * elf/ldconfig.c (print_version): Likewise.
2111 * elf/ldd.bash.in: Likewise.
2112 * elf/pldd.c (print_version): Likewise.
2113 * elf/sotruss.sh: Likewise.
2114 * elf/sprof.c (print_version): Likewise.
2115 * iconv/iconv_prog.c (print_version): Likewise.
2116 * iconv/iconvconfig.c (print_version): Likewise.
2117 * locale/programs/locale.c (print_version): Likewise.
2118 * locale/programs/localedef.c (print_version): Likewise.
2119 * login/programs/pt_chown.c (print_version): Likewise.
2120 * malloc/memusage.sh (do_version): Likewise.
2121 * malloc/memusagestat.c (print_version): Likewise.
2122 * malloc/mtrace.pl: Likewise.
2123 * manual/libc.texinfo: Likewise.
2124 * nptl/version.c (banner): Likewise.
2125 * nscd/nscd.c (print_version): Likewise.
2126 * nss/getent.c (print_version): Likewise.
2127 * nss/makedb.c (print_version): Likewise.
2128 * posix/getconf.c (main): Likewise.
2129 * scripts/test-installation.pl: Likewise.
2130 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2131
b8607aac
WN
21322015-01-02 Will Newton <will.newton@linaro.org>
2133
2134 * sysdeps/arm/armv7/configure: Removed.
2135 * sysdeps/arm/armv7/configure.ac: Likewise.
2136
b168057a
JM
21372015-01-02 Joseph Myers <joseph@codesourcery.com>
2138
2139 * All files with FSF copyright notices: Update copyright dates
2140 using scripts/update-copyrights.
2141 * intl/plural.c: Regenerated.
2142 * locale/programs/charmap-kw.h: Likewise.
2143 * locale/programs/locfile-kw.h: Likewise.
2144
b217c15f
SP
21452015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
2147 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2148
73a268c7
JM
21492014-12-31 Joseph Myers <joseph@codesourcery.com>
2150
2151 [BZ #17748]
2152 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2153 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2154 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2155 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2156 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2157 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2158 define as weak alias of __fegetenv. Use libm_hidden_weak.
2159 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2160 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2161 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2162 define as weak alias of __fegetenv. Use libm_hidden_weak.
2163 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2164 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2165 define as weak alias of __fegetenv. Use libm_hidden_weak.
2166 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2167 libm_hidden_def.
2168 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2169 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2170 Likewise.
2171 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2172 define as weak alias of __fegetenv. Use libm_hidden_weak.
2173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2174 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2175 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2176 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2177 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2178 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2179 __fegetenv instead of fegetenv.
2180 (libc_feholdsetround_noex_ctx): Likewise.
2181
0bd95672
MF
21822014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2183
2184 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2185 (Elf_MIPS_ABIFlags_v0): New structure.
2186 (EF_MIPS_FP64): Define.
2187 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2188 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2189 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2190 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2191 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2192 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2193 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2194 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2195 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2196 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2197 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2198 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2199 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2200 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2201 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2202 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2203 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2204 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2205 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2206 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2207 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2208 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2209 field.
2210 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2211 EF_MIPS_FP64.
2212 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2213 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2214 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2215 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2216 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2217 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2218 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2219 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2220 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2221 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2222 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2223 record the current FP ABI extension.
2224 (mips-mode-switch): Define to show if kernel headers support mode
2225 switching.
2226 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2227 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2228 supported SYSV ABI version to 3.
2229 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2230 feature.
2231
f59ad976
RS
22322014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2233 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2234
2235 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2236 path.
2237 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2238
4a3d3999
JM
22392014-12-31 Joseph Myers <joseph@codesourcery.com>
2240
2241 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2242 __fegetround and redefine to call __fegetround. Remove condition
2243 on [!__NO_MATH_INLINES].
2244 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2245 function.
2246 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2247 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2248 Remove macro.
2249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2250 instead of <fenv_libc.h>.
2251 (__llrintl): Call fegetround instead of __fegetround.
2252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2253 instead of <fenv_libc.h>.
2254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2255 (__lrintl): Call fegetround instead of __fegetround.
2256 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2257 instead of <fenv_libc.h>.
2258 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2259 (__rintl): Call fegetround instead of __fegetround.
2260
195f3afc
SP
22612014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2262
2263 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2264 arrays.
2265
7062bd42
L
22662014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 [BZ #17775]
2269 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2270 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2271 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2272
07256e18
AS
22732014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2274
2275 * sysdeps/i386/tls-macros.h: Include <features.h>.
2276 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2277 (TLS_IE): Likewise.
2278 (TLS_LD): Likewise.
2279 (TLS_GD): Likewise.
2280 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2281 define for GCC >= 5.0.
2282
1ff950ad
CM
22832014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2284
2285 * math/test-fenv.c (test_single_exception, set_single_exc,
2286 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2287 feexcp_mask_test, feenable_test, fe_single_test): Add
2288 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2289 case where they are not used.
2290 * math/libm-test.inc: Likewise.
2291 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2292 unused in the absence of FP rounding/exception support.
2293 * stdio-common/tst-printf-round.c: Likewise.
2294 * stdlib/tst-strtod-round.c: Likewise.
2295 * stdlib/tst-strtod-underflow.c: Likewise.
2296
0747f818
JM
22972014-12-30 Joseph Myers <joseph@codesourcery.com>
2298
2299 [BZ #17723]
2300 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2301 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2302 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2303 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2304 libm_hidden_weak.
2305 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2306 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2307 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2308 libm_hidden_def.
2309 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2310 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2311 libm_hidden_weak.
2312 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2313 Likewise.
2314 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2315 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2316 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2317 libm_hidden_weak.
2318 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2319 libm_hidden_def.
2320 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2321 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2322 (__feraiseexcept): Likewise.
2323 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2324 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2325 libm_hidden_weak.
2326 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2327 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2328 libm_hidden_def.
2329 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2330 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2331 Use libm_hidden_def.
2332 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2333 libm_hidden_def.
2334 (feraiseexcept): Define as weak not strong alias. Use
2335 libm_hidden_weak.
2336 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2337 New inline function. Factored out of ...
2338 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2339 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2340 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2341 feraiseexcept.
2342 * math/w_acos.c (__acos): Likewise.
2343 * math/w_asin.c (__asin): Likewise.
2344 * math/w_ilogb.c (__ilogb): Likewise.
2345 * math/w_j0.c (y0): Likewise.
2346 * math/w_j1.c (y1): Likewise.
2347 * math/w_jn.c (yn): Likewise.
2348 * math/w_log.c (__log): Likewise.
2349 * math/w_log10.c (__log10): Likewise.
2350 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2351 * sysdeps/aarch64/fpu/math_private.h
2352 (libc_feupdateenv_test_aarch64): Likewise.
2353 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2354 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2355 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2356 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2357 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2358 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2359 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2360 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2361 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2362 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2363
8d2b2763
L
23642014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 [BZ #17732]
2367 * io/test-utime.c (main): Replace %ld with %jd and cast to
2368 intmax_t.
41fad830 2369 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2370 * nptl/tst-mutex5.c: Include <stdint.h>.
2371 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2372 * posix/tst-regex.c (run_test): Likewise.
2373 (run_test_backwards): Likewise.
5d619de4
L
2374 * rt/tst-clock.c: Include <stdint.h>.
2375 (clock_test): Replace %ld with %jd and cast to intmax_t.
2376 * rt/tst-cpuclock1.c: Include <stdint.h>.
2377 (do_test): Replace %lu with %ju and cast to uintmax_t.
2378 * rt/tst-cpuclock2.c: Include <stdint.h>.
2379 (do_test): Replace %lu with %ju and cast to uintmax_t.
2380 * rt/tst-mqueue1.c: Include <stdint.h>.
2381 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2382 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2383 intmax_t.
2384 * rt/tst-mqueue4.c (do_test): Likewise.
2385 * rt/tst-timer4.c: Include <stdint.h>.
2386 (check_ts): Replace %ld with %jd and cast to intmax_t.
2387 (do_test): Likewise.
ad86fbc3
L
2388 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2389 and cast to intmax_t.
37f46900 2390 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2391 * time/clocktest.c (main): Likewise.
2392 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2393 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2394
8b4416d8
AS
23952014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2396 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2399 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2400 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2401 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2402 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2403 version if bit_Fast_Unaligned_Load is set.
2404 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2405 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2406 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2407 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2408 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2409 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2411 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2412 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2413 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2414 to 4.
2415 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2416 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2417 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2418 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2419
e47b8d3b
CM
24202014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2421
6d6d7fde
CM
2422 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2423 instead of #if to avoid a Wundef warning.
2424 * stdlib/tst-limits.c (do_test): Likewise.
2425
cd2c37c9
CM
2426 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2427 parallel other exception macros.
2428 (fegetenv): Convert from macro to extern inline so that it applies
2429 retroactively to inline functions already seen by the compiler.
2430 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2431
e47b8d3b
CM
2432 * posix/Makefile (before-compile): Use $(objpfx) for
2433 posix-conf-vars-def.h.
2434
4a6aca7b
SP
24352014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
7910c2ae
SP
2437 * posix/getconf.c (main): Use size_t for type of I.
2438 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2439 NSPEC.
2440
50cbbaa9
SP
2441 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2442 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2443 * posix/posix-envs.def: Likewise.
2444 * sysdeps/posix/sysconf.c: Likewise.
2445 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2446 (specs): Remove array.
2447 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2448 array.
2449
3b566046
SP
2450 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2451 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2452 (__sysconf): Use CONF_IS_* macros.
2453
4a6aca7b
SP
2454 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2455 ($(objpfx)posix-conf-vars-def.h): New target.
2456 * posix/posix-conf-vars.list: New file.
2457 * posix/posix-conf-vars.h: New file.
2458 * posix/confstr.c: Include posix-conf-vars.h.
2459 (confstr): Use CONF_IS_* macros.
2460 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2461 CONF_IS_* macros.
2462 * scripts/gen-posix-conf-vars.awk: New file.
2463
7c1395a7
CM
24642014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2465
0025b4cc
CM
2466 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2467 fegetround): Add no-op macros to avoid linknamespace issues.
2468
d8aaf74b
CM
2469 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2470 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2471
5d24aa60
CM
2472 * sysdeps/unix/sysv/linux/tile/sysdep.h
2473 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2474 assembly-specific section to avoid a redefinition warning.
2475
7c1395a7
CM
2476 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2477 long before casting to pointer to avoid a cast warning.
2478
3c87c616
CM
24792014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2480
2481 * sysdeps/tile/tilegx/Implies: New file.
2482
f559d8cf
RE
24832014-12-23 Richard Earnshaw <rearnsha@arm.com>
2484
2485 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2486
7d81e8d6
FW
24872014-12-23 Florian Weimer <fweimer@redhat.com>
2488
2489 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2490
90aa3d09
JM
24912014-12-22 Joseph Myers <joseph@codesourcery.com>
2492
2493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2494 not define.
2495 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2496 <kernel-features.h>.
2497 (__utimes) [__NR_utimes]: Make code unconditional.
2498 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2499 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2500 (__ASSUME_UTIMES): Do not undefine.
2501 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2502 (__ASSUME_UTIMES): Likewise.
2503 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2504 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2505 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2506 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2507
4c0c0e2a
SE
25082014-12-22 Steve Ellcey <sellcey@imgtec.com>
2509
2510 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2511
0dacd7a3
CM
25122014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2513
b638f96a
CM
2514 [BZ #17747]
2515 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2516 alias to weak alias for j0l, y0l.
2517 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2518 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2519
0dacd7a3
CM
2520 [BZ #17746]
2521 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2522 conversion.
2523
528479c4
SE
25242014-12-22 Steve Ellcey <sellcey@imgtec.com>
2525
2526 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2527 to zero if not already defined.
2528
f56f9124
JM
25292014-12-22 Joseph Myers <joseph@codesourcery.com>
2530
2531 [BZ #17724]
2532 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2533 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2534 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2535 (char *) casts added.
2536 * sysdeps/ieee754/k_standardf.c: New file.
2537 * sysdeps/ieee754/k_standardl.c: Likewise.
2538 * math/Makefile (libm-support): Remove k_standard.
2539 (libm-calls): Add k_standard.
2540
8622d556
WD
25412014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2542
2543 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2544 Optimize to avoid an unnecessary FPCR read.
2545
f3806bdb
WD
25462014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2547
2548 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2549 Optimize to reduce FPCR/FPSR accesses.
2550
9b47df58
WD
25512014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2552
2553 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2554 Call libc_fetestexcept_aarch64.
2555
97be3cac
WD
25562014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2557
2558 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2559 Call libc_fesetround_aarch64.
2560
935ab817
JM
25612014-12-22 Joseph Myers <joseph@codesourcery.com>
2562
2563 [BZ #17733]
2564 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2565 (__bind): Do not define as weak alias.
2566 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2567 define.
2568 (__getsockname): Do not define as weak alias.
2569
cc8623f1
WN
25702014-12-22 Will Newton <will.newton@linaro.org>
2571
2572 * manual/install.texi: Document that we require bison 2.7
2573 or above.
2574 * INSTALL: Regenerate.
2575 * configure.ac: Use AC_CHECK_PROG_VER instead of
2576 AC_PATH_PROG when checking for bison and check for
2577 version 2.7 or above.
2578 * configure: Regenerate.
2579
a19ca65a
CM
25802014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2581
92901170 2582 [BZ #17745]
e969965a
CM
2583 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2584 * sysdeps/tile/ffsll.c (ffsll): To here.
2585
a19ca65a
CM
2586 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2587
050f7298
L
25882014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2591 if not defined.
2592 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2593 definition.
2594 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2595 hidden ___tls_get_addr.
2596 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2597 hidden __tls_get_addr.
2598 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2599 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2600 Likewise.
2601
6df5547e
AS
26022014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2603
2604 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2605 _dl_init call.
2606
7432d613
L
26072014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2608
2609 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2610 from "call _dl_init@PLT".
2611 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2612
98fe149e
AK
26132014-12-21 Anders Kaseorg <andersk@mit.edu>
2614
2615 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2616 guarantees.
2617
d12455f5
CM
26182014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2619
2620 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2621
95dee05f
CM
26222014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2623
92901170 2624 [BZ #17744]
95dee05f
CM
2625 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2626 strnlen.
2627
2ef4b74a
SE
26282014-12-19 Steve Ellcey <sellcey@imgtec.com>
2629
2630 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2631 of multu on MIPSr6.
2632 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2633 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2634 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2635 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2636 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2637
26382014-12-19 Steve Ellcey <sellcey@imgtec.com>
2639
2640 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2641 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2642 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2643 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2644 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2645 mips32r6/mips64r6.
2646 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2647
3eb38795
OB
26482014-12-19 Ondřej Bílka <neleai@seznam.cz>
2649
2650 * string/strncat.c (STRNCAT): Simplify implementation.
2651
6d4188dd
DM
26522014-12-19 David S. Miller <davem@davemloft.net>
2653
0d4ba8be
DM
2654 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2655 access the quad as both a long double and as a series of 4 words.
2656
6d4188dd
DM
2657 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2658 link_map->l_info array access.
2659
4ef91cdc
CM
26602014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2661
804c54f7
CM
2662 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2663
4ef91cdc
CM
2664 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2665 * math/atest-exp2.c (TIMEOUT): Likewise.
2666 * math/atest-sincos.c (TIMEOUT): Likewise.
2667
afd176d6
L
26682014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2671 -Wno-error with -fno-builtin-lround.
2672
a4a43a90
TR
26732014-12-19 Torvald Riegel <triegel@redhat.com>
2674
2675 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2676 Contains futex constants and functions moved over from ...
2677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2678 <lowlevellock-futex.h>.
2679 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2680 (lll_timedwait_tid): Add comments and parentheses around macro
2681 arguments.
2682
76f71081
TR
26832014-12-19 Torvald Riegel <triegel@redhat.com>
2684
2685 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2686 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2687 (__lll_private_flag): Remove.
2688 (lll_futex_wait): Likewise.
2689 (lll_futex_timed_wait): Likewise.
2690 (lll_futex_wake): Likewise.
2691 (lll_futex_requeue): Likewise.
2692 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2693 (__lll_timedwait_tid): Spell out argument names.
2694 (lll_timedwait_tid): Add comments and parentheses around macro
2695 arguments.
2696 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2697 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2698
6b814909
TR
26992014-12-19 Torvald Riegel <triegel@redhat.com>
2700
2701 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2702 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2703 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2704 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2705 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2706 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2707 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2708 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2710 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2711 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2713 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2714 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2716 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2717 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2718 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2719 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2720
9cd4d4ab
L
27212014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 * sysdeps/x86_64/x32/Makefile: New file.
2724
c9c1a2d0
L
27252014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2726
2727 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2728 1L with (mp_limb_t) 1.
2729
af102d95
RM
27302014-12-17 Roland McGrath <roland@hack.frob.com>
2731
dd690454
RM
2732 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2733 * nptl/libc_pthread_init.c: ... here.
2734 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2735 * nptl/register-atfork.c: ... here.
2736
74eb826c
RM
2737 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2738 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2739 Use assert_perror to check its return value.
2740 (__gai_create_helper_thread): Likewise.
2741
c9ce306b
RM
2742 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2743
af102d95
RM
2744 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2745
8ac5a76a
JM
27462014-12-17 Joseph Myers <joseph@codesourcery.com>
2747
ea41469b
JM
2748 [BZ #17725]
2749 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2750 __profil_counter.
2751 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2752 Likewise.
2753 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2754 Likewise.
2755 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2756 Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2758 (profil_counter): Likewise.
2759 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2760 (profil_counter): Likewise.
2761 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2762 Likewise.
2763 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2764 Likewise.
2765 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2766 (profil_counter): Likewise.
2767 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2768 Likewise.
2769 [!__profil_counter] (profil_counter): Define as weak alias of
2770 __profil_counter.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2772 (profil_counter): Rename to __profil_counter.
2773 [!__profil_counter] (profil_counter): Define as weak alias of
2774 __profil_counter.
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2776 (profil_counter): Rename to __profil_counter.
2777 [!__profil_counter] (profil_counter): Define as weak alias of
2778 __profil_counter.
2779 * sysdeps/posix/profil.c: Update comment referring to
2780 profil_counter.
2781 (__profil): Use __profil_counter instead of profil_counter.
2782 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2783 __profil_counter. Use __profil_counter_ushort and
2784 __profil_counter_uint in definitions.
2785 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2786 instead of profil_counter_uint and profil_counter_ushort.
2787
8ac5a76a
JM
2788 [BZ #17722]
2789 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2790 define as weak alias of __inet_makeaddr.
2791 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2792 as weak alias of __inet_addr.
2793 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2794 as weak alias of __inet_pton. Use libc_hidden_weak.
2795 * include/arpa/inet.h (__inet_pton): Declare. Use
2796 libc_hidden_proto.
2797 (inet_makeaddr): Don't use libc_hidden_proto.
2798 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2799 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2800 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2801 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2802 Remove variable.
2803 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2804 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2805
66ce3cb1
SE
28062014-12-17 Steve Ellcey <sellcey@imgtec.com>
2807
2808 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2809
d22ce01b
SL
28102014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2811
2812 * stdio-common/bug-vfprintf-nargs.c (do_test):
2813 Cast value to intptr_t to avoid format warning
2814 for usage with PRIdPTR printing macro.
2815
eca2772b
SL
28162014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2817
2818 * libio/tst-widetext.c (do_test):
2819 Use format type %td instead of %Zd for ptrdiff_t
2820 in order to avoid format warning.
2821
bdf079da
AS
28222014-12-17 Andreas Schwab <schwab@suse.de>
2823
2824 * nscd/mem.c (gc): Add size_t cast to match printf format.
2825
3eb5d2fc
RM
28262014-12-16 Roland McGrath <roland@hack.frob.com>
2827
2828 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2829 (init): Apply PTR_MANGLE to pointers before storing them.
2830 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2831 before using them.
2832
d003ada2
JM
28332014-12-16 Joseph Myers <joseph@codesourcery.com>
2834
380292ba
JM
2835 [BZ #17719]
2836 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2837 define as weak alias of __memrchr.
2838 (__memrchr): Do not define as strong alias of memrchr.
2839 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2840 Remove variable.
2841 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2842 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2843 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2844
9a44d530
JM
2845 [BZ #17717]
2846 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2847 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2848 (if_indextoname): Rename to __if_indextoname and define as weak
2849 alias of __if_indextoname. Use libc_hidden_weak.
2850 (if_freenameindex): Rename to __if_freenameindex and define as
2851 weak alias of __if_freenameindex.
2852 (if_nameindex): Rename to __if_nameindex and define as weak alias
2853 of __if_nameindex.
2854 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2855 __if_nametoindex and define as weak alias of __if_nametoindex.
2856 Use libc_hidden_weak.
2857 (if_freenameindex): Rename to __if_freenameindex and define as
2858 weak alias of __if_freenameindex.
2859 (if_nameindex): Rename to __if_nameindex and define as weak alias
2860 of __if_nameindex.
2861 (if_indextoname): Rename to __if_indextoname and define as weak
2862 alias of __if_indextoname. Use libc_hidden_weak.
2863 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2864 __if_nametoindex and define as weak alias of __if_nametoindex.
2865 Use libc_hidden_weak.
2866 (if_freenameindex): Rename to __if_freenameindex and define as
2867 weak alias of __if_freenameindex. Use libc_hidden_weak.
2868 (if_nameindex_netlink): Use __if_freenameindex instead of
2869 if_freenameindex.
2870 (if_nameindex): Rename to __if_nameindex and define as weak alias
2871 of __if_nameindex. Use libc_hidden_weak.
2872 (if_indextoname): Rename to __if_indextoname and define as weak
2873 alias of __if_indextoname. Use libc_hidden_weak.
2874 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2875 libc_hidden_proto.
2876 [!_ISOMAC] (__if_freenameindex): Likewise.
2877 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2878 if_nametoindex.
2879 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2880 variable.
2881 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2882 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2883 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2884 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2885 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2886 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2887 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2888
d003ada2
JM
2889 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2890 Remove variable.
2891 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2893
a0d424ef
SP
28942014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
0cd85520
SP
2896 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2897 subscript above bounds'
2898
a0d424ef
SP
2899 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2900 bounds.
2901
0e426475
AS
29022014-12-16 Arjun Shankar <arjun.is@lostca.se>
2903
8b460906
AS
2904 * libio/tst-fopenloc.c: Use test-skeleton.c.
2905
fa13e15b
AS
2906 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2907 (entry): Rename to ITEM.
2908 (do_test, comp): Adjust.
2909
0e426475
AS
2910 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2911
4f646bce
TR
29122014-12-16 Torvald Riegel <triegel@redhat.com>
2913
2914 * string/tester.c: Include <libc-internal.h>.
2915 (test_memset): Ignore -Wmemset-transposed-args.
2916
a07c4427
TR
29172014-12-16 Torvald Riegel <triegel@redhat.com>
2918
2919 * misc/tst-mntent2.c (do_test): Fix warning.
2920
1469f466
TR
29212014-12-16 Torvald Riegel <triegel@redhat.com>
2922
2923 * elf/tst-unique4lib.cc(a): Mark as used.
2924
11e3417a
FW
29252014-12-16 Florian Weimer <fweimer@redhat.com>
2926
2927 [BZ #17630]
2928 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2929 names.
2930
ae61fc7b
AM
29312014-12-16 Allan McRae <allan@archlinux.org>
2932
2933 * stdio-common/Makefile (tests): Re-add bug26.
2934
363a9899
OB
29352014-12-15 Ondřej Bílka <neleai@seznam.cz>
2936
2937 [BZ #17657]
2938 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2939 static array.
2940
d52c62df
TR
29412014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2942
2943 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2944 (__lll_lock_wait): Likewise.
2945 (__lll_timedlock_wait): Likewise.
2946 (__lll_timedwait_tid): Likewise.
2947 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2948 (__lll_robust_timedlock_wait): Likewise.
2949 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2950 (lll_cond_trylock): Likewise.
2951 (__lll_lock): Likewise.
2952 (__lll_robust_lock): Likewise.
2953 (__lll_cond_lock): Likewise.
2954 (lll_robust_cond_lock): Likewise.
2955 (__lll_timedlock): Likewise.
2956 (__lll_robust_timedlock): Likewise.
2957 (__lll_unlock): Likewise.
2958 (__lll_robust_unlock): Likewise.
2959 (lll_wait_tid): Likewise.
2960 (lll_timedwait_tid): Likewise.
2961
045a6bcd
TR
29622014-12-15 Torvald Riegel <triegel@redhat.com>
2963
2964 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2965
7f786dc1
TR
29662014-12-15 Torvald Riegel <triegel@redhat.com>
2967
2968 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2969
e7e21cba
AZ
29702014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2971
2972 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2973 * stdio-common/tst-sprintf.c: Likewise.
2974
bc89c0fc
TR
29752014-12-15 Torvald Riegel <triegel@redhat.com>
2976
2977 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2978
a5357b7c
JL
29792014-12-15 Jeff Law <law@redhat.com>
2980
2981 [BZ #16617]
2982 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2983 on the heap. (CVE-2012-3406)
2984 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2985 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2986 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2987
3a12c70f
WN
29882014-12-15 Will Newton <will.newton@linaro.org>
2989
2990 * manual/install.texi: Bump required version of texinfo
2991 to 4.7 from 4.5.
2992 * INSTALL: Regenerated.
2993 * configure.ac: Check for makeinfo version 4.7 and above.
2994 * configure: Regenerated.
2995
e4f639e4
RM
29962014-12-12 Roland McGrath <roland@hack.frob.com>
2997
2998 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2999 PREFIX, string constant to insert between directory and name.
3000 * sysdeps/posix/shm_open.c: Update caller.
3001 * sysdeps/posix/shm_unlink.c: Likewise.
3002 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3003 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3004 (SEM_SHM_PREFIX): New macro.
3005 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3006 [$(have-thread-library) = no].
3007 * nptl/Makefile (libpthread-routines): Add shm-directory.
3008 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3009 * sysdeps/nptl/shm-directory.h: New file.
3010 * sysdeps/posix/shm-directory.c
3011 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3012 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3013 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3014 INTERNAL_SYSCALL.
3015 (__where_is_shmfs): Function removed.
3016 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3017 Variables removed.
3018 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3019 Use SHM_GET_NAME.
3020 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3021
3022 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3023 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3024 unconditional for use inside libpthread.
3025 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3026
439c43f6
RM
30272014-12-12 Roland McGrath <roland@hack.frob.com>
3028
c76d1ff5
RM
3029 * nptl/pthread_getaffinity.c: New file.
3030 * nptl/pthread_setaffinity.c: New file.
3031 * nptl/pthread_getname.c: New file.
3032 * nptl/pthread_setname.c: New file.
3033
439c43f6
RM
3034 * nptl/pthread_create.c (START_THREAD_DEFN)
3035 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3036
48e435cd
SL
30372014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3038 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039
3040 * resolv/res_send.c (send_vc): Disable warning resplen may
3041 be used uninitialized.
3042
9d9c0019
SL
30432014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3044
3045 * nptl/tst-mutex6.c
3046 (ATTR_NULL): New define checks ATTR against NULL.
3047 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3048 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3049
9173840b
JL
30502014-12-11 James Lemke <jwlemke@codesourcery.com>
3051
3052 [BZ #17581]
3053 * malloc/hooks.c
3054 (mem2mem_check): Revert my previous change.
3055 (malloc_check_get_size): Revert my previous change.
3056 (mem2chunk_check): Revert my previous change.
3057
78e21c5d
RM
30582014-12-11 Roland McGrath <roland@hack.frob.com>
3059
3060 * sysdeps/posix/shm-directory.c: New file.
3061 * sysdeps/posix/shm-directory.h: New file.
3062 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3063 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3064 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3065 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3066 Transmute EPERM to EACCES.
3067 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3068 from ...
3069 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3070 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3071
f82c43af
KK
30722014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3073
3074 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3075 pointer and cast to uintptr_t.
3076 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3077 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3078 Add cast to avoid warning.
3079 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3080
fc00cf7b
JM
30812014-12-11 Joseph Myers <joseph@codesourcery.com>
3082
3083 * nptl/semaphore.h: Move to ...
3084 * sysdeps/pthread/semaphore.h: ... here.
3085 * Makefile (installed-headers): Change nptl/semaphore.h to
3086 sysdeps/pthread/semaphore.h.
3087
1c4053db
RM
30882014-12-11 Roland McGrath <roland@hack.frob.com>
3089
73b0c1a1
RM
3090 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3091 generated error format strings.
3092
1c4053db
RM
3093 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3094 -Wformat-extra-args warnings for scanf formats.
3095 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3096 test of zero-length format (duh).
3097 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3098 corner-case scanf format test.
3099 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3100 generated fprintf format string.
3101 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3102 corner-case sprintf format tests.
3103 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3104 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3105 -Wformat-extra-args warnings throughout.
3106 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3107 (CFLAGS-scanf4.c): Likewise.
3108 (CFLAGS-scanf7.c): Likewise.
3109 (CFLAGS-tst-sprintf.c): Likewise.
3110 (CFLAGS-tst-printf.c): Likewise.
3111 (CFLAGS-tst-printfsz.c): Likewise.
3112
47d51f4f
JM
31132014-12-11 Joseph Myers <joseph@codesourcery.com>
3114
a1edbf3c
JM
3115 * include/cpio.h: New file.
3116 * include/fmtmsg.h: Likewise.
3117
47d51f4f
JM
3118 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3119 corresponding format argument to size_t.
3120 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3121 arguments.
3122 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3123 corresponding format argument to size_t.
3124 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3125 arguments.
3126 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3127 corresponding format argument to size_t.
3128 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3129 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3130 (CFLAGS-tst-mbswcs2.c): Likewise.
3131 (CFLAGS-tst-mbswcs3.c): Likewise.
3132 (CFLAGS-tst-mbswcs4.c): Likewise.
3133 (CFLAGS-tst-mbswcs5.c): Likewise.
3134 (CFLAGS-tst-trans.c): Likewise
3135
e9813cfb
RM
31362014-12-11 Roland McGrath <roland@hack.frob.com>
3137
3138 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3139 rather than assuming they won't contain any '%'s.
3140
f627ca82
CM
31412014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3142
3143 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3144 inhibit_loop_to_libcall to avoid recursive calls.
3145 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3146 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3147
7f296942
AZ
31482014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3149
3150 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3151 prototype.
3152
d0276e18
SE
31532014-12-11 Steve Ellcey <sellcey@imgtec.com>
3154
3155 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3156 integer value instead of boolean.
3157
fc56e970
SE
31582014-12-11 Steve Ellcey <sellcey@imgtec.com>
3159
3160 * malloc/malloc.c: Fix powerof2 check.
3161
40e53917
SL
31622014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3163
3164 * locale/programs/locfile.h (maybe_swap_uint32):
3165 Remove inline and add unused attribute.
3166
1ea166df
SL
31672014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3168
9d9c0019 3169 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3170 Truncating assembler expression to a .long expression.
3171
acf869f4
AS
31722014-12-11 Andreas Schwab <schwab@suse.de>
3173
3174 * elf/rtld.c (struct map_args): Constify str member.
3175 (do_preload): Constify fname argument.
3176
9d969099
AZ
31772014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178
3179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3180 constants definition.
3181
da5bcaa4
AS
31822014-12-11 Andreas Schwab <schwab@suse.de>
3183
b0a3c164
AS
3184 [BZ #16657]
3185 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3186 FORCE_ELISION instead of DO_ELISION.
3187 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3188 Remove.
3189 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3190 Likewise.
3191
da5bcaa4
AS
3192 * iconvdata/gconv-modules: Remove duplicate entry.
3193
6d248857
WN
31942014-12-11 Will Newton <will.newton@linaro.org>
3195
3196 Merge gettext 0.19.3 into intl/.
3197
3198 This involves a number of cosmetic changes to comments
3199 and ANSI function definitions and prototypes throughout
3200 all the files. The gettext copyright header is used but
3201 with the date ranges taken from the glibc copy.
3202
3203 * NEWS: Add gettext merge to 2.21.
3204 * intl/bindtextdom.c: Switch to gettext copyright.
3205 Use ANSI definitions and prototypes.
3206 Use gl_* locking primitives rather than __libc_* ones.
3207 Use __builtin_expect rather than __glibc_likely/unlikely.
3208 * intl/dcgettext.c: Switch to gettext copyright.
3209 Use ANSI definitions and prototypes.
3210 * intl/dcigettext.c: Switch to gettext copyright.
3211 Use ANSI definitions and prototypes.
3212 (INTDIV0_RAISES_SIGFPE): New define.
3213 Use gl_* locking primitives rather than __libc_* ones.
3214 Include eval-plural.h instead of plural-eval.c.
3215 Use __builtin_expect rather than __glibc_likely/unlikely.
3216 * intl/dcngettext.c: Switch to gettext copyright.
3217 Use ANSI definitions and prototypes.
3218 * intl/dgettext.c: Likewise.
3219 * intl/dngettext.c: Likewise.
3220 * intl/plural-eval.c: Renamed to...
3221 * intl/eval-plural.h: ...this.
3222 * intl/explodename.c: Switch to gettext copyright.
3223 Use ANSI definitions and prototypes.
3224 (_nl_explode_name): Use strchr instead of __rawmemchr.
3225 * intl/finddomain.c: Switch to gettext copyright.
3226 Use ANSI definitions and prototypes.
3227 Use gl_* locking primitives rather than __libc_* ones.
3228 (_nl_find_domain): Use malloc rather than alloca for
3229 allocation of temporary locale name.
3230 * intl/gettext.c: Switch to gettext copyright.
3231 Use ANSI definitions and prototypes.
3232 * intl/gettextP.h: Switch to gettext copyright.
3233 Use ANSI definitions and prototypes.
3234 Use gl_* locking primitives rather than __libc_* ones.
3235 * intl/gmo.h: Switch to gettext copyright.
3236 (struct sysdep_string): Move struct segment_pair outside of
3237 struct definition.
3238 * intl/hash-string.c: Use ANSI definitions and prototypes.
3239 * intl/hash-string.h: Switch to gettext copyright.
3240 Use ANSI definitions and prototypes.
3241 * intl/l10nflist.c: Switch to gettext copyright.
3242 Use ANSI definitions and prototypes.
3243 (_nl_normalize_codeset): Avoid integer overflow.
3244 * intl/loadinfo.h: Switch to gettext copyright.
3245 Use ANSI definitions and prototypes.
3246 (LIBINTL_DLL_EXPORTED): New define.
3247 (PATH_SEPARATOR): New define.
3248 * intl/loadmsgcat.c: Switch to gettext copyright.
3249 * intl/localealias.c: Switch to gettext copyright.
3250 Use ANSI definitions and prototypes.
3251 (_nl_expand_alias): Use PATH_SEPARATOR.
3252 * intl/ngettext.c: Switch to gettext copyright.
3253 Use ANSI definitions and prototypes.
3254 * intl/plural-exp.c: Likewise.
3255 * intl/plural-exp.h: Switch to gettext copyright.
3256 Use ANSI definitions and prototypes.
3257 (struct expression): Move definition of enum operator outside
3258 of struct definition.
3259 * intl/plural.c: Regenerate.
3260 * intl/plural.y: Switch to gettext copyright.
3261 Use ANSI definitions and prototypes.
3262 Port to bison 3.0.
3263 * intl/textdomain.c: Switch to gettext copyright.
3264 Use ANSI definitions and prototypes.
3265 Use gl_* locking primitives rather than __libc_* ones.
3266
48c43298
SE
32672014-12-10 Steve Ellcey <sellcey@imgtec.com>
3268
3269 * debug/warning-nop.c: Add used atrribute.
3270
2b89bce9
JM
32712014-12-10 Joseph Myers <joseph@codesourcery.com>
3272
c153ac9f
JM
3273 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3274
2b89bce9
JM
3275 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3276 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3277 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3278
2cfbdb9a
JM
32792014-12-10 Joseph Myers <joseph@codesourcery.com>
3280 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281
3282 [BZ #17634]
3283 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3284 Undefine after defining function. Define as weak alias of
3285 __wcschr. Use libc_hidden_weak.
3286 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3287 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3288 (libc_hidden_def): Also define __GI___wcschr alias.
3289 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3290 __wcschr and define as weak alias of __wcschr.
3291 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3292 __wcschr.
3293 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3294 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3295 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3296 libc_hidden_weak. Do not use libc_hidden_def.
3297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3298 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3299 __GI___wcschr alias.
3300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3301 [IS_IN (libc)] (wcschr): Define as macro expanding to
3302 __redirect_wcschr.
3303 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3304 [IS_IN (libc)] (__wcschr_power6): Likewise.
3305 [IS_IN (libc)] (__wcschr_power7): Likewise.
3306 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3307 instead of wcschr.
3308 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3309 __libc_wcschr.
3310 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3311 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3312 __wcschr and define as weak alias of __wcschr. Use
3313 libc_hidden_builtin_def.
3314 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3315 as weak alias of __wcschr. Use libc_hidden_weak.
3316 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3317 wcschr.
3318 * time/era.c (_nl_init_era_entries): Likewise.
3319 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3320 variable.
3321 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3322 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3323
1b8bf351
JM
33242014-12-10 Joseph Myers <joseph@codesourcery.com>
3325
3326 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3327 format for long int variable.
3328
f5f46d51
AK
33292014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3330
3331 [BZ #10672]
07008f7d 3332 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3333 qsort stable.
3334
217a74a8
AS
33352014-12-10 Andreas Schwab <schwab@suse.de>
3336
3337 [BZ #12847]
3338 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3339 user-controlled locks.
3340
aa76a5c7
RE
33412014-12-10 Richard Earnshaw <rearnsha@arm.com>
3342
3343 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3344 register.
3345
2084e7ca
JM
33462014-12-10 Joseph Myers <joseph@codesourcery.com>
3347
a4ecc9eb
JM
3348 * configure.ac (--disable-werror): New configure option.
3349 (enable_werror): New AC_SUBST.
3350 * configure: Regenerated.
3351 * config.make.in (enable-werror): New variable.
3352 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3353 -Wno-error=undef.
3354 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3355 * manual/install.texi (Configuring and compiling): Document
3356 --disable-werror.
3357 * INSTALL: Regenerated.
3358 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3359 (CFLAGS-tst-chk2.c): Likewise.
3360 (CFLAGS-tst-chk3.c): Likewise.
3361 (CFLAGS-tst-chk4.cc): Likewise.
3362 (CFLAGS-tst-chk5.cc): Likewise.
3363 (CFLAGS-tst-chk6.cc): Likewise.
3364 (CFLAGS-tst-lfschk1.c): Likewise.
3365 (CFLAGS-tst-lfschk2.c): Likewise.
3366 (CFLAGS-tst-lfschk3.c): Likewise.
3367 (CFLAGS-tst-lfschk4.cc): Likewise.
3368 (CFLAGS-tst-lfschk5.cc): Likewise.
3369 (CFLAGS-tst-lfschk6.cc): Likewise.
3370
0f88636c
JM
3371 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3372 (main): Disable -Wdeprecated-declarations around calls to
3373 register_printf_function.
3374
c81e9deb
JM
3375 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3376 (do_test): Disable -Wdiv-by-zero around some calls to
3377 fwrite_unlocked and fread_unlocked.
3378
2084e7ca
JM
3379 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3380 (DIAG_POP_NEEDS_COMMENT): Likewise.
3381 (_DIAG_STR1): Likewise.
3382 (_DIAG_STR): Likewise.
3383 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3384 * stdio-common/bug21.c: Include <libc-internal.h>.
3385 (do_test): Disable -Wformat around call to sscanf.
3386 * stdio-common/scanf14.c: Include <libc-internal.h>.
3387 (main): Disable -Wformat around some calls to scanf functions.
3388
df7ecc6b
TR
33892014-12-09 Torvald Riegel <triegel@redhat.com>
3390
3391 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3392
2aa3862e
AZ
33932014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394
3395 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3396 stack variable alignment.
3397
c5c2b7c3
JM
33982014-12-06 Joseph Myers <joseph@codesourcery.com>
3399
3400 [BZ #17682]
3401 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3402 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3403 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3404 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3405 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3406 __getrlimit instead of getrlimit.
3407 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3408 __gettimeofday instead of gettimeofday.
3409 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3410 Likewise.
3411 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3412 Likewise.
3413 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3414 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3415 Remove variable.
3416 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3417 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3418
9752c3cd
AZ
34192014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3420
3421 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3422 for wide-character tests.
3423
4bee4cd9
RM
34242014-12-04 Roland McGrath <roland@hack.frob.com>
3425
3426 * io/openat64.c: #include <libc-internal.h>
3427 (__openat64): Prototypify. Use ignore_value on MODE.
3428 * io/openat.c: Likewise.
3429 * misc/reboot.c: #include <libc-internal.h>
3430 (reboot): Prototypify. Use ignore_value on HOWTO.
3431 * misc/ptrace.c: #include <libc-internal.h>
3432 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3433
84dbedb6
JM
34342014-12-04 Joseph Myers <joseph@codesourcery.com>
3435
3436 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3437 XPG4, UNIX98 and XOPEN2K.
3438 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3439 Remove variable.
3440 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3441
b7a3e1c4 34422014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3443
af50dfc1 3444 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3445 * libio/iofopen.c: Likewise.
3446 * libio/wfileops.c: Likewise.
3447
fe8b4d98
SP
3448 [BZ #17653]
3449 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3450 offset on EOF.
3451 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3452 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3453 (fgets_func): Function pointer to fgets and fgetws.
3454 (do_ftell_test): Add test to verify ftell value after read
3455 EOF.
3456 (do_test): Set fgets_func.
3457
61b4f792
SP
3458 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3459 O_TRUNC flag for w and w+ modes.
3460 (do_rewind_test): Likewise.
3461 (do_ftell_test): Likewise.
3462 (do_write_test): Likewise.
3463
be349d70
SP
3464 [BZ #17647]
3465 * libio/fileops.c (do_ftell): Seek only when there are
3466 unflushed writes.
3467 * libio/wfileops.c (do_ftell_wide): Likewise.
3468 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3469 test case.
3470 (do_one_test): Call it.
3471
e3d6dba5
JM
34722014-12-03 Joseph Myers <joseph@codesourcery.com>
3473
3474 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3475 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3476 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3477 Remove variable.
3478 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3479 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3480 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3481
7f994279
JM
34822014-12-02 Joseph Myers <joseph@codesourcery.com>
3483
28a91e8f
JM
3484 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3485 Remove variable.
3486 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3487
7f994279
JM
3488 [BZ #17668]
3489 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3490 as weak alias of __getifaddrs. Use libc_hidden_weak.
3491 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3492 __freeifaddrs. Use libc_hidden_weak.
3493 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3494 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3495 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3496 __freeifaddrs. Use libc_hidden_weak.
3497 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3498 __getifaddrs and define as weak alias of __getifaddrs. Use
3499 libc_hidden_weak.
3500 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3501 __freeifaddrs. Use libc_hidden_weak.
3502 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3503 Remove variable.
3504 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3505 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3506
bbe4c142
PJ
35072014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3508
3509 [BZ #17601]
3510 * sysdeps/mips/start.S (__start): Use indirect jump to call
3511 __libc_start_main.
3512
66cadc05
JM
35132014-12-02 Joseph Myers <joseph@codesourcery.com>
3514
909e16d9
JM
3515 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3516
4e0b9016
JM
3517 * nptl/tst-mutex1.c: Include <stdbool.h>.
3518 [!ATTR] (ATTR_NULL): New macro.
3519 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3520 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3521 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3522
b1aff6a4
JM
3523 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3524 to char *.
3525
266865c0
JM
3526 [BZ #17665]
3527 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3528 Change conditional to [__USE_MISC].
3529
84e5e756
JM
3530 [BZ #17664]
3531 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3532 fgets_unlocked.
3533 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3534 __fgets_unlocked.
3535 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3536 fgets_unlocked.
3537 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3538 Remove variable.
3539 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3540 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3541 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3542 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3543 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3544 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3545 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3548
66cadc05
JM
3549 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3550
2e8a2de2 35512014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3552
3553 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3554 Remove strpbrk objects.
3555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3556 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3557 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3558 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3559 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3560 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3561
bb2542e0
AZ
3562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3563 Remove strcspn objects.
3564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3565 (__libc_ifunc_impl_list): Remove strcspn implementation.
3566 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3567 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3568 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3569 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3570
3571 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3572 Remove strspn objetcs.
3573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3574 (__libc_ifunc_impl_list): Remove strspn implementation.
3575 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3576 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3577 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3578 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3579
08f1e1d2
JL
35802014-12-01 James Lemke <jwlemke@codesourcery.com>
3581
3582 [BZ #17581]
3583 * malloc/hooks.c
3584 (mem2mem_check): Add a terminator to the chain of checking blocks.
3585 (malloc_check_get_size): Use it here.
3586 (mem2chunk_check): Ditto.
3587
a8a7d7d2
RS
35882014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3589
3590 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3591 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3592
97114a38
CD
35932014-11-29 Carlos O'Donell <carlos@redhat.com>
3594
c8dc1727
CD
3595 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3596
6d03458e
CD
3597 * nptl/nptl-init.c: Include libc-internal.h.
3598 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3599
97114a38
CD
3600 * elf/ldconfig.c (search_dir): Expand comment.
3601
0e7e69ba
JM
36022014-11-29 Joseph Myers <joseph@codesourcery.com>
3603
3604 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3605 variable.
3606 (linknamespace-symlist-stdlibs-tests): Likewise.
3607 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3608 instead of $(objpfx)symlist-stdlibs.
3609 (linknamespace-libs-isoc): New variable.
3610 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3611 (linknamespace-libs-ISO): New variable.
3612 (linknamespace-libs-ISO99): Likewise.
3613 (linknamespace-libs-ISO11): Likewise.
3614 (linknamespace-libs-XPG3): Likewise.
3615 (linknamespace-libs-XPG4): Likewise.
3616 (linknamespace-libs-POSIX): Likewise.
3617 (linknamespace-libs-UNIX98): Likewise.
3618 (linknamespace-libs-XOPEN2K): Likewise.
3619 (linknamespace-libs-POSIX2008): Likewise.
3620 (linknamespace-libs-XOPEN2K8): Likewise.
3621 ($(objpfx)symlist-stdlibs): Replace by
3622 $(linknamespace-symlist-stdlibs-tests). Use
3623 $(linknamespace-libs-$*) as set of libraries.
3624 ($(linknamespace-header-tests)): Update dependencies. Use
3625 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3626 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3627 * conform/linknamespace.pl: Remove comment about considering
3628 definitions of symbols from irrelevant libraries.
3629
d8dd0080
L
36302014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 [BZ #13862]
3633 * elf/dl-tls.c: Include <atomic.h>.
3634 (oom): Remove #ifdef SHARED/#endif.
3635 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3636 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3637 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3638 big enough.
3639 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3640 * nptl/Makefile (tests): Add tst-stack4.
3641 (modules-names): Add tst-stack4mod.
3642 ($(objpfx)tst-stack4): New.
3643 (tst-stack4mod.sos): Likewise.
3644 ($(objpfx)tst-stack4.out): Likewise.
3645 ($(tst-stack4mod.sos)): Likewise.
3646 (clean): Likewise.
3647 * nptl/tst-stack4.c: New file.
3648 * nptl/tst-stack4mod.c: Likewise.
3649
167da422
B
36502014-11-27 J. Brown <jb999@gmx.de>
3651
3652 * sysdeps/x86/bits/string.h: Add recent CPUs.
3653
9114625b
JM
36542014-11-27 Joseph Myers <joseph@codesourcery.com>
3655
6b5189eb
JM
3656 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3657 sigblock.
3658
49051f8e
JM
3659 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3660 feof.
3661
9114625b
JM
3662 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3663 variable.
3664
e7300fef
SL
36652014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3666
3667 * nscd/connections.c: Include libc-internal.h because of macro
3668 usage ignore_value.
3669
1721f0a4
SP
36702014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * string/bits/string3.h (__warn_memset_zero_len): Don't
3673 declare for gcc newer than 5.0.
3674 (memset): Don't test for zero-length __LEN for gcc newer than
3675 5.0.
3676
be970916
JM
36772014-11-27 Joseph Myers <joseph@codesourcery.com>
3678
d88548f4
JM
3679 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3680 size_t for %zu format.
3681
be970916
JM
3682 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3683 difference, not %ju.
3684
3b20fd5c
JM
36852014-11-26 Joseph Myers <joseph@codesourcery.com>
3686
8915eace
JM
3687 * include/libc-internal.h (ignore_value): New macro.
3688 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3689 with ignore_value.
3690
f1a5a0e3
JM
3691 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3692 definition.
3693
59ef1715
JM
3694 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3695 pthread_cleanup_push to void *.
3696
a6f3079b
JM
3697 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3698 Undefine.
3699
706688aa
JM
3700 [BZ #16619]
3701 [BZ #16740]
3702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3703 instead of 1L << 52.
3704
12da14a5
JM
3705 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3706 * libio/bug-rewind2.c (do_test): Likewise.
3707
bd5dadac
JM
3708 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3709 * debug/test-strcpy_chk-ifunc.c: Likewise.
3710 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3711 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3712 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3713 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3714 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3715 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3716 * Rules [$(multi-arch) = no] (tests): Do not filter out
3717 $(tests-ifunc).
3718 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3719 * debug/Makefile (tests-ifunc): Remove variable.
3720 (tests): Do not add $(tests-ifunc).
3721 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3722 (tests): Do not add $(tests-ifunc).
3723 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3724 [TEST_IFUNC]: Remove conditionals.
3725 * string/test-string.h (TEST_IFUNC): Remove macro.
3726 [TEST_IFUNC]: Remove conditionals.
3727
3b20fd5c
JM
3728 * string/test-strchr.c [!WIDE] (L): New macro.
3729 [WIDE] (L): Likewise.
3730 (check1): Use CHAR instead of char. Use L on string and character
3731 constants.
3732
704f7947
AZ
37332014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3734
3735 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3736 tests.
3737 * sysdeps/powerpc/bits/atomic.h
3738 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3739 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3740 (atomic_exchange_and_add_acq): Likewise.
3741 (atomic_exchange_and_add_rel): Likewise.
3742 * sysdeps/powerpc/powerpc32/bits/atomic.h
3743 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3744 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3745 * sysdeps/powerpc/powerpc64/bits/atomic.h
3746 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3747 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3748
cdcb42d7
TR
37492014-11-26 Torvald Riegel <triegel@redhat.com>
3750
3751 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3752 Change synchronization of __sched_fifo_min_prio and
3753 __sched_fifo_max_prio.
3754 * nptl/pthread_mutexattr_getprioceiling.c
3755 (pthread_mutexattr_getprioceiling): Likewise.
3756 * nptl/pthread_mutexattr_setprioceiling.c
3757 (pthread_mutexattr_setprioceiling): Likewise.
3758 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3759 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3760 Likewise.
3761
c82f5c0c
JM
37622014-11-26 Joseph Myers <joseph@codesourcery.com>
3763
3764 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3765 void.
3766
439e1ad6
JM
37672014-11-25 Joseph Myers <joseph@codesourcery.com>
3768
3769 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3770 third argument const.
3771
b1eda10e
PE
37722014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3773
3774 fnmatch: work around GCC compiler warning bug with uninit var
3775 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3776 This works around a bug with x86-64 GCC 4.9.2 and earlier
3777 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3778 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3779 used uninitialized in this function [-Wmaybe-uninitialized]".
3780
bde2667a
JM
37812014-11-25 Joseph Myers <joseph@codesourcery.com>
3782
3783 * posix/bug-regex31.c (main): Return RES not 0.
3784
5fbb5691
AB
37852014-11-25 Anton Blanchard <anton@samba.org>
3786
3787 * sysdeps/powerpc/bits/atomic.h
3788 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3789
467fec0b
BM
37902014-11-24 Sterling Augustine <saugustine@google.com>
3791
3792 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3793
e9ff8efb
RC
37942014-11-24 Ryan Cumming <etaoins@gmail.com>
3795
3796 [BZ #17608]
3797 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3798
9744496f
JM
37992014-11-24 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #17633]
3802 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3803 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3804 variable.
3805 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3806 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3807
6423d475
WD
38082014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3809
3810 * string/strncpy.c (strncpy): Improve performance by using memset.
3811
38122014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3813
3814 * string/strcpy.c (strcpy):
3815 Improve performance by using strlen and memcpy.
3816
5d178c37
LH
38172014-11-24 Leonhard Holz <leonhard.holz@web.de>
3818
3819 * string/strcoll_l.c (get_next_seq): __always_inline.
3820 * string/strcoll_l.c (do_compare): __always_inline.
3821
279bc5b3
SP
38222014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3823
7a9ebfa1
SP
3824 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3825 defined.
3826 * include/mqueue.h: Likewise.
3827 * include/stdlib.h: Likewise.
3828
4f41c682
SP
3829 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3830 (get_null_defines): Adjust.
3831 * sunrpc/Makefile: Adjust comment.
3832 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3833 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3834 (CFLAGS-interp.c): Likewise.
3835 (CFLAGS-ldconfig.c): Likewise.
3836 (CPPFLAGS-.os): Likewise.
3837 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3838 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3839 * extra-modules.mk (extra-modules.mk): Likewise.
3840 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3841 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3842 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3843 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3844 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3845 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3846 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3847 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3848 * iconvdata/Makefile (CPPFLAGS): Likewise.
3849 (cpp-srcs-left): Add libof for all iconvdata routines.
3850 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3851 * include/assert.h: Likewise.
3852 * include/ctype.h: Likewise.
3853 * include/errno.h: Likewise.
3854 * include/libc-symbols.h: Likewise.
3855 * include/math.h: Likewise.
3856 * include/netdb.h: Likewise.
3857 * include/resolv.h: Likewise.
3858 * include/stdio.h: Likewise.
3859 * include/stdlib.h: Likewise.
3860 * include/string.h: Likewise.
3861 * include/sys/stat.h: Likewise.
3862 * include/wctype.h: Likewise.
3863 * intl/l10nflist.c: Likewise.
3864 * libidn/idn-stub.c: Likewise.
3865 * libio/libioP.h: Likewise.
3866 * nptl/libc_multiple_threads.c: Likewise.
3867 * nptl/pthreadP.h: Likewise.
3868 * posix/regex_internal.h: Likewise.
3869 * resolv/res_hconf.c: Likewise.
3870 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3871 * sysdeps/arm/memmove.S: Likewise.
3872 * sysdeps/arm/sysdep.h: Likewise.
3873 * sysdeps/generic/_itoa.h: Likewise.
3874 * sysdeps/generic/symbol-hacks.h: Likewise.
3875 * sysdeps/gnu/errlist.awk: Likewise.
3876 * sysdeps/gnu/errlist.c: Likewise.
3877 * sysdeps/i386/i586/memcpy.S: Likewise.
3878 * sysdeps/i386/i586/memset.S: Likewise.
3879 * sysdeps/i386/i686/memcpy.S: Likewise.
3880 * sysdeps/i386/i686/memmove.S: Likewise.
3881 * sysdeps/i386/i686/mempcpy.S: Likewise.
3882 * sysdeps/i386/i686/memset.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3887 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3888 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3889 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3890 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3892 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3893 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3894 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3895 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3896 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3897 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3898 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3899 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3900 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3902 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3903 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3904 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3905 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3906 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3907 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3909 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3910 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3912 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3913 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3916 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3917 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3918 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3921 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3922 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3923 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3925 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3926 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3927 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3928 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3929 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3930 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3931 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3932 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3935 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3936 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3938 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3941 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3945 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3946 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3947 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3948 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3949 * sysdeps/posix/closedir.c: Likewise.
3950 * sysdeps/posix/opendir.c: Likewise.
3951 * sysdeps/posix/readdir.c: Likewise.
3952 * sysdeps/posix/rewinddir.c: Likewise.
3953 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3954 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3955 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3956 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3957 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3962 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3964 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3965 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3967 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3970 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3972 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3973 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3975 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3976 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3981 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3988 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3989 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3990 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3992 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3993 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3994 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3995 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3996 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3997 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3998 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3999 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4000 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4001 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4002 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4004 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4007 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4008 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4010 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4011 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4012 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4013 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4015 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4016 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4017 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4018 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4019 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4020 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4021 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4022 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4024 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4026 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4027 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4028 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4029 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4030 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4031 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4032 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4033 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4035 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4037 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4038 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4039 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4040 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4041 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4043 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4044 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4045 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4049 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4051 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4052 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4054 * sysdeps/unix/alpha/sysdep.S: Likewise.
4055 * sysdeps/unix/alpha/sysdep.h: Likewise.
4056 * sysdeps/unix/make-syscalls.sh: Likewise.
4057 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4059 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4060 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4061 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4062 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4063 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4064 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4065 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4066 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4067 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4068 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4070 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4071 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4072 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4073 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4074 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4075 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4076 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4077 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4078 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4079 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4080 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4081 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4082 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4083 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4086 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4087 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4091 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4096 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4097 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4098 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4099 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4100 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4107 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4108 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4109 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4110 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4112 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4115 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4116 * sysdeps/x86_64/memcpy.S: Likewise.
4117 * sysdeps/x86_64/memmove.c: Likewise.
4118 * sysdeps/x86_64/memset.S: Likewise.
4119 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4120 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4121 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4122 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4123 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4126 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4128 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4129 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4130 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4131 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4132 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4133 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4134 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4136 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4137 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4138 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4139 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4140 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4143 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4144 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4145 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4146 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4147 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4148 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4149 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4150 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4151 * sysdeps/x86_64/strcmp.S: Likewise.
4152
76ca86a5
SP
4153 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4154
a3848485
SP
4155 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4156 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4157 * elf/rtld-Rules: Likewise.
4158 * elf/setup-vdso.h: Likewise.
4159 * include/assert.h: Likewise.
4160 * include/bits/stdlib-float.h: Likewise.
4161 * include/errno.h: Likewise.
4162 * include/sys/stat.h: Likewise.
4163 * include/unistd.h: Likewise.
4164 * sysdeps/aarch64/setjmp.S: Likewise.
4165 * sysdeps/alpha/setjmp.S: Likewise.
4166 * sysdeps/arm/__longjmp.S: Likewise.
4167 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4168 * sysdeps/arm/setjmp.S: Likewise.
4169 * sysdeps/arm/sysdep.h: Likewise.
4170 * sysdeps/generic/_itoa.h: Likewise.
4171 * sysdeps/generic/dl-sysdep.h: Likewise.
4172 * sysdeps/generic/ldsodefs.h: Likewise.
4173 * sysdeps/i386/dl-tls.h: Likewise.
4174 * sysdeps/i386/setjmp.S: Likewise.
4175 * sysdeps/m68k/setjmp.c: Likewise.
4176 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4177 * sysdeps/mach/hurd/opendir.c: Likewise.
4178 * sysdeps/posix/getcwd.c: Likewise.
4179 * sysdeps/posix/opendir.c: Likewise.
4180 * sysdeps/posix/profil.c: Likewise.
4181 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4183 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4185 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4187 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4188 * sysdeps/s390/dl-tls.h: Likewise.
4189 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4190 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4191 * sysdeps/sh/sh3/setjmp.S: Likewise.
4192 * sysdeps/sh/sh4/setjmp.S: Likewise.
4193 * sysdeps/unix/alpha/sysdep.h: Likewise.
4194 * sysdeps/unix/arm/sysdep.S: Likewise.
4195 * sysdeps/unix/i386/sysdep.S: Likewise.
4196 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4197 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4198 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4199 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4200 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4201 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4202 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4203 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4204 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4205 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4206 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4207 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4211 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4214 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4215 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4219 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4220 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4221 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4223 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4224 * sysdeps/x86_64/setjmp.S: Likewise.
4225
a109996e
SP
4226 * include/math.h: Use IS_IN instead of IS_IN_libm.
4227 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4239 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4247 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4248 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4249 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4250 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4251 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4252 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4254 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4255 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4256 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4257 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4258 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4259 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4261 Likewise.
4262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4263 Likewise.
4264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4265 Likewise.
4266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4267 Likewise.
4268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4269 Likewise.
4270 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4273 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4274 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4282 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4283 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4284 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4288 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4289 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4291 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4294 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4296 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4297
ce9f10f7
SP
4298 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4299 * nptl/pthreadP.h: Likewise.
4300 * nptl_db/structs.def: Likewise.
4301 * sysdeps/arm/sysdep.h: Likewise.
4302 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4303 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4304 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4305 * sysdeps/unix/alpha/sysdep.h: Likewise.
4306 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4309 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4310 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4311 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4313 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4314 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4315 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4316 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4317 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4318 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4319 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4324 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4327 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4328 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4329 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4330 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4332
016afc75
SP
4333 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4334 * nptl/pthreadP.h: Likewise.
4335 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4336 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4337 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4338 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4339 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4340 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4341 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4342 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4343 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4346 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4348 Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4350 Likewise.
4351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4353 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4356 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4357 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4358 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4359
9b42a0b3
SP
4360 * dlfcn/dladdr.c: Use IS_IN.
4361 * dlfcn/dladdr1.c: Likewise.
4362 * dlfcn/dlclose.c: Likewise.
4363 * dlfcn/dlerror.c: Likewise.
4364 * dlfcn/dlinfo.c: Likewise.
4365 * dlfcn/dlmopen.c: Likewise.
4366 * dlfcn/dlopen.c: Likewise.
4367 * dlfcn/dlsym.c: Likewise.
4368 * dlfcn/dlvsym.c: Likewise.
4369
85f36372
SP
4370 * include/ifaddrs.h: Use IS_IN.
4371 * inet/check_pf.c: Likewise.
4372 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4373 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4374
fb6784e3
SP
4375 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4376 IS_IN_ldconfig.
4377 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4378 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4379
2886d2d1
SP
4380 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4381 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4382 IS_IN (libc).
4383
9a484857
SP
4384 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4385
a10178bd
SP
4386 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4387 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4388 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4389 * include/libc-symbols.h (IS_IN_LIB): New macro.
4390 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4391 * include/netdb.h: Likewise.
4392 * include/stap-probe.h: Remove all uses of IN_LIB.
4393
279bc5b3
SP
4394 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4395 instead of IN_MODULE.
4396 * include/libc-symbols.h (IN_MODULE): Define using
4397 MODULE_NAME.
4398 (PASTE_NAME, PASTE_NAME1): New macros.
4399 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4400 of IN_LIB.
4401 (STAP_PROBE_ASM): Likewise.
4402
e0cfa510
ST
44032014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4404
4405 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4406 __mach_init in dlopened libc.
4407
34d97d87
MF
44082014-11-22 Mike Frysinger <vapier@gentoo.org>
4409
4410 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4411 * sysdeps/arm/preconfigure: Regenerate.
4412
33cd1f74
RM
44132014-11-21 Roland McGrath <roland@hack.frob.com>
4414
4415 * nptl/pthread_create.c (__pthread_create_2_1): Set
4416 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4417 when copying values from IATTR into PD.
4418
8c230039
WN
44192014-11-21 Will Newton <will.newton@linaro.org>
4420 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4421
6d3db89b
AP
4422 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4423 Refactor inline-asm. Also add comment.
4424
01194ba1
WN
4425 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4426 ElfW macro instead of hardcoded Elf64 types.
4427 (la_aarch64_gnu_pltenter): Likewise.
4428 * sysdeps/aarch64/dl-machine.h
4429 (elf_machine_runtime_setup): Use ElfW(Addr).
4430
8c230039
WN
4431 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4432 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4433 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4434 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4435 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4436 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4437 (R_AARCH64_TLS_DTPMOD): This.
4438 (R_AARCH64_TLS_DTPREL64): Rename to ...
4439 (R_AARCH64_TLS_DTPREL): This.
4440 (R_AARCH64_TLS_TPREL64): Rename to ...
4441 (R_AARCH64_TLS_TPREL): This.
4442 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4443 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4444 R_AARCH64_TLS_TPREL64.
4445 (elf_machine_rela): Likewise.
4446
0d79fa53
TR
44472014-11-21 Torvald Riegel <triegel@redhat.com>
4448
4449 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4450 by setting it to 0. 64b atomics are not supported currently.
4451
b59d114b
AO
44522014-11-21 Alexandre Oliva <aoliva@redhat.com>
4453
4454 [BZ #16469]
4455 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4456 search domain names.
4457
f3d945d5
AO
44582014-11-21 Alexandre Oliva <aoliva@redhat.com>
4459
4460 [BZ #16469]
4461 * NEWS: Update.
4462 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4463 trailing dot.
4464 * posix/tst-getaddrinfo5.c: New.
4465 * posix/Makefile (tests): Add it.
4466
49698902
AO
44672014-11-21 Alexandre Oliva <aoliva@redhat.com>
4468
4469 [BZ #14498]
4470 * NEWS: Fixed.
4471 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4472 after parsing line but before break_if_match.
4473 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4474 if there is a protocol mismatch.
4475
81959214
MS
44762014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4477
4478 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4479 because the potential race is on the user-supplied stream.
4480
7729e0e9
AO
44812014-11-21 Alexandre Oliva <aoliva@redhat.com>
4482
4483 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4484 string literal if not passed a buffer.
4485 * manual/job.texi (ctermid): Update reasoning, note deviation
4486 from posix, suggest mtasurace when not passed a buffer, for
4487 future non-preliminary safety notes.
4488
a4ea5e28
AO
44892014-11-21 Alexandre Oliva <aoliva@redhat.com>
4490
4491 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4492 of not passing it a buffer.
4493 Reported by Peng Haitao.
4494
a2b581cb
AO
44952014-11-21 Alexandre Oliva <aoliva@redhat.com>
4496
4497 * manual/Makefile ($(objpfx)stamp-summary): Require
4498 check-safety.sh to pass.
4499 * manual/check-safety.sh: Wish for verification that every
4500 @deftypefn and @deftypefun is followed by a @safety remark.
4501
f214ff74
RM
45022014-11-20 Roland McGrath <roland@hack.frob.com>
4503
7f0dfae0
RM
4504 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4505
2f531bbb
RM
4506 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4507 PTHREAD_CANCEL_ASYNCHRONOUS.
4508 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4509 send SIGCANCEL.
4510
f214ff74
RM
4511 * nptl/default-sched.h: New file.
4512 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4513 * nptl/pthread_create.c: Include it.
4514 (__pthread_create_2_1): Use collect_default_sched instead of making
4515 Linux syscalls here directly.
4516
e37c91d4
TR
45172014-11-20 Torvald Riegel <triegel@redhat.com>
4518
4519 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4520 __pthread_once): Use C11 atomics.
4521
1eccfecd
TR
45222014-11-20 Torvald Riegel <triegel@redhat.com>
4523
4524 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4525
ff871426
TR
45262014-11-20 Torvald Riegel <triegel@redhat.com>
4527
4528 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4529 atomic_thread_fence_acquire, atomic_thread_fence_release,
4530 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4531 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4532 atomic_compare_exchange_weak_relaxed,
4533 atomic_compare_exchange_weak_acquire,
4534 atomic_compare_exchange_weak_release,
4535 atomic_exchange_acquire, atomic_exchange_release,
4536 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4537 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4538 atomic_fetch_and_acquire,
4539 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4540
1ea339b6
TR
45412014-11-20 Torvald Riegel <triegel@redhat.com>
4542
4543 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4544 USE_ATOMIC_COMPILER_BUILTINS): Define.
4545 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4547 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4549 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4551 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4553 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4555 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4557 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4559 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4561 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4563 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4564 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4565 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4566 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4567 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4568 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4569 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4570 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4571 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4572 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4573 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4574 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4575 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4577 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4579 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4580 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4581 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4583 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4585
cbd463e2
RM
45862014-11-19 Roland McGrath <roland@hack.frob.com>
4587
d960211f
RM
4588 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4589 the sched_priority value here. It was already checked when the user
4590 called pthread_attr_setschedparam.
4591
cbd463e2
RM
4592 * nptl/tst-bad-schedattr.c: New file.
4593 * nptl/Makefile (tests): Add it.
4594
a39208bd
CD
45952014-11-19 Carlos O'Donell <carlos@redhat.com>
4596 Florian Weimer <fweimer@redhat.com>
4597 Joseph Myers <joseph@codesourcery.com>
4598 Adam Conrad <adconrad@0c3.net>
4599 Andreas Schwab <schwab@suse.de>
4600 Brooks <bmoses@google.com>
4601
4602 [BZ #17625]
4603 * wordexp-test.c (__dso_handle): Add prototype.
4604 (__register_atfork): Likewise.
4605 (__app_register_atfork): New function.
4606 (registered_forks): New global.
4607 (register_fork): New function.
4608 (test_case): Add 3 new tests for WRDE_CMDSUB.
4609 (main): Call __app_register_atfork.
4610 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4611 fork count is non-zero fail the test.
4612 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4613 is set.
4614 (parse_dollars): Remove check for WRDE_NOCMD.
4615 (parse_dquote): Likewise.
4616
9cd47470
SP
46172014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4618
130ac68c
SP
4619 * Makeconfig (built-modules): List non-library modules to be
4620 built.
4621 (module-cppflags): Include libc-modules.h for
4622 everything except shlib-versions.v.i.
4623 (CPPFLAGS): Use it.
4624 (before-compile): Add libc-modules.h.
4625 ($(common-objpfx)libc-modules.h,
4626 $(common-objpfx)libc-modules.stmp): New targets.
4627 (common-generated): Add libc-modules.h and libc-modules.stmp.
4628 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4629 * include/libc-symbols.h: Don't include libc-modules.h.
4630 * include/libc-modules.h: Remove file.
4631 * scripts/gen-libc-modules.awk: New script to generate
4632 libc-modules.h.
4633 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4634 Depend on libc-modules.stmp.
4635
286663c3
SP
4636 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4637
9cd47470
SP
4638 * Makeconfig (in-module): Get value of libof set for the
4639 translation unit.
4640 (CPPFLAGS): Use $(in-module).
4641 * Makerules: Don't suffix routine names for nonlib.
4642 * include/libc-modules.h: New file.
4643 * include/libc-symbols.h: Include libc-modules.h
4644 (IS_IN): New macro to replace IS_IN_* macros.
4645 * elf/Makefile: Set libof-* for each routine.
4646 * elf/rtld-Rules: Likewise.
4647 * extra-modules.mk: Likewise.
4648 * iconv/Makefile: Likewise.
4649 * iconvdata/Makefile: Likewise.
4650 * locale/Makefile: Likewise.
4651 * malloc/Makefile: Likewise.
4652 * nss/Makefile: Likewise.
4653 * sysdeps/gnu/Makefile: Likewise.
4654 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4655 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4656 * sysdeps/s390/s390-64/Makefile: Likewise.
4657 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4658 CPPFLAGS for nscd instead of nonlib.
4659
32fed10f
RM
46602014-11-18 Roland McGrath <roland@hack.frob.com>
4661
d71035bd
RM
4662 * nptl/createthread.c: New file.
4663
6540b991
RM
4664 * nptl/createthread.c: Moved ...
4665 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4666
32fed10f
RM
4667 * nptl/createthread.c: Add proper top-line comment.
4668 (do_clone): Folded into ...
4669 (create_thread): ... here. Take new arguments STOPPED_START and
4670 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4671 increment __nptl_threads, do event-reporting logic, do
4672 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4673 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4674 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4675 just send SIGCANCEL.
4676 * nptl/pthread_create.c: Forward-declare create_thread before
4677 including createthread.c.
4678 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4679 declaration, and new macro START_THREAD_SELF to replace argument.
4680 Remove return statement.
4681 (report_thread_creation): New function.
4682 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4683 synchronization logic, and __nptl_nthreads increment here, around
4684 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4685 PD->parent_cancelhandling here, before create_thread. When
4686 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4687 __deallocate_stack, and ENOMEM translation here.
4688
107a5bf0
JM
46892014-11-18 Joseph Myers <joseph@codesourcery.com>
4690
4691 [BZ #17616]
4692 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4693 (mptwo): Rename to __mptwo.
4694 (__inv): Use __mptwo instead of mptwo.
4695 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4696 (mptwo): Rename to __mptwo.
4697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4698 of mpone and __mptwo instead of mptwo.
4699 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4700 instead of mpone.
4701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4702 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4703 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4704 of mpone and __mptwo instead of mptwo.
4705 (__mpranred): Use __mpone instead of mpone.
4706 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4707 variable.
4708 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4709 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4710 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4711 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4712 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4713 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4714 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4715 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4716 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4717 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4718 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4719 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4720 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4721 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4722 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4723 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4724 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4725 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4726 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4727
3b679ab3
TV
47282014-11-18 Tom de Vries <tom@codesoucery.com>
4729
4730 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4731 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4732
47332014-11-17 Richard Henderson <rth@redhat.com>
4734
4735 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4736 (_FP_PACK_RAW_2): Remove.
4737 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4738 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4739 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4740 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4741 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4742 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4743 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4744 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4745 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4746 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4747 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4748 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4749 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4750 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4751 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4752 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4753
0781a777
RM
47542014-11-14 Roland McGrath <roland@hack.frob.com>
4755
4756 * signal/signal.h [__USE_MISC]
4757 (struct sigvec): Remove type.
4758 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4759 (sigvec): Remove declaration.
4760 * sysdeps/posix/sigvec.c: Moved ...
4761 * signal/sigvec.c: ... here, replacing old file.
4762 (struct sigvec): New type, copied from old signal.h definition.
4763 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4764 (__sigvec): Convert definition to prototype.
4765 (sigvec): Replace weak_alias with compat_symbol.
4766 * signal/Versions (libc: GLIBC_2.21): New version set.
4767 * include/signal.h: Remove __sigvec declaration.
4768 * sysdeps/unix/bsd/sigvec.c: Remove file.
4769 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4770 * manual/signal.texi (BSD Handler): Remove subsection.
4771 Move siginterrupt up to ...
4772 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4773 (Blocking in BSD): Fold subsection into its parent.
4774 * NEWS: Mention sigvec removal.
4775
a4733812
JM
47762014-11-14 Joseph Myers <joseph@codesourcery.com>
4777
5ae4fe60
JM
4778 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4779 (DLA_FMS): Make definition conditional only on [__FMA4__].
4780 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4781 definition.
4782
6a0dd472
JM
4783 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4784 Make definition conditional only on [PROF].
4785 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4786 definition.
4787 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4788 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4789
a4733812
JM
4790 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4791 !__GNUC__].
4792 * include/signal.h (__sigpause): Move declaration above call to
4793 libc_hidden_proto.
4794 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4795 variable.
4796 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4797 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4798
cf7246dd
DM
47992014-11-14 David S. Miller <davem@davemloft.net>
4800
4801 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4802 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4803
c1b0aadc
JM
48042014-11-14 Joseph Myers <joseph@codesourcery.com>
4805
4863355a
JM
4806 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4807 * configure: Regenerated.
4808 * manual/install.texi (Tools for Compilation): Document a
4809 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4810 compiler verified to work.
4811 * INSTALL: Regenerated.
4812
c1b0aadc
JM
4813 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4814 redeclare with asm name.
4815 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4816 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4817 including <string.h>.
4818 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4819 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4820 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4821 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4822 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4824 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4825
2a1cfd94
JM
48262014-11-13 Joseph Myers <joseph@codesourcery.com>
4827
bf438382
JM
4828 * stdlib/strtol.c (__strtol): Use prototype definition.
4829
2a1cfd94
JM
4830 [BZ #17594]
4831 * stdlib/strtol.c (SYM__): New macro.
4832 (SYM__1): Likewise.
4833 (__strtol): Likewise.
4834 (strtol): Rename to __strtol and define as weak alias of
4835 __strtol. Use libc_hidden_weak.
4836
20ed0d26
SL
48372014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4838
4839 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4840 Use numbered labels in inline assembly.
4841
53244a4e
SL
48422014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4843
4844 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4845 Add setjmp LIBC_PROBE.
4846 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4847 Likewise.
4848 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4849 Add longjmp, longjmp_target LIBC_PROBE.
4850 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4851 Likewise.
4852
47df8251
SL
48532014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4854
4855 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4856 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4857 to get rid of unused variable warning.
4858
618cebef
SL
48592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4860
4861 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4862 Check for unwind_backtrace == NULL only in SHARED case.
4863 (__backchain_backtrace): Compile only in SHARED case.
4864 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4865 Likewise.
4866 (__backchain_backtrace): Declare as static.
4867
c6aab2cb
RM
48682014-11-12 Roland McGrath <roland@hack.frob.com>
4869
4870 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4871 (__libc_multiple_threads_ptr): Variable moved ...
4872 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4873
5a6fa4d7
JM
48742014-11-12 Joseph Myers <joseph@codesourcery.com>
4875
24f4f825
JM
4876 * conform/GlibcConform.pm: New file.
4877 * conform/conformtest.pl: Use GlibcConform module.
4878 * conform/linknamespace.pl: New file.
4879 * conform/list-header-symbols.pl: Likewise.
4880 * conform/Makefile (linknamespace-symlists-base): New variable.
4881 (linknamespace-symlists-tests): Likewise.
4882 (linknamespace-header-base): Likewise.
4883 (linknamespace-header-tests): Likewise.
4884 (tests-special): Add new tests.
4885 ($(linknamespace-symlists-tests)): New rule.
4886 (linknamespace-libs): New variable.
4887 ($(objpfx)symlist-stdlibs): New rule.
4888 ($(linknamespace-header-tests)): Likewise.
4889 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4890 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4891 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4892 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4893 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4894 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4895 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4896 (test-xfail-ISO/math.h/linknamespace): Likewise.
4897 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4898 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4899 (test-xfail-ISO/time.h/linknamespace): Likewise.
4900 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4901 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4902 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4903 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4904 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4905 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4906 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4907 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4908 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4909 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4910 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4911 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4912 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4913 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4914 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4915 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4916 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4917 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4918 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4919 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4920 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4921 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4922 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4923 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4924 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4925 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4926 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4927 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4928 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4929 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4930 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4931 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4932 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4933 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4934 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4935 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4936 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4937 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4938 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4939 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4940 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4941 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4942 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4943 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4944 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4945 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4946 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4947 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4948 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4949 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4950 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4951 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4952 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4953 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4954 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4955 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4956 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4957 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4958 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4959 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4960 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4961 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4962 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4963 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4964 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4965 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4966 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4967 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4968 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4969 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4970 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4971 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4972 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4973 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4974 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4975 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4976 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4977 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4978 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4979 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4980 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4981 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4982 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4983 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4984 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4985 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4986 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4987 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4988 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4989 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4990 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4991 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4992 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4993 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4994 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4995 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4996 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4997 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4998 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4999 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5000 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5001 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5002 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5003 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5004 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5005 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5006 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5007 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5008 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5009 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5010 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5011 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5012 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5013 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5014 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5015 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5016 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5017 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5018 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5019 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5020 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5021 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5022 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5023 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5024 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5025 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5026 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5027 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5028 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5029 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5030 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5031 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5032 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5033 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5034 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5035 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5036 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5037 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5038 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5039 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5040 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5041 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5042 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5043 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5044 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5045 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5046 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5047 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5048 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5049 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5050
cc67478e
JM
5051 [BZ #17589]
5052 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5053 of fgets_unlocked.
5054
9975e3d3
JM
5055 [BZ #17585]
5056 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5057 (memmem): Rename to __memmem and define as weak alias of
5058 __memmem. Use libc_hidden_weak.
5059 (__memmem): Use libc_hidden_def.
5060 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5061 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5062 memmem.
5063
c4eae752
JM
5064 [BZ #17582]
5065 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5066 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5067 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5068 and define as weak alias of __fgets_unlocked. Use
5069 libc_hidden_weak.
5070 (__fgets_unlocked): Use libc_hidden_def.
5071 * include/stdio.h (__fgets_unlocked): Declare. Use
5072 libc_hidden_proto.
5073 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5074 __fgets_unlocked instead of fgets_unlocked.
5075 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5076 (GET_NPROCS_CONF_PARSER): Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5078 (GET_NPROCS_CONF_PARSER): Likewise.
5079
01cad84e
JM
5080 [BZ #17574]
5081 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5082 weak alias of __wmemset. Use libc_hidden_weak.
5083 (__wmemset): Use libc_hidden_def.
5084 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5085 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5086 of wmemset.
5087
939da411
JM
5088 [BZ #17573]
5089 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5090 with asm name __mempcpy.
5091 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5092
293d9a41
JM
5093 [BZ #17572]
5094 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5095 and define as weak alias of __rawmemchr.
5096 (__rawmemchr): Do not define as strong alias of rawmemchr.
5097
bef8fd60
JM
5098 [BZ #17571]
5099 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5100 alias of __qsort_r.
5101 (qsort): Call __qsort_r instead of qsort_r.
5102 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5103 (__qsort_r): Declare. Call libc_hidden_proto.
5104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5105 instead of qsort_r.
5106 * nscd/gai.c (__qsort_r): Define to qsort_r.
5107 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5108 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5109 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5110
c52ff39e
JM
5111 [BZ #17570]
5112 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5113 define as weak alias of __malloc_info.
5114
2f5c1b00
JM
5115 [BZ #17584]
5116 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5117 as weak alias of __rewinddir. Don't use libc_hidden_def.
5118 (__rewinddir): Use libc_hidden_def.
5119 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5120 as weak alias of __rewinddir. Don't use libc_hidden_def.
5121 (__rewinddir): Use libc_hidden_def.
5122 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5123 weak alias of __rewinddir. Don't use libc_hidden_def.
5124 (__rewinddir): Use libc_hidden_def.
5125 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5126 (__rewinddir): Use libc_hidden_proto.
5127 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5128 rewinddir.
5129 (__getcwd): Use __rewinddir instead of rewinddir.
5130
5a6fa4d7
JM
5131 [BZ #17583]
5132 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5133 alias of __fileno. Use libc_hidden_weak.
5134 (__fileno): Use libc_hidden_def.
5135 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5136 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5137 alias of __ftello.
5138 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5139 __ftello.
5140 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5141 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5142 libc_hidden_def.
5143 (fread_unlocked): Don't use libc_hidden_ver.
5144 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5145 and define as weak alias of __fread_unlocked. Don't use
5146 libc_hidden_def.
5147 (__fread_unlocked): Use libc_hidden_def.
5148 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5149 (ftello): Don't use libc_hidden_proto.
5150 (__ftello): Declare. Use libc_hidden_proto.
5151 (fread_unlocked): Don't use libc_hidden_proto.
5152 (__fread_unlocked): Declare. Use libc_hidden_proto.
5153 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5154 and __ftello instead of fileno, fread_unlocked and ftello.
5155
2581b98e
SP
51562012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5157
5158 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5159 GOT12.
5160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5161 Likewise.
5162 (_dl_start_user): Likewise.
5163 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5164
533bb7c2
SP
51652014-11-12 Carlos O'Donell <carlos@redhat.com>
5166 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
5168 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5169 Move argv and envp down instead of moving argc up.
5170 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5171
fffa1cf8
LH
51722014-11-12 Leonhard Holz <leonhard.holz@web.de>
5173
5174 [BZ #17506]
5175 * test-skeleton.c (main): Return successful if one of
5176 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5177 * string/tst-strcoll-overflow.c: Define expected status.
5178
fb89b46d
TU
51792014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5180
5181 [BZ #17475]
5182 * locale/iso-639.def: Define Bhili and Tulu language codes.
5183
5c40c3ba
AH
51842014-11-11 Alan Hayward <alan.hayward@arm.com>
5185
5186 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5187
b17fe01b 51882014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5189
5190 [BZ #17555]
5191 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5192
bd805071
AS
51932014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5194
5195 * configure.ac: Updated check of minimal required version to
5196 2.22.
5197 * manual/install.texi (Tools for Compilation): Updated version
5198 number.
5199 * configure: Regenerated.
5200 * INSTALL: Likewise.
5201
1400983e
AS
52022014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5203
5204 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5205 __tls_get_addr.
5206
2c46a66a
JM
52072014-11-07 Joseph Myers <joseph@codesourcery.com>
5208
5209 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5210 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5211 (__waitpid): Don't define as alias. Use libc_hidden_def not
5212 libc_hidden_weak.
5213 (waitpid): Define as alias of __waitpid.
5214 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5215 __waitpid.
5216 (__waitpid): Don't define as alias. Use libc_hidden_def not
5217 libc_hidden_weak.
5218 (waitpid): Define as alias of __waitpid.
5219 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5220 __libc_waitpid alias.
5221 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5222 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5223 Likewise.
5224 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5226 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5227 alias.
5228 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5229 __waitpid.
5230 (__waitpid): Don't define as alias. Use libc_hidden_def not
5231 libc_hidden_weak.
5232 (waitpid): Define as alias of __waitpid.
5233
da53d6db
CD
52342014-11-06 Carlos O'Donell <carlos@redhat.com>
5235
a2887bdb
CD
5236 * manual/llio.texi: Add comment that write safety has been
5237 fixed in Linux.
5238
da53d6db
CD
5239 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5240 (localplt-build-dso): Add elf/ld.so.
5241 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5242 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5243 and free for ld.so.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5245 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5249 Likewise.
5250 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5251 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5252 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5253 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5254 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5255 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5256 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5257 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5258 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5261
9cf27b8d
JM
52622014-11-05 Joseph Myers <joseph@codesourcery.com>
5263
5264 [BZ #14132]
5265 * include/libc-symbols.h (INTUSE): Remove macro.
5266 (INTDEF): Likewise.
5267 (INTVARDEF): Likewise.
5268 (_INTVARDEF): Likewise.
5269 (INTDEF2): Likewise.
5270 (INTVARDEF2): Likewise.
5271 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5272 rtld_hidden_def instead of INTVARDEF.
5273 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5274 (_dl_starting_up_internal): Remove declaration.
5275 (_dl_starting_up): Use rtld_hidden_proto.
5276 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5277 declaration.
5278 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5279 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5280 _dl_starting_up.
5281 * elf/dl-writev.h (_dl_writev): Likewise.
5282 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5283 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5284 _dl_starting_up_internal.
5285
af83568d
AZ
52862014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5289 test-skeleton.c.
5290
b01ee67c
WN
52912014-11-05 Will Newton <will.newton@linaro.org>
5292
5293 * benchtests/Makefile: (bench-malloc): Add malloc thread
5294 scalability benchmark.
5295 * benchtests/bench-malloc-threads.c: New file.
5296
be9d4ccc
RE
52972014-11-05 Richard Earnshaw <rearnsha@arm.com>
5298
5299 * sysdeps/aarch64/strchrnul.S: New file.
5300
7110166d
AZ
53012014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5302
5303 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5304 definition.
5305 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5306 Likwise.
5307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5308 Likewise.
5309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5310 Likewise.
5311 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5312 Likewise.
5313 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5314 Likewise.
5315
53162014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5317
5318 * catgets/test-gencat.c: Use test-skeleton.c.
5319 * catgets/tst-catgets.c: Likewise.
5320 * csu/tst-empty.c: Likewise.
5321 * elf/tst-audit2.c: Likewise.
5322 * elf/tst-global1.c: Likewise.
5323 * elf/tst-pathopt.c: Likewise.
5324 * elf/tst-piemod1.c: Likewise.
5325 * elf/tst-tls10.c: Likewise.
5326 * elf/tst-tls11.c: Likewise.
5327 * elf/tst-tls12.c: Likewise.
5328 * gnulib/tst-gcc.c: Likewise.
5329 * iconvdata/tst-e2big.c: Likewise.
5330 * iconvdata/tst-loading.c: Likewise.
5331 * iconv/tst-iconv1.c: Likewise.
5332 * iconv/tst-iconv2.c: Likewise.
5333 * inet/test-inet6_opt.c: Likewise.
5334 * inet/tst-gethnm.c: Likewise.
5335 * inet/tst-network.c: Likewise.
5336 * inet/tst-ntoa.c: Likewise.
5337 * intl/tst-codeset.c: Likewise.
5338 * intl/tst-gettext2.c: Likewise.
5339 * intl/tst-gettext3.c: Likewise.
5340 * intl/tst-ngettext.c: Likewise.
5341 * intl/tst-translit.c: Likewise.
5342 * io/test-stat.c: Likewise.
5343 * libio/test-fmemopen.c: Likewise.
5344 * libio/tst-freopen.c: Likewise.
5345 * libio/tst-sscanf.c: Likewise.
5346 * libio/tst-ungetwc1.c: Likewise.
5347 * libio/tst-ungetwc2.c: Likewise.
5348 * libio/tst-widetext.c: Likewise.
5349 * localedata/tst-ctype.c: Likewise.
5350 * localedata/tst-digits.c: Likewise.
5351 * localedata/tst-leaks.c: Likewise.
5352 * localedata/tst-mbswcs1.c: Likewise.
5353 * localedata/tst-mbswcs2.c: Likewise.
5354 * localedata/tst-mbswcs3.c: Likewise.
5355 * localedata/tst-mbswcs4.c: Likewise.
5356 * localedata/tst-mbswcs5.c: Likewise.
5357 * localedata/tst-setlocale.c: Likewise.
5358 * localedata/tst-trans.c: Likewise.
5359 * localedata/tst-wctype.c: Likewise.
5360 * localedata/tst-xlocale1.c: Likewise.
5361 * login/tst-grantpt.c: Likewise.
5362 * malloc/tst-calloc.c: Likewise.
5363 * malloc/tst-malloc.c: Likewise.
5364 * malloc/tst-mallocstate.c: Likewise.
5365 * malloc/tst-mcheck.c: Likewise.
5366 * malloc/tst-mtrace.c: Likewise.
5367 * malloc/tst-obstack.c: Likewise.
5368 * math/atest-exp2.c: Likewise.
5369 * math/atest-exp.c: Likewise.
5370 * math/atest-sincos.c: Likewise.
5371 * math/test-matherr.c: Likewise.
5372 * math/test-misc.c: Likewise.
5373 * math/test-powl.c: Likewise.
5374 * math/tst-definitions.c: Likewise.
5375 * misc/tst-dirname.c: Likewise.
5376 * misc/tst-efgcvt.c: Likewise.
5377 * misc/tst-fdset.c: Likewise.
5378 * misc/tst-hsearch.c: Likewise.
5379 * misc/tst-mntent2.c: Likewise.
5380 * nptl/tst-sem7.c: Likewise.
5381 * nptl/tst-sem8.c: Likewise.
5382 * nptl/tst-sem9.c: Likewise.
5383 * nss/test-netdb.c: Likewise.
5384 * posix/tst-fnmatch.c: Likewise.
5385 * posix/tst-getlogin.c: Likewise.
5386 * posix/tst-gnuglob.c: Likewise.
5387 * posix/tst-mmap.c: Likewise.
5388 * pwd/tst-getpw.c: Likewise.
5389 * resolv/tst-inet_ntop.c: Likewise.
5390 * rt/tst-timer.c: Likewise.
5391 * stdio-common/test-fseek.c: Likewise.
5392 * stdio-common/test-popen.c: Likewise.
5393 * stdio-common/test-vfprintf.c: Likewise.
5394 * stdio-common/tst-cookie.c: Likewise.
5395 * stdio-common/tst-fileno.c: Likewise.
5396 * stdio-common/tst-gets.c: Likewise.
5397 * stdio-common/tst-obprintf.c: Likewise.
5398 * stdio-common/tst-perror.c: Likewise.
5399 * stdio-common/tst-sprintf2.c: Likewise.
5400 * stdio-common/tst-sprintf3.c: Likewise.
5401 * stdio-common/tst-sprintf.c: Likewise.
5402 * stdio-common/tst-swprintf.c: Likewise.
5403 * stdio-common/tst-tmpnam.c: Likewise.
5404 * stdio-common/tst-unbputc.c: Likewise.
5405 * stdio-common/tst-wc-printf.c: Likewise.
5406 * stdlib/tst-environ.c: Likewise.
5407 * stdlib/tst-fmtmsg.c: Likewise.
5408 * stdlib/tst-limits.c: Likewise.
5409 * stdlib/tst-rand48-2.c: Likewise.
5410 * stdlib/tst-rand48.c: Likewise.
5411 * stdlib/tst-random2.c: Likewise.
5412 * stdlib/tst-random.c: Likewise.
5413 * stdlib/tst-strtol.c: Likewise.
5414 * stdlib/tst-strtoll.c: Likewise.
5415 * stdlib/tst-tls-atexit.c: Likewise.
5416 * stdlib/tst-xpg-basename.c: Likewise.
5417 * string/test-ffs.c: Likewise.
5418 * string/tst-bswap.c: Likewise.
5419 * string/tst-inlcall.c: Likewise.
5420 * string/tst-strtok.c: Likewise.
5421 * string/tst-strxfrm.c: Likewise.
5422 * sysdeps/x86_64/tst-audit10.c: Likewise.
5423 * sysdeps/x86_64/tst-audit3.c: Likewise.
5424 * sysdeps/x86_64/tst-audit4.c: Likewise.
5425 * sysdeps/x86_64/tst-audit5.c: Likewise.
5426 * time/tst-ftime_l.c: Likewise.
5427 * time/tst-getdate.c: Likewise.
5428 * time/tst-mktime3.c: Likewise.
5429 * time/tst-mktime.c: Likewise.
5430 * time/tst-posixtz.c: Likewise.
5431 * time/tst-strptime2.c: Likewise.
5432 * time/tst-strptime3.c: Likewise.
5433 * wcsmbs/tst-btowc.c: Likewise.
5434 * wcsmbs/tst-mbrtowc.c: Likewise.
5435 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5436 * wcsmbs/tst-wchar-h.c: Likewise.
5437 * wcsmbs/tst-wcpncpy.c: Likewise.
5438 * wcsmbs/tst-wcrtomb.c: Likewise.
5439 * wcsmbs/tst-wcsnlen.c: Likewise.
5440 * wcsmbs/tst-wcstof.c: Likewise.
5441
2004e7fb
JM
54422014-11-04 Joseph Myers <joseph@codesourcery.com>
5443
ab97ee8f
JM
5444 [BZ #14132]
5445 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5446 INTDEF.
5447 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5448 declaration.
5449 (_dl_mcount): Use rtld_hidden_proto.
5450 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5451 _dl_mcount.
5452 * elf/rtld.c (_rtld_global_ro): Likewise.
5453
c5684fdb
JM
5454 [BZ #14132]
5455 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5456 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5457 of _dl_init_internal.
5458 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5459 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5460 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5461 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5462 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5463 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5464 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5465 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5466 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5467 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5468 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5469 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5470 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5471 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5472 * sysdeps/tile/dl-start.S (_start): Likewise.
5473 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5474 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5475
4243cbea
JM
5476 [BZ #14132]
5477 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5478 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5479 (rtld_progname): Make macro definition unconditional.
5480 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5481 INTDEF.
5482 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5483 (dl_main): Likewise.
5484 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5485 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5486 instead of _dl_argv_internal.
5487 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5488 __GI__dl_argv instead of INTUSE(_dl_argv).
5489 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5490 __GI__dl_argv instead of _dl_argv_internal.
5491
2004e7fb
JM
5492 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5493 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5494 macro.
5495 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5496 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5497 New macro.
5498 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5499 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5500 macro.
5501 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5502 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5503
97827bfc
AS
55042014-11-04 Andreas Schwab <schwab@suse.de>
5505
5506 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5507
5e4df284
AZ
55082014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509
5510 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5511 mtvsrd instruction in binary form.
5512
04b76b5a
AS
55132014-11-03 Andreas Schwab <schwab@suse.de>
5514
5515 [BZ #17522]
5516 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5517 for less than MB_LEN_MAX use a local buffer of that size.
5518 * libio/tst-fputws.c: New file.
5519 * libio/Makefile (tests): Add tst-fputws.
5520
4c6da7da
JM
55212014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5522
5523 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5524 the size of the fpu_fr.fpu_dregs[] array.
5525
1679ba8e
JM
55262014-11-01 Joseph Myers <joseph@codesourcery.com>
5527
5528 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5529 (__nanosleep): Do not define as alias.
5530 (nanosleep): Define as alias of __nanosleep.
5531 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5532 __libc_nanosleep name.
5533
2626c183
JM
55342014-10-31 Joseph Myers <joseph@codesourcery.com>
5535
5536 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5537 install.texi in comment.
5538
7f981fc2
TR
55392014-10-31 Torvald Riegel <triegel@redhat.com>
5540
5541 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5542 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5543 ... add here and use lwsync or sync ...
5544 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5545 ... and add here using lwsync.
5546
d6f373d2
MF
55472014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5548
5549 * elf/dl-machine-reject-phdr.h: New file.
5550 * elf/dl-load.c: #include that.
5551 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5552 if that returned true.
5553
67c37987
RM
55542014-10-31 Roland McGrath <roland@hack.frob.com>
5555
5556 [BZ #17496]
5557 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5558 gen-as-const-headers chunk. Add a big scare comment after the last
5559 safe place to touch before-compile.
5560
94a42455 55612014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5562
f3f5d895
JM
5563 * manual/install.texi (Tools for Compilation): Update autoconf
5564 version requirements.
5565 * INSTALL: Regenerated.
5566
f62ff286
JM
5567 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5568 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5569 (__libc_pselect): Likewise.
94a42455
JM
5570
5571 [BZ #14138]
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5576
ff9dbdc0
TR
55772014-10-31 Torvald Riegel <triegel@redhat.com>
5578
5579 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5580 correct barrier instruction.
5581 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5582 Likewise.
5583 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5584 Likewise.
5585
b4f66884
RM
55862014-10-30 Roland McGrath <roland@hack.frob.com>
5587
5588 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5589 after defining inlines. Instead, just use parens to defeat macro
5590 expansion of __isctype in its declaration.
5591
e19c95fd
JM
55922014-10-30 Joseph Myers <joseph@codesourcery.com>
5593
5594 * include/sys/uio.h (__libc_readv): Remove declaration.
5595 (__libc_writev): Likewise.
5596 * misc/readv.c (__libc_readv): Rename to __readv.
5597 (__readv): Do not define as alias.
5598 (readv): Define as alias of __readv.
5599 * misc/writev.c (__libc_writev): Rename to __writev.
5600 (__writev): Do not define as alias.
5601 (writev): Define as alias of __writev.
5602 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5603 (__readv): Do not define as alias.
5604 (readv): Define unconditionally as alias of __readv.
5605 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5606 (__writev): Do not define as alias.
5607 (writev): Define unconditionally as alias of __writev.
5608 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5609 name.
5610 (writev): Do not define __libc_writev name.
5611
65b00b6c
RM
56122014-10-30 Roland McGrath <roland@hack.frob.com>
5613
5614 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5615 (convert_charseq): New function, broken out of ...
5616 (use_from_charmap): ... here. Call it.
5617 (use_to_charmap): Use convert_charseq and free instead of duplicating
5618 its code with a variable-length stack struct.
5619
d4e157aa
JM
56202014-10-30 Joseph Myers <joseph@codesourcery.com>
5621
5622 * include/fcntl.h (__libc_creat): Remove declaration.
5623 * io/creat.c (__libc_creat): Rename to creat.
5624 (creat): Do not define as alias.
5625 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5626 of creat instead of __libc_creat.
5627 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5628 to creat.
5629 (creat): Do not define as alias.
5630 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5631 __libc_creat.
5632 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5633 __libc_creat name.
5634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5635 Likewise.
5636
0c6891a0
CD
56372014-10-29 Carlos O'Donell <carlos@redhat.com>
5638
5639 * manual/llio.texi: Add comments discussing why write() may be
5640 considered MT-unsafe on Linux.
5641
cc00cece
CD
56422014-10-28 Carlos O'Donell <carlos@redhat.com>
5643
5644 * dl-load.c (local_strdup): Remove.
5645 (expand_dynamic_string_token): Use __strdup.
5646 (decompose_rpath): Likewise.
5647 (_dl_map_object): Likewise.
5648
51e623f2
JM
56492014-10-28 Joseph Myers <joseph@codesourcery.com>
5650
5651 [BZ #14132]
5652 * sysdeps/generic/unwind-dw2-fde.c
5653 (__register_frame_info_bases_internal): Do not declare.
5654 (__register_frame_info_table_bases_internal): Likewise.
5655 (__deregister_frame_info_bases_internal): Likewise.
5656 (__register_frame_info_bases): Declare and use hidden_proto before
5657 definition. Use hidden_def instead of INTDEF.
5658 (__register_frame_info_table_bases): Likewise.
5659 (__deregister_frame_info_bases): Likewise.
5660 (__register_frame_info): Do not use INTUSE.
5661 (__register_frame): Likewise.
5662 (__register_frame_info_table): Likewise.
5663 (__register_frame_table): Likewise.
5664 (__deregister_frame_info): Likewise.
5665 (__deregister_frame): Likewise.
5666
03d41216
GC
56672014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5668
5669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5670 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5671 not undefine.
5672 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5673 Likewise.
5674 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5675 Likewise.
5676
a4b3624d
JM
56772014-10-27 Joseph Myers <joseph@codesourcery.com>
5678
5679 [BZ #14138]
5680 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5681 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5682 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5683 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5684 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5685 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5686 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5687 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5688 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5689 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5690 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5692 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5693 syscall.
5694 (setfsuid): Likewise.
5695 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5696 (setfsuid): Likewise.
5697 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5698 (setfsuid): Likewise.
5699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5700 Likewise.
5701 (setfsuid): Likewise.
5702 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5703 (setfsuid): Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5705 Likewise.
5706 (setfsuid): Likewise.
5707
3574f2fd
AS
57082014-10-27 Andreas Schwab <schwab@suse.de>
5709
5710 [BZ #17501]
5711 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5712 check for Slow_SSE4_2 feature bit.
5713 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5714 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5715 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5716 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5717
70996a37
RM
57182014-10-24 Roland McGrath <roland@hack.frob.com>
5719
461a7b1e
RM
5720 * configure.ac: Validate compiler version with a empirical test of
5721 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5722 $CC -v output.
5723 * configure: Regenerated.
5724
70996a37
RM
5725 * inet/htons.c (htons): Prototypify.
5726 * inet/htonl.c (htonl): Likewise.
5727
e80514b5
WD
57282014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5729
5730 * string/strncat.c (strncat): Improve performance by using strlen.
5731
6e46de42
WD
57322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5733
5734 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5735
6a9ad2fa
WD
57362014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5737
5738 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5739 Call libc_fetestexcept_aarch64.
5740
1c8810ed
WD
57412014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5742
5743 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5744 Call libc_feholdexcept_aarch64.
5745
8b1af712
WD
57462014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5747
5748 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5749 Call get_rounding_mode.
5750
a7b00c11
WD
57512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5752
5753 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5754 Simplify logic.
5755
3a84f1a6
WD
57562014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5757
5758 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5759 Simplify logic.
5760
48eb7a94
JM
57612014-10-24 Joseph Myers <joseph@codesourcery.com>
5762
c8bc4038
JM
5763 [BZ #14138]
5764 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5765 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5766 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5767 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5768 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5769 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5770 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5771 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5772 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5773 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5774 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5775 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5777 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5778 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5779 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5780 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5781 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5782 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5783 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5784 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5785 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5787 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5789 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5790 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5791 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5792 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5793 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5795 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5796 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5797 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5798 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5800 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5801 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5803 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5804 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5805 syscall.
5806 (geteuid): Likewise.
5807 (getgid): Likewise.
5808 (getuid): Likewise.
5809 (getresgid): Likewise.
5810 (getresuid): Likewise.
5811 (getgroups): Likewise.
5812 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5813 (geteuid): Likewise.
5814 (getgid): Likewise.
5815 (getuid): Likewise.
5816 (getresgid): Likewise.
5817 (getresuid): Likewise.
5818 (getgroups): Likewise.
5819 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5820 (geteuid): Likewise.
5821 (getgid): Likewise.
5822 (getuid): Likewise.
5823 (getresgid): Likewise.
5824 (getresuid): Likewise.
5825 (getgroups): Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5827 Likewise.
5828 (geteuid): Likewise.
5829 (getgid): Likewise.
5830 (getuid): Likewise.
5831 (getresgid): Likewise.
5832 (getresuid): Likewise.
5833 (getgroups): Likewise.
5834 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5835 (geteuid): Likewise.
5836 (getgid): Likewise.
5837 (getuid): Likewise.
5838 (getresgid): Likewise.
5839 (getresuid): Likewise.
5840 (getgroups): Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5842 Likewise.
5843 (geteuid): Likewise.
5844 (getgid): Likewise.
5845 (getuid): Likewise.
5846 (getgroups): Likewise.
5847
48eb7a94
JM
5848 [BZ #14138]
5849 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5850 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5851 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5853 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5855 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5856 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5861 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5862 __chown.
5863 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5864 (lchown): Likewise.
5865 (fchown): Likewise.
5866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5867 Likewise.
5868 (lchown): Likewise.
5869 (fchown): Likewise.
5870 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5871 (lchown): Likewise.
5872 (fchown): Likewise.
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5874 Likewise.
5875 (lchown): Likewise.
5876 (fchown): Likewise.
5877
ea9a7c8b
WD
58782014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5879
5880 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5881 Simplify logic.
5882
e226de33
WD
58832014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5884
5885 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5886 Cleanup logic.
5887
6e3d8ed3
WD
58882014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5889
5890 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5891 Remove unused include.
5892
eb04247d
WD
58932014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5894
5895 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5896 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5897 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5898 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5899
13d84554
CD
59002014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5901 Helge Deller <deller@gmx.de>
5902
5903 [BZ #17508]
5904 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5905 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5906 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5907
15f9c5df
JM
59082014-10-23 Joseph Myers <joseph@codesourcery.com>
5909
5910 [BZ #14132]
5911 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5912 Remove macro definition.
5913 (__ashrdi3_v_glibc20): Likewise.
5914 (__lshrdi3_v_glibc20): Likewise.
5915 (__cmpdi2_v_glibc20): Likewise.
5916 (__ucmpdi2_v_glibc20): Likewise.
5917 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5918 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5919 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5920 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5921 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5922 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5923
c6dfed24
RM
59242014-10-22 Roland McGrath <roland@hack.frob.com>
5925
5926 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5927 old GNU extension [0] syntax.
5928 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5929 alloca rather than an array member with variable length.
5930 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5931 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5932 (parse_opt): ... here. Likewise use alloca there.
5933 Validate the -i argument before checking for rootness.
5934 (send_shutdown): New function, broken out of ...
5935 (parse_opt): ... here.
5936
8c2b1ed8
RM
59372014-10-22 Roland McGrath <roland@hack.frob.com>
5938
5939 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5940 macro to get at the _rt_local_ro field.
5941 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5942 ([PIC] case) or _dl_hwcap ([!PIC] case).
5943 * sysdeps/arm/setjmp.S: Likewise.
5944
5945 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5946 * sysdeps/arm/configure.ac: New check to define it.
5947 * sysdeps/arm/configure: Regenerated.
5948 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5949 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5950 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5951 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5952 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5953 Use move/movt pair instead of a load.
5954 (LDST_GLOBAL): Macro removed.
5955 (LDR_GLOBAL): New macro replaces it.
5956 (LDR_HIDDEN): New macro.
5957 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5958 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5959
5960 * setjmp/tst-setjmp-static.c: New file.
5961 * setjmp/Makefile (tests): Add it.
5962 (tests-static): New variable.
5963
b5af9297
MR
59642014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5965
5966 [BZ #17485]
5967 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5968
a13d0d74
JM
59692014-10-21 Joseph Myers <joseph@codesourcery.com>
5970
5971 [BZ #14132]
5972 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5973
f05e73f6
RM
59742014-10-21 Roland McGrath <roland@hack.frob.com>
5975
5976 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5977
6ab1d1ea
RM
59782014-10-20 Roland McGrath <roland@hack.frob.com>
5979
5980 * io/fts.c (dirent_not_directory): New function.
5981 (fts_build): Call it.
5982
ab49e763
RM
59832014-10-20 Roland McGrath <roland@hack.frob.com>
5984
e436eb79
RM
5985 * nptl/version.c (__nptl_main): Use normal __write rather than
5986 INTERNAL_SYSCALL.
5987 (banner): Update copyright years.
5988
6af246cf
RM
5989 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5990 gettimeofday.
5991 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5992 * nptl/pthread_cond_timedwait.c: Likewise.
5993 * nptl/pthread_mutex_timedlock.c: Likewise.
5994 * nptl/sem_timedwait.c: Likewise.
5995
ab49e763
RM
5996 * sysdeps/nptl/bits/libc-lock.h
5997 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5998 (__libc_lock_init_recursive): Return void, not 0.
5999 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6000 (__libc_rwlock_init): Likewise.
6001 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6002
f50277c1
TR
60032014-10-20 Torvald Riegel <triegel@redhat.com>
6004
6005 [BZ #15215]
6006 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6007 (__pthread_once_slow): ... here.
6008 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6009 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6010
63668b70
TR
60112014-10-20 Torvald Riegel <triegel@redhat.com>
6012
6013 [BZ #15215]
6014 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6015 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6016 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6017 * nptl/pthread_once.c (__pthread_once): Likewise.
6018 Update comments.
6019
42b7f5d4
JM
60202014-10-20 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #14138]
6023 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6024 name.
6025 (writev): Use __libc_writev as strong name.
6026 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6027 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6028
b0643088
RM
60292014-10-17 Roland McGrath <roland@hack.frob.com>
6030
114c4e09
RM
6031 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6032
674b8978
RM
6033 * sysdeps/i386/nptl/tls.h
6034 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6035 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6036 New macros.
6037 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6038 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6039 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6040 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6041 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6042 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6043
184ee940
RM
6044 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6045 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6046 on [__NR_futex].
6047 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6048 broken out of ...
6049 (__pthread_mutex_init): ... here. Call it.
6050 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6051 Conditionalize PI cases on [__NR_futex].
6052 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6053 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6054 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6055
327ae257
RM
6056 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6057 conditional on [SIGSETXID].
6058 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6059 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6060 is defined. Likewise for SIGSETXID.
6061 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6062 Conditionalize definitions on [SIGSETXID].
6063 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6064 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6065 unblocking on [SIGCANCEL].
6066
b0643088
RM
6067 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6068 [__NR_set_robust_list].
6069
33cc770b
SP
60702014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6071
6072 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6073 (do_compare): Likewise.
6074
0742aef6
LH
60752014-10-17 Leonhard Holz <leonhard.holz@web.de>
6076
6077 [BZ #15884]
6078 * string/strcoll_l.c: Don't include stdio.h.
6079 (coll_seq): Remove members idxarr and rulearr.
6080 (get_next_seq_cached): Remove function.
6081 (get_next_seq): Likewise.
6082 (get_next_seq_nocache): Rename to get_next_seq.
6083 (do_compare): Remove function.
6084 (do_compare_nocache): Rename to do_compare.
6085 (STRCOLL): Remove weight and rules cache.
6086
ee54ce44
RM
60872014-10-16 Roland McGrath <roland@hack.frob.com>
6088
6089 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6090 * sysdeps/arm/sfp-machine.h: ... to here.
6091 * sysdeps/arm/Implies: Remove arm/soft-fp.
6092
a75d3b02
JM
60932014-10-14 Joseph Myers <joseph@codesourcery.com>
6094
6095 * conform/data/sys/utsname.h-data (*_t): Allow.
6096 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6097 [POSIX] (WEXITED): Do not expect constant.
6098 [POSIX] (WSTOPPED): Likewise.
6099 [POSIX] (WNOHANG): Likewise.
6100 [POSIX] (WNOWAIT): Likewise.
6101 [POSIX] (siginfo_t): Do not expect type or elements.
6102 [POSIX] (pid_t): Do not expect type.
6103 [POSIX] (signal.h): Do not allow header.
6104 [POSIX] (sys/resource.h): Likewise.
6105 [POSIX] (si_*): Do not allow pattern.
6106 [POSIX] (W*): Likewise.
6107 [POSIX] (P_*): Likewise.
6108 [POSIX] (BUS_*): Likewise.
6109 [POSIX] (CLD_*): Likewise.
6110 [POSIX] (FPE_*): Likewise.
6111 [POSIX] (ILL_*): Likewise.
6112 [POSIX] (POLL_*): Likewise.
6113 [POSIX] (SEGV_*): Likewise.
6114 [POSIX] (SI_*): Likewise.
6115 [POSIX] (TRAP_*): Likewise.
6116 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6117 variable.
6118
fda389c8
SP
61192014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6120
6121 [BZ #12926]
6122 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6123 infinite loop when __recvmsg returns 0.
6124
6bc6bd3b
JM
61252014-10-10 Joseph Myers <joseph@codesourcery.com>
6126
fcb32af1
JM
6127 * CANCEL-FCT-WAIVE: Remove file.
6128 * CANCEL-FILE-WAIVE: Likewise.
6129
6bc6bd3b
JM
6130 [BZ #14132]
6131 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6132 instead of INTVARDEF.
6133 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6134 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6135 rtld_hidden_data_def instead of INTVARDEF.
6136 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6137 * elf/dl-deps.c (expand_dst): Likewise.
6138 * elf/dl-load.c (_dl_dst_count): Likewise.
6139 (_dl_dst_substitute): Likewise.
6140 (decompose_rpath): Likewise.
6141 (_dl_init_paths): Likewise.
6142 (open_path): Likewise.
6143 (_dl_map_object): Likewise.
6144 * elf/rtld.c (dl_main): Likewise.
6145 (process_dl_audit): Likewise.
6146 (process_envvars): Likewise.
6147 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6148 Remove declaration.
6149 (__libc_enable_secure): Use rtld_hidden_proto.
6150
b8c80a7e
KS
61512014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6152
6153 * elf/dl-load.c
6154 (add_path): New function broken out of _dl_rtld_di_serinfo.
6155 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6156
ff12c11f
JM
61572014-10-09 Joseph Myers <joseph@codesourcery.com>
6158
5c0508a3
JM
6159 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6160 parentheses around macro arguments.
6161 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6162 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6163 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6164 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6165 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6166 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6167 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6168 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6169 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6171 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6172 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6173 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6174 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6175 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6176 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6177 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6178 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6179 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6180 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6181 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6182 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6183 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6184 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6185 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6186 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6187 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6188 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6189 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6190 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6191 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6192 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6193 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6194 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6195 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6196 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6197 Likewise.
6198 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6199 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6201 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6202 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6203 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6205 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6206 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6207 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6208 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6209 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6210 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6211 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6218 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6219 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6220 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6221 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6222 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6223 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6224 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6225 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6226 (_FP_FRAC_SRS_1): Likewise.
6227 (_FP_FRAC_CLZ_1): Likewise.
6228 (_FP_MUL_MEAT_1_imm): Likewise.
6229 (_FP_MUL_MEAT_1_wide): Likewise.
6230 (_FP_MUL_MEAT_1_hard): Likewise.
6231 (_FP_SQRT_MEAT_1): Likewise.
6232 (_FP_FRAC_ASSEMBLE_1): Likewise.
6233 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6234 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6235 (__FP_CLZ_2): Likewise.
6236 (_FP_MUL_MEAT_2_wide): Likewise.
6237 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6238 (_FP_MUL_MEAT_2_gmp): Likewise.
6239 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6240 (_FP_SQRT_MEAT_2): Likewise.
6241 (_FP_FRAC_ASSEMBLE_2): Likewise.
6242 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6243 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6244 (_FP_FRAC_CLZ_4): Likewise.
6245 (_FP_MUL_MEAT_4_wide): Likewise.
6246 (_FP_MUL_MEAT_4_gmp): Likewise.
6247 (_FP_SQRT_MEAT_4): Likewise.
6248 (_FP_FRAC_ASSEMBLE_4): Likewise.
6249 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6250 * soft-fp/op-common.h (_FP_CMP): Likewise.
6251 (_FP_CMP_EQ): Likewise.
6252 (_FP_CMP_UNORD): Likewise.
6253 (_FP_TO_INT): Likewise.
6254 (_FP_FROM_INT): Likewise.
6255 [!__FP_CLZ] (__FP_CLZ): Likewise.
6256 (_FP_DIV_HELP_imm): Likewise.
6257 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6258 Likewise.
6259 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6262 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6263 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6264 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6265 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6269 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6270 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6271 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6272 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6273 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6274 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6275 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6277 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6280 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6288 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6289 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6291 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6292 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6293 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6294 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6295 (FP_UNPACK_RAW_SP): Likewise.
6296 (FP_PACK_RAW_S): Likewise.
6297 (FP_PACK_RAW_SP): Likewise.
6298 (FP_UNPACK_S): Likewise.
6299 (FP_UNPACK_SP): Likewise.
6300 (FP_UNPACK_SEMIRAW_S): Likewise.
6301 (FP_UNPACK_SEMIRAW_SP): Likewise.
6302 (FP_PACK_S): Likewise.
6303 (FP_PACK_SP): Likewise.
6304 (FP_PACK_SEMIRAW_S): Likewise.
6305 (FP_PACK_SEMIRAW_SP): Likewise.
6306 (_FP_SQRT_MEAT_S): Likewise.
6307 (FP_CMP_S): Likewise.
6308 (FP_CMP_EQ_S): Likewise.
6309 (FP_CMP_UNORD_S): Likewise.
6310 (FP_TO_INT_S): Likewise.
6311 (FP_FROM_INT_S): Likewise.
6312
a736ec37
JM
6313 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6314
ff12c11f
JM
6315 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6316 (FP_EX_INVALID_IMZ): Likewise.
6317 (FP_EX_INVALID_IMZ_FMA): Likewise.
6318 (FP_EX_INVALID_ISI): Likewise.
6319 (FP_EX_INVALID_ZDZ): Likewise.
6320 (FP_EX_INVALID_IDI): Likewise.
6321 (FP_EX_INVALID_SQRT): Likewise.
6322 (FP_EX_INVALID_CVI): Likewise.
6323 (FP_EX_INVALID_VC): Likewise.
6324 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6325 "invalid" exceptions.
6326 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6327 (_FP_ADD_INTERNAL): Likewise.
6328 (_FP_MUL): Likewise.
6329 (_FP_FMA): Likewise.
6330 (_FP_DIV): Likewise.
6331 (_FP_CMP_CHECK_NAN): Likewise.
6332 (_FP_SQRT): Likewise.
6333 (_FP_TO_INT): Likewise.
6334 (FP_EXTEND): Likewise.
6335
b6dcfe8c
AM
63362014-10-09 Allan McRae <allan@archlinux.org>
6337
6338 * po/fr.po: Update French translation from translation project.
6339
2d6a47ba
JM
63402014-10-09 Joseph Myers <joseph@codesourcery.com>
6341
cb831245
JM
6342 [BZ #14132]
6343 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6344 of INTDEF.
6345 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6346 (__cxa_atexit): Use libc_hidden_proto.
6347 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6348
5deeb190
JM
6349 [BZ #14132]
6350 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6351 declaration.
6352 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6353 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6354 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6355 [!_ISOMAC] (__iswctype_internal): Likewise.
6356 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6357 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6358 alias.
6359 (fcntl): Remove __fcntl_internal alias.
6360 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6361 __connect_internal alias.
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6363 Likewise.
6364
454ac701
JM
6365 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6366 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6367 FP_DENORM_ZERO.
6368 (_FP_CHECK_FLUSH_ZERO): New macro.
6369 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6370 (_FP_CMP): Likewise.
6371 (_FP_CMP_EQ): Likewise.
6372 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6373 FP_DENORM_ZERO.
6374 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6375 (FP_TRUNC): Likewise.
6376
0022e688
JM
6377 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6378 treated as invalid conversion, not as normal exponent.
6379
73e28d9c
JM
6380 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6381 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6382 (_FP_CMP_EQ): Likewise.
6383 (_FP_CMP_UNORD): Likewise.
6384 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6385 (FP_CMP_EQ_D): Likewise.
6386 (FP_CMP_UNORD_D): Likewise.
6387 * soft-fp/extended.h (FP_CMP_E): Likewise.
6388 (FP_CMP_EQ_E): Likewise.
6389 (FP_CMP_UNORD_E): Likewise.
6390 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6391 (FP_CMP_EQ_Q): Likewise.
6392 (FP_CMP_UNORD_Q): Likewise.
6393 * soft-fp/single.h (FP_CMP_S): Likewise.
6394 (FP_CMP_EQ_S): Likewise.
6395 (FP_CMP_UNORD_S): Likewise.
6396 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6397 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6398 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6399 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6400 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6401 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6402 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6403 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6404 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6405 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6406 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6407 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6408 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6409 to FP_CMP_Q.
6410 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6411 FP_CMP_Q.
6412 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6413 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6414 FP_CMP_EQ_Q.
6415 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6416 FP_CMP_Q.
6417 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6418 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6419 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6420 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6421 FP_CMP_EQ_Q.
6422 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6423 FP_CMP_Q.
6424 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6425 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6426 FP_CMP_EQ_Q.
6427 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6428 FP_CMP_Q.
6429 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6430 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6431 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6432 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6433 FP_CMP_EQ_Q.
6434
43059f42
JM
6435 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6436 a subnormal result, set the underflow exception if trapping on
6437 underflow is enabled.
6438 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6439 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6440 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6441 redefine to 0.
6442 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6443 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6444 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6445 * soft-fp/extendxftf2.c (__extendxftf2): Use
6446 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6447
2d6a47ba
JM
6448 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6449 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6450 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6451 FP_HANDLE_EXCEPTIONS.
6452 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6453 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6454 FP_HANDLE_EXCEPTIONS.
6455 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6456 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6457 FP_HANDLE_EXCEPTIONS.
6458 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6459 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6460 FP_HANDLE_EXCEPTIONS.
6461
620f462e
JM
64622014-10-08 Joseph Myers <joseph@codesourcery.com>
6463
6464 [BZ #14132]
6465 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6466 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6467 use INTUSE.
6468 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6469 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6470 Remove alias.
6471 (__adjtimex): Define using libc_hidden_ver.
6472 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6473 Remove declaration.
6474 (ntp_gettime): Call __adjtimex directly.
6475 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6476 Remove declaration.
6477 (ntp_gettimex): Call __adjtimex directly.
6478 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6479 __adjtimex_internal alias.
6480
c763c5d2
RM
64812014-10-08 Roland McGrath <roland@hack.frob.com>
6482
6483 [BZ #17460]
6484 * nscd/nscd.c (more_help): Rewrite list of tables collection
6485 using xstrdup and asprintf.
6486
6487 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6488
7b8fb2b8
RM
64892014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6490 Roland McGrath <roland@hack.frob.com>
6491
6492 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6493 (do_lookup_unique): ... local function 'enter' here; update callers.
6494
abb280f7
JM
64952014-10-06 Joseph Myers <joseph@codesourcery.com>
6496
f7b42517
JM
6497 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6498 compat_symbol calls on [SHARED].
6499 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6500 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6501 Remove.
6502 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6503 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6504 (oldsetrlimit): Remove.
6505 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6507 (lchown): New syscall entry.
6508 (oldsetrlimit): Remove.
6509 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6510 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6511 (oldsetrlimit): Remove.
6512 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6513
abb280f7
JM
6514 [BZ #14138]
6515 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6516 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6517 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6518 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6519 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6520 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6521 (fchown): Likewise.
6522 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6523 (fchown): Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6525 Likewise.
6526
47d46237
AZ
65272014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6530 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6531 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6532 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6533 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6534 Likewise.
6535 (__old_sem_post): Likewise.
6536
65372014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6538
845a7343
CM
6539 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6540 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6541 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6542 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6543 Use INLINE_VSYSCALL macro.
6544 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6545 __vdso_clock_gettime.
6546 * sysdeps/unix/sysv/linux/tile/init-first.c
6547 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6548 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6549 __vdso_clock_gettime.
6550
83d641ef
CM
6551 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6552 to set up frame more cleanly.
6553
d9cd52e6
CM
6554 * sysdeps/tile/memcmp.c: New file.
6555
4b68ea11
CM
6556 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6557
c86f7b80
CM
6558 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6559 * sysdeps/tile/tilegx/strcasestr.c: New file.
6560 * sysdeps/tile/tilegx/strnlen.c: New file.
6561 * sysdeps/tile/tilegx/strstr.c: New file.
6562
1c4c1a6f
CM
6563 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6564
99d86ea3
AS
65652014-10-06 Arjun Shankar <arjun.is@lostca.se>
6566
6567 * nptl/tst-setuid3.c: Write errors to stdout.
6568
06210a44
KS
65692014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6570
6571 * elf/dl-deps.c
6572 (preload): New functions broken out of _dl_map_object_deps.
6573 (_dl_map_object_deps): Remove a nested function. Update call sites.
6574
6268f532
JM
65752014-10-01 Joseph Myers <joseph@codesourcery.com>
6576
6577 [BZ #14138]
6578 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6579 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6580
b925285f
SE
65812014-10-01 Steve Ellcey <sellcey@mips.com>
6582
6583 * sysdeps/mips/strcmp.S: New.
6584
754a15c6
JM
65852014-09-30 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #14138]
6588 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6589 (linkat): Likewise.
6590 (mkdirat): Likewise.
6591 (readlinkat): Likewise.
6592 (renameat): Likewise.
6593 (symlinkat): Likewise.
6594 (unlinkat): Likewise.
6595 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6596 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6597 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6598 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6599 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6600 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6601 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6602
85bb81c9
WN
66032014-09-30 Will Newton <will.newton@linaro.org>
6604
dc6fe23b
WN
6605 * math/math.h: Define long double math functions if
6606 _LIBC_TEST is defined.
6607 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6608
85bb81c9
WN
6609 * localedata/Makefile: Move assignment to tests-special
6610 into an ifdef testing run-built-tests.
6611 * timezone/Makefile: Likewise.
6612
b7e02da4
JM
66132014-09-29 Joseph Myers <joseph@codesourcery.com>
6614
6615 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6616 with $(BASH) not $(SHELL).
6617
62058ce6
CD
66182014-09-29 Carlos O'Donell <carlos@redhat.com>
6619 Matthew LeGendre <legendre1@llnl.gov>
6620
6621 [BZ #17411]
6622 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6623 l_reloc_result.
6624
8e257a29
KS
66252014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6626
6627 * stdio-common/printf_fp.c
6628 (hack_digit): New function, broken out of ...
6629 (__printf_fp): ... local function here. Update call sites.
6630 hack_digit now takes an additional parameter that is a pointer
6631 to a struct of the referenced locals. Those locals moved inside
6632 the struct and references updated.
6633
f4a58f0d
L
66342014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 * aclocal.m4: Require autoconf 2.69.
6637 * configure: Regenerated.
6638 * sysdeps/aarch64/configure: Likewise.
6639 * sysdeps/alpha/configure: Likewise.
6640 * sysdeps/arm/armv7/configure: Likewise.
6641 * sysdeps/arm/configure: Likewise.
6642 * sysdeps/ia64/configure: Likewise.
6643 * sysdeps/mach/configure: Likewise.
6644 * sysdeps/mips/configure: Likewise.
6645 * sysdeps/s390/configure: Likewise.
6646 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6648
6649 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6650 file.
6651 * sysdeps/ia64/configure.ac: Likewise.
6652
93ae1eba
JM
66532014-09-26 Joseph Myers <joseph@codesourcery.com>
6654
1810d3ab
JM
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6656 specify symbol version for ld.so. Do not include entry for
6657 libpthread.
6658 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6659 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6660 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6661
93ae1eba
JM
6662 [BZ #14171]
6663 * Makeconfig [$(build-shared) = yes]
6664 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6665 makefiles.
6666 [$(build-shared) = yes && $(soversions.mk-done) = t]
6667 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6668 [$(build-shared) = yes && $(soversions.mk-done) = t]
6669 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6670 to Makerules.
6671 [$(build-shared) = yes && $(soversions.mk-done) = t]
6672 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6673 here.
6674 [$(build-shared) = yes && $(soversions.mk-done) = t]
6675 (common-generated): Don't append gnu/lib-names.h and
6676 gnu/lib-names.stmp here.
6677 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6678 (lib-names-h-abi): New variable.
6679 [$(build-shared) = yes && $(soversions.mk-done) = t]
6680 (lib-names-stmp-abi): Likewise.
6681 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6682 abi-variants] (before-compile): Append
6683 $(common-objpfx)$(lib-names-h-abi).
6684 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6685 abi-variants] (common-generated): Append gnu/lib-names.h.
6686 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6687 abi-variants] (install-others-nosubdir): Depend on
6688 $(inst_includedir)/$(lib-names-h-abi).
6689 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6690 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6691 [$(build-shared) = yes && $(soversions.mk-done) = t]
6692 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6693 [$(build-shared) = yes && $(soversions.mk-done) = t]
6694 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6695 [$(build-shared) = yes && $(soversions.mk-done) = t]
6696 (common-generated): Append $(lib-names-h-abi) and
6697 $(lib-names-stmp-abi).
6698 * scripts/lib-names.awk: Do not handle multi being set.
6699 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6700 Remove variable.
6701 (abi-lp64_be-ld-soname): Likewise.
6702 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6703 Likewise.
6704 (abi-hard-ld-soname): Likewise.
6705 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6706 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6707 Remove variable.
6708 (abi-o32_hard-ld-soname): Likewise.
6709 (abi-o32_soft_2008-ld-soname): Likewise.
6710 (abi-o32_hard_2008-ld-soname): Likewise.
6711 (abi-n32_soft-ld-soname): Likewise.
6712 (abi-n32_hard-ld-soname): Likewise.
6713 (abi-n32_soft_2008-ld-soname): Likewise.
6714 (abi-n32_hard_2008-ld-soname): Likewise.
6715 (abi-n64_soft-ld-soname): Likewise.
6716 (abi-n64_hard-ld-soname): Likewise.
6717 (abi-n64_soft_2008-ld-soname): Likewise.
6718 (abi-n64_hard_2008-ld-soname): Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6720 Likewise.
6721 (abi-64-v2-ld-soname): Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6723 ld.so entries.
6724 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6725 variable.
6726 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6727 entry.
6728 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6729 variable.
6730 (abi-64-ld-soname): Likewise.
6731 (abi-x32-ld-soname): Likewise.
6732 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6733 entry.
6734 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6735
68870f12
JM
67362014-09-23 Joseph Myers <joseph@codesourcery.com>
6737
6738 [BZ #14138]
6739 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6740 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6741 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6742 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6743 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6744 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6745 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6746 syscall entry for GLIBC_2.2 symbol version.
6747 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6748 Likewise.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6750 (setrlimit): Likewise.
6751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6752 Likewise.
6753
ea58f202
WN
67542014-09-23 Will Newton <will.newton@linaro.org>
6755
6756 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6757 _LINUX_ARM_SYSDEP_H include guard too.
6758 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6759 define.
6760
69eb9a18
RV
67612014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6762
6763 * sysdeps/unix/sysv/linux/eventfd.c:
6764 Make first argument unsigned.
6765 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6766 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6767
20e5a5f7
OB
67682014-09-20 Ondřej Bílka <neleai@seznam.cz>
6769
6770 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6771 * socket/sys/socket.h: Likewise
6772 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6773
d3c827e7
AK
67742014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6775
6776 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6777
fe1cc35a
AS
67782014-09-17 Arjun Shankar <arjun.is@lostca.se>
6779
6780 * time/tst-ftime.c: New test.
6781 * time/Makefile (tests): Add tst-ftime.
6782
4e8afe69
JM
67832014-09-17 Joseph Myers <joseph@codesourcery.com>
6784
c4fe3ea7
JM
6785 * soft-fp/extended.h: Fix comment formatting.
6786 * soft-fp/op-1.h: Likewise.
6787 * soft-fp/op-2.h: Likewise.
6788 * soft-fp/op-4.h: Likewise.
6789 * soft-fp/op-8.h: Likewise.
6790 * soft-fp/op-common.h: Likewise.
6791 * soft-fp/soft-fp.h: Likewise.
6792
4e8afe69
JM
6793 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6794
af296fcd
JM
67952014-09-16 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #6652]
6798 * Makeconfig (soversions-default-setname): Remove variable.
6799 ($(common-objpfx)soversions.i): Don't pass default_setname to
6800 soversions.awk.
6801 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6802 oldest_abi to abi-versions.awk.
6803 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6804 * config.make.in (oldest-abi): Remove variable.
6805 * configure.ac (--enable-oldest-abi): Remove configure option.
6806 * configure: Regenerated.
6807 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6808 text.
6809 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6810 * scripts/soversions.awk: Do not handle default_setname variable.
6811 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6812 variable.
6813 * sysdeps/mach/hurd/configure: Regenerated.
6814 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6815 variable.
6816 * sysdeps/unix/sysv/linux/configure: Regenerated.
6817
545583d6
SP
68182014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6819
d330b980
SP
6820 * elf/Makefile (CFLAGS-interp.c): Remove.
6821 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6822 path string.
6823 * elf/interp.c: Include generated runtime-linker.h
6824
02657da2
SP
6825 * Makerules (lib%.so): Don't include $(+interp) in
6826 prerequisites.
6827 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6828 * dlfcn/eval.c: Remove file.
6829
653b1080
SP
6830 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6831 macros.
6832
602f80ec
SP
6833 [BZ #17266]
6834 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6835 4.2 and newer.
6836
545583d6
SP
6837 [BZ #17370]
6838 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6839
884ddc50
SP
68402014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 Jakub Jelinek <jakub@redhat.com>
6842
6843 [BZ #17266]
6844 * libio/stdio.h: Check definition of __fortify_function
6845 instead of __extern_always_inline to include bits/stdio2.h.
6846 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6847 check if __extern_always_inline is defined.
6848 [__USE_MISC || __USE_XOPEN]: Likewise.
6849 [__USE_ISOC99] Likewise.
6850 * misc/sys/cdefs.h (__fortify_function): Define only if
6851 __extern_always_inline is defined.
6852 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6853 __extern_always_inline and __extern_inline only for g++-4.3
6854 and newer or a compatible gcc.
6855
a7b87268
AS
68562014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 [BZ #17371]
6859 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6860 last change to handle zero prefix length.
6861
3f41521d
SP
68622014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6863
61fe374a
SP
6864 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6865 _SC_REGEX_VERSION.
6866
3f41521d
SP
6867 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6868 _POSIX_RAW_SOCKETS.
6869
d8f879ee
AM
68702014-09-13 Allan McRae <allan@archlinux.org>
6871
6872 * po/ru.po: Update Russian translation from translation project.
6873
c079afb7
RM
68742014-09-12 Roland McGrath <roland@hack.frob.com>
6875
a62b3c15
RM
6876 * locale/programs/locale.c (show_locale_vars): Inline local function
6877 into its sole call site. Clean up some style nits.
6878 (print_item): New function, broken out of ...
6879 (show_info): ... local function here. Clean up style nits.
6880
d7e49b19
RM
6881 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6882 out of ...
6883 (set_class_defaults): ... local function set_default here.
6884 Define set_default as a macro locally to pass constant parameters.
6885 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6886 rather than a shared local.
6887
c079afb7
RM
6888 * stdlib/rpmatch.c (try): New function, broken out of ...
6889 (rpmatch): ... local function here. Also, prototypify definition.
6890
0bd72468
JM
68912014-09-12 Joseph Myers <joseph@codesourcery.com>
6892
ba90e050
JM
6893 * scripts/soversions.awk: Do not handle configuration names.
6894 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6895 vendor and os variables to soversions.awk.
6896 * configure.ac: Do not modify gnu-* host_os.
6897 * configure: Regenerated
6898 * shlib-versions: Remove first column with configuration names.
6899 * nptl/shlib-versions: Likewise.
6900 * nptl_db/shlib-versions: Likewise.
6901 * sysdeps/hppa/shlib-versions: Likewise.
6902 * sysdeps/m68k/shlib-versions: Likewise.
6903 * sysdeps/mach/hurd/shlib-versions: Likewise.
6904 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6905 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6906 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6907 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6908 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6909 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6910 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6911 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6913 Likewise.
6914 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6915 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6916 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6919 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6920 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6922
73a39112
JM
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6924 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6926 Regenerated.
6927 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6929 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6930
c729e7c1
JM
6931 * shlib-versions: Remove OS-specific entries. Moved to files in
6932 sysdeps.
6933 * sysdeps/mach/hurd/shlib-versions: New file.
6934 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6935
dc932a24
JM
6936 * nptl/shlib-versions: Remove architecture-specific entries.
6937 Moved to files in sysdeps.
6938 * shlib-versions: Likewise.
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6940 file.
6941 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6942 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6945
0bd72468
JM
6946 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6947 (UDP_NO_CHECK6_RX): Likewise.
6948
920238e0
SP
69492014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6950
6951 * sysdeps/posix/sysconf.c (__sysconf): Spell
6952 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6953
ba7b4d29
FW
69542014-08-12 Florian Weimer <fweimer@redhat.com>
6955
6956 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6957 loading.
6958 * iconv/Versions (__gconv_transliterate): Export for use from
6959 gconv modules.
6960 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6961 (struct __gconv_trans_data, __gconv_trans_fct,
6962 __gconv_trans_context_fct, __gconv_trans_query_fct,
6963 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6964 definitions.
6965 (struct __gconv_step_data): Remove __trans member.
6966 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6967 longer hidden. Remove unused trans_data argument.
6968 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6969 (__gconv_translit_find): Remove declaration.
6970 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6971 prototype.
6972 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6973 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6974 trans_data argument. Add hidden definition.
6975 (__gconv_translit_find): Remove.
6976 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6977 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6978 * iconv/skeleton.c: Remove transliteration initialization.
6979 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6980 __gconv_step_data initialization.
6981 * libio/iofwide.c (__libio_translit_): Remove.
6982 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6983 * wcsmbs/btowc.c (__btowc): Likewise.
6984 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6985 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6986 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6987 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6988 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6989 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6990 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6991 * wcsmbs/wctob.c (wctob): Likewise.
6992
5379aebd
SP
69932014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6994
6995 [BZ #16194]
6996 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6997 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6998 register usage.
6999 * sysdeps/x86/Makefile: Adjust.
7000
8c0ab919
RM
70012014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7002 Roland McGrath <roland@hack.frob.com>
7003
7004 * locale/weight.h: Add include guard.
7005 (findidx): Make static rather than auto; take new parameters
7006 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7007 * locale/weightwc.h: Likewise.
7008 * posix/fnmatch_loop.c
7009 (FCT): Change type of EXTRA from int32_t to wint_t.
7010 Don't include either header inside the function.
7011 Call FINDIDX rather than findidx, and pass new arguments.
7012 #undef FINDIDX at the end of the file.
7013 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7014 FINDIDX before including fnmatch_loop.c for the non-wide version.
7015 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7016 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7017 for the wide version.
7018 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7019 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7020 Pass new arguments to findidx.
7021 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7022 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7023 Don't #include it inside the function. Pass new arguments to findidx.
7024 * posix/regex_internal.h
7025 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7026 (re_string_elem_size_at): Don't #include it inside the function.
7027 Pass new arguments to findidx.
7028 * string/strcoll_l.c: #include WEIGHT_H at top level.
7029 (get_next_seq): Don't #include it inside the function.
7030 Pass new arguments to findidx.
7031 (get_next_seq_nocache): Likewise.
7032 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7033 (STRXFRM): Don't #include it inside the function.
7034 Pass new arguments to findidx.
7035
52ffbdf2
FW
70362014-09-11 Florian Weimer <fweimer@redhat.com>
7037
7038 [BZ #17344]
7039 * malloc/malloc.c (unlink): Turn asserts into a call to
7040 malloc_printerr.
7041
984c0ea9
TL
70422014-09-11 Tim Lammens <tim.lammens@gmail.com>
7043
7044 [BZ #17370]
7045 * libio/wfileops (do_ftell_wide): Free OUT.
7046
3daee107
CM
70472014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7048
7049 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7050
58b930ae
SP
70512014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7052
7053 [BZ #17363]
7054 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7055 group if the current group is empty.
7056
3b473fec
AZ
70572014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7058
71ae8647
AZ
7059 * benchtests/bench-memset.c (test_main): Add more test from size
7060 from 32 to 512 bytes.
7061 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7062 Add POWER8 memset object.
7063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7065 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7066 implementation.
7067 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7068 Likewise.
7069 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7070 multiarch POWER8 memset optimization.
7071 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7072 POWER8 memset optimization.
7073
3b473fec
AZ
7074 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7075 Remove bzero multiarch objects.
7076 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7077 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7078 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7079 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7080 Remove define.
7081 [__bzero]: Redefine to specific name.
7082 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7083 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7085 define.
7086 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7087 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7088
e6fb9587
FW
70892014-09-10 Florian Weimer <fweimer@redhat.com>
7090
7091 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7092 warnings into errors.
7093
7094 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7095 __cxa_thread_atexit_impl prototype.
7096
9d3a350b
SE
70972014-09-09 Steve Ellcey <sellcey@mips.com>
7098
7099 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7100 Fix capitalization of error message.
7101
0febba23
SE
71022014-09-09 Steve Ellcey <sellcey@mips.com>
7103
7104 * sysdeps/mips/preconfigure: Modify ABI tests.
7105
645a0e9c
CD
71062014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7107
7108 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7109
d83f0734
CD
71102014-09-07 Roland McGrath <roland@hack.frob.com>
7111 Carlos O'Donell <carlos@systemhalted.org>
7112
7113 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7114 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7115 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7116 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7117 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7118 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7119 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7120 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7121 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7122 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7123 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7124 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7125 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7126 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7127 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7128 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7129 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7130 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7131 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7132 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7133 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7134 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7135 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7136 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7137 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7138 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7139 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7140 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7141 Deconditionalize the code that was previously under [RESET_PID].
7142 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7143 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7144 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7145 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7146 include sysdep.h.
7147
21c83793
AM
71482014-09-08 Allan McRae <allan@archlinux.org>
7149
7150 * version.h (RELEASE): Set to "development".
7151 (VERSION): Set to "2.20.90"
7152
1cd9b65c
AM
71532014-09-07 Allan McRae <allan@archlinux.org
7154
b8079dd0
AM
7155 * version.h (RELEASE): Set to "stable".
7156 (VERSION): Set to "2.20"
7157 * include/features.h (__GLIBC_MINOR__): Set to 20.
7158
c46303ef
AM
7159 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7160 Liebler.
7161
1cd9b65c
AM
7162 * po/ko.po: Update Korean translation from translation project.
7163
8622092d
CM
71642014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7165
7166 [BZ #17354]
7167 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7168 macro for handling signed relocations.
7169
41488498
FW
71702014-09-03 Florian Weimer <fweimer@redhat.com>
7171
7172 [BZ #17325]
7173 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7174 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7175 assert.
7176 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7177 * iconvdata/ibm935.c (BODY): Likewise.
7178 * iconvdata/ibm937.c (BODY): Likewise.
7179 * iconvdata/ibm939.c (BODY): Likewise.
7180 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7181 assert.
7182 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7183 script.
7184 * iconvdata/run-iconv-test.sh: New test loop for checking for
7185 decoder crashers.
7186
a78b712d
KR
71872014-09-02 Khem Raj <raj.khem@gmail.com>
7188
7189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7190 libm_hidden_ver.
7191
cb08abc6
AM
71922014-09-01 Allan McRae <allan@archlinux.org>
7193
2c31e102
AM
7194 * po/eo.po: Update Esperanto translation from translation project.
7195
cb08abc6
AM
7196 * po/ca.po: Update Catalan translation from translation project.
7197
17a62de1
ST
71982014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7199
7200 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7201 __proc_dostop call.
7202
9570bc53
MW
72032014-08-27 Mark Wielaard <mjw@redhat.com>
7204
7205 [BZ #17319]
7206 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7207 to call set_thread_area instead of hand written asm.
7208 (__NR_set_thread_area): Removed define.
7209 (TLS_FLAG_WRITABLE): Likewise.
7210 (__ASSUME_SET_THREAD_AREA): Remove check.
7211 (TLS_EBX_ARG): Remove define.
7212 (TLS_LOAD_EBX): Likewise.
7213
b0f955c9
ST
72142014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7215
7216 Simplify atomicity of socket creation in bind.
7217
7218 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7219 looking up the name after linking the file.
7220
529bf515
AM
72212014-08-27 Allan McRae <allan@archlinux.org>
7222
7223 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7224
a1a6a401
FW
72252014-08-26 Florian Weimer <fweimer@redhat.com>
7226
7227 [BZ #17187]
7228 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7229 trans_compare, open_translit, __gconv_translit_find):
7230 Remove module loading code.
7231
686ab290
AM
72322014-08-26 Allan McRae <allan@archlinux.org>
7233
e4e7cfd2
AM
7234 * po/vi.po: Update Vietnamese translation from translation project.
7235
6aa09f71
AM
7236 * po/uk.po: Update Ukrainian translation from translation project.
7237
edc0660e
AM
7238 * po/fr.po: Update French translation from translation project.
7239
7eea72ac
AM
7240 * po/ru.po: Update Russian translation from translation project.
7241
93c49eff
AM
7242 * po/pl.po: Update Polish translation from translation project.
7243
46acaf63
AM
7244 * po/cs.po: Update Czech translation from translation project.
7245
a9f5ce98
AM
7246 * po/de.po: Update German translation from translation project.
7247
373f2b78
AM
7248 * po/bg.po: Update Bulgarian translation from translation project.
7249
e7548bd8
AM
7250 * po/sv.po: Update Sweedish translation from translation project.
7251
c526bf4d
AM
7252 * po/nl.po: Update Dutch translation from translation project.
7253
686ab290
AM
7254 * po/es.po: Update Spanish translation from translation project.
7255
eb72478a
SP
72562014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
dd763fdb
SP
7258 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7259
318c7a58
SP
7260 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7261 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7262 (CPPFLAGS-iconvconfig): Likewise.
7263 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7264
eb72478a
SP
7265 * include/libc-symbols.h: Remove unnecessary check for
7266 NOT_IN_libc.
7267 * nptl/pthreadP.h: Likewise.
7268 * sysdeps/aarch64/setjmp.S: Likewise.
7269 * sysdeps/alpha/setjmp.S: Likewise.
7270 * sysdeps/arm/sysdep.h: Likewise.
7271 * sysdeps/i386/setjmp.S: Likewise.
7272 * sysdeps/m68k/setjmp.c: Likewise.
7273 * sysdeps/posix/getcwd.c: Likewise.
7274 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7275 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7276 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7277 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7278 * sysdeps/sh/sh3/setjmp.S: Likewise.
7279 * sysdeps/sh/sh4/setjmp.S: Likewise.
7280 * sysdeps/unix/alpha/sysdep.h: Likewise.
7281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7283 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7284 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7289 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7292 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7294 * sysdeps/x86_64/setjmp.S: Likewise.
7295
d44a052c
JM
72962014-08-13 Joseph Myers <joseph@codesourcery.com>
7297
7298 [BZ #17263]
7299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7300 <stdint.h>.
7301 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7302 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7303
508ce3ac
SP
73042014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7305
e44c8b0e
SP
7306 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7307
508ce3ac
SP
7308 [BZ #17262]
7309 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7310 and __x86_64__ when disabling x87 inline functions.
7311
b4acef1f
L
73122014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7313
7314 [BZ #17259]
7315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7316 asm statement with __cpuid_count.
7317
61b1ef6e
MF
73182014-08-12 Mike Frysinger <vapier@gentoo.org>
7319
7320 * configure.ac: Change __ehdr_start code to dereference the struct.
7321 Run readelf on the output to look for relocations.
7322 * configure: Regenerated.
7323
898c62f4
JM
73242014-08-12 Joseph Myers <joseph@codesourcery.com>
7325
7326 [BZ #17261]
7327 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7328 value to 0.
7329 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7330
9a8a5720
RM
73312014-08-12 Roland McGrath <roland@hack.frob.com>
7332
7333 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7334
4e75751c
BO
73352014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7336
7337 [BZ #16892]
7338 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7339 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7340
bb2ce416
SA
73412014-08-12 Sean Anderson <seanga2@gmail.com>
7342
7343 * malloc/malloc.c: Fix typo in comment.
7344
7950a4ee
AM
73452014-08-09 Allan McRae <allan@archlinux.org>
7346
7347 * Regenerate libc.po.
7348
f469c49f
MF
73492014-08-08 Mike Frysinger <vapier@gentoo.org>
7350
7351 * intl/tst-gettext2.sh: Check every lang file for creation.
7352
656b84c2
WD
73532014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7354
7355 * sysdeps/aarch64/fpu/math_private.h
7356 (libc_feholdsetround_noex_aarch64_ctx): New function.
7357
538e9e45
W
73582014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7359
7360 * sysdeps/arm/armv6/strcpy.S (strcpy):
7361 Fix performance issue in misaligned cases.
7362
d4795e4a
AZ
73632014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7364
7365 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7366 Move definition from termios.h.
7367 (struct termio): Likewise.
7368 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7369 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7370 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7371 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7372 Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7374 Move definition to ioctl-types.h
7375 (struct termio): Likewise.
7376 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7377 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7378 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7379 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7380 Likewise.
7381
64accb62
RH
73822014-08-05 Richard Henderson <rth@redhat.com>
7383
27bb6dc0
RH
7384 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7385 exceptions.
7386 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7387 Add fraiseexcpt.
7388 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7389 Use __feraiseexcept.
7390 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7391 Protect libm symbols with IS_IN_libm.
7392
64accb62
RH
7393 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7394
e5292691
BO
73952014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7396
7397 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7398
5b4bd2d4
WN
73992014-08-04 Will Newton <will.newton@linaro.org>
7400
7401 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7402 file.
7403
fcadaeef
MF
74042014-08-04 Mike Frysinger <vapier@gentoo.org>
7405
7406 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7407 variants for each function.
7408
43a94c64
RM
74092014-08-04 Roland McGrath <roland@hack.frob.com>
7410
7411 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7412 appended ...
7413 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7414 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7415 appended ...
7416 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7417 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7418 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7419 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7420 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7421 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7422 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7423 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7424 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7425 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7426 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7427 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7430 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7431 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7432 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7438 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7442 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7446 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7448 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7450 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7451 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7452 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7453 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7454 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7455 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7456 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7457 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7458 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7460 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7462 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7463 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7464 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7466 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7467 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7468 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7469 Update #include.
7470 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7471 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7472
8f3c1fa4
RM
74732014-08-04 Roland McGrath <roland@hack.frob.com>
7474
7475 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7476 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7477 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7478 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7479 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7480 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7481
ca08746f
RM
74822014-08-04 Roland McGrath <roland@hack.frob.com>
7483
7484 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7485 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7486 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7487 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7488
9c925ff9
RM
74892014-08-04 Roland McGrath <roland@hack.frob.com>
7490
7491 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7492 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7493 (__libc_vfork): Define function under this name.
7494 (__vfork): Define as an alias.
7495 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7496 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7497
e641054c
RM
74982014-08-04 Roland McGrath <roland@hack.frob.com>
7499
7500 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7501 that was previously under [RESET_PID].
7502 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7503
dacdc867
AS
75042014-08-04 Andreas Schwab <schwab@suse.de>
7505
7506 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7507
41f725ff
MF
75082014-08-03 Mike Frysinger <vapier@gentoo.org>
7509
7510 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7511 (main): Likewise.
7512
277cfb31
RM
75132014-08-01 Roland McGrath <roland@hack.frob.com>
7514
7515 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7516
4896f049
RH
75172014-08-01 Richard Henderon <rth@redhat.com>
7518
7519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7520 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7521 typo in exact zero test.
7522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7525
6f64e7d7
RM
75262014-08-01 Roland McGrath <roland@hack.frob.com>
7527
7528 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7529 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7530 * sysdeps/arm/sysdep.h: ... here.
7531 [!__ASSEMBLER__]: Include <stdint.h>.
7532
3f3dd810
SP
75332014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
a476ac4b
SP
7535 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7536 (HAVE_WCTYPE_H): Likewise.
7537 (HAVE_ISWCTYPE): Likewise.
7538 (ENABLE_NLS): Likewise.
7539 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7540 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7541
78dd658a
SP
7542 * posix/regex_internal.c: Check if DEBUG is defined and is
7543 set.
7544
3f3dd810
SP
7545 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7546 (HAVE_MBSRTOWCS): Likewise.
7547 * posix/fnmatch.c: Include string.h unconditionally.
7548
95ee7fb1
SL
75492014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7550
7551 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7552 reversal.
7553
23fe486b
RM
75542014-07-31 Roland McGrath <roland@hack.frob.com>
7555
f61a113f
RM
7556 * sysdeps/generic/safe-fatal.h: New file.
7557 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7558 * nptl/forward.c: Include it.
7559 (__pthread_unwind): Use __safe_fatal as default action, rather
7560 than a bogus use of INTERNAL_SYSCALL that could never work.
7561
9fe7e787
RM
7562 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7563 * configure.ac (libc_cv_builtin_trap): New test.
7564 * configure: Regenerated.
7565 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7566 (ABORT_INSTRUCTION): Define using __builtin_trap.
7567
23fe486b
RM
7568 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7569 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7570 * sysdeps/nptl/nptl-signals.h: New file.
7571 * nptl/pthreadP.h: Include <nptl-signals.h>.
7572
f349489e
SL
75732014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7574
7575 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7576 (ONE_DIRECTION): Define.
7577 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7578 (ONE_DIRECTION): Define.
7579 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7580 (ONE_DIRECTION): Define.
7581
2f438e20
SL
75822014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7583
7584 * sysdeps/s390/Makefile: Delete file.
7585 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7586 * sysdeps/s390/__longjmp.c: Delete file.
7587 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7588 Remove fields __flags and __reserved.
7589 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7590 and add versioning.
7591 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7592 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7593 * sysdeps/s390/rtld-setjmp.S: Likewise.
7594 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7595 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7596 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7597 * sysdeps/s390/s390-32/setjmp.S: ... here.
7598 Add versioning.
7599 (__sigsetjmp): Remove setting __flags field.
7600 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7601 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7602 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7603 * sysdeps/s390/s390-64/setjmp.S: ... here.
7604 Add versioning.
7605 (__sigsetjmp): Remove setting __flags field.
7606 * sysdeps/s390/setjmp.S: Delete file.
7607 * sysdeps/s390/sigjmp.c: Likewise.
7608 * sysdeps/s390/v1-longjmp.c: Likewise.
7609 * sysdeps/s390/v1-setjmp.h: Likewise.
7610 * sysdeps/s390/v1-sigjmp.c: Likewise.
7611 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7612 Remove v1-longjmp_chk.
7613 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7614 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7615 Include debug/longjmp_chk.c and add versioning.
7616 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7617 Include nptl/pt-longjmp.c and add versioning.
7618 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7619 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7620 Include __longjmp.c.
7621 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7622 Move to ...
7623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7624 (__getcontext): Remove setting __flags field.
7625 Add versioning.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7627 Don't restore upper high grps.
7628 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7629 Likewise.
7630 (__swapcontext): Remove setting uc_flags field.
7631 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7632 Delete file.
7633 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7634 Include __longjmp.c.
7635 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7636 Move to ...
7637 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7638 (__getcontext): Remove setting __flags field.
7639 Add versioning.
7640 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7641 (__swapcontext): Remove setting uc_flags field.
7642 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7643 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7644 Remove fields uc_high_gprs and __reserved.
7645 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7646 New file with reverted content.
7647 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7649 Regenerated.
7650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7651 Regenerated.
7652
6c9578a2
AS
76532014-07-31 Andreas Schwab <schwab@suse.de>
7654
7655 * config.h.in (HAVE_IFUNC): Define to 0.
7656 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7657 definedness.
7658
05f3633d
LM
76592014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7660
7661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7662 memmove-avx-unaligned, memcpy-avx-unaligned and
7663 mempcpy-avx-unaligned.
7664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7665 Add tests for AVX memcpy functions.
7666 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7667 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7668 memcpy_chk.
7669 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7670 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7671 memmove_chk.
7672 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7673 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7674 mempcpy_chk.
7675 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7676 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7677 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7678
a53fbd8e
AZ
76792013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 [BZ #17213]
7682 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7683 powerpc64le.
7684
0961f7e1
JL
76852014-07-29 Jeff Layton <jlayton@poochiereds.net>
7686
7687 [BZ #16839]
7688 * manual/llio.texi: Add section about open file description locks.
7689 * manual/examples/ofdlocks.c: Example of open file description
7690 lock usage.
7691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7692 F_OFD_SETLK, and F_OFD_SETLKW.
7693
cc5fb300
AM
76942014-07-23 Allan McRae <allan@archlinux.org>
7695
7696 * po/es.po: Update Spanish translation from translation project.
7697
23329dca
AS
76982014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7699
7700 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7701
9c82da17
MR
77022014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7703
7704 [BZ #17078]
7705 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7706 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7707 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7708
29c4f53e
JM
77092014-07-17 Joseph Myers <joseph@codesourcery.com>
7710
831b9896
JM
7711 [BZ #17088]
7712 * math/fesetenv.c (__fesetenv)
7713 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7714 * math/feupdateenv.c (__feupdateenv)
7715 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7716
b21c2d50
JM
7717 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7718 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7719 (__ASSUME_SOCKETCALL): Do not define.
7720
067764ef
JM
7721 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7722 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7723 (__ASSUME_SOCKETCALL): Do not define.
7724 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7725 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7726 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7727 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7728 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7729 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7730 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7731 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7732
642530c1
JM
7733 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7734 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7735 (__ASSUME_SOCKETCALL): Do not define.
7736 (__ASSUME_IPC64): Define unconditionally.
7737 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7738 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7739 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7740 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7741 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7742 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7743 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7744 Likewise.
7745
03f77315
JM
7746 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7747 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7748 (__ASSUME_SOCKETCALL): Do not define.
7749 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7750 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7751 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7752 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7753 (__ASSUME_REQUEUE_PI): Define unconditionally.
7754 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7755 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7756 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7757 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7758 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7759 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7760
083b1f7c
JM
7761 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7762 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7763 (__ASSUME_SOCKETCALL): Do not define.
7764 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7765 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7766 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7767 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7768 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7769 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7770
5be44ea6
JM
7771 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7772 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7773 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7774 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7775 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7776 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7777 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7778 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7779 (__ASSUME_GETCPU_SYSCALL): Likewise.
7780
d95ffd4c
JM
7781 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7782 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7783 cases for individual architectures.
7784 * sysdeps/gnu/configure: Regenerated.
7785 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7786 LIBC_SLIBDIR_RTLDDIR.
7787 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7788 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7789 LIBC_SLIBDIR_RTLDDIR.
7790 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7792 LIBC_SLIBDIR_RTLDDIR.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7794 Regenerated.
7795 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7796 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7797 file.
7798 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7799 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7800 file.
7801 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7802 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7803 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7804 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7805
29c4f53e
JM
7806 * sysdeps/aarch64/shlib-versions: Move to ...
7807 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7808 * sysdeps/alpha/shlib-versions: Move to ...
7809 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7810 * sysdeps/arm/shlib-versions: Move to ...
7811 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7812 * sysdeps/hppa/shlib-versions: Move all contents except for
7813 libgcc_s entry to ...
7814 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7815 entry from ...
7816 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7817 * sysdeps/ia64/shlib-versions: Move to ...
7818 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7819 entry from ...
7820 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7821 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7822 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7823 * sysdeps/microblaze/shlib-versions: Move to ...
7824 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7825 * sysdeps/mips/shlib-versions: Move to ...
7826 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7827 entry from ...
7828 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7829 * sysdeps/tile/shlib-versions: Move to ...
7830 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7831 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7832 from ...
7833 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7835 entry from ...
7836 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7837
32bead5b
WN
78382014-07-17 Will Newton <will.newton@linaro.org>
7839
57977c4b
WN
7840 * sysdeps/arm/bits/atomic.h
7841 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7842 (__arch_compare_and_exchange_bool_16_int): Likewise.
7843 (__arch_compare_and_exchange_bool_64_int): Likewise.
7844
32bead5b
WN
7845 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7846 into an #else block.
7847
37fccd41
RM
78482014-07-16 Roland McGrath <roland@hack.frob.com>
7849
7850 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7851 just Linux configurations. Test empirically that the compiler sets
7852 __ARM_EABI__, rather than using the tuple to decide.
7853 * sysdeps/arm/preconfigure: Regenerated.
7854 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7855 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7856 contents appended ...
7857 * sysdeps/arm/configure.ac: ... here.
7858 * sysdeps/arm/configure: Regenerated.
7859
b365f3ec
RM
78602014-07-15 Roland McGrath <roland@hack.frob.com>
7861
8badf496
RM
7862 * nptl/pthread_kill.c: New file.
7863 * nptl/pthread_sigmask.c: New file.
7864 * nptl/pthread_sigqueue.c: New file.
7865
3df6f22e
RM
7866 * sysdeps/nptl/lowlevellock.h: New file.
7867 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7868 * sysdeps/nptl/lowlevellock-futex.h: New file.
7869
b365f3ec
RM
7870 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7871 Remove dead declarations.
7872
f2fef657
L
78732014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7874
7875 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7876 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7877 config-cflags-avx2.
7878 * sysdeps/x86_64/configure.ac: Likewise.
7879 * sysdeps/i386/configure: Regenerated.
7880 * sysdeps/x86_64/configure: Likewise.
7881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7882 memset-avx2 only if config-cflags-avx2 is yes.
7883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7884 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7885 defined.
7886 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7887 only if HAVE_AVX2_SUPPORT is defined.
7888 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7889
f6c44d47
AM
78902014-07-14 Alan Modra <amodra@gmail.com>
7891
7892 [BZ #17153]
7893 * elf/elf.h (DT_PPC64_NUM): Correct value.
7894 * NEWS: Add to fixed bug list.
7895
7ee03f00
JM
78962014-07-13 Jim Meyering <meyering@fb.com>
7897
7898 [BZ 17150]
7899 regex: don't deref NULL upon heap allocation failure
7900 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7901 failure in one more place.
7902 To trigger the segfault, configure grep -with-included-regex,
7903 build it, and run these commands:
7904 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7905
9d39d517
AS
79062014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7907
7908 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7909
a75b89b7
RH
79102014-07-11 Richard Henderson <rth@redhat.com>
7911
7912 * sysdeps/aarch64/libm-test-ulps: Update.
7913
771eb141
FW
79142014-07-10 Florian Weimer <fweimer@redhat.com>
7915
7916 [BZ #17135]
7917 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7918 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7919 (__nptl_setxid): Initialize error member. Call
7920 __nptl_setxid_error.
7921 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7922 * nptl/descr.h (struct xid_command): Add error member.
7923 * nptl/tst-setuid3.c: New file.
7924 * nptl/Makefile (tests): Add it.
7925
bc1da176
AZ
79262014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7927
7928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7929 New define.
7930 (__lll_trylock): Use __lll_base_trylock.
7931 (__lll_cond_trylock): Likewise.
7932
887865fc
RM
79332014-07-10 Roland McGrath <roland@hack.frob.com>
7934
c0c6bac9
RM
7935 * nptl/pthread_create.c (start_thread): Use atomic_or and
7936 lll_futex_wake directly rather than lll_robust_dead.
7937 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7938 (lll_robust_dead): Macro removed.
6a42be57 7939 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7940 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7941 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7942 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7943 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7944 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7945 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7946 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7947 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7949 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7951 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7952 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7954
887865fc
RM
7955 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7956 Use atomic_compare_and_exchange_val_acq directly rather than
7957 lll_robust_trylock.
7958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7959 (__lll_robust_trylock, lll_robust_trylock): Removed.
7960 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7961 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7962 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7963 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7964 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7965 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7966 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7967 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7969 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7970 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7972 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7973 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7974
58536726
FW
79752014-07-02 Florian Weimer <fweimer@redhat.com>
7976
7977 * manual/locale.texi (Locale Names): New section documenting
7978 locale name syntax. Adjust menu and node chaining accordingly.
7979 (Choosing Locale): Reference Locale Names, Locale Categories.
7980 Mention setting LC_ALL=C. Reflect that name syntax is now
7981 documented.
7982 (Locale Categories): New section title. Reference Locale Names.
7983 LC_ALL is an environment variable, but not a category.
7984 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7985 description, now in Locale Name. Reference that section. Locale
7986 name syntax is now documented.
7987
4e8f95a0
FW
79882014-07-02 Florian Weimer <fweimer@redhat.com>
7989
7990 [BZ #17137]
7991 * locale/findlocale.c (name_present, valid_locale_name): New
7992 functions.
7993 (_nl_find_locale): Use the loc_name variable to store name
7994 candidates. Call name_present and valid_locale_name to check and
7995 validate locale names. Return an error if the locale is invalid.
7996
d1836456
FW
79972014-07-02 Florian Weimer <fweimer@redhat.com>
7998
7999 * locale/setlocale.c (setlocale): Use strdup for allocating
8000 composite name copy.
8001
d69b7f5a
SP
80022014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8003
888c679b
SP
8004 Sync up with gnulib.
8005 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8006 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8007 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8008 and _GL_ARG_NONNULL.
8009 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8010 [!_LIBC]: Include code for Windows and Cygwin.
8011 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8012 Include prototype for int strerror_r.
8013 [!_LIBC] (is_open): New function.
8014 (flush_stdout): New function.
8015 (print_errno_message): Use it.
8016 (error): Likewise.
8017 (error_at_line): Likewise.
8018 (error_tail) Add function attribute macros. Use
8019 __builtin_expect.
8020
180e0e4b
SP
8021 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8022
d22f1fe2
SP
8023 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8024
12f2254b
SP
8025 * io/ftw.c: Include sys/param.h unconditionally.
8026
c3c7c360
SP
8027 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8028
d62aa75a
SP
8029 [BZ #17125]
8030 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8031 libc_freeres_ptr.
8032 (freecache): New function to free CACHE on exit.
8033
d69b7f5a
SP
8034 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8035 initialization.
8036
5efe06a1
DM
80372014-07-09 David S. Miller <davem@davemloft.net>
8038
8039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8040
7000d82e
DM
8041 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8042 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8043 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8044 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8045 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8046 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8047 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8048 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8049 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8050 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8051 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8052 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8053 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8054
c213442d
AS
80552014-07-09 Andreas Schwab <schwab@suse.de>
8056
4a2552c3
AS
8057 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8058 output.
8059 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8060 (do_test): Likewise.
8061
c213442d
AS
8062 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8063
82374e65
WN
80642014-07-09 Will Newton <will.newton@linaro.org>
8065
8066 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8067 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8068 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8069 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8070 * sysdeps/hppa/start.S (_start): Likewise.
8071
6680738a
SP
80722014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8073
6ee3eab4
SP
8074 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8075
6680738a
SP
8076 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8077 defined.
8078
80b5c505
SP
80792014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8080
e35c53e3
SP
8081 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8082 after checking that it is non-NULL.
8083
80b5c505
SP
8084 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8085
91f4b564
AZ
80862014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087
27b75f56
AZ
8088 * sysdeps/powerpc/memmove.c: Remove file.
8089 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8090 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8091 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8092 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8093 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8094 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8095 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8096 string memmove instead of removed powerpc one.
8097
e7f95bb5
AZ
8098 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8099 [weak_alias]: Fix compiler warning due trailing data.
8100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8101 [weak_alias]: Likewise.
8102 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8103 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8104
91f4b564
AZ
8105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8106 (__libc_ifunc_impl_list): Add memmove functions.
8107
7c33f1e5
SP
81082014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8109
8110 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8111 Remove code.
8112 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8113 Likewise
8114 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8115 Likewise
8116 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8117 Likewise
8118 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8119 Likewise
8120 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8121 Likewise
8122 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8123 Likewise
8124 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8125 Likewise
8126 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8127 Likewise
8128 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8129 Likewise
8130 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8131 Likewise
8132 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8133 Likewise
8134 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8135 Likewise
8136 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8137 Likewise
8138 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8139 Likewise
8140 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8141 Likewise
8142 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8143 Likewise
8144
3f17b03b
AZ
81452014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8146
87868c24
AZ
8147 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8148 to avoid alignment traps in non-cacheable memory.
8149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8150
07aedd78
AZ
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8152 multiarch objects.
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8154 file: multiarch power7 memmove.
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8156 multiarch default memmove.
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8158 multiarch memove for powerpc32/power4.
8159
17762f66
AZ
8160 * string/bcopy.c: Use full path to include memmove.c.
8161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8162 multiarch objects.
8163 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8164 bcopy for powerpc64.
8165 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8166 bcopy for powerpc64.
8167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8168 and memmove implementations.
8169 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8170 optimized multiarch memmove for POWER7/powerpc64.
8171 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8172 default multiarch memmove for powerpc64.
8173 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8174 multiarch for powerpc64.
8175 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8176 for POWER7/powerpc64.
8177 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8178 memmove for POWER7/powerpc64.
8179
d6f68bbe
AZ
8180 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8181 glibc default one.
8182
3f17b03b
AZ
8183 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8184 __ELF_NATIVE_CLASS equal to 64.
8185
08192659
RM
81862014-07-07 Roland McGrath <roland@hack.frob.com>
8187
f4c4021b
RM
8188 * sysdeps/nptl/lowlevellock.h: File removed.
8189
f083450f
RM
8190 * NEWS: NPTL is no longer an add-on!
8191 * nptl/internaltypes.h: Moved ...
8192 * sysdeps/nptl/internaltypes.h: ... here.
8193 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8194 * sysdeps/nptl/fork.c: Likewise.
8195 * sysdeps/nptl/gai_misc.h: Likewise.
8196 * sysdeps/nptl/librt-cancellation.c: Likewise.
8197 * sysdeps/nptl/jmp-unwind.c: Likewise.
8198 * sysdeps/nptl/setxid.h: Likewise.
8199 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8200 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8201 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8202 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8203 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8204 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8205 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8206 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8207 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8208 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8209 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8210 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8211 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8212 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8213 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8214 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8215 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8216 * nptl/Makeconfig: Moved ...
8217 * sysdeps/nptl/Makeconfig: ... here.
8218 * nptl/configure: File removed.
8219 * nptl/ANNOUNCE: File removed.
8220 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8221 * sysdeps/unix/sysv/linux/configure: Regenerated.
8222
08192659
RM
8223 * nptl/Makefile (routines): Add libc_pthread_init,
8224 libc_multiple_threads, register-atfork and unregister-atfork.
8225 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8226 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8227 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8228 pthread-pi-defines.sym, structsem.sym.
8229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8230 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8231 [$(subdir) = nptl] (tests): Add tst-setgetname.
8232 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8233 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8234 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8235 [!LIBC_SIGACTION]: Remove aliases.
8236 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8237 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8238 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8239 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8240 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8241 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8242 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8243 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8244 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8245 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8246 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8247 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8248 __libc_allocate_rtsig_private.
8249 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8250 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8251 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8252 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8253 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8254 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8255 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8256 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8257 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8258 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8259 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8260 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8261 * nptl/internaltypes.h: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8263 * sysdeps/nptl/jmp-unwind.c: ... here.
8264 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8265 * nptl/libc-lowlevellock.c: ... here.
8266 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8267 * nptl/libc_multiple_threads.c: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8269 * nptl/libc_pthread_init.c: ... here.
8270 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8271 * nptl/lowlevelbarrier.sym: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8273 * nptl/lowlevelcond.sym: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8275 * nptl/lowlevellock.c: ... here.
8276 * nptl/lowlevellock.h: Moved ...
8277 * sysdeps/nptl/lowlevellock.h: ... here.
8278 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8279 * nptl/lowlevelrobustlock.c: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8281 * nptl/lowlevelrobustlock.sym: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8283 * nptl/lowlevelrwlock.sym: ... here.
8284 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8285 * nptl/pt-fork.c: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8287 * nptl/pthread-pi-defines.sym: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8289 * nptl/pthread_attr_getaffinity.c: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8291 * nptl/pthread_attr_setaffinity.c: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8293 * nptl/pthread_mutex_cond_lock.c: ... here.
8294 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8295 Update #include.
8296 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8297 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8298 * nptl/pthread_once.c: ... here, replacing old file.
8299 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8300 * nptl/pthread_yield.c: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8302 * nptl/register-atfork.c: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8304 * nptl/sem_post.c: ... here.
8305 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8306 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8307 * nptl/sem_timedwait.c: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8309 * nptl/sem_trywait.c: ... here.
8310 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8311 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8312 * nptl/sem_wait.c: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8314 * nptl/structsem.sym: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8316 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8317 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8318 * nptl/unregister-atfork.c: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8320 * nptl/unwindbuf.sym: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8322 * sysdeps/nptl/fork.c: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8324 * sysdeps/nptl/fork.h: ... here.
8325 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8326 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8327 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8329 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8331 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8333 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8335 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8337 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8339 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8341 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8343 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8345 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8347 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8349 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8351 * sysdeps/unix/sysv/linux/raise.c: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8353 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8354 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8355 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8357 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8359 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8361 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8363 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8365 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8366 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8367
96baf6ff
SP
83682014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8369
8370 * sysdeps/generic/memcopy.h: Add comment for
8371 MEMCPY_OK_FOR_FWD_MEMMOVE.
8372
6b7b14b2
WN
83732014-07-04 Will Newton <will.newton@linaro.org>
8374
1570a72b
WN
8375 * string/memchr.c: Merge from gnulib.
8376 [_LIBC]: Remove conditionals.
8377 (__ptr_t): Remove define.
8378 (LONG_MAX_32_BITS): Likewise.
8379 (LONG_MAX): Likewise.
8380 (MEMCHR): Use ANSI prototype and optimize algorithm.
8381
6b7b14b2
WN
8382 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8383
38851324
SP
83842014-07-03 Roland McGrath <roland@hack.frob.com>
8385
3d9eb57c
RM
8386 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8387 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8388
78b984ae
RM
8389 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8390 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8391 in a bare environment with no <stdlib.h> installed.
8392 * sysdeps/nptl/configure: Regenerated.
8393
2d5976a5
RM
8394 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8395
c1f5acd4
RM
8396 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8397 AC_EGREP_CPP for kernel header checks, so they only succeed if
8398 including <linux/version.h> actually works right.
8399 * sysdeps/unix/sysv/linux/configure: Regenerated.
8400
4d614fe5
RM
8401 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8402 value so it's not diagnosed as unused.
8403
38851324
SP
8404 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8405 thing) with "ifeq ($(subdir),rt)".
8406
b3ec00e5
RH
84072014-07-03 Richard Henderson <rth@redhat.com>
8408
69862e25
RH
8409 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8410 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8411 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8412
d5e16ade
RH
8413 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8414 (math_force_eval): New.
8415
ca7b945c
RH
8416 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8417 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8418
cd1175a3
RH
8419 * sysdeps/alpha/fpu/s_round.c: Remove file.
8420 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8421
b3ec00e5
RH
8422 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8423 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8424 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8425 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8426 (_dl_start, print_statistics): Likewise.
8427 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8428 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8429
8430 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8431 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8432 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8433 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8435 (HP_SMALL_TIMING_AVAIL): Define.
8436 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8437 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8438 (HP_SMALL_TIMING_AVAIL): Define.
8439 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8440 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8441
8442 * sysdeps/aarch64/hp-timing.h: New file.
8443
8444 * sysdeps/generic/hp-timing.h: Remove dead comment.
8445 * sysdeps/generic/hp-timing-common.h: New file.
8446 * sysdeps/alpha/hp-timing.h: Include it.
8447 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8448 * sysdeps/i386/i686/hp-timing.h: Likewise.
8449 * sysdeps/ia64/hp-timing.h: Likewise.
8450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8451 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8453 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8454 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8455 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8456 (hp_timing_t): New.
8457
8458 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8459 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8460 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8461 * elf/rtld.c (_dl_start_final): Likewise.
8462 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8463 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8464 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8465 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8466 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8468 (HP_TIMING_DIFF_INIT): Remove.
8469 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8470 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8471 (HP_TIMING_DIFF_INIT): Remove.
8472 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8473 * sysdeps/i386/i686/hp-timing.c: Remove file.
8474 * sysdeps/x86_64/hp-timing.c: Remove file.
8475 * sysdeps/ia64/hp-timing.c: Remove file.
8476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8477 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8479 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8480
8481 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8482 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8483 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8484 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8486 (HP_TIMING_ACCUM): Remove.
8487 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8488 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8489 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8490
8491 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8492 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8493 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8494 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8495 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8496 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8497 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8498 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8499
8500 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8501
225f410f
MR
85022014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8503
8504 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8505
3247f285
SP
85062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8507
8508 Sync up with gettext.
8509 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8510 [_MSC_VER]: Include malloc.h
8511 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8512 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8513 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8514 TEMP_FAILURE_RETRY. Cast return of alloca.
8515 [!_LIBC] Call gl_rwlock_init.
8516 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8517
d12704c7
SP
85182014-07-02 Roland McGrath <roland@hack.frob.com>
8519
8520 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8521 before checking its value.
8522
99f8dc92
SP
85232014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8524
05fdac77
SP
8525 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8526
99f8dc92
SP
8527 * debug/memcpy_chk.c: Don't include pagecopy.h.
8528 * debug/mempcpy_chk.c: Likewise.
8529 * string/memcpy.c: Likewise.
8530 * string/memmove.c: Likewise.
8531 * sysdeps/powerpc/memmove.c: Likewise.
8532 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8533 definition of PAGE_COPY_FWD_MAYBE here...
8534 * sysdeps/generic/pagecopy.h: ... from here.
8535 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8536
bc8ea385
VR
85372014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8538 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8539
8540 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8542 optimizations.
8543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8544 (__libc_ifunc_impl_list): Likewise.
8545 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8546 multiarch strcat for PPC64.
8547 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8548 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8549
fe5f34e4
RM
85502014-07-02 Roland McGrath <roland@hack.frob.com>
8551
8552 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8553
256aa665
SP
85542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8555
d4eb8195
SP
8556 * intl/loadmsgcat.c: Remove declaration of
8557 get_sysdep_segment_value.
8558 (get_sysdep_segment_value): Use ISO C style.
8559 (_nl_load_domain): Use ISO C style. Get rid of redundant
8560 semicolon. Fix typo and formatting in comment.
8561 (_nl_unload_domain): Use ISO C style.
8562
256aa665
SP
8563 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8564
b100f9aa
WN
85652014-07-02 Will Newton <will.newton@linaro.org>
8566
8567 * malloc/obstack.c: Merge from gnulib master.
8568 [HAVE_CONFIG_H]: Remove conditional code.
8569 [!_LIBC]: Include config.h.
8570 [!ELIDE_CODE]: Don't include inttypes.h, include
8571 stdint.h unconditionally.
8572 (print_and_abort): Mark as _Noreturn.
8573 (_obstack_allocated_p): Mark as __attribute_pure__.
8574 (obstack_free): Rename to __obstack_free.
8575 [!__attribute__]: Remove conditional code.
8576 * malloc/obstack.h: Merge from gnulib master.
8577 [__cplusplus]: Move conditional down.
8578 [!__attribute_pure__]: Define __attribute_pure__ here
8579 if it is not already defined.
8580 (_obstack_memory_used): Mark as __attribute_pure__.
8581 [!__obstack_free]: Define as obstack_free.
8582 [__GNUC__]: Remove check for ancient NeXT gcc.
8583
c4c41244
PE
85842014-07-02 Will Newton <will.newton@linaro.org>
8585 Paul Eggert <eggert@cs.ucla.edu>
8586
8587 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8588
e1e041c4
SP
85892014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8590
8591 * resolv/gethnamaddr.c: Add comment warning that the file is
8592 not maintained.
8593
ccf431ff
CD
85942014-07-01 Carlos O'Donell <carlos@redhat.com>
8595
d34570a6
CD
8596 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8597 entries.
8598
ccf431ff
CD
8599 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8600 entry for aio_cancel and aio_cancel64.
8601 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8602 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8603 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8604 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8605 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8606 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8607 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8608 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8609 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8610 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8611 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8612 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8613 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8614
ca06321d
RM
86152014-07-01 Roland McGrath <roland@hack.frob.com>
8616
8617 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8618 * nptl/pthread_mutex_lock.c: Likewise.
8619 * nptl/pthread_mutex_timedlock.c: Likewise.
8620 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8621
a1ac3184
RH
86222014-07-01 Richard henderson <rth@redhat.com>
8623
631021e0
RH
8624 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8625 (__isnan, __isnanl): Remove.
8626 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8627
a1ac3184
RH
8628 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8629
0c1d731f
SL
86302014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8631
8632 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8633
76985d3e
SP
86342014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8635
8636 * resolv/nss_dns/dns-host.c (getanswer_r)
8637 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8638
b0cb3096
JM
86392014-07-01 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8642 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8643 undefine.
8644 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8645 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8646
4d76cb39
RM
86472014-07-01 Roland McGrath <roland@hack.frob.com>
8648
8649 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8650 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8651
8652 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8653 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8654
8655 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8656 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8657 ... here.
8658 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8659 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8660
8661 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8662 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8663 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8664 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8665
8666 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8667 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8668 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8671 Moved ...
8672 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8673 ... here.
8674 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8675 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8681 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8683 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8685 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8686 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8687 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8689 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8690 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8691 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8692 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8693 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8694 ... here.
8695 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8696 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8698 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8699 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8700 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8701 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8702 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8703
0cdcad17
DH
87042014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8705
8706 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8707 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8708 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8709 Add sysdep.
8710
9b71d0e3
AZ
87112014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8712
8713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8714
665390c2
JM
87152014-06-30 Joseph Myers <joseph@codesourcery.com>
8716
ae05a9d7
JM
8717 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8718 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8719
a7672a2f
JM
8720 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8721
665390c2
JM
8722 * sysdeps/arm/libm-test-ulps: Regenerated.
8723
d7a05d07
MR
87242014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8725 Roland McGrath <roland@hack.frob.com>
8726
8727 * test-skeleton.c (signal_handler): Kill the whole process group
8728 before killing the child individually.
8729 (main): Report any failure on `setpgid'.
8730
46f1d8a6
RM
87312014-06-30 Roland McGrath <roland@hack.frob.com>
8732
8733 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8734 from _TLS_H to _ARM_NPTL_TLS_H.
8735 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8736 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8737
9c37ec0b
JM
87382014-06-30 Joseph Myers <joseph@codesourcery.com>
8739
ce9c5b3e
JM
8740 [BZ #16539]
8741 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8742 (__expm1l): Return argument unchanged when small but not
8743 subnormal.
8744
3a6e9887
JM
8745 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8746 include macro name.
8747 (_FP_UNPACK_RAW_1_P): Likewise.
8748 (_FP_PACK_RAW_1): Likewise.
8749 (_FP_PACK_RAW_1_P): Likewise.
8750 (_FP_MUL_MEAT_1_wide): Likewise.
8751 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8752 (_FP_MUL_MEAT_1_hard): Likewise.
8753 (_FP_DIV_MEAT_1_imm): Likewise.
8754 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8755 (_FP_DIV_MEAT_1_udiv): Likewise.
8756 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8757 (_FP_UNPACK_RAW_2): Likewise.
8758 (_FP_UNPACK_RAW_2_P): Likewise.
8759 (_FP_PACK_RAW_2): Likewise.
8760 (_FP_PACK_RAW_2_P): Likewise.
8761 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8762 (_FP_MUL_MEAT_2_wide): Likewise.
8763 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8764 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8765 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8766 (_FP_MUL_MEAT_2_gmp): Likewise.
8767 (_FP_DIV_MEAT_2_udiv): Likewise.
8768 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8769 (_FP_FRAC_SRL_4): Likewise.
8770 (_FP_FRAC_SRST_4): Likewise.
8771 (_FP_FRAC_SRS_4): Likewise.
8772 (_FP_UNPACK_RAW_4): Likewise.
8773 (_FP_UNPACK_RAW_4_P): Likewise.
8774 (_FP_PACK_RAW_4): Likewise.
8775 (_FP_PACK_RAW_4_P): Likewise.
8776 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8777 (_FP_MUL_MEAT_4_wide): Likewise.
8778 (_FP_MUL_MEAT_4_gmp): Likewise.
8779 (umul_ppppmnnn): Likewise.
8780 (_FP_DIV_MEAT_4_udiv): Likewise.
8781 (__FP_FRAC_ADD_4): Likewise.
8782 (__FP_FRAC_SUB_3): Likewise.
8783 (__FP_FRAC_SUB_4): Likewise.
8784 (__FP_FRAC_DEC_3): Likewise.
8785 (__FP_FRAC_DEC_4): Likewise.
8786 (__FP_FRAC_ADDI_4): Likewise.
8787 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8788 (_FP_FRAC_SRL_8): Likewise.
8789 (_FP_FRAC_SRS_8): Likewise.
8790
9c37ec0b
JM
8791 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8792 include macro name.
8793 (FP_UNPACK_RAW_EP): Likewise.
8794 (FP_PACK_RAW_E): Likewise.
8795 (FP_PACK_RAW_EP): Likewise.
8796 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8797 (_FP_ISSIGNAN): Likewise.
8798 (_FP_ADD_INTERNAL): Likewise.
8799 (_FP_FMA): Likewise.
8800 (_FP_CMP): Likewise.
8801 (_FP_SQRT): Likewise.
8802 (_FP_TO_INT): Likewise.
8803 (_FP_FROM_INT): Likewise.
8804 (FP_EXTEND): Likewise.
8805 (_FP_DIV_MEAT_N_loop): Likewise.
8806
2125f674
MR
88072014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8808
8809 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8810 throughout.
8811
edea4028
JM
88122014-06-29 Joseph Myers <joseph@codesourcery.com>
8813
8814 [BZ #17097]
8815 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8816 result with correct sign in case of exponents that produce
8817 overflow except for X very close to 1.
8818
dd0ba018
PE
88192014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8820
8821 mktime: merge #if/#ifdef usage from glibc
8822 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8823 as that works with both Glibc's and Gnulib's style.
8824 See thread starting at Siddhesh Poyarekar's bug report at:
8825 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8826
64df73c2
SP
88272014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8830 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8831 * sysdeps/tile/tilegx/memmove.c: Remove file.
8832
f1eafb41
JM
88332014-06-27 Joseph Myers <joseph@codesourcery.com>
8834
8835 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8836 abi-name definition.
8837 * scripts/soversions.awk: Do not handle or generate ABI lines.
8838 * shlib-versions: Remove ABI entries.
8839 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8840 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8841
58eb0862
RM
88422014-06-27 Roland McGrath <roland@hack.frob.com>
8843
37caf178
RM
8844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8845 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8846 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8851 Moved ...
8852 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8853 ... here.
8854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8867 Moved ...
8868 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8870 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8872 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8874 Moved ...
8875 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8877 Moved ...
8878 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8882 Moved ...
8883 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8887 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8891 Moved ...
8892 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8896 Moved ...
8897 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8899 Moved ...
8900 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8904 Moved ...
8905 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8906 ... here.
8907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8908 Identical file removed.
8909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8910 Moved ...
8911 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8913 Identical file removed.
8914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8917 Moved ...
8918 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8920 Identical file removed.
8921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8922 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8924 Identical file removed.
8925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8926 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8928 Identical file removed.
8929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8930 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8932 Identical file removed.
8933 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8934 Moved ...
8935 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8937 Identical file removed.
8938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8939 Moved ...
8940 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8944 Identical file removed.
8945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8946 Moved ...
8947 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8948 ... here.
8949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8950 Identical file removed.
8951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8952 Moved ...
8953 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8955 Identical file removed.
8956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8957 Moved ...
8958 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8964 Moved ...
8965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8967 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8968
58eb0862
RM
8969 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8970 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8971 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8972 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8973 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8974
6f12d062
AS
89752014-06-27 Arjun Shankar <arjun.is@lostca.se>
8976
8977 [BZ #17092]
8978 * nscd/nscd.c (monitor_child): Return exit status of child
8979 instead of return value from wait syscall.
8980
be254932
JM
89812014-06-27 Joseph Myers <joseph@codesourcery.com>
8982
cb403c34
JM
8983 * configure.ac (libc_commonpagesize): Remove variable.
8984 (libc_relro_required): Likewise.
8985 (libc_cv_z_relro): Remove configure test.
8986 * configure: Regenerated.
8987 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8988 variable.
8989 (libc_relro_required): Likewise.
8990 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8991 (libc_relro_required): Likewise.
8992 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8993 (libc_relro_required): Likewise.
8994 * sysdeps/arm/preconfigure: Regenerated.
8995 * sysdeps/ia64/preconfigure: Remove file.
8996 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8997 variable.
8998 (libc_relro_required): Likewise.
8999
be254932
JM
9000 [BZ #16561]
9001 [BZ #16562]
9002 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9003 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9004 recompute overflowing results in original rounding mode.
9005 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9006 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9007 recompute overflowing results in original rounding mode.
9008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9009 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9010 recompute overflowing results in original rounding mode.
9011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9012 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9013 recompute overflowing results in original rounding mode.
9014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9015 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9016 recompute overflowing results in original rounding mode.
9017 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9018 (libc_feholdsetround_ctx): New macro.
9019 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9022
b351d85a
JM
90232014-06-26 Joseph Myers <joseph@codesourcery.com>
9024
9025 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9026 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9027 corresponding .cpsetup call.
9028
3cb4de47
RM
90292014-06-26 Roland McGrath <roland@hack.frob.com>
9030
9031 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9032 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9033 * sysdeps/arm/Makefile [$(subdir) = csu]
9034 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9035 (static-only-routines): Add aeabi_read_tp here.
9036 (shared-only-routines): Add libc-aeabi_read_tp here.
9037 (CFLAGS-libc-start.c): Add -fexceptions here.
9038 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9039 (sysdep_routines, static-only-routines, shared-only-routines):
9040 Don't add to these here.
9041 (CFLAGS-libc-start.c): Likewise.
9042
9043 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9044 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9045 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9046 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9047 * sysdeps/arm/Makefile [$(subdir) = rt]
9048 (librt-sysdep_routines, librt-shared-only-routines):
9049 Append rt-aeabi_unwind_cpp_pr1 here.
9050 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9051 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9052 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9053 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9054 Append nptl-aeabi_unwind_cpp_pr1 here.
9055 (tests): Filter out tst-cleanupx4 here.
9056 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9057 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9058 Don't do those here.
9059
354426bb
JM
90602014-06-26 Joseph Myers <joseph@codesourcery.com>
9061
9062 * scripts/list-sources.sh: Do not handle ports specially.
9063
28b0a8c9
RM
90642014-06-26 Roland McGrath <roland@hack.frob.com>
9065
a3dd035d
RM
9066 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9067 * sysdeps/arm/feupdateenv.c: Likewise.
9068
28b0a8c9
RM
9069 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9070
e66a8203
JM
90712014-06-26 Joseph Myers <joseph@codesourcery.com>
9072
9073 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9074 trailing whitespace removed.
9075 * scripts/config.guess: Update to version 2014-03-23.
9076 * scripts/config.sub: Update to version 2014-05-01
9077 * scripts/install-sh: Update to version 2013-12-25.23.
9078 * scripts/move-if-change: Update from gnulib.
9079
74171115
SP
90802014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9081
b97c9ce5
SP
9082 * debug/memmove_chk.c: Remove pagecopy.h include.
9083
4000f892
SP
90842014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9085
74171115
SP
9086 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9087 identical to gnulib mktime.
9088
a8779c28
JM
90892014-06-26 Joseph Myers <joseph@codesourcery.com>
9090
e64708de
JM
9091 * configure.ac: Do not test for machine being rs6000. Do not test
9092 for powerpc*-*soft.
9093 * configure: Regenerated.
9094
a8779c28
JM
9095 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9096 test.
9097 * configure: Regenerated.
9098 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9099 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9100 Remove configure test.
9101 * sysdeps/arm/configure: Regenerated.
9102 * sysdeps/nptl/configure.ac: Do not check
9103 libc_cv_asm_cfi_directives.
9104 * sysdeps/nptl/configure: Regenerated.
9105 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9106 * sysdeps/x86_64/nptl/configure: Remove generated file.
9107 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9108 unconditional.
9109 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9110
2aac0a86
SP
91112014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9112
059bf913
SP
9113 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9114 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9115 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9116 it is defined.
9117
4cf5b6d0
SP
9118 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9119 instead of whether it is defined.
9120 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9121 * sysdeps/hppa/dl-machine.h: Likewise.
9122 * sysdeps/ia64/dl-machine.h: Likewise.
9123 * sysdeps/m68k/dl-machine.h: Likewise.
9124 * sysdeps/microblaze/dl-machine.h: Likewise.
9125 * sysdeps/mips/dl-machine.: Likewise.
9126 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9127 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9128 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9129 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9130 * sysdeps/sh/dl-machine.h: Likewise.
9131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9132 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9133 * sysdeps/tile/dl-machine.h: Likewise.
9134 * sysdeps/x86_64/dl-machine.h: Likewise.
9135
2aac0a86
SP
9136 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9137 code.
9138 (verify_persistent_db): Likewise.
9139
6ad2df0b
RM
91402014-06-26 Roland McGrath <roland@hack.frob.com>
9141
d8a483f3
RM
9142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9143 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9145 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9147 Moved ...
9148 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9149 ... here.
9150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9151 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9153 Identical file removed.
9154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9165 Moved ...
9166 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9168 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9170 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9172 Moved ...
9173 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9175 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9177 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9179 Identical file removed.
9180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9181 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9183 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9185 Moved ...
9186 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9187 ... here.
9188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9189 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9191 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9193 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9195 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9197 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9199 Moved ...
9200 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9202 Moved ...
9203 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9207 Moved ...
9208 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9210 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9211
52ae23b4
RM
9212 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9213 folded into ...
9214 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9215 * sysdeps/unix/sysv/linux/s390/Versions
9216 (libpthread: GLIBC_2.19): New version set.
9217 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9218 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9219 (librt: GLIBC_2.3.3): New version set.
9220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9221 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9222 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9223 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9224 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9226 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9227 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9228 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9229 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9230 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9232 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9233 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9234 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9235 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9236 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9238 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9239 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9240 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9242 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9244 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9245 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9246 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9247 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9248 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9249 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9250 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9251 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9256 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9257 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9258 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9260 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9262 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9264 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9265
39507e4a
RM
9266 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9267 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9268 (__libc_vfork): Define the function under this name.
9269 [!NOT_IN_libc] (__vfork): Make this an alias.
9270 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9272 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9273 (__libc_vfork): Define the function under this name.
9274 [!NOT_IN_libc] (__vfork): Make this an alias.
9275 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9276 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9277 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9278 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9279 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9280 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9281
e549ee56
RM
9282 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9283 code that was previously under [RESET_PID].
9284 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9285 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9287
6ad2df0b
RM
9288 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9289 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9290 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9291 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9292 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9293 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9294 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9295 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9296 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9299 Moved ...
9300 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9302 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9304 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9306 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9308 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9309 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9310 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9311 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9312 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9314 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9315 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9316 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9317 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9318 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9320 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9324 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9325 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9326 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9327 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9328 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9329
7c1c1d8e
RM
93302014-06-25 Roland McGrath <roland@hack.frob.com>
9331
9332 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9333 that was previously under [RESET_PID].
9334 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9335
3e239be6
JM
93362014-06-25 Joseph Myers <joseph@codesourcery.com>
9337
74385da5
JM
9338 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9339 not undefine and redefine.
9340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9341 [O_CLOEXEC]: Make code unconditional.
9342 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9343 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9344 <kernel-features.h>.
9345 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9346 conditional variable definition.
9347 (shm_open) [O_CLOEXEC]: Make code unconditional.
9348 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9349 code.
9350
c2570a0b
JM
9351 * configure.ac (USE_REGPARMS): Don't define here.
9352 * configure: Regenerated.
9353 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9354 * sysdeps/i386/configure: Regenerated.
9355
11b076bb
JM
9356 * nptl/createthread.c: Don't include kernel-features.h.
9357 * nptl/pthread_cancel.c: Likewise.
9358 * nptl/pthread_condattr_setclock.c: Likewise.
9359 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9360 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9361 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9362 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9363 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9364 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9365 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9367 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9368 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9369 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9370 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9371 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9372 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9373 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9374 * nscd/gai.c: Likewise.
9375 * nss/nss_db/db-open.c: Likewise.
9376 * sysdeps/generic/ldsodefs.h: Likewise.
9377 * sysdeps/sh/nptl/tls.h: Likewise.
9378 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9379 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9380 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9381 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9382 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9383 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9384 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9385 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9387 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9388 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9389 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9390 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9391 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9392 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9393 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9394 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9395 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9396 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9397 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9398 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9399 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9400 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9401 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9402 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9404 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9405 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9406 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9407 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9408 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9410 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9411 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9412 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9414 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9416 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9417 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9418 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9419 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9420 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9421 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9422 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9423 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9424 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9425 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9426 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9427 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9428 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9429 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9430 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9431 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9432 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9433 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9434 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9435 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9458 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9459 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9460 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9461 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9462 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9463 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9464 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9465 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9466 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9467 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9468 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9469 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9470 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9471 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9472 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9473 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9474 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9476 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9477 * sysdeps/unix/sysv/linux/system.c: Likewise.
9478 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9479 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9480 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9481 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9482 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9484 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9485
92072d57
JM
9486 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9487 * configure: Regenerated.
9488 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9489
3e239be6
JM
9490 * configure.ac (base_machine): Do not set specially for particular
9491 machines here.
9492 * configure: Regenerated.
9493 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9494 settings from configure.ac.
9495 * sysdeps/i386/preconfigure: New file.
9496 * sysdeps/s390/preconfigure: Likewise.
9497 * sysdeps/sh/preconfigure: Likewise.
9498 * sysdeps/sparc/preconfigure: Likewise.
9499
06d50baa
RM
95002014-06-25 Roland McGrath <roland@hack.frob.com>
9501
74836003
RM
9502 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9503 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9504 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9505 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9506 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9507 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9508 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9509 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9510 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9511 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9512 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9513 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9514 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9515 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9516 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9517 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9518 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9519 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9520 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9521
9522 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9523 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9524 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9525 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9526 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9527 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9528 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9529 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9530 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9531 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9532 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9533 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9534 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9535 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9536 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9537 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9538 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9539 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9540 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9541 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9542 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9543 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9544 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9545 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9547 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9548 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9549 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9551 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9552 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9553 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9554 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9555 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9557 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9558 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9559 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9560
06d50baa
RM
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9562 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9566 Moved ...
9567 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9568 ... here.
9569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9570 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9572 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9574 Moved ...
9575 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9577 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9579 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9581 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9583 Moved ...
9584 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9589 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9591 Moved ...
9592 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9594 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9596 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9598 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9600 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9602 Moved ...
9603 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9604 ... here.
9605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9608 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9610 Moved ...
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9619 Moved ...
9620 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9622 Moved ...
9623 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9632 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9633
a4ccbc9b
JM
96342014-06-25 Joseph Myers <joseph@codesourcery.com>
9635
0828edbf
JM
9636 * timezone/checktab.awk: Update from tzcode 2014e.
9637 * timezone/private.h: Likewise.
9638 * timezone/tzfile.h: Likewise.
9639 * timezone/zdump.c: Likewise.
9640 * timezone/zic.c: Likewise.
9641
a4ccbc9b
JM
9642 * sysdeps/unix/sysv/linux/kernel-features.h
9643 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9645 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9646 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9647 Remove conditional code.
9648
9aea0cb8
WN
96492014-06-25 Will Newton <will.newton@linaro.org>
9650
9651 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9652 (_dl_arm_cap_flags): Add HWCAP2 values.
9653 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9654 (_DL_HWCAP_COUNT): Increase to 37.
9655 (_DL_HWCAP_LAST): New define.
9656 (_DL_HWCAP2_LAST): New define.
9657 (_dl_procinfo): Add support for printing
9658 AT_HWCAP2 entries.
9659 (_dl_string_hwcap): Use _dl_hwcap_string.
9660
6eaa65ce
AZ
96612014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9662
9663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9664
0f5b7185
JM
96652014-06-25 Joseph Myers <joseph@codesourcery.com>
9666
cfd2ea50
JM
9667 * README: Do not mention ports directory.
9668
cecf2ed4
JM
9669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9670 Remove macro.
9671 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9672 <kernel-features.h>.
9673 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9674 conditional variable definition.
9675 (__futimes): Update comment.
9676 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9677 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9678
a638de82
JM
9679 [BZ #16560]
9680 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9681 arguments close to 0.
9682 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9683 Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9685 Likewise.
9686 * math/auto-libm-test-in: Add more tests of exp10.
9687 * math/auto-libm-test-out: Regenerated.
9688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9689
0f5b7185
JM
9690 * sysdeps/unix/sysv/linux/kernel-features.h
9691 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9692 * sysdeps/unix/sysv/linux/readv.c: Do not include
9693 <kernel-features.h>.
9694 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9695 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9696 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9697 unconditional.
9698 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9699 conditional code.
9700 * sysdeps/unix/sysv/linux/writev.c: Do not include
9701 <kernel-features.h>.
9702 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9703 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9704 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9705 unconditional.
9706 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9707 conditional code.
9708
c7aec4be
WN
97092014-06-25 Will Newton <will.newton@linaro.org>
9710
9711 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9712 comment changes throughout the file. Remove checks
9713 for HAVE_*_H definitions that are not required.
9714 (__gen_tempname): Call abort if an unknown kind value is
9715 passed.
9716
c5241f95
AS
97172014-06-25 Andreas Schwab <schwab@suse.de>
9718
9719 [BZ #17086]
9720 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9721 scalbln, scalblnf, scalblnl in libc.
9722
911422da
SP
97232014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9724
9725 [BZ #17086]
9726 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9727 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9728 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9729
0d749bbe
RM
97302014-06-24 Roland McGrath <roland@hack.frob.com>
9731
9732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9733 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9735 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9736 Update #include.
9737 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9738 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9739 Update #include.
9740 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9741 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9742 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9743 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9744 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9745 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9746 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9747 * sysdeps/x86/bits/semaphore.h: ... here.
9748 * sysdeps/x86/nptl/elide.h: Moved ...
9749 * sysdeps/x86/elide.h: ... here.
9750 * sysdeps/x86_64/nptl/Implies: File removed.
9751 * sysdeps/i386/nptl/Implies: File removed.
9752
0ea5d373
JM
97532014-06-24 Joseph Myers <joseph@codesourcery.com>
9754
4060283d
JM
9755 [BZ #16539]
9756 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9757 return the argument for normal arguments with exponent below -64.
9758 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9759 Likewise.
9760 * math/auto-libm-test-in: Add another test of expm1.
9761 * math/auto-libm-test-out: Regenerated.
9762
e7dd3c8c
JM
9763 [BZ #16287]
9764 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9765 calling __erfcl for arguments at least 16.
9766 * math/auto-libm-test-in: Add more tests of erf.
9767 * math/auto-libm-test-out: Regenerated.
9768
0ea5d373
JM
9769 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9770 individual architectures.
9771 * sysdeps/unix/sysv/linux/configure: Regenerated.
9772 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9773 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9774 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9775 (ldd_rewrite_script): Define variable.
9776 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9778 file.
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9780 generated file.
9781 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9782 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9783 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9784 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9785 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9786 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9787 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9788 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9789
2307e126
SP
97902014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9791
9792 [BZ #17084]
9793 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9794 Rename member __data.d to __data.__elision_data.
9795
c0a4ed77
W
97962014-06-24 Wilco <wdijkstr@arm.com>
9797
9798 * NEWS: Add 16918 to fixed bug list.
9799
b8c00573
W
98002014-06-24 Wilco <wdijkstr@arm.com>
9801
9802 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9803
b5570d92
W
98042014-06-24 Wilco <wdijkstr@arm.com>
9805
9806 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9807 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9808 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9809 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9810 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9811 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9812 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9813 Use _FPU_MASK_RM.
9814
947bdca2
W
98152014-06-24 Wilco <wdijkstr@arm.com>
9816
9817 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9818
00f669ed
W
98192014-06-24 Wilco <wdijkstr@arm.com>
9820
9821 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9822 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9823 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9824 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9825
db59bad3
W
98262014-06-24 Wilco <wdijkstr@arm.com>
9827
9828 [BZ #16918]
9829 * sysdeps/arm/feupdateenv.c (feupdateenv):
9830 Rewrite to reduce FPSCR accesses and fix return value.
9831
001f7b77
W
98322014-06-24 Wilco <wdijkstr@arm.com>
9833
9834 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9835 Optimize to avoid unnecessary FPSCR writes.
9836 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9837 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9838 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9839 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9840
4841e6a6
W
98412014-06-24 Wilco <wdijkstr@arm.com>
9842
9843 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9844 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9845 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9846 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9847 Call libc_fetestexcept_vfp.
9848 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9849 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9850 __SOFTFP__ ifdef so that they can be built for softfp.
9851
0813022c
SP
98522014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9853
08e5862f
SP
9854 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9855 argument type signed char.
9856
0813022c
SP
9857 * Makerules (check-abi): Dump diff of symlist if the test
9858 fails.
9859
3fc7236a
RM
98602014-06-23 Roland McGrath <roland@hack.frob.com>
9861
aba8ef95
RM
9862 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9863 using abort.
9864
3fc7236a
RM
9865 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9866 Remove unused variable ST.
9867
4da6db51
JM
98682014-06-23 Joseph Myers <joseph@codesourcery.com>
9869
4648909d
JM
9870 [BZ #16354]
9871 [BZ #17061]
9872 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9873 small arguments before calling __expm1.
9874 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9875 small arguments before calling __expm1f.
9876 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9877 small arguments before calling __expm1l.
9878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9879 Likewise.
9880 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9881 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9882 spurious underflow for some cosh tests.
9883 * math/auto-libm-test-out: Regenerated.
9884 * sysdeps/i386/fpu/libm-test-ulps: Update.
9885
46a3d3c7
JM
9886 [BZ #17050]
9887 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9888 (__ieee754_y1): Set errno if return value overflows.
9889 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9890 (__ieee754_y1f): Set errno if return value overflows.
9891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9892 (__ieee754_y1l): Set errno if return value overflows.
9893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9894 (__ieee754_y1l): Set errno if return value overflows.
9895 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9896 * math/auto-libm-test-out: Regenerated.
9897
863893ec
JM
9898 * math/gen-auto-libm-tests.c: Document use of
9899 ignore-zero-inf-sign.
9900 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9901 (input_flags): Add ignore-zero-inf-sign.
9902 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9903 * math/gen-libm-test.pl (generate_testfile): Handle
9904 ignore-zero-inf-sign.
9905 * math/auto-libm-test-in: Mark some cpow tests with
9906 ignore-zero-inf-sign and some with xfail-rounding.
9907 * math/auto-libm-test-out: Regenerated.
9908 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9909 * sysdeps/i386/fpu/libm-test-ulps: Update.
9910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9911
4da6db51
JM
9912 [BZ #16315]
9913 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9914 overflowing or underflowing operations take place with sign of
9915 result.
9916 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9917 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9918 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9919 (__ieee754_pow): Recompute overflowing and underflowing results in
9920 original rounding mode.
9921 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9922 (__powl_helper): Allow negative argument X and scale negated value
9923 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9924 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9925 overflowing or underflowing operations take place with sign of
9926 result.
9927 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9928 Include <math.h>.
9929 * math/auto-libm-test-in: Add more tests of pow.
9930 * math/auto-libm-test-out: Regenerated.
9931 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9932 (pow_tonearest_test_data): Remove.
9933 (pow_test_tonearest): Likewise.
9934 (pow_towardzero_test_data): Likewise.
9935 (pow_test_towardzero): Likewise.
9936 (pow_downward_test_data): Likewise.
9937 (pow_test_downward): Likewise.
9938 (pow_upward_test_data): Likewise.
9939 (pow_test_upward): Likewise.
9940 (main): Don't call removed functions.
9941 * sysdeps/i386/fpu/libm-test-ulps: Update.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943
5686b236
RM
99442014-06-23 Roland McGrath <roland@hack.frob.com>
9945
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9947 Moved ...
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9950 Moved ...
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9953 Moved ...
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9956 Moved ...
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9959 File removed.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9961 File removed.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9963 File removed.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9965 File removed.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9967 File removed.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9969 File removed.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9971 File removed.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9973 File removed.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9975 File removed.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9977 File removed.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9979 File removed.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9981 File removed.
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9983 Moved ...
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9986 Moved ...
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9988 ... here.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9990 Moved ...
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9993 Moved ...
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9996 Moved ...
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9999 Moved ...
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10002 Moved ...
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10005 Moved ...
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10008 Moved ...
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10012 ... here.
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10014 Moved ...
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10017 Moved ...
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10019 ... here.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10021 Moved ...
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10023 ... here.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10025 Moved ...
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10027 ... here.
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10029 Moved ...
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10032 Moved ...
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10037 Moved ...
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10039 ... here.
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10041 Moved ...
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10043 ... here.
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10045 Moved ...
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10048 Moved ...
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10051 Moved ...
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10054 Moved ...
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10057 Moved ...
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10059 ... here.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10061 Moved ...
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10064 Moved ...
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10067 Moved ...
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10070 Moved ...
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10075 Moved ...
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10078 Moved ...
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10081 Moved ...
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10083 ... here.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10085 Moved ...
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10087 ... here.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10089 Moved ...
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10091 ... here.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10093 Moved ...
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10096 Moved ...
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10099 Moved ...
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10102 Moved ...
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10104 ... here.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10106 Moved ...
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10108 ... here.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10110 Moved ...
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10112 ... here.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10114 Moved ...
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10117 Moved ...
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10119
e6d90d67
WD
101202014-06-23 Will Newton <will.newton@linaro.org>
10121 Wilco <wdijkstr@arm.com>
10122
10123 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10124 implementation. Include get-rounding-mode.h.
10125 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10126 [!libc_feholdsetround_noex_ctx]: Define
10127 libc_feholdsetround_noex_ctx.
10128 [!libc_feholdsetround_noexf_ctx]: Define
10129 libc_feholdsetround_noexf_ctx.
10130 [!libc_feholdsetround_noexl_ctx]: Define
10131 libc_feholdsetround_noexl_ctx.
10132 (libc_feholdsetround_ctx): New function.
10133 (libc_feresetround_ctx): New function.
10134 (libc_feholdsetround_noex_ctx): New function.
10135 (libc_feresetround_noex_ctx): New function.
10136
d42df555
RM
101372014-06-23 Roland McGrath <roland@hack.frob.com>
10138
88a46474
RM
10139 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10140 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10141 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10142 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10143 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10144 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10145
15bed472
RM
10146 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10147 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10148 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10149 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10150 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10151 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10152 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10153 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10154 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10155 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10157 Moved ...
10158 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10159 ... here.
10160 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10161 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10162 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10163 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10165 Moved ...
10166 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10168 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10170 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10172 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10174 Moved ...
10175 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10179 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10180 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10181 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10182 Moved ...
10183 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10187 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10188 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10189 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10191 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10193 Moved ...
10194 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10195 ... here.
10196 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10197 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10198 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10199 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10200 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10201 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10202 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10203 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10204 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10205 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10209 Moved ...
10210 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10212 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10214 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10216 Moved ...
10217 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10219 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10220 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10221 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10222
d42df555
RM
10223 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10224 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10225 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10234 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10236 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10238 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10240 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10242 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10243 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10244 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10246 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10250 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10251
76e5216e
JM
102522014-06-23 Joseph Myers <joseph@codesourcery.com>
10253
10254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10255 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10256 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10257 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10258 (IPV6_PMTUDISC_INTERFACE): Likewise.
10259 (IPV6_PMTUDISC_OMIT): Likewise.
10260
7a81cbcc
AS
102612014-06-23 Andreas Schwab <schwab@suse.de>
10262
10263 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10264 Remove unused errout label.
10265
db224009
AZ
102662014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10267
10268 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10269 macro: hardware supports Vector Crypto instructions.
10270
f393b4aa
WN
102712014-06-23 Will Newton <will.newton@linaro.org>
10272
cc7d0447
WN
10273 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10274 rather than __builtin_expect.
10275
d6d06225
WN
10276 * elf/dl-lookup.c (undefined_msg): Remove variable.
10277 (_dl_lookup_symbol_x): Replace undefined_msg with string
10278 literal.
10279
f393b4aa
WN
10280 * elf/dl-lookup.c (do_lookup_unique): New function.
10281 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10282 to a separate function.
10283
ac60763e
AS
102842014-06-23 Andreas Schwab <schwab@suse.de>
10285
10286 [BZ #17079]
10287 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10288 before reading the next line.
10289
c5c13355
WN
102902014-06-23 Will Newton <will.newton@linaro.org>
10291
10292 * test-skeleton.c (signal_handler): Use printf and %m
10293 rather than perror. Use printf rather than fprintf to
10294 stderr. Use puts rather than fputs to stderr.
10295 (main): Likewise.
10296
bd3675f9
LC
102972014-06-22 Ludovic Courtès <ludo@gnu.org>
10298
10299 * nscd/nscd.c (thread_info_t): Remove typedef.
10300 (thread_info): Remove variable.
10301
d03efb2f
AM
103022014-06-21 Allan McRae <allan@archlinux.org>
10303
10304 * NEWS: Mention CVE-2014-4043.
10305
bc4a86fa
RM
103062014-06-20 Roland McGrath <roland@hack.frob.com>
10307
dc9a54f8
RM
10308 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10309 * nptl/smp.h: ... here.
10310
bd7022c4
RM
10311 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10312
26ffd5e6
RM
10313 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10314 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10315 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10316 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10317
93a6d082
RM
10318 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10319 * nptl/stack-aliasing.h: New file.
10320 * sysdeps/i386/i686/stack-aliasing.h: New file.
10321 * sysdeps/i386/i686/nptl/Makefile: File removed.
10322 * sysdeps/x86_64/stack-aliasing.h: New file.
10323 * sysdeps/x86_64/nptl/Makefile
10324 (CFLAGS-pthread_create.c): Variable removed.
10325
bc4a86fa
RM
10326 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10327 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10328 old file.
10329 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10330 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10331 old file.
10332
2272ffc1
JM
103332014-06-21 Joseph Myers <joseph@codesourcery.com>
10334
10335 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10336 (__ASSUME_SIGFRAME_V2): Remove macro.
10337 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10338 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10339 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10340 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10341 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10342 Declare as function. Remove conditional macro definitions.
10343 (__default_rt_sa_restorer): Likewise.
10344 (__default_sa_restorer_v1): Remove declaration.
10345 (__default_sa_restorer_v2): Likewise.
10346 (__default_rt_sa_restorer_v1): Likewise.
10347 (__default_rt_sa_restorer_v2): Likewise.
10348 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10349 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10350 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10351
4b88139b
RM
103522014-06-20 Roland McGrath <roland@hack.frob.com>
10353
10354 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10355 (libpthread-routines): Add sysdep.
10356 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10357 * sysdeps/unix/sysv/linux/sparc/Versions
10358 (libpthread: GLIBC_2.3.3): New version set.
10359 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10360 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10361 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10362 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10363 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10364 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10365 Moved ...
10366 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10367 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10368 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10369 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10370 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10371 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10372 * sysdeps/sparc/nptl/sem_init.c: ... here.
10373 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10374 * sysdeps/sparc/nptl/sem_post.c: ... here.
10375 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10376 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10377 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10378 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10379 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10380 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10381 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10382 (libpthread-routines): Add cpu_relax.
10383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10384 File removed.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10386 (librt: GLIBC_2.3.3): New version set.
10387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10388 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10390 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10393 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10395 Moved ...
10396 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10398 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10400 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10402 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10404 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10406 Moved ...
10407 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10408 Update #include.
10409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10410 Moved ...
10411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10412 Update #include.
10413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10414 Moved ...
10415 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10416 Update #include.
10417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10418 Moved ...
10419 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10420 Update #include.
10421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10422 Moved ...
10423 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10424 Update #include.
10425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10426 Moved ...
10427 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10428 Update #include.
10429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10430 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10436 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10438 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10440 Moved ...
10441 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10443 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10445 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10446
d7109027
JM
104472014-06-20 Joseph Myers <joseph@codesourcery.com>
10448
9bc6103d
JM
10449 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10450 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10451 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10452 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10453 * nscd/nscd.c: Likewise.
10454 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10455 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10456 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10457 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10458
d7109027
JM
10459 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10460 <kernel-features.h>.
10461 (init_mq_netlink): Remove conditional have_sock_cloexec
10462 definitions. Remove code conditional on have_sock_cloexec < 0.
10463 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10464 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10465 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10466 <kernel-features.h>.
10467 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10468 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10469
d92d8f8a
L
104702014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10473 Add tests for memset_chk and memset.
10474
10475 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10476 with AVX2_Usable.
10477
4e6d2347
MR
104782014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10479
257ce712
MR
10480 [BZ #16046]
10481 * elf/tst-dl-iter-static.c: New file.
10482 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10483
4e6d2347
MR
10484 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10485 error.
10486
a2a76afe
JM
104872014-06-20 Joseph Myers <joseph@codesourcery.com>
10488
7fd00f99
JM
10489 * sysdeps/unix/sysv/linux/kernel-features.h
10490 (__ASSUME_F_GETOWN_EX): Remove macro.
10491 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10492 <kernel-features.h>.
10493 (miss_F_GETOWN_EX): Remove variable or macro.
10494 (do_fcntl): Do not check miss_F_GETOWN_EX.
10495 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10496
4a103975
JM
10497 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10498 Remove macro.
10499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10500 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10501 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10502
a2a76afe
JM
10503 * sysdeps/unix/sysv/linux/kernel-features.h
10504 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10505 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10506 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10507 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10508
90e5dd48
MR
105092014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10510
10511 [BZ #17075]
10512 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10513 Fix calculation of the symbol's value.
10514 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10515 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10516 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10517 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10518 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10519 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10520 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10521 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10522 (modules-names): Add `tst-armtlsdescmod',
10523 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10524 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10525 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10526 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10527 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10528 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10529 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10530 ($(objpfx)tst-armtlsdescloc): New dependency.
10531 ($(objpfx)tst-armtlsdescextnow): Likewise.
10532 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10533 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10534 TLS scheme support.
10535 * sysdeps/arm/configure: Regenerate.
10536
809fdf0d
JM
105372014-06-20 Joseph Myers <joseph@codesourcery.com>
10538
10539 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10540 (__atfct_seterrno_2): Likewise.
10541 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10542 <kernel-features.h>.
10543 (__ASSUME_ATFCTS): Do not undefine and redefine.
10544 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10545 (__have_atfcts): Remove conditional definition.
10546 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10547 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10548 unreachable if [__ASSUME_ATFCTS].
10549 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10550 not undefine and redefine.
10551 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10552 <kernel-features.h>.
10553 (faccessat) [__NR_faccessat]: Make code unconditional.
10554 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10555 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10556 <kernel-features.h>.
10557 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10558 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10559 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10560 <kernel-features.h>.
10561 (fchownat) [__NR_fchownat]: Make code unconditional.
10562 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10564 <kernel-features.h>.
10565 (futimesat) [__NR_futimesat]: Make code unconditional.
10566 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10568 <kernel-features.h>.
10569 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10570 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10572 <kernel-features.h>.
10573 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10574 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10575 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10576 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10577 <kernel-features.h>.
10578 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10579 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10581 <kernel-features.h>.
10582 (linkat) [__NR_linkat]: Make code unconditional.
10583 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10584 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10585 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10586 <kernel-features.h>.
10587 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10588 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10590 <kernel-features.h>.
10591 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10592 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/openat.c: Do not include
10594 <kernel-features.h>.
10595 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10596 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10597 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10598 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10599 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10600 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10601 <kernel-features.h>.
10602 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10603 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10604 result of INLINE_SYSCALL directly, not via int variable.
10605 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10606 <kernel-features.h>.
10607 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10608 (renameat) [__NR_renameat]: Make code unconditional.
10609 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10610 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10611 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10614 (__ASSUME_ATFCTS): Do not undefine and redefine.
10615 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10616 <kernel-features.h>.
10617 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10618 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10620 <kernel-features.h>.
10621 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10622 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10624 (__ASSUME_ATFCTS): Do not undefine and redefine.
10625 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10626 <kernel-features.h>.
10627 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10628 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10629 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10630 <kernel-features.h>.
10631 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10632 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10633
224c6c51
L
106342014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10637
aa6ec754
AS
106382014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10639
10640 [BZ #17069]
10641 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10642 constructed tree before returning error.
10643 * posix/bug-regexp36.c: Expand test case.
10644
d8c2869d
SL
106452014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10646
3ef6b850
SL
10647 [BZ #6803]
10648 * math/libm-test.inc (scalbln_test_date):
10649 Add errno expectations.
10650 * math/w_scalblnf.c: New File.
10651 Add wrapper which checks for setting errno to ERANGE.
10652 Add weak_alias for corresponding scalbln function.
10653 * math/w_scalbln.c: Likewise.
10654 * math/w_scalblnl.c: Likewise.
10655 * math/Makefile (libm-calls): Add w_scalbln.
10656 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10657 Remove weak_alias for corresponding scalbln function.
10658 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10662 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10663 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10664 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10665 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10666 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10667 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10668 Remove long_double_symbol for scalblnl function in libm, libc.
10669 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10670 Add wrapper which checks for setting errno to ERANGE.
10671 Add long_double_symbol for scalblnl function in libm, libc.
10672 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10673 Remove long_double_symbol for scalblnl in libm.
10674 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10675 Add wrapper which checks for setting errno to ERANGE.
10676 Add long_double_symbol for scalblnl function in libm.
10677 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10678 Do not use wrapper because of own implementation.
10679
c8daec5c
L
106802014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10681
10682 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10683 3 bytes for __pad1 for x32.
10684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10685
5c74e47c
LM
106862014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10687 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10690 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10691 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10692 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10693 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10694
4d43ef1e
AS
106952014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10696
10697 [BZ #17069]
10698 * posix/regcomp.c (parse_expression): Deallocate partially
10699 constructed tree before returning error.
10700 * posix/Makefile.c (tests): Add bug-regex36.
10701 (generated): Add bug-regex36.mtrace.
10702 (tests-special): Add $(objpfx)bug-regex36-mem.out
10703 (bug-regex36-ENV): New variable.
10704 ($(objpfx)bug-regex36-mem.out): New rule.
10705 * posix/bug-regex36.c: New file.
10706
51a7380b
WN
107072014-06-19 Will Newton <will.newton@linaro.org>
10708
10709 * malloc/malloc.c (systrim): If extra is zero then return
10710 early.
10711
91b84fe5
SP
107122014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10713
10714 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10715
f940b965
RE
107162014-06-19 Richard Earnshaw <rearnsha@arm.com>
10717
10718 * sysdeps/aarch64/strchr.S: New file.
10719
4ba7a00f
JM
107202014-06-18 Joseph Myers <joseph@codesourcery.com>
10721
10722 [BZ #17022]
10723 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10724 from arguments -2 or below.
10725 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10726 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10727
b3a9f56b
AS
107282014-06-18 Andreas Schwab <schwab@suse.de>
10729
10730 [BZ #17062]
10731 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10732 of a bracket expr not to run off the end of the string.
10733 * posix/Makefile (tests): Add tst-fnmatch3.
10734 * posix/tst-fnmatch3.c: New file.
10735
85d89278
JM
107362014-06-18 Joseph Myers <joseph@codesourcery.com>
10737
10738 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10739 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10740 [$(cross-compiling) = no]: Likewise.
10741 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10742 [$(cross-compiling) = no]: Likewise.
10743
754c5a08
RS
107442014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10745
10746 [BZ #17031]
10747 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10748 double, adjusted for any remainder from the high double.
10749 * math/libm-test.inc (nearbyint): Add tests.
10750 (rint): Likewise.
10751
556f529d
AZ
107522014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753
10754 * nptl/sysdeps/powerpc/Makefile: Moved ...
10755 * sysdeps/powerpc/nptl/Makefile: ... here.
10756 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10757 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10758 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10759 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10760 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10761 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10762 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10763 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10764 * nptl/sysdeps/powerpc/tls.h: Moved ...
10765 * sysdeps/powerpc/nptl/tls.h: ... here.
10766
91c03c53
JM
107672014-06-16 Joseph Myers <joseph@codesourcery.com>
10768
10769 [BZ #16681]
10770 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10771 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10772 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10773 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10774 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10775 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10776 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10777 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10778 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10779
a76e63c5
AS
107802014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10781
10782 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10783
f2f6d82f
AS
107842014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10785
ea8a15f6
AS
10786 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10787 defined operator.
10788
f2f6d82f
AS
10789 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10790 $TIMEOUTFACTOR.
10791
a7291117
FW
107922014-06-16 Florian Weimer <fweimer@redhat.com>
10793
10794 [BZ #17058]
10795 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10796 non-executed part of the test.
10797
3d7c00e3
AS
107982014-06-16 Andreas Schwab <schwab@suse.de>
10799
10800 * string/bits/string2.h (strdup, strndup): Update feature guard.
10801
6957fb31
DM
108022014-06-14 David S. Miller <davem@davemloft.net>
10803
10804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10805
11b9e55b
AS
108062014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10807
1d2a0492
AS
10808 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10809 that was previously under [RESET_PID].
10810 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10811
11b9e55b
AS
10812 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10813 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10814 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10815 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10816 (__libc_vfork): New strong alias.
10817 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10818
0f6901d0
AK
108192014-06-14 Andi Kleen <ak@linux.intel.com>
10820
10821 * sysdeps/generic/elide.h: New file.
10822
38bbbb9f
SL
108232014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10824
10825 * Makefile (installed-headers): Adjust path of pthread.h header.
10826
45193bb8
RM
108272014-06-13 Roland McGrath <roland@hack.frob.com>
10828
9a25fd1e
RM
10829 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10830 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10831 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10832 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10833
4004f7e4
RM
10834 * nptl/sysdeps/s390/Makefile: Moved ...
10835 * sysdeps/s390/nptl/Makefile: ... here.
10836 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10837 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10838 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10839 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10840 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10841 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10842 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10843 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10844 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10845 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10846 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10847 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10848 * nptl/sysdeps/s390/tls.h: Moved ...
10849 * sysdeps/s390/nptl/tls.h: ... here.
10850
45193bb8
RM
10851 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10852 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10853
f6fdf533
DM
108542014-06-13 David S. Miller <davem@davemloft.net>
10855
10856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10859 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10863 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10864 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10865 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10866 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10867 Remove RESET_PID cpp guards.
10868 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10869 Remove RESET_PID cpp guards.
10870 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10871
f5d71e14
AS
108722014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10873
10874 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10875 __sp to uintptr_t.
10876
b7aa8caa
AK
108772014-06-13 Andi Kleen <ak@linux.intel.com>
10878
4b266200
AZ
10879 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10880 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10881 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10882 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10883 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10884 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10885 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10886 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10887 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10890 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10891 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10893 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10895 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10896 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10897 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10898 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10899
10900 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10901 (pthread_rwlock_rdlock): Add elision.
10902 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10903 (pthread_rwlock_wrlock): Add elision.
10904 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10905 (pthread_rwlock_trywrlock): Add elision.
10906 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10907 (pthread_rwlock_tryrdlock): Add elision.
10908 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10909 (pthread_rwlock_tryrdlock): Add elision unlock.
10910 * nptl/sysdeps/pthread/pthread.h:
10911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10912 (PTHREAD_RWLOCK_INITIALIZER,
10913 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10914 Handle new elision field.
10915 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10916 * sysdeps/arm/nptl/bits/pthreadtypes.h
10917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10918 * sysdeps/sh/nptl/bits/pthreadtypes.h
10919 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10920 * sysdeps/tile/nptl/bits/pthreadtypes.h
10921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10922 * sysdeps/a/nptl/bits/pthreadtypes.h
10923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10925 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10926 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10927 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10928 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10929 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10930 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10931 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10932 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10933 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10934 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10935 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10936 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10938 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10939 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10940 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10941 (elision_init): Set try_xbegin to zero when no RTM.
10942 * sysdeps/x86/nptl/bits/pthreadtypes.h
10943 (pthread_rwlock_t): Change __pad1 to __rwelision.
10944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10945
a832bdd3
AK
109462014-06-13 Andi Kleen <ak@linux.intel.com>
10947
10948 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10949 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10950 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10951 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10952
995a46bb
MI
109532014-06-13 Meador Inge <meadori@codesourcery.com>
10954
10955 [BZ #16996]
03ed7738 10956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10957 that the cached result has been set before returning it.
10958
45262aee
RM
109592014-06-12 Roland McGrath <roland@hack.frob.com>
10960
febf6cc5
RM
10961 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10962 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10963 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10964 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10965 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10966 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10967
e2682246
RM
10968 * nptl/sysdeps/sparc/Makefile: Moved ...
10969 * sysdeps/sparc/nptl/Makefile: ... here.
10970 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10971 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10972 * nptl/sysdeps/sparc/tls.h: Moved ...
10973 * sysdeps/sparc/nptl/tls.h: ... here.
10974 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10975 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10976 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10977 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10978 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10979 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10980 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10981 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10982 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10983 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10984 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10985 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10986 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10987 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10988 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10989 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10990 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10991 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10992 Update #include.
10993 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10995 Update #include.
10996 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10997 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10998 Update #include.
10999 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11000 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11001 Update #include.
11002
b0725f43
RM
11003 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11004
b14368b8
RM
11005 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11006 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11007
c5620eb3
RM
11008 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11009 (struct list_links): Type removed.
11010 (struct thread_node, struct timer_node): Replace struct list_links
11011 with struct list_head.
11012 (list_unlink_ip): Likewise.
11013 * sysdeps/pthread/timer_routines.c
11014 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11015 (list_append, list_insbefore): Likewise.
11016 (list_init): Function removed.
11017 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11018 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11019 * sysdeps/pthread/Makefile: ... here, new file.
11020
11021 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11022 * sysdeps/nptl/Implies: ... here.
11023 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11024 * nptl/sysdeps/pthread/list.h: Moved ...
11025 * include/list.h: ... here.
11026 * nptl/sysdeps/pthread/createthread.c: Moved ...
11027 * nptl/createthread.c: ... here.
11028 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11029 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11030 * nptl/pt-longjmp.c: ... here.
11031 * nptl/sysdeps/pthread/Makefile: Moved ...
11032 * sysdeps/nptl/Makefile: ... here.
11033 * nptl/sysdeps/pthread/Subdirs: Moved ...
11034 * sysdeps/nptl/Subdirs: ... here.
11035 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11036 * sysdeps/nptl/aio_misc.h: ... here.
11037 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11038 * sysdeps/nptl/bits/libc-lock.h: ... here.
11039 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11040 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11041 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11042 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11043 * nptl/sysdeps/pthread/configure: Moved ...
11044 * sysdeps/nptl/configure: ... here.
11045 * nptl/sysdeps/pthread/configure.ac: Moved ...
11046 * sysdeps/nptl/configure.ac: ... here.
11047 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11048 * sysdeps/nptl/gai_misc.h: ... here.
11049 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11050 * sysdeps/nptl/librt-cancellation.c: ... here.
11051 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11052 * sysdeps/nptl/malloc-machine.h: ... here.
11053 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11054 * sysdeps/nptl/pthread-functions.h: ... here.
11055 * nptl/sysdeps/pthread/pthread.h: Moved ...
11056 * sysdeps/nptl/pthread.h: ... here.
11057 * nptl/sysdeps/pthread/setxid.h: Moved ...
11058 * sysdeps/nptl/setxid.h: ... here.
11059 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11060 * sysdeps/nptl/sigfillset.c: ... here.
11061 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11062 * sysdeps/nptl/tcb-offsets.h: ... here.
11063 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11064 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11065 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11066 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11067 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11068 * sysdeps/pthread/allocalim.h: ... here.
11069 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11070 * sysdeps/pthread/bits/sigthread.h: ... here.
11071 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11072 * sysdeps/pthread/flockfile.c: ... here.
11073 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11074 * sysdeps/pthread/ftrylockfile.c: ... here.
11075 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11076 * sysdeps/pthread/funlockfile.c: ... here.
11077 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11078 * sysdeps/pthread/posix-timer.h: ... here.
11079 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11080 * sysdeps/pthread/timer_create.c: ... here.
11081 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11082 * sysdeps/pthread/timer_delete.c: ... here.
11083 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11084 * sysdeps/pthread/timer_getoverr.c: ... here.
11085 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11086 * sysdeps/pthread/timer_gettime.c: ... here.
11087 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11088 * sysdeps/pthread/timer_routines.c: ... here.
11089 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11090 * sysdeps/pthread/timer_settime.c: ... here.
11091 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11092 * sysdeps/pthread/tst-timer.c: ... here.
11093 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11094 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11095
e876b090
RM
11096 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11097 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11098
f6b07b3d
RM
11099 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11100 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11101 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11102 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11103 Update #include target.
11104 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11105 * sysdeps/i386/i686/nptl/Makefile: ... here.
11106 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11107 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11108 Update #include target.
11109 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11110 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11111 * nptl/sysdeps/i386/Makefile: Moved ...
11112 * sysdeps/i386/nptl/Makefile: ... here.
11113 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11114 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11115 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11116 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11117 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11118 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11119 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11120 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11121 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11122 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11123 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11124 * nptl/sysdeps/i386/tls.h: Moved ...
11125 * sysdeps/i386/nptl/tls.h: ... here.
11126
45262aee
RM
11127 * sysdeps/sh/Makefile [$(subdir) = csu]
11128 (gen-as-const-headers): Add tcb-offsets.sym.
11129 * nptl/sysdeps/sh/Makefile: File removed.
11130 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11131 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11132 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11133 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11134 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11135 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11136 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11137 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11138 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11139 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11140 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11141 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11142 * nptl/sysdeps/sh/tls.h: Moved ...
11143 * sysdeps/sh/nptl/tls.h: ... here.
11144 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11145 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11147 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11149 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11151 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11153 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11155 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11157 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11159 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11161 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11163 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11165 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11166 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11167 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11168 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11169 Moved ...
11170 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11172 Moved ...
11173 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11174 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11175 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11176 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11177 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11178 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11179 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11181 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11183 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11185 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11186 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11187 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11188 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11189 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11191 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11192
35a5e3e3
SL
111932014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11194
11195 * posix/spawn_faction_addopen.c: Include string.h.
11196
14642b85
RM
111972014-06-11 Roland McGrath <roland@hack.frob.com>
11198
11199 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11200 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11201 * nptl/sysdeps/x86_64/Makefile: Moved ...
11202 * sysdeps/x86_64/nptl/Makefile: ... here.
11203 * nptl/sysdeps/x86_64/configure: Moved ...
11204 * sysdeps/x86_64/nptl/configure: ... here.
11205 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11206 * sysdeps/x86_64/nptl/configure.ac: ... here.
11207 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11208 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11209 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11210 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11211 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11212 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11213 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11214 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11215 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11216 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11217 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11218 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11219 * nptl/sysdeps/x86_64/tls.h: Moved ...
11220 * sysdeps/x86_64/nptl/tls.h: ... here.
11221 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11222 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11223 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11224 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11225
11226 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11227
31c44fea
AZ
112282014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229
11230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11231
e81a4f9a
JM
112322014-06-11 Joseph Myers <joseph@codesourcery.com>
11233
11234 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11235 type.
11236 [POSIX] (off_t): Likewise.
11237 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11238 [POSIX] (S_ISBLK): Require macro.
11239 [POSIX] (S_ISCHR): Likewise.
11240 [POSIX] (S_ISDIR): Likewise.
11241 [POSIX] (S_ISFIFO): Likewise.
11242 [POSIX] (S_ISREG): Likewise.
11243 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11244 optional-macro.
11245 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11246 type.
11247 [POSIX] (time_t): Likewise.
11248 [POSIX] (timer_t): Likewise.
11249
89e435f3
FW
112502014-06-11 Florian Weimer <fweimer@redhat.com>
11251
11252 [BZ #17048]
11253 * posix/spawn_int.h (struct __spawn_action): Make the path string
11254 non-const to support deallocation.
11255 * posix/spawn_faction_addopen.c
11256 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11257 * posix/spawn_faction_destroy.c
11258 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11259 path in all spawn_do_open actions.
11260 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11261 posix_spawn_file_actions_addopen.
11262
c3a2ebe1
CM
112632014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11264
11265 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11266 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11267 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11268 conditional code always true.
11269 (__libc_vfork): New alias.
11270
9503784a
RM
112712014-06-11 Roland McGrath <roland@hack.frob.com>
11272
c9cab3d2
RM
11273 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11274 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11275
d3996c79
RM
11276 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11277
ba5ec611
RM
11278 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11279 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11280
f12b4814
RM
11281 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11282 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11283
9503784a
RM
11284 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11285 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11286
e23d3d26
VR
112872014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11288
11289 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11290 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11291 multiarch strcmp for PPC64.
11292 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11293 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11295 multiarch optimizations.
11296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11297 (__libc_ifunc_impl_list): Likewise.
11298
42b1161e
SP
112992014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11300
11301 * benchtests/scripts/validate_benchout.py: New script.
11302 * benchtests/Makefile (bench-func): Call it.
11303 * benchtests/scripts/benchout.schema.json: New file.
11304
2d0fc4dc
CM
113052014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11306
4a594c34
AZ
11307 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11308 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11309 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11310 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11311 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11312 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11313 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11314 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11315 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11316 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11317 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11318 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11319 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11320 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11321 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11322 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11324 Moved ...
4a594c34 11325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11326 ... here.
4a594c34 11327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11328 Moved ...
4a594c34
AZ
11329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11331 Moved ...
4a594c34 11332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11333 ... here.
4a594c34 11334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11335 Moved ...
4a594c34 11336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11337 ... here.
4a594c34 11338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11339 Moved ...
4a594c34
AZ
11340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11342 Moved ...
4a594c34 11343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11344 ... here.
4a594c34 11345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11346 Moved ...
4a594c34 11347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11348 ... here.
4a594c34 11349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11350 Moved ...
4a594c34
AZ
11351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11353 Moved ...
4a594c34 11354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11355 ... here.
4a594c34 11356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11357 Moved ...
4a594c34 11358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11359 ... here.
4a594c34 11360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11361 Moved ...
4a594c34 11362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11363 ... here.
4a594c34 11364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11365 Moved ...
4a594c34
AZ
11366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11368 Moved ...
4a594c34 11369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11370 ... here.
4a594c34 11371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11372 Moved ...
4a594c34 11373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11374 ... here.
4a594c34 11375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11376 Moved ...
4a594c34 11377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11378 ... here.
4a594c34 11379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11380 Moved ...
4a594c34
AZ
11381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11383 Moved ...
4a594c34 11384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11385 ... here.
4a594c34 11386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11387 Moved ...
4a594c34 11388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11389 ... here.
4a594c34 11390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11391 Moved ...
4a594c34
AZ
11392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11394 Moved ...
4a594c34 11395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11396 ... here.
4a594c34 11397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11398 Moved ...
4a594c34
AZ
11399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11401 Moved ...
4a594c34
AZ
11402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11404 Moved ...
4a594c34 11405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11406 ... here.
4a594c34 11407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11408 Moved ...
4a594c34 11409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11410 ... here.
4a594c34 11411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11412 Moved ...
4a594c34 11413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11414 ... here.
4a594c34 11415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11416 Moved ...
4a594c34
AZ
11417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11419 Moved ...
4a594c34 11420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11421 ... here.
4a594c34 11422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11423 Moved ...
4a594c34 11424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11425 ... here.
4a594c34
AZ
11426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11427 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11429 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11431 Moved ...
4a594c34 11432 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11433 ... here.
4a594c34
AZ
11434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11435 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11436 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11437 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11438 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11439 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11440 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11441 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11442 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11443 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11444 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11445 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11446 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11447 Moved ...
4a594c34
AZ
11448 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11450 Moved ...
4a594c34
AZ
11451 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11453 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11455 Moved ...
4a594c34
AZ
11456 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11457 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11458 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11459 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11460 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11461 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11462 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11463
0570cfed
W
114642014-06-10 Wilco <wdijkstr@arm.com>
11465
11466 * math/test-fenv-return.c: New file.
11467 * math/Makefile: Add new test test-fenv-return.
11468
f8ba1b56
JM
114692014-06-10 Joseph Myers <joseph@codesourcery.com>
11470
11471 [BZ #17042]
11472 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11473 when x - 1 is zero.
11474 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11475 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11476 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11477 0.0L for an argument of 1.0L.
11478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11479 Likewise.
11480 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11481 value when x - 1 is zero.
11482 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11483 * sysdeps/i386/fpu/libm-test-ulps: Update.
11484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11485
2c3520d9
BO
114862014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11487
11488 [BZ #15119]
11489 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11490
acaa4d24
RM
114912014-06-09 Roland McGrath <roland@hack.frob.com>
11492
11493 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11494 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11495
962b744d
RM
114962014-06-09 Roland McGrath <roland@hack.frob.com>
11497
d752f0cc
RM
11498 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11499 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11500
34eda6d1
RM
11501 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11502 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11503
50f0a637
RM
11504 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11505 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11506
08f41f04
RM
11507 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11508 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11509
962b744d
RM
11510 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11511 if not already defined.
11512 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11513 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11514 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11515 (TLS_INIT_TP): Use it.
11516 (TLS_DEFINE_INIT_TP): New macro.
11517 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11518
09f19b05
JM
115192014-06-09 Joseph Myers <joseph@codesourcery.com>
11520
11521 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11522 constant.
11523 [POSIX] (IXANY): Likewise.
11524 [POSIX] (OLCUC): Likewise.
11525 [POSIX || POSIX2008] (CBAUD): Do not allow.
11526 [POSIX || POSIX2008] (DEFECHO): Likewise.
11527 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11528 [POSIX || POSIX2008] (ECHOKE): Likewise.
11529 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11530 [POSIX || POSIX2008] (EXTA): Likewise.
11531 [POSIX || POSIX2008] (EXTB): Likewise.
11532 [POSIX || POSIX2008] (FLUSHO): Likewise.
11533 [POSIX || POSIX2008] (LOBLK): Likewise.
11534 [POSIX || POSIX2008] (PENDIN): Likewise.
11535 [POSIX || POSIX2008] (SWTCH): Likewise.
11536 [POSIX || POSIX2008] (VDISCARD): Likewise.
11537 [POSIX || POSIX2008] (VDSUSP): Likewise.
11538 [POSIX || POSIX2008] (VLNEXT): Likewise.
11539 [POSIX || POSIX2008] (VREPRINT): Likewise.
11540 [POSIX || POSIX2008] (VSTATUS): Likewise.
11541 [POSIX || POSIX2008] (VWERASE): Likewise.
11542 (B*): Change to B[0123456789]*.
11543 * conform/data/time.h-data [POSIX || UNIX98]
11544 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11545 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11546 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11547 [POSIX] (tm_*): Do not allow.
11548
686554bf
JM
115492014-06-07 Joseph Myers <joseph@codesourcery.com>
11550
11551 * Makefile (install): Don't set LANGUAGE.
11552 * Makefile.in (install): Likewise.
11553 * assert/Makefile (test-assert-ENV): Remove variable.
11554 (test-assert-perr-ENV): Likewise.
11555 * elf/Makefile (neededtest4-ENV): Likewise.
11556 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11557 [$(cross-compiling) = no]: Don't set LANGUAGE.
11558 * io/ftwtest-sh (LANG): Remove variable.
11559 * libio/Makefile (tst-widetext-ENV): Likewise.
11560 * manual/install.texi (Running make install): Don't refer to
11561 environment settings for make install.
11562 * INSTALL: Regenerated.
11563 * nptl/tst-tls6.sh: Don't set LANG.
11564 * posix/globtest.sh (LANG): Remove variable.
11565 * string/Makefile (tester-ENV): Likewise.
11566 (inl-tester-ENV): Likewise.
11567 (noinl-tester-ENV): Likewise.
11568 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11569 [$(cross-compiling) = no]: Don't set LANGUAGE.
11570 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11571 without explicit environment settings.
11572
68e6b6b1
RM
115732014-06-06 Roland McGrath <roland@hack.frob.com>
11574
11575 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11576 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11578 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11579
4d3ae034
CM
115802014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11581
11582 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11583 other files in the crypt directory.
11584 * crypt/crypt.c: Remove duplicate includes.
11585 * crypt/crypt-entry.c: Likewise.
11586 * crypt/crypt_util.c: Likewise.
11587
8540f6d2
JM
115882014-06-06 Joseph Myers <joseph@codesourcery.com>
11589
11590 * Makeconfig (run-program-env): New variable.
11591 (run-program-prefix-before-env): Likewise.
11592 (run-program-prefix-after-env): Likewise.
11593 (run-program-prefix): Define in terms of new variables.
11594 (built-program-cmd-before-env): New variable.
11595 (built-program-cmd-after-env): Likewise.
11596 (built-program-cmd): Define in terms of new variables.
11597 (test-program-prefix-before-env): New variable.
11598 (test-program-prefix-after-env): Likewise.
11599 (test-program-prefix): Define in terms of new variables.
11600 (test-program-cmd-before-env): New variable.
11601 (test-program-cmd-after-env): Likewise.
11602 (test-program-cmd): Define in terms of new variables.
11603 * Rules (make-test-out): Use $(run-program-env).
11604 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11605 (help): Do not mention environment variables. Mention
11606 --timeoutfactor option.
11607 (timeoutfactor): New variable.
11608 (blacklist_exports): Remove function.
11609 (exports): Remove variable.
11610 (command): Do not include ${exports}.
11611 * manual/install.texi (Configuring and compiling): Do not mention
11612 test wrappers preserving environment variables. Mention that last
11613 assignment to a variable must take precedence.
11614 * INSTALL: Regenerated.
11615 * benchtests/Makefile (run-bench): Use $(run-program-env).
11616 * catgets/Makefile ($(objpfx)test1.cat): Use
11617 $(built-program-cmd-before-env), $(run-program-env) and
11618 $(built-program-cmd-after-env).
11619 ($(objpfx)test2.cat): Do not specify environment variables
11620 explicitly.
11621 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11622 $(run-program-env) and $(built-program-cmd-after-env).
11623 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11624 $(run-program-env) and $(test-program-cmd-after-env).
11625 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11626 explicitly.
11627 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11628 run_program_env and test_program_cmd_after_env arguments.
11629 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11630 * elf/tst-pathopt.sh: Use run_program_env argument.
11631 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11632 $(test-wrapper-env) and $(run-program-env).
11633 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11634 run_program_env arguments.
11635 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11636 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11637 $(test-program-prefix-before-env), $(run-program-env) and
11638 $(test-program-prefix-after-env).
11639 ($(objpfx)tst-gettext2.out): Likewise.
11640 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11641 run_program_env and test_program_prefix_after_env arguments.
11642 * intl/tst-gettext2.sh: Likewise.
11643 * intl/tst-gettext4.sh: Do not set environment variables
11644 explicitly.
11645 * intl/tst-gettext6.sh: Likewise.
11646 * intl/tst-translit.sh: Likewise.
11647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11648 $(test-program-prefix-before-env), $(run-program-env) and
11649 $(test-program-prefix-after-env).
11650 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11651 run_program_env and test_program_prefix_after_env arguments.
11652 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11653 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11654 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11655 explicitly with each use of ${test_wrapper_env}.
11656 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11657 $(test-program-prefix-before-env), $(run-program-env) and
11658 $(test-program-prefix-after-env).
11659 * posix/tst-getconf.sh: Do not set environment variables
11660 explicitly.
11661 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11662 run_program_env and test_program_prefix_after_env arguments.
11663 * stdio-common/tst-printf.sh: Do not set environment variables
11664 explicitly.
11665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11666 $(test-program-prefix-before-env), $(run-program-env) and
11667 $(test-program-prefix-after-env).
11668 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11669 run_program_env and test_program_prefix_after_env arguments.
11670 Split $test calls into $test_pre and $test.
11671 * timezone/Makefile (build-testdata): Use
11672 $(built-program-cmd-before-env), $(run-program-env) and
11673 $(built-program-cmd-after-env).
11674
ed36bfa1
AZ
116752014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676
11677 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11678 strlen for non SHARED builds.
11679
fc75bf46
SP
116802014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 * nptl/allocatestack.c (check_list): Inlined function...
11683 (__reclaim_stacks): ... here.
11684
d89b3d80
OB
116852014-06-05 Ondřej Bílka <neleai@seznam.cz>
11686
11687 [BZ #15698]
11688 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11689 memory overrun.
11690
2bf18041
JM
116912014-06-05 Joseph Myers <joseph@codesourcery.com>
11692
11693 * Rules (make-test-out): Include
11694 LOCPATH=$(common-objpfx)localedata in default environment.
11695 * debug/Makefile (tst-chk1-ENV): Remove variable.
11696 (tst-chk2-ENV): Likewise.
11697 (tst-chk3-ENV): Likewise.
11698 (tst-chk4-ENV): Likewise.
11699 (tst-chk5-ENV): Likewise.
11700 (tst-chk6-ENV): Likewise.
11701 (tst-lfschk1-ENV): Likewise.
11702 (tst-lfschk2-ENV): Likewise.
11703 (tst-lfschk3-ENV): Likewise.
11704 (tst-lfschk4-ENV): Likewise.
11705 (tst-lfschk5-ENV): Likewise.
11706 (tst-lfschk6-ENV): Likewise.
11707 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11708 (tst-iconv7-ENV): Likewise.
11709 * intl/Makefile (LOCPATH-ENV): Likewise.
11710 (tst-codeset-ENV): Likewise.
11711 (tst-gettext3-ENV): Likewise.
11712 (tst-gettext5-ENV): Likewise.
11713 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11714 (tst-fopenloc-ENV): Likewise.
11715 (tst-fgetws-ENV): Remove variable.
11716 (tst-ungetwc1-ENV): Likewise.
11717 (tst-ungetwc2-ENV): Likewise.
11718 (bug-ungetwc2-ENV): Likewise.
11719 (tst-swscanf-ENV): Likewise.
11720 (bug-ftell-ENV): Likewise.
11721 (tst-fgetwc-ENV): Likewise.
11722 (tst-fseek-ENV): Likewise.
11723 (tst-ftell-partial-wide-ENV): Likewise.
11724 (tst-ftell-active-handler-ENV): Likewise.
11725 (tst-ftell-append-ENV): Likewise.
11726 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11727 (tst-regexloc-ENV): Likewise.
11728 (bug-regex1-ENV): Likewise.
11729 (tst-regex-ENV): Likewise.
11730 (tst-regex2-ENV): Likewise.
11731 (bug-regex5-ENV): Likewise.
11732 (bug-regex6-ENV): Likewise.
11733 (bug-regex17-ENV): Likewise.
11734 (bug-regex18-ENV): Likewise.
11735 (bug-regex19-ENV): Likewise.
11736 (bug-regex20-ENV): Likewise.
11737 (bug-regex22-ENV): Likewise.
11738 (bug-regex23-ENV): Likewise.
11739 (bug-regex25-ENV): Likewise.
11740 (bug-regex26-ENV): Likewise.
11741 (bug-regex30-ENV): Likewise.
11742 (bug-regex32-ENV): Likewise.
11743 (bug-regex33-ENV): Likewise.
11744 (bug-regex34-ENV): Likewise.
11745 (bug-regex35-ENV): Likewise.
11746 (tst-rxspencer-ENV): Likewise.
11747 (tst-rxspencer-no-utf8-ENV): Likewise.
11748 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11749 (tst-sscanf-ENV): Likewise.
11750 (tst-swprintf-ENV): Likewise.
11751 (tst-swscanf-ENV): Likewise.
11752 (test-vfprintf-ENV): Likewise.
11753 (scanf13-ENV): Likewise.
11754 (bug14-ENV): Likewise.
11755 (tst-grouping-ENV): Likewise.
11756 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11757 (tst-strtod3-ENV): Likewise.
11758 (tst-strtod4-ENV): Likewise.
11759 (tst-strtod5-ENV): Likewise.
11760 (testmb2-ENV): Likewise./
11761 * string/Makefile (tst-strxfrm-ENV): Likewise.
11762 (tst-strxfrm2-ENV): Likewise.
11763 (bug-strcoll1-ENV): Likewise.
11764 (test-strcasecmp-ENV): Likewise.
11765 (test-strncasecmp-ENV): Likewise.
11766 * time/Makefile (tst-strptime-ENV): Likewise.
11767 (tst-ftime_l-ENV): Likewise.
11768 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11769 (tst-mbrtowc-ENV): Likewise.
11770 (tst-wcrtomb-ENV): Likewise.
11771 (tst-mbrtowc2-ENV): Likewise.
11772 (tst-c16c32-1-ENV): Likewise.
11773 (tst-mbsnrtowcs-ENV): Likewise.
11774
cd1fb604
OB
117752014-06-05 Ondřej Bílka <neleai@seznam.cz>
11776
11777 * manual/resource.texi (How to get information about the memory
11778 subsystem?): Fix typo.
11779 Reported by Peon de la Parra Ivan <peon@keba.com>
11780
b42eca7d
GY
117812014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11782
11783 [BZ #16882]
11784 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11785 (pthread_spin_lock): Branch out of spin loop to proper location.
11786 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11787 (pthread_spin_lock): Likewise.
11788
902b71f9
DM
11789 * nptl/tst-spin4.c: New test.
11790 * nptl/Makefile (tests): Add tst-spin4.
11791
f9d2d032
AS
117922014-06-03 Andreas Schwab <schwab@suse.de>
11793
11794 [BZ #15946]
11795 * resolv/res_send.c (send_dg): Reload file descriptor after
11796 calling reopen.
11797
cf7bfd28
SL
117982014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11799
11800 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11801
111cc714
RH
118022014-06-03 Richard Henderson <rth@redhat.com>
11803
89b4bd6b
RH
11804 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11805 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11806 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11807 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11808 in the SAVE_PID block.
11809 (__libc_vfork): New alias.
71840409 11810 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11811
111cc714
RH
11812 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11813 child in registers, not on the stack. Remove RESET_PID conditionals.
11814 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11815
ccc39911
MS
118162014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11817
11818 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11819
693096cc
W
118202014-06-03 Wilco <wdijkstr@arm.com>
11821
11822 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11823 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11824 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11825 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11826 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11827 Likewise.
11828
0b4366bc
W
118292014-06-03 Wilco <wdijkstr@arm.com>
11830
11831 * sysdeps/aarch64/fpu/math_private.h
11832 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11833 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11834 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11835 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11836 Fix declarations.
11837
8747cd03
KS
118382014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11839
11840 * crypt/crypt-private.h: Include ufc-crypt.h.
11841 (__b64_from_24bit): Declare extern.
11842 * crypt/crypt_util.c(__b64_from_24bit): New function.
11843 (b64t): New static const variable.
11844 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11845 (b64t): Remove variable.
11846 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11847 * crypt/sha256-crypt.c: Include crypt-private.h.
11848 (b64t): Remove variable.
11849 (__sha256_crypt_r): Remove b64_from_24bit and replace
11850 with __b64_from_24bit.
11851 * crypt/sha512-crypt.c: Likewise.
11852
d936d379
RM
118532014-06-02 Roland McGrath <roland@hack.frob.com>
11854
11855 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11856 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11857 Label the code __libc_vfork rather than __vfork.
11858 [!NOT_IN_libc] (vfork): Define as weak alias.
11859 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11860 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11861 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11862
9fa76613
SP
118632014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
11865 * malloc/malloc.c (malloc_info): Fix format specifier for
11866 n_mmaps.
11867
a88dadbe
W
118682014-06-02 Wilco <wdijkstr@arm.com>
11869
11870 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11871 FPCR write.
11872
c95b3011
W
118732014-06-02 Wilco <wdijkstr@arm.com>
11874
11875 [BZ #17009]
11876 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11877 Rewrite to reduce FPCR/FPSR accesses.
11878
6b4d7a90
DM
118792014-06-01 David S. Miller <davem@davemloft.net>
11880
11881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11882
30f3d07c
DM
118832014-05-31 David S. Miller <davem@davemloft.net>
11884
11885 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11886 to occur in round to nearest mode when |x| >= 2.0
11887
74f31c18
RH
118882014-05-30 Richard Henderson <rth@twiddle.net>
11889
f0712b54
RH
11890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11891 (PSEUDO_RET_NOERRNO): Remove.
11892 (ret): Don't redefine.
11893 (ret_NOERRNO): Define in terms of ret.
11894 (ret_ERRVAL): Likewise.
11895
74f31c18
RH
11896 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11897 use of PSEUDO_RET; perform the error check directly.
11898
30477995
MM
118992014-05-30 Marko Myllynen <myllynen@redhat.com>
11900
11901 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11902 with __int128_t.
11903
62a58816
SP
119042014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11905
11906 * malloc/malloc (malloc_info): Fix formatting.
11907
4d653a59
SP
119082014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11909 Roland McGrath <roland@hack.frob.com>
11910
11911 * malloc/malloc (malloc_info): Also print mmapped statistics.
11912
5190c17f
RM
119132014-05-30 Roland McGrath <roland@hack.frob.com>
11914
11915 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11916 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11917
987c0269
OB
119182014-05-30 Ondřej Bílka <neleai@seznam.cz>
11919
11920 * malloc/malloc.c (malloc_info): Inline mi_arena.
11921
af4e8ef9
RH
119222014-05-29 Richard Henderson <rth@twiddle.net>
11923
1670e207
RH
11924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11925 Remove comma before expanding ASM_ARGS_##nr.
11926 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11927 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11928 of ASM_ARGS_##nr.
11929 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11930 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11931 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11932 (ASM_ARGS_1): Add leading comma.
11933
11a28aee
RH
11934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11935 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11936 to __errno_location.
11937 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11938 Remove the expected plt for __errno_location.
11939
a17e5ffb 11940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11941 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11942 call to __read_tp.
11943
b5be4597
RH
11944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11945 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11946 it and break it down.
11947 (DOCARGS_0, DOCARGS_1): Do nothing.
11948 (DOCARGS_2): Update to store into the new stack frame.
11949 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11950 (UNDOCARGS_1): Update to restore from the new stack frame.
11951 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11952 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11953
645d44ab
RH
11954 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11955 (SINGLE_THREAD_P): New parameter for result regno.
11956 (PSEUDO): Update to match; use cbz instead of beq.
11957
a8b4f04a
RH
11958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11959 Use ENTRY to define the _nocancel entry point. Share the syscall
11960 and syscall error check paths with the cancel path.
11961 (PSEUDO_END): New.
11962
af4e8ef9
RH
11963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11964 whitespace; tabs before and after asm mnemonics.
11965
26b0d2e1
EW
119662014-05-29 Eric Wong <normalperson@yhbt.net>
11967
11968 [BZ #15132]
11969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11970 Call fstat64 or stat64 internally, depending on arguments passed.
11971 Replace stat buffer argument with file descriptor argument.
11972 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11973 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11974 Pass fd to __internal_statvfs instead of calling fstat64.
11975 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11976 Pass fd to __internal_statvfs64 instead of calling fstat64.
11977 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11978 Pass -1 to __internal_statvfs instead of calling stat64.
11979 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11980 Pass -1 to __internal_statvfs64 instead of calling stat64.
11981
1efe2bd9
RM
119822014-05-28 Roland McGrath <roland@hack.frob.com>
11983
0d3b7a19
RM
11984 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11985 that was previously under [RESET_PID].
11986 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11987
1efe2bd9
RM
11988 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11989 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11990
a6bea3ca
RM
119912014-05-27 Roland McGrath <roland@hack.frob.com>
11992
30b6629e
RM
11993 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11994
a6bea3ca
RM
11995 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11996 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11997
3dfb9a5c
OB
119982014-05-27 Ondřej Bílka <neleai@seznam.cz>
11999
12000 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12001
774f9285
AS
120022014-05-27 Andreas Schwab <schwab@suse.de>
12003
12004 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12005 TLS_INIT_TP macro.
12006 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12007 * elf/rtld.c (init_tls, dl_main): Likewise.
12008 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12009 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12010 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12011 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12012 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12013 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12014 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12015 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12016 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12017 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12018 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12019 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12020 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12021 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12022 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12023 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12024 * sysdeps/generic/tls.h: Update description.
12025
36ffe739
WN
120262014-05-27 Will Newton <will.newton@linaro.org>
12027
12028 [BZ #16990]
12029 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12030 and restore r2 rather than just restoring.
12031
2482ae43
SP
120322014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12033
12034 [BZ #16724]
12035 * libio/tst-ftell-append.c: New test case.
12036 * libio/Makefile (tests): Add test case.
12037 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12038 append mode.
12039 * libio/wfileops.c (do_ftell_wide): Likewise.
12040
3d1024e8
AZ
120412014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12042
bab90016
AZ
12043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12044
c7a8d667
AZ
12045 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12046 ...
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12049 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12050 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12051 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12052 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12053 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12054 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12056 Moved ...
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12059 Moved ...
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12061 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12062 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12063 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12064 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12065 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12066 ...
12067 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12068 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12069 Moved ...
12070 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12071 here.
12072 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12073 ...
12074 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12075 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12076 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12077
daee7851
AZ
12078 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12079 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12080 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12081 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12082
50a40819
AZ
12083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12084 merge into ...
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12087 ...
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12090 ...
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12093 Moved ...
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12095 here.
12096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12097 Moved ...
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12100 Moved ...
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12102
8464c2a1
AZ
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12104 conditional [RESET_PID].
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12107 removed.
12108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12109 removed.
12110
3d1024e8
AZ
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12112 <tcb-offsets.h>.
12113 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12114 (__libc_vfork): New strong alias.
12115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12116 removed.
12117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12118 Removed.
12119
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12121 <tcb-offsets.h>.
12122 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12123 (__libc_vfork): New strong alias.
12124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12125 removed.
12126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12127 removed.
12128
fdfd175d
CD
121292014-05-26 Carlos O'Donell <carlos@redhat.com>
12130
12131 * malloc/malloc.c (mi_arena): New function.
12132 (malloc_info): Remove nested function mi_arena. Call non-nosted
12133 function mi_arena.
12134
d298c416
AZ
121352014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12136
12137 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12138 by insrwi.
12139 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12140 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12141 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12142 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12144 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12145 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12146
b60ea6ff
AS
121472014-05-26 Andreas Schwab <schwab@suse.de>
12148
12149 [BZ #16984]
12150 * locale/programs/repertoire.c (repertoire_read): Add slash
12151 between I18NPATH element and file name.
12152 * locale/programs/locfile.c (locfile_read): Likewise.
12153
67365926
SL
121542014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12155
12156 * nptl/pthread_mutexattr_settype.c
12157 (__pthread_mutexattr_settype):
12158 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12159
f8bdf1f0
SL
121602014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12161
12162 * nptl/tst-mutex5 (do_test):
12163 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12164
15eaf6ff
SP
121652014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12166
12167 * benchtests/README: Document 'init' directive.
12168 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12169 BENCH_INIT.
12170 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12171 (parse_file): Recognize 'init' directive.
12172
75f11331
KM
121732014-05-26 Kyle McMartin <kyle@redhat.com>
12174
12175 [BZ #16796]
12176 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12177 alignment of struct pthread.
12178
c3ec475c
SP
121792014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12180
12181 [BZ #16878]
12182 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12183 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12184 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12185 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12186
82aab97c
RH
121872014-05-25 Richard Henderson <rth@twiddle.net>
12188
aa2f176d
RH
12189 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12190 (SINGLE_THREAD_P_PIC): Remove.
12191 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12192 (SINGLE_THREAD_P_PIC): Remove.
12193
ca3cfa40
RH
12194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12195 branch to syscall error ...
12196 (PSEUDO): ... here.
12197 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12198 from __local_syscall_error to .Lsyscall_error.
12199 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12200 (SYSCALL_ERROR): Update label name.
12201
6e6c2d01
RH
12202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12203 Do not use DOARGS/UNDOARGS.
12204 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12205 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12206 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12207 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12208 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12209
c69abcee
RH
12210 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12211 block comment.
12212
82aab97c
RH
12213 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12214 define if !NOT_IN_libc.
12215 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12216 define with non-default symbol versions.
12217
8820e3ac
RH
122182014-05-23 Richard Henderson <rth@twiddle.net>
12219
900e445f
RH
12220 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12221 (vfork, __vfork): Define via compat_symbol.
12222
8820e3ac
RH
12223 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12224 [!HAVE_IFUNC] (vfork_compat): Remove.
12225 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12226
e59252a5
JM
122272014-05-23 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #16978]
12230 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12231 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12232 variable.
12233
132c7f5f
RH
122342014-05-23 Richard Henderson <rth@twiddle.net>
12235
bc89e962
RH
12236 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12237 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12238 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12239 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12240
12241 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12242 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12243 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12244 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12245 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12246 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12247 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12248 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12249 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12250 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12251 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12252 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12253 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12272 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12273 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12274 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12275 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12278 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12279 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12280 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12281 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12282 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12283 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12284 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12285 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12286 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12287 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12288 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12289 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12290 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12292 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12294 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12295 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12296 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12297
e2fa4bc2
RH
12298 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12299 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12300 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12301 before exiting on error.
12302 (__libc_vfork): New strong alias.
12303 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12304 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12305
279b24e2
RH
12306 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12307 that was previously under [RESET_PID].
12308 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12309
132c7f5f
RH
12310 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12311
b72592e7
JM
123122014-05-23 Joseph Myers <joseph@codesourcery.com>
12313
12314 [BZ #16977]
12315 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12316 value when x - 1 is zero.
12317 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12318 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12319 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12320 0.0L for an argument of 1.0L.
12321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12322 Likewise.
12323 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12324 value when x - 1 is zero.
12325 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12326 * sysdeps/i386/fpu/libm-test-ulps: Update.
12327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12328
2302d679
RV
123292014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12330
12331 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12332 alphasort and versionsort.
12333
32999d63
AZ
123342014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12335
12336 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12337 macro.
12338 [copysignf]: Likewise.
12339
019324d0
SP
123402014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12341
12342 * crypt/md5-crypt.c: Fix formatting.
12343
34fff5c2
KS
123442014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12345
12346 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12347 (b64_from_24bit): New function.
12348
3d2badac
AZ
123492014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12350
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12352 libc_hidden_builtin_def to ifunc.
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12354 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12355
f7bb179f 123562014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12357
12358 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12359 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12360
4134b50d
JM
123612014-05-21 Joseph Myers <joseph@codesourcery.com>
12362
bb7d0337
JM
12363 * nscd/Depend (linuxthreads): Remove.
12364 (nptl): Add.
12365 * resolv/Depend (linuxthreads): Remove.
12366 * rt/Depend (linuxthreads): Remove.
12367
4134b50d
JM
12368 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12369 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12370 $(common-objpfx)elf/.
12371 (link-libc-before-gnulib): Likewise.
12372 (elfobjdir): Remove variable.
12373 * Makefile (install): Use $(elf-objpfx) instead of
12374 $(common-objpfx)elf/.
12375 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12376 $(elfobjdir)/.
12377 (link-libc-deps): Likewise.
12378 ($(common-objpfx)libc.so): Likewise.
12379 ($(common-objpfx)linkobj/libc.so): Likewise.
12380 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12381 instead of $(common-objpfx)elf/.
12382 (symbolic-link-list): Likewise.
12383 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12384 [$(cross-compiling) = no]: Likewise.
12385 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12386 $(elfobjdir)/.
12387 (static-gnulib-arch): Likewise.
12388 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12389 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12390 $(common-objpfx)elf/.
12391
3612eb8f
RH
123922014-05-21 Richard Henderson <rth@redhat.com>
12393
a6b3657b
RH
12394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12395 (SINGLE_THREAD_P): Use the correct width load. Fold
12396 into the ldr offset.
12397
3612eb8f
RH
12398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12399 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12400
175cef41
JM
124012014-05-20 Joseph Myers <joseph@codesourcery.com>
12402
12403 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12404 (libgcc_s_resume): Use __attribute_used__.
12405 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12406 Likewise.
12407
e13bccd3
AZ
124082014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12409
12410 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12411 optimization when used with float constants.
12412
7c112a38
AZ
12413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12414
ae75a883
AJ
124152014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12416
12417 [BZ #16915]
12418 * locale/nl_langinfo_l.c: Make direct reference to every
12419 _nl_current_CATEGORY symbol.
12420 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12421 (tests-static): Add tst-langinfo-static.
12422 (tests-special): Add tst-langinfo-static.out.
12423 ($(objpfx)tst-langinfo.out): Redirect output.
12424 ($(objpfx)tst-langinfo-static.out): New.
12425 * localedata/tst-langinfo.sh: Send output to stdout.
12426 * localedata/tst-langinfo-static.c: New file.
12427
4406c41c
AJ
12428 [BZ #16965]
12429 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12430 when the shift amount is modulo the limb size.
12431
4c0a1e63
RH
124322014-05-20 Richard Henderson <rth@redhat.com>
12433
de9d8f20
RH
12434 [BZ #16967]
12435 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12436 Change type of sa_flags from unsigned int to int.
12437
4c0a1e63
RH
12438 [BZ #16966]
12439 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12440
12441 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12442
a60339aa
WN
124432014-05-20 Will Newton <will.newton@linaro.org>
12444
12445 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12446 Test the return value of the system call in the nocancel case.
12447
7d05a816
YR
124482014-05-20 Will Newton <will.newton@linaro.org>
12449 Yvan Roux <yvan.roux@linaro.org>
12450
12451 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12452 #include of asm/ptrace.h.
12453 (PTRACE_GET_THREAD_AREA): Remove #undef.
12454 (PTRACE_GETHBPREGS): Likewise.
12455 (PTRACE_SETHBPREGS): Likewise.
12456 (struct user_regs_struct): New structure.
12457 (struct user_fpsimd_struct): New structure.
12458 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12459 #include of asm/ptrace.h and second #include of sys/user.h.
12460 (PTRACE_GET_THREAD_AREA): Remove #undef.
12461 (PTRACE_GETHBPREGS): Likewise.
12462 (PTRACE_SETHBPREGS): Likewise.
12463 (ELF_NGREG): Use new struct user_regs_struct.
12464 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12465
af121e37
AZ
124662014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12469 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12470
834caf06
JM
124712014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12472
12473 [BZ #16958]
12474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12475 membar to avoid block loads/stores to overlap previous stores.
12476
e184a918
RH
124772014-05-17 Richard Henderson <rth@redhat.com>
12478
12479 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12480 Create the __##syscall_name##_nocancel entry point.
12481 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12482 Remove; let the sysdep-cancel.h code create it.
12483
f56c7a6a
DM
124842014-05-17 David S. Miller <davem@davemloft.net>
12485
12486 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12487 Protect with __USE_GNU.
12488 (TIOCSET_TEMPT): Likewise.
12489 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12490 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12491 these are already provided in bits/ioctl-types.h
12492
f75616b2
RM
124932014-05-16 Roland McGrath <roland@hack.frob.com>
12494
3edeca86
RM
12495 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12496 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12497
f75616b2
RM
12498 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12499 Use wait4 regardless of [__NR_waitpid].
12500
deb0f7f6
MR
125012014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12502
12503 PR libgcc/60166
12504 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12505 (_FP_NANSIGN_Q): Set the quiet bit.
12506
79520f4b
JM
125072014-05-16 Joseph Myers <joseph@codesourcery.com>
12508
12509 * benchtests/Makefile
12510 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12511 not $(common-objpfx)math/libm.so.
12512 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12513 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12514 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12515 $(common-objpfx)dlfcn/libdl.so.
12516 ($(objpfx)tst-audit8): Depend on $(libm), not
12517 $(common-objpfx)math/libm.so.
12518 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12519 not $(common-objpfx)dlfcn/libdl.so.
12520 * math/Makefile
12521 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12522 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12523 [$(build-shared) = yes].
12524 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12525 $(common-objpfx)nptl/libpthread.so.
12526 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12527 $(common-objpfx)math/libm.so$(libm.so-version) or
12528 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12529 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12530 $(common-objpfx)dlfcn/libdl.so.
12531 * setjmp/Makefile (link-libm): Remove variable.
12532 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12533 * stdio-common/Makefile (link-libm): Remove variable.
12534 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12535 * stdlib/Makefile (link-libm): Remove variable.
12536 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12537 ($(objpfx)tst-strtod-round): Likewise.
12538 ($(objpfx)tst-tininess): Likewise.
12539 ($(objpfx)tst-strtod-underflow): Likewise.
12540 ($(objpfx)tst-strtod6): Likewise.
12541 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12542 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12543 $(common-objpfx)dlfcn/libdl.so.
12544
026b0fe4
AZ
125452014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12546
12547 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12548 BSD terminal modes definitions.
12549
def4bcb2
RM
125502014-05-16 Roland McGrath <roland@hack.frob.com>
12551
fe39b021
RM
12552 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12553 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12554
1d1fc46e 12555 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12556 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12557 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12558 Don't do #include_next.
12559 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12560 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12561 Don't do #include_next.
12562 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12563 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12564 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12565 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12566
c72399fb
AM
125672014-05-16 Allan McRae <allan@archlinux.org>
12568
d51d659d
AM
12569 * po/sv.po: Update Swedish translation from translation project.
12570
c72399fb
AM
12571 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12572 in sed expression.
12573
d0583c40
AJ
125742014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12575
12576 [BZ #16917]
12577 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12578 errno if the TIOCGPTN ioctl fails with an error different than
12579 EINVAL.
12580 * login/tst-ptsname.c: New file.
12581 * login/Makefile (tests): Add tst-ptsname.
12582
d16e6ec7
AJ
12583 [BZ #16943]
12584 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12585 and prlimit64.
12586
cf26a0cb
SP
125872014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12588
12589 [BZ #16849]
12590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12591 herrno to return EAI_AGAIN.
12592
5675da1e
RM
125932014-05-14 Roland McGrath <roland@hack.frob.com>
12594
a5d87b3d
RM
12595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12596 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12597 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12598 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12599 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12600 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12601 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12602 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12603 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12604 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12605 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12606 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12607 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12608 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12609 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12610 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12611 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12612 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12613 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12614 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12615 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12616 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12617 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12618 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12619 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12620 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12621 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12622 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12623 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12624 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12626 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12628 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12630 Moved ...
12631 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12633 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12637 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12639 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12641 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12643 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12647 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12649 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12651 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12653 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12655 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12657 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12659 Moved ...
12660 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12662 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12664 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12666 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12668 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12670 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12672 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12674 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12676 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12678 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12680 Moved ...
12681 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12683 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12684
039890a6
RM
12685 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12686 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12687 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12688 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12689 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12690 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12691 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12692 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12693 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12694 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12695 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12696 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12697 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12698 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12699 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12700 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12701 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12702 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12703 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12704 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12705 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12706 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12707 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12708 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12709 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12710 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12711 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12712 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12713 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12714 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12715 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12716
65c89320
RM
12717 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12718 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12719
348f8e8c
RM
12720 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12721 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12722 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12723 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12724 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12725 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12726 Moved ...
12727 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12729 Moved ...
12730 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12731 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12732 Moved ...
12733 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12734 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12735 Moved ...
12736 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12737 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12738 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12739 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12740 Moved ...
12741 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12742 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12743 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12744 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12745 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12746 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12747 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12749 Moved ...
12750 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12752 Moved ...
12753 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12754 ... here.
12755 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12756 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12757 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12758 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12759 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12760 Moved ...
12761 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12762 ... here.
12763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12764 Moved ...
12765 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12766 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12767 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12768 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12769 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12770 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12771 Moved ...
12772 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12774 Moved ...
12775 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12776 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12777 Moved ...
12778 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12779 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12780 Moved ...
12781 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12782 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12783 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12784 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12785 Moved ...
12786 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12787 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12788 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12789 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12790 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12791 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12792 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12794 Moved ...
12795 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12797 Moved ...
12798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12799 ... here.
12800 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12801 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12802 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12803 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12804 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12805 Moved ...
12806 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12807 ... here.
12808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12809 Moved ...
12810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12811 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12812 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12813 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12814 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12815 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12816 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12817 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12818 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12820 Moved ...
12821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12823 Moved ...
12824 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12825 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12826 Moved ...
12827 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12829 Moved ...
12830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12831 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12832 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12833 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12834 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12836 Moved ...
12837 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12839 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12841 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12843 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12845 Moved ...
12846 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12848 Moved ...
12849 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12850 ... here.
12851 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12852 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12853 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12854 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12855 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12856 Moved ...
12857 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12858 ... here.
12859 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12860 Moved ...
12861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12862 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12863 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12865 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12867 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12869 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12870 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12871 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12872
5085af05
RM
12873 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12874 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12875
708f0813
RM
12876 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12877 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12878
c96067bc
RM
12879 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12880 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12881 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12883 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12884 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12885 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12887 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12889 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12891 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12893 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12895 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12897 Moved ...
12898 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12900 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12902 Moved ...
12903 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12904 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12905 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12907 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12909 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12911 Moved ...
12912 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12914 Moved ...
12915 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12917 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12919 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12921 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12923 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12924 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12925 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12926 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12927 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12928 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12929 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12930 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12931 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12932
ec136444
RM
12933 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12934 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12935 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12936 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12937 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12938
2fbdf533
RM
12939 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12940 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12941 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12942 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12943 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12944 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12945 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12946 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12947 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12948 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12949
4c68138b
RM
12950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12952
4eaae765
RM
12953 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12954 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12955 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12956 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12957 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12958 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12959 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12960 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12961 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12962 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12963 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12964 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12965 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12966 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12967 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12968 Update #include.
12969 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12970 Likewise.
12971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12972 Likewise.
12973 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12974 Likewise.
12975 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12976 Likewise.
12977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12978 Likewise.
12979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12980 Likewise.
12981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12982 Likewise.
12983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12984 Likewise.
12985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12986 Likewise.
4ef6befa
RM
12987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12988 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12990 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12992 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12993 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12994 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12995 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12996 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12997 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12998 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12999 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13000 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13001 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13002
941d7dfd
RM
13003 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13004 that was previously under [RESET_PID].
13005 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13006 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13007 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13008
1b731c35
RM
13009 * sysdeps/i386/nptl/Implies: New file.
13010 * sysdeps/x86_64/nptl/Implies: New file.
13011 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13012 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13013 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13014 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13015
e2787137
RM
13016 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13017 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13018 (__libc_vfork): New strong alias.
13019 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13020 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13021
13022 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13023 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13024 (__libc_vfork): New strong alias.
13025 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13026 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13027
5675da1e
RM
13028 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13029 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13030 (__libc_vfork): New strong alias.
13031 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13032 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13033 * nptl/pt-vfork.c: New file.
13034 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13035 (libpthread: GLIBC_2.20): New version set (empty).
13036
4f02e2b8
WN
130372014-05-14 Will Newton <will.newton@linaro.org>
13038
13039 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13040 rather than #if.
13041
0bf061d3
JM
130422014-05-14 Joseph Myers <joseph@codesourcery.com>
13043
1a84c3d6
JM
13044 [BZ #16564]
13045 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13046 arguments with exponent 65 or above.
13047 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13048 arguments 0x1p113L or above.
13049 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13050 to arguments 0x1p107L or above.
13051 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13052 positive arguments with exponent 65 or above.
13053 * math/auto-libm-test-in: Add more tests of log1p.
13054 * math/auto-libm-test-out: Regenerated.
13055
01dbacd2
JM
13056 [BZ #16928]
13057 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13058 non-finite arguments is +0.
13059 * math/s_cacosf.c (__cacosf): Likewise.
13060 * math/s_cacosl.c (__cacosl): Likewise.
13061 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13062 * sysdeps/i386/fpu/libm-test-ulps: Update.
13063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13064
913d03c8
JM
13065 [BZ #16927]
13066 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13067 value.
13068 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13069 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13070 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13071 for explicit high bit of mantissa when testing for argument equal
13072 to 1.
13073 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
0bf061d3
JM
13077 [BZ #16516]
13078 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13079 (__erf): Scale by 16 instead of 8 in potentially underflowing
13080 case. Ensure exception if result actually underflows.
13081 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13082 (__erff): Scale by 16 instead of 8 in potentially underflowing
13083 case. Ensure exception if result actually underflows.
13084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13085 (efx8): Remove variable.
13086 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13087 case. Ensure exception if result actually underflows.
13088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13089 (efx8): Remove variable.
13090 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13091 case. Ensure exception if result actually underflows.
13092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13093 (efx8): Remove variable.
13094 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13095 case. Ensure exception if result actually underflows.
13096 * math/auto-libm-test-in: Add more tests of erf.
13097 * math/auto-libm-test-out: Regenerated.
13098
73ba67cb
AS
130992014-05-14 Andreas Schwab <schwab@suse.de>
13100
3d8c8bff
AS
13101 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13102 Remove code conditionalized on USE___THREAD.
13103
73ba67cb
AS
13104 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13105 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13106 not definedness.
13107
5c521ecd
JM
131082014-05-14 Joseph Myers <joseph@codesourcery.com>
13109
5e7698c6
JM
13110 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13111 Define unconditionally.
13112 (__ASSUME_O_CLOEXEC): Likewise.
13113 (__ASSUME_SOCK_CLOEXEC): Likewise.
13114 (__ASSUME_IN_NONBLOCK): Likewise.
13115 (__ASSUME_PIPE2): Likewise.
13116 (__ASSUME_EVENTFD2): Likewise.
13117 (__ASSUME_SIGNALFD4): Likewise.
13118 (__ASSUME_DUP3): Likewise.
13119 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13120 (__ASSUME_DUP3): Do not define.
13121 (__ASSUME_EVENTFD2): Likewise.
13122 (__ASSUME_IN_NONBLOCK): Likewise.
13123 (__ASSUME_O_CLOEXEC): Likewise.
13124 (__ASSUME_PIPE2): Likewise.
13125 (__ASSUME_SIGNALFD4): Likewise.
13126 (__ASSUME_SOCK_CLOEXEC): Likewise.
13127 (__ASSUME_UTIMES): Undefine.
13128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13129 (__ASSUME_UTIMES): Do not define.
13130 (__ASSUME_O_CLOEXEC): Likewise.
13131 (__ASSUME_SOCK_CLOEXEC): Likewise.
13132 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13133 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13134 0x020621].
13135 (__ASSUME_PIPE2): Likewise.
13136 (__ASSUME_EVENTFD2): Likewise.
13137 (__ASSUME_SIGNALFD4): Likewise.
13138 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13139 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13140 Do not define.
13141 (__ASSUME_EVENTFD2): Likewise.
13142 (__ASSUME_SIGNALFD4): Likewise.
13143 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13144 (__ASSUME_32BITUIDS): Likewise.
13145 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13146 (__ASSUME_IPC64): Likewise.
13147 (__ASSUME_ST_INO_64_BIT): Likewise.
13148 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13149 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13150 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13151 (__ASSUME_UTIMES): Do not define.
13152 (__ASSUME_PSELECT): Likewise.
13153 (__ASSUME_PPOLL): Likewise.
13154 (__ASSUME_O_CLOEXEC): Likewise.
13155 (__ASSUME_SOCK_CLOEXEC): Likewise.
13156 (__ASSUME_IN_NONBLOCK): Likewise.
13157 (__ASSUME_PIPE2): Likewise.
13158 (__ASSUME_EVENTFD2): Likewise.
13159 (__ASSUME_SIGNALFD4): Likewise.
13160 (__ASSUME_DUP3): Likewise.
13161 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13162 (__ASSUME_UTIMES): Likewise.
13163 (__ASSUME_O_CLOEXEC): Likewise.
13164 (__ASSUME_SOCK_CLOEXEC): Likewise.
13165 (__ASSUME_IN_NONBLOCK): Likewise.
13166 (__ASSUME_PIPE2): Likewise.
13167 (__ASSUME_EVENTFD2): Likewise.
13168 (__ASSUME_SIGNALFD4): Likewise.
13169 (__ASSUME_DUP3): Likewise.
13170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13171 (__ASSUME_UTIMES): Likewise.
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/mips/kernel-features.h (__ASSUME_IPC64):
13180 Likewise.
13181 (__ASSUME_UTIMES): Likewise.
13182 (__ASSUME_EVENTFD2): Likewise.
13183 (__ASSUME_SIGNALFD4): Likewise.
13184 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13185 (__ASSUME_O_CLOEXEC): Likewise.
13186 (__ASSUME_SOCK_CLOEXEC): Likewise.
13187 (__ASSUME_IN_NONBLOCK): Likewise.
13188 (__ASSUME_PIPE2): Likewise.
13189 (__ASSUME_EVENTFD2): Likewise.
13190 (__ASSUME_SIGNALFD4): Likewise.
13191 (__ASSUME_DUP3): Likewise.
13192 (__ASSUME_UTIMES): Undefine.
13193
5c521ecd
JM
13194 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13195 feclearexcept. Remove symbol versioning code.
13196 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13197 symbol versioning code.
13198 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13199 symbol versioning code.
13200 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13201 feupdateenv. Remove symbol versioning code.
13202 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13203 fegetexceptflag. Remove symbol versioning code.
13204 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13205 fesetexceptflag. Remove symbol versioning code.
13206 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13207 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13208 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13209 (__posix_fadvise64_l32): Remove prototype.
13210 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13211 code.
13212
5da9dfad
RM
132132014-05-13 Roland McGrath <roland@hack.frob.com>
13214
13215 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13216 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13217 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13218 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13219
893b4f37
SK
132202014-05-13 Sami Kerola <kerolasa@iki.fi>
13221
13222 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13223 current working directory
13224
e0db6517
RM
132252014-05-13 Roland McGrath <roland@hack.frob.com>
13226
58aa195d
RM
13227 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13228 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13229 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13230 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13231 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13232 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13233 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13234 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13235 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13236 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13237 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13238 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13239 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13240 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13241 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13242 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13243 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13244 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13245 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13246 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13247 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13248 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13252 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13253 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13254 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13260 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13261 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13262 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13263 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13265 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13266 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13267 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13268 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13269
8c6d01f0
RM
13270 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13271 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13272
13273 * sysdeps/unix/sysv/linux/arm/Makefile
13274 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13275 Add rt-aeabi_unwind_cpp_pr1.
13276 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13277 Add nptl-aeabi_unwind_cpp_pr1.
13278 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13279 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13280 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13281 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13282 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13283 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13284
13285 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13286 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13287 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13288 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13289
bba6da4e
RM
13290 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13291 Deconditionalize the code that was previously under [RESET_PID].
13292 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13293
e0db6517
RM
13294 * sysdeps/generic/exit-thread.h: New file.
13295 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13296 * include/unistd.h (__exit_thread): Remove declaration.
13297 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13298 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13299 * csu/libc-start.c: Include <exit-thread.h>.
13300 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13301 * nptl/pthread_create.c: Include <exit-thread.h>.
13302 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13303 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13304 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13305 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13306 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13307 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13308 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13309 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13310 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13311 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13312 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13313 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13314 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13315 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13316 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13317 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13318 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13319
01eb16fd
AS
133202014-05-13 Andreas Schwab <schwab@suse.de>
13321
13322 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13323
637461d9
JM
133242014-05-12 Joseph Myers <joseph@codesourcery.com>
13325
13326 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13327 (__ASSUME_UTIMES): Do not condition on kernel version.
13328 (__ASSUME_PSELECT): Define unconditionally.
13329 (__ASSUME_PPOLL): Likewise.
13330 (__ASSUME_ATFCTS): Likewise.
13331 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13332 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13333 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13334 (__ASSUME_UTIMENSAT): Define unconditionally.
13335 (__ASSUME_PRIVATE_FUTEX): Likewise.
13336 (__ASSUME_FALLOCATE): Likewise.
13337 (__ASSUME_O_CLOEXEC): Likewise.
13338 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13339 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13340 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13341 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13342 (__ASSUME_IN_NONBLOCK): Likewise.
13343 (__ASSUME_PIPE2): Likewise.
13344 (__ASSUME_EVENTFD2): Likewise.
13345 (__ASSUME_SIGNALFD4): Likewise.
13346 (__ASSUME_DUP3): Likewise.
13347 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13348 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13349 (__ASSUME_AT_RANDOM): Likewise.
13350 (__ASSUME_PREADV): Likewise.
13351 (__ASSUME_PWRITEV): Likewise.
13352 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13353 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13354 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13356 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13358 (__ASSUME_O_CLOEXEC): Define unconditionally.
13359 (__ASSUME_PSELECT): Do not undefine conditionally.
13360 (__ASSUME_PPOLL): Likewise.
13361 (__ASSUME_ATFCTS): Likewise.
13362 (__ASSUME_SET_ROBUST_LIST): Likewise.
13363 (__ASSUME_UTIMENSAT): Likewise.
13364 (__ASSUME_FDATASYNC): Define unconditionally.
13365 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13366 (__ASSUME_SIGFRAME_V2): Likewise.
13367 )__ASSUME_EVENTFD2): Likewise.
13368 (__ASSUME_SIGNALFD4): Likewise.
13369 (__ASSUME_PSELECT): Do not undefine conditionally.
13370 (__ASSUME_PPOLL): Likewise.
13371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13372 (__ASSUME_PSELECT): Define unconditionally.
13373 (__ASSUME_PPOLL): Likewise.
13374 (__ASSUME_O_CLOEXEC): Likewise.
13375 (__ASSUME_SOCK_CLOEXEC): Likewise.
13376 (__ASSUME_IN_NONBLOCK): Likewise.
13377 (__ASSUME_PIPE2): Likewise.
13378 (__ASSUME_EVENTFD2): Likewise.
13379 (__ASSUME_SIGNALFD4): Likewise.
13380 (__ASSUME_DUP3): Likewise.
13381 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13382 (__ASSUME_O_CLOEXEC): Likewise.
13383 (__ASSUME_SOCK_CLOEXEC): Likewise.
13384 (__ASSUME_IN_NONBLOCK): Likewise.
13385 (__ASSUME_PIPE2): Likewise.
13386 (__ASSUME_EVENTFD2): Likewise.
13387 (__ASSUME_SIGNALFD4): Likewise.
13388 (__ASSUME_DUP3): Likewise.
13389 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13390 (__ASSUME_EVENTFD2): Likewise.
13391 (__ASSUME_SIGNALFD4): Likewise.
13392 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13393
315eb1d8
AS
133942014-05-12 Andreas Schwab <schwab@suse.de>
13395
13396 [BZ #16932]
13397 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13398 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13399 than maximum RPC packet size.
13400 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13401 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13402 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13403 (_nss_nis_getservbyport_r): Likewise.
13404
91df99f7
WN
134052014-05-12 Will Newton <will.newton@linaro.org>
13406
13407 * malloc/Makefile (tests): Add tst-mallopt.
13408 * malloc/tst-mallopt.c: New file.
13409
0a982a29
RM
134102014-05-09 Roland McGrath <roland@hack.frob.com>
13411
13412 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13413 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13414
0ded08a5
AZ
134152014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13416
13417 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13418 (tst-tlsmod6.so): Likewise.
13419
55d4d550
RM
134202014-05-09 Roland McGrath <roland@hack.frob.com>
13421
13422 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13423
77d08aca
JM
134242014-05-09 Joseph Myers <joseph@codesourcery.com>
13425
13426 [BZ #16064]
13427 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13428 and <dl-procinfo.h>.
13429 (__fegetenv): Save SSE state in envp->__eip if supported.
13430 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13431 envp->__eip if supported.
13432 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13433 and <dl-procinfo.h>.
13434 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13435 __data_offset and __data_selector in environment to 0. Set SSE
13436 state if supported.
13437 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13438 test-fenv-sse.
13439 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13440 -mfpmath=sse.
13441 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13442
28162f4d
WN
134432014-05-09 Will Newton <will.newton@linaro.org>
13444
13445 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13446 and libc_relro_required for ARM.
13447 * sysdeps/arm/preconfigure: Regenerate.
13448
5a414ff7
DV
134492014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13450 Stefan Liebler <stli@linux.vnet.ibm.com>
13451
13452 * config.make.in (enable-lock-elision): New Makefile variable.
13453 * configure.ac: Likewise.
13454 * configure: Regenerate.
13455 * sysdeps/s390/configure.ac:
13456 Add check for gcc transactions support.
13457 * sysdeps/s390/configure: Regenerate.
13458 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13459 Build elision files if enabled.
13460 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13461 Add lock elision support for s390.
13462 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13463 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13464 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13465 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13466 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13467 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13468 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13469 Likewise.
13470 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13471 Likewise.
13472 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13473 Likewise.
13474 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13475 Likewise.
13476 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13477 (__lll_timedlock_elision, __lll_lock_elision)
13478 (__lll_unlock_elision, __lll_trylock_elision)
13479 (lll_timedlock_elision, lll_lock_elision)
13480 (lll_unlock_elision, lll_trylock_elision): Add.
13481 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13482 (pthread_mutex_t): Add lock elision support for s390.
13483
1a2f40e5
W
134842014-05-14 Wilco <wdijkstr@arm.com>
13485
13486 * sysdeps/arm/fclrexcpt.c: Cleanup.
13487 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13488 * sysdeps/arm/feenablxcpt.c: Cleanup.
13489 * sysdeps/arm/fegetenv.c: Cleanup.
13490 * sysdeps/arm/fegetexcept.c: Cleanup.
13491 * sysdeps/arm/fegetround.c: Cleanup.
13492 * sysdeps/arm/feholdexcpt.c: Cleanup.
13493 * sysdeps/arm/fesetenv.c: Cleanup.
13494 * sysdeps/arm/fesetround.c: Cleanup.
13495 * sysdeps/arm/feupdateenv.c: Cleanup.
13496 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13497 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13498 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13499 * sysdeps/arm/ftestexcept.c: Cleanup.
13500 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13501 * sysdeps/arm/setfpucw.c: Cleanup.
13502
f63c86fe
WN
135032014-05-09 Will Newton <will.newton@linaro.org>
13504
13505 * sysdeps/arm/armv7/strcmp.S: New file.
13506 * NEWS: Mention addition of ARMv7 optimized strcmp.
13507
7a1a51b5
RM
135082014-05-08 Roland McGrath <roland@hack.frob.com>
13509
95afbbe5
RM
13510 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13511 look for %.ac rather than %.in.
13512
13513 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13514 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13515 * sysdeps/mach/hurd/configure: Regenerated.
13516 * sysdeps/unix/sysv/linux/configure: Regenerated.
13517
7a1a51b5
RM
13518 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13519
5057ad3b
SE
135202014-05-07 Steve Ellcey <sellcey@mips.com>
13521
13522 [BZ# 16922]
13523 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13524 (LONG_SUB): Ditto.
13525 (PTR_SUB): Ditto.
13526
8dc97517
AS
135272014-05-07 Andreas Schwab <schwab@suse.de>
13528
13529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13530 when skipping over non-matching result from nscd.
13531
ce0c5b8f
OB
135322014-05-07 Ondřej Bílka <neleai@seznam.cz>
13533
13534 [BZ #16876]
13535 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13536
a1189263
OB
13537 [BZ #16877]
13538 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13539 nscd security class.
ce0c5b8f 13540
0f58d252
RM
135412014-05-06 Roland McGrath <roland@hack.frob.com>
13542
13543 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13544 * sysdeps/arm/unwind.h: ... here.
13545
83df9ad0
AJ
135462014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13547
ce0c5b8f
OB
13548 [BZ# 16916]
13549 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13550 Define.
83df9ad0 13551
f360f94a
VR
135522014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13553
13554 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13555 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13556 multiarch strncpy for PPC64.
13557 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13558 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13560 multiarch optimizations.
13561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13562 (__libc_ifunc_impl_list): Likewise.
13563 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13564 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13565 multiarch stpncpy for PPC64.
13566 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13567 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13568
978a41c3
AS
135692014-05-06 Andreas Schwab <schwab@suse.de>
13570
13571 [BZ #16912]
13572 * gmon/mcount.c (_MCOUNT_DECL): Use
13573 atomic_compare_and_exchange_bool_acq instead of
13574 catomic_compare_and_exchange_bool_acq.
13575
eb1ed03d
RM
135762014-05-05 Roland McGrath <roland@hack.frob.com>
13577
fe658845
RM
13578 * elf/Makefile (others, install-bin): Remove pldd.
13579 (pldd-modules): Variable removed.
13580 ($(objpfx)pldd): Target removed.
13581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13582 (others, install-bin): Append pldd here.
13583 ($(objpfx)pldd): New target.
13584
eb1ed03d
RM
13585 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13586 to 0, so the first #if test emitted later doesn't see it undefined.
13587 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13588 * sysdeps/gnu/errlist.c: Regenerated.
13589
19c4bec0
AZ
135902014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13591
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13593 [libc_hidden_builtin_def]: Define to empty value.
13594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13595 [libc_hidden_builtin_def]: Likewise.
13596 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13597 [libc_hidden_builtin_def]: Likewise.
13598 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13599 [libc_hidden_builtin_def]: Likewise.
13600 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13601 __redirect_memcpy and define ifunc as default hidden symbol.
13602 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13603 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13604
7776e669
AC
136052014-05-04 Adam Conrad <adconrad@0c3.net>
13606
13607 * locale/iso-4217.def: Reintroduce XDR currency.
13608
d69aeb12
AM
136092014-05-04 Allan McRae <allan@archlinux.org>
13610
13611 * po/eo.po: Update Esperanto translation from translation project.
13612
8f1df5cf
CD
136132014-05-02 Carlos O'Donell <carlos@redhat.com>
13614
13615 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13616 and FEATURE_INDEX_MAX to 1.
13617 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13618
13e402e7
SE
136192014-05-01 Steve Ellcey <sellcey@mips.com>
13620
13621 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13622 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13623 * iconvdata/big5.c (ONE_DIRECTION): Define.
13624 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13625 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13626 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13627 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13628 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13629 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13630 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13631 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13632 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13633 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13634 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13635 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13636 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13637 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13638 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13639 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13640 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13641 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13642 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13643 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13644 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13645 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13646 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13647 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13648 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13649 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13650 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13651 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13652 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13653 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13654 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13655 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13656 * iconvdata/johab.c (ONE_DIRECTION): Define.
13657 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13658 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13659 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13660 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13661 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13662 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13663 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13664 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13665 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13666 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13667
c727f032
RM
136682014-05-01 Roland McGrath <roland@hack.frob.com>
13669
8f2f08d0
RM
13670 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13671 (_IO_JUMPS_OFFSET): Define to 0.
13672
c727f032
RM
13673 * nptl/sysdeps/pthread/bits/libc-lock.h
13674 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13675 (__libc_lock_define_initialized_recursive): Always define using
13676 initializer. Modern compilers treat uninitialized (implicit zero) and
13677 explicit zero initializers the same (i.e. put the datum in bss).
13678
a849e800
AS
136792014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13680
13681 * nscd/nscd-client.h: Include <string.h>.
13682
5331255b
DM
136832014-05-01 David S. Miller <davem@davemloft.net>
13684
13685 [BZ #16885]
13686 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13687 multiple zero bytes exist at the end of a string.
13688 Reported by Aurelien Jarno <aurelien@aurel32.net>
13689
13690 * string/test-strcmp.c (check): Add explicit test for situations where
13691 there are multiple zero bytes after the first.
13692
4fdfe821
AS
136932014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13694
13695 [BZ #16890]
13696 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13697 when compiling wprintf.
13698 * stdio-common/tstdiomisc.c (t3): New function.
13699 (main): Call it.
13700
0cdddc25
SE
137012014-05-01 Steve Ellcey <sellcey@mips.com>
13702
13703 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13704 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13705 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13706 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13707
6426d77e
SE
137082014-05-01 Steve Ellcey <sellcey@mips.com>
13709
13710 * stdlib/longlong.h: Updated from GCC.
13711
6d96f5e4
WN
137122014-05-01 Will Newton <will.newton@linaro.org>
13713 Bernard Ogden <bernie.ogden@linaro.org>
13714
7470db0c
WN
13715 * NEWS: Update fixed bug list.
13716
6d96f5e4
WN
13717 [BZ #15119]
13718 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13719
211d653c
DM
137202014-04-30 David S. Miller <davem@davemloft.net>
13721
4fa262fa
DM
13722 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13723 (libc_feholdexcept_setround_sparc_ctx): New function.
13724 (libc_fesetenv_sparc_ctx): Likewise.
13725 (libc_feupdateenv_sparc_ctx): Likewise.
13726 (libc_feholdsetround_sparc_ctx): Likewise.
13727 (libc_feholdexcept_setround_ctx): Define.
13728 (libc_feholdexcept_setroundf_ctx): Likewise.
13729 (libc_feholdexcept_setroundl_ctx): Likewise.
13730 (libc_fesetenv_ctx): Likewise.
13731 (libc_fesetenvf_ctx): Likewise.
13732 (libc_fesetenvl_ctx): Likewise.
13733 (libc_feupdateenv_ctx): Likewise.
13734 (libc_feupdateenvf_ctx): Likewise.
13735 (libc_feupdateenvl_ctx): Likewise.
13736 (libc_feresetround_ctx): Likewise.
13737 (libc_feresetroundf_ctx): Likewise.
13738 (libc_feresetroundl_ctx): Likewise.
13739 (libc_feholdsetround_ctx): Likewise.
13740 (libc_feholdsetroundf_ctx): Likewise.
13741 (libc_feholdsetroundl_ctx): Likewise.
13742
1d3d93ef
DM
13743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13744 with __USE_GNU instead of XOPEN cpp guards.
13745
8aa583c3
DM
13746 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13747 0.
13748
211d653c
DM
13749 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13750 with XOPEN cpp guards.
13751
60c8f1f6
JB
137522014-04-30 Julian Brown <julian@codesourcery.com>
13753
13754 [BZ #16888]
13755 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13756 handling.
13757
9a461d46
JM
137582014-04-30 Joseph Myers <joseph@codesourcery.com>
13759
d0f5b3f8
JM
13760 [BZ #9894]
13761 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13762 Change to 2.6.32.
13763 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13764 * sysdeps/unix/sysv/linux/configure: Regenerated.
13765 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13766 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13767 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13768 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13769 * README: Update reference to required Linux kernel version.
13770 * manual/install.texi (Linux): Update reference to required Linux
13771 kernel headers version.
13772 * INSTALL: Regenerated.
13773
9a461d46
JM
13774 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13775 header inclusion.
13776 [POSIX] (limits.h): Likewise.
13777 [POSIX] (math.h): Likewise.
13778 [POSIX] (sys/wait.h): Likewise.
13779 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13780 function.
13781 [POSIX] (stddef.h): Do not allow header inclusion.
13782
1775babf
AZ
137832014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784
57f41c40 13785 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13786
8f630cca
YY
137872014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13788
13789 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13790 Return immediately after lll_futex_wake.
13791
1cdeb237
SP
137922014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13793
bc8f194c
SP
13794 [BZ #16791]
13795 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13796 structure.
13797 (datahead_init_pos): Call datahead_init_common early.
13798 (datahead_init_neg): Likewise.
13799
1cdeb237
SP
13800 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13801 datahead_init_neg): New functions.
13802 * nscd/aicache.c (addhstaiX): Use them.
13803 * nscd/grpcache.c (cache_addgr): Likewise.
13804 * nscd/hstcache.c (cache_addhst): Likewise.
13805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13806 * nscd/netgroupcache.c (do_notfound): Likewise.
13807 (addgetnetgrentX): Likewise.
13808 (addinnetgrX): Likewise.
13809 * nscd/pwdcache.c (cache_addpw): Likewise.
13810 * nscd/servicescache.c (cache_addserv): Likewise.
13811
16b293a7
SP
138122014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13813 Atsushi Onoe <atsushi@onoe.org>
13814
13815 [BZ #14308]
13816 [BZ #12994]
13817 [BZ #13651]
13818 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13819 one response is valid.
13820 * resolv/res_send.c (send_dg): Check for validity of other
13821 response if the current response is a referral.
13822
a28a9b94
SE
138232014-04-29 Steve Ellcey <sellcey@mips.com>
13824
13825 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13826
2ca180e9
SL
138272014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13828
13829 [BZ #16823]
13830 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13831 Always divide by positive zero when computing -Inf result.
13832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13833 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13834
18f2945a
AZ
138352014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13836
13837 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13838 FPSCR if value do not change.
13839 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13840 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13841 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13842 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13843 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13844 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13845 function.
13846
5abebba4
CD
138472014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13848
13849 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13850 * sysdeps/unix/sysv/linux/hppa: Move directory from
13851 ports/systeps/unix/sysv/linux/hppa.
13852 * README: Update listing for hppa-*-linux-gnu.
13853
f7ed60c2
OB
138542014-04-28 Ondřej Bílka <neleai@seznam.cz>
13855
fff763a5
OB
13856 [BZ #16754]
13857 * manual/stdio.texi (Hook functions): Fix types of stream hook
13858 functions.
f7ed60c2
OB
13859 [BZ #16854]
13860 * socket/sys/socket.h: Fix typo in comment.
13861
df639d73
WD
138622014-04-28 Wilco <wdijkstr@arm.com>
13863
f7ed60c2 13864 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13865 * sysdeps/arm/math_private.h: New file.
13866 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13867
48332d82
L
138682014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13869
13870 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13871 with __int128_t.
13872 (La_x86_64_retval): Likewise.
13873
e5e0d9a4
IB
138742014-04-24 Ian Bolton <ian.bolton@arm.com>
13875
13876 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13877 fpsr if value didn't change.
13878 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13879 to fpcr if value didn't change.
13880 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13881 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13882 fpsr or fpcr if value didn't change.
13883 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13884 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13885 fpcr if value didn't change.
13886 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13887 to fpsr if value didn't change.
13888
bacc75f7
SP
138892014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13890
13891 * nptl/tst-sem3.c: Use test-skeleton.c
13892 (main): Rename to do_test. Use return instead of
13893 exit.
13894 * nptl/tst-sem4.c: Use test-skeleton.c
13895 (main): Rename to do_test.
13896
a059d359
DM
138972014-04-22 David S. Miller <davem@davemloft.net>
13898
13899 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13900 (struct sigaction): New struct member __glibc_reserved0, change
13901 type of sa_flags to int.
13902
ea6c92f3
YZ
139032014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13904
13905 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13906 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13907
766c4a36
SP
139082014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13909
13910 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13911 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13912
140cc7ab
VK
139132014-04-22 Will Newton <will.newton@linaro.org>
13914 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13915
13916 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13917 (__longjmp): Add longjmp and longjmp_target SystemTap
13918 probes.
13919 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13920 (__sigsetjmp): Add setjmp SystemTap probe.
13921
c54e5cf7
CD
139222014-04-17 Carlos O'Donell <carlos@redhat.com>
13923
13924 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13925 match manual order.
13926
75ffb047
AZ
139272014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13928
13929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13930
2cd925f7
AZ
13931 * sysdeps/powerpc/fpu/fenv_private.h
13932 (libc_feholdexcept_setroundl_ctx): Define to
13933 libc_feholdexcept_setround_ppc_ctx.
13934 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13935 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13936 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13937 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13938
39e6cd8d
IB
139392014-04-17 Ian Bolton <ian.bolton@arm.com>
13940
13941 * sysdeps/aarch64/math-tests.h: New file.
13942
f9281df9
SY
139432014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13944
13945 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13946 New.
13947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13948 Check and set bit_AVX2_Usable.
13949 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13950 macro.
13951 (bit_AVX2): Likewise.
13952 (index_AVX2_Usable): Likewise.
13953 (CPUID_AVX2): Likewise.
13954 (HAS_AVX2): Likewise.
13955
37d35007
WN
139562014-04-17 Will Newton <will.newton@linaro.org>
13957
7c677662
WN
13958 * manual/setjmp.texi (System V contexts): Add note that
13959 calling setcontext on a context created by a call to a
13960 signal handler is undefined. Update text to note that
13961 setcontext from a signal handler is possible but not
13962 recommended.
13963
37d35007 13964 [BZ #16629]
e04a4e9d
WN
13965 * stdlib/tst-setcontext.c: Include signal.h.
13966 (main): Check that the signal stack before and
13967 after swapcontext is the same.
13968
37d35007
WN
13969 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13970 Re-implement to restore registers in user code and avoid
13971 rt_sigreturn system call.
13972
423a7160
W
139732014-04-17 Wilco <wdijkstr@arm.com>
13974
13975 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13976 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13977 * math/test-fenv.c: Skip exception trap tests on targets which only
13978 support non-stop mode.
13979
bc93ab29
IB
139802014-04-17 Ian Bolton <ian.bolton@arm.com>
13981 Wilco Dijkstra <wilco.dijkstra@arm.com>
13982
13983 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13984 (libc_feholdsetround_aarch64_ctx)
13985 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13986 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13987 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13988 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13989 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13990 (libc_feresetround_noexl_ctx): Define.
13991
95fc5fa3
RH
139922014-04-16 Richard Henderson <rth@redhat.com>
13993
ddb04724
RH
13994 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13995
d77c0899
RH
13996 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13997 unwind tables.
13998
a3df56fc
RH
13999 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14000 const from the non-libc, non-ldso copy.
14001
95fc5fa3
RH
14002 * sysdeps/alpha/libm-test-ulps: Regenerate.
14003
7e0b6763
IB
140042014-04-16 Ian Bolton <ian.bolton@arm.com>
14005 Wilco Dijkstra <wilco.dijkstra@arm.com>
14006
14007 * sysdeps/aarch64/fpu/math_private.h: New file.
14008
a9ea2e0c
MS
140092014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14010
14011 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14012
ea8ba7cd
IZ
140132014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14014
7e54fd04 14015 [BZ #16275]
ea8ba7cd
IZ
14016 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14017 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14019 Intel MPX bound registers before _dl_profile_fixup.
14020 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14021 registers after _dl_profile_fixup. Save and restore bound
14022 registers bnd0/bnd1 when calling _dl_call_pltexit.
14023 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14024 (LR_BND_OFFSET): Likewise.
14025 (LRV_BND0_OFFSET): Likewise.
14026 (LRV_BND1_OFFSET): Likewise.
14027
9f2a4fbc
ST
140282014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14029
14030 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14031 to...
14032 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14033 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14034 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14035 fields.
9f2a4fbc 14036
fd15a59b
ST
140372014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14038
14039 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14040
f19dfa0a
SL
140412014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14042
14043 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14044
4fa8bc3b
SL
140452014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14046
14047 [BZ #14770]
14048 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14049 * sysdeps/s390/configure: Regenerate.
14050
8ea587db
SL
14051 [BZ #16824]
14052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14053 Set round-to-nearest internally to reduce error accumulation.
14054
aa5f0ff1
AM
140552014-04-16 Alan Modra <amodra@gmail.com>
14056
14057 [BZ #16740]
14058 [BZ #16619]
14059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14060 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14061 * NEWS: Update fixed bug list.
aa5f0ff1 14062
bb9c256f
SP
140632014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14064
14065 * benchtests/Makefile: Depend on libraries in build directory.
14066 (bench-math): Separate out math tests.
14067 (bench-pthread): Separate out pthread tests.
14068 (bench): Include math and pthread tests.
14069
f737dfd0
CD
140702014-04-14 Carlos O'Donell <carlos@redhat.com>
14071
14072 [BZ #16831]
14073 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14074 _dl_debug_initialize.
14075
0699f766
CD
14076 * configure.ac: Remove SELinux header check.
14077 * configure: Regenerate.
14078 * nscd/selinux.c (perms): Array of const char* to permission names.
14079 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14080 default policy. Call string_to_security_class and string_to_av_perm to
14081 translate strings. Enforce default policy and call avs_has_perm with
14082 results of translated strings.
14083
809bd45f
DM
140842014-04-13 David S. Miller <davem@davemloft.net>
14085
14086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14087
89e691f2
AM
140882014-04-12 Allan McRae <allan@archlinux.org>
14089
14090 [BZ #16838]
14091 * manual/string.texi (Collation Functions): Fix qsort argument
14092 order in example.
14093 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14094
9c9daaeb
CM
140952014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14096
14097 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14098 Make the test a no-op if there are no exceptions defined.
14099
95561fb9
PP
141002014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14101
fe8d072c 14102 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14103 enable-hardcoded-path-in-tests
14104
970c602a
WN
141052014-04-11 Will Newton <will.newton@linaro.org>
14106
14107 * benchtests/Makefile (extra-objs): Add json-lib.o.
14108 (bench-func): Tidy up JSON output.
14109 * benchtests/bench-skeleton.c: Include json-lib.h.
14110 (main): Use JSON library functions to do output of
14111 benchmark results.
14112 * benchtests/bench-timing-type.c (main): Output the
14113 timing type simply, leaving formatting to the user.
14114 * benchtests/json-lib.c: New file.
14115 * benchtests/json-lib.h: Likewise.
14116
36875b06
TR
141172014-04-11 Torvald Riegel <triegel@redhat.com>
14118
14119 [BZ #15215]
14120 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14121 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14122 memory barriers. Add comments.
14123 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14124 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14125 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14126 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14127 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14128 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14129
579db35a
SL
141302014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14131
14132 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14133 * sysdeps/s390/s390-64/configure.ac: ... this ...
14134 * sysdeps/s390/configure.ac: ... to here.
14135 * sysdeps/s390/s390-32/configure: Delete file.
14136 * sysdeps/s390/s390-64/configure: Delete file.
14137 * sysdeps/s390/configure: Regenerate.
14138
c12e9f37
JAPH
141392014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14140
14141 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14142
439bda32
WN
141432014-04-11 Will Newton <will.newton@linaro.org>
14144
14145 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14146 to zero if it is not defined elsewhere. (mtrim): Test
14147 the value of MALLOC_DEBUG with #if rather than #ifdef.
14148
6a5d6ea1
TR
141492014-04-10 Torvald Riegel <triegel@redhat.com>
14150
14151 * benchtests/pthread_once-inputs: New file.
14152 * benchtests/pthread_once-source.c: New file.
14153 * benchtests/README: Update documentation.
14154
a4c75cfd
IZ
141552014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14156 H.J. Lu <hongjiu.lu@intel.com>
14157
7e54fd04 14158 [BZ #16275]
a4c75cfd
IZ
14159 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14160 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14161 * sysdeps/x86_64/configure: Regenerated.
14162 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14163 macro.
14164 (REGISTER_SAVE_RAX): Likewise.
14165 (REGISTER_SAVE_RCX): Likewise.
14166 (REGISTER_SAVE_RDX): Likewise.
14167 (REGISTER_SAVE_RSI): Likewise.
14168 (REGISTER_SAVE_RDI): Likewise.
14169 (REGISTER_SAVE_R8): Likewise.
14170 (REGISTER_SAVE_R9): Likewise.
14171 (REGISTER_SAVE_BND0): Likewise.
14172 (REGISTER_SAVE_BND1): Likewise.
14173 (REGISTER_SAVE_BND2): Likewise.
14174 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14175 bound registers when calling _dl_fixup.
14176
27822ce6
AZ
141772014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14178
14179 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14180 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14181 of its definition.
27822ce6
AZ
14182 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14183 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14184 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14185 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14186 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14187 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14188 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14189
a88ddc90
PTB
141902014-04-09 Peter Brett <peter@peter-b.co.uk>
14191
14192 [BZ #15514]
14193 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14194 pathconf(_PC_NAME_MAX).
14195
01f8eac2
AZ
141962014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14197
14198 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14199 Remove macro usage.
14200 (__PTHREAD_SPINS): Move definition to ...
14201 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14202 (__PTHREAD_SPINS): ... here.
14203 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14204 (__PTHREAD_SPIN): Likewise.
14205 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14206 (__PTHREAD_SPIN): Likewise.
14207 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14208 (__PTHREAD_SPIN): Likewise.
14209 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14210 (__PTHREAD_SPIN): Likewise.
14211 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14212 (__PTHREAD_SPIN): Likewise.
14213 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14214 (__PTHREAD_SPIN): Likewise.
14215 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14216 (__PTHREAD_SPIN): Likewise.
14217 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14218 (__PTHREAD_SPIN): Likewise.
14219 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14220 (__PTHREAD_SPIN): Likewise.
14221 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14222 (__PTHREAD_SPIN): Likewise.
14223 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14224 (__PTHREAD_SPIN): Likewise.
14225 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14226 (__PTHREAD_SPIN): Likewise.
14227
de21c33c
AZ
14228 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14229 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14230 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14231 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14232 imply folder.
14233 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14234 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14235 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14236 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14237 correct imply path.
14238 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14239 strlen symbol for non multi-arch builds.
14240 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14241 missing hidden_def and weak_alias.
14242
862c472e
CD
142432014-04-08 Carlos O'Donell <carlos@redhat.com>
14244
14245 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14246
8667f90e
WN
142472014-04-07 Will Newton <will.newton@linaro.org>
14248
14249 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14250 and contents. [!_LIBC] Remove #ifndef and contents.
14251 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14252 * string/memccpy.c (__memccpy): Use ANSI prototype.
14253 * string/memfrob.c (memfrob): Likewise.
14254 * string/strcoll.c (STRCOLL): Likewise.
14255 * string/strlen.c (strlen): Likewise.
14256 * string/strtok.c (STRTOK): Likewise.
14257 * string/strcat.c: Remove unused #include of memcopy.h.
14258 (strcat): Use ANSI prototype.
14259 * string/strchr.c: Remove unused #include of memcopy.h.
14260 (strchr): Use ANSI prototype.
14261 * string/strcmp.c: Remove unused #include of memcopy.h.
14262 (strcmp): Use ANSI prototype.
14263 * string/strcpy.c: Remove unused #include of memcopy.h.
14264 (strcpy): Use ANSI prototype.
14265
7ffa9423
AZ
142662014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14267
14268 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14269 * config.make.in (config-extra-cppflags): Set it from
14270 libc_extra_cppflags.
14271 * configure.ac (libc_extra_cflags): Make it accumulate over
14272 configure fragments.
14273 (libc_extra_cppflags): New flag.
14274 * configure. Regenerate.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14276 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14277 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14279
8bd70862
AZ
14280 [BZ #16815]
14281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14282 result for FE_DOWNWARD rounding mode.
14283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14284 Likewise.
14285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14286
d42f3448
CM
142872014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14288
14289 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14290 in function argument name.
14291
1c21d115
DS
142922014-04-03 David Svoboda <svoboda@cert.org>
14293
14294 [BZ #5666]
14295 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14296 explicitly.
14297
fcccd512
RM
142982014-04-03 Roland McGrath <roland@hack.frob.com>
14299
14300 * elf/dl-unmap-segments.h: New file.
14301 * sysdeps/generic/ldsodefs.h
14302 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14303 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14304 * elf/dl-fptr.c: Likewise.
14305 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14306 * sysdeps/aarch64/tlsdesc.c: Likewise.
14307 * sysdeps/arm/tlsdesc.c: Likewise.
14308 * sysdeps/i386/tlsdesc.c: Likewise.
14309 * sysdeps/tile/dl-runtime.c: Likewise.
14310 * sysdeps/x86_64/tlsdesc.c: Likewise.
14311 * elf/dl-load.h: New file.
14312 * elf/dl-load.c: Include it.
14313 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14314 Macros moved to dl-load.h.
14315 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14316 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14317 Use _dl_unmap_segments in place of __munmap.
14318 Break out segment-mapping loop into ...
14319 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14320
f6488e2b
WN
143212014-04-03 Will Newton <will.newton@linaro.org>
14322
14323 * elf/dl-lookup.c (do_lookup_x): Remove comment
14324 referring to nested function and move variable
14325 declarations down to before first use.
14326
6f05bafe
JM
143272014-04-02 Joseph Myers <joseph@codesourcery.com>
14328
a84e78c8
JM
14329 [BZ #16799]
14330 [BZ #16800]
14331 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14332 with 0 numerator.
14333 * math/s_catanf.c (__catanf): Likewise.
14334 * math/s_catanh.c (__catanh): Likewise.
14335 * math/s_catanhf.c (__catanhf): Likewise.
14336 * math/s_catanhl.c (__catanhl): Likewise.
14337 * math/s_catanl.c (__catanl): Likewise.
14338 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14339 by positive zero when computing -Inf result.
14340 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14341 (catanh_test): Likewise.
14342 * sysdeps/i386/fpu/libm-test-ulps: Update.
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14344
6f05bafe
JM
14345 [BZ #16789]
14346 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14347 instead of using underflowing value in computing result.
14348 * math/s_clog10.c (__clog10): Likewise.
14349 * math/s_clog10f.c (__clog10f): Likewise.
14350 * math/s_clog10l.c (__clog10l): Likewise.
14351 * math/s_clogf.c (__clogf): Likewise.
14352 * math/s_clogl.c (__clogl): Likewise.
14353 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14354 (clog10_test): Likewise.
14355 * sysdeps/i386/fpu/libm-test-ulps: Update.
14356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14357
b0abbc21
AM
143582014-04-02 Alan Modra <amodra@gmail.com>
14359
14360 [BZ #16739]
14361 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14362 output when value is near a power of two. Use int64_t for lx and
14363 remove casts. Use decimal rather than hex exponent constants.
14364 Don't use long double multiplication when double will suffice.
14365 * math/libm-test.inc (nextafter_test_data): Add tests.
14366 * NEWS: Add 16739 and 16786 to bug list.
14367
af6b1797
AM
14368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14369
483818d7
AM
14370 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14371
f6c55796
WN
143722014-04-01 Will Newton <will.newton@linaro.org>
14373
14374 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14375 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14376
13f7fe35
FW
143772014-04-01 Florian Weimer <fweimer@redhat.com>
14378
14379 [BZ #13347]
14380 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14381 * nptl/tst-setuid2.c: New file.
14382 * nptl/Makefile (xtests): Add tst-setuid2.
14383
c859b32e
AM
143842014-04-01 Alan Modra <amodra@gmail.com>
14385
14386 [BZ #16786]
14387 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14388
54fa2475
JM
143892014-03-31 Joseph Myers <joseph@codesourcery.com>
14390
8795b4a4
JM
14391 [BZ #6803]
14392 [BZ #6804]
14393 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14394 set errno as appropriate.
14395 * math/w_scalbf.c (__scalbf): Likewise.
14396 * math/w_scalbl.c (__scalbl): Likewise.
14397 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14398 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14399 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14400 Add more NaN tests.
14401
54fa2475
JM
14402 [BZ #16349]
14403 * math/w_atan2.c: Include <errno.h>.
14404 (__atan2): Set errno for result underflowing to zero.
14405 * math/w_atan2f.c: Include <errno.h>.
14406 (__atan2f): Set errno for result underflowing to zero.
14407 * math/w_atan2l.c: Include <errno.h>.
14408 (__atan2l): Set errno for result underflowing to zero.
14409 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14410 tests.
14411 * math/auto-libm-test-out: Regenerated.
14412
757d9dd5
AZ
144132014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14414
14415 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14416 Encode instruction correctly in little endian.
14417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14418 Likewise.
14419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14420 Likewise.
14421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14422 Likewise.
14423 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14424 Likewise.
14425
d7a68734
JM
144262014-03-31 Joseph Myers <joseph@codesourcery.com>
14427
47c5adeb
JM
14428 [BZ #9894]
14429 * sysdeps/unix/sysv/linux/kernel-features.h
14430 [__sparc__ && !__arch64__ && !__sparc_v9__]
14431 (__ASSUME_SET_ROBUST_LIST): Do not define.
14432 [__sparc__ && !__arch64__ && !__sparc_v9__]
14433 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14434 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14435 Likewise.
14436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14437 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14438 (__ASSUME_REQUEUE_PI): Likewise.
14439 (__ASSUME_SET_ROBUST_LIST): Likewise.
14440 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14441 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14442 Undefine.
14443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14444 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14445 Likewise.
14446 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14447 Likewise.
14448 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14449 Likewise.
14450 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14451 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14452 Undefine.
14453 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14454 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14455 Likewise.
14456
d7a68734
JM
14457 [BZ #16648]
14458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14460 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14461
c760f5c2
WN
144622014-03-31 Will Newton <will.newton@linaro.org>
14463
14464 * benchtests/Makefile (bench): Add ffs and ffsll to list
14465 of tests.
14466 * benchtests/ffs-inputs: New file.
14467 * benchtests/ffsll-inputs: Likewise.
14468
ea6029b1
JM
144692014-03-29 Joseph Myers <joseph@codesourcery.com>
14470
14471 [BZ #16770]
14472 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14473 too large before casting to int.
14474 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14475 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14476 * math/libm-test.inc (scalb_test_data): Add more tests.
14477
cf806aff
SP
144782014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14479
56737508
SP
14480 * benchtests/Makefile (DETAILED_OPT): New make option.
14481 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14482 set.
14483 * benchtests/bench-skeleton.c: Include stdbool.h.
14484 (main): Store and print timings per input.
14485 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14486 member to each argument value.
14487 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14488 (_print_arg_data): Initialize per-input timing to 0.
14489
cb5e4aad
SP
14490 * benchtests/Makefile (timing-type): New binary.
14491 (bench-clean): Also remove bench-timing-type.
14492 (bench): New target for timing-type.
14493 (bench-func): Print output in JSON format.
14494 * benchtests/bench-skeleton.c (main): Print output in JSON
14495 format.
14496 * benchtests/bench-timing-type.c: New file.
14497 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14498 (TIMING_PRINT_STATS): Remove.
14499 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14500 name separately.
14501
cf806aff
SP
14502 * benchtests/bench-modf.c: Remove.
14503 * benchtests/modf-inputs: New inputs file.
14504
289e0779
JM
145052014-03-28 Joseph Myers <joseph@codesourcery.com>
14506
14507 [BZ #16362]
14508 * math/s_clog10.c (M_PI_LOG10E): New macro.
14509 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14510 imaginary parts are 0.
14511 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14512 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14513 imaginary parts are 0.
14514 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14515 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14516 imaginary parts are 0.
14517 * math/libm-test.inc (clog10_test_data): Update expected results
14518 for when real and imaginary parts are 0.
14519
277ae3f1
PP
145202014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14521
14522 * elf/dl-load.c: Finish conversion of __builtin_expect into
14523 __glibc_{un}likely.
14524
03a7091f
JM
145252014-03-27 Joseph Myers <joseph@codesourcery.com>
14526
14527 [BZ #16348]
14528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14529 1+x for argument with exponent below -67.
14530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14531 Likewise.
14532 * math/auto-libm-test-in: Add more tests of exp.
14533 * math/auto-libm-test-out: Regenerated.
14534
ea7d8b95
SP
145352014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14536
dd3022d7
SP
14537 [BZ #16759]
14538 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14539 (nscd_getnetgrent): Use it.
14540
ea7d8b95
SP
14541 [BZ #16760]
14542 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14543 of stpcpy.
14544
df5b85da
AK
145452014-03-27 Andi Kleen <ak@linux.intel.com>
14546
57f41c40
AS
14547 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14548 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14549 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14550 (lll_robust_unlock): Remove out of line section. Use cfi
14551 intrinsics.
df5b85da 14552 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14553 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14554 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14555 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14556 (lll_robust_unlock): Remove out of line section. Use cfi
14557 intrinsics.
df5b85da
AK
14558 (LLL_STUB_UNWIND_INFO*): Remove.
14559
fbd6b5a4
SP
145602014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
14562 [BZ #16758]
14563 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14564 blank values.
14565
1b26b855
PP
145662014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14567
14568 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14569
9be36fb8
JM
145702014-03-26 Joseph Myers <joseph@codesourcery.com>
14571
14572 [BZ #16198]
14573 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14574 fnstenv.
14575 * math/test-fenv-preserve.c: New file.
14576 * math/Makefile (tests): Add test-fenv-preserve.
14577
60a2f3c1
WN
145782014-03-26 Will Newton <will.newton@linaro.org>
14579
14580 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14581
a5e5f1e2
RM
145822014-03-25 Roland McGrath <roland@hack.frob.com>
14583
14584 * scripts/versionlist.awk: Partition the version sets and emit all
14585 GLIBC_* (sorted) before all others (sorted).
14586
00f4012a
JM
145872014-03-25 Joseph Myers <joseph@codesourcery.com>
14588
14589 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14590 GLIBC_2.2.5 version.
14591
7bc5a741
AZ
145922014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14593
14594 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14595 calls.
14596
7578473b
AZ
14597 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14598 previous change.
14599
f3f1dab3
AZ
14600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14601
6da36183
AS
146022014-03-25 Andreas Schwab <schwab@suse.de>
14603
14604 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14605 label to be used after in6ailist is initialized.
14606
f3f1dab3 146072014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14608
7578473b 14609 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14610 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14611
046651c1
JM
146122014-03-25 Joseph Myers <joseph@codesourcery.com>
14613
14614 [BZ #16357]
14615 [BZ #16599]
14616 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14617 min_plus_half.
14618 (fp_formats): Update initializers.
14619 (init_fp_formats): Initialize new field.
14620 (output_for_one_input_case): Allow underflow for results up to
14621 min_plus_half.
14622 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14623 * math/auto-libm-test-in: Don't mark some underflows from asin and
14624 atanh as spurious.
14625 * math/auto-libm-test-out: Regenerated.
14626 * sysdeps/i386/fpu/libm-test-ulps: Update.
14627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14628
003e49ed
AS
146292014-03-25 Andreas Schwab <schwab@suse.de>
14630
14631 * libio/Makefile (tst-ftell-partial-wide-ENV)
14632 (tst-ftell-active-handler-ENV): Define.
14633
de031874
SL
146342014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14635
14636 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14637
55a81e3b
PP
146382014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14639
14640 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14641
f3426898
JM
146422014-03-24 Joseph Myers <joseph@codesourcery.com>
14643
14644 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14645 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14646 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14647
a42faf59
PP
146482014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14649
14650 [BZ #16634]
a42faf59 14651 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14652 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14653 (open_path): Change from boolean 'secure' to complete flag 'mode'
14654 (_dl_map_object): Adjust.
a42faf59
PP
14655 * elf/Makefile (tests): Add tst-dlopen-aout.
14656 * elf/tst-dlopen-aout.c: New test.
14657
50936127
SL
146582014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14659
14660 [BZ #16714]
14661 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14662 (struct stat): Rename member pad0 to __glibc_reserved0.
14663
26011b5c
SL
14664 [BZ #16712]
14665 * sysdeps/s390/s390-32/bits/wordsize.h
14666 (__WORDSIZE32_SIZE_ULONG): New define.
14667 * sysdeps/s390/s390-64/bits/wordsize.h
14668 (__WORDSIZE32_SIZE_ULONG): Likewise.
14669 * sysdeps/generic/stdint.h (SIZE_MAX):
14670 Define as UL if __WORDSIZE32_SIZE_ULONG.
14671
a2d86bf1
SL
14672 [BZ #16713]
14673 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14674 (__glibc_reserved0): New variable.
14675 (sa_flags): Change type to int.
14676
78b6eebc
SL
14677 * posix/Makefile (before-compile): Use += before-compile instead
14678 of a :=.
14679
f1399b5a
SL
14680 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14681 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14682
a071766e
AS
146832014-03-20 Andreas Schwab <schwab@suse.de>
14684
14685 [BZ #16743]
14686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14687 non-matching result from nscd.
14688
27c673b8
SP
146892014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14690
14691 * scripts/bench.py: Moved to ...
14692 * benchtests/scripts/bench.py: ... here.
14693 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14694
44152e4b
AS
146952014-03-24 Andreas Schwab <schwab@suse.de>
14696
14697 [BZ #16002]
14698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14699 alloca_account and account alloca use for struct in6ailist.
14700
b376a11a
JM
147012014-03-24 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #16284]
14704 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14705 rounding mode to recompute results that overflow to infinity or
14706 underflow to zero.
14707 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14708 bug 16284.
14709 * math/auto-libm-test-out: Regenerated.
14710 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14711 (ccosh_test): Likewise.
14712 (csin_test_data): Use plus_oflow.
14713 (csin_test): Use ALL_RM_TEST.
14714 (csinh_test_data): Use plus_oflow.
14715 (csinh_test): Use ALL_RM_TEST.
14716 * sysdeps/i386/fpu/libm-test-ulps: Update.
14717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718
f7be7376
JM
147192014-03-21 Joseph Myers <joseph@codesourcery.com>
14720
1ca2d03e
JM
14721 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14722 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14723 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14724
f7be7376
JM
14725 [BZ #16731]
14726 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14727 when x - 1 is zero.
14728 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14729 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14730 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14732 argument is 1.
14733 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14734 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14735 zero.
14736 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14737 * sysdeps/i386/fpu/libm-test-ulps: Update.
14738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14739
fdf4534d
SP
147402014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14741
df26ea53
SP
14742 * scripts/bench.pl: Remove file.
14743 * scripts/bench.py: New benchmark script.
14744 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14745 * benchtests/README: Mention python dependency.
14746 * scripts/pylintrc: New file.
14747 * scripts/pylint: New file.
14748
fdf4534d
SP
14749 * bits/mathdef.h: Use #ifdef instead of #if.
14750 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14751 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14752 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14753 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14754 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14755 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14756
6f23d093
AZ
147572014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14758 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14759
14760 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14762 and strpbrk-ppc64 objects.
14763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14764 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14765 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14766 multiarch strpbrk for POWER7.
14767 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14768 multiarch strpbrk for PPC64.
14769 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14770 ifunc selector.
14771 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14772 strpbrk for POWER7.
14773
8c92dfff
JM
147742014-03-20 Joseph Myers <joseph@codesourcery.com>
14775
14776 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14777 (atan_test): Likewise.
14778 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14779 (atanh_test): Use ALL_RM_TEST.
14780 (atan2_test_data): Likewise.
14781 (cabs_test): Likewise.
14782 (cacosh_test): Likewise.
14783 (carg_test): Likewise.
14784 (casin_test): Likewise.
14785 (casinh_test): Likewise.
14786 (cbrt_test): Likewise.
14787 (csqrt_test): Likewise.
14788 (erf_test): Likewise.
14789 (erfc_test): Likewise.
14790 (pow10_test): Likewise.
14791 (exp2_test): Likewise.
14792 (hypot_test): Likewise.
14793 (j0_test): Likewise.
14794 (j1_test): Likewise.
14795 (lgamma_test): Likewise.
14796 (gamma_test): Likewise.
14797 (sincos_test): Likewise.
14798 (tanh_test): Likewise.
14799 (y0_test): Likewise.
14800 (y1_test): Likewise.
14801 * sysdeps/i386/fpu/libm-test-ulps: Update.
14802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14803
6eaf95cb
AZ
148042014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14805
a387428c
SP
14806 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14808 and strcspn-ppc64 objects.
14809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14810 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14811 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14812 multiarch strcspn for POWER7.
14813 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14814 multiarch strcspn for PPC64.
14815 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14816 ifunc selector.
14817 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14818 strcspn for POWER7.
14819
ae3a5dff
JM
148202014-03-20 Joseph Myers <joseph@codesourcery.com>
14821
14822 * math/gen-libm-test.pl (generate_testfile): Expect only function
14823 name as argument to AUTO_TESTS_* and pass results for all rounding
14824 modes to parse_args.
14825 (parse_auto_input): Separate inputs of automatic tests from
14826 outputs before storing in %auto_tests.
14827 * math/libm-test.inc (acos_test_data): Update call to
14828 AUTO_TESTS_f_f.
14829 (acos_test): Use ALL_RM_TEST.
14830 (acos_tonearest_test_data): Remove.
14831 (acos_test_tonearest): Likewise.
14832 (acos_towardzero_test_data): Likewise.
14833 (acos_test_towardzero): Likewise.
14834 (acos_downward_test_data): Likewise.
14835 (acos_test_downward): Likewise.
14836 (acos_upward_test_data): Likewise.
14837 (acos_test_upward): Likewise.
14838 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14839 (asin_test_data): Likewise.
14840 (asin_test): Use ALL_RM_TEST.
14841 (asin_tonearest_test_data): Remove.
14842 (asin_test_tonearest): Likewise.
14843 (asin_towardzero_test_data): Likewise.
14844 (asin_test_towardzero): Likewise.
14845 (asin_downward_test_data): Likewise.
14846 (asin_test_downward): Likewise.
14847 (asin_upward_test_data): Likewise.
14848 (asin_test_upward): Likewise.
14849 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14850 (atan_test_data): Likewise.
14851 (atanh_test_data): Likewise.
14852 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14853 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14854 (carg_test_data): Likewise.
14855 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14856 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14857 (ccosh_test_data): Likewise.
14858 (cexp_test_data): Likewise.
14859 (clog_test_data): Likewise.
14860 (clog10_test_data): Likewise.
14861 (cos_test_data): Update call to AUTO_TESTS_f_f.
14862 (cos_test): Use ALL_RM_TEST.
14863 (cos_tonearest_test_data): Remove.
14864 (cos_test_tonearest): Likewise.
14865 (cos_towardzero_test_data): Likewise.
14866 (cos_test_towardzero): Likewise.
14867 (cos_downward_test_data): Likewise.
14868 (cos_test_downward): Likewise.
14869 (cos_upward_test_data): Likewise.
14870 (cos_test_upward): Likewise.
14871 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14872 (cosh_test): Use ALL_RM_TEST.
14873 (cosh_tonearest_test_data): Remove.
14874 (cosh_test_tonearest): Likewise.
14875 (cosh_towardzero_test_data): Likewise.
14876 (cosh_test_towardzero): Likewise.
14877 (cosh_downward_test_data): Likewise.
14878 (cosh_test_downward): Likewise.
14879 (cosh_upward_test_data): Likewise.
14880 (cosh_test_upward): Likewise.
14881 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14882 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14883 (ctan_test_data): Likewise.
14884 (ctan_test): Use ALL_RM_TEST.
14885 (ctan_tonearest_test_data): Remove.
14886 (ctan_test_tonearest): Likewise.
14887 (ctan_towardzero_test_data): Likewise.
14888 (ctan_test_towardzero): Likewise.
14889 (ctan_downward_test_data): Likewise.
14890 (ctan_test_downward): Likewise.
14891 (ctan_upward_test_data): Likewise.
14892 (ctan_test_upward): Likewise.
14893 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14894 (ctanh_test): Use ALL_RM_TEST.
14895 (ctanh_tonearest_test_data): Remove.
14896 (ctanh_test_tonearest): Likewise.
14897 (ctanh_towardzero_test_data): Likewise.
14898 (ctanh_test_towardzero): Likewise.
14899 (ctanh_downward_test_data): Likewise.
14900 (ctanh_test_downward): Likewise.
14901 (ctanh_upward_test_data): Likewise.
14902 (ctanh_test_upward): Likewise.
14903 (erf_test_data): Update call to AUTO_TESTS_f_f.
14904 (erfc_test_data): Likewise.
14905 (exp_test_data): Likewise.
14906 (exp_test): Use ALL_RM_TEST.
14907 (exp_tonearest_test_data): Remove.
14908 (exp_test_tonearest): Likewise.
14909 (exp_towardzero_test_data): Likewise.
14910 (exp_test_towardzero): Likewise.
14911 (exp_downward_test_data): Likewise.
14912 (exp_test_downward): Likewise.
14913 (exp_upward_test_data): Likewise.
14914 (exp_test_upward): Likewise.
14915 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14916 (exp10_test): Use ALL_RM_TEST.
14917 (exp10_tonearest_test_data): Remove.
14918 (exp10_test_tonearest): Likewise.
14919 (exp10_towardzero_test_data): Likewise.
14920 (exp10_test_towardzero): Likewise.
14921 (exp10_downward_test_data): Likewise.
14922 (exp10_test_downward): Likewise.
14923 (exp10_upward_test_data): Likewise.
14924 (exp10_test_upward): Likewise.
14925 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14926 (expm1_test_data): Likewise.
14927 (expm1_test): Use ALL_RM_TEST.
14928 (expm1_tonearest_test_data): Remove.
14929 (expm1_test_tonearest): Likewise.
14930 (expm1_towardzero_test_data): Likewise.
14931 (expm1_test_towardzero): Likewise.
14932 (expm1_downward_test_data): Likewise.
14933 (expm1_test_downward): Likewise.
14934 (expm1_upward_test_data): Likewise.
14935 (expm1_test_upward): Likewise.
14936 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14937 (fma_test): Use ALL_RM_TEST.
14938 (fma_towardzero_test_data): Remove.
14939 (fma_test_towardzero): Likewise.
14940 (fma_downward_test_data): Likewise.
14941 (fma_test_downward): Likewise.
14942 (fma_upward_test_data): Likewise.
14943 (fma_test_upward): Likewise.
14944 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14945 (j0_test_data): Update call to AUTO_TESTS_f_f.
14946 (j1_test_data): Likewise.
14947 (jn_test_data): Update call to AUTO_TESTS_if_f.
14948 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14949 (log_test_data): Update call to AUTO_TESTS_f_f.
14950 (log10_test_data): Likewise.
14951 (log1p_test_data): Likewise.
14952 (log2_test_data): Likewise.
14953 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14954 (pow_tonearest_test_data): Likewise.
14955 (sin_test_data): Update call to AUTO_TESTS_f_f.
14956 (sin_test): Use ALL_RM_TEST.
14957 (sin_tonearest_test_data): Remove.
14958 (sin_test_tonearest): Likewise.
14959 (sin_towardzero_test_data): Likewise.
14960 (sin_test_towardzero): Likewise.
14961 (sin_downward_test_data): Likewise.
14962 (sin_test_downward): Likewise.
14963 (sin_upward_test_data): Likewise.
14964 (sin_test_upward): Likewise.
14965 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14966 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14967 (sinh_test): Use ALL_RM_TEST.
14968 (sinh_tonearest_test_data): Remove.
14969 (sinh_test_tonearest): Likewise.
14970 (sinh_towardzero_test_data): Likewise.
14971 (sinh_test_towardzero): Likewise.
14972 (sinh_downward_test_data): Likewise.
14973 (sinh_test_downward): Likewise.
14974 (sinh_upward_test_data): Likewise.
14975 (sinh_test_upward): Likewise.
14976 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14977 (sqrt_test): Use ALL_RM_TEST.
14978 (sqrt_tonearest_test_data): Remove.
14979 (sqrt_test_tonearest): Likewise.
14980 (sqrt_towardzero_test_data): Likewise.
14981 (sqrt_test_towardzero): Likewise.
14982 (sqrt_downward_test_data): Likewise.
14983 (sqrt_test_downward): Likewise.
14984 (sqrt_upward_test_data): Likewise.
14985 (sqrt_test_upward): Likewise.
14986 (tan_test_data): Update call to AUTO_TESTS_f_f.
14987 (tan_test): Use ALL_RM_TEST.
14988 (tan_tonearest_test_data): Remove.
14989 (tan_test_tonearest): Likewise.
14990 (tan_towardzero_test_data): Likewise.
14991 (tan_test_towardzero): Likewise.
14992 (tan_downward_test_data): Likewise.
14993 (tan_test_downward): Likewise.
14994 (tan_upward_test_data): Likewise.
14995 (tan_test_upward): Likewise.
14996 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14997 (tgamma_test_data): Likewise.
14998 (y0_test_data): Likewise.
14999 (y1_test_data): Likewise.
15000 (yn_test_data): Update call to AUTO_TESTS_if_f.
15001 (main): Do not call removed functions.
15002
d71aeee8
JM
150032014-03-19 Joseph Myers <joseph@codesourcery.com>
15004
15005 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15006 (ldexp_test_data): Remove.
15007 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15008 scalbn_test_data.
15009 (scalb_test): Use ALL_RM_TEST.
15010
baaf1ded
AS
150112014-03-19 Andreas Schwab <schwab@suse.de>
15012
15013 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15014
b1115e91
JM
150152014-03-19 Joseph Myers <joseph@codesourcery.com>
15016
15017 [BZ #16649]
15018 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15019 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15020 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15022 (__ASSUME_PREADV): Undefine.
15023 (__ASSUME_PWRITEV): Likewise.
15024
0283ecca
RM
150252014-03-18 Roland McGrath <roland@hack.frob.com>
15026
7d375303
RM
15027 * bits/mman-linux.h: Add comment about non-Linux use.
15028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15029 bits/mman-linux.h resting place.
15030
0283ecca
RM
15031 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15032 * bits/mman-linux.h: ... here.
15033
aebe1003
AZ
150342014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15035
15036 * conform/conformtest.pl: Add standard definition when calling C
15037 preprocessor on data files.
15038 (checknamespace): Remove unused variable.
15039
b29b6bb8
JM
150402014-03-18 Joseph Myers <joseph@codesourcery.com>
15041
15042 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15043 minus_oflow, plus_uflow and minus_uflow in expected results.
15044 * math/libm-test.inc (scalbn_test_data): Add more tests of
15045 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15046 minus_uflow.
15047 (scalbn_test): Use ALL_RM_TEST.
15048 (scalbln_test_data): Add more tests of negative arguments. Use
15049 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15050 (scalbln_test): Use ALL_RM_TEST.
15051
c8f8fa15
RM
150522014-03-18 Roland McGrath <roland@hack.frob.com>
15053
15054 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15055
fede7a5f
WN
150562014-03-18 Will Newton <will.newton@linaro.org>
15057
15058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15059 inaccurate comment.
15060
80cf0a58
JM
150612014-03-18 Joseph Myers <joseph@codesourcery.com>
15062
15063 * Makerules [!subdir] (check-abi): Exit with error status if a
15064 test failed.
15065
b3620862
JM
150662014-03-17 Joseph Myers <joseph@codesourcery.com>
15067
15068 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15069 for rint. Include results for all rounding modes.
15070 (nearbyint_test): Use ALL_RM_TEST.
15071 (rint_test_data): Include all tests used for nearbyint.
15072
788bba36
WN
150732014-03-17 Will Newton <will.newton@linaro.org>
15074
04ec140a
WN
15075 * nptl/sysdeps/pthread/pthread.h: Revert previous
15076 change.
15077
7579d8d5
WN
15078 * sysdeps/generic/ldsodefs.h: Revert previous
15079 change.
15080
c15cf13a
WN
15081 * libio/genops.c: Revert previous change.
15082 * libio/libioP.h: Likewise.
15083 * stdio-common/vfprintf.c: Likewise.
15084
d0ac1324
WN
15085 * sysdeps/generic/math_private.h: Revert previous
15086 change.
15087
9290130a
WN
15088 * sysdeps/generic/math_private.h: Check whether
15089 HAVE_RM_CTX is defined with #ifdef rather
15090 than #if.
15091
afb466fc
WN
15092 * argp/argp-fmtstream.h: Check whether
15093 __STRICT_ANSI__ is defined with #ifdef rather
15094 than #if.
15095 * argp/argp.h: Likewise.
15096
f7efd7c3
WN
15097 * libio/genops.c: Check whether
15098 _IO_JUMPS_OFFSET is defined with #ifdef rather
15099 than #if.
15100 * libio/libioP.h: Likewise.
15101 * stdio-common/vfprintf.c: Likewise.
15102
53f1bed3
WN
15103 * sysdeps/generic/ldsodefs.h: Check whether
15104 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15105 than #if.
15106
788bba36
WN
15107 * nptl/sysdeps/pthread/pthread.h: Check
15108 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15109 its value.
15110
fcd89ebe
SP
151112014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
ae42bbc5
SP
15113 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15114 setting O_APPEND.
15115 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15116 test case.
15117
ea33158c
SP
15118 [BZ #16680]
15119 * libio/fileops.c (_IO_file_open): Seek to end of file but
15120 don't cache the offset.
15121 (get_file_offset): Remove function.
15122 (do_ftell): Use cached offset when available.
15123 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15124 don't cache the offset.
15125 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15126 case.
15127 (do_one_test): Call it.
15128 (do_ftell_test): Fix up expected old offset for a+ mode.
15129 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15130 available.
15131
b1dbb426
SP
15132 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15133 up test status with function return status.
15134 (do_write_test): Likewise.
15135 (do_append_test): Likewise.
15136
fcd89ebe
SP
15137 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15138 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15139 Remove.
15140
9962a2d3
JM
151412014-03-17 Joseph Myers <joseph@codesourcery.com>
15142
15143 * math/gen-libm-test.pl (parse_args): Handle results specified for
15144 each rounding mode separately.
15145 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15146 tests and results from lrint_tonearest_test_data,
15147 lrint_towardzero_test_data, lrint_downward_test_data and
15148 lrint_upward_test_data.
15149 (lrint_test): Use ALL_RM_TEST.
15150 (lrint_tonearest_test_data): Remove.
15151 (lrint_test_tonearest): Likewise.
15152 (lrint_towardzero_test_data): Likewise.
15153 (lrint_test_towardzero): Likewise.
15154 (lrint_downward_test_data): Likewise.
15155 (lrint_test_downward): Likewise.
15156 (lrint_upward_test_data): Likewise.
15157 (lrint_test_upward): Likewise.
15158 (llrint_test_data): Merge in per-rounding-mode tests and results
15159 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15160 llrint_downward_test_data and llrint_upward_test_data.
15161 (llrint_test): Use ALL_RM_TEST.
15162 (llrint_tonearest_test_data): Remove.
15163 (llrint_test_tonearest): Likewise.
15164 (llrint_towardzero_test_data): Likewise.
15165 (llrint_test_towardzero): Likewise.
15166 (llrint_downward_test_data): Likewise.
15167 (llrint_test_downward): Likewise.
15168 (llrint_upward_test_data): Likewise.
15169 (llrint_test_upward): Likewise.
15170 (rint_test_data): Merge in per-rounding-mode tests and results
15171 from rint_tonearest_test_data, rint_towardzero_test_data,
15172 rint_downward_test_data and rint_upward_test_data. Add
15173 per-rounding-mode results for tests not in those arrays.
15174 (rint_test): Use ALL_RM_TEST.
15175 (rint_tonearest_test_data): Remove.
15176 (rint_test_tonearest): Likewise.
15177 (rint_towardzero_test_data): Likewise.
15178 (rint_test_towardzero): Likewise.
15179 (rint_downward_test_data): Likewise.
15180 (rint_test_downward): Likewise.
15181 (rint_upward_test_data): Likewise.
15182 (rint_test_upward): Likewise.
15183 (main): Don't call removed functions.
15184
5006148e
RM
151852014-03-14 Roland McGrath <roland@hack.frob.com>
15186
15187 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15188 "Compiled on ..." crapola. It is anti-useful.
15189
d6fe5e58
JM
151902014-03-14 Joseph Myers <joseph@codesourcery.com>
15191
15192 * scripts/evaluate-test.sh: Handle fourth argument to determine
15193 whether test run should stop on failure.
15194 * Makeconfig (stop-on-test-failure): New variable.
15195 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15196 $(stop-on-test-failure).
15197 * Makefile (tests): Give a summary of results from testing and
15198 exit with failure status if they include an ERROR or FAIL.
15199 (xtests): Likewise.
15200 * manual/install.texi (Configuring and compiling): Mention
15201 stop-on-test-failure=y.
15202 * INSTALL: Regenerated.
15203
498a2233
RM
152042014-03-14 Roland McGrath <roland@hack.frob.com>
15205
22dbc19d
RM
15206 * scripts/versionlist.awk: New file.
15207 * Makerules [$(build-shared) = yes]
15208 (postclean-generated): Add Versions.def, not Versions.def.v and
15209 Versions.def.v.i.
15210 ($(common-objpfx)Versions.def.v.i): Target removed.
15211 ($(common-objpfx)Versions.def): New target.
15212 ($(common-objpfx)Versions.all): Depend on that rather that
15213 $(common-objpfx)Versions.def.v.
15214 * Versions.def: File removed.
15215
498a2233
RM
15216 * Makeconfig (+gccwarn): Add -Wundef.
15217 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15218 a dl-sysdep.h breaking its contract.
15219 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15220 * include/stackinfo.h: New file.
15221 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15222 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15223 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15224 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15225 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15226 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15227 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15228 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15229 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15230 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15231 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15232 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15233 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15234 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15235 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15236
c7de5025
AZ
152372014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15238
15239 [BZ #16707]
15240 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15241 implementation.
15242 * math/libm-test.inc (round_test_data): Add more tests.
15243
98fb27a3
AZ
15244 [BZ #16706]
15245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15246 implementation.
15247 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15248
374f7f61
AZ
15249 [BZ #16701]
15250 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15251 implementation.
15252 * math/libm-test.inc (ceil_test_data): Add more tests.
15253
4655c291
AZ
15254 * math/libm-test.inc (trunc_test_data): Add more tests related to
15255 BZ#16414.
15256
d7329d4b
RM
152572014-03-14 Roland McGrath <roland@hack.frob.com>
15258
15259 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15260 with #if rather than #ifdef.
15261 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15262
aa4de9ce
L
152632014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15266 first. Disable AVX-512 GCC support if assembler doesn't support
15267 it.
15268 * sysdeps/x86_64/configure: Regenerated.
15269
2e03fae7
CD
152702014-03-13 Carlos O'Donell <carlos@redhat.com>
15271
15272 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15273 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15274 (__old_pthread_attr_setstack): Likewise.
15275 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15276 [!_STACK_GROWS_DOWN]: Likewise.
15277
43ca83ec
MF
152782014-03-13 Mike Frysinger <vapier@gentoo.org>
15279
15280 * config.make.in (have-bash2): Delete.
15281 * configure.ac (libc_cv_have_bash2): Delete.
15282 * configure: Regenerate.
15283 * elf/Makefile (common-ldd-rewrite): Rename to ...
15284 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15285 (sh-ldd-rewrite): Delete.
15286 (bash-ldd-rewrite): Delete.
15287 (have-bash2): Delete checks.
57f41c40
AS
15288 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15289 ldd-rewrite.
c66e48b4
MF
15290
15291 * config.make.in (have-ksh): Delete.
15292 (KSH): Delete.
15293 * configure.ac (libc_cv_have_ksh): Delete.
15294 * configure: Regenerate.
15295
b93834ef
MF
15296 * elf/Makefile: Delete $(have-ksh) check.
15297 ($(objpfx)sotruss): Change KSH to BASH.
15298 * elf/sotruss.ksh: Rename to ...
15299 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15300 function style to match POSIX. Drop ksh vim mode setting.
15301
f3a4632a
MF
15302 * manual/time.texi (Specifying the Time Zone with TZ): Change
15303 Tuesday to Thursday.
15304
5896c8bd
MF
15305 * debug/tst-longjmp_chk2.c: Update header comment.
15306 (stackoverflow_handler): Add comment. Call assert on pass value.
15307
2d63a517
IZ
153082014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15309
7e54fd04 15310 [BZ #16194]
2d63a517
IZ
15311 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15312 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15313 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15314 (La_x86_64_vector): Add zmm.
15315 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15316 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15317 ($(objpfx)tst-audit10): New target.
15318 ($(objpfx)tst-audit10.out): Likewise.
15319 (tst-audit10-ENV): New.
15320 (AVX512-CFLAGS): Likewise.
15321 (CFLAGS-tst-audit10.c): Likewise.
15322 (CFLAGS-tst-auditmod10a.c): Likewise.
15323 (CFLAGS-tst-auditmod10b.c): Likewise.
15324 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15325 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15326 * sysdeps/x86_64/configure: Regenerated.
15327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15328 AVX-512 zmm register support.
15329 (_dl_x86_64_save_sse): Likewise.
15330 (_dl_x86_64_restore_sse): Likewise.
15331 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15332 size vector registers.
15333 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15334 (ZMM_SIZE): Likewise.
15335 * sysdeps/x86_64/tst-audit10.c: New file.
15336 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15337 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15338
44c4e5d5
RM
153392014-03-13 Roland McGrath <roland@hack.frob.com>
15340
15341 * configure.ac (HAVE_EHDR_START): New check.
15342 * configure: Regenerated.
15343 * config.h.in (HAVE_EHDR_START): New #undef.
15344 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15345 assuming the lowest-addressed segment maps the start of the file.
15346
acd6e389
JM
153472014-03-13 Joseph Myers <joseph@codesourcery.com>
15348
15349 * INSTALL: Regenerated.
15350
6f918f36
WN
153512014-03-13 Will Newton <will.newton@linaro.org>
15352
15353 * manual/setjmp.texi (System V contexts): Improve
15354 clarity and grammar of documentation.
15355
798212a0
PP
153562014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15357
15358 [BZ #16381]
798212a0 15359 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15360 (tests-pie): Add tst-pie2.
798212a0
PP
15361 * elf/tst-pie2.c: New file.
15362 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15363 for ET_EXEC.
15364 * elf/rtld.c (map_doit): Load executable as lt_executable.
15365 (dl_main): Likewise.
15366
abe6d90c
JM
153672014-03-12 Joseph Myers <joseph@codesourcery.com>
15368
15369 [BZ #16642]
15370 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15371 (__ASSUME_PSELECT): Undefine.
15372
dd3946c6
AZ
153732014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15374
15375 [BZ #16689]
15376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15377 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15378 static build.
15379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15380 selector for static builds.
15381
c44496df
SP
153822014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15383
15384 [BZ #16695]
15385 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15386 key in the buffer.
15387
27c7220a
AZ
153882014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15389
57f41c40
AS
15390 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15391 IFUNC selector for static builds.
27c7220a 15392
600fa361
JM
153932014-03-11 Joseph Myers <joseph@codesourcery.com>
15394
76c96cf7
JM
15395 * sysdeps/mips/math_private.h [__mips_hard_float]
15396 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15397 libc_feresetround_mips_ctx.
15398 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15399 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15400 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15401
600fa361
JM
15402 [BZ #16677]
15403 * math/s_nextafter.c (__nextafter): Do not return value from
15404 overflowing computation.
15405 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15406 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15407 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15408 Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15410 Likewise.
15411 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15412 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15413
d7706c32
RM
154142014-03-11 Roland McGrath <roland@hack.frob.com>
15415
15416 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15417 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15418 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15419 the new mov targetting sp.
15420
4facea47
AZ
154212014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15422
15423 [BZ #16683]
15424 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15425 Define it for static builds as well.
15426 (NO_BZERO_IMPL): Likewise.
15427
e65caf1f
VR
154282014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15429
15430 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15431 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15432 multiarch strspn for PPC64.
15433 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15434 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15436 (__libc_ifunc_impl_list): Likewise.
15437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15438 multiarch optimizations
15439 * string/strspn.c (strspn): Using macro to redefine symbol name.
15440
ba9cc071
AZ
154412014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15442 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15443
15444 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15445 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15446 multiarch strncat for PPC64.
15447 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15448 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15450 (__libc_ifunc_impl_list): Likewise.
15451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15452 multiarch optimizations
15453
8b4ff974
SP
154542014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15455
15456 [BZ #16639]
15457 * nscd/nscd.service: Make service type forking.
15458
54b46a4b
AZ
154592014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15460
15461 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15462 sign in non default rounding modes.
15463 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15464
e9996ef7
JM
154652014-03-08 Joseph Myers <joseph@codesourcery.com>
15466
15467 * math/libm-test.inc (ALL_RM_TEST): New macro.
15468 (ceil_test): Use ALL_RM_TEST.
15469 (cimag_test): Likewise.
15470 (conj_test): Likewise.
15471 (copysign_test): Likewise.
15472 (cproj_test): Likewise.
15473 (creal_test): Likewise.
15474 (fabs_test): Likewise.
15475 (floor_test): Likewise.
15476 (fmax_test): Likewise.
15477 (fmin_test): Likewise.
15478 (fmod_test): Likewise.
15479 (fpclassify_test): Likewise.
15480 (frexp_test): Likewise.
15481 (ilogb_test): Likewise.
15482 (isfinite_test): Likewise.
15483 (finite_test): Likewise.
15484 (isgreater_test): Likewise.
15485 (isgreaterequal_test): Likewise.
15486 (isinf_test): Likewise.
15487 (isless_test): Likewise.
15488 (islessequal_test): Likewise.
15489 (islessgreater_test): Likewise.
15490 (isnan_test): Likewise.
15491 (isnormal_test): Likewise.
15492 (issignaling_test): Likewise.
15493 (isunordered_test): Likewise.
15494 (logb_test): Likewise.
15495 (logb_downward_test_data): Remove.
15496 (logb_test_downward): Likewise.
15497 (lround_test): Use ALL_RM_TEST.
15498 (llround_test): Likewise.
15499 (modf_test): Likewise.
15500 (nexttoward_test): Likewise.
15501 (remainder_test): Likewise.
15502 (drem_test): Likewise.
15503 (remainder_tonearest_test_data): Likewise.
15504 (remainder_test_tonearest): Likewise.
15505 (drem_test_tonearest): Likewise.
15506 (remainder_towardzero_test_data): Likewise.
15507 (remainder_test_towardzero): Likewise.
15508 (drem_test_towardzero): Likewise.
15509 (remainder_downward_test_data): Likewise.
15510 (remainder_test_downward): Likewise.
15511 (drem_test_downward): Likewise.
15512 (remainder_upward_test_data): Likewise.
15513 (remainder_test_upward): Likewise.
15514 (drem_test_upward): Likewise.
15515 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15516 (round_test): Use ALL_RM_TEST.
15517 (signbit_test): Likewise.
15518 (trunc_test): Likewise.
15519 (significand_test): Likewise.
15520 (main): Don't call removed functions.
15521
bc61d27c
JM
155222014-03-07 Joseph Myers <joseph@codesourcery.com>
15523
5c780849
JM
15524 [BZ #16674]
15525 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15526 || __USE_XOPEN2K8].
15527 (ILL_ILLOPN): Likewise.
15528 (ILL_ILLADR): Likewise.
15529 (ILL_ILLTRP): Likewise.
15530 (ILL_PRVOPC): Likewise.
15531 (ILL_PRVREG): Likewise.
15532 (ILL_COPROC): Likewise.
15533 (ILL_BADSTK): Likewise.
15534 (FPE_INTDIV): Likewise.
15535 (FPE_INTOVF): Likewise.
15536 (FPE_FLTDIV): Likewise.
15537 (FPE_FLTOVF): Likewise.
15538 (FPE_FLTUND): Likewise.
15539 (FPE_FLTRES): Likewise.
15540 (FPE_FLTINV): Likewise.
15541 (FPE_FLTSUB): Likewise.
15542 (SEGV_MAPERR): Likewise.
15543 (SEGV_ACCERR): Likewise.
15544 (BUS_ADRALN): Likewise.
15545 (BUS_ADRERR): Likewise.
15546 (BUS_OBJERR): Likewise.
15547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15548 (TRAP_TRACE): Likewise.
15549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15550 __USE_XOPEN2K8].
15551 (CLD_KILLED): Likewise.
15552 (CLD_DUMPED): Likewise.
15553 (CLD_TRAPPED): Likewise.
15554 (CLD_STOPPED): Likewise.
15555 (CLD_CONTINUED): Likewise.
15556 (POLL_IN): Likewise.
15557 (POLL_OUT): Likewise.
15558 (POLL_MSG): Likewise.
15559 (POLL_ERR): Likewise.
15560 (POLL_PRI): Likewise.
15561 (POLL_HUP): Likewise.
15562 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15563 Likewise.
15564 (ILL_ILLOPN): Likewise.
15565 (ILL_ILLADR): Likewise.
15566 (ILL_ILLTRP): Likewise.
15567 (ILL_PRVOPC): Likewise.
15568 (ILL_PRVREG): Likewise.
15569 (ILL_COPROC): Likewise.
15570 (ILL_BADSTK): Likewise.
15571 (FPE_INTDIV): Likewise.
15572 (FPE_INTOVF): Likewise.
15573 (FPE_FLTDIV): Likewise.
15574 (FPE_FLTOVF): Likewise.
15575 (FPE_FLTUND): Likewise.
15576 (FPE_FLTRES): Likewise.
15577 (FPE_FLTINV): Likewise.
15578 (FPE_FLTSUB): Likewise.
15579 (SEGV_MAPERR): Likewise.
15580 (SEGV_ACCERR): Likewise.
15581 (BUS_ADRALN): Likewise.
15582 (BUS_ADRERR): Likewise.
15583 (BUS_OBJERR): Likewise.
15584 (BUS_MCEERR_AR): Likewise.
15585 (BUS_MCEERR_AO): Likewise.
15586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15587 (TRAP_TRACE): Likewise.
15588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15589 __USE_XOPEN2K8].
15590 (CLD_KILLED): Likewise.
15591 (CLD_DUMPED): Likewise.
15592 (CLD_TRAPPED): Likewise.
15593 (CLD_STOPPED): Likewise.
15594 (CLD_CONTINUED): Likewise.
15595 (POLL_IN): Likewise.
15596 (POLL_OUT): Likewise.
15597 (POLL_MSG): Likewise.
15598 (POLL_ERR): Likewise.
15599 (POLL_PRI): Likewise.
15600 (POLL_HUP): Likewise.
15601 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15602 (ILL_ILLOPN): Likewise.
15603 (ILL_ILLADR): Likewise.
15604 (ILL_ILLTRP): Likewise.
15605 (ILL_PRVOPC): Likewise.
15606 (ILL_PRVREG): Likewise.
15607 (ILL_COPROC): Likewise.
15608 (ILL_BADSTK): Likewise.
15609 (FPE_INTDIV): Likewise.
15610 (FPE_INTOVF): Likewise.
15611 (FPE_FLTDIV): Likewise.
15612 (FPE_FLTOVF): Likewise.
15613 (FPE_FLTUND): Likewise.
15614 (FPE_FLTRES): Likewise.
15615 (FPE_FLTINV): Likewise.
15616 (FPE_FLTSUB): Likewise.
15617 (SEGV_MAPERR): Likewise.
15618 (SEGV_ACCERR): Likewise.
15619 (BUS_ADRALN): Likewise.
15620 (BUS_ADRERR): Likewise.
15621 (BUS_OBJERR): Likewise.
15622 (BUS_MCEERR_AR): Likewise.
15623 (BUS_MCEERR_AO): Likewise.
15624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15625 (TRAP_TRACE): Likewise.
15626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15627 __USE_XOPEN2K8].
15628 (CLD_KILLED): Likewise.
15629 (CLD_DUMPED): Likewise.
15630 (CLD_TRAPPED): Likewise.
15631 (CLD_STOPPED): Likewise.
15632 (CLD_CONTINUED): Likewise.
15633 (POLL_IN): Likewise.
15634 (POLL_OUT): Likewise.
15635 (POLL_MSG): Likewise.
15636 (POLL_ERR): Likewise.
15637 (POLL_PRI): Likewise.
15638 (POLL_HUP): Likewise.
15639 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15640 Likewise.
15641 (ILL_ILLOPN): Likewise.
15642 (ILL_ILLADR): Likewise.
15643 (ILL_ILLTRP): Likewise.
15644 (ILL_PRVOPC): Likewise.
15645 (ILL_PRVREG): Likewise.
15646 (ILL_COPROC): Likewise.
15647 (ILL_BADSTK): Likewise.
15648 (ILL_BADIADDR): Likewise.
15649 (ILL_BREAK): Likewise.
15650 (FPE_INTDIV): Likewise.
15651 (FPE_INTOVF): Likewise.
15652 (FPE_FLTDIV): Likewise.
15653 (FPE_FLTOVF): Likewise.
15654 (FPE_FLTUND): Likewise.
15655 (FPE_FLTRES): Likewise.
15656 (FPE_FLTINV): Likewise.
15657 (FPE_FLTSUB): Likewise.
15658 (FPE_DECOVF): Likewise.
15659 (FPE_DECDIV): Likewise.
15660 (FPE_DECERR): Likewise.
15661 (FPE_INVASC): Likewise.
15662 (FPE_INVDEC): Likewise.
15663 (SEGV_MAPERR): Likewise.
15664 (SEGV_ACCERR): Likewise.
15665 (SEGV_PSTKOVF): Likewise.
15666 (BUS_ADRALN): Likewise.
15667 (BUS_ADRERR): Likewise.
15668 (BUS_OBJERR): Likewise.
15669 (BUS_MCEERR_AR): Likewise.
15670 (BUS_MCEERR_AO): Likewise.
15671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15672 (TRAP_TRACE): Likewise.
15673 (TRAP_BRANCH): Likewise.
15674 (TRAP_HWBKPT): Likewise.
15675 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15676 __USE_XOPEN2K8].
15677 (CLD_KILLED): Likewise.
15678 (CLD_DUMPED): Likewise.
15679 (CLD_TRAPPED): Likewise.
15680 (CLD_STOPPED): Likewise.
15681 (CLD_CONTINUED): Likewise.
15682 (POLL_IN): Likewise.
15683 (POLL_OUT): Likewise.
15684 (POLL_MSG): Likewise.
15685 (POLL_ERR): Likewise.
15686 (POLL_PRI): Likewise.
15687 (POLL_HUP): Likewise.
15688 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15689 (ILL_ILLOPN): Likewise.
15690 (ILL_ILLADR): Likewise.
15691 (ILL_ILLTRP): Likewise.
15692 (ILL_PRVOPC): Likewise.
15693 (ILL_PRVREG): Likewise.
15694 (ILL_COPROC): Likewise.
15695 (ILL_BADSTK): Likewise.
15696 (FPE_INTDIV): Likewise.
15697 (FPE_INTOVF): Likewise.
15698 (FPE_FLTDIV): Likewise.
15699 (FPE_FLTOVF): Likewise.
15700 (FPE_FLTUND): Likewise.
15701 (FPE_FLTRES): Likewise.
15702 (FPE_FLTINV): Likewise.
15703 (FPE_FLTSUB): Likewise.
15704 (SEGV_MAPERR): Likewise.
15705 (SEGV_ACCERR): Likewise.
15706 (BUS_ADRALN): Likewise.
15707 (BUS_ADRERR): Likewise.
15708 (BUS_OBJERR): Likewise.
15709 (BUS_MCEERR_AR): Likewise.
15710 (BUS_MCEERR_AO): Likewise.
15711 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15712 (TRAP_TRACE): Likewise.
15713 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15714 __USE_XOPEN2K8].
15715 (CLD_KILLED): Likewise.
15716 (CLD_DUMPED): Likewise.
15717 (CLD_TRAPPED): Likewise.
15718 (CLD_STOPPED): Likewise.
15719 (CLD_CONTINUED): Likewise.
15720 (POLL_IN): Likewise.
15721 (POLL_OUT): Likewise.
15722 (POLL_MSG): Likewise.
15723 (POLL_ERR): Likewise.
15724 (POLL_PRI): Likewise.
15725 (POLL_HUP): Likewise.
15726 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15727 (ILL_ILLOPN): Likewise.
15728 (ILL_ILLADR): Likewise.
15729 (ILL_ILLTRP): Likewise.
15730 (ILL_PRVOPC): Likewise.
15731 (ILL_PRVREG): Likewise.
15732 (ILL_COPROC): Likewise.
15733 (ILL_BADSTK): Likewise.
15734 (FPE_INTDIV): Likewise.
15735 (FPE_INTOVF): Likewise.
15736 (FPE_FLTDIV): Likewise.
15737 (FPE_FLTOVF): Likewise.
15738 (FPE_FLTUND): Likewise.
15739 (FPE_FLTRES): Likewise.
15740 (FPE_FLTINV): Likewise.
15741 (FPE_FLTSUB): Likewise.
15742 (SEGV_MAPERR): Likewise.
15743 (SEGV_ACCERR): Likewise.
15744 (BUS_ADRALN): Likewise.
15745 (BUS_ADRERR): Likewise.
15746 (BUS_OBJERR): Likewise.
15747 (BUS_MCEERR_AR): Likewise.
15748 (BUS_MCEERR_AO): Likewise.
15749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15750 (TRAP_TRACE): Likewise.
15751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15752 __USE_XOPEN2K8].
15753 (CLD_KILLED): Likewise.
15754 (CLD_DUMPED): Likewise.
15755 (CLD_TRAPPED): Likewise.
15756 (CLD_STOPPED): Likewise.
15757 (CLD_CONTINUED): Likewise.
15758 (POLL_IN): Likewise.
15759 (POLL_OUT): Likewise.
15760 (POLL_MSG): Likewise.
15761 (POLL_ERR): Likewise.
15762 (POLL_PRI): Likewise.
15763 (POLL_HUP): Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15765 (ILL_ILLOPN): Likewise.
15766 (ILL_ILLADR): Likewise.
15767 (ILL_ILLTRP): Likewise.
15768 (ILL_PRVOPC): Likewise.
15769 (ILL_PRVREG): Likewise.
15770 (ILL_COPROC): Likewise.
15771 (ILL_BADSTK): Likewise.
15772 (FPE_INTDIV): Likewise.
15773 (FPE_INTOVF): Likewise.
15774 (FPE_FLTDIV): Likewise.
15775 (FPE_FLTOVF): Likewise.
15776 (FPE_FLTUND): Likewise.
15777 (FPE_FLTRES): Likewise.
15778 (FPE_FLTINV): Likewise.
15779 (FPE_FLTSUB): Likewise.
15780 (SEGV_MAPERR): Likewise.
15781 (SEGV_ACCERR): Likewise.
15782 (BUS_ADRALN): Likewise.
15783 (BUS_ADRERR): Likewise.
15784 (BUS_OBJERR): Likewise.
15785 (BUS_MCEERR_AR): Likewise.
15786 (BUS_MCEERR_AO): Likewise.
15787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15788 (TRAP_TRACE): Likewise.
15789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15790 __USE_XOPEN2K8].
15791 (CLD_KILLED): Likewise.
15792 (CLD_DUMPED): Likewise.
15793 (CLD_TRAPPED): Likewise.
15794 (CLD_STOPPED): Likewise.
15795 (CLD_CONTINUED): Likewise.
15796 (POLL_IN): Likewise.
15797 (POLL_OUT): Likewise.
15798 (POLL_MSG): Likewise.
15799 (POLL_ERR): Likewise.
15800 (POLL_PRI): Likewise.
15801 (POLL_HUP): Likewise.
15802 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15803 (ILL_ILLOPN): Likewise.
15804 (ILL_ILLADR): Likewise.
15805 (ILL_ILLTRP): Likewise.
15806 (ILL_PRVOPC): Likewise.
15807 (ILL_PRVREG): Likewise.
15808 (ILL_COPROC): Likewise.
15809 (ILL_BADSTK): Likewise.
15810 (ILL_DBLFLT): Likewise.
15811 (ILL_HARDWALL): Likewise.
15812 (FPE_INTDIV): Likewise.
15813 (FPE_INTOVF): Likewise.
15814 (FPE_FLTDIV): Likewise.
15815 (FPE_FLTOVF): Likewise.
15816 (FPE_FLTUND): Likewise.
15817 (FPE_FLTRES): Likewise.
15818 (FPE_FLTINV): Likewise.
15819 (FPE_FLTSUB): Likewise.
15820 (SEGV_MAPERR): Likewise.
15821 (SEGV_ACCERR): Likewise.
15822 (BUS_ADRALN): Likewise.
15823 (BUS_ADRERR): Likewise.
15824 (BUS_OBJERR): Likewise.
15825 (BUS_MCEERR_AR): Likewise.
15826 (BUS_MCEERR_AO): Likewise.
15827 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15828 (TRAP_TRACE): Likewise.
15829 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15830 __USE_XOPEN2K8].
15831 (CLD_KILLED): Likewise.
15832 (CLD_DUMPED): Likewise.
15833 (CLD_TRAPPED): Likewise.
15834 (CLD_STOPPED): Likewise.
15835 (CLD_CONTINUED): Likewise.
15836 (POLL_IN): Likewise.
15837 (POLL_OUT): Likewise.
15838 (POLL_MSG): Likewise.
15839 (POLL_ERR): Likewise.
15840 (POLL_PRI): Likewise.
15841 (POLL_HUP): Likewise.
15842 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15843 (ILL_ILLOPN): Likewise.
15844 (ILL_ILLADR): Likewise.
15845 (ILL_ILLTRP): Likewise.
15846 (ILL_PRVOPC): Likewise.
15847 (ILL_PRVREG): Likewise.
15848 (ILL_COPROC): Likewise.
15849 (ILL_BADSTK): Likewise.
15850 (FPE_INTDIV): Likewise.
15851 (FPE_INTOVF): Likewise.
15852 (FPE_FLTDIV): Likewise.
15853 (FPE_FLTOVF): Likewise.
15854 (FPE_FLTUND): Likewise.
15855 (FPE_FLTRES): Likewise.
15856 (FPE_FLTINV): Likewise.
15857 (FPE_FLTSUB): Likewise.
15858 (SEGV_MAPERR): Likewise.
15859 (SEGV_ACCERR): Likewise.
15860 (BUS_ADRALN): Likewise.
15861 (BUS_ADRERR): Likewise.
15862 (BUS_OBJERR): Likewise.
15863 (BUS_MCEERR_AR): Likewise.
15864 (BUS_MCEERR_AO): Likewise.
15865 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15866 (TRAP_TRACE): Likewise.
15867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15868 __USE_XOPEN2K8].
15869 (CLD_KILLED): Likewise.
15870 (CLD_DUMPED): Likewise.
15871 (CLD_TRAPPED): Likewise.
15872 (CLD_STOPPED): Likewise.
15873 (CLD_CONTINUED): Likewise.
15874 (POLL_IN): Likewise.
15875 (POLL_OUT): Likewise.
15876 (POLL_MSG): Likewise.
15877 (POLL_ERR): Likewise.
15878 (POLL_PRI): Likewise.
15879 (POLL_HUP): Likewise.
15880 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15881 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15882
bc61d27c
JM
15883 [BZ #16670]
15884 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15885 before #include of <time.h>.
15886 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15887 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15888 (test-xfail-UNIX98/sched.h/conform): Likewise.
15889
302949e2
MS
158902014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15891
15892 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15893 error absence of trapping exception support.
15894 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15895
a00f522a
JM
158962014-03-07 Joseph Myers <joseph@codesourcery.com>
15897
6f99f280
JM
15898 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15899 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15900 * timezone/Makefile (testdata): Move definition above include of
15901 Rules.
15902 (test-zones): New variable.
15903 (tests-special): Add zone files.
15904 (build-testdata): Use $(evaluate-test).
15905
0b20a9e8
JM
15906 * elf/Makefile (tests-special): Rename tests to end with .out.
15907 ($(objpfx)noload-mem): Likewise.
15908 ($(objpfx)tst-leaks1-mem): Likewise.
15909 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15910 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15911 $(objpfx)test-iconvconfig.out.
15912 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15913 set -e inside subshell and redirect output to file.
15914 * iconvdata/Makefile (generated): Rename tests to end with .out.
15915 Correct type.
15916 (tests-special): Rename tests to end with .out.
15917 ($(objpfx)mtrace-tst-loading): Likewise.
15918 * intl/Makefile (generated): Likewise.
15919 (tests-special): Likewise.
15920 ($(objpfx)mtrace-tst-gettext): Likewise.
15921 * misc/Makefile (generated): Likewise.
15922 (tests-special): Likewise.
15923 ($(objpfx)tst-error1-mem): Likewise.
15924 * nptl/Makefile (tests-special): Likewise.
15925 ($(objpfx)tst-stack3-mem): Likewise.
15926 (generated): Likewise.
15927 * posix/Makefile (generated): Likewise.
15928 (tests-special): Likewise.
15929 (xtests-special): Likewise.
15930 ($(objpfx)tst-fnmatch-mem): Likewise.
15931 ($(objpfx)bug-regex2-mem): Likewise.
15932 ($(objpfx)bug-regex14-mem): Likewise.
15933 ($(objpfx)bug-regex21-mem): Likewise.
15934 ($(objpfx)bug-regex31-mem): Likewise.
15935 ($(objpfx)tst-vfork3-mem): Likewise.
15936 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15937 ($(objpfx)tst-pcre-mem): Likewise.
15938 ($(objpfx)tst-boost-mem): Likewise.
15939 ($(objpfx)bug-ga2-mem): Likewise.
15940 ($(objpfx)bug-glob2-mem): Likewise.
15941 * resolv/Makefile (generate): Likewise.
15942 (tests-special): Likewise.
15943 (xtests-special): Likewise.
15944 (generated): Likewise.
15945 ($(objpfx)mtrace-tst-leaks): Likewise.
15946 ($(objpfx)mtrace-tst-leaks2): Likewise.
15947
265d52ab
JM
15948 * scripts/merge-test-results.sh: New file.
15949 * Makefile (tests-special-notdir): New variable.
15950 (tests): Run merge-test-results.sh.
15951 (xtests): Likewise.
15952 * Rules (tests-special-notdir): New variable.
15953 (xtests-special-notdir): Likewise.
15954 (tests): Run merge-test-results.sh
15955 (xtests): Likewise.
15956
54ee292d
JM
15957 * Makeconfig (test-xfail-name): New variable.
15958 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15959 compute variable name for expected failures.
15960 * conform/Makefile (conformtest-headers-data): New variable.
15961 (conformtest-standards): Likewise.
15962 (conformtest-headers-ISO): Likewise.
15963 (conformtest-headers-ISO99): Likewise.
15964 (conformtest-headers-ISO11): Likewise.
15965 (conformtest-headers-POSIX): Likewise.
15966 (conformtest-headers-XPG3): Likewise.
15967 (conformtest-headers-XPG4): Likewise.
15968 (conformtest-headers-UNIX98): Likewise.
15969 (conformtest-headers-XOPEN2K): Likewise.
15970 (conformtest-headers-POSIX2008): Likewise.
15971 (conformtest-headers-XOPEN2K8): Likewise.
15972 (conformtest-header-list-base): Likewise.
15973 (conformtest-header-list-tests): Likewise.
15974 (conformtest-header-base): Likewise.
15975 (conformtest-header-tests): Likewise.
15976 (tests-special): Add $(conformtest-header-list-tests). If
15977 [$(fast-check) && !$(cross-compiling)], add
15978 $(conformtest-header-tests) instead of
15979 $(objpfx)run-conformtest.out.
15980 (generated): Add $(conformtest-header-list-base). If
15981 [$(fast-check) && !$(cross-compiling)], add
15982 $(conformtest-header-base). Remove previous setting.
15983 ($(conformtest-header-list-tests)): New target.
15984 (test-xfail-run-conformtest): Remove variable.
15985 ($(objpfx)run-conformtest.out): Remove target.
15986 (test-xfail-ISO11/complex.h/conform): New variable.
15987 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15988 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15989 (test-xfail-XPG3/varargs.h/conform): Likewise.
15990 (test-xfail-XPG4/varargs.h/conform): Likewise.
15991 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15992 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15993 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15994 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15995 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15996 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15997 (test-xfail-XPG3/ftw.h/conform): Likewise.
15998 (test-xfail-XPG3/grp.h/conform): Likewise.
15999 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16000 (test-xfail-XPG3/limits.h/conform): Likewise.
16001 (test-xfail-XPG3/pwd.h/conform): Likewise.
16002 (test-xfail-XPG3/search.h/conform): Likewise.
16003 (test-xfail-XPG3/signal.h/conform): Likewise.
16004 (test-xfail-XPG3/stdio.h/conform): Likewise.
16005 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16006 (test-xfail-XPG3/string.h/conform): Likewise.
16007 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16008 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16009 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16010 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16011 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16012 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16013 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16014 (test-xfail-XPG3/termios.h/conform): Likewise.
16015 (test-xfail-XPG3/time.h/conform): Likewise.
16016 (test-xfail-XPG3/unistd.h/conform): Likewise.
16017 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16018 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16019 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16020 (test-xfail-XPG4/netdb.h/conform): Likewise.
16021 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16022 (test-xfail-XPG4/signal.h/conform): Likewise.
16023 (test-xfail-XPG4/stdio.h/conform): Likewise.
16024 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16025 (test-xfail-XPG4/stropts.h/conform): Likewise.
16026 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16027 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16028 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16029 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16030 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16031 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16032 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16033 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16034 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16035 (test-xfail-XPG4/termios.h/conform): Likewise.
16036 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16037 (test-xfail-XPG4/unistd.h/conform): Likewise.
16038 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16039 (test-xfail-POSIX/sched.h/conform): Likewise.
16040 (test-xfail-POSIX/signal.h/conform): Likewise.
16041 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16042 (test-xfail-POSIX/tar.h/conform): Likewise.
16043 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16044 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16045 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16046 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16047 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16048 (test-xfail-UNIX98/sched.h/conform): Likewise.
16049 (test-xfail-UNIX98/signal.h/conform): Likewise.
16050 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16051 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16052 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16053 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16054 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16055 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16056 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16057 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16058 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16059 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16060 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16061 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16062 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16063 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16064 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16065 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16066 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16067 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16068 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16069 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16070 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16071 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16072 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16073 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16074 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16075 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16076 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16077 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16078 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16079 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16080 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16081 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16082 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16083 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16084 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16085 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16086 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16087 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16088 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16089 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16090 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16091 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16092 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16093 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16094 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16095 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16096 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16097 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16098 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16099 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16100 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16101 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16102 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16103 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16104 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16105 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16106 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16107 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16108 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16109 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16110 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16111 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16112 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16113 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16114 (conformtest-cc-flags): Likewise.
16115 ($(conformtest-header-tests): New target.
16116 * conform/check-header-lists.sh: New file.
16117 * conform/run-conformtest.sh: Remove.
16118
a00f522a
JM
16119 * conform/conformtest.pl: Allow ' and \ in values given for
16120 constants.
16121 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16122 inclusion.
16123 [POSIX] (sys/types.h): Likewise.
16124 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16125 inclusion.
16126 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16127 inclusion.
16128 * conform/data/signal.h-data (SIGIO): Remove expectation.
16129 [XPG3] (SIGBUS): Do not expect.
16130 [POSIX || XPG3] (SIGPOLL): Likewise.
16131 [POSIX || XPG3] (SIGPROF): Likewise.
16132 [POSIX || XPG3] (SIGSYS): Likewise.
16133 [XPG3] (SIGTRAP): Likewise.
16134 [POSIX || XPG3] (SIGURG): Likewise.
16135 [POSIX || XPG3] (SIGVTALRM): Likewise.
16136 [POSIX || XPG3] (SIGXCPU): Likewise.
16137 [POSIX || XPG3] (SIGXFSZ): Likewise.
16138 [POSIX] (SA_SIGINFO): Expect.
16139 [XPG3] (siginfo_t): Do not expect type or contents.
16140 [POSIX] (si_pid): Do not expect element.
16141 [POSIX] (si_uid): Likewise.
16142 [POSIX] (si_addr): Likewise.
16143 [POSIX] (si_status): Likewise.
16144 [POSIX] (si_band): Likewise.
16145 [XPG4] (si_value): Likewise.
16146 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16147 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16148 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16149 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16150 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16151 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16152 [POSIX || XPG3] (ILL_COPROC): Likewise.
16153 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16154 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16155 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16156 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16157 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16158 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16159 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16160 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16161 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16162 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16163 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16164 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16165 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16166 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16167 [POSIX || XPG3] (CLD_EXITED): Likewise.
16168 [POSIX || XPG3] (CLD_KILLED): Likewise.
16169 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16170 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16171 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16172 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16173 [POSIX || XPG3] (POLL_IN): Likewise.
16174 [POSIX || XPG3] (POLL_OUT): Likewise.
16175 [POSIX || XPG3] (POLL_MSG): Likewise.
16176 [POSIX || XPG3] (POLL_ERR): Likewise.
16177 [POSIX || XPG3] (POLL_PRI): Likewise.
16178 [POSIX || XPG3] (POLL_HUP): Likewise.
16179 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16180 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16181 (SIG*): Do not allow.
16182 [XPG3] (si_*): Likewise.
16183 [XPG3] (SI_*): Likewise.
16184 [XPG3 || XPG4] (sigev_*): Likewise.
16185 [XPG3 || XPG4] (SIGEV_*): Likewise.
16186 [XPG3 || XPG4] (sival_*): Likewise.
16187 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16188 [POSIX || XPG3] (BUS_*): Likewise.
16189 [POSIX || XPG3] (CLD_*): Likewise.
16190 [POSIX || XPG3] (FPE_*): Likewise.
16191 [POSIX || XPG3] (ILL_*): Likewise.
16192 [POSIX || XPG3] (POLL_*): Likewise.
16193 [POSIX || XPG3] (SEGV_*): Likewise.
16194 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16195 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16196 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16197 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16198 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16199 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16200 Specify type and value.
16201 (TVERSLEN): Likewise.
16202 (REGTYPE): Likewise.
16203 (AREGTYPE): Likewise.
16204 (LNKTYPE): Likewise.
16205 (SYMTYPE): Likewise.
16206 (CHRTYPE): Likewise.
16207 (BLKTYPE): Likewise.
16208 (DIRTYPE): Likewise.
16209 (FIFOTYPE): Likewise.
16210 (CONTTYPE): Likewise.
16211 (TSUID): Likewise.
16212 (TSGID): Likewise.
16213 (TSVTX): Likewise.
16214 (TUREAD): Likewise.
16215 (TUWRITE): Likewise.
16216 (TUEXEC): Likewise.
16217 (TGREAD): Likewise.
16218 (TGWRITE): Likewise.
16219 (TGEXEC): Likewise.
16220 (TOREAD): Likewise.
16221 (TOWRITE): Likewise.
16222 (TOEXEC): Likewise.
16223 [POSIX] (TSVTX): Expect constant.
16224
aa97dee1
JM
162252014-03-06 Joseph Myers <joseph@codesourcery.com>
16226
f214606a
JM
16227 * Makefile (tests): Change dependencies to ....
16228 (tests-special): ... additions to this variable.
16229 (tests): Depend on $(tests-special).
16230 * Makerules (check-abi-list): New variable.
16231 (check-abi): Depend on $(check-abi-list).
16232 [$(subdir) = elf] (tests-special): Add
16233 $(objpfx)check-abi-libc.out.
16234 [$(build-shared) = yes && subdir] (tests-special): Add
16235 $(check-abi-list).
16236 [$(build-shared) = yes && subdir] (tests): Do not depend on
16237 check-abi.
16238 * Rules (tests): Depend on $(tests-special).
16239 (xtests): Depend on $(xtests-special).
16240 * catgets/Makefile (tests): Change dependencies to ....
16241 (tests-special): ... additions to this variable.
16242 * conform/Makefile (tests): Change dependencies to ....
16243 (tests-special): ... additions to this variable.
16244 * elf/Makefile (tests): Change dependencies to ....
16245 (tests-special): ... additions to this variable.
16246 * grp/Makefile (tests): Change dependencies to ....
16247 (tests-special): ... additions to this variable.
16248 * iconv/Makefile (xtests): Change dependencies to ....
16249 (xtests-special): ... additions to this variable.
16250 * iconvdata/Makefile (tests): Change dependencies to ....
16251 (tests-special): ... additions to this variable.
16252 * intl/Makefile (tests): Change dependencies to ....
16253 (tests-special): ... additions to this variable. Also add
16254 $(objpfx)tst-gettext.out.
16255 * io/Makefile (tests): Change dependencies to ....
16256 (tests-special): ... additions to this variable.
16257 * libio/Makefile (tests): Change dependencies to ....
16258 (tests-special): ... additions to this variable.
16259 * malloc/Makefile (tests): Change dependencies to ....
16260 (tests-special): ... additions to this variable.
16261 * misc/Makefile (tests): Change dependencies to ....
16262 (tests-special): ... additions to this variable.
16263 * nptl/Makefile (tests): Change dependencies to ....
16264 (tests-special): ... additions to this variable.
16265 * nptl_db/Makefile (tests): Change dependencies to ....
16266 (tests-special): ... additions to this variable.
16267 * posix/Makefile (tests): Change dependencies to ....
16268 (tests-special): ... additions to this variable.
16269 (xtests): Change dependencies to ....
16270 (xtests-special): ... additions to this variable.
16271 * resolv/Makefile (tests): Change dependencies to ....
16272 (tests-special): ... additions to this variable.
16273 (xtests): Change dependencies to ....
16274 (xtests-special): ... additions to this variable.
16275 * stdio-common/Makefile (tests): Change dependencies to ....
16276 (tests-special): ... additions to this variable.
16277 (do-tst-unbputc): Remove target.
16278 (do-tst-printf): Likewise.
16279 * stdlib/Makefile (tests): Change dependencies to ....
16280 (tests-special): ... additions to this variable.
16281 * string/Makefile (tests): Change dependencies to ....
16282 (tests-special): ... additions to this variable.
16283 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16284 (tests-special): ... additions to this variable.
16285
81700b53
JM
16286 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16287 whole file.
16288 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16289 whole file.
16290 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16291 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16292
2ea18461
JM
16293 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16294 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16295 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16296 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16297 * conform/data/libgen.h-data [XPG3]: Likewise.
16298 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16299 * conform/data/ndbm.h-data [XPG3]: Likewise.
16300 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16301 * conform/data/netdb.h-data [XPG3]: Likewise.
16302 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16303 * conform/data/poll.h-data [XPG3]: Likewise.
16304 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16305 * conform/data/strings.h-data [XPG3]: Likewise.
16306 * conform/data/stropts.h-data [XPG3]: Likewise.
16307 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16308 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16309 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16310 Likewise.
16311 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16312 * conform/data/sys/time.h-data [XPG3]: Likewise.
16313 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16314 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16315 * conform/data/sys/un.h-data [XPG3]: Likewise.
16316 * conform/data/syslog.h-data [XPG3]: Likewise.
16317 * conform/data/ucontext.h-data [XPG3]: Likewise.
16318 * conform/data/utmpx.h-data [XPG3]: Likewise.
16319 * conform/data/varargs.h-data [UNIX98]: Enable file.
16320
355bc986
JM
16321 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16322
215db402
JM
16323 * math/libm-test.inc (struct test_f_f_data): Move expected results
16324 into structure for each rounding mode.
16325 (struct test_ff_f_data): Likewise.
16326 (struct test_ff_f_data_nexttoward): Likewise.
16327 (struct test_fi_f_data): Likewise.
16328 (struct test_fl_f_data): Likewise.
16329 (struct test_if_f_data): Likewise.
16330 (struct test_fff_f_data): Likewise.
16331 (struct test_c_f_data): Likewise.
16332 (struct test_f_f1_data): Likewise.
16333 (struct test_fF_f1_data): Likewise.
16334 (struct test_ffI_f1_data): Likewise.
16335 (struct test_c_c_data): Likewise.
16336 (struct test_cc_c_data): Likewise.
16337 (struct test_f_i_data): Likewise.
16338 (struct test_ff_i_data): Likewise.
16339 (struct test_f_l_data): Likewise.
16340 (struct test_f_L_data): Likewise.
16341 (struct test_fFF_11_data): Likewise.
16342 (RM_): New macro.
16343 (RM_FE_DOWNWARD): Likewise.
16344 (RM_FE_TONEAREST): Likewise.
16345 (RM_FE_TOWARDZERO): Likewise.
16346 (RM_FE_UPWARD): Likewise.
16347 (RUN_TEST_LOOP_f_f): Update references to expected results.
16348 (RUN_TEST_LOOP_2_f): Likewise.
16349 (RUN_TEST_LOOP_fff_f): Likewise.
16350 (RUN_TEST_LOOP_c_f): Likewise.
16351 (RUN_TEST_LOOP_f_f1): Likewise.
16352 (RUN_TEST_LOOP_fF_f1): Likewise.
16353 (RUN_TEST_LOOP_fI_f1): Likewise.
16354 (RUN_TEST_LOOP_ffI_f1): Likewise.
16355 (RUN_TEST_LOOP_c_c): Likewise.
16356 (RUN_TEST_LOOP_cc_c): Likewise.
16357 (RUN_TEST_LOOP_f_i): Likewise.
16358 (RUN_TEST_LOOP_f_i_tg): Likewise.
16359 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16360 (RUN_TEST_LOOP_f_b): Likewise.
16361 (RUN_TEST_LOOP_f_b_tg): Likewise.
16362 (RUN_TEST_LOOP_f_l): Likewise.
16363 (RUN_TEST_LOOP_f_L): Likewise.
16364 (RUN_TEST_LOOP_fFF_11): Likewise.
16365 * math/gen-libm-test.pl (parse_args): Output four copies of
16366 expected results for each test.
16367
67737b8f
JM
16368 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16369 (__ASSUME_UTIMES): Remove.
16370 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16371 (__ASSUME_UTIMES): Likewise.
16372
aa97dee1
JM
16373 * math/gen-auto-libm-tests.c: Update comment on output format.
16374 (output_for_one_input_case): Generate before-rounding and
16375 after-rounding information as conditions on output flags not
16376 floating-point format.
16377 * math/auto-libm-test-out: Regenerated.
16378 * math/gen-libm-test.pl (cond_value): New function.
16379 (or_cond_value): Use cond_value.
16380 (generate_testfile): Handle conditional exceptions.
16381
e6b6a857
JM
163822014-03-05 Joseph Myers <joseph@codesourcery.com>
16383
2f0a0f44
JM
16384 * math/libm-test.inc (max_valid_error): New variable.
16385 (init_max_error): Take new argument specifying whether function
16386 results are exactly determined. Set max_valid_error and bound
16387 other variables for errors based on this argument.
16388 (set_max_error): Do not record results above max_valid_error.
16389 (check_float_internal): Only accept errors of up to 0.5ulps if
16390 also at most max_valid_error.
16391 (START): Take new argument EXACT and pass it to init_max_error.
16392 (acos_test): Update call to START.
16393 (acos_test_tonearest): Likewise.
16394 (acos_test_towardzero): Likewise.
16395 (acos_test_downward): Likewise.
16396 (acos_test_upward): Likewise.
16397 (acosh_test): Likewise.
16398 (asin_test): Likewise.
16399 (asin_test_tonearest): Likewise.
16400 (asin_test_towardzero): Likewise.
16401 (asin_test_downward): Likewise.
16402 (asin_test_upward): Likewise.
16403 (asinh_test): Likewise.
16404 (atan_test): Likewise.
16405 (atanh_test): Likewise.
16406 (atan2_test): Likewise.
16407 (cabs_test): Likewise.
16408 (cacos_test): Likewise.
16409 (cacosh_test): Likewise.
16410 (carg_test): Likewise.
16411 (casin_test): Likewise.
16412 (casinh_test): Likewise.
16413 (catan_test): Likewise.
16414 (catanh_test): Likewise.
16415 (cbrt_test): Likewise.
16416 (ccos_test): Likewise.
16417 (ccosh_test): Likewise.
16418 (ceil_test): Likewise.
16419 (cexp_test): Likewise.
16420 (cimag_test): Likewise.
16421 (clog_test): Likewise.
16422 (clog10_test): Likewise.
16423 (conj_test): Likewise.
16424 (copysign_test): Likewise.
16425 (cos_test): Likewise.
16426 (cos_test_tonearest): Likewise.
16427 (cos_test_towardzero): Likewise.
16428 (cos_test_downward): Likewise.
16429 (cos_test_upward): Likewise.
16430 (cosh_test): Likewise.
16431 (cosh_test_tonearest): Likewise.
16432 (cosh_test_towardzero): Likewise.
16433 (cosh_test_downward): Likewise.
16434 (cosh_test_upward): Likewise.
16435 (cpow_test): Likewise.
16436 (cproj_test): Likewise.
16437 (creal_test): Likewise.
16438 (csin_test): Likewise.
16439 (csinh_test): Likewise.
16440 (csqrt_test): Likewise.
16441 (ctan_test): Likewise.
16442 (ctan_test_tonearest): Likewise.
16443 (ctan_test_towardzero): Likewise.
16444 (ctan_test_downward): Likewise.
16445 (ctan_test_upward): Likewise.
16446 (ctanh_test): Likewise.
16447 (ctanh_test_tonearest): Likewise.
16448 (ctanh_test_towardzero): Likewise.
16449 (ctanh_test_downward): Likewise.
16450 (ctanh_test_upward): Likewise.
16451 (erf_test): Likewise.
16452 (erfc_test): Likewise.
16453 (exp_test): Likewise.
16454 (exp_test_tonearest): Likewise.
16455 (exp_test_towardzero): Likewise.
16456 (exp_test_downward): Likewise.
16457 (exp_test_upward): Likewise.
16458 (exp10_test): Likewise.
16459 (exp10_test_tonearest): Likewise.
16460 (exp10_test_towardzero): Likewise.
16461 (exp10_test_downward): Likewise.
16462 (exp10_test_upward): Likewise.
16463 (pow10_test): Likewise.
16464 (exp2_test): Likewise.
16465 (expm1_test): Likewise.
16466 (expm1_test_tonearest): Likewise.
16467 (expm1_test_towardzero): Likewise.
16468 (expm1_test_downward): Likewise.
16469 (expm1_test_upward): Likewise.
16470 (fabs_test): Likewise.
16471 (fdim_test): Likewise.
16472 (floor_test): Likewise.
16473 (fma_test): Likewise.
16474 (fma_test_towardzero): Likewise.
16475 (fma_test_downward): Likewise.
16476 (fma_test_upward): Likewise.
16477 (fmax_test): Likewise.
16478 (fmin_test): Likewise.
16479 (fmod_test): Likewise.
16480 (fpclassify_test): Likewise.
16481 (frexp_test): Likewise.
16482 (hypot_test): Likewise.
16483 (ilogb_test): Likewise.
16484 (isfinite_test): Likewise.
16485 (finite_test): Likewise.
16486 (isgreater_test): Likewise.
16487 (isgreaterequal_test): Likewise.
16488 (isinf_test): Likewise.
16489 (isless_test): Likewise.
16490 (islessequal_test): Likewise.
16491 (islessgreater_test): Likewise.
16492 (isnan_test): Likewise.
16493 (isnormal_test): Likewise.
16494 (issignaling_test): Likewise.
16495 (isunordered_test): Likewise.
16496 (j0_test): Likewise.
16497 (j1_test): Likewise.
16498 (jn_test): Likewise.
16499 (ldexp_test): Likewise.
16500 (lgamma_test): Likewise.
16501 (gamma_test): Likewise.
16502 (lrint_test): Likewise.
16503 (lrint_test_tonearest): Likewise.
16504 (lrint_test_towardzero): Likewise.
16505 (lrint_test_downward): Likewise.
16506 (lrint_test_upward): Likewise.
16507 (llrint_test): Likewise.
16508 (llrint_test_tonearest): Likewise.
16509 (llrint_test_towardzero): Likewise.
16510 (llrint_test_downward): Likewise.
16511 (llrint_test_upward): Likewise.
16512 (log_test): Likewise.
16513 (log10_test): Likewise.
16514 (log1p_test): Likewise.
16515 (log2_test): Likewise.
16516 (logb_test): Likewise.
16517 (logb_test_downward): Likewise.
16518 (lround_test): Likewise.
16519 (llround_test): Likewise.
16520 (modf_test): Likewise.
16521 (nearbyint_test): Likewise.
16522 (nextafter_test): Likewise.
16523 (nexttoward_test): Likewise.
16524 (pow_test): Likewise.
16525 (pow_test_tonearest): Likewise.
16526 (pow_test_towardzero): Likewise.
16527 (pow_test_downward): Likewise.
16528 (pow_test_upward): Likewise.
16529 (remainder_test): Likewise.
16530 (drem_test): Likewise.
16531 (remainder_test_tonearest): Likewise.
16532 (drem_test_tonearest): Likewise.
16533 (remainder_test_towardzero): Likewise.
16534 (drem_test_towardzero): Likewise.
16535 (remainder_test_downward): Likewise.
16536 (drem_test_downward): Likewise.
16537 (remainder_test_upward): Likewise.
16538 (drem_test_upward): Likewise.
16539 (remquo_test): Likewise.
16540 (rint_test): Likewise.
16541 (rint_test_tonearest): Likewise.
16542 (rint_test_towardzero): Likewise.
16543 (rint_test_downward): Likewise.
16544 (rint_test_upward): Likewise.
16545 (round_test): Likewise.
16546 (scalb_test): Likewise.
16547 (scalbn_test): Likewise.
16548 (scalbln_test): Likewise.
16549 (signbit_test): Likewise.
16550 (sin_test): Likewise.
16551 (sin_test_tonearest): Likewise.
16552 (sin_test_towardzero): Likewise.
16553 (sin_test_downward): Likewise.
16554 (sin_test_upward): Likewise.
16555 (sincos_test): Likewise.
16556 (sinh_test): Likewise.
16557 (sinh_test_tonearest): Likewise.
16558 (sinh_test_towardzero): Likewise.
16559 (sinh_test_downward): Likewise.
16560 (sinh_test_upward): Likewise.
16561 (sqrt_test): Likewise.
16562 (sqrt_test_tonearest): Likewise.
16563 (sqrt_test_towardzero): Likewise.
16564 (sqrt_test_downward): Likewise.
16565 (sqrt_test_upward): Likewise.
16566 (tan_test): Likewise.
16567 (tan_test_tonearest): Likewise.
16568 (tan_test_towardzero): Likewise.
16569 (tan_test_downward): Likewise.
16570 (tan_test_upward): Likewise.
16571 (tanh_test): Likewise.
16572 (tgamma_test): Likewise.
16573 (trunc_test): Likewise.
16574 (y0_test): Likewise.
16575 (y1_test): Likewise.
16576 (yn_test): Likewise.
16577 (significand_test): Likewise.
16578
e6b6a857
JM
16579 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16580 individual tests in comment.
16581 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16582 (prev_max_error): New variable.
16583 (prev_real_max_error): Likewise.
16584 (prev_imag_max_error): Likewise.
16585 (compare_ulp_data): Don't refer to test names in comment.
16586 (find_test_ulps): Remove function.
16587 (find_function_ulps): Likewise.
16588 (find_complex_function_ulps): Likewise.
16589 (init_max_error): Take function name as argument. Look up ulps
16590 for that function.
16591 (print_ulps): Remove function.
16592 (print_max_error): Use prev_max_error instead of calling
16593 find_function_ulps.
16594 (print_complex_max_error): Use prev_real_max_error and
16595 prev_imag_max_error instead of calling find_complex_function_ulps.
16596 (check_float_internal): Take max_ulp parameter instead of calling
16597 find_test_ulps. Don't call print_ulps.
16598 (check_float): Update call to check_float_internal.
16599 (check_complex): Update calls to check_float_internal.
16600 (START): Pass argument to init_max_error.
16601 * math/gen-libm-test.pl (%results): Don't include "kind"
16602 information.
16603 (parse_ulps): Don't handle ulps of individual tests.
16604 (print_ulps_file): Likewise.
16605 (output_ulps): Likewise.
16606 * math/README.libm-test: Update.
16607 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16608 individual tests.
16609 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16610 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16611 * sysdeps/arm/libm-test-ulps: Likewise.
16612 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16613 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16614 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16615 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16616 * sysdeps/microblaze/libm-test-ulps: Likewise.
16617 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16618 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16620 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16621 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16622 * sysdeps/sh/libm-test-ulps: Likewise.
16623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16624 * sysdeps/tile/libm-test-ulps: Likewise.
16625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16626
45adef3c
JM
166272014-03-04 Joseph Myers <joseph@codesourcery.com>
16628
16629 * math/libm-test.inc (print_complex_max_error): Check separately
16630 whether real and imaginary errors are within allowed range and
16631 pass 0 to print_complex_function_ulps instead of value within
16632 allowed range.
16633
000232b9
SP
166342014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16635
d4b17258
SP
16636 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16637 formatting.
16638 (get_handles_fopen): Likewise.
16639 (do_write_test): Likewise.
16640
091eff71
SP
16641 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16642
fa3cd248
SP
16643 * libio/fileops.c (do_ftell): Use cached offset when
16644 available.
16645 * libio/iofwide.c (do_ftell_wide): Likewise.
16646 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16647 _IO_file_attach.
16648 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16649
000232b9
SP
16650 [BZ #16532]
16651 * libio/libioP.h (get_file_offset): New function.
16652 * libio/fileops.c (get_file_offset): Likewise.
16653 (do_ftell): Likewise.
16654 (_IO_new_file_seekoff): Split out ftell logic.
16655 * libio/wfileops.c (do_ftell_wide): Likewise.
16656 (_IO_wfile_seekoff): Split out ftell logic.
16657 * libio/tst-ftell-active-handler.c: New test case.
16658 * libio/Makefile (tests): Add it.
16659
116f4d1a
RM
166602014-03-03 Roland McGrath <roland@hack.frob.com>
16661
16662 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16663 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16664
532a6035
SP
166652014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16666
16667 [BZ #16639]
16668 * nscd/connections.c (nscd_init): Call do_exit.
16669 (start_threads): Call do_exit and notify_parent.
16670 (begin_drop_privileges): Call do_exit.
16671 (finish_drop_privileges): Likewise.
16672 * nscd/selinux.c (preserve_capabilities): Likewise.
16673 (install_real_capabilities): Likewise.
16674 (nscd_selinux_enabled): Likewise.
16675 (avc_create_thread): Likewise.
16676 (avc_alloc_lock): Likewise.
16677 (nscd_avc_init): Likewise.
16678 * nscd/nscd.c (parent_fd): New static variable.
16679 (main): Create a pipe between parent and child processes.
16680 Skip closing parent_fd.
16681 (monitor_child): New function.
16682 (do_exit): Likewise.
16683 (notify_parent): Likewise.
16684 * nscd/nscd.h (notify_parent): Likewise.
16685 (do_exit): Likewise.
16686
d6285c9f
CD
166872014-03-03 Carlos O'Donell <carlos@redhat.com>
16688
16689 * malloc/malloc.c (__libc_calloc): Revert last change.
16690
2b85d2a0
AZ
166912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16692
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16694
c7debbdf
RS
166952014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16696
16697 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16699 implementation.
16700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16701 (__libc_ifunc_impl_list): Likewise.
16702 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16703 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16704 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16705 * string/strrchr.c: Define STRRCHR.
16706
235eed86
OB
167072014-02-28 Ondřej Bílka <neleai@seznam.cz>
16708
16709 * benchtest/bench-strtok.c (simple_strtok): Delete.
16710 (strtok_string): Use as benchmark.
16711 * string/strtok (STRTOK): New macro.
16712
8e25d1e7
CD
167132014-02-28 Carlos O'Donell <carlos@redhat.com>
16714
ef563f92
CD
16715 * manual/threads.texi: Add header and standard comments to all
16716 functions.
16717
8e25d1e7
CD
16718 * elf/dl-lookup.c (check_match): New function.
16719 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16720 (do_lookup_x): Remove nested function check_match. Use non-nested
16721 function check_match.
16722
ff71cc37
RM
167232014-02-28 Roland McGrath <roland@hack.frob.com>
16724
f08e9a26
RM
16725 * csu/Makefile (generated, before-compile): Use += rather than =.
16726 * catgets/Makefile (generated, generated-dirs): Likewise.
16727 * debug/Makefile (generated): Likewise.
16728 * dlfcn/Makefile (generated): Likewise.
16729 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16730 * iconvdata/Makefile (before-compile, generated): Likewise.
16731 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16732 * libio/Makefile (generated): Likewise.
16733 * malloc/Makefile (generated): Likewise.
16734 * manual/Makefile (generated, generated-dirs): Likewise.
16735 * misc/Makefile (generated): Likewise.
16736 * posix/Makefile (generated): Likewise.
16737 * resolv/Makefile (generated): Likewise.
16738 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16739 * timezone/Makefile (generated, generated-dirs): Likewise.
16740
ff71cc37
RM
16741 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16742
fe13a20c
AZ
167432014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16744
57f41c40
AS
16745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16746 power8 implementation.
16747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16748 file: POWER8 llround ifunc implementation.
16749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16750 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16751 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16752 POWER8 llround implementation.
16753
57f41c40
AS
16754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16755 power8 implementation.
16756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16757 file: POWER8 llrint ifunc implementation.
16758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16759 Add POWER8 implementation.
1ad8950a
AZ
16760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16761 POWER8 llrint implementation.
16762
57f41c40
AS
16763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16764 power8 implementation.
16765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16766 file: POWER8 finite ifunc implementation.
16767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16768 Add POWER8 implementation.
cac626d6
AZ
16769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16770 Likewise.
16771 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16772 POWER8 finite implementation.
16773 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16774
57f41c40
AS
16775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16776 power8 implementation.
16777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16778 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16780 POWER8 implementation.
16781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16782 Likewise.
57f41c40
AS
16783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16784 isinf implementation.
4393fc11
AZ
16785 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16786
57f41c40
AS
16787 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16788 (INIT_ARCH): Add hwcap2 initialization.
16789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16790 power8 implementation.
16791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16792 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16794 POWER8 implementation.
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16796 Likewise.
57f41c40
AS
16797 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16798 isnan implementation.
487972ae
AZ
16799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16800
7d92b787
JY
168012014-02-27 Joey Ye <joey.ye@arm.com>
16802
16803 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16804 (_FP_NANFRAC_Q): Set to zero.
16805
1cadc858
SP
168062014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16807
16808 [BZ #16623]
16809 * math/auto-libm-test-in: New test inputs.
16810 * math/auto-libm-test-out: Regenerate.
16811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16812 and DA.
16813 (__cos): Likewise.
16814 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16815
f8c17e79
JM
168162014-02-27 Joseph Myers <joseph@codesourcery.com>
16817
16818 * scripts/evaluate-test.sh: Take new argument indicating whether
16819 failure is expected.
16820 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16821 indicating whether failure is expected.
16822 * conform/Makefile (test-xfail-run-conformtest): New variable.
16823 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16824 level.
16825 * posix/Makefile (test-xfail-annexc): New variable.
16826 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16827
a5f891ac
JM
168282014-02-26 Joseph Myers <joseph@codesourcery.com>
16829
16830 * argp/Makefile: Include Makeconfig immediately after defining
16831 subdir.
16832 * assert/Makefile: Likewise.
16833 * benchtests/Makefile: Likewise.
16834 * catgets/Makefile: Likewise.
16835 * conform/Makefile: Likewise.
16836 * crypt/Makefile: Likewise.
16837 * csu/Makefile: Likewise.
16838 (all): Remove target.
16839 * ctype/Makefile: Include Makeconfig immediately after defining
16840 subdir.
16841 * debug/Makefile: Likewise.
16842 * dirent/Makefile: Likewise.
16843 * dlfcn/Makefile: Likewise.
16844 * gmon/Makefile: Likewise.
16845 * gnulib/Makefile: Likewise.
16846 * grp/Makefile: Likewise.
16847 * gshadow/Makefile: Likewise.
16848 * hesiod/Makefile: Likewise.
16849 * hurd/Makefile: Likewise.
16850 (all): Remove target.
16851 * iconvdata/Makefile: Include Makeconfig immediately after
16852 defining subdir.
16853 * inet/Makefile: Likewise.
16854 * intl/Makefile: Likewise.
16855 * io/Makefile: Likewise.
16856 * libio/Makefile: Likewise.
16857 (all): Remove target.
16858 * locale/Makefile: Include Makeconfig immediately after defining
16859 subdir.
16860 * login/Makefile: Likewise.
16861 * mach/Makefile: Likewise.
16862 (all): Remove target.
16863 * malloc/Makefile: Include Makeconfig immediately after defining
16864 subdir.
16865 (all): Remove target.
16866 * manual/Makefile: Include Makeconfig immediately after defining
16867 subdir.
16868 * math/Makefile: Likewise.
16869 * misc/Makefile: Likewise.
16870 * nis/Makefile: Likewise.
16871 * nss/Makefile: Likewise.
16872 * po/Makefile: Likewise.
16873 (all): Remove target.
16874 * posix/Makefile: Include Makeconfig immediately after defining
16875 subdir.
16876 * pwd/Makefile: Likewise.
16877 * resolv/Makefile: Likewise.
16878 * resource/Makefile: Likewise.
16879 * rt/Makefile: Likewise.
16880 * setjmp/Makefile: Likewise.
16881 * shadow/Makefile: Likewise.
16882 * signal/Makefile: Likewise.
16883 * socket/Makefile: Likewise.
16884 * soft-fp/Makefile: Likewise.
16885 * stdio-common/Makefile: Likewise.
16886 * stdlib/Makefile: Likewise.
16887 * streams/Makefile: Likewise.
16888 * string/Makefile: Likewise.
16889 * sunrpc/Makefile: Likewise.
16890 (all): Remove target.
16891 * sysvipc/Makefile: Include Makeconfig immediately after defining
16892 subdir.
16893 * termios/Makefile: Likewise.
16894 * time/Makefile: Likewise.
16895 * timezone/Makefile: Likewise.
16896 (all): Remove target.
16897 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16898 subdir.
16899 * wctype/Makefile: Likewise.
16900
5b456e9d
SE
169012014-02-26 Steve Ellcey <sellcey@mips.com>
16902
16903 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16904 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16905 (libc_feholdexcept_setround_mips): Ditto.
16906 (libc_feholdsetround): New.
16907 (libc_feholdsetroundf): New.
16908 (libc_feholdsetroundl): New.
16909 (libc_feupdateenv_test_mips): New.
16910 (libc_feupdateenv_test): New.
16911 (libc_feupdateenv_testf): New.
16912 (libc_feupdateenv_testl): New.
16913 (libc_feresetround): New.
16914 (libc_feresetroundf): New.
16915 (libc_feresetroundl): New.
16916 (libc_fetestexcept_mips): New.
16917 (libc_fetestexcept): New.
16918 (libc_fetestexceptf): New.
16919 (libc_fetestexceptl): New.
16920 (HAVE_RM_CTX): New.
16921 (libc_feholdexcept_setround_mips_ctx): New.
16922 (libc_feholdexcept_setround_ctx): New.
16923 (libc_feholdexcept_setroundf_ctx): New.
16924 (libc_feholdexcept_setroundl_ctx): New.
16925 (libc_fesetenv_mips_ctx): New.
16926 (libc_fesetenv_ctx): New.
16927 (libc_fesetenv_ctxf): New.
16928 (libc_fesetenv_ctxl): New.
16929 (libc_feupdateenv_mips_ctx): New.
16930 (libc_feupdateenv_ctx): New.
16931 (libc_feupdateenvf_ctx): New.
16932 (libc_feupdateenvl_ctx): New.
16933 (libc_feholdsetround_mips_ctx): New.
16934 (libc_feholdsetround_ctx): New.
16935 (libc_feholdsetroundf_ctx): New.
16936 (libc_feholdsetroundl_ctx): New.
16937 (libc_feresetround_mips_ctx): New.
16938 (libc_feresetround_ctx): New.
16939 (libc_feresetroundf_ctx): New.
16940 (libc_feresetroundl_ctx): New.
16941
085d0e35
CD
169422014-02-26 Carlos O'Donell <carlos@redhat.com>
16943
f067bf1f
CD
16944 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16945
085d0e35
CD
16946 * manual/ipc.texi: New file.
16947 * manual/Makefile (chapters): Add ipc.
16948 * manual/job.texi: Add "Inter-Process Communication" to next.
16949 * manual/process.texi: Add "Inter-Process Communication" to prev.
16950
86e58c08
AZ
169512014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952
16953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16954
4248f0da
OB
169552014-02-26 Ondřej Bílka <neleai@seznam.cz>
16956
16957 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16958
cf822e3c
OB
16959 * manual/arith.texi: Fix spaces after sentences.
16960 * manual/charset.texi: Likewise.
16961 * manual/errno.texi: Likewise.
16962 * manual/install.texi: Likewise.
16963 * manual/llio.texi: Likewise.
16964 * manual/locale.texi: Likewise.
16965 * manual/maint.texi: Likewise.
16966 * manual/math.texi: Likewise.
16967 * manual/memory.texi: Likewise.
16968 * manual/message.texi: Likewise.
16969 * manual/probes.texi: Likewise.
16970 * manual/resource.texi: Likewise.
16971 * manual/signal.texi: Likewise.
16972 * manual/socket.texi: Likewise.
16973 * manual/stdio.texi: Likewise.
16974 * manual/string.texi: Likewise.
16975 * manual/time.texi: Likewise.
16976 * manual/users.texi: Likewise.
16977
ade40b10
CD
169782014-02-25 Carlos O'Donell <carlos@redhat.com>
16979
16980 [BZ #16632]
16981 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16982 _DEFAULT_SOURCE is defined.
16983
d0503676
CD
169842014-02-25 Ulrich Drepper <drepper@gmail.com>
16985 Carlos O'Donell <carlos@redhat.com>
16986
16987 [BZ #16613]
16988 * elf/dl-tls.c (_dl_count_modids): New function.
16989 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16990 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16991 audit library and increment generation counter.
16992 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16993 * elf/tst-audit9.c: New file.
16994 * elf/tst-auditmod9a.c: New file.
16995 * elf/tst-auditmod9b.c: New file.
16996 * elf/Makefile: Add rules to build and run tst-audit9.
16997
4cbf380c
FW
169982014-02-25 Florian Weimer <fweimer@redhat.com>
16999
17000 [BZ #15347]
17001 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17002
80a56cc3
WN
170032014-02-25 Will Newton <will.newton@linaro.org>
17004
17005 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17006 (__longjmp): Restore sp and lr before restoring callee
17007 saved registers. Add longjmp and longjmp_target
17008 SystemTap probe point.
17009 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17010 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17011 Define to zero to match jmpbuf layout.
17012 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17013 (__sigsetjmp): Save sp and lr before saving callee
17014 saved registers. Add setjmp SystemTap probe point.
17015
3ea0f74e
SL
170162014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17017
17018 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17019
b04acb26
AS
170202014-02-24 Andreas Schwab <schwab@suse.de>
17021
17022 [BZ #15804]
17023 * elf/pldd.c (wait_for_ptrace_stop): New function.
17024 (main): Call it after attaching.
17025
098ad55c
RM
170262014-02-22 Roland McGrath <roland@hack.frob.com>
17027
d4ec6ae1
RM
17028 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17029 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17030 Versions files is now verboten.
17031 * hurd/Versions (libc: GLIBC_2.0):
17032 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17033 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17034 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17035 * mach/Versions: Likewise.
17036
098ad55c
RM
17037 * csu/Versions: Remove unused %include.
17038 * resolv/Versions: Likewise.
17039
acd7f096
JM
170402014-02-21 Joseph Myers <joseph@codesourcery.com>
17041
f0881698
JM
17042 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17043 ($(objpfx)check-local-headers.out): Likewise.
17044 ($(objpfx)begin-end-check.out): Likewise.
17045 * Makerules (check-abi-%.out): Likewise.
17046 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17047 ($(objpfx)test2.cat): Likewise.
17048 ($(objpfx)de/libc.cat): Likewise.
17049 ($(objpfx)test-gencat.out): Likewise.
17050 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17051 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17052 ($(objpfx)noload-mem): Likewise.
17053 ($(objpfx)tst-pathopt.out): Likewise.
17054 ($(objpfx)tst-rtld-load-self.out): Likewise.
17055 ($(objpfx)tst-array1-cmp.out): Likewise.
17056 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17057 ($(objpfx)tst-array2-cmp.out): Likewise.
17058 ($(objpfx)tst-array3-cmp.out): Likewise.
17059 ($(objpfx)tst-array4-cmp.out): Likewise.
17060 ($(objpfx)tst-array5-cmp.out): Likewise.
17061 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17062 ($(objpfx)check-textrel.out): Likewise.
17063 ($(objpfx)check-execstack.out): Likewise.
17064 ($(objpfx)check-localplt.out): Likewise.
17065 ($(objpfx)order2-cmp.out): Likewise.
17066 ($(objpfx)tst-leaks1-mem): Likewise.
17067 ($(objpfx)tst-leaks1-static-mem): Likewise.
17068 ($(objpfx)tst-initorder-cmp.out): Likewise.
17069 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17070 ($(objpfx)tst-unused-dep.out): Likewise.
17071 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17072 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17073 * iconv/Makefile (test-iconvconfig): Likewise.
17074 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17075 ($(objpfx)iconv-test.out): Likewise.
17076 ($(objpfx)tst-tables.out): Likewise.
17077 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17078 ($(objpfx)tst-gettext.out): Likewise.
17079 ($(objpfx)tst-translit.out): Likewise.
17080 ($(objpfx)tst-gettext2.out): Likewise.
17081 ($(objpfx)tst-gettext4.out): Likewise.
17082 ($(objpfx)tst-gettext6.out): Likewise.
17083 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17084 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17085 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17086 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17088 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17089 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17090 ($(objpfx)wordexp-tst.out): Likewise.
17091 ($(objpfx)annexc.out): Likewise.
17092 ($(objpfx)tst-fnmatch-mem): Likewise.
17093 ($(objpfx)bug-regex2-mem): Likewise.
17094 ($(objpfx)bug-regex14-mem): Likewise.
17095 ($(objpfx)bug-regex21-mem): Likewise.
17096 ($(objpfx)bug-regex31-mem): Likewise.
17097 ($(objpfx)tst-vfork3-mem): Likewise.
17098 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17099 ($(objpfx)tst-pcre-mem): Likewise.
17100 ($(objpfx)tst-boost-mem): Likewise.
17101 ($(objpfx)tst-getconf.out): Likewise.
17102 ($(objpfx)bug-ga2-mem): Likewise.
17103 ($(objpfx)bug-glob2-mem): Likewise.
17104 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17105 ($(objpfx)mtrace-tst-leaks2): Likewise.
17106 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17107 ($(objpfx)tst-printf.out): Likewise.
17108 ($(objpfx)tst-setvbuf1.out): Likewise.
17109 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17110 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17111 ($(objpfx)tst-fmtmsg.out): Likewise.
17112 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17113 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17114
acd7f096
JM
17115 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17116 * bits/sigaction.h [__USE_MISC]: Likewise.
17117 * bits/waitstatus.h: Update #endif comments.
17118 * ctype/ctype.h: Likewise.
17119 * dirent/dirent.h: Likewise.
17120 [__USE_MISC]: Remove redundant conditionals.
17121 * grp/grp.h: Update #endif comments.
17122 [__USE_GNU]: Remove redundant conditionals.
17123 [__USE_MISC]: Likewise.
17124 * inet/netinet/in.h [__USE_GNU]: Likewise.
17125 * io/sys/stat.h [__USE_MISC]: Likewise.
17126 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17127 * libio/bits/stdio.h: Update #endif comments.
17128 [__USE_MISC]: Remove redundant conditionals.
17129 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17130 * libio/stdio.h: Update #endif comments.
17131 [__USE_MISC]: Remove redundant conditionals.
17132 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17133 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17134 * math/math.h: Update #else and #endif comments.
17135 [__USE_MISC]: Remove redundant conditionals.
17136 * misc/sys/uio.h: Update #endif comments.
17137 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17138 * posix/glob.h [__USE_MISC]: Likewise.
17139 * posix/sys/types.h: Update #endif comments.
17140 [__USE_MISC]: Remove redundant conditionals.
17141 * posix/sys/wait.h: Update #endif comments.
17142 [__USE_MISC]: Remove redundant conditionals.
17143 * posix/unistd.h: Update #endif comments.
17144 [__USE_MISC]: Remove redundant conditionals.
17145 * pwd/pwd.h [__USE_GNU]: Likewise.
17146 [__USE_MISC]: Likewise.
17147 * resolv/netdb.h [__USE_GNU]: Likewise.
17148 * signal/signal.h: Update #endif comments.
17149 [__USE_MISC]: Remove redundant conditionals.
17150 * stdlib/stdlib.h: Update #else and #endif comments.
17151 [__USE_MISC]: Remove redundant conditionals.
17152 [__USE_GNU]: Likewise.
17153 * string/bits/string2.h [__USE_MISC]: Likewise.
17154 * string/string.h: Update #endif comments.
17155 [__USE_MISC]: Remove redundant conditionals.
17156 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17157 Likewise.
17158 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17159 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17160 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17161 Likewise.
17162 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17163 Likewise.
17164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17165 comments.
17166 [__USE_MISC]: Remove redundant conditionals.
17167 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17168 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17169 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17170 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17171 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17172 Likewise.
17173 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17174 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17175 Likewise.
17176 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17177 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17178 Likewise.
17179 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17180 Likewise.
17181 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17182 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17183 Likewise.
17184 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17185 Likewise.
17186 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17187 * sysdeps/x86/bits/string.h: Update #endif comments.
17188 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17189 conditionals.
17190 * time/sys/time.h: Update #endif comments.
17191 * time/time.h: Likewise.
17192 [__USE_MISC]: Remove redundant conditionals.
17193
a5d82e4e
YG
171942014-02-21 Yury Gribov <y.gribov@samsung.com>
17195
17196 [BZ #16600]
17197 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17198
9a80491d
AS
171992014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17200
17201 * Versions.def (librt): Add GLIBC_2.17.
17202
105fa381
AC
172032014-02-21 Adam Conrad <adconrad@0c3.net>
17204
17205 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17206 synonym for _SYS_AUXV_H to allow direct inclusion.
17207 * sysdeps/sparc/bits/hwcap.h: Likewise.
17208 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17209 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17210 * sysdeps/sparc/sysdep.h: Likewise.
17211
b8cd1c4e
SP
172122014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17213
17214 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17215
bd939d23
RS
172162014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17217
17218 * benchtests/bench-strrchr.c: Print length instead of position.
17219
5d7b57ca
JM
172202014-02-20 Joseph Myers <joseph@codesourcery.com>
17221
bc688c10
JM
17222 [BZ #16611]
17223 * sysdeps/unix/sysv/linux/kernel-features.h
17224 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17225 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17226 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17227 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17228 Likewise.
17229 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17230 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17231 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17232 (__ASSUME_SENDMMSG): Define instead of using previous
17233 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17234 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17235 (__ASSUME_SENDMMSG_SYSCALL): Define.
17236 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17237 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17238 Likewise.
17239 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17240 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17241 Likewise.
17242 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17243 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17244 Likewise.
17245 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17246 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17247 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17248 [__ASSUME_SENDMMSG]: Change conditionals to
17249 [__ASSUME_SENDMMSG_SOCKETCALL].
17250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17251 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17252 Define.
17253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17254 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17255 Likewise.
17256 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17257 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17258 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17259 [!__ASSUME_SENDMMSG]: Change conditional to
17260 [!__ASSUME_SENDMMSG_SOCKETCALL].
17261 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17262 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17263 Define.
17264
0e31b18c
JM
17265 [BZ #16610]
17266 * sysdeps/unix/sysv/linux/kernel-features.h
17267 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17268 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17269 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17270 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17271 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17272 [__i386__ || __sparc__]
17273 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17274 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17275 (__ASSUME_RECVMMSG): Define instead of using previous
17276 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17277 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17278 (__ASSUME_RECVMMSG_SYSCALL): Define.
17279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17280 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17281 Likewise.
17282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17284 Likewise.
17285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17286 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17287 Likewise.
17288 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17289 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17290 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17291 [__ASSUME_RECVMMSG]: Change condition to
17292 [__ASSUME_RECVMMSG_SOCKETCALL].
17293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17294 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17295 Define.
17296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17297 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17298 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17299 Likewise.
17300 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17301 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17302 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17303 [!__ASSUME_RECVMMSG]: Change condition to
17304 [!__ASSUME_RECVMMSG_SOCKETCALL].
17305 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17306 (__ASSUME_RECVMMSG_SYSCALL): Define.
17307
dd481ccf
JM
17308 [BZ #16609]
17309 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17310 __powerpc__ || __s390__ || __sh__ || __sparc__]
17311 (__ASSUME_SOCKETCALL): Define.
17312 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17313 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17314 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17315 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17316 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17317 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17318 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17319 (__ASSUME_ACCEPT4): Define instead of using previous
17320 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17321 __powerpc__ || __sparc__ || __s390__)] condition.
17322 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17323 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17324 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17325 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17326 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17327 [!__ASSUME_ACCEPT4]: Change condition to
17328 [!__ASSUME_ACCEPT4_SOCKETCALL].
17329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17330 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17331 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17333 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17334 __ASSUME_ACCEPT4_SYSCALL.
17335 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17336 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17337 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17338 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17339 __ASSUME_ACCEPT4_SYSCALL.
17340 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17341 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17342 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17343 [__ASSUME_ACCEPT4]: Change condition to
17344 [__ASSUME_ACCEPT4_SOCKETCALL].
17345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17346 (__ASSUME_SOCKETCALL): Define.
17347 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17349 (__ASSUME_SOCKETCALL): Define.
17350 (__ASSUME_ACCEPT4): Remove.
17351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17352 Define.
17353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17354 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17355 Likewise.
17356 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17357 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17358
5d7b57ca
JM
17359 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17360 macro.
17361 (HWCAP_ARM_LPAE): Likewise.
17362 (HWCAP_ARM_EVTSTRM): Likewise.
17363 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17364 Add vpfd32, lpae and evtstrm.
17365 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17366 Increase to 22.
17367
63689d61
JM
173682014-02-19 Joseph Myers <joseph@codesourcery.com>
17369
17370 * math/auto-libm-test-in: Add tests of clog10.
17371 * math/auto-libm-test-out: Regenerated.
17372 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17373 * sysdeps/i386/fpu/libm-test-ulps: Update.
17374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17375
ab09bf61
AS
173762014-02-18 Andreas Schwab <schwab@suse.de>
17377
17378 [BZ #16574]
17379 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17380 Store non-zero if the second buffer was newly allocated.
17381 (send_dg): Likewise.
17382 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17383 to send_vc and send_dg.
17384 (res_nsend): Pass NULL for ansp2_malloced.
17385 * resolv/res_query.c (__libc_res_nquery): Add parameter
17386 answerp2_malloced and pass it down to __libc_res_nsend.
17387 (res_nquery): Pass additional NULL to __libc_res_nquery.
17388 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17389 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17390 second answer buffer if answerp2_malloced was set.
17391 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17392 (__libc_res_nquerydomain): Add parameter
17393 answerp2_malloced and pass it down to __libc_res_nquery.
17394 (res_nquerydomain): Pass additional NULL to
17395 __libc_res_nquerydomain.
17396 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17397 additional NULL to __libc_res_nsend and __libc_res_nquery.
17398 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17399 additional NULL to __libc_res_nsearch.
17400 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17401 parameter of __libc_res_nsearch to check for separately allocated
17402 second buffer.
17403 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17404 __libc_res_nquery.
17405 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17406 additional NULL to __libc_res_nquery.
17407 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17408 __libc_res_nsearch.
17409 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17410 * include/resolv.h: Update prototypes of __libc_res_nquery,
17411 __libc_res_nsearch, __libc_res_nsend.
17412
a4fb7861
JM
174132014-02-18 Joseph Myers <joseph@codesourcery.com>
17414
c6af2d89
JM
17415 * math/auto-libm-test-in: Add tests of fma.
17416 * math/auto-libm-test-out: Regenerated.
17417 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17418 (fma_towardzero_test_data): Likewise.
17419 (fma_downward_test_data): Likewise.
17420 (fma_upward_test_data): Likewise.
17421 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17422 mpc_mode.
17423 (rounding_modes): Add values for new field.
17424 (func_calc_method): Add value mpfr_fff_f.
17425 (func_calc_desc): Add mpfr_fff_f union field.
17426 (test_function): Add field exact_args.
17427 (FUNC): Add macro argument EXACT_ARGS.
17428 (FUNC_mpfr_f_f): Update call to FUNC.
17429 (FUNC_mpfr_f_f): Likewise.
17430 (FUNC_mpfr_ff_f): Likewise.
17431 (FUNC_mpfr_if_f): Likewise.
17432 (FUNC_mpc_c_f): Likewise.
17433 (FUNC_mpc_c_c): Likewise.
17434 (test_functions): Add fma. Update calls to FUNC.
17435 (handle_input_arg): Add argument exact_args.
17436 (add_test): Update call to handle_input_arg.
17437 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17438 (output_for_one_input_case): Update call to calc_generic_results.
17439 Recalculate exact zero results in each rounding mode.
17440
a4fb7861
JM
17441 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17442 non-negative before setting low bit.
17443 * math/auto-libm-test-in: Mark one asin test possibly having
17444 spurious underflow.
17445 * math/auto-libm-test-out: Regenerated.
17446 * sysdeps/i386/fpu/libm-test-ulps: Update.
17447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17448
ef114eaf
DH
174492014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17450
2b7f4f2c
SP
17451 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17452 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17453 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17454 * README: Add missing listing for microblaze*-*-linux-gnu.
17455
8125aedc
AM
174562014-02-16 Ondřej Bílka <neleai@seznam.cz>
17457
17458 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17459 duplicate code
17460
c70a4b1d
MF
174612014-02-16 Mike Frysinger <vapier@gentoo.org>
17462
17463 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17464 * sysdeps/unix/sysv/linux/ia64: Move directory from
17465 ports/sysdeps/unix/sysv/linux/ia64.
17466 * README: Update listing for ia64-*-linux-gnu.
17467
591aeaf7
TD
174682014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17469 Joseph Myers <joseph@codesourcery.com>
17470
17471 * Makeconfig (test-name): New variable.
17472 (evaluate-test): Likewise.
17473 * Makerules (do-test-clean): Remove .test-result files.
17474 (common-mostlyclean): Likewise.
17475 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17476 * scripts/evaluate-test.sh: New file.
17477
6e89caf1
JM
174782014-02-14 Joseph Myers <joseph@codesourcery.com>
17479
7f98f180
JM
17480 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17481 separate $(objpfx)tst-fopenloc-cmp.out and
17482 $(objpfx)tst-fopenloc-mem.out targets.
17483 (tests): Update dependencies.
17484 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17485 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17486 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17487 (tst-rxspencer-no-utf8-ARGS): New variable.
17488 (tst-rxspencer-no-utf8-ENV): Likewise.
17489 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17490 instead of $(objpfx)tst-rxspencer-mem.
17491 ($(objpfx)tst-rxspencer-mem): Change target to
17492 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17493 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17494 * posix/tst-rxspencer-no-utf8.c: New file.
17495
6e89caf1
JM
17496 * elf/Makefile ($(objpfx)order.out): Remove rule.
17497 [$(run-built-tests) = yes] (tests): Depend on
17498 $(objpfx)order-cmp.out.
17499 ($(objpfx)order-cmp.out): New rule.
17500 [$(run-built-tests) = yes] (tests): Depend on
17501 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17502 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17503 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17504 $(objpfx)tst-array5-static-cmp.out.
17505 ($(objpfx)tst-array1.out): Remove rule.
17506 ($(objpfx)tst-array1-cmp.out): New rule.
17507 ($(objpfx)tst-array1-static.out): Remove rule.
17508 ($(objpfx)tst-array1-static-cmp.out): New rule.
17509 ($(objpfx)tst-array2.out): Remove rule.
17510 ($(objpfx)tst-array2-cmp.out): New rule.
17511 ($(objpfx)tst-array3.out): Remove rule.
17512 ($(objpfx)tst-array3-cmp.out): New rule.
17513 ($(objpfx)tst-array4.out): Remove rule.
17514 ($(objpfx)tst-array4-cmp.out): New rule.
17515 ($(objpfx)tst-array5.out): Remove rule.
17516 ($(objpfx)tst-array5-cmp.out): New rule.
17517 ($(objpfx)tst-array5-static.out): Remove rule.
17518 ($(objpfx)tst-array5-static-cmp.out): New rule.
17519 [$(run-built-tests) = yes] (tests): Depend on
17520 $(objpfx)order2-cmp.out.
17521 ($(objpfx)order2.out): Remove rule.
17522 ($(objpfx)order2-cmp.out): New rule.
17523 ($(objpfx)tst-initorder.out): Remove rule.
17524 [$(run-built-tests) = yes] (tests): Depend on
17525 $(objpfx)tst-initorder-cmp.out.
17526 ($(objpfx)tst-initorder-cmp.out): New rule.
17527 ($(objpfx)tst-initorder2.out): Remove rule.
17528 [$(run-built-tests) = yes] (tests): Depend on
17529 $(objpfx)tst-initorder2-cmp.out.
17530 ($(objpfx)tst-initorder2-cmp.out): New rule.
17531 [$(run-built-tests) = yes] (tests): Depend on
17532 $(objpfx)tst-unused-dep-cmp.out.
17533 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17534 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17535 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17536 on $(objpfx)tst-setvbuf1-cmp.out.
17537 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17538 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17539 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17540 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17541 ($(objpfx)tst-svc.out): Remove rule.
17542 ($(objpfx)tst-svc-cmp.out): New rule.
17543
ed9a38e2
JM
175442014-02-13 Joseph Myers <joseph@codesourcery.com>
17545
17546 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17547 * ctype/ctype.h [__USE_MISC]: Likewise.
17548 * dirent/dirent.h [__USE_MISC]: Likewise.
17549 * grp/grp.h [__USE_MISC]: Likewise.
17550 * io/fcntl.h [__USE_MISC]: Likewise.
17551 * io/sys/stat.h [__USE_MISC]: Likewise.
17552 * libio/stdio.h [__USE_MISC]: Likewise.
17553 * posix/unistd.h [__USE_MISC]: Likewise.
17554 * pwd/pwd.h [__USE_MISC]: Likewise.
17555 * stdlib.h [__USE_MISC]: Likewise.
17556 * string/bits/string2.h [__USE_MISC]: Likewise.
17557 * string/string.h [__USE_MISC]: Likewise.
17558 * time/time.h [__USE_MISC]: Likewise.
17559
d6680619
AS
175602014-02-13 Andreas Schwab <schwab@suse.de>
17561
17562 [BZ #16574]
17563 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17564 second answer buffer if it was separately allocated.
17565
ace614b8
JM
175662014-02-12 Joseph Myers <joseph@codesourcery.com>
17567
743151ae
JM
17568 * sysdeps/mips/math-tests.h: Include <features.h>.
17569 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17570 (ROUNDING_TESTS_long_double): Do not define.
17571 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17572 (EXCEPTION_TESTS_long_double): Likewise.
17573 * sysdeps/mips/mips64/libm-test-ulps: Update.
17574
498afc54
JM
17575 * include/features.h (__USE_BSD): Remove macro definitions.
17576 (__USE_SVID): Likewise.
17577 (_BSD_SOURCE): Likewise.
17578 (_SVID_SOURCE): Likewise.
17579 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17580 from definition of _DEFAULT_SOURCE.
17581 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17582 [_DEFAULT_SOURCE].
17583 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17584 * bits/mman.h [__USE_BSD]: Likewise.
17585 * bits/termios.h [__USE_BSD]: Likewise.
17586 * bits/waitstatus.h [__USE_BSD]: Likewise.
17587 * ctype/ctype.h [__USE_SVID]: Likewise.
17588 * dirent/dirent.h [__USE_BSD]: Likewise.
17589 * grp/grp.h [__USE_SVID]: Likewise.
17590 [__USE_BSD]: Likewise.
17591 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17592 * io/fcntl.h [__USE_BSD]: Likewise.
17593 * io/ftw.h [__USE_BSD]: Likewise.
17594 * io/sys/stat.h [__USE_BSD]: Likewise.
17595 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17596 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17597 * libio/stdio.h [__USE_SVID]: Likewise.
17598 [__USE_BSD]: Likewise.
17599 * math/math.h [__USE_SVID]: Likewise.
17600 [__USE_BSD]: Likewise.
17601 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17602 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17603 * misc/search.h [__USE_SVID]: Likewise.
17604 * misc/sys/mman.h [__USE_BSD]: Likewise.
17605 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17606 * misc/sys/uio.h [__USE_BSD]: Likewise.
17607 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17608 * posix/glob.h [__USE_BSD]: Likewise.
17609 * posix/regex.h [__USE_BSD]: Likewise.
17610 * posix/sys/types.h [__USE_BSD]: Likewise.
17611 [__USE_SVID]: Likewise.
17612 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17613 * posix/sys/wait.h [__USE_BSD]: Likewise.
17614 [__USE_SVID]: Likewise.
17615 * posix/unistd.h [__USE_BSD]: Likewise.
17616 [__USE_SVID]: Likewise.
17617 * pwd/pwd.h [__USE_SVID]: Likewise.
17618 * resolv/netdb.h [__USE_BSD]: Likewise.
17619 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17620 * signal/signal.h [__USE_BSD]: Likewise.
17621 [__USE_SVID]: Likewise.
17622 * socket/sys/socket.h [__USE_BSD]: Likewise.
17623 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17624 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17625 [__USE_SVID]: Likewise.
17626 * string/bits/string2.h [__USE_BSD]: Likewise.
17627 [__USE_SVID]: Likewise.
17628 * string/bits/string3.h [__USE_BSD]: Likewise.
17629 * string/endian.h [__USE_BSD]: Likewise.
17630 * string/string.h [__USE_SVID]: Likewise.
17631 [__USE_BSD]: Likewise.
17632 * string/strings.h [__USE_BSD]: Likewise.
17633 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17634 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17635 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17636 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17637 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17638 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17639 Likewise.
17640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17641 Likewise.
17642 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17643 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17644 Likewise.
17645 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17646 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17647 Likewise.
17648 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17649 Likewise.
17650 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17651 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17653 Likewise.
17654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17655 Likewise.
17656 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17657 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17658 * termios/termios.h [__USE_BSD]: Likewise.
17659 * time/sys/time.h [__USE_BSD]: Likewise.
17660 * time/time.h [__USE_BSD]: Likewise.
17661 [__USE_SVID]: Likewise.
17662
dd7b064c
JM
17663 * Makefile (subdir_targets): Remove subdir_lint.out.
17664
a2c4c199
JM
17665 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17666 (do-tst-printf): Likewise.
17667 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17668 $(objpfx)tst-printf.out.
17669
8756f740
JM
17670 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17671
1b6dd3f1
JM
17672 * Makerules (check-abi-%): Change target to
17673 $(objpfx)check-abi-%.out.
17674 (check-abi target): Update dependencies.
17675 (check-abi-pattern variable): Redirect output of diff to $@.
17676 (check-abi variable): Likewise.
17677 * elf/Makefile (check-abi): Update dependencies.
17678
ace614b8
JM
17679 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17680 unused.
17681 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17682 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17683 subnormal range.
17684 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17685 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17686 value has largest subnormal exponent.
17687 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17688 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17689 * sysdeps/aarch64/soft-fp/sfp-machine.h
17690 (_FP_TININESS_AFTER_ROUNDING): New macro.
17691 * sysdeps/alpha/soft-fp/sfp-machine.h
17692 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17693 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17694 Likewise.
17695 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17696 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17697 * sysdeps/mips/soft-fp/sfp-machine.h
17698 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17699 * sysdeps/powerpc/soft-fp/sfp-machine.h
17700 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17701 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17702 Likewise.
17703 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17704 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17705 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17706 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17707 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17708 Likewise.
17709
fbfdf9cb
DAS
177102014-02-12 Dylan Alex Simon <dylan@dylex.net>
17711
17712 [BZ #16545]
17713 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17714 model 1.
17715
68b7efaa
RH
177162014-02-12 Richard Henderson <rth@redhat.com>
17717
c70a4b1d 17718 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17719 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17720 * sysdeps/unix/sysv/linux/alpha: Move directory from
17721 ports/sysdeps/unix/sysv/linux/alpha.
17722 * README: Update listing for alpha-*-linux-gnu.
17723
cb4a2928
JM
177242014-02-11 Joseph Myers <joseph@codesourcery.com>
17725
c941736c
JM
17726 * include/features.h: Update comment documenting feature test
17727 macros.
17728 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17729 _DEFAULT_SOURCE.
17730 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17731 (_SVID_SOURCE): Likewise.
17732 (_DEFAULT_SOURCE): Update description of default features.
17733 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17734 with _GNU_SOURCE.
17735 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17736 (S_ISVTX): Likewise.
17737 * manual/math.texi (Mathematical Constants): Likewise.
17738 * manual/signal.texi (Interrupted Primitives): Likewise.
17739 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17740 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17741 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17742 Don't refer to _SVID_SOURCE in warning text.
17743
e8d8d7ec
JM
17744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17745
cb4a2928
JM
17746 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17747 already defined.
17748 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17749 * sysdeps/mips/dl-lookup.c: Remove.
17750 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17751
7e6424e3
AK
177522014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17753
17754 [BZ #16447]
17755 * math/auto-libm-test-in: Add testcase for expl.
17756 * math/auto-libm-test-out: Regenerate.
17757 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17758 calculation of unsafe.
17759 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17760
75eff3fe
MS
177612014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17762
17763 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17764 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17765 ports/sysdeps/unix/sysv/linux/aarch64.
17766 * README: Update listing for aarch64*-*-linux-gnu.
17767
d35f1e80
WN
177682014-02-11 Will Newton <will.newton@linaro.org>
17769
17770 * manual/probes.texi (Mathematical Function Probes): Use
17771 "triggered" instead of "hit".
17772
7b3436d4
WN
17773 * manual/probes.texi (Internal Probes): Add documentation
17774 of setjmp, longjmp and longjmp_target probes.
17775
b4f12ca3
WN
17776 * include/stap-probe.h: Add comment about probe argument
17777 format.
17778
c13a72b7
WN
17779 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17780 definition. (tr_where, tr_freehook, tr_mallochook,
17781 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17782
195b8165
DM
177832014-02-11 David S. Miller <davem@davemloft.net>
17784
17785 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17786 processing int_tests.
17787
2ad7600b
JM
177882014-02-10 Joseph Myers <joseph@codesourcery.com>
17789
17790 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17791 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17792 * sysdeps/unix/sysv/linux/mips: Move directory from
17793 ports/sysdeps/unix/sysv/linux/mips.
17794 * README: Update listing for mips-*-linux-gnu and
17795 mips64-*-linux-gnu.
17796
73588a72
AS
177972014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17798
17799 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17800 * sysdeps/unix/sysv/linux/m68k: Move directory from
17801 ports/sysdeps/unix/sysv/linux/m68k.
17802 * README: Update listing for m68k-*-linux-gnu.
17803
4372980f
CM
178042014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17805
17806 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17807 * sysdeps/unix/sysv/linux/generic: Move directory from
17808 ports/sysdeps/unix/sysv/linux/generic.
17809 * sysdeps/unix/sysv/linux/tile: Move directory from
17810 ports/sysdeps/unix/sysv/linux/tile.
17811 * README: Update listing for tile*-*-linux-gnu.
17812
a1ffb40e
OB
178132014-02-10 Ondřej Bílka <neleai@seznam.cz>
17814
57f41c40
AS
17815 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17816 __builtin_expect.
a1ffb40e
OB
17817 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17818 * catgets/open_catalog.c (__open_catalog): Likewise.
17819 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17820 * debug/confstr_chk.c: Likewise.
17821 * debug/fread_chk.c (__fread_chk): Likewise.
17822 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17823 * debug/getgroups_chk.c: Likewise.
17824 * debug/mbsnrtowcs_chk.c: Likewise.
17825 * debug/mbsrtowcs_chk.c: Likewise.
17826 * debug/mbstowcs_chk.c: Likewise.
17827 * debug/memcpy_chk.c: Likewise.
17828 * debug/memmove_chk.c: Likewise.
17829 * debug/mempcpy_chk.c: Likewise.
17830 * debug/memset_chk.c: Likewise.
17831 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17832 * debug/strcat_chk.c (__strcat_chk): Likewise.
17833 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17834 * debug/strncat_chk.c (__strncat_chk): Likewise.
17835 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17836 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17837 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17838 * debug/wcpncpy_chk.c: Likewise.
17839 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17840 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17841 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17842 * debug/wcsncpy_chk.c: Likewise.
17843 * debug/wcsnrtombs_chk.c: Likewise.
17844 * debug/wcsrtombs_chk.c: Likewise.
17845 * debug/wcstombs_chk.c: Likewise.
17846 * debug/wmemcpy_chk.c: Likewise.
17847 * debug/wmemmove_chk.c: Likewise.
17848 * debug/wmempcpy_chk.c: Likewise.
17849 * debug/wmemset_chk.c: Likewise.
17850 * dirent/scandirat.c (SCANDIRAT): Likewise.
17851 * dlfcn/dladdr1.c (dladdr1): Likewise.
17852 * dlfcn/dladdr.c (dladdr): Likewise.
17853 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17854 * dlfcn/dlerror.c (__dlerror): Likewise.
17855 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17856 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17857 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17858 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17859 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17860 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17861 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17862 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17863 Likewise.
17864 * elf/dl-conflict.c: Likewise.
17865 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17866 * elf/dl-dst.h: Likewise.
17867 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17868 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17869 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17870 * elf/dl-init.c (call_init, _dl_init): Likewise.
17871 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17872 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17873 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17874 Likewise.
a1ffb40e
OB
17875 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17876 Likewise.
17877 * elf/dl-minimal.c (__libc_memalign): Likewise.
17878 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17879 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17880 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17881 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17882 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17883 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17884 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17885 * elf/dl-writev.h (_dl_writev): Likewise.
17886 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17887 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17888 (dl_main): Likewise.
a1ffb40e
OB
17889 * elf/setup-vdso.h (setup_vdso): Likewise.
17890 * grp/compat-initgroups.c (compat_call): Likewise.
17891 * grp/fgetgrent.c (fgetgrent): Likewise.
17892 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17893 * grp/putgrent.c (putgrent): Likewise.
17894 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17895 Likewise.
17896 * hurd/hurdinit.c: Likewise.
17897 * iconvdata/8bit-gap.c (struct): Likewise.
17898 * iconvdata/ansi_x3.110.c : Likewise.
17899 * iconvdata/big5.c : Likewise.
17900 * iconvdata/big5hkscs.c : Likewise.
17901 * iconvdata/cp1255.c: Likewise.
17902 * iconvdata/cp1258.c : Likewise.
17903 * iconvdata/cp932.c : Likewise.
17904 * iconvdata/euc-cn.c: Likewise.
17905 * iconvdata/euc-jisx0213.c : Likewise.
17906 * iconvdata/euc-jp.c: Likewise.
17907 * iconvdata/euc-jp-ms.c : Likewise.
17908 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17909 * iconvdata/gb18030.c : Likewise.
17910 * iconvdata/gbbig5.c (const): Likewise.
17911 * iconvdata/gbgbk.c: Likewise.
17912 * iconvdata/gbk.c : Likewise.
17913 * iconvdata/ibm1364.c : Likewise.
17914 * iconvdata/ibm930.c : Likewise.
17915 * iconvdata/ibm932.c: Likewise.
17916 * iconvdata/ibm933.c : Likewise.
17917 * iconvdata/ibm935.c : Likewise.
17918 * iconvdata/ibm937.c : Likewise.
17919 * iconvdata/ibm939.c : Likewise.
17920 * iconvdata/ibm943.c: Likewise.
17921 * iconvdata/iso_11548-1.c: Likewise.
17922 * iconvdata/iso-2022-cn.c : Likewise.
17923 * iconvdata/iso-2022-cn-ext.c : Likewise.
17924 * iconvdata/iso-2022-jp-3.c: Likewise.
17925 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17926 * iconvdata/iso-2022-kr.c : Likewise.
17927 * iconvdata/iso646.c (gconv_end): Likewise.
17928 * iconvdata/iso_6937-2.c : Likewise.
17929 * iconvdata/iso_6937.c : Likewise.
17930 * iconvdata/iso8859-1.c: Likewise.
17931 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17932 * iconvdata/shift_jisx0213.c : Likewise.
17933 * iconvdata/sjis.c : Likewise.
17934 * iconvdata/t.61.c : Likewise.
17935 * iconvdata/tcvn5712-1.c : Likewise.
17936 * iconvdata/tscii.c: Likewise.
17937 * iconvdata/uhc.c : Likewise.
17938 * iconvdata/unicode.c (gconv_end): Likewise.
17939 * iconvdata/utf-16.c (gconv_end): Likewise.
17940 * iconvdata/utf-32.c (gconv_end): Likewise.
17941 * iconvdata/utf-7.c (base64): Likewise.
17942 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17943 * iconv/gconv_close.c (__gconv_close): Likewise.
17944 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17945 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17946 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17947 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17948 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17949 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17950 * iconv/iconv.c (iconv): Likewise.
17951 * iconv/iconv_close.c: Likewise.
17952 * iconv/loop.c (SINGLE): Likewise.
17953 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17954 * include/atomic.h: Likewise.
17955 * inet/inet6_option.c (option_alloc): Likewise.
17956 * intl/bindtextdom.c (set_binding_values): Likewise.
17957 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17958 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17959 * intl/localealias.c (read_alias_file): Likewise.
17960 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17961 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17962 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17963 * libio/fmemopen.c (fmemopen): Likewise.
17964 * libio/iofgets.c (_IO_fgets): Likewise.
17965 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17966 * libio/iofgetws.c (fgetws): Likewise.
17967 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17968 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17969 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17970 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17971 * locale/findlocale.c (_nl_find_locale): Likewise.
17972 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17973 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17974 Likewise.
17975 * locale/setlocale.c (setlocale): Likewise.
17976 * login/programs/pt_chown.c (main): Likewise.
17977 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17978 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17979 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17980 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17981 * math/e_exp2l.c: Likewise.
17982 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17983 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17984 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17985 * math/s_catan.c (__catan): Likewise.
17986 * math/s_catanf.c (__catanf): Likewise.
17987 * math/s_catanh.c (__catanh): Likewise.
17988 * math/s_catanhf.c (__catanhf): Likewise.
17989 * math/s_catanhl.c (__catanhl): Likewise.
17990 * math/s_catanl.c (__catanl): Likewise.
17991 * math/s_ccosh.c (__ccosh): Likewise.
17992 * math/s_ccoshf.c (__ccoshf): Likewise.
17993 * math/s_ccoshl.c (__ccoshl): Likewise.
17994 * math/s_cexp.c (__cexp): Likewise.
17995 * math/s_cexpf.c (__cexpf): Likewise.
17996 * math/s_cexpl.c (__cexpl): Likewise.
17997 * math/s_clog10.c (__clog10): Likewise.
17998 * math/s_clog10f.c (__clog10f): Likewise.
17999 * math/s_clog10l.c (__clog10l): Likewise.
18000 * math/s_clog.c (__clog): Likewise.
18001 * math/s_clogf.c (__clogf): Likewise.
18002 * math/s_clogl.c (__clogl): Likewise.
18003 * math/s_csin.c (__csin): Likewise.
18004 * math/s_csinf.c (__csinf): Likewise.
18005 * math/s_csinh.c (__csinh): Likewise.
18006 * math/s_csinhf.c (__csinhf): Likewise.
18007 * math/s_csinhl.c (__csinhl): Likewise.
18008 * math/s_csinl.c (__csinl): Likewise.
18009 * math/s_csqrt.c (__csqrt): Likewise.
18010 * math/s_csqrtf.c (__csqrtf): Likewise.
18011 * math/s_csqrtl.c (__csqrtl): Likewise.
18012 * math/s_ctan.c (__ctan): Likewise.
18013 * math/s_ctanf.c (__ctanf): Likewise.
18014 * math/s_ctanh.c (__ctanh): Likewise.
18015 * math/s_ctanhf.c (__ctanhf): Likewise.
18016 * math/s_ctanhl.c (__ctanhl): Likewise.
18017 * math/s_ctanl.c (__ctanl): Likewise.
18018 * math/w_pow.c: Likewise.
18019 * math/w_powf.c: Likewise.
18020 * math/w_powl.c: Likewise.
18021 * math/w_scalb.c (sysv_scalb): Likewise.
18022 * math/w_scalbf.c (sysv_scalbf): Likewise.
18023 * math/w_scalbl.c (sysv_scalbl): Likewise.
18024 * misc/error.c (error_tail): Likewise.
18025 * misc/pselect.c (__pselect): Likewise.
18026 * nis/nis_callback.c (__nis_create_callback): Likewise.
18027 * nis/nis_call.c (__nisfind_server): Likewise.
18028 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18029 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18030 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18031 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18032 * nis/nis_lookup.c (nis_lookup): Likewise.
18033 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18034 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18035 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18036 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18037 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18038 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18039 * nis/nss_compat/compat-initgroups.c (add_group)
18040 (internal_getgrent_r): Likewise.
18041 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18042 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18043 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18044 (internal_getspnam_r): Likewise.
18045 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18046 (_nss_nis_getaliasbyname_r): Likewise.
18047 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18048 (_nss_nis_getntohost_r): Likewise.
18049 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18050 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18051 (_nss_nis_getgrgid_r): Likewise.
18052 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18053 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18054 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18055 (_nss_nis_gethostbyname4_r): Likewise.
18056 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18057 (initgroups_netid): Likewise.
a1ffb40e 18058 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18059 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18060 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18061 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18062 (_nss_nis_getprotobynumber_r): Likewise.
18063 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18064 (_nss_nis_getsecretkey): Likewise.
18065 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18066 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18067 (_nss_nis_getpwuid_r): Likewise.
18068 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18069 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18070 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18071 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18072 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18073 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18074 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18075 Likewise.
57f41c40
AS
18076 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18077 (_nss_nisplus_getntohost_r): Likewise.
18078 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18079 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18080 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18081 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18082 Likewise.
57f41c40
AS
18083 * nis/nss_nisplus/nisplus-initgroups.c
18084 (_nss_nisplus_initgroups_dyn): Likewise.
18085 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18086 (_nss_nisplus_getnetbyaddr_r): Likewise.
18087 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18088 (_nss_nisplus_getprotobynumber_r): Likewise.
18089 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18090 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18091 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18092 Likewise.
57f41c40
AS
18093 * nis/nss_nisplus/nisplus-service.c
18094 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18095 (_nss_nisplus_getservbyport_r): Likewise.
18096 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18097 (_nss_nisplus_getspnam_r): Likewise.
18098 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18099 Likewise.
a1ffb40e
OB
18100 * nscd/aicache.c (addhstaiX): Likewise.
18101 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18102 * nscd/connections.c (register_traced_file, send_ro_fd)
18103 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18104 (main_loop_epoll): Likewise.
a1ffb40e
OB
18105 * nscd/grpcache.c (addgrbyX): Likewise.
18106 * nscd/hstcache.c (addhstbyX): Likewise.
18107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18108 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18109 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18110 (addinnetgrX): Likewise.
18111 * nscd/nscd-client.h (__nscd_acquire_maplock)
18112 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18113 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18114 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18115 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18116 Likewise.
18117 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18118 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18119 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18120 (__nscd_get_map_ref): Likewise.
a1ffb40e 18121 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18122 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18123 Likewise.
a1ffb40e
OB
18124 * nscd/pwdcache.c (addpwbyX): Likewise.
18125 * nscd/selinux.c (preserve_capabilities): Likewise.
18126 * nscd/servicescache.c (addservbyX): Likewise.
18127 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18128 * posix/fnmatch.c (fnmatch): Likewise.
18129 * posix/getopt.c (_getopt_internal_r): Likewise.
18130 * posix/glob.c (glob, glob_in_dir): Likewise.
18131 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18133 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18134 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18135 * resolv/res_init.c: Likewise.
18136 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18137 * resolv/res_query.c (__libc_res_nquery): Likewise.
18138 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18139 Likewise.
18140 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18141 * stdio-common/perror.c (perror): Likewise.
18142 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18143 * stdio-common/tmpnam.c (tmpnam): Likewise.
18144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18145 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18146 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18147 Likewise.
a1ffb40e
OB
18148 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18149 * stdlib/putenv.c (putenv): Likewise.
18150 * stdlib/setenv.c (__add_to_environ): Likewise.
18151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18152 * stdlib/strtol_l.c (INTERNAL): Likewise.
18153 * string/memmem.c (memmem): Likewise.
18154 * string/strerror.c (strerror): Likewise.
18155 * string/strnlen.c (__strnlen): Likewise.
18156 * string/test-memmem.c (simple_memmem): Likewise.
18157 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18158 * sunrpc/pm_getport.c (__get_socket): Likewise.
18159 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18160 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18161 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18162 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18163 Likewise.
18164 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18165 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18166 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18167 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18168 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18169 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18170 Likewise.
18171 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18172 Likewise.
a1ffb40e
OB
18173 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18174 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18176 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18177 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18179 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18180 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18181 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18182 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18183 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18185 Likewise.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18187 Likewise.
18188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18189 Likewise.
18190 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18193 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18194 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18195 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18196 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18205 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18206 Likewise.
a1ffb40e
OB
18207 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18208 Likewise.
18209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18210 Likewise.
18211 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18212 Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18215 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18216 Likewise.
18217 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18218 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18219 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18220 * sysdeps/posix/sleep.c: Likewise.
18221 * sysdeps/posix/tempname.c: Likewise.
18222 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18223 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18224 Likewise.
57f41c40
AS
18225 * sysdeps/powerpc/powerpc32/dl-machine.h
18226 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18227 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18229 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18230 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18231 Likewise.
18232 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18233 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18234 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18235 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18236 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18237 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18238 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18239 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18240 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18241 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18242 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18243 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18244 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18246 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18247 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18248 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18249 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18250 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18251 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18252 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18253 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18255 Likewise.
18256 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18257 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18258 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18259 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18260 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18261 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18262 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18263 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18264 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18265 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18266 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18267 Likewise.
18268 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18269 (__posix_fallocate64_l64): Likewise.
18270 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18271 (posix_fallocate): Likewise.
57f41c40
AS
18272 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18273 Likewise.
a1ffb40e 18274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18275 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18276 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18277 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18278 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18279 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18280 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18281 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18282 (__posix_fallocate64_l64): Likewise.
18283 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18284 Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18286 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18287 (__get_clockfreq): Likewise.
a1ffb40e
OB
18288 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18289 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18290 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18293 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18294 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18296 Likewise.
18297 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18298 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18299 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18302 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18303 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18304 Likewise.
18305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18306 (posix_fallocate): Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18308 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18309 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18310 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18311 (elf_machine_rela, elf_machine_rela_relative)
18312 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18313 * time/asctime.c (asctime_internal): Likewise.
18314 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18315 * time/tzset.c (__tzset_parse_tz): Likewise.
18316 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18317 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18318 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18319 * wcsmbs/wcsmbsload.h: Likewise.
18320
f3d338c9
OB
18321 [BZ #15894]
18322 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18323
57f41c40
AS
18324 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18325 (arena_get2): Remove THREAD_STATS conditionals.
18326 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18327 (__malloc_stats, int): Likewise.
bdfe308a 18328
d674667c
MF
183292014-02-08 Mike Frysinger <vapier@gentoo.org>
18330
18331 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18332 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18333
6349768c
MF
18334 * manual/setjmp.texi: Fix typos/grammar errors.
18335
0b7c7473
MF
18336 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18337 Only return early when n is <= 0. Delete unused return statement.
18338
ac8cc9e3
MF
18339 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18340 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18341 * debug/tst-longjmp_chk3.c: New file.
18342
c5bb8e23
MF
18343 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18344 (test_main): Replace code with set_fortify_handler call.
18345 * debug/test-strcpy_chk.c: Likewise.
18346 * debug/tst-chk1.c: Likewise.
18347 * debug/tst-longjmp_chk.c: Likewise.
18348 * test-skeleton.c: Include fcntl.h & paths.h
18349 (set_fortify_handler): Define.
18350
10444e42
MF
18351 * debug/tst-longjmp_chk.c: Add header comment and include
18352 ../test-skeleton.c.
18353 (do_test): Mark static.
18354 (TEST_FUNCTION): Define.
18355
1e805e8d
MF
18356 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18357 (IP_PMTUDISC_INTERFACE): Likewise.
18358 (IP_MULTICAST_IF): Likewise.
18359 (IP_MULTICAST_TTL): Likewise.
18360 (IP_MULTICAST_LOOP): Likewise.
18361 (IP_ADD_MEMBERSHIP): Likewise.
18362 (IP_DROP_MEMBERSHIP): Likewise.
18363 (IP_UNBLOCK_SOURCE): Likewise.
18364 (IP_BLOCK_SOURCE): Likewise.
18365 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18366 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18367 (IP_MSFILTER): Likewise.
18368 (MCAST_JOIN_GROUP): Likewise.
18369 (MCAST_BLOCK_SOURCE): Likewise.
18370 (MCAST_UNBLOCK_SOURCE): Likewise.
18371 (MCAST_LEAVE_GROUP): Likewise.
18372 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18373 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18374 (MCAST_MSFILTER): Likewise.
18375 (IP_MULTICAST_ALL): Likewise.
18376 (IP_UNICAST_IF): Likewise.
18377
73f79bb7
MF
18378 * timezone/Makefile: Delete $(have-ksh) check.
18379 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18380 * timezone/tzselect.ksh: Add +x mode bits.
18381
8da79b60
MF
18382 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18383 (ANON_INODE_FS_MAGIC): Likewise.
18384 (BDEVFS_MAGIC): Likewise.
18385 (BINFMTFS_MAGIC): Likewise.
18386 (BTRFS_TEST_MAGIC): Likewise.
18387 (CRAMFS_MAGIC_WEND): Likewise.
18388 (DEBUGFS_MAGIC): Likewise.
18389 (ECRYPTFS_SUPER_MAGIC): Likewise.
18390 (EXT3_SUPER_MAGIC): Likewise.
18391 (EXT4_SUPER_MAGIC): Likewise.
18392 (FUTEXFS_SUPER_MAGIC): Likewise.
18393 (HOSTFS_SUPER_MAGIC): Likewise.
18394 (HUGETLBFS_MAGIC): Likewise.
18395 (MINIX3_SUPER_MAGIC): Likewise.
18396 (MTD_INODE_FS_MAGIC): Likewise.
18397 (NILFS_SUPER_MAGIC): Likewise.
18398 (OPENPROM_SUPER_MAGIC): Likewise.
18399 (PIPEFS_MAGIC): Likewise.
18400 (PSTOREFS_MAGIC): Likewise.
18401 (QNX6_SUPER_MAGIC): Likewise.
18402 (RAMFS_MAGIC): Likewise.
18403 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18404 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18405 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18406 (SECURITYFS_MAGIC): Likewise.
18407 (SELINUX_MAGIC): Likewise.
18408 (SMACK_MAGIC): Likewise.
18409 (SOCKFS_MAGIC): Likewise.
18410 (SQUASHFS_MAGIC): Likewise.
18411 (STACK_END_MAGIC): Likewise.
18412 (TMPFS_MAGIC): Likewise.
18413 (USBDEVICE_SUPER_MAGIC): Likewise.
18414 (V9FS_MAGIC): Likewise.
18415 (XENFS_SUPER_MAGIC): Likewise.
18416 (CRAMFS_MAGIC): Fix typo in comment.
18417 (EXT2_SUPER_MAGIC): Update comment.
18418 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18419
464263cc
JM
184202014-02-08 Joseph Myers <joseph@codesourcery.com>
18421
c6bfe5c4
JM
18422 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18423 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18424 * sysdeps/unix/sysv/linux/arm: Move directory from
18425 ports/sysdeps/unix/sysv/linux/arm.
18426 * README: Update listing for arm-*-linux-gnueabi.
18427
464263cc
JM
18428 * README: Remove mention of am33.
18429
32749f6c
RM
184302014-02-07 Roland McGrath <roland@hack.frob.com>
18431
18432 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18433 than the comma operator, to avoid "rhs of comma has no effect"
18434 compiler warnings.
18435 (__sigfillset, __sigandset, __sigorset): Likewise.
18436 * include/signal.h (__sigemptyset): Likewise.
18437 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18438
d5b396c1
AM
184392014-02-07 Allan McRae <allan@archlinux.org>
18440
18441 * version.h (RELEASE): Set to "development".
18442 (VERSION): Set to "2.19.90"
18443 * NEWS: Add 2.20 section.
18444
3bfff2ed
CD
184452014-02-06 Carlos O'Donell <carlos@redhat.com>
18446
18447 [BZ #16529]
18448 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18449
ee7cc385
SP
184502014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18451
18452 * manual/contrib.texi: Update entry for Carlos O'Donell,
18453 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18454
f877c4f2
CD
184552014-02-05 Carlos O'Donell <carlos@rehdat.com>
18456
27e839f6
CD
18457 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18458
f877c4f2
CD
18459 * sysdeps/unix/sysv/linux/kernel-features.h
18460 [__LINUX_KERNEL_VERSION >= 0x020621]
18461 (__ASSUME_PROC_PID_TASK_COMM): Define.
18462
68159946
SP
184632014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18464
ba17cdbd
SP
18465 [BZ #16398]
18466 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18467 conversion when destination buffer does not have enough space.
18468 * libio/tst-ftell-partial-wide.c: New test case.
18469 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18470
68159946
SP
18471 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18472 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18473 Leonard and Allan McRae.
18474
2b528732
DM
184752014-02-04 David S. Miller <davem@davemloft.net>
18476
18477 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18478 32-bit.
18479
0ff82463
AZ
184802014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18481
57f41c40
AS
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18483 New file
c01603f7
AZ
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18485 New file
57f41c40
AS
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18487 New file.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18489 New file.
c01603f7
AZ
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18491 New file.
57f41c40
AS
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18493 New file.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18495 New file.
c01603f7
AZ
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18497 New file.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18499 New file.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18501 New file.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18503 New file.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18505 New file.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18507 New file.
18508
185092014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18510
0ff82463
AZ
18511 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18512 * shlib-versions: Likewise.
18513
1695c773
AZ
185142014-02-04 Roland McGrath <roland@hack.frob.com>
18515 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18516
18517 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18518 (abilist-pattern): New variable, set to %-le.abilist.
18519
18520 * Makerules (abilist-pattern): New variable.
18521 (vpath): Use $(abilist-pattern) in place of %.abilist.
18522 (check-abi-% pattern rule): Likewise.
18523 (check-abi, update-abi): Likewise.
18524
6c0ce4b4
EW
185252014-02-04 Eric Wong <normalperson@yhbt.net>
18526
18527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18528
481e3524
CD
185292014-02-03 Carlos O'Donell <carlos@redhat.com>
18530
18531 * manual/startup.texi: Add next, previous, and top entries for
18532 the `Program Arguments' and `Environment Variables' nodes.
18533
375592d3
AO
185342014-02-03 Alexandre Oliva <aoliva@redhat.com>
18535
18536 * manual/macros.texi: Add comments before MTASC-safety macros.
18537
f54838ba
AO
18538 * manual/users.texi: Document MTASC-safety properties.
18539
57f41c40
AS
18540 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18541 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18542 @deftypefun, and add @safety note.
18543 * manual/signal.texi: Move comments that analyze the above
18544 functions to their home place.
18545
fd3daba4
AM
185462014-02-03 Allan McRae <allan@archlinux.org>
18547
18548 * po/sl.po: Update Slovenian translation from translation project.
18549
597636d7
AO
185502014-02-02 Alexandre Oliva <aoliva@redhat.com>
18551
18552 * manual/time.texi (timegm): Add missing blank after @c.
18553 Reported by Joseph Myers <joseph@codesourcery.com>.
18554
ee196e3c
AO
185552014-02-01 Alexandre Oliva <aoliva@redhat.com>
18556
18557 * manual/check-safety.sh: New.
18558 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18559
f8d529d5
AO
18560 * manual/terminal.texi: Document MTASC-safety properties.
18561
de55fdf4
AO
18562 * manual/filesys.texi: Document MTASC-safety properties.
18563
c3299c08
AO
18564 * manual/errno.texi: Document MTASC-safety properties.
18565
06e90b14
AO
18566 * manual/intro.texi: Document safety identifiers and
18567 conditionals.
18568
1acd4371
AO
18569 * manual/string.texi (wcstok): Fix prototype.
18570 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18571
23e5b8cb
AO
18572 * manual/time.texi: Document MTASC-safety properties.
18573
11087373
AO
18574 * manual/string.texi: Document MTASC-safety properties.
18575
5da2c93d
AO
18576 * manual/threads.texi: Document MTASC-safety properties.
18577
171e9210
AO
18578 * manual/stdio.texi: Document MTASC-safety properties.
18579
d9e02532
AO
18580 * manual/syslog.texi: Document MTASC-safety properties.
18581
6af8bab7
AO
18582 * manual/sysinfo.texi: Document MTASC-safety properties.
18583
663b02d7
AO
18584 * manual/startup.texi: Document MTASC-safety properties.
18585
973f180b
AO
18586 * manual/socket.texi: Document MTASC-safety properties.
18587
8f3c25c8
AO
18588 * manual/signal.texi: Document MTASC-safety properties.
18589
542210fb
AO
185902014-01-31 Alexandre Oliva <aoliva@redhat.com>
18591
18592 * manual/setjmp.texi: Document MTASC-safety properties.
18593
433c45a2
AO
18594 * manual/search.texi: Document MTASC-safety properties.
18595
c8ce789c
AO
18596 * manual/resource.texi: Document MTASC-safety properties.
18597
19f5d29c
AO
18598 * manual/process.texi: Document MTASC-safety properties.
18599
e2dfb7f4
AO
18600 * manual/platform.texi: Document MTASC-safety properties.
18601
8c1413f5
AO
18602 * manual/pipe.texi: Document MTASC-safety properties.
18603
03483ada
AO
18604 * manual/pattern.texi: Document MTASC-safety properties.
18605
29e7e2df
AO
18606 * manual/message.texi: Document MTASC-safety properties.
18607
9f529d7c
AO
18608 [BZ #12751]
18609 * manual/memory.texi: Document MTASC-safety properties.
18610
27aaa791
AO
18611 * manual/math.texi: Document MTASC-safety properties.
18612
f2d58726
AO
18613 * manual/locale.texi: Document MTASC-safety properties.
18614
2cc3615c
AO
18615 * manual/llio.texi: Document MTASC-safety properties.
18616
d9f0ec97
AO
18617 * manual/libdl.texi: New.
18618
e7c4409a
AO
18619 * manual/lang.texi: Document MTASC-safety properties.
18620
27bdc63c
AO
18621 * manual/job.texi: Document MTASC-safety properties.
18622
a7b90ea9
AO
18623 * manual/getopt.texi: Document MTASC-safety properties.
18624
c49130e3
AO
18625 * manual/ctype.texi: Document MTASC-safety properties.
18626
0d23a5c1
MR
186272014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18628
18629 [BZ #16046]
18630 * csu/libc-tls.c (static_map): Remove variable.
18631 (__libc_setup_tls): Use main executable's link map for TLS data.
18632 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18633 casing for LM_ID_BASE and GL(dl_nns).
18634 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18635 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18636 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18637 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18638 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18639 member.
18640 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18641 l_phnum members.
18642
0037bb60
AO
186432014-01-30 Alexandre Oliva <aoliva@redhat.com>
18644
18645 * manual/debug.texi: Document MTASC-safety properties.
18646
409e00bd
L
186472014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18648
18649 [BZ #16510]
18650 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18651 of __x86_64__ when disabling x87 inline functions.
18652
86e60666
AO
186532014-01-29 Alexandre Oliva <aoliva@redhat.com>
18654
18655 * manual/charset.texi: Document MTASC-safety properties.
18656
76167637
AO
18657 * manual/crypt.texi: Document MTASC-safety properties.
18658
e567f2a0
AO
18659 * manual/conf.texi: Document MTASC-safety properties.
18660
b719dafd
AO
18661 * manual/arith.texi: Document MTASC-safety properties.
18662
4a16c662
AO
18663 * manual/argp.texi: Document MTASC-safety properties.
18664
0a57b83e
AO
18665 * manual/macros.texi: Introduce macros to document multi
18666 thread, asynchronous signal and asynchronous cancellation
18667 safety properties.
18668 * manual/intro.texi: Introduce the properties themselves.
18669
feab2397
KK
186702014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18671
18672 * sysdeps/sh/sh4/Makefile: New file.
18673
1c0d11bc
AS
186742014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18675
18676 * math/gen-libm-test.pl ($srcdir): New variable.
18677 ($auto_input): Use it.
18678
af37a8a3
SP
186792014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18680
d7b00f98
SP
18681 [BZ #16506]
18682 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18683 access beyond array bounds when parsing netgroups file.
18684
af37a8a3
SP
18685 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18686 the old buffer before realloc.
18687
0c00f062
AM
186882014-01-27 Allan McRae <allan@archlinux.org>
18689
18690 * po/fr.po: Update French translation from translation project.
18691
7d69a1b0
KK
186922014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18693
18694 * sysdeps/sh/libm-test-ulps: Regenerate.
18695
6e697ff7
DM
186962014-01-24 David S. Miller <davem@davemloft.net>
18697
18698 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18699
9cadb35c
KK
187002014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18701
18702 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18703 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18704
5d41dadf
SP
187052013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18706
18707 [BZ #16474]
18708 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18709 string pointers after reallocation.
18710
0bad441c
KK
187112014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18712
18713 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18714 __SH4A__ instead of __SH_FPU_ANY__.
18715
7007c661
KK
187162014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18717
18718 * sysdeps/sh/fpu_control.h: New file.
18719 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18720 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18721 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18722 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18723 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18724 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18725 * sysdeps/sh/sys/ucontext.h: Remove.
18726 * sysdeps/sh/sys: Remove directory.
18727
0f0c35e4
AK
187282014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18729
18730 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18731 s390/sys/ucontext.h.
18732 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18733 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18734
4959e284
L
187352014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18736
18737 [BZ #15605]
18738 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18739
d98720e0
AZ
187402014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18741
18742 [BZ#16431]
18743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18744 Adjust the vDSO correctly for internal calls.
18745 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18746
91cbd0bc
AM
187472014-01-20 Allan McRae <allan@archlinux.org>
18748
18749 * po/ca.po: Update Catalan translation from translation project.
18750
7a02cfad
MF
187512014-01-16 Mike Frysinger <vapier@gentoo.org>
18752
18753 * sysdeps/s390/sotruss-lib.c: New file.
18754
736c304a
AZ
187552014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18756
18757 [BZ#16430]
6e077ee5 18758 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18759 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18760 local calls issues by not having a PLT stub required for IFUNC calls.
18761 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18762
94d0cea0
JM
187632014-01-16 Joseph Myers <joseph@codesourcery.com>
18764
18765 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18766 * math/test-fpucw-static.c: Likewise.
18767
980cb518
SP
187682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18769
18770 [BZ #16453]
18771 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18772
2393fc01
AZ
187732014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18774
18775 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18776 implementation for powerpc.
18777
d359bcc2
OB
187782014-01-15 Ondřej Bílka <neleai@seznam.cz>
18779
18780 [BZ #14782]
18781 * sysdeps/posix/system.c (__libc_system): Do not enable
18782 asynchronous cancellation.
18783
7beb48cb
AK
187842014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18785
18786 [BZ #16427]
18787 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18788 handling only for numbers special also in the IEEE case.
18789
c20d5bf5
AK
187902014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18791
18792 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18793
e83bd4ee
AM
187942014-01-11 Allan McRae <allan@archlinux.org>
18795
76d0ea69
AM
18796 * po/bg.po: Update Bulgarian translation from translation project.
18797
e83bd4ee
AM
18798 * po/de.po: Update German translation from translation project.
18799
bc2ba20a
RM
188002014-01-10 Roland McGrath <roland@hack.frob.com>
18801
18802 * sysdeps/generic/gcc-compat.h: New file.
18803
649ecea2
SP
188042014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18805
18806 * benchtests/asin-inputs: Correct slow inputs.
18807 * benchtests/acos-inputs: Likewise.
18808
1b19c006
AM
188092014-01-10 Allan McRae <allan@archlinux.org>
18810
a46dab08
AM
18811 * po:sv.po: Update Swedish translation from translation project.
18812
421df74a
AM
18813 * po/vi.po: Update Vietnamese translation from translation project.
18814
d61c51a7
AM
18815 * po/eo.po: Update Esperanto translation from translation project.
18816
0339a319
AM
18817 * po/cs.po: Update Czech translation from translation project.
18818
94ad3e99
AM
18819 * po/nl.po: Update Dutch translation from translation project.
18820
e349ca71
AM
18821 * po/pl.po: Update Polish translation from translation project.
18822
ddf930c1
AM
18823 * po/ru.po: Update Russian translation from translation project.
18824
1b19c006
AM
18825 * po/uk.po: Update Ukrainian translation from translation project.
18826
9f236c49
BM
188272014-01-08 Brooks Moses <bmoses@google.com>
18828
18829 * elf/dl-load.c: Fix comment typo.
18830
cd6701cf
CD
188312014-01-08 Carlos O'Donell <carlos@redhat.com>
18832
18833 * po/header.pot: Rename to...
18834 * po/pot.header: ... this.
18835 * po/Makefile: Use pot.header.
18836
66671c84
YK
188372014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18838 Maxim Kuvyrkov <maxim@kugelworks.com>
18839
18840 [BZ #16394]
cd6701cf
CD
18841 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18842 SRC and DEST against LEN.
66671c84 18843
38f34581
AZ
188442014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18845
18846 [BZ #16414]
18847 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18848 implementation.
18849 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18850
188512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18852
18853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18854
4c327f2a
JM
188552014-01-08 Joseph Myers <joseph@codesourcery.com>
18856
18857 [BZ #16408]
18858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18859 for large positive arguments.
18860
b821f414
JM
188612014-01-07 Joseph Myers <joseph@codesourcery.com>
18862
1f0f2067
JM
18863 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18864
a5a326f6
JM
18865 * math/auto-libm-test-in: Mark various tests with
18866 xfail-rounding:ldbl-128ibm.
18867 * math/auto-libm-test-out: Regenerated.
18868
b821f414
JM
18869 [BZ #16407]
18870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18871 Increase overflow threshold.
18872
94c8a4bc
OB
188732014-01-07 Ondřej Bílka <neleai@seznam.cz>
18874
18875 [BZ #14286]
18876 * stdio-common/vfprintf.c: Check for integer overflow.
18877
87ded0c3
AK
188782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18879
18880 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18881 the first argument and return value of __tls_get_addr_internal.
18882
c5eebdd0
AK
188832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18884
18885 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18886 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18887
05d138ef
AK
188882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18889
18890 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18891 * sysdeps/s390/rtld-global-offsets.sym: New file.
18892 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18893 GLIBC_2.19 symbol.
18894 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18895 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18896 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18897 ... this.
18898 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18899 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18900 ... this.
18901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18902 Regenerate.
18903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18904 Regenerate.
18905 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18906 halfs of GPRs for high_gprs contexts.
18907 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18908 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18909 field.
18910 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18911 uc_flags field.
18912 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18913 64 bit versions:
18914 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18915 for high GPRs (uc_high_gprs) and for future extensions
18916 (__reserved).
18917 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18918 for future extensions (__reserved).
18919 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18920 64 bit versions:
18921 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18922 SC_HIGHGPRS offset definition.
18923 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18924 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18925
93a45ff1
AK
18926 * Versions.def: Add GLIBC_2.19 for libpthread.
18927 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18928 siglongjmp for libpthread with GLIBC_2.19 symver.
18929 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18930 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18931 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18932 * sysdeps/s390/__longjmp.c: New file.
18933 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18934 * sysdeps/s390/longjmp.c: New file.
18935 * sysdeps/s390/setjmp.S: New file.
18936 * sysdeps/s390/sigjmp.S: New file.
18937 * sysdeps/s390/v1-longjmp.c: New file.
18938 * sysdeps/s390/v1-setjmp.h: New file.
18939 * sysdeps/s390/v1-sigjmp.c: New file.
18940 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18941 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18942 GLIBC_2.19 version.
18943 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18944 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18945 versioned symbols for ____longjmp_chk.
18946 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18947 Likewise.
18948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18949 Regenerate.
18950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18951 Regenerate.
18952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18953 Regenerate.
18954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18955 Regenerate.
18956 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18957 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18958 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18959 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18960 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18961 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18962 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18963 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18964 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18965 * sysdeps/s390/rtld-__longjmp.c: New file.
18966 * sysdeps/s390/rtld-setjmp.S: New file.
18967
eb3fc44b
JM
189682014-01-06 Joseph Myers <joseph@codesourcery.com>
18969
18970 [BZ #16400]
18971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18972 Return -__logl (x) for small positive arguments without evaluating
18973 a polynomial.
18974
9341dde4
MF
189752014-01-06 Mike Frysinger <vapier@gentoo.org>
18976
18977 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18978 Rename to ...
18979 (__ptrace_peeksiginfo_args): ... this.
18980 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18983
4cff0293
AM
189842014-01-06 Allan McRae <allan@archlinux.org>
18985
18986 * inet/netinet/in.h: Fix typo in comment.
18987
75595dcf
AJ
189882014-01-05 Andreas Jaeger <aj@suse.de>
18989
18990 * sysdeps/i386/fpu/libm-test-ulps: Update.
18991
79c1e109
AM
189922014-01-05 Allan McRae <allan@archlinux.org>
18993
dd804818
AM
18994 * po/libc.pot: Regenerated.
18995
79c1e109
AM
18996 * malloc/memusagestat.c: Fix gettext call formatting.
18997
0c813d1f
SK
189982014-01-04 Sami Kerola <kerolasa@iki.fi>
18999
19000 * nscd/nscd.c: Improve usage() output.
19001
20f4a8d9
MF
190022014-01-04 Mike Frysinger <vapier@gentoo.org>
19003
19004 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19005 * sysdeps/unix/sysv/linux/configure: Regenerated.
19006 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19007 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19008
22562bb2
JM
190092014-01-03 Joseph Myers <joseph@codesourcery.com>
19010
19011 [BZ #16390]
19012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19013 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19014
d7ad2d9b
AZ
190152014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19016
19017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19018 extra tokens at end of #undef directive.
19019 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19020 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19021 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19022
7dd009d8
JM
190232014-01-03 Joseph Myers <joseph@codesourcery.com>
19024
24db925a
JM
19025 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19026
7dd009d8
JM
19027 * math/auto-libm-test-in: Mark various tests with
19028 xfail-rounding:ldbl-128ibm.
19029 * math/auto-libm-test-out: Regenerated.
19030
396e3ecf
JM
190312014-01-02 Joseph Myers <joseph@codesourcery.com>
19032
819e5d50
JM
19033 [BZ #16386]
19034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19035 numbers with subnormal high part when calculating exponent.
19036
90b6a1e5
JM
19037 [BZ #16385]
19038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19039 fabs.
19040
396e3ecf
JM
19041 [BZ #16384]
19042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19043 M_LN2l.
19044 (__ieee754_acoshl): Use __log1pl not __log1p.
19045
6c8dbf00
OB
190462013-01-02 Ondřej Bílka <neleai@seznam.cz>
19047
57f41c40
AS
19048 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19049 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19050 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19051 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19052 (reused_arena, arena_get2): Convert to GNU style.
19053 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19054 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19055 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19056 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19057 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19058 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19059 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19060 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19061 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19062 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19063 * malloc/malloc.h: Likewise.
57f41c40
AS
19064 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19065 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19066 * malloc/mcheck.h: Likewise.
57f41c40
AS
19067 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19068 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19069 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19070 * malloc/morecore.c (__default_morecore): Likewise.
19071 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19072 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19073 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19074 (print_and_abort): Likewise.
6c8dbf00
OB
19075 * malloc/obstack.h: Likewise.
19076 * malloc/set-freeres.c (__libc_freeres): Likewise.
19077 * malloc/tst-mallocstate.c (main): Likewise.
19078 * malloc/tst-mtrace.c (main): Likewise.
19079 * malloc/tst-realloc.c (do_test): Likewise.
19080
d4124212
SP
190812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19082
9a3c6a6f
SP
19083 [BZ #16366]
19084 * nscd/netgroupcache.c (do_notfound): New function.
19085 (addgetnetgrentX): Use it.
19086
d4124212
SP
19087 [BZ # 16365]
19088 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19089 NSS_STATUS_NOTFOUND.
19090
97b9a009
JM
190912014-01-01 Joseph Myers <joseph@codesourcery.com>
19092
19093 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19095
d4697bc9
AM
190962014-01-01 Allan McRae <allan@archlinux.org>
19097
ddb3687f
AM
19098 * scripts/update-copyrights: Update configure input file suffix.
19099
88726d48
AM
19100 * NEWS: Update copyright year.
19101 * catgets/gencat.c: Likewise.
19102 * csu/version.c: Likewise.
19103 * debug/catchsegv.sh: Likewise.
19104 * debug/pcprofiledump.c: Likewise.
19105 * debug/xtrace.sh: Likewise.
19106 * elf/ldconfig.c: Likewise.
19107 * elf/ldd.bash.in: Likewise.
19108 * elf/pldd.c: Likewise.
19109 * elf/sotruss.ksh: Likewise.
19110 * elf/sprof.c: Likewise.
19111 * iconv/iconv_prog.c: Likewise.
19112 * iconv/iconvconfig.c: Likewise.
19113 * locale/programs/locale.c: Likewise.
19114 * locale/programs/localedef.c: Likewise.
19115 * login/programs/pt_chown.c: Likewise.
19116 * malloc/memusage.sh: Likewise.
19117 * malloc/memusagestat.c: Likewise.
19118 * malloc/mtrace.pl: Likewise.
19119 * manual/libc.texinfo: Likewise.
19120 * nscd/nscd.c: Likewise.
19121 * nss/getent.c: Likewise.
19122 * nss/makedb.c: Likewise.
19123 * posix/getconf.c: Likewise.
19124 * scripts/test-installation.pl: Likewise.
19125
d4697bc9
AM
19126 * All files with FSF copyright notices: Update copyright dates
19127 using scripts/update-copyrights.
19128 * intl/plural.c: Regenerated.
19129 * locale/programs/charmap-kw.h: Likewise.
19130 * locale/programs/locfile-kw.h: Likewise.
19131
c8590f9d
MF
191322013-12-31 Mike Frysinger <vapier@gentoo.org>
19133
19134 * sysdeps/unix/sysv/linux/configure: Regenerated.
19135 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19136 the linux/fanotify.h header.
19137 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19138 HAVE_LINUX_FANOTIFY_H is defined.
19139
b19221b9
SP
191402013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19141
dd1d85e5
SP
19142 * benchtests/cos-inputs: New inputs.
19143 * benchtests/sin-inputs: Likewise.
19144
1acbb90f
SP
19145 * benchtests/atan-inputs: New inputs. Fix name of multiple
19146 precision fallback inputs.
19147
4c012ed3
SP
19148 * benchtests/atanh-inputs: New inputs.
19149 * benchtests/tanh-inputs: Likewise.
19150
eff98324
SP
19151 * benchtests/acosh-inputs: New inputs.
19152 * benchtests/asinh-inputs: Likewise.
19153
ce641152
SP
19154 * benchtests/cosh-inputs: New inputs.
19155 * benchtests/sinh-inputs: Likewise.
19156
b19221b9
SP
19157 * benchtests/acos-inputs: Add more inputs.
19158 * benchtests/asin-inputs: Likewise.
19159
030a4976 191602013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19161
030a4976 19162 [BZ #16375]
9dcc8f11
VS
19163 * manual/arith.texi: Fix spelling.
19164 * manual/charset.texi: Likewise.
19165 * manual/errno.texi: Likewise.
19166 * manual/filesys.texi: Likewise.
19167 * manual/lang.texi: Likewise.
19168 * manual/llio.texi: Likewise.
19169 * manual/locale.texi: Likewise.
19170 * manual/message.texi: Likewise.
19171 * manual/resource.texi: Likewise.
19172 * manual/search.texi: Likewise.
19173 * manual/setjmp.texi: Likewise.
19174 * manual/stdio.texi: Likewise.
19175 * manual/string.texi: Likewise.
19176 * manual/sysinfo.texi: Likewise.
19177 * manual/time.texi: Likewise.
19178
11520a57
CD
191792013-12-27 Carlos O'Donell <carlos@redhat.com>
19180
19181 * po/sl.po: New file.
19182
471103ae
MF
191832013-12-27 Mike Frysinger <vapier@gentoo.org>
19184
19185 * .gitignore: Add core/.gdbinit/.gdb_history.
19186
6c9642ed
AM
191872013-12-27 Allan McRae <allan@archlinux.org>
19188
19189 [BZ #16369]
19190 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19191 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19192
3f637079
BM
191932013-12-24 Brooks Moses <bmoses@google.com>
19194
19195 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19196 all compilers that claim C++98 compliance, not just GCC.
19197 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19198 Likewise.
19199
abc26e99
MK
192002013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19201
19202 * NEWS: Restore accidentally deleted bug-fix entries.
19203
362b47fe
MK
192042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19205 Ondřej Bílka <neleai@seznam.cz>
19206
19207 [BZ #15073]
19208 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19209 have_lock.
362b47fe 19210
b9bcbbcb
OB
192112013-12-23 Ondřej Bílka <neleai@seznam.cz>
19212
19213 [BZ #12986]
19214 * manual/stdio.texi (String Input Conversions): Clarify that character
19215 classes are not supported.
19216
fb55fcd2
AZ
192172013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19218
19219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19220
ef7344f0
JM
192212013-12-22 Joseph Myers <joseph@codesourcery.com>
19222
4f40e4b3
JM
19223 [BZ #16337]
19224 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19225 Calculate results for small negative arguments directly rather
19226 than using reflection formula with special underflow handling.
19227
ef7344f0
JM
19228 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19229 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19230 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19231 (fchflags): Likewise.
19232 (revoke): Likewise.
19233 (setlogin): Likewise.
19234 (sigaltstack): Likewise.
19235 (wait4): Likewise.
19236 (sigblock): Remove.
19237 (sigsetmask): Likewise.
19238 (wait3): Likewise.
19239 (waitpid): Likewise.
19240 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19241 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19242 file.
19243 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19244 * sysdeps/unix/bsd/Makefile: ... here.
19245 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19246 * sysdeps/unix/bsd/Versions: ... here.
19247 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19248 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19249 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19250 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19251 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19252 * sysdeps/unix/bsd/sigblock.c: ... here.
19253 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19254 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19255 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19256 * sysdeps/unix/bsd/sigvec.c: ... here.
19257 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19258 * sysdeps/unix/bsd/tcdrain.c: ... here.
19259 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19260 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19261 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19262 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19263 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19264 * sysdeps/unix/bsd/wait.c: ... here.
19265 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19266 * sysdeps/unix/bsd/wait3.c: ... here.
19267 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19268 * sysdeps/unix/bsd/waitpid.c: ... here.
19269
5b0626b9
JM
192702013-12-21 Joseph Myers <joseph@codesourcery.com>
19271
19272 [BZ #16356]
19273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19274 round-to-nearest for [!USE_AS_EXPM1L].
19275 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19276 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19277 more tests of exp and exp10. Expect some exp10 tests to miss
19278 exceptions or fail in directed rounding modes.
19279 * math/auto-libm-test-out: Regenerated.
19280 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19281 (exp10_test_tonearest): New function.
19282 (exp10_towardzero_test_data): New array.
19283 (exp10_test_towardzero): New function.
19284 (exp10_downward_test_data): New array.
19285 (exp10_test_downward): New function.
19286 (exp10_upward_test_data): New array.
19287 (exp10_test_upward): New function.
19288 (main): Call the new functions.
19289 * sysdeps/i386/fpu/libm-test-ulps: Update.
19290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19291
7fda5682
JM
192922013-12-20 Joseph Myers <joseph@codesourcery.com>
19293
31e3a405
JM
19294 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19295 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19296 * math/auto-libm-test-out: Regenerated.
19297 * math/libm-test.inc (acosh_test_data): Add more tests.
19298 (atanh_test_data): Likewise.
19299 (ceil_test_data): Likewise.
19300 (copysign_test_data): Likewise.
19301 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303
85bff96a
JM
19304 * timezone/checktab.awk: Update from tzcode 2013i.
19305 * timezone/private.h: Likewise.
19306 * timezone/scheck.c: Likewise.
19307 * timezone/tzfile.h: Likewise.
19308 * timezone/tzselect.ksh: Likewise.
19309 * timezone/zdump.c: Likewise.
19310 * timezone/zic.c: Likewise.
19311
b7867a3b
JM
19312 * math/auto-libm-test-in: Add tests of cpow.
19313 * math/auto-libm-test-out: Regenerated.
19314 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19316 mpc_cc_c.
19317 (func_calc_desc): Add mpc_cc_c union field.
19318 (test_functions): Add cpow.
19319 (special_fill_2pi): New function.
19320 (special_real_inputs): Add 2pi.
19321 (calc_generic_results): Handle mpc_cc_c.
19322 * sysdeps/i386/fpu/libm-test-ulps: Update.
19323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324
7fda5682
JM
19325 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19326 csqrt, ctan and ctanh.
19327 * math/auto-libm-test-out: Regenerated.
19328 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19329 (TEST_COND_x86): Likewise.
19330 (ccos_test_data): Use AUTO_TESTS_c_c.
19331 (ccosh_test_data): Likewise.
19332 (cexp_test_data): Likewise.
19333 (clog_test_data): Likewise.
19334 (csqrt_test_data): Likewise.
19335 (ctan_test_data): Likewise.
19336 (ctan_tonearest_test_data): Likewise.
19337 (ctan_towardzero_test_data): Likewise.
19338 (ctan_downward_test_data): Likewise.
19339 (ctan_upward_test_data): Likewise.
19340 (ctanh_test_data): Likewise.
19341 (ctanh_tonearest_test_data): Likewise.
19342 (ctanh_towardzero_test_data): Likewise.
19343 (ctanh_downward_test_data): Likewise.
19344 (ctanh_upward_test_data): Likewise.
19345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19346 mpc_c_c.
19347 (func_calc_desc): Add mpc_c_c union field.
19348 (FUNC_mpc_c_c): New macro.
19349 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19350 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19351 ctanh.
19352 (special_fill_min_subnorm_p120): New function.
19353 (special_real_inputs): Add min_subnorm_p120.
19354 (calc_generic_results): Handle mpc_c_c.
19355 * sysdeps/i386/fpu/libm-test-ulps: Update.
19356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357
5ff8d60e
SP
193582013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19359
57f41c40
AS
19360 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19361 (do_sin_slow): New functions.
19362 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19363 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19364
84ba214c
SP
19365 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19366 Use M to change sign of result instead of X. Assume X is
19367 positive.
19368 (csloww1): Likewise.
19369 (__sin): Adjust.
19370 (__cos): Adjust.
19371
975195e4
SP
19372 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19373 arguments A and DA.
19374 (__sin): Adjust.
19375 (__cos): Likewise.
19376
5ff8d60e
SP
19377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19378 (__cos): Likewise.
19379 (sloww1): Don't adjust sign of DX.
19380 (csloww1): Likewise.
19381 (sloww2): Use X directly and don't adjust sign of DX.
19382 (csloww2): Likewise.
19383
eb983568
JM
193842013-12-19 Joseph Myers <joseph@codesourcery.com>
19385
64a17f1a
JM
19386 * math/auto-libm-test-in: Add tests of cabs and carg.
19387 * math/auto-libm-test-out: Regenerated.
19388 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19389 (carg_test_data): Likewise.
19390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19391 mpc_c_f.
19392 (func_calc_desc): Add mpc_c_f union field.
19393 (test_functions): Add cabs and carg.
19394 (calc_generic_results): Handle mpc_c_f.
19395
eb983568
JM
19396 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19397 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19398 as a macro and a compat symbol.
19399 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19400 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19401 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19402 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19403 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19404 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19405 not use .hidden.
19406 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19407 Likewise.
19408 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19409 Likewise.
19410 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19411 Likewise.
19412 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19413 Likewise.
19414 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19415 Likewise.
19416 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19417 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19418 from GLIBC_2.3.2.
19419
6eeb678a
AZ
194202013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19421
19422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19423
6f6fc482
JM
194242013-12-19 Joseph Myers <joseph@codesourcery.com>
19425
21fea2e2
JM
19426 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19427 trailing whitespace removed.
19428 * scripts/config.guess: Update to version 2013-11-29.
19429 * scripts/config.sub: Update to version 2013-10-01.
19430
6f6fc482
JM
19431 * math/auto-libm-test-in: Add tests of sincos.
19432 * math/auto-libm-test-out: Regenerated.
19433 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19434 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19435 mpfr_f_11.
19436 (func_calc_desc): Add mpfr_f_11 union field.
19437 (test_functions): Add sincos.
19438 (calc_generic_results): Handle mpfr_f_11.
19439 * sysdeps/i386/fpu/libm-test-ulps: Update.
19440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19441
83f5c32d
AS
194422013-12-19 Andreas Schwab <schwab@suse.de>
19443
19444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19445 CALL_MCOUNT.
19446 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19448 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19449
c688b419
JM
194502013-12-19 Joseph Myers <joseph@codesourcery.com>
19451
335ee092
JM
19452 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455
f88acd39
JM
19456 [BZ #16293]
19457 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19458 round-to-nearest mode when using frndint.
19459 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19460 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19462 Likewise.
19463 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19464 sinh test to fail.
19465 * math/auto-libm-test-out: Regenerated.
19466 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19467 (TEST_COND_x86): Likewise.
19468 (expm1_tonearest_test_data): New array.
19469 (expm1_test_tonearest): New function.
19470 (expm1_towardzero_test_data): New array.
19471 (expm1_test_towardzero): New function.
19472 (expm1_downward_test_data): New array.
19473 (expm1_test_downward): New function.
19474 (expm1_upward_test_data): New array.
19475 (expm1_test_upward): New function.
19476 (main): Run the new test functions.
19477 * sysdeps/i386/fpu/libm-test-ulps: Update.
19478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19479
c688b419
JM
19480 * include/features.h: Update comment documenting feature test
19481 macros. Mention _DEFAULT_SOURCE in comment.
19482 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19483 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19484 _BSD_SOURCE and _SVID_SOURCE.
19485 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19486 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19487 !_SVID_SOURCE]: Likewise.
19488 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19489 (__USE_POSIX_IMPLICITLY): Define.
19490 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19491 (_POSIX_SOURCE): Undefine and redefine.
19492 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19493 (_POSIX_C_SOURCE): Likewise.
19494 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19495 (Feature Test Macros): Update documentation of default features.
19496
9f6e964c
RS
194972013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19498
19499 * benchtests/Makefile: Add bench-strtok.
19500 * benchtests/bench-strtok.c: New file: strtok benchtest.
19501
ee0a148a
AM
195022013-12-19 Allan McRae <allan@archlinux.org>
19503
19504 * manual/install.texi: Suppress menu for plain text output.
19505 * INSTALL: Regenerated.
19506
b9ab448f
BM
195072013-12-18 Brooks Moses <bmoses@google.com>
19508
19509 [BZ #15846]
19510 * misc/getauxval.c: Include errno.h.
19511 (__getauxval): Set errno to ENOENT if the requested type is not
19512 found.
19513 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19514 don't declare with __attribute_const__.
19515 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19516 * manual/startup.texi: Document that getauxval sets errno.
19517
23776487
JM
195182013-12-18 Joseph Myers <joseph@codesourcery.com>
19519
f889953b
JM
19520 * math/auto-libm-test-in: Add tests of jn and yn.
19521 * math/auto-libm-test-out: Regenerated.
19522 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19523 (yn_test_data): Likewise.
19524 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19525 mpfr_if_f.
19526 (func_calc_desc): Add mpfr_if_f union field.
19527 (FUNC_mpfr_if_f): New macro.
19528 (test_functions): Add jn and yn.
19529 (calc_generic_results): Assert type of second input for
19530 mpfr_ff_f. Handle mpfr_if_f.
19531 (output_for_one_input_case): Disable all checking for arguments
19532 fitting floating-point types in case of an integer argument.
19533 * sysdeps/i386/fpu/libm-test-ulps: Update.
19534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535
23776487
JM
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19537 Don't expect fegetround reference in libm.so.
19538
cb756c6d
MS
195392013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19540
19541 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19542 $(config-cflags-nofma).
19543
2dec468f
JM
195442013-12-18 Joseph Myers <joseph@codesourcery.com>
19545
5953eb3a
JM
19546 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19547 * math/auto-libm-test-out: Regenerated.
19548
2dec468f
JM
19549 [BZ #16338]
19550 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19551 to determine exponent and adjust argument to have exponent of -1.
19552 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19553 log2.
19554 * math/auto-libm-test-out: Regenerated.
19555 * sysdeps/i386/fpu/libm-test-ulps: Update.
19556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19557
4d84e6ad
OB
195582013-12-18 Ondřej Bílka <neleai@seznam.cz>
19559
19560 * manual/probes.texi: Remove cases when per-thread arenas are
19561 disabled.
19562
1818483b
AS
195632013-12-18 Andreas Schwab <schwab@suse.de>
19564
19565 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19566 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19567 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19568 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19569 * sysdeps/i386/i686/multiarch/Makefile: Update.
19570 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19571
25de95bf
JM
195722013-12-17 Joseph Myers <joseph@codesourcery.com>
19573
19574 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19575 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19576
674762d9
PE
195772013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19578
ed27ed83 19579 [BZ #15968]
0748546f
PE
19580 Support TZ transition times < 00:00:00.
19581 This is needed for version-3 tz-format files; it supports time
19582 stamps past 2037 for America/Godthab (the only entry in the tz
19583 database for which this change is relevant).
19584 * manual/time.texi (TZ Variable): Document transition times
19585 from -167:59:59 through -00:00:01.
19586 * time/tzset.c (tz_rule): Time of day is now signed.
19587 (__tzset_parse_tz): Parse negative time of day.
19588
4480e934
PE
19589 Document TZ transition times >= 25:00:00.
19590 * manual/time.texi (TZ Variable): Document transition times from
19591 25:00:00 through 167:59:59. These are already supported, and this
19592 support will help with version-3 tz-format files.
19593
69947401
PE
19594 * manual/time.texi (TZ Variable): Modernize North America example
19595 to reflect current (i.e., 2007-and-later) daylight saving rules.
19596
674762d9
PE
19597 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19598
7011c262
JM
195992013-12-17 Joseph Myers <joseph@codesourcery.com>
19600
2fc6557e
JM
19601 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19602 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19605 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19606 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19607 * sysdeps/unix/bsd/clock.c: Likewise.
19608 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19609 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19610 * sysdeps/unix/bsd/init-posix.c: Likewise.
19611 * sysdeps/unix/bsd/poll.c: Likewise.
19612 * sysdeps/unix/bsd/ptsname.c: Likewise.
19613 * sysdeps/unix/bsd/seekdir.c: Likewise.
19614 * sysdeps/unix/bsd/setegid.c: Likewise.
19615 * sysdeps/unix/bsd/seteuid.c: Likewise.
19616 * sysdeps/unix/bsd/setgid.c: Likewise.
19617 * sysdeps/unix/bsd/setrgid.c: Likewise.
19618 * sysdeps/unix/bsd/setruid.c: Likewise.
19619 * sysdeps/unix/bsd/setsid.c: Likewise.
19620 * sysdeps/unix/bsd/setuid.c: Likewise.
19621 * sysdeps/unix/bsd/sigaction.c: Likewise.
19622 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19623 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19624 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19625 * sysdeps/unix/bsd/telldir.c: Likewise.
19626 * sysdeps/unix/bsd/times.c: Likewise.
19627 * sysdeps/unix/bsd/usleep.c: Likewise.
19628
029c7b25
JM
19629 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19630 ($(objpfx)libbsd-compat.a): Remove rule.
19631
7011c262
JM
19632 * include/features.h (__FAVOR_BSD): Do not define.
19633 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19634 features conflicting with POSIX.
19635 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19636 (_BSD_SOURCE): Remove description of not being a subset of other
19637 feature test macros.
19638 * manual/job.texi (getpgrp): Do not document BSD version.
19639 (getpgid): Do not document by reference to BSD getpgrp.
19640 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19641 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19642 * signal/signal.h [__FAVOR_BSD]: Likewise.
19643 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19644 instead of making contents conditional on [__FAVOR_BSD].
19645 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19646
affb6f78
AZ
196472013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19648
19649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19650
c88769dd
JM
196512013-12-17 Joseph Myers <joseph@codesourcery.com>
19652
6432a540
JM
19653 [BZ #16314]
19654 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19655 values below 2**-450, not 2**-500.
19656 * math/auto-libm-test-in: Don't allow spurious underflow from
19657 hypot.
19658 * math/auto-libm-test-out: Regenerated.
19659
c88769dd
JM
19660 [BZ #16316]
19661 [BZ #16330]
19662 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19663 values of ha and hb and sort them after adjusting subnormal
19664 arguments.
19665 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19666 Likewise.
19667 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19668 values of ea and eb and sort them after adjusting subnormal
19669 arguments.
19670 * math/auto-libm-test-in: Do not expect some hypot tests of
19671 subnormals to fail. Add more hypot tests.
19672 * math/auto-libm-test-out: Regenerated.
19673
29618f6b
KK
196742013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19675
19676 [BZ #13304]
19677 * sysdeps/sh/s_fma.c: New file.
19678 * sysdeps/sh/s_fmaf.c: New file.
19679 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19680 version.
19681 * sysdeps/sh/Implies: Add sh/soft-fp.
19682
eacfdfbf
RM
196832013-12-16 Roland McGrath <roland@hack.frob.com>
19684
19685 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19686 level of indirection to members `objname', `errstring', `malloced'.
19687 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19688 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19689 it as the __longjmp argument (just pass 1 instead).
19690 (_dl_catch_error): Initialize C with argument pointers and address of
19691 volatile local ERRCODE rather than copying values out of C at return.
19692
ff362e5b
JM
196932013-12-16 Joseph Myers <joseph@codesourcery.com>
19694
19695 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19696 * math/auto-libm-test-out: Regenerated.
19697 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19698 (hypot_test_data): Likewise.
19699 (pow_test_data): Likewise.
19700 (pow_tonearest_test_data): Likewise.
19701 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19702 mpfr_ff_f.
19703 (func_calc_desc): Add mpfr_ff_f union field.
19704 (FUNC_mpfr_ff_f): New macro.
19705 (test_functions): Add atan2, hypot and pow.
19706 (special_fill_min): New function.
19707 (special_fill_minus_min): Likewise.
19708 (special_fill_min_subnorm): Likewise.
19709 (special_fill_minus_min_subnorm): Likewise.
19710 (special_real_inputs): Add min, -min, min_subnorm and
19711 -min_subnorm.
19712 (calc_generic_results): Handle mpfr_ff_f.
19713 * sysdeps/i386/fpu/libm-test-ulps: Update.
19714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19715
5764c27f
WN
197162013-12-16 Will Newton <will.newton@linaro.org>
19717
19718 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19719 (Aligned Memory Blocks): Add documentation for aligned_alloc
19720 and suggest it as an alternative to posix_memalign.
19721 (Hooks for Malloc): Document __memalign_hook is also called
19722 for aligned_alloc. (Summary of Malloc): Add summary for
19723 aligned alloc. Document __memalign_hook is also called
19724 for aligned_alloc.
19725
0a096e44
WN
197262013-12-16 Will Newton <will.newton@linaro.org>
19727
19728 * manual/memory.texi (Malloc Examples): Clarify default
19729 alignment documentation. Suggest posix_memalign rather
19730 than memalign or valloc.
19731 (Aligned Memory Blocks): Remove suggestion to use memalign
19732 or valloc. Remove obsolete comment about BSD.
19733 Document memalign errno values and mark the function obsolete.
19734 Document posix_memalign returned error codes. Mark valloc
19735 as obsolete. (Hooks for Malloc): __memalign_hook is also
19736 called for posix_memalign and valloc.
19737 (Summary of Malloc): Add posix_memalign to function summary.
19738 __memalign_hook is also called for posix_memalign and valloc.
19739
8d561986
SP
197402013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19741
19742 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19743 TAYLOR_SIN.
19744 (__sin): Adjust.
19745 (__cos): Likewise.
19746 (sloww): Use mynumber union. Expand ternary operator into
19747 if-else statements.
19748 (cslow): use mynumber union.
19749
73616a74
AM
197502013-12-16 Allan McRae <allan@archlinux.org>
19751
9e8ac24b
AM
19752 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19753 * configure: Regenerated.
19754
6f8e37eb
AM
19755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19756
8894bad3
AM
19757 [BZ #14120]
19758 * configure.ac: Added --enable-maintainer-mode. Check for
19759 autoconf when enabled.
19760 * configure: Regenerated.
19761
73616a74
AM
19762 * nscd/nscd.service: New file.
19763 * nscd/nscd.tmpfiles: New file.
19764
584b18eb
OB
197652013-12-14 Ondřej Bílka <neleai@seznam.cz>
19766
19767 [BZ #12100]
19768 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19769 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19770 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19771 (strstr): Add __strstr_sse2_unaligned ifunc.
19772 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19773 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19774 (strcasestr): Remove __strcasestr_sse42 ifunc.
19775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19778
8a5c7897
KK
197792013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19780
19781 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19782 * sysdeps/sh/bits/fenv.h: ... here.
19783 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19784
fd712ef3
AZ
197852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19786
19787 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19788
42fcb46c
AZ
19789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19790 hypotf multiarch implementations.
19791 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19792 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19794 multiarch hypot for PPC64.
19795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19798 multiarch hypotf for PPC64.
19799
83efded4
AZ
19800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19801 modff multiarch implementations.
19802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19805 multiarch modf for PPC64.
19806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19809 multiarch modff for PPC64.
19810
43e246d2
AZ
19811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19812 and logl multiarch implementations.
19813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19816 multiarch logb for PPC64.
19817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19820 multiarch logb for PPC64.
19821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19824 multiarch logb for PPC64.
19825
8fdad123
AZ
19826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19827 isinff multiarch implementation.
19828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19829 file.
19830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19832 multiarch isinf for PPC64.
19833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19834 file.
19835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19836 multiarch isinff for PPC64.
19837
1481d706
AZ
19838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19839 finitef multiarch implementation.
19840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19841 file.
19842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19844 multiarch finite for PPC64.
19845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19846 file.
19847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19848 multiarch finitef for PPC64.
19849
5ccd5fc8
AZ
19850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19851 lrint multiarch implementation.
19852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19853 file.
19854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19856 multiarch llrint for PPC64.
19857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19858 multiarch lrint for PPC64.
19859
2568f3fa
AZ
19860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19861 copysignf multiarch implementation.
19862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19863 file.
19864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19865 file.
19866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19867 multiarch copysign for PPC64.
19868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19869 multiarch copysignf for PPC64.
19870
1cb341fd
AZ
19871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19872 multiarch implementation.
19873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19874 file.
19875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19876 file.
19877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19878 file.
19879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19880 file.
19881 multiarch llround for PPC64.
19882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19883 multiarch trunc for PPC64.
19884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19885 multiarch truncf for PPC64.
19886
59a3e194
AZ
19887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19888 multiarch implementation.
19889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19890 file.
19891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19892 file.
19893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19894 file.
19895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19896 file.
19897 multiarch llround for PPC64.
19898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19899 multiarch round for PPC64.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19901 multiarch roundf for PPC64.
19902
357fd3b4
AZ
19903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19904 multiarch implementation.
19905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19906 file.
19907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19908 file.
19909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19910 file.
19911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19912 file.
19913 multiarch llround for PPC64.
19914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19915 multiarch floor for PPC64.
19916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19917 multiarch floorf for PPC64.
19918
96770f12
AZ
19919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19920 multiarch implementation.
19921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19922 file.
19923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19924 file.
19925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19926 file.
19927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19928 file.
19929 multiarch llround for PPC64.
19930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19931 multiarch ceil for PPC64.
19932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19933 multiarch ceilf for PPC64.
19934
c3627f6e
AZ
19935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19936 multiarch implementation.
19937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19938 file.
19939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19940 file.
19941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19942 file.
19943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19944 multiarch llround for PPC64.
19945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19946 multiarch lround for PPC64.
19947
b2284ad7
AZ
19948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19949 multiarch implementation.
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19953 file.
19954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19957 multiarch isnan for PPC64.
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19959 multiarch isnanf for PPC64.
19960
69bbc63d
AZ
19961 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19962 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19963 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19964 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19965 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19967
c24517c9
AZ
19968 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19972
a52374e8
AZ
19973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19974 multiarch implementations.
19975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19976 (__libc_ifunc_impl_list): Likewise.
19977 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19979 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19980 multiarch stpcpy for PPC64.
19981
7f5ec113
AZ
19982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19983 multiarch implementations.
19984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19985 (__libc_ifunc_impl_list): Likewise.
19986 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19987 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19988 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19989 multiarch strcpy for PPC64.
19990
e28bcd42
AZ
19991 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19992 redefine function name.
19993 (_wordcopy_fwd_dest_aligned): Likewise.
19994 (_wordcopy_bwd_aligned): Likewise.
19995 (_wordcopy_bwd_dest_aligned): Likewise.
19996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19997 multiarch implementations.
19998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19999 (__libc_ifunc_impl_list): Likewise.
20000 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20001 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20002 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20003 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20004 multiarch wcscpy for PPC64.
20005
92cacfce
AZ
20006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20007 multiarch implementations.
20008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20009 (__libc_ifunc_impl_list): Likewise.
20010 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20011 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20012 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20013 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20014 multiarch wcscpy for PPC64.
20015
7b714620
AZ
20016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20017 multiarch implementations.
20018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20019 (__libc_ifunc_impl_list): Likewise.
20020 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20021 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20022 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20023 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20024 multiarch wcsrchr for PPC64.
20025
16fd2ae3
AZ
20026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20027 multiarch implementations.
20028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20029 (__libc_ifunc_impl_list): Likewise.
20030 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20031 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20032 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20033 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20034 multiarch wcschr for PPC64.
20035
9ee2969b
AZ
20036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20037 multiarch implementations.
20038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20039 (__libc_ifunc_impl_list): Likewise.
20040 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20041 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20042 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20043 multiarch strchrnul for PPC64.
20044
372dc060
AZ
20045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20046 implementations.
20047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20048 (__libc_ifunc_impl_list): Likewise.
20049 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20050 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20051 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20052 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20053 strchr for PPC64.
20054
24c2c3b9
AZ
20055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20056 implementations.
20057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20058 (__libc_ifunc_impl_list): Likewise.
20059 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20060 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20061 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20062 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20063 strncmp for PPC64.
20064
1c92d9a0
AZ
20065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20066 multiarch implementations.
20067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20068 (__libc_ifunc_impl_list): Likewise.
20069 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20070 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20071 strncasecmp for PPC64.
20072 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20073 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20074 multiarch strncasecmp_l for PPC64.
20075
17de3ee3
AZ
20076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20077 multiarch implementations.
20078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20079 (__libc_ifunc_impl_list): Likewise.
20080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20081 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20082 multiarch strcasecmp for PPC64.
20083 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20084 file.
20085 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20086 multiarch strcasecmp_l for PPC64.
20087
62982bf9
AZ
20088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20089 implementations.
20090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20091 (__libc_ifunc_impl_list): Likewise.
20092 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20093 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20094 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20095 strnlen for PPC64.
20096
a65f4904
AZ
20097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20098 implementations.
20099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20100 (__libc_ifunc_impl_list): Likewise.
20101 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20102 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20103 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20104 strlen for PPC64.
20105
1fd005ad
AZ
20106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20107 implementations.
20108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20109 (__libc_ifunc_impl_list): Likewise.
20110 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20111 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20112 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20113 rawmemrchr for PPC64.
20114
cd05ba91
AZ
20115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20116 implementation.
20117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20118 (__libc_ifunc_impl_list): Likewise.
20119 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20120 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20121 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20122 memrchr for PPC64.
20123
870f8676
AZ
20124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20125 implementation.
20126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20127 (__libc_ifunc_impl_list): Likewise.
20128 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20129 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20130 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20131 memchr for PPC64.
20132
f00be62b
AZ
20133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20134 implementation.
20135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20136 (__libc_ifunc_impl_list): Likewise.
20137 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20138 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20139 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20140 mempcpy for PPC64.
20141
8a29a3d0
AZ
20142 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20143 avoid cretion of __bzero symbol.
20144 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20145 Likewise.
20146 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20147 Likewise.
20148 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20149 Likewise.
20150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20151 multiarch implementations.
20152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20153 (__libc_ifunc_impl_list): Likewise.
20154 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20155 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20156 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20157 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20158 bzero for PPC32.
20159 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20160 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20161 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20162 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20163 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20164 memset for PPC64.
20165 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20166
07253fcf
AZ
20167 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20169 implementations.
20170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20171 (__libc_ifunc_impl_list): Likewise.
20172 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20173 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20174 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20175 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20176 memcmp for PPC64.
20177
b5beafbc
AZ
20178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20179 multiarch for POWER/PPC64.
20180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20181 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20183 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20184 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20185 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20189 memcpy for PPC64.
20190
5e6a4d4b
AZ
20191 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20192 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20193 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20194 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20195 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20196 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20197 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20198 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20199 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20200 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20201 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20202 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20203 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20204 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20205 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20213
ddfab6dc
KK
202142013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20215
20216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20217
19b5525e
SP
202182013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20219
20220 * benchtests/Makefile (bench): Add exp2 and log2.
20221 (LDLIBS-bench-exp2): Add -lm.
20222 (LDLIBS-bench-log2): Likewise.
20223 * benchtests/exp2-inputs: New inputs file.
20224 * benchtests/log2-inputs: New inputs file.
20225 * benchtests/log-inputs: Add new inputs.
20226 * benchtests/tan-inputs: Likewise.
20227
196f7f5d
SP
202282013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20229
7a74607f
SP
20230 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20231 definition...
57f41c40
AS
20232 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20233 (csloww2): ... from here.
7a74607f 20234
196f7f5d
SP
20235 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20236 instead of structures.
20237 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20238 (POLYNOMIAL): Likewise.
20239 (TAYLOR_SLOW): Likewise.
20240 (__sin): Likewise.
20241 (__cos): Likewise.
20242 (slow1): Likewise.
20243 (slow2): Likewise.
20244 (sloww): Likewise.
20245 (sloww1); Likewise.
20246 (sloww2): Likewise.
20247 (bsloww1): Likewise.
20248 (bsloww2): Likewise.
20249 (cslow2): Likewise.
20250 (csloww): Likewise.
20251 (csloww1): Likewise.
20252 (csloww2): Likewise.
20253
0dfa665c
OB
202542013-12-10 Ondřej Bílka <neleai@seznam.cz>
20255
20256 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20257 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20258 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20259 * malloc/hooks.c (realloc_check): Likewise.
20260
5782a80f
OB
20261 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20262 * malloc/arena.c: Remove PER_THREAD conditional.
20263 [!PER_THREAD]: Remove code.
20264 (ptmalloc_unlock_all2): Likewise.
20265 (ptmalloc_init): Likewise.
20266 (_int_new_arena): Likewise.
20267 (arena_get2): Likewise.
20268 * malloc/hooks.c (__malloc_get_state): Likewise.
20269 (__malloc_set_state): Likewise.
20270 * malloc/malloc.c: Likewise.
20271 (struct malloc_state): Likewise.
20272 (struct malloc_par): Likewise.
20273 (__libc_realloc): Likewise.
20274 (__libc_mallopt): Likewise.
20275
aeb95445
AZ
202762013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20277
20278 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20279
e8349efd
OB
202802013-12-09 Ondřej Bílka <neleai@seznam.cz>
20281
20282 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20283 macro to a function. Check for zero perturb_byte.
20284 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20285
f3eeb3fc 20286 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20287 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20288 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20289 force_reg by atomic_forced_read.
20290 * malloc/arena.c (ptmalloc_init): Likewise.
20291 * malloc/hooks.c (top_check): Likewise.
20292
be2f9009
AZ
202932013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20294
20295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20296
e7b914bd
MT
202972013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20298
20299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20300
9f0be4f8
JM
203012013-12-08 Joseph Myers <joseph@codesourcery.com>
20302
20303 * math/auto-libm-test-in: Add tests of lgamma.
20304 * math/auto-libm-test-out: Regenerated.
20305 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20306 (M_LOG_2_SQRT_PIl): Likewise.
20307 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20308 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20309 mpfr_f_f1.
20310 (func_calc_desc): Add mpfr_f_f1 union field.
20311 (ARGS1): New macro.
20312 (ARGS2): Likewise.
20313 (ARGS3): Likewise.
20314 (ARGS4): Likewise.
20315 (RET1): Likewise.
20316 (RET2): Likewise.
20317 (CALC): Likewise.
20318 (FUNC): Likewise.
20319 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20320 (test_functions): Add lgamma.
20321 (calc_generic_results): Handle mpfr_f_f1.
20322 * sysdeps/i386/fpu/libm-test-ulps: Update.
20323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324
24eeafdb
AZ
203252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20326
20327 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20328 __mpn_add_n for PowerPC64/POWER7.
20329 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20330 __mpn_sub_n for PowerPC64/POWER7.
20331
4a2c0fd4
AZ
20332 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20333 __mpn_addmul_1 for PowerPC64.
20334 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20335 __mpn_submul_1 for PowerPC64.
20336 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20337 for PowerPC64.
20338 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20339 for PowerPC64.
20340
4b5b548c
FS
203412013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20342
20343 [BZ #15089]
20344 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20345
0a3ac0aa
AZ
203462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347
20348 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20349
ccdc8438
AZ
20350 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20351 add multiarch folders.
20352 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20353 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20354 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20355 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20356 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20357 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20358 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20359 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20360 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20361 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20362 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20369
2e973d99
AZ
20370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20371 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20373 New file.
20374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20375 New file.
20376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20377 multiarch __ieee754_hypot for PowerPC32.
20378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20379 New file.
20380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20381 New file.
20382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20383 multiarch __ieee754_hypotf for PowerPC32.
20384
2d9470b2
AZ
20385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20386 long_double_symbol only if __logbl is defined.
20387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20388 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20389 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20390 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20392 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20393 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20394 path for implementation.
20395 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20398 logb, and logbl multiarch implementations for PowerPC32.
20399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20400 file.
20401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20402 file.
20403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20404 multiarch logb for PowerPC32.
20405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20406 file.
20407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20408 file.
20409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20410 multiarch logbf for PowerPC32.
20411 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20413 file.
20414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20415 multiarch logbl implementation for PowerPC32.
20416
5212ffce
AZ
20417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20418 and modff multiarch implementations.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20420 New file.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20422 New file.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20424 multiarch modf for PowerPC32.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20426 New file.
20427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20428 New file.
20429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20430 multiarch modff for PowerPC32.
20431
79dccf31
AZ
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20433 and lrintf multiarch implementations.
20434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20435 New file.
20436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20437 New file.
20438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20439 multiarch lrint for PowerPC32.
20440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20441 file: multiarch lrintf for PowerPC32.
20442
deb66480
AZ
20443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20444 and lroundf multiarch implementations.
20445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20446 New file.
20447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20448 New file.
20449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20450 New file.
20451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20452 multiarch lround for PowerPC32.
20453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20454 file: multiarch lroundf for PowerPC32.
20455
264b036b
AZ
20456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20457 copysign and copysignf multiarch implementations.
20458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20459 New file.
20460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20461 New file.
20462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20463 file: multiarch copysign for PowerPC32.
20464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20465 file: multiarch copysignf for PowerPC32.
20466
d47db6c9
AZ
20467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20468 and truncf multiarch implementations.
20469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20470 New file.
20471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20472 file.
20473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20474 multiarch trunc for PowerPC32.
20475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20476 New file.
20477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20478 New file.
20479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20480 multiarch truncf for PowerPC32.
20481
ddb60b5a
AZ
20482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20483 and roundf multiarch implementations.
20484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20485 New file.
20486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20487 file.
20488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20489 multiarch round for PowerPC32.
20490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20491 New file.
20492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20493 New file.
20494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20495 multiarch roundf for PowerPC32.
20496
bedcf49b
AZ
20497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20498 and floorf multiarch implementations.
20499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20500 New file.
20501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20502 file.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20504 multiarch floor for PowerPC32.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20506 New file.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20508 New file.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20510 multiarch floorf for PowerPC32.
20511
35ae5b40
AZ
20512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20513 and ceilf multiarch implementations.
20514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20515 New file.
20516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20517 file.
20518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20519 multiarch ceil for PowerPC32.
20520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20521 New file.
20522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20523 file.
20524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20525 multiarch ceilf for PowerPC32.
20526
ae1a4cd9
AZ
20527 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20528 is defined.
20529 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20530 FINITEF is defined.
20531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20532 and finitef multiarch implementations.
20533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20534 New file.
20535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20536 file.
20537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20538 multiarch finite for PowerPC32.
20539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20540 New file.
20541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20542 file: multiarch finitef for PowerPC32.
20543
64fffd65
AZ
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20545 and isinff multiarch implementations.
20546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20547 file.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20549 file.
20550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20551 multiarch isinf for PowerPC32.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20553 New file.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20555 multiarch isinff for PowerPC32.
20556
8e4e7ba2
AZ
20557 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20558 alias when __isnan is defined.
20559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20560 and isnanf multiarch implementations.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20562 file.
20563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20564 file.
20565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20566 file.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20568 file.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20570 multiarch isnan for PowerPC32.
20571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20572 New file.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20574 New file.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20576 multiarch isnanf for PowerPC32.
20577
ddba588e
AZ
20578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20579 and sqrtf multiarch implementations.
20580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20581 file.
20582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20583 file.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20585 multiarch sqrt for PowerPC32.
20586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20587 file.
20588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20589 file.
20590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20591 multiarch sqrtf for PowerPC32.
20592
0f96a2f0
AZ
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20594 and llroundf multiarch implementations.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20596 New file.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20598 New file.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20600 New file.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20602 file: multiarch llround for PowerPC32.
20603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20604 file: multiarch llroundf for PowerPC32.
20605
c9b5d79e
AZ
20606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20607 multiarch PowerPC32 fpu implementations.
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20609 New file.
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20611 New file.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20613 multiarch llrint for PowerPC32.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20615 New file.
20616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20617 New file.
20618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20619 file.
20620
9cbb3aab
AZ
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20622
ea5a72f8
AZ
20623 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20624 file.
20625 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20626 file.
20627 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20628 file.
20629 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20630 multiarch wordcopy for PPC32.
20631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20632 wordcopy objects.
20633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20634 (__libc_ifunc_impl_list): Likewise.
20635 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20636 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20637 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20638 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20639 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20640 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20641
93be09e7
AZ
20642 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20644 file.
20645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20646 file.
20647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20648 file.
20649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20650 multiarch wcscpy for PPC32.
20651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20652 multiarch objects.
20653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20654 (__libc_ifunc_impl_list): Likewise.
20655 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20656 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20657 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20658 sysdeps/powerpc/power6/wcscpy.c.
20659
bb04e529
AZ
20660 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20662 file.
20663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20664 file.
20665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20666 file.
20667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20668 multiarch wcsrchr for PPC32.
20669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20670 multiarch objects.
20671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20672 (__libc_ifunc_impl_list): Likewise.
20673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20674 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20675 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20676 sysdeps/powerpc/power6/wcsrchr.c.
20677
05b5cd1c
AZ
20678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20679 file.
20680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20681 file.
20682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20684 multiarch wcschr for PPc32.
20685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20686 multiarch objects.
20687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20688 (__libc_ifunc_impl_list): Likewise.
20689 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20690 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20691 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20692 sysdeps/powerpc/power6/wcschr.c.
20693
ba964147
AZ
20694 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20695 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20696 file.
20697 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20698 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20699 file: multiarch strchr for PPC32.
20700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20701 multiarch objects.
20702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20703 (__libc_ifunc_impl_list): Likewise.
20704
31c81aaa
AZ
20705 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20706 name.
20707 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20708 file.
20709 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20710 file.
20711 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20712 multiarch strchrnul for PPC32.
20713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20714 multiarch objects.
20715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20716 (__libc_ifunc_impl_list): Likewise.
20717
0d0607d9
AZ
20718 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20719 file.
20720 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20721 multiarch strncasecmp for PPC32.
20722 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20723 file.
20724 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20725 multiarch strncasecmp_l for PPC32.
20726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20727 strncasecmp multiarch objects.
20728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20729 (__libc_ifunc_impl_list): Likewise.
20730
4dfd5c86
AZ
20731 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20732 file.
20733 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20734 multiarch strncasecmp for PPC32.
20735 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20736 New file.
20737 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20738 multiarch strcasecmp_l for PPC32.
20739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20740 multiarch objects.
20741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20742 (__libc_ifunc_impl_list): Likewise.
20743
a19e01a3
AZ
20744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20745 file.
20746 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20747 file.
20748 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20749 multiarch strncmp for PPC32.
20750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20751 multiarch objects.
20752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20753 (__libc_ifunc_impl_list): Likewise.
20754
ae9cf7a2
AZ
20755 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20756 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20757 file.
20758 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20759 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20761 multiarch objects.
20762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20763 (__libc_ifunc_impl_list): Likewise.
20764
3148bb7d
AZ
20765 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20766 file.
20767 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20768 file.
20769 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20771 multiarch objects.
20772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20773 (__libc_ifunc_impl_list): Likewise.
20774
7af8b946
AZ
20775 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20776 file.
20777 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20778 file.
20779 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20780 multiarch rawmemchr for PPC32.
20781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20782 multiarch objects.
20783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20784 (__libc_ifunc_impl_list): Likewise.
20785
03a6aa6a
AZ
20786 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20787 file.
20788 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20789 file.
20790 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20791 file: memrchr multiarch for PPC32.
20792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20793 multiarch objects.
20794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20795 (__libc_ifunc_impl_list): Likewise.
20796
1c62e6d9
AZ
20797 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20798 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20799 file.
20800 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20801 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20802 multiarch memchr for PPC32.
20803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20804 multiarch objects.
20805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20806 (__libc_ifunc_impl_list): Likewise.
20807
87da8bdb
AZ
20808 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20809 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20810 file.
20811 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20812 file.
20813 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20814 file: multiarch mempcpy for PPC32.
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20816 multiarch objects.
20817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20818 (__libc_ifunc_impl_list): Likewise.
20819
20ed4714
AZ
20820 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20821 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20822 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20823 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20824 multiarch bzero for PPC32.
20825 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20826 file.
20827 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20828 file.
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20830 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20831 file: multiarch memset for PPC32.
20832 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20834 memset multiarch objects.
20835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20836 (__libc_ifunc_impl_list): Likewise.
20837
ab3e3a46
AZ
20838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20839 file.
20840 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20841 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20842 memcmp for PPC32.
20843 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20845 multiarch objects.
20846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20847 (__libc_ifunc_impl_list): Likewise.
20848
930de6f0
AZ
20849 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20851 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20852 file.
20853 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20854 file.
20855 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20856 file.
20857 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20858 multiarch memcpy for PPC32.
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20860 multiarch objects.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20862 (__libc_ifunc_impl_list): Likewise.
20863
4c628e00
AZ
20864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20865 support multiarch for POWER/PPC32.
20866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20867 Likewise.
20868 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20870 Implies file to make multiarch folder appers before the fpu and
20871 default folder for power4 configuration.
20872
f4479220
SP
208732013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20874
20875 * scripts/bench.pl: Append volatile keyword to type.
20876
8517800f
KK
208772013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20878
20879 * sysdeps/sh/sotruss-lib.c: New file.
20880 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20881
180138f1
AZ
208822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20883
20884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20885
bbf37bdc
JM
208862013-12-05 Joseph Myers <joseph@codesourcery.com>
20887
e47cc4e0
JM
20888 [BZ #6810]
20889 * math/w_tgamma.c: Include <errno.h>.
20890 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20891 * math/w_tgammaf.c: Include <errno.h>.
20892 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20893 * math/w_tgammal.c: Include <errno.h>.
20894 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20895 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20896 underflow. Add more tgamma tests.
20897 * math/auto-libm-test-out: Regenerated.
20898 * sysdeps/i386/fpu/libm-test-ulps: Update.
20899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20900
bbf37bdc
JM
20901 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20902 sin, sinh, tan, tanh, tgamma, y0 and y1.
20903 * math/auto-libm-test-out: Regenerated.
20904 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20905 (TEST_COND_x86): Likewise.
20906 (M_E2l): Remove macro.
20907 (M_E3l): Likewise.
20908 (M_2_SQRT_PIl): Likewise.
20909 (M_SQRT_PIl): Likewise.
20910 (M_1_DIV_El): Likewise.
20911 (log_test_data): Use AUTO_TESTS_f_f.
20912 (log10_test_data): Likewise.
20913 (log1p_test_data): Likewise.
20914 (log2_test_data): Likewise.
20915 (sin_test_data): Likewise.
20916 (sin_tonearest_test_data): Likewise.
20917 (sin_towardzero_test_data): Likewise.
20918 (sin_downward_test_data): Likewise.
20919 (sin_upward_test_data): Likewise.
20920 (sinh_test_data): Likewise.
20921 (sinh_tonearest_test_data): Likewise.
20922 (sinh_towardzero_test_data): Likewise.
20923 (sinh_downward_test_data): Likewise.
20924 (sinh_upward_test_data): Likewise.
20925 (tan_test_data): Likewise.
20926 (tan_tonearest_test_data): Likewise.
20927 (tan_towardzero_test_data): Likewise.
20928 (tan_downward_test_data): Likewise.
20929 (tan_upward_test_data): Likewise.
20930 (tanh_test_data): Likewise.
20931 (tgamma_test_data): Likewise.
20932 (y0_test_data): Likewise.
20933 (y1_test_data): Likewise.
20934 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20935 (special_real_inputs): Add pi/4.
20936 * sysdeps/i386/fpu/libm-test-ulps: Update.
20937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20938
eb5ad6b9
AZ
209392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20940
20941 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20942 "longjmp_target" static probes.
20943 (__longjmp): Rename to __longjmp_symbol.
20944 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20945 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20946 on which longjmp to generate.
20947 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20948 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20949 probe.
20950 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20951 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20952 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20953 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20954 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20955 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20957 __longjmp_symbol based on which __longjmp to generate.
20958 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20959 probe.
20960 (setjmp): Rename to setjmp_symbol.
20961 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20962 (_setjmp): Rename to _setjmp_symbol.
20963 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20964 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20965 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20966 which setjmp to generate.
20967 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20968 "longjmp_target" static probes.
20969
d136c6dc
SP
209702013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20971
9298ecba
SP
20972 * benchtests/README: Add note about output arguments.
20973 * benchtests/bench-sincos.c: Remove file.
20974 * benchtests/sincos-inputs: New file.
20975 * scripts/bench.pl: Identify output arguments and define
20976 static variables for them.
20977
232983e9
SP
20978 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20979
d136c6dc
SP
20980 [BZ #15941]
20981 * Makefile (INSTALL): Add install-plain.texi as the primary
20982 dependency.
20983 * manual/install-plain.texi: New file.
20984 * manual/install.texi: Include node directive only for
20985 non-plaintext output.
20986
699ff837
JM
209872013-12-04 Joseph Myers <joseph@codesourcery.com>
20988
ab07cea8
JM
20989 * stdlib/longlong.h: Update from GCC.
20990
699ff837
JM
20991 [BZ #6807]
20992 [BZ #15901]
20993 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20994 * math/w_j0f.c (y0f): Likewise.
20995 * math/w_j0l.c (__y0l): Likewise.
20996 * math/w_j1.c (y1): Likewise.
20997 * math/w_j1f.c (y1f): Likewise.
20998 * math/w_j1l.c (__y1l): Likewise
20999 * math/w_jn.c (yn): Likewise.
21000 * math/w_jnf.c (ynf): Likewise.
21001 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21002 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21003 value for Bessel function domain errors outside _SVID_ mode.
21004 Adjust sign of return value for yn (negative integer, 0).
21005 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21006 by zero in return for negative x and set sign appropriately for
21007 negative n.
21008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21009 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21010 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21011 expectations in error cases.
21012 (y1_test_data): Likewise.
21013 (yn_test_data): Likewise.
21014 * sysdeps/i386/fpu/libm-test-ulps: Update.
21015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21016
5b118558
UW
210172013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21018
21019 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21020 "64" to "64-v1". Add "64-v2".
21021 (abi-64-options): Rename to ...
21022 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21023 (abi-64-condition): Rename to ...
21024 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21025 (abi-64-ld-soname): Rename to ...
21026 (abi-64-v1-ld-soname): ... this.
21027 (abi-64-v2-options): Define.
21028 (abi-64-v2-condition): Likewise.
21029 (abi-64-v2-ld-soname): Likewise.
21030 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21031 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21035
61cd8fe4
UW
210362013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21037 Alan Modra <amodra@gmail.com>
21038
21039 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21040 New versions for use with the ELFv2 ABI.
21041 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21042 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21043 declaration.
21044 (struct La_ppc64v2_retval): Likewise.
21045 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21046 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21047 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21048 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21049 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21050 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21051 Do not save or restore CR.
21052 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21053 (_dl_profile_resolve): Do no save or restore CR. Support extended
21054 return values for ELFv2 ABI. Fix location of FPR return registers.
21055 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21056 updated values for _CALL_ELF == 2.
21057 (La_regs, La_retval, int_retval): Likewise.
21058
8b8a692c
UW
210592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21060
21061 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21062 (FRAME_MIN_SIZE_PARM): Likewise.
21063 (FRAME_BACKCHAIN): Likewise.
21064 (FRAME_CR_SAVE): Likewise.
21065 (FRAME_LR_SAVE): Likewise.
21066 (FRAME_TOC_SAVE): Likewise.
21067 (FRAME_PARM_SAVE): Likewise.
21068 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21069 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21070 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21071 (call_mcount_parm_offset): New macro.
21072 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21073 (PROF): Use symbolic stack frame offsets.
21074 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21075 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21076 Redefine in terms of FRAME_MIN_SIZE.
21077 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21078 (_dl_profile_resolve): Likewise. Update comment.
21079 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21080 symbols stack frame offsets.
21081 (__sigsetjmp): Likewise.
21082 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21083 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21085 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21086
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21088 (FRAME_BACKCHAIN): Remove.
21089 (FRAME_CR_SAVE): Likewise.
21090 (FRAME_LR_SAVE): Likewise.
21091 (FRAME_COMPILER_DW): Likewise.
21092 (FRAME_LINKER_DW): Likewise.
21093 (FRAME_TOC_SAVE): Likewise.
21094 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21095 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21096 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21097 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21099 (CHECK_SP): Use symbolic stack frame offsets.
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21101 zone" instead of caller's parameter save area for temp storage.
21102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21103 Likewise. Also, use symbolic stack frame offsets.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21105 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21106 our own stack frame instead of the caller's.
21107 (__socket): Use symbolic stack frame offsets.
21108
122b66de
UW
211092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21110 Alan Modra <amodra@gmail.com>
21111
21112 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21113 Define.
57f41c40
AS
21114 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21115 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21116 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21117 New function.
21118 (elf_machine_fixup_plt): Call it.
21119 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21120 reloc arguments.
21121 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21123 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21124 r2 before calling target.
21125
696caf1d
UW
211262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21127 Alan Modra <amodra@gmail.com>
21128
21129 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21130 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21131 versions of macros to support ELFv2 ABI.
21132 (LOCALENTRY): New macro.
21133 (ENTRY, EALIGN): Use it.
21134 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21135 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21136 fall through into ENTRY entry point.
21137 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21138 Only define if _CALL_ELF != 2.
21139
21140 (elf_machine_matches_host): Verify ABI version matches.
21141 (RTLD_START): Use LOCALENTRY.
21142 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21143 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21144 (PLT_ENTRY_WORDS): New macro.
21145 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21146 (elf_machine_runtime_setup): Support ELFv2 ABI.
21147 (elf_machine_fixup_plt): Likewise.
21148 (elf_machine_plt_conflict): Likewise.
21149 (resolve_ifunc): Likewise.
21150 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21152 Likewise.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21154 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21156 (makecontext): Support ELFv2 ABI.
21157 * elf/elf.h (EF_PPC64_ABI): Define.
21158
d31beafa
UW
211592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21160
57f41c40
AS
21161 * sysdeps/powerpc/powerpc64/sysdep.h
21162 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21163 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21164 (ENTRY) [ASSEMBLER]: ... but instead here ...
21165 (EALIGN) [ASSEMBLER]: ... and here.
21166 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21167 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21168 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21169 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21170 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21172 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21173 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21175 Use PPC64_LOAD_FUNCPTR.
21176
b525166b
UW
21177 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21178
7ec07d9a
AM
211792013-12-04 Alan Modra <amodra@gmail.com>
21180
21181 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21182 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21183 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21184 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21185
21186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21187 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21188 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21189 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21190 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21191 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21192
5162e7dd
UW
211932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21194
21195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21196 (__makecontext): Fix incorrect CFI when backtracing out of
21197 context created via makecontext.
21198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21199 (__setcontext): Fix incorrect CFI during switch to new context.
21200 (__novec_setcontext): Likewise.
21201
19e3372b
OB
212022013-12-04 Ondřej Bílka <neleai@seznam.cz>
21203
21204 [BZ #4772]
21205 * time/strptime_l.c (__strptime_internal): Allow modifiers
21206 in strptime.
21207 * time/tst-strptime.c (day_tests): Add testcase.
21208
ecaf142d
SP
212092013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21210
21211 * scripts/bench.pl: Skip over blank lines.
21212
fbf964ae
PE
212132013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21214
21215 [BZ #926]
21216 * manual/time.texi (Calendar Time): Clarify what timezone functions
21217 use.
21218
fa60a674
AZ
212192013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21220
21221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21222
d674f0ef
OB
212232013-12-04 Ondřej Bílka <neleai@seznam.cz>
21224
21225 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21226 implementation.
21227 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21228 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21229 * debug/memset_chk.c (__memset_chk): Likewise.
21230 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21231 * debug/strncpy_chk.c: Likewise.
21232
17dea188
JM
212332013-12-03 Joseph Myers <joseph@codesourcery.com>
21234
749008ff
JM
21235 [BZ #15268]
21236 [BZ #15425]
21237 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21238 (__ieee754_exp): For possibly underflowing results, check size of
21239 result and force underflow exception if required.
21240 * math/auto-libm-test-in: Add more tests of exp.
21241 * math/auto-libm-test-out: Regenerated.
21242 * sysdeps/i386/fpu/libm-test-ulps: Update.
21243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21244
17dea188
JM
21245 [BZ #16283]
21246 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21247 * math/w_exp2f.c (__exp2f): Likewise.
21248 * math/w_exp2l.c (__exp2l): Likewise.
21249 * math/auto-libm-test-in: Do not allow missing errno on exp2
21250 underflow.
21251 * math/auto-libm-test-out: Regenerated.
21252
b20de2c3
OB
212532013-12-03 Ondřej Bílka <neleai@seznam.cz>
21254
21255 [BZ #16274]
21256 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21257 handle filename validation.
21258 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21259 (do_open): Delete.
21260
d8e2dbe3
JM
212612013-12-03 Joseph Myers <joseph@codesourcery.com>
21262
34e16df5
JM
21263 [BZ #6786]
21264 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21265 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21266 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21267 <float.h>.
21268 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21270 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21272 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21274 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21275 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21276 Add more erfc tests.
21277 * math/auto-libm-test-out: Regenerated.
21278 * sysdeps/i386/fpu/libm-test-ulps: Update.
21279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21280
d8e2dbe3
JM
21281 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21282 exp2, expm1, j0 and j1.
21283 * math/auto-libm-test-out: Regenerated.
21284 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21285 (erfc_test_data): Likewise.
21286 (exp_test_data): Likewise.
21287 (exp_tonearest_test_data): Likewise.
21288 (exp_towardzero_test_data): Likewise.
21289 (exp_downward_test_data): Likewise.
21290 (exp_upward_test_data): Likewise.
21291 (exp10_test_data): Likewise.
21292 (exp2_test_data): Likewise.
21293 (expm1_test_data): Likewise.
21294 (j0_test_data): Likewise.
21295 (j1_test_data): Likewise.
21296 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21297 (input_flag_type): Add flag_xfail_rounding.
21298 (input_flags): Add xfail-rounding.
21299 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21300 (output_for_one_input_case): Handle flag_xfail_rounding.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303
18d14251
AJ
213042013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21305
3d2e6075 21306 [BZ #16289]
18d14251
AJ
21307 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21308 division by 0.
21309
520d437b
SP
213102013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21311
21312 [BZ #16195]
21313 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21314 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21315 (STAP_PROBE0): New macro.
21316 (STAP_PROBE1): Likewise.
21317 (STAP_PROBE2): Likewise.
21318 (STAP_PROBE3): Likewise.
21319 (STAP_PROBE4): Likewise.
21320
416e0145
OB
213212013-12-02 Ondřej Bílka <neleai@seznam.cz>
21322
21323 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21324
9d17796a
SE
213252013-12-02 Steve Ellcey <sellcey@mips.com>
21326
21327 * benchtests/Makefile (bench): Add sqrt.
21328 (LDLIBS-bench-sqrt): New.
21329 * benchtests/sqrt-input: New.
21330
f524d6a8
PS
213312013-12-02 Pavel Simerda <psimerda@redhat.com>
21332
639a0ef8
PS
21333 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21334 (GAIH_EAI): Likewise.
21335 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21336 (gaih_inet): Likewise.
21337 (getaddrinfo): Don't use GAIH_EAI.
21338
f524d6a8
PS
21339 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21340 (struct gaih): Remove definition.
21341
df3aedaf
SP
213422013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21343
21344 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21345 Use HERRNOP directly.
21346
1ab19dec
AZ
213472013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21348
b42ad38d 21349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21350
176b0c79
JM
213512013-11-30 Joseph Myers <joseph@codesourcery.com>
21352
21353 * math/gen-auto-libm-tests.c (test_functions): Add more
21354 single-argument functions.
21355 (special_fill_pi_2): New function.
21356 (special_fill_minus_pi_2): Likewise.
21357 (special_fill_pi_6): Likewise.
21358 (special_fill_minus_pi_6): Likewise.
21359 (special_fill_pi_3): Likewise.
21360 (special_fill_2pi_3): Likewise.
21361 (special_fill_e): Likewise.
21362 (special_fill_1_e): Likewise.
21363 (special_fill_e_minus_1): Likewise.
21364 (special_real_inputs): Add more special inputs.
21365 (output_for_one_input_case): Do not require ERANGE on underflow to
21366 zero if round-to-nearest result does not underflow to zero, unless
21367 exact results required.
21368 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21369 atan, atanh, cbrt, cos and cosh.
21370 * math/auto-libm-test-out: Regenerated.
21371 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21372 (acos_tonearest_test_data): Likewise.
21373 (acos_towardzero_test_data): Likewise.
21374 (acos_downward_test_data): Likewise.
21375 (acos_upward_test_data): Likewise.
21376 (acosh_test_data): Likewise.
21377 (asin_test_data): Likewise.
21378 (asin_tonearest_test_data): Likewise.
21379 (asin_towardzero_test_data): Likewise.
21380 (asin_upward_test_data): Likewise.
21381 (asinh_test_data): Likewise.
21382 (atan_test_data): Likewise.
21383 (atanh_test_data): Likewise.
21384 (cbrt_test_data): Likewise.
21385 (cos_test_data): Likewise.
21386 (cos_tonearest_test_data): Likewise.
21387 (cos_towardzero_test_data): Likewise.
21388 (cos_downward_test_data): Likewise.
21389 (cos_upward_test_data): Likewise.
21390 (cosh_test_data): Likewise.
21391 (cosh_tonearest_test_data): Likewise.
21392 (cosh_towardzero_test_data): Likewise.
21393 (cosh_downward_test_data): Likewise.
21394 (cosh_upward_test_data): Likewise.
21395 * sysdeps/i386/fpu/libm-test-ulps: Update.
21396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21397
ffb536d0
JM
213982013-11-29 Joseph Myers <joseph@codesourcery.com>
21399
2a77a467
JM
21400 [BZ #6787]
21401 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21402 * math/w_exp10f.c (__exp10f): Likewise.
21403 * math/w_exp10l.c (__exp10l): Likewise.
21404 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21405 errno settings in existing tests.
21406
ea3bc4e8
JM
21407 [BZ #14032]
21408 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21409 precision control set to double precision.
21410 * sysdeps/i386/fpu/w_sqrt.c: New file.
21411 * math/auto-libm-test-in: Add more tests.
21412 * math/auto-libm-test-out: Update.
21413
0712c9d8
JM
21414 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21415 (sqrt_test_tonearest): New function.
21416 (sqrt_towardzero_test_data): New variable.
21417 (sqrt_test_towardzero): New function.
21418 (sqrt_downward_test_data): New variable.
21419 (sqrt_test_downward): New function.
21420 (sqrt_upward_test_data): New variable.
21421 (sqrt_test_upward): New function.
21422 (main): Call the new functions.
21423
ffb536d0
JM
21424 * math/gen-auto-libm-tests.c: New file.
21425 * math/auto-libm-test-in: Likewise.
21426 * math/auto-libm-test-out: New generated file.
21427 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21428 variables.
21429 (%beautify): Add generated representations of zero.
21430 (top level): Set $auto_input and call parse_auto_input.
21431 (beautify): Remove trailing "f" from hex float constants.
21432 (parse_args): Handle XFAIL_TEST.
21433 (convert_condition): New function.
21434 (or_value): Likewise.
21435 (or_cond_value): Likewise.
21436 (generate_testfile): Handle AUTO_TESTS_* lines.
21437 (parse_auto_input): New function.
21438 * math/libm-test.inc (XFAIL_TEST): New macro.
21439 (ERRNO_UNCHANGED): Update value.
21440 (ERRNO_EDOM): Likewise.
21441 (ERRNO_ERANGE): Likewise.
21442 (IGNORE_RESULT): Likewise.
21443 (TEST_COND_flt_32): New macro.
21444 (TEST_COND_dbl_64): Likewise.
21445 (TEST_COND_ldbl_96_intel): Likewise.
21446 (TEST_COND_ldbl_96_m68k): Likewise.
21447 (TEST_COND_ldbl_128): Likewise.
21448 (TEST_COND_ldbl_128ibm): Likewise.
21449 (TEST_COND_long32): Likewise.
21450 (TEST_COND_long64): Likewise.
21451 (TEST_COND_before_rounding): Likewise.
21452 (TEST_COND_after_rounding): Likewise.
21453 (enable_test): Handle XFAIL_TEST flag.
21454 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21455 with finite results.
21456 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21457 auto-libm-test-out.
21458
acd98a8e
AK
214592013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21460 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21461
21462 [BZ #16214]
21463 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21464 __tls_get_addr_internal instead of __tls_get_offset in order to
21465 avoid GOT pointer dependency. Make rtld export
21466 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21467 __tls_get_addr since we are a __tls_get_offset platform.
21468 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21469 GOT pointer being set up before.
21470 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21471
3c1c46a6
JM
214722013-11-28 Joseph Myers <joseph@codesourcery.com>
21473
7475aef5
JM
21474 * manual/math.texi (Errors in Math Functions): Document accuracy
21475 goals.
21476
8bca7cd8
JM
21477 [BZ #15004]
21478 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21479 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21480 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21481 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21482 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21483 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21484 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21489 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21494
91a1f3fe
JM
21495 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21496 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21497 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21498 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21499 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21500 Likewise.
21501 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21502 Likewise.
21503 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21504 Likewise.
21505 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21506 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21507 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21508 atomic-feupdateenv and flt-rounds.
21509 * sysdeps/powerpc/nofpu/Versions (libc): Add
21510 __atomic_feholdexcept, __atomic_feclearexcept,
21511 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21512 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21513 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21514 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21515 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21516 here.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21518 Update.
21519
c5df7609
JM
21520 * manual/arith.texi (FP Exceptions): Document that exceptions may
21521 not be raised when matherr is used.
21522 (Math Error Reporting): Document overflow in directed rounding
21523 modes. Document that errno may not be set when finite values are
21524 returned on overflow. Document intent to set errno on underflow
21525 only for underflow to zero.
21526
3c1c46a6
JM
21527 [BZ #16271]
21528 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21529 round-to-nearest then adjust result for other rounding modes.
21530 * include/fenv.h (fegetround): Use libm_hidden_proto.
21531 * math/fegetround.c (fegetround): Use libm_hidden_def.
21532 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21533 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21534 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21535 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21536 Likewise.
21537 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21538 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21539 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21540 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21541
5a4c6d53
SP
215422013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21543
21544 [BZ #16077]
21545 * nss/Versions (libnss_files): Add
21546 _nss_files_gethostbyname3_r.
21547 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21548 New function.
21549 (HOST_DB_LOOKUP): Remove macro.
21550 (_nss_files_gethostbyname_r): Implement function without the
21551 HOST_DB_LOOKUP macro.
21552 (_nss_files_gethostbyname2_r): Likewise.
21553
897b98ba
OB
215542013-11-28 Ondřej Bílka <neleai@seznam.cz>
21555
21556 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21557
6f476861
UB
215582013-11-26 Uros Bizjak <ubizjak@gmail.com>
21559
21560 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21561 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21562 warning.
21563
bd12ab55
AZ
215642013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21565
21566 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21567 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21568 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21569 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21570 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21571 __fe_nomask_env_priv and attribute_hidden.
21572 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21573 (libc_feupdateenv_test_ppc): Likewise.
21574 (libc_feresetround_ppc): Likewise.
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21576 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21577 compat_symbol macro.
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21579 (__fe_nomask_env): Likewise.
21580 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21581
52bb6543
OB
215822013-11-26 Ondřej Bílka <neleai@seznam.cz>
21583
21584 * string/Makefile: Remove ifunc tests.
21585 * string/test-string.h: Define TEST_IFUNC.
21586 * string/test-bcopy-ifunc.c: Remove.
21587 * string/test-bzero-ifunc.c: Likewise.
21588 * string/test-memccpy-ifunc.c: Likewise.
21589 * string/test-memchr-ifunc.c: Likewise.
21590 * string/test-memcmp-ifunc.c: Likewise.
21591 * string/test-memcpy-ifunc.c: Likewise.
21592 * string/test-memmem-ifunc.c: Likewise.
21593 * string/test-memmove-ifunc.c: Likewise.
21594 * string/test-mempcpy-ifunc.c: Likewise.
21595 * string/test-memrchr-ifunc.c: Likewise.
21596 * string/test-memset-ifunc.c: Likewise.
21597 * string/test-rawmemchr-ifunc.c: Likewise.
21598 * string/test-stpcpy-ifunc.c: Likewise.
21599 * string/test-stpncpy-ifunc.c: Likewise.
21600 * string/test-strcasecmp-ifunc.c: Likewise.
21601 * string/test-strcasestr-ifunc.c: Likewise.
21602 * string/test-strcat-ifunc.c: Likewise.
21603 * string/test-strchr-ifunc.c: Likewise.
21604 * string/test-strchrnul-ifunc.c: Likewise.
21605 * string/test-strcmp-ifunc.c: Likewise.
21606 * string/test-strcpy-ifunc.c: Likewise.
21607 * string/test-strcspn-ifunc.c: Likewise.
21608 * string/test-strlen-ifunc.c: Likewise.
21609 * string/test-strncasecmp-ifunc.c: Likewise.
21610 * string/test-strncat-ifunc.c: Likewise.
21611 * string/test-strncmp-ifunc.c: Likewise.
21612 * string/test-strncpy-ifunc.c: Likewise.
21613 * string/test-strnlen-ifunc.c: Likewise.
21614 * string/test-strpbrk-ifunc.c: Likewise.
21615 * string/test-strrchr-ifunc.c: Likewise.
21616 * string/test-strspn-ifunc.c: Likewise.
21617 * string/test-strstr-ifunc.c: Likewise.
21618
ab260039 216192013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21620
21621 * benchtests/Makefile: Remove ifunc tests.
21622 * benchtests/bench-string.h: Define TEST_IFUNC.
21623 * benchtests/bench-bcopy-ifunc.c: Remove.
21624 * benchtests/bench-bzero-ifunc.c: Likewise.
21625 * benchtests/bench-memccpy-ifunc.c: Likewise.
21626 * benchtests/bench-memchr-ifunc.c: Likewise.
21627 * benchtests/bench-memcmp-ifunc.c: Likewise.
21628 * benchtests/bench-memcpy-ifunc.c: Likewise.
21629 * benchtests/bench-memmem-ifunc.c: Likewise.
21630 * benchtests/bench-memmove-ifunc.c: Likewise.
21631 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21632 * benchtests/bench-memrchr-ifunc.c: Likewise.
21633 * benchtests/bench-memset-ifunc.c: Likewise.
21634 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21635 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21636 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21637 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21638 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21639 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21640 * benchtests/bench-strcat-ifunc.c: Likewise.
21641 * benchtests/bench-strchr-ifunc.c: Likewise.
21642 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21643 * benchtests/bench-strcmp-ifunc.c: Likewise.
21644 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21645 * benchtests/bench-strcpy-ifunc.c: Likewise.
21646 * benchtests/bench-strcspn-ifunc.c: Likewise.
21647 * benchtests/bench-strlen-ifunc.c: Likewise.
21648 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21649 * benchtests/bench-strncat-ifunc.c: Likewise.
21650 * benchtests/bench-strncmp-ifunc.c: Likewise.
21651 * benchtests/bench-strncpy-ifunc.c: Likewise.
21652 * benchtests/bench-strnlen-ifunc.c: Likewise.
21653 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21654 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21655 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21656 * benchtests/bench-strspn-ifunc.c: Likewise.
21657 * benchtests/bench-strstr-ifunc.c: Likewise.
21658
216592013-11-26 Ondřej Bílka <neleai@seznam.cz>
21660
ab260039
OB
21661 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21662
d1d9eaf4 216632013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21664
d1d9eaf4
OB
21665 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21666 * rt/aio.h: Likewise.
21667 * sysdeps/gnu/bits/utmp.h: Likewise.
21668 * sysdeps/gnu/bits/utmpx.h: Likewise.
21669 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21670 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21671 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21672 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21673 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21674 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21675 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21676 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21677 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21678 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21679 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21680 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21681 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21683 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21684 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21685 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21686 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21687 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21688 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21689 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21690 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21691 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21692 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21693 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21697 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21698 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21699 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21700 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21703 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21704 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21705 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21706 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21707 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21708 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21709 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21710 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21711
a7624ed9
CD
217122013-11-25 Carlos O'Donell <carlos@redhat.com>
21713
21714 [BZ #16245]
21715 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21716 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21717
63cfe52b
JM
217182013-11-25 Joseph Myers <joseph@codesourcery.com>
21719
21720 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21721 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21722 Likewise.
21723
41e8926a
AZ
217242013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21725
21726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21727 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21728 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21729 (__fesetround): Remove define.
21730 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21731 rounding and exceptions handling.
21732 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21733 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21734 (__fe_nomask_env): Likewise.
21735 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21736 __fegetround instead of fegetround.
21737 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21738 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21739
6851bd4d
RM
217402013-11-21 Roland McGrath <roland@hack.frob.com>
21741
070906ff
RM
21742 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21743 it's there.
21744
6851bd4d
RM
21745 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21746
84ae135d
MI
217472013-11-21 Meador Inge <meadori@codesourcery.com>
21748
21749 [BZ #11157]
21750 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21751 (encrypt_r): Likewise.
21752 * malloc/obstack.h (obstack_free): Likewise.
21753 * posix/unistd.h (encrypt): Likewise.
21754
daf75146
GM
217552013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21756
21757 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21758 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21759 DL_CALL_DT_FINI() that call the functions directly.
21760 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21761 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21762 * elf/dl-fini.c: Likewise.
21763
10ad46bc
OB
217642013-11-20 Ondřej Bílka <neleai@seznam.cz>
21765
21766 * malloc/hooks.c (memalign_check): Add alignment rounding.
21767 * malloc/malloc.c (_mid_memalign): New function.
21768 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21769 Implement by calling _mid_memalign.
21770 * manual/probes.texi (Memory Allocation Probes): Remove
21771 memory_valloc_retry and memory_pvalloc_retry.
21772
f3fd2628
SP
217732013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21774
4712799f
SP
21775 * locale/programs/locarchive.c (open_archive): Add const
21776 qualifier to ARCHIVEFNAME and copy default fname to
21777 DEFAULT_FNAME.
21778
0417b20f
SP
21779 [BZ #15601]
21780 * libio/tst-widetext.input: Rename Oriya to Odia.
21781 * locale/iso-639.def: Likewise.
21782
f3fd2628
SP
21783 * manual/probes.texi (Mathematical Function Probes): Add
21784 documentation for sin, cos, asin and acos probes.
21785 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21786 (__sin32): Add slowasin probe.
21787 (__cos32): Add slowacos probe.
21788 (__mpsin): Add slowsin probe.
21789 (__mpcos): Add slowcos probe.
21790
73c1ce4f
JM
217912013-11-19 Joseph Myers <joseph@codesourcery.com>
21792
21793 [BZ #15483]
21794 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21795 thread-local __sim_exceptions_thread and global
21796 __sim_exceptions_global.
21797 (__sim_disabled_exceptions): Change to thread-local
21798 __sim_disabled_exceptions_thread and global
21799 __sim_disabled_exceptions_global.
21800 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21801 and global __sim_round_mode_global.
21802 (__simulate_exceptions): Use thread-local floating-point state and
21803 set global state from it as needed.
21804 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21805 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21806 __sim_round_mode_thread.
21807 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21808 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21809 and global __sim_exceptions_global.
21810 (__sim_disabled_exceptions): Change to thread-local
21811 __sim_disabled_exceptions_thread and global
21812 __sim_disabled_exceptions_global.
21813 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21814 and global __sim_round_mode_global.
21815 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21816 (SIM_SET_GLOBAL): Likewise.
21817 * sysdeps/powerpc/soft-fp/sfp-machine.h
21818 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21819 __sim_round_mode_thread.
21820 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21821 __sim_disabled_exceptions_thread.
21822 (__sim_exceptions): Change to __sim_exceptions_thread.
21823 (__sim_disabled_exceptions): Change to
21824 __sim_disabled_exceptions_thread.
21825 (__sim_round_mode): Change to __sim_round_mode_thread.
21826 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21827 thread-local floating-point state and set global state from it as
21828 needed.
21829 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21830 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21831 (__sim_disabled_exceptions): Remove extern declaration.
21832 (feenableexcept): Use thread-local floating-point state and set
21833 global state from it as needed.
21834 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21835 extern declaration.
21836 (__sim_disabled_exceptions): Likewise.
21837 (__sim_round_mode): Likewise.
21838 (__fegetenv): Use thread-local floating-point state.
21839 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21840 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21841 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21842 floating-point state and set global state from it as needed.
21843 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21844 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21845 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21846 Likewise.
21847 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21848 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21849 Likewise.
21850 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21851 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21852 Use __sim_round_mode_thread.
21853 * math/test-fenv-tls.c: New file.
21854 * math/Makefile (tests): Add test-fenv-tls.
21855 ($(objpfx)test-fenv-tls): Depend on
21856 $(common-objpfx)nptl/libpthread.so.
21857
b5449b12
AS
218582013-11-19 Andreas Schwab <schwab@suse.de>
21859
21860 * locale/programs/locale.c (show_info): Decode wordarray elements.
21861 * locale/categories.def (LC_MONETARY): Add element for
21862 _NL_MONETARY_CRNCYSTR.
21863 * locale/C-monetary.c (conversion_rate): New variable.
21864 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21865 element.
21866
e186536b
CM
218672013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21868
21869 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21870 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21871
5c349950
PP
218722013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21873
21874 * elf/Makefile (tst-auxv): New test.
21875 * elf/tst-auxv.c: New
21876 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21877
699df45b
JM
218782013-11-18 Joseph Myers <joseph@codesourcery.com>
21879
21880 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21881 (hidden_proto): Caller changed.
21882 (hidden_tls_proto): New macro.
21883 (libc_hidden_tls_proto): Likewise.
21884 (rtld_hidden_tls_proto): Likewise.
21885 (libm_hidden_tls_proto): Likewise.
21886 (libresolv_hidden_tls_proto): Likewise.
21887 (librt_hidden_tls_proto): Likewise.
21888 (libdl_hidden_tls_proto): Likewise.
21889 (libnss_files_hidden_tls_proto): Likewise.
21890 (libnsl_hidden_tls_proto): Likewise.
21891 (libnss_nisplus_hidden_tls_proto): Likewise.
21892 (libutil_hidden_tls_proto): Likewise.
21893
b7589107
OB
218942013-11-18 Ondřej Bílka <neleai@seznam.cz>
21895
21896 [BZ #10253]
21897 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21898 (decompose_rpath): Defer expansion to fillin_rpath.
21899 (_dl_init_paths): Pass linkmap to fillin_rpath.
21900
250c23bd
RS
219012013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21902
21903 * benchtests/Makefile: Add strsep.
21904 * benchtests/bench-strsep.c: New file: strsep benchtest.
21905 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21906
a7931fcf
AS
219072013-11-18 Andreas Schwab <schwab@suse.de>
21908
21909 * locale/programs/locale.c (show_info) [case byte]: Check for
21910 '\377' instead of '\177'.
21911 * locale/C-monetary.c (not_available): Always use "\377".
21912 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21913 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21914 detect unavailable sign_posn locale elements.
21915 * locale/localeconv.c (__localeconv): For grouping and
21916 mon_grouping handle "\177" and "\377" like no grouping.
21917 (INT_ELEM): New macro. Use it to set all numeric members.
21918 * locale/programs/ld-monetary.c (monetary_read)
21919 <tok_mon_grouping>: Normalize single -1 to the empty string.
21920 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21921 Likewise.
21922
728dab0e
OB
219232013-11-07 Ondřej Bílka <neleai@seznam.cz>
21924
21925 [BZ #16055]
21926 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21927 when we match (nil).
21928 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21929
66294491
JM
219302013-11-16 Joseph Myers <joseph@codesourcery.com>
21931
ce665817
JM
21932 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21933 (NO_TEST_INLINE): Update value.
21934 (ERRNO_UNCHANGED): Likewise.
21935 (ERRNO_EDOM): Likewise.
21936 (ERRNO_ERANGE): Likewise.
21937 (IGNORE_RESULT): Likewise.
21938 (check_float_internal): Check signs of NaN results if
21939 TEST_NAN_SIGN used.
21940 (check_complex): Pass TEST_NAN_SIGN flag through to second
21941 check_float_internal call.
21942 (copysign_test_data): Add tests with quiet NaNs as second
21943 argument. Use TEST_NAN_SIGN.
21944 (fabs_test_data): Add test of negative quiet NaN argument. Use
21945 TEST_NAN_SIGN.
21946 (signbit_test_data): Add tests of quiet NaN argument.
21947 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21948
ee1466a9
JM
21949 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21950 $ignore_result.
21951 (parse_args): Handle function results specified as IGNORE.
21952 * math/libm-test.inc (IGNORE_RESULT): New macro.
21953 (check_float_internal): Do not check numerical result if flag
21954 IGNORE_RESULT set.
21955 (check_complex): Pass through IGNORE_RESULT to second
21956 check_float_internal call.
21957 (check_int): Do not check numerical result if flag IGNORE_RESULT
21958 set.
21959 (check_long): Likewise.
21960 (check_bool): Likewise.
21961 (check_longlong): Likewise.
21962 (lrint_test_data): Add tests of infinite and NaN arguments.
21963 (lrint_tonearest_test_data): Likewise.
21964 (lrint_towardzero_test_data): Likewise.
21965 (lrint_downward_test_data): Likewise.
21966 (lrint_upward_test_data): Likewise.
21967 (llrint_test_data): Likewise.
21968 (llrint_tonearest_test_data): Likewise.
21969 (llrint_towardzero_test_data): Likewise.
21970 (llrint_downward_test_data): Likewise.
21971 (llrint_upward_test_data): Likewise.
21972 (lround_test_data): Likewise.
21973 (llround_test_data): Likewise.
21974
14407b7e
JM
21975 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21976 (ERRNO_UNCHANGED): Update value.
21977 (ERRNO_EDOM): Likewise.
21978 (ERRNO_ERANGE): Likewise.
21979 (NO_TEST_INLINE_FLOAT): New macro.
21980 (NO_TEST_INLINE_DOUBLE): Likewise.
21981 (enable_test): New function.
21982 (RUN_TEST_f_f): Check enable_test before running test.
21983 (RUN_TEST_2_f): Likewise.
21984 (RUN_TEST_fff_f): Likewise.
21985 (RUN_TEST_c_f): Likewise.
21986 (RUN_TEST_f_f1): Likewise.
21987 (RUN_TEST_fF_f1): Likewise.
21988 (RUN_TEST_fI_f1): Likewise.
21989 (RUN_TEST_ffI_f1): Likewise.
21990 (RUN_TEST_c_c): Likewise.
21991 (RUN_TEST_cc_c): Likewise.
21992 (RUN_TEST_f_i): Likewise.
21993 (RUN_TEST_f_i_tg): Likewise.
21994 (RUN_TEST_ff_i_tg): Likewise.
21995 (RUN_TEST_f_b): Likewise.
21996 (RUN_TEST_f_b_tg): Likewise.
21997 (RUN_TEST_f_l): Likewise.
21998 (RUN_TEST_f_L): Likewise.
21999 (RUN_TEST_fFF_11): Likewise.
22000 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22001 conditionals.
22002 (cosh_test_data): Likewise.
22003 (exp_test_data): Likewise.
22004 (expm1_test_data): Likewise.
22005 (hypot_test_data): Likewise.
22006 (pow_test_data): Likewise.
22007 (sinh_test_data): Likewise.
22008 (tanh_test_data): Likewise.
22009 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22010 flags argument.
22011
ca07f197
JM
22012 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22013 tests with quiet NaN input and output.
22014 (acosh_test_data): Likewise.
22015 (asin_test_data): Likewise.
22016 (asinh_test_data): Likewise.
22017 (atan_test_data): Likewise.
22018 (atanh_test_data): Likewise.
22019 (atan2_test_data): Likewise.
22020 (cbrt_test_data): Likewise.
22021 (cos_test_data): Likewise.
22022 (cosh_test_data): Likewise.
22023 (erf_test_data): Likewise.
22024 (erfc_test_data): Likewise.
22025 (exp_test_data): Likewise.
22026 (exp10_test_data): Likewise.
22027 (exp2_test_data): Likewise.
22028 (expm1_test_data): Likewise.
22029 (hypot_test_data): Likewise.
22030 (j0_test_data): Likewise.
22031 (j1_test_data): Likewise.
22032 (jn_test_data): Likewise.
22033 (lgamma_test_data): Likewise.
22034 (log_test_data): Likewise.
22035 (log10_test_data): Likewise.
22036 (log1p_test_data): Likewise.
22037 (log2_test_data): Likewise.
22038 (pow_test_data): Likewise.
22039 (scalb_test_data): Likewise.
22040 (sin_test_data): Likewise.
22041 (sincos_test_data): Likewise.
22042 (sinh_test_data): Likewise.
22043 (tan_test_data): Likewise.
22044 (tanh_test_data): Likewise.
22045 (tgamma_test_data): Likewise.
22046 (y0_test_data): Likewise.
22047 (y1_test_data): Likewise.
22048 (yn_test_data): Likewise.
22049
66294491
JM
22050 [BZ #16167]
22051 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22052 argument being NaN and avoid computations with second argument in
22053 that case.
22054 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22055 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22056 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22057
1820b143
CL
220582013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22059
22060 * locale/iso-639.def: Add Chitwani Tharu (the).
22061
714bd261
AS
220622013-11-14 Andreas Schwab <schwab@suse.de>
22063
22064 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22065 word instead of empty string.
22066
7ab44563
AZ
220672013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22068
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22070 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22072 (__fe_nomask_env): Likewise.
22073
e8470ea2
SE
220742013-11-13 Steve Ellcey <sellcey@mips.com>
22075
22076 * benchtests/bench-timing.h: Include time.h.
22077
17c1d9f0
L
220782013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22079
22080 [BZ #15997]
22081 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22082 to 3.4.0 for x32.
22083 * sysdeps/unix/sysv/linux/configure: Regenerated.
22084
9310c284
JM
220852013-11-13 Joseph Myers <joseph@codesourcery.com>
22086
22087 [BZ #16151]
22088 * stdlib/strtod_l.c (round_and_return): Do not consider
22089 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22090 exponent one less than half the least subnormal exponent.
22091 * stdlib/test-strtod-round-data: Add more tests.
22092 * stdlib/tst-strtod-round.c (tests): Regenerated.
22093
7a2ad8cf
AZ
220942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22095
22096 [BZ #14143]
22097 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22098 (__fe_mask_env): Likewise.
22099 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22100 libm_hidden_proto and add function prototype.
22101 (__fe_mask_env): Add function prototype.
22102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22103 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22105 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22107 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22108
50727aa7
MS
221092013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22110
b2f386c1 22111 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22112 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22113
a615be46
MS
221142013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22115
22116 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22117 of htab_find_slot().
22118
7ddace62
DM
221192013-11-11 David S. Miller <davem@davemloft.net>
22120
22121 [BZ #16150]
22122 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22123 symbol in the non-vis3 case in static builds.
22124 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22125 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22126 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22127 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22128
9182aa67
JK
221292013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22130
22131 [BZ #387]
22132 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22133 it is empty.
22134
450a2e2d
AZ
221352013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22136
b2f386c1
SP
22137 * benchtests/Makefile: Add bench-strtod.
22138 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22139
8ec3f656
AS
221402013-11-11 Andreas Schwab <schwab@suse.de>
22141
22142 [BZ #16153]
22143 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22144 terminating NUL in key length.
22145
76a9b998
AZ
221462013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22147
22148 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22149 Add artificial ODP entry for vDSO symbol for PPC64.
22150 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22151 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22152
e4368156
OB
221532013-11-07 Ondřej Bílka <neleai@seznam.cz>
22154
22155 [BZ #15374]
22156 * nss/getent.c (services_keys): Recognize services starting with digit.
22157
8d6bb57c
DM
221582013-11-06 David S. Miller <davem@davemloft.net>
22159
22160 [BZ #15985]
22161 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22162 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22163
e256c421
WN
221642013-11-06 Will Newton <will.newton@linaro.org>
22165
22166 * manual/memory.texi (Malloc Examples): Remove register
22167 keyword from examples.
22168
f6e12daa 221692013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22170
f6e12daa 22171 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22172
9d880655
AS
221732013-11-04 Joseph Myers <joseph@codesourcery.com>
22174
fd2f9486 22175 [BZ #6981]
9d880655
AS
22176 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22177 depending on [__GCC_IEC_559 > 0].
22178 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22179 depending on [__GCC_IEC_559_COMPLEX > 0].
22180
ae129d3c
CL
221812013-11-03 Chris Leonard <cjl@sugarlabs.org>
22182
22183 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22184 to iso-639.def.
22185
4a15c2a4 221862013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22187
22188 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22189
8b35e35d
OB
221902013-11-01 Ondřej Bílka <neleai@seznam.cz>
22191
22192 [BZ #16112]
22193 * malloc/malloc (malloc_info): Do not handle first bin as
22194 special case.
22195
1d70fd6c
CL
221962013-11-01 Chris Leonard <cjl@sugarlabs.org>
22197
22198 * locale/iso-639.def: Add Central Nahuatl (nhn).
22199
8c5c2600
BH
222002013-11-01 Bruno Haible <bruno@clisp.org>
22201
22202 [BZ #7003]
22203 * manual/math.texi (BSD Random): Specify range upper bound as
22204 in POSIX.
22205
da5579c2
CL
222062013-10-31 Chris Leonard <cjl@sugarlabs.org>
22207
22208 * locale/iso-639.def: Add Meadow Mari (mhr).
22209
5d30d853
OB
222102013-10-31 Ondřej Bílka <neleai@seznam.cz>
22211
22212 [BZ #14752], [BZ #15763]
22213 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22214 Validate name.
22215 * rt/tst_shm.c: Add test for escaping directory.
22216
a4966c61
AS
222172013-10-31 Andreas Schwab <schwab@suse.de>
22218
8a43e768 22219 [BZ #15917]
a4966c61
AS
22220 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22221 followed by 'x' as part of digit sequence.
22222 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22223
28d708c4
MAP
222242013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22225
22226 [BZ #16037]
22227 * configure.ac: allow GNU Make 4.0 and greater.
22228 * configure: Regenerated.
22229
a56ee40b
WN
222302013-10-30 Will Newton <will.newton@linaro.org>
22231
22232 [BZ #16038]
22233 * malloc/hooks.c (memalign_check): Limit alignment to the
22234 maximum representable power of two.
22235 * malloc/malloc.c (__libc_memalign): Likewise.
22236 * malloc/tst-memalign.c (do_test): Add test for very
22237 large alignment values.
22238 * malloc/tst-posix_memalign.c (do_test): Likewise.
22239
c6e4925d
OB
222402013-10-30 Ondřej Bílka <neleai@seznam.cz>
22241
22242 [BZ #11087]
22243 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22244 (munmap_chunk): Likewise.
22245 (mremap_chunk): Likewise.
22246
222472013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22248
8a43e768 22249 [BZ #15799]
bbea82f7
OB
22250 * stdlib/div.c (div): Remove obsolete code.
22251 * stdlib/ldiv.c (ldiv): Likewise.
22252 * stdlib/lldiv.c (lldiv): Likewise.
22253
977f4b31
SP
222542013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22255
22256 [BZ #16071]
22257 * nss/nss_files/files-XXX.c (get_contents_ret): New
22258 enumerator.
22259 (get_contents): New function.
22260 (internal_getent): Use it. Expand size of LINEBUFLEN.
22261
cb8a6dbd
MF
222622013-10-30 Mike Frysinger <vapier@gentoo.org>
22263
22264 * configure.in: Moved to ...
22265 * configure.ac: ... here. Change reference to configure.in
22266 to configure.ac.
22267 * sysdeps/arm/preconfigure.ac: ... here.
22268 configure.in to configure.ac.
22269 * sysdeps/gnu/configure.in: Moved to ...
22270 * sysdeps/gnu/configure.ac: ... here.
22271 * sysdeps/i386/configure.in: Moved to ...
22272 * sysdeps/i386/configure.ac: ... here.
22273 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22274 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22275 * sysdeps/mach/configure.in: Moved to ...
22276 * sysdeps/mach/configure.ac: ... here.
22277 * sysdeps/mach/hurd/configure.in: Moved to ...
22278 * sysdeps/mach/hurd/configure.ac: ... here.
22279 * sysdeps/powerpc/configure.in: Moved to ...
22280 * sysdeps/powerpc/configure.ac: ... here.
22281 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22282 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22283 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22284 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22285 * sysdeps/s390/s390-32/configure.in: Moved to ...
22286 * sysdeps/s390/s390-32/configure.ac: ... here.
22287 * sysdeps/s390/s390-64/configure.in: Moved to ...
22288 * sysdeps/s390/s390-64/configure.ac: ... here.
22289 * sysdeps/sh/configure.in: Moved to ...
22290 * sysdeps/sh/configure.ac: ... here.
22291 * sysdeps/sparc/configure.in: Moved to ...
22292 * sysdeps/sparc/configure.ac: ... here.
22293 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22294 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22295 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22296 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22297 * sysdeps/x86_64/configure.in: Moved to ...
22298 * sysdeps/x86_64/configure.ac: ... here.
22299 * sysdeps/x86_64/preconfigure.in: Moved to ...
22300 * sysdeps/x86_64/preconfigure.ac: ... here.
22301 * aclocal.m4: Change reference to configure.in to configure.ac.
22302 * config.h.in: Likewise.
22303 * manual/install.texi: Likewise.
22304 * manual/maint.texi: Likewise.
22305 * Makefile: Likewise.
22306 * malloc/Makefile: Likewise.
22307 * nscd/Makefile: Likewise.
22308 * Makeconfig: Change reference to configure.in and
22309 preconfigure.in to configure.ac and preconfigure.ac
22310 respectively.
22311 * INSTALL: Regenerated.
22312 * configure: Likewise.
22313 * sysdeps/gnu/configure: Likewise.
22314 * sysdeps/i386/configure: Likewise.
22315 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22316 * sysdeps/mach/configure: Likewise.
22317 * sysdeps/mach/hurd/configure: Likewise.
22318 * sysdeps/powerpc/configure: Likewise.
22319 * sysdeps/powerpc/powerpc32/configure: Likewise.
22320 * sysdeps/powerpc/powerpc64/configure: Likewise.
22321 * sysdeps/s390/s390-32/configure: Likewise.
22322 * sysdeps/s390/s390-64/configure: Likewise.
22323 * sysdeps/sh/configure: Likewise.
22324 * sysdeps/sparc/configure: Likewise.
22325 * sysdeps/unix/sysv/linux/configure: Likewise.
22326 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22327 * sysdeps/x86_64/configure: Likewise.
22328 * sysdeps/x86_64/preconfigure: Likewise.
22329
36a4953a
AS
223302013-10-29 Andreas Schwab <schwab@suse.de>
22331
22332 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22333
c79a1204
SP
223342013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22335
dfa1b402
SP
22336 * benchtests/pow-inputs: Add new inputs.
22337
54f73d9c
SP
22338 * benchtests/exp-inputs: Add new inputs.
22339
c79a1204
SP
22340 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22341 conditional check for return value.
22342 (__cos32): Likewise.
22343
67beb545 223442013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22345
22346 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22347 to provide a boost for large inputs with word alignment.
22348 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22349 implementation based on optimized PPC64 strcpy.
22350 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22351 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22352 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22353 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22354
151659f6
OB
223552013-10-25 Ondřej Bílka <neleai@seznam.cz>
22356
482a077e 22357 [BZ #2801]
151659f6
OB
22358 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22359
10b0f26b
OB
223602013-10-25 Ondřej Bílka <neleai@seznam.cz>
22361
22362 [BZ #14876]
22363 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22364 * time/tst-strptime.c (day_tests): Add testcase.
22365
ca42d35e
OB
223662013-10-25 Ondřej Bílka <neleai@seznam.cz>
22367
482a077e 22368 [BZ #14029]
ca42d35e
OB
22369 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22370
52e6d801
FB
223712013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22372
22373 [BZ #16074]
22374 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22375 MAP_FAILED on error.
22376
7cbcdb36
SP
223772013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22378
22379 [BZ #16072]
22380 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22381 heap for large requests.
22382
894f3f10
AM
223832013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22384
22385 [BZ #9954]
22386 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22387 result if the result has no associated interface.
22388 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22389 interface for all 127.X.Y.Z addresses.
22390
b85545a6
CL
223912013-10-24 Chris Leonard <cjl@sugarlabs.org>
22392
22393 * locale/iso-639.def: Add Ligurian (lij)
22394
d1f23d46
OB
223952013-10-21 Ondřej Bílka <neleai@seznam.cz>
22396
22397 [BZ #15825]
22398 * sunrpc/rpc_main.c: Document rpcgen -5.
22399
4db5b08f
MS
224002013-10-19 Michael Stahl <mstahl@redhat.com>
22401
22402 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22403
a471e96a
OB
224042013-10-19 Ondřej Bílka <neleai@seznam.cz>
22405
d1f23d46 22406 [BZ #10278]
a471e96a
OB
22407 * posix/glob.c: Match only directories when trailing slash is present.
22408 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22409 (main): Add testcase.
22410
45c30c61
OB
224112013-10-19 Ondřej Bílka <neleai@seznam.cz>
22412
22413 [BZ #15670]
22414 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22415
484c12fb
CD
224162013-10-18 Carlos O'Donell <carlos@redhat.com>
22417
3d7dc513
CD
22418 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22419 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22420 AUTH_DES and cindex for FIPS 140-2.
22421 (DES Encryption): Add cindex FIPS 46-3.
22422
484c12fb
CD
22423 * locale/locarchive.h (struct locarhandle): Add fname.
22424 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22425 if an optional argument was specified to --list-archive,
22426 otherwise NULL.
22427 * locale/programs/locarchive.c (show_archive_content): Take new
22428 argument fname and pass it via ah.fname to open_archive.
22429 * locale/programs/localedef.h: Update decl.
22430 (open_archive): If AH->fname is non-null, open that file
22431 rather than the default file name, and don't ignore ENOENT.
22432 (create_archive): Set AH.fname to NULL.
22433 (delete_locales_from_archive): Likewise.
22434 (add_locales_to_archive): Likewise.
22435 * locale/programs/locfile.c (write_all_categories): Likewise.
22436
3c8325fb
JM
224372013-10-18 Joseph Myers <joseph@codesourcery.com>
22438 Aldy Hernandez <aldyh@redhat.com>
22439
22440 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22441 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22442 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22443 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22444 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22445 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22446 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22447 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22448 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22449 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22450 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22451 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22452 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22453 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22454 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22455 Likewise.
22456 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22457 Likewise.
22458 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22459 Likewise.
22460 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22461 Likewise.
22462 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22463 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22464 Likewise.
22465 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22466 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22467 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22468 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22469 Likewise.
22470 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22472 * sysdeps/powerpc/preconfigure: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22474 Likewise.
22475 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22476 Replace contents of file by #include of <fenv_libc.h>.
22477 * sysdeps/powerpc/soft-fp/sfp-machine.h
22478 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22479 and <sys/prctl.h>.
22480 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22481 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22482 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22483 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22484 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22485 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22491 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22493 Allow copysignl PLT reference to be missing.
22494
5abe0682
RS
224952013-10-18 Richard Sandiford <richard@codesourcery.com>
22496 Joseph Myers <joseph@codesourcery.com
22497
22498 [BZ #15948]
22499 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22500 single character.
22501 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22502
c7738d08
SP
225032013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22504
22505 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22506 * elf/tst-tls1.c: Likewise.
22507 * elf/tst-tls10.h: Likewise.
22508 * elf/tst-tls14.c: Likewise.
22509 * elf/tst-tls2.c: Likewise.
22510 * elf/tst-tls3.c: Likewise.
22511 * elf/tst-tls4.c: Likewise.
22512 * elf/tst-tls5.c: Likewise.
22513 * elf/tst-tls6.c: Likewise.
22514 * elf/tst-tls7.c: Likewise.
22515 * elf/tst-tls8.c: Likewise.
22516 * elf/tst-tls9.c: Likewise.
22517 * elf/tst-tlsmod1.c: Likewise.
22518 * elf/tst-tlsmod13.c: Likewise.
22519 * elf/tst-tlsmod13a.c: Likewise.
22520 * elf/tst-tlsmod14a.c: Likewise.
22521 * elf/tst-tlsmod16a.c: Likewise.
22522 * elf/tst-tlsmod16b.c: Likewise.
22523 * elf/tst-tlsmod2.c: Likewise.
22524 * elf/tst-tlsmod3.c: Likewise.
22525 * elf/tst-tlsmod4.c: Likewise.
22526 * elf/tst-tlsmod5.c: Likewise.
22527 * elf/tst-tlsmod6.c: Likewise.
22528
0bfcf2c7
OB
225292013-10-18 Ondřej Bílka <neleai@seznam.cz>
22530
22531 [BZ #12486]
22532 * malloc/malloc.c: remove checks for statistics.
22533
264aad1e
OB
225342013-10-17 Ondřej Bílka <neleai@seznam.cz>
22535
22536 [BZ #15277]
22537 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22538 * inet/tst-network.c: Add testcase.
22539
b957ced8
AS
225402013-10-17 Andreas Schwab <schwab@suse.de>
22541
22542 [BZ #15218]
22543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22544 to determine canonical name.
22545
c5d5d574
OB
225462013-10-17 Ondřej Bílka <neleai@seznam.cz>
22547
22548 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22549 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22572 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22573 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22606
e5c2c2d0
JM
226072013-10-17 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #16041]
22610 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22611 make result into a quiet NaN.
22612
51ca9e29
JM
226132013-10-16 Joseph Myers <joseph@codesourcery.com>
22614
22615 * soft-fp/adddf3.c: Fix horizontal whitespace.
22616 * soft-fp/addsf3.c: Likewise.
22617 * soft-fp/addtf3.c: Likewise.
22618 * soft-fp/divdf3.c: Likewise.
22619 * soft-fp/divsf3.c: Likewise.
22620 * soft-fp/divtf3.c: Likewise.
22621 * soft-fp/double.h: Likewise.
22622 * soft-fp/eqdf2.c: Likewise.
22623 * soft-fp/eqsf2.c: Likewise.
22624 * soft-fp/eqtf2.c: Likewise.
22625 * soft-fp/extenddftf2.c: Likewise.
22626 * soft-fp/extended.h: Likewise.
22627 * soft-fp/extendsfdf2.c: Likewise.
22628 * soft-fp/extendsftf2.c: Likewise.
22629 * soft-fp/extendxftf2.c: Likewise.
22630 * soft-fp/fixdfdi.c: Likewise.
22631 * soft-fp/fixdfsi.c: Likewise.
22632 * soft-fp/fixdfti.c: Likewise.
22633 * soft-fp/fixsfdi.c: Likewise.
22634 * soft-fp/fixsfsi.c: Likewise.
22635 * soft-fp/fixsfti.c: Likewise.
22636 * soft-fp/fixtfdi.c: Likewise.
22637 * soft-fp/fixtfsi.c: Likewise.
22638 * soft-fp/fixtfti.c: Likewise.
22639 * soft-fp/fixunsdfdi.c: Likewise.
22640 * soft-fp/fixunsdfsi.c: Likewise.
22641 * soft-fp/fixunsdfti.c: Likewise.
22642 * soft-fp/fixunssfdi.c: Likewise.
22643 * soft-fp/fixunssfsi.c: Likewise.
22644 * soft-fp/fixunssfti.c: Likewise.
22645 * soft-fp/fixunstfdi.c: Likewise.
22646 * soft-fp/fixunstfsi.c: Likewise.
22647 * soft-fp/fixunstfti.c: Likewise.
22648 * soft-fp/floatdidf.c: Likewise.
22649 * soft-fp/floatdisf.c: Likewise.
22650 * soft-fp/floatditf.c: Likewise.
22651 * soft-fp/floatsidf.c: Likewise.
22652 * soft-fp/floatsisf.c: Likewise.
22653 * soft-fp/floatsitf.c: Likewise.
22654 * soft-fp/floattidf.c: Likewise.
22655 * soft-fp/floattisf.c: Likewise.
22656 * soft-fp/floattitf.c: Likewise.
22657 * soft-fp/floatundidf.c: Likewise.
22658 * soft-fp/floatundisf.c: Likewise.
22659 * soft-fp/floatunditf.c: Likewise.
22660 * soft-fp/floatunsidf.c: Likewise.
22661 * soft-fp/floatunsisf.c: Likewise.
22662 * soft-fp/floatunsitf.c: Likewise.
22663 * soft-fp/floatuntidf.c: Likewise.
22664 * soft-fp/floatuntisf.c: Likewise.
22665 * soft-fp/floatuntitf.c: Likewise.
22666 * soft-fp/fmadf4.c: Likewise.
22667 * soft-fp/fmasf4.c: Likewise.
22668 * soft-fp/fmatf4.c: Likewise.
22669 * soft-fp/gedf2.c: Likewise.
22670 * soft-fp/gesf2.c: Likewise.
22671 * soft-fp/getf2.c: Likewise.
22672 * soft-fp/ledf2.c: Likewise.
22673 * soft-fp/lesf2.c: Likewise.
22674 * soft-fp/letf2.c: Likewise.
22675 * soft-fp/muldf3.c: Likewise.
22676 * soft-fp/mulsf3.c: Likewise.
22677 * soft-fp/multf3.c: Likewise.
22678 * soft-fp/negdf2.c: Likewise.
22679 * soft-fp/negsf2.c: Likewise.
22680 * soft-fp/negtf2.c: Likewise.
22681 * soft-fp/op-1.h: Likewise.
22682 * soft-fp/op-2.h: Likewise.
22683 * soft-fp/op-4.h: Likewise.
22684 * soft-fp/op-8.h: Likewise.
22685 * soft-fp/op-common.h: Likewise.
22686 * soft-fp/quad.h: Likewise.
22687 * soft-fp/single.h: Likewise.
22688 * soft-fp/soft-fp.h: Likewise.
22689 * soft-fp/sqrtdf2.c: Likewise.
22690 * soft-fp/sqrtsf2.c: Likewise.
22691 * soft-fp/sqrttf2.c: Likewise.
22692 * soft-fp/subdf3.c: Likewise.
22693 * soft-fp/subsf3.c: Likewise.
22694 * soft-fp/subtf3.c: Likewise.
22695 * soft-fp/truncdfsf2.c: Likewise.
22696 * soft-fp/trunctfdf2.c: Likewise.
22697 * soft-fp/trunctfsf2.c: Likewise.
22698 * soft-fp/trunctfxf2.c: Likewise.
22699 * soft-fp/unorddf2.c: Likewise.
22700 * soft-fp/unordsf2.c: Likewise.
22701 * soft-fp/unordtf2.c: Likewise.
22702
9ebb0332
JM
227032013-10-15 Joseph Myers <joseph@codesourcery.com>
22704
22705 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22706 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22707
4b1a6d8b
OB
227082013-10-15 Ondřej Bílka <neleai@seznam.cz>
22709
22710 * elf/dl-libc.c: Clear initfini list after freeing.
22711
1e145589
JM
227122013-10-14 Joseph Myers <joseph@codesourcery.com>
22713
22714 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22715 * soft-fp/addsf3.c: Likewise.
22716 * soft-fp/addtf3.c: Likewise.
22717 * soft-fp/divdf3.c: Likewise.
22718 * soft-fp/divsf3.c: Likewise.
22719 * soft-fp/divtf3.c: Likewise.
22720 * soft-fp/double.h: Likewise.
22721 * soft-fp/eqdf2.c: Likewise.
22722 * soft-fp/eqsf2.c: Likewise.
22723 * soft-fp/eqtf2.c: Likewise.
22724 * soft-fp/extenddftf2.c: Likewise.
22725 * soft-fp/extended.h: Likewise.
22726 * soft-fp/extendsfdf2.c: Likewise.
22727 * soft-fp/extendsftf2.c: Likewise.
22728 * soft-fp/extendxftf2.c: Likewise.
22729 * soft-fp/fixdfdi.c: Likewise.
22730 * soft-fp/fixdfsi.c: Likewise.
22731 * soft-fp/fixdfti.c: Likewise.
22732 * soft-fp/fixsfdi.c: Likewise.
22733 * soft-fp/fixsfsi.c: Likewise.
22734 * soft-fp/fixsfti.c: Likewise.
22735 * soft-fp/fixtfdi.c: Likewise.
22736 * soft-fp/fixtfsi.c: Likewise.
22737 * soft-fp/fixtfti.c: Likewise.
22738 * soft-fp/fixunsdfdi.c: Likewise.
22739 * soft-fp/fixunsdfsi.c: Likewise.
22740 * soft-fp/fixunsdfti.c: Likewise.
22741 * soft-fp/fixunssfdi.c: Likewise.
22742 * soft-fp/fixunssfsi.c: Likewise.
22743 * soft-fp/fixunssfti.c: Likewise.
22744 * soft-fp/fixunstfdi.c: Likewise.
22745 * soft-fp/fixunstfsi.c: Likewise.
22746 * soft-fp/fixunstfti.c: Likewise.
22747 * soft-fp/floatdidf.c: Likewise.
22748 * soft-fp/floatdisf.c: Likewise.
22749 * soft-fp/floatditf.c: Likewise.
22750 * soft-fp/floatsidf.c: Likewise.
22751 * soft-fp/floatsisf.c: Likewise.
22752 * soft-fp/floatsitf.c: Likewise.
22753 * soft-fp/floattidf.c: Likewise.
22754 * soft-fp/floattisf.c: Likewise.
22755 * soft-fp/floattitf.c: Likewise.
22756 * soft-fp/floatundidf.c: Likewise.
22757 * soft-fp/floatundisf.c: Likewise.
22758 * soft-fp/floatunsidf.c: Likewise.
22759 * soft-fp/floatunsisf.c: Likewise.
22760 * soft-fp/floatuntidf.c: Likewise.
22761 * soft-fp/floatuntisf.c: Likewise.
22762 * soft-fp/floatuntitf.c: Likewise.
22763 * soft-fp/fmadf4.c: Likewise.
22764 * soft-fp/fmasf4.c: Likewise.
22765 * soft-fp/fmatf4.c: Likewise.
22766 * soft-fp/gedf2.c: Likewise.
22767 * soft-fp/gesf2.c: Likewise.
22768 * soft-fp/getf2.c: Likewise.
22769 * soft-fp/ledf2.c: Likewise.
22770 * soft-fp/lesf2.c: Likewise.
22771 * soft-fp/letf2.c: Likewise.
22772 * soft-fp/muldf3.c: Likewise.
22773 * soft-fp/mulsf3.c: Likewise.
22774 * soft-fp/multf3.c: Likewise.
22775 * soft-fp/negdf2.c: Likewise.
22776 * soft-fp/negsf2.c: Likewise.
22777 * soft-fp/negtf2.c: Likewise.
22778 * soft-fp/op-1.h: Likewise.
22779 * soft-fp/op-2.h: Likewise.
22780 * soft-fp/op-4.h: Likewise.
22781 * soft-fp/op-8.h: Likewise.
22782 * soft-fp/op-common.h: Likewise.
22783 * soft-fp/quad.h: Likewise.
22784 * soft-fp/single.h: Likewise.
22785 * soft-fp/soft-fp.h: Likewise.
22786 * soft-fp/sqrtdf2.c: Likewise.
22787 * soft-fp/sqrtsf2.c: Likewise.
22788 * soft-fp/sqrttf2.c: Likewise.
22789 * soft-fp/subdf3.c: Likewise.
22790 * soft-fp/subsf3.c: Likewise.
22791 * soft-fp/subtf3.c: Likewise.
22792 * soft-fp/truncdfsf2.c: Likewise.
22793 * soft-fp/trunctfdf2.c: Likewise.
22794 * soft-fp/trunctfsf2.c: Likewise.
22795 * soft-fp/trunctfxf2.c: Likewise.
22796 * soft-fp/unorddf2.c: Likewise.
22797 * soft-fp/unordsf2.c: Likewise.
22798 * soft-fp/unordtf2.c: Likewise.
22799
17c48a60
OB
228002013-10-14 Ondřej Bílka <neleai@seznam.cz>
22801
22802 [BZ #15672]
22803 * misc/error.c (error_tail): Fix possible buffer overflow.
22804
cabba934
OB
228052013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22806
22807 [BZ #13028]
22808 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22809 address.
22810
94bf958a
PM
228112013-10-14 P. J. McDermott <pj@pehjota.net>
22812
22813 [BZ #832]
22814 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22815 testing pipefail option.
22816
71b4dea7
JM
228172013-10-12 Joseph Myers <joseph@codesourcery.com>
22818
22819 * soft-fp/double.h: Indent preprocessor directives inside #if.
22820 * soft-fp/extended.h: Likewise.
22821 * soft-fp/op-2.h: Likewise.
22822 * soft-fp/op-4.h: Likewise.
22823 * soft-fp/op-common.h: Likewise.
22824 * soft-fp/quad.h: Likewise.
22825 * soft-fp/single.h: Likewise.
22826 * soft-fp/soft-fp.h: Likewise.
22827
55602758
YC
228282013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22829
22830 * iconv/iconv_prog.c: Fix typos.
22831 * stdio-common/psiginfo-data.h: Likewise.
22832
9cd83302
RT
228332013-10-12 Reuben Thomas <rrt@sc3d.org>
22834
22835 [BZ #15764]
22836 * locale/setlocale.c: Fix typo.
22837
99fd9f47
JM
228382013-10-12 Joseph Myers <joseph@codesourcery.com>
22839
b7ea74f0
JM
22840 [BZ #16036]
22841 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22842 signaling NaN arguments.
22843 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22844 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22845
8a509447
JM
22846 [BZ #14910]
22847 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22848 unordered operands.
22849 * soft-fp/gesf2.c (__gesf2): Likewise.
22850 * soft-fp/getf2.c (__getf2): Likewise.
22851 * soft-fp/ledf2.c (__ledf2): Likewise.
22852 * soft-fp/lesf2.c (__lesf2): Likewise.
22853 * soft-fp/letf2.c (__letf2): Likewise.
22854
98998e9f
JM
22855 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22856 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22857 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22858 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22859 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22860 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22861 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22862 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22863 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22864 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22865 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22866 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22867 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22868 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22869 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22870 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22871 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22872 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22873 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22874 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22875 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22876 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22877 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22878 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22879 * soft-fp/floattidf.c (__floattidf): Likewise.
22880 * soft-fp/floattisf.c (__floattisf): Likewise.
22881 * soft-fp/floattitf.c (__floattitf): Likewise.
22882 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22883 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22884 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22885 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22886 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22887 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22888 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22889 * soft-fp/gesf2.c (__gesf2): Likewise.
22890 * soft-fp/getf2.c (__getf2): Likewise.
22891 * soft-fp/ledf2.c (__ledf2): Likewise.
22892 * soft-fp/lesf2.c (__lesf2): Likewise.
22893 * soft-fp/letf2.c (__letf2): Likewise.
22894
8edc4a11
JM
22895 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22896 Undefine and redefine.
22897 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22898 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22899 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22900 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22901 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22902 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22903 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22904 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22905 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22906 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22907 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22908 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22909 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22910 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22911 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22912
8399acaf
JM
22913 [BZ #16032]
22914 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22915 without decrementing exponent if mantissa >= that for the
22916 denominator, not >.
22917 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22918 denominator, not >. Decrement exponent in < case instead of
22919 incrementing in >= case.
22920 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22921 without decrementing exponent if mantissa >= that for the
22922 denominator, not >.
22923
99fd9f47
JM
22924 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22925 computing saturated result for unsigned overflow.
22926
10e1cf6b
SP
229272013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22928 Jeff Law <law@redhat.com>
22929
22930 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22931 (atan2Mp): Add systemtap probe marker.
22932 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22933 (__ieee754_log): Add systemtap probe marker.
22934 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22935 (atanMp): Add systemtap probe marker.
22936 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22937 (tanMp): Add systemtap probe marker.
22938 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22939 (__slowexp): Add systemtap probe marker.
22940 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22941 (__slowpow): Add systemtap probe marker.
22942 * manual/probes.texi: Document probes.
22943
3d110c7c
EB
229442013-10-11 Eric Biggers <ebiggers3@gmail.com>
22945
22946 [BZ #15362]
22947 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22948 written.
22949 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22950 written.
22951 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22952 written to buffer but not flushed.
22953 * libio/iofwrite_u.c: Likewise.
22954 * libio/iopadn.c: Return bytes returned even if EOF was
22955 encountered.
22956 * libio/iowpadn.c: Likewise.
22957 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22958 if _IO_padn does not write the whole buffer.
22959 [!COMPILE_WPRINTF] (PAD): Likewise.
22960
75b4202a
DM
229612013-10-10 David S. Miller <davem@davemloft.net>
22962
22963 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22964 directory block.
22965
6c6352e6
JM
229662013-10-10 Joseph Myers <joseph@codesourcery.com>
22967
33b853c3
JM
22968 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22969 instead of FSF address.
22970 * soft-fp/fixdfti.c: Likewise.
22971 * soft-fp/fixsfti.c: Likewise.
22972 * soft-fp/fixtfti.c: Likewise.
22973 * soft-fp/fixunsdfti.c: Likewise.
22974 * soft-fp/fixunssfti.c: Likewise.
22975 * soft-fp/fixunstfti.c: Likewise.
22976 * soft-fp/floattidf.c: Likewise.
22977 * soft-fp/floattisf.c: Likewise.
22978 * soft-fp/floattitf.c: Likewise.
22979 * soft-fp/floatuntidf.c: Likewise.
22980 * soft-fp/floatuntisf.c: Likewise.
22981 * soft-fp/floatuntitf.c: Likewise.
22982 * soft-fp/trunctfxf2.c: Likewise.
22983
6c6352e6
JM
22984 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22985 * soft-fp/fixdfti.c: Likewise.
22986 * soft-fp/fixsfti.c: Likewise.
22987 * soft-fp/fixtfti.c: Likewise.
22988 * soft-fp/fixunsdfti.c: Likewise.
22989 * soft-fp/fixunssfti.c: Likewise.
22990 * soft-fp/fixunstfti.c: Likewise.
22991 * soft-fp/floattidf.c: Likewise.
22992 * soft-fp/floattisf.c: Likewise.
22993 * soft-fp/floattitf.c: Likewise.
22994 * soft-fp/floatuntidf.c: Likewise.
22995 * soft-fp/floatuntisf.c: Likewise.
22996 * soft-fp/floatuntitf.c: Likewise.
22997 * soft-fp/trunctfxf2.c: Likewise.
22998
3bf78b71
DM
229992013-10-10 David S. Miller <davem@davemloft.net>
23000
23001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23002
6f10289e
JM
230032013-10-10 Joseph Myers <joseph@codsourcery.com>
23004
bd878fc0
JM
23005 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23006 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23007 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23008 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23009 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23010 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23011 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23012
6f10289e
JM
23013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23014 for NaNs before doing comparisons on argument.
23015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23016 Likewise.
23017
321e2684
WN
230182013-10-10 Will Newton <will.newton@linaro.org>
23019
23020 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23021 passed to _int_memalign does not overflow.
23022
40fefba1
TR
230232013-10-10 Torvald Riegel <triegel@redhat.com>
23024
23025 * scripts/bench.pl: Add include-sources directive.
23026 * benchtests/README: Update documentation.
23027
2ae21ed2
JM
230282013-10-10 Joseph Myers <joseph@codesourcery.com>
23029
dcc2dd3f
JM
23030 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23031 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23032 instead of FP_INIT_ROUNDMODE.
23033 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23034 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23035
2ae21ed2
JM
23036 [BZ #16034]
23037 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23038 copy class of input value.
23039 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23040 not handle exceptions.
23041 * soft-fp/negsf2.c (__negsf2): Likewise.
23042 * soft-fp/negtf2.c (__negtf2): Likewise.
23043 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23044
cb8f9562
JM
230452013-10-09 Joseph Myers <joseph@codesourcery.com>
23046
23047 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23048 semicolon. From Linux kernel.
23049
5b60c59d
AB
230502013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23051
23052 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23053
b86835ca
YC
230542013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23055
23056 [BZ #156]
23057 * manual/socket.texi: Added statement about buffer
23058 for gethostbyname2_r.
23059
e7044ea7
OB
230602013-10-08 Ondřej Bílka <neleai@seznam.cz>
23061
23062 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23063 Use .p2align directive instead, throughout.
23064 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23065 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23066 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23069 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23070 * sysdeps/x86_64/strchr.S: Likewise.
23071 * sysdeps/x86_64/strrchr.S: Likewise.
23072
09544cbc
SP
230732013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23074
88576635
SP
23075 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23076
e7b2d1dd
SP
23077 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23078
09544cbc
SP
23079 * sysdeps/generic/math_private.h (__mpsin1): Remove
23080 declaration.
23081 (__mpcos1): Likewise.
23082 (__mpsin): New argument __range_reduce.
23083 (__mpcos): Likewise.
23084 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23085 (slow): Use __mpsin and __mpcos.
23086 (slow1): Likewise.
23087 (slow2): Likewise.
23088 (sloww): Likewise.
23089 (sloww1): Likewise.
23090 (sloww2): Likewise.
23091 (bsloww): Likewise.
23092 (bsloww1): Likewise.
23093 (bsloww2): Likewise.
23094 (cslow2): Likewise.
23095 (csloww): Likewise.
23096 (csloww1): Likewise.
23097 (csloww2): Likewise.
23098 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23099 range_reduce. Merge in __mpsin1.
23100 (__mpcos): Likewise.
23101 (__mpsin1): Remove.
23102 (__mpcos1): Likewise.
23103
7602d070
JM
231042013-10-07 Joseph Myers <joseph@codesourcery.com>
23105
23106 * locale/loadlocale.c (_nl_intern_locale_data): Use
23107 LOCFILE_ALIGNED_P.
23108 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23109 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23110 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23111 obstack data is appropriately aligned.
23112 (obstack_int32_grow_fast): Likewise.
23113 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23114 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23115 (add_locale_uint32_array): Likewise.
23116
a357259b
SP
231172013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23118
23119 * benchtests/Makefile: Remove ARGLIST and RET variables.
23120 ($(objpfx)bench-%.c): Pass only function name to the script.
23121 * benchtests/README: Update documentation.
23122 * benchtests/acos-inputs: Add new directives.
23123 * benchtests/acosh-inputs: Likewise.
23124 * benchtests/asin-inputs: Likewise.
23125 * benchtests/asinh-inputs: Likewise.
23126 * benchtests/atan-inputs: Likewise.
23127 * benchtests/atanh-inputs: Likewise.
23128 * benchtests/cos-inputs: Likewise.
23129 * benchtests/cosh-inputs: Likewise.
23130 * benchtests/exp-inputs: Likewise.
23131 * benchtests/log-inputs: Likewise.
23132 * benchtests/pow-inputs: Likewise.
23133 * benchtests/rint-inputs: Likewise.
23134 * benchtests/sin-inputs: Likewise.
23135 * benchtests/sinh-inputs: Likewise.
23136 * benchtests/tan-inputs: Likewise.
23137 * benchtests/tanh-inputs: Likewise.
23138 * scripts/bench.pl: Add support for new directives.
23139
9ec1b13d
AM
231402013-10-07 Alan Modra <amodra@gmail.com>
23141
23142 * README: Fix careless merge.
23143
8b7d57cd
AM
231442013-10-05 Alan Modra <amodra@gmail.com>
23145
23146 * NEWS: Mention powerpc64le support and bugs fixed.
23147 * README: Both big-endian and little-endian powerpc64 supported.
23148
7b7bab13
ST
231492013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23150
57f41c40
AS
23151 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23152 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23153 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23154 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23155
d39baad1
RA
231562013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23157
23158 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23159 match prototype.
23160
cd78f7e7
JM
231612013-10-04 Joseph Myers <joseph@codesourcery.com>
23162
29d73d86
JM
23163 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23164 Move -mhard-float appending from
23165 ports/sysdeps/powerpc/powerpc32/Makefile.
23166 [$(with-fp) = yes] (ASFLAGS): Likewise.
23167 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23168 * sysdeps/powerpc/nofpu: Move directory from
23169 ports/sysdeps/powerpc/nofpu.
23170 * sysdeps/powerpc/soft-fp: Move directory from
23171 ports/sysdeps/powerpc/soft-fp.
23172 * sysdeps/powerpc/powerpc32/405: Move directory from
23173 ports/sysdeps/powerpc/powerpc32/405.
23174 * sysdeps/powerpc/powerpc32/440: Move directory from
23175 ports/sysdeps/powerpc/powerpc32/440.
23176 * sysdeps/powerpc/powerpc32/464: Move directory from
23177 ports/sysdeps/powerpc/powerpc32/464.
23178 * sysdeps/powerpc/powerpc32/476: Move directory from
23179 ports/sysdeps/powerpc/powerpc32/476.
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23181 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23183 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23185 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23187 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23189 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23190 * README: Update for powerpc-*-linux-gnu software floating point
23191 support in libc.
23192
e246b347
JM
23193 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23194 case to powerpc/powerpc32*.
23195 * sysdeps/unix/sysv/linux/configure: Regenerated.
23196
89c2003e
JM
23197 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23198 (_FPU_MASK_OM): Define as 0x04.
23199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23201 0x00c10080.
23202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23203 0x0000003c.
23204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23205
cd78f7e7
JM
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23207 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23208 getcontext_e500.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23210 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23211 setcontext_e500.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23213 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23214 and setcontext_e500.
23215
c755294d
CL
232162013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23217
23218 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23219
e16d221c
SP
232202013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23221
23222 * manual/threads.texi (Default Thread Attributes): Fix typo.
23223
215c7d43
WN
232242013-10-04 Will Newton <will.newton@linaro.org>
23225
23226 * malloc/Makefile: Add tst-memalign.
23227 * malloc/tst-memalign.c: New file.
23228
27d0461b
WN
23229 * malloc/tst-posix_memalign.c: Add comments.
23230 (do_test): Add comments and call free on all potentially
23231 allocated pointers. Add space after cast.
23232
1bc92709
WN
23233 * malloc/tst-pvalloc.c: Add comments.
23234 (do_test): Add comments and call free on all potentially
23235 allocated pointers. Remove duplicate check for NULL pointer.
23236 Add space after cast.
23237
66a9be9d
WN
23238 * malloc/tst-valloc.c: Add comments.
23239 (do_test): Add comments and call free on all potentially
23240 allocated pointers. Remove duplicate check for NULL pointer.
23241 Add space after cast.
23242
4cb81307
AM
232432013-10-04 Alan Modra <amodra@gmail.com>
23244
23245 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23246 Use stdint types in rather than __attribute__((mode())).
23247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23248
f8e3e9f3
AM
232492013-10-04 Alan Modra <amodra@gmail.com>
23250
23251 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23252 Correct handling of unaligned relocs for little-endian.
23253 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23254
8f9ebb08
AM
232552013-10-04 Alan Modra <amodra@gmail.com>
23256
23257 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23258 * configure: Regenerate.
23259 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23260 * shlib-versions: Likewise.
23261
0edf96c2
AM
232622013-10-04 Alan Modra <amodra@gmail.com>
23263
23264 * string/tester.c (test_memrchr): Increment reported test cycle.
23265
e0f7a380
AM
232662013-10-04 Alan Modra <amodra@gmail.com>
23267
23268 * string/test-memcpy.c (do_one_test): When reporting errors, print
23269 string address and don't overrun end of string.
23270
466b0393
AM
232712013-10-04 Alan Modra <amodra@gmail.com>
23272
23273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23274 insrdi. Make better use of reg selection to speed exit slightly.
23275 Schedule entry path a little better. Remove useless "are we done"
23276 checks on entry to main loop. Handle wrapping around zero address.
23277 Correct main loop count. Handle single left-over word from main
23278 loop inline rather than by using loop_small. Remove extra word
23279 case in loop_small caused by wrong loop count. Add little-endian
23280 support.
23281 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23282 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23283 cache hint.
23284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23285 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23286 support. Avoid rlwimi.
23287 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23288
3be87c77
AM
232892013-10-04 Alan Modra <amodra@gmail.com>
23290
23291 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23292 insrdi. Formatting.
3be87c77
AM
23293 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23296 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23297 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23298 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23299
759cfef3
AM
233002013-10-04 Alan Modra <amodra@gmail.com>
23301
23302 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23307 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23309 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23310 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23311 use of regs. Use power7 mtocrf. Tidy function tails.
23312
fe6e95d7
AM
233132013-10-04 Alan Modra <amodra@gmail.com>
23314
23315 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23316 Formatting. Consistently use rXXX register defines or rN defines.
23317 Use early exit labels that avoid restoring unused non-volatile regs.
23318 Make cr field use more consistent with rWORDn compares. Rename
23319 regs used as shift registers for unaligned loop, using rN defines
23320 for short lifetime/multiple use regs.
23321 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23323 addi 1,1,64 to pop stack frame. Simplify return value code.
23324 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23325
664318c3
AM
233262013-10-04 Alan Modra <amodra@gmail.com>
23327
23328 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23329 support. Correct typos, formatting. Optimize tail. Use insrdi
23330 rather than rlwimi.
23331 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23332 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23333 little-endian support. Correct typos.
23334 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23335 rather than rlwimi.
23336 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23337 in loop and entry code to keep "and." results.
23338 (strchr): Add little-endian support. Comment. Move cntlzd
23339 earlier in tail.
23340 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23341
43b84013
AM
233422013-10-04 Alan Modra <amodra@gmail.com>
23343
23344 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23345 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23346 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23347 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23348
8a7413f9
AM
233492013-10-04 Alan Modra <amodra@gmail.com>
23350
23351 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23352 (rTMP): Define as r11.
23353 (strcmp): Add little-endian support. Optimise tail.
23354 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23355 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23356 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23358 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23361
33ee81de
AM
233622013-10-04 Alan Modra <amodra@gmail.com>
23363
23364 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23365 little-endian support. Remove unnecessary "are we done" tests.
23366 Handle "s" wrapping around zero and extremely large "size".
23367 Correct main loop count. Handle single left-over word from main
23368 loop inline rather than by using small_loop. Correct comments.
23369 Delete "zero" tail, use "end_max" instead.
23370 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23371
db9b4570
AM
233722013-10-04 Alan Modra <amodra@gmail.com>
23373
23374 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23375 support. Don't branch over align.
23376 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23377 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23378 support. Rearrange tmp reg use to suit. Comment.
23379 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23380
f7c399cf
AM
233812013-10-04 Alan Modra <amodra@gmail.com>
23382
23383 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23384
0b2c2ace
AM
233852013-10-04 Alan Modra <amodra@gmail.com>
23386
23387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23388 conditional form of branch and link when obtaining pc.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23390
02f04a6c
AM
233912013-10-04 Alan Modra <amodra@gmail.com>
23392
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23394 HIWORD/LOWORD.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23397
9b874b2f
AM
233982013-10-04 Alan Modra <amodra@gmail.com>
23399
23400 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23401 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23402 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23403 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23404 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23405 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23406 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23407 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23408 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23409 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23410
be1e5d31
AB
234112013-10-04 Anton Blanchard <anton@au1.ibm.com>
23412 Alistair Popple <alistair@ozlabs.au.ibm.com>
23413 Alan Modra <amodra@gmail.com>
23414
23415 [BZ #15723]
23416 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23417 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23418 _dl_hwcap access for little-endian.
23419 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23420 destroy vmx regs when saving unaligned.
23421 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23422 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23423 destroy vmx regs when saving unaligned.
23424
fef13a78
AM
234252013-10-04 Alan Modra <amodra@gmail.com>
23426
23427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23428 Don't use a union to pack hi/low value.
23429
76a66d51
AB
234302013-10-04 Anton Blanchard <anton@au1.ibm.com>
23431
23432 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23433 for little-endian.
23434 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23435 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23436 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23437 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23438 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23439
6a31fe7f
AM
234402013-10-04 Alan Modra <amodra@gmail.com>
23441
23442 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23443 constants to usual value for .cst8 section, and remove redundant
23444 high address load.
23445 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23446 constant for 0x1p52. Load little-endian words of double from
23447 correct stack offsets.
23448
7b88401f
AM
234492013-10-04 Alan Modra <amodra@gmail.com>
23450
23451 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23452 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23453 words of double from correct stack offsets.
23454 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23455 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23456 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23458 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23459 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23461 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23462 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23466 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23467 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23468 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23469 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23470 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23471
9c008155
AM
234722013-10-04 Alan Modra <amodra@gmail.com>
23473
23474 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23475 64-bit int/double union.
23476 (_FPU_SETCW): Likewise.
23477 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23478 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23479
da13146d
AM
234802013-10-04 Alan Modra <amodra@gmail.com>
23481
23482 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23483 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23484
603e8410
AM
234852013-10-04 Alan Modra <amodra@gmail.com>
23486
23487 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23488 use vector int constants.
23489 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23490
4a28b3ca
AB
234912013-10-04 Anton Blanchard <anton@au1.ibm.com>
23492
23493 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23494 array with long long.
23495 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23496 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23497 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23498 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23499 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23500 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23501 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23502 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23503 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23504 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23505 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23506 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23507 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23508
2ca85d2b
AB
235092013-10-04 Anton Blanchard <anton@au1.ibm.com>
23510
23511 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23512 (__signbit): Likewise. Correct for little-endian.
23513 (__signbitl): Call __signbit.
23514 (lrint): Correct for little-endian.
23515 (lrintf): Call lrint.
23516
62a728ae
AM
235172013-10-04 Alan Modra <amodra@gmail.com>
23518
23519 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23520 union 32-bit int array member with 64-bit int array.
23521 (t515, tm256): Double rather than long double.
23522 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23523
32c301df
AM
235242013-10-04 Alan Modra <amodra@gmail.com>
23525
23526 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23527 Delete.
23528 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23530 version of math_ldbl.h.
23531
650ef4bd
AM
235322013-10-04 Alan Modra <amodra@gmail.com>
23533
23534 [BZ #15734], [BZ #15735]
23535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23536 all uses of ieee875 long double macros and unions. Simplify test
23537 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23538 ldbl_extract_mantissa value for ix,iy exponents. Properly
23539 normalize after ldbl_extract_mantissa, and don't add hidden bit
23540 already handled. Don't treat low word of ieee854 mantissa like
23541 low word of IBM long double and mask off bit when testing for
23542 zero.
23543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23544 all uses of ieee875 long double macros and unions. Simplify tests
23545 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23546 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23547 two1022, instead use their values. Recognise that tests for large
23548 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23549 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23550 Rewrite all uses of ieee875 long double macros and unions. Simplify
23551 test for 0.0L and nan. Correct negation.
23552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23553 ieee875 long double macros and unions. Correct output for large
23554 magnitude x. Correct absolute value calculation.
23555 (__erfcl): Likewise.
23556 * math/libm-test.inc: Add tests for errors discovered in IBM long
23557 double versions of fmodl, remainderl, erfl and erfcl.
23558
765714ca
AM
235592013-10-04 Alan Modra <amodra@gmail.com>
23560
23561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23562 all uses of ieee854 long double macros and unions. Simplify tests
23563 for long doubles that are fully specified by the high double.
23564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23565 Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23567 Remove dead code too.
23568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23569 (__ieee754_ynl): Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23573 Remove dead code too.
23574 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23578 Simplify.
23579 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23580 Simplify.
23581 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23584 Comment on variable precision.
23585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23587 Likewise.
23588 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23592 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23593
4ebd120c
AM
235942013-10-04 Alan Modra <amodra@gmail.com>
23595
23596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23598 all uses of ieee854 long double macros and unions.
23599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23604 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23605 Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23610 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23611 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23612 Simplify sign and nan test too.
23613 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23614 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23615 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23617 Likewise.
23618 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23620 Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23627
1b6adf88
AM
236282013-10-04 Alan Modra <amodra@gmail.com>
23629
23630 * stdio-common/printf_size.c (__printf_size): Don't use
23631 union ieee854_long_double in fpnum union.
23632 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23633 signbit macro to retrieve sign from long double.
23634 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23635 retrieve sign from long double.
23636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23637 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23639 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23640 * math/test-misc.c (main): Don't use union ieee854_long_double.
23641
4cf69995
AM
236422013-10-04 Alan Modra <amodra@gmail.com>
23643
23644 [BZ #15680]
23645 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23646 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23647 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23648 calculation. Remove unnecessary test for denormal exponent.
23649 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23650 Correct handling of denormals. Avoid undefined shift behaviour.
23651 Correct normalisation of low mantissa when low double is denormal.
23652 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23653 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23654 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23655 Correct normalisation of low mantissa. Test for overflow of high
23656 mantissa and normalise.
23657 (ldbl_nearbyint): Use more readable constant for two52.
23658 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23659 (__mpn_construct_long_double): Fix test for overflow of high
23660 mantissa and correct normalisation. Avoid undefined shift.
23661
9605ca6c
AM
236622013-10-04 Alan Modra <amodra@gmail.com>
23663
23664 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23665 (union ibm_extended_long_double): Define as an array of ieee754_double.
23666 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23667 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23668 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23669 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23677
975569d0
JM
236782013-10-03 Joseph Myers <joseph@codesourcery.com>
23679
d3d23756
JM
23680 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23681 page size instead of calling getpagesize.
23682
975569d0
JM
23683 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23684 (LOCFILE_ALIGN_MASK): Likewise.
23685 (LOCFILE_ALIGN_UP): Likewise.
23686 (LOCFILE_ALIGNED_P): Likewise.
23687 * locale/programs/ld-collate.c (collate_output): Use the new
23688 macros instead of __alignof__ (int32_t).
23689 * locale/weight.h (findidx): Likewise.
23690
b1fe1f2b
OB
236912013-10-03 Ondřej Bílka <neleai@seznam.cz>
23692
23693 [BZ #431]
23694 * manual/string.texi: Fix strncat and wcsncat.
23695
5f855e35
BM
236962013-10-03 Brooks Moses <bmoses@google.com>
23697
23698 [BZ #15915]
23699 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23700 * Makerules: ...here, and adjust associated comments.
23701
3cef6009
WN
237022013-10-02 Will Newton <will.newton@linaro.org>
23703
23704 * malloc/Makefile: Add tst-pvalloc.
23705 * malloc/tst-pvalloc.c: New file.
23706
7815420b
WN
237072013-10-02 Will Newton <will.newton@linaro.org>
23708
23709 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23710 improve test coverage.
23711
4868b204
WN
237122013-10-02 Will Newton <will.newton@linaro.org>
23713
23714 * malloc/Makefile: Add tst-posix_memalign.
23715 * malloc/tst-posix_memalign.c: New file.
23716
29c793b3
EB
237172013-10-01 Eric Blake <eblake@redhat.com>
23718
23719 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23720 Use __THROWNL rather than __THROW on static functions.
23721
fd967522
PM
237222013-09-30 Petr Machata <pmachata@redhat.com>
23723
23724 * elf/elf.h (R_AARCH64_ABS16): New macro.
23725 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23726 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23727 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23728 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23729 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23730 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23731 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23732 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23733 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23734 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23735 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23736 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23737 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23738 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23739 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23740 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23741 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23742 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23743 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23744 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23745 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23746 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23747 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23748 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23749 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23750 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23751 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23752 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23753 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23754 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23755 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23756 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23757 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23758 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23759 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23760 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23761 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23762 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23763 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23764 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23765 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23766 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23767 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23768 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23769 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23770 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23771 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23772 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23773 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23774 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23775 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23776 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23777 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23778 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23779 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23780 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23781 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23782 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23783 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23784 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23785 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23786 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23787 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23788 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23789 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23790 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23791 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23792 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23793 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23794 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23795 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23796 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23797 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23798 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23799 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23800 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23801 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23802 (R_AARCH64_TLSDESC_LDR): Likewise.
23803 (R_AARCH64_TLSDESC_ADD): Likewise.
23804 (R_AARCH64_TLSDESC_CALL): Likewise.
23805
b2179107
AS
238062013-09-30 Andreas Schwab <schwab@suse.de>
23807
23808 [BZ #15048]
23809 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23810 the nss database lookup.
23811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23813
47f28d0a
MF
238142013-09-28 Mike Frysinger <vapier@gentoo.org>
23815
23816 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23817
238182013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23819
23820 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23821 ${Bash-specific parameter/pattern/string} parameter expansion.
23822 * sysdeps/unix/make-syscalls.sh: Likewise.
23823
f4518a17
KK
238242013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23825
23826 * sysdeps/sh/stackguard-macros.h: New file.
23827
dc1a95c7
OB
238282013-09-26 Ondřej Bílka <neleai@seznam.cz>
23829
23830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23832 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23833 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23834 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23835 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23836
5ebbff8f
AZ
238372013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23838
23839 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23840 Fix thread ID register.
23841
4fd2cf9f
JM
238422013-09-25 Joseph Myers <joseph@codesourcery.com>
23843
23844 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23845 [POSIX || UNIX98]: Require rather than permitting all symbols from
23846 <time.h>.
23847 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23848 element of struct sched_param.
23849 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23850 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23851 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23852 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23853 constant.
23854
12c22bc4
OL
238552013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23856
23857 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23858 argument calculation.
23859
a03d8ea7
JM
238602013-09-24 Joseph Myers <joseph@codesourcery.com>
23861
23862 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23863 Expect macro.
23864 [POSIX] (pthread_attr_t): Do not require type.
23865 [POSIX] (pthread_cond_t): Likewise.
23866 [POSIX] (pthread_condattr_t): Likewise.
23867 [POSIX] (pthread_key_t): Likewise.
23868 [POSIX] (pthread_mutex_t): Likewise.
23869 [POSIX] (pthread_mutexattr_t): Likewise.
23870 [POSIX] (pthread_once_t): Likewise.
23871 [POSIX] (pthread_t): Likewise.
23872 [POSIX-based standards] (pthread_atfork): Expect function.
23873
6055173a
JM
238742013-09-24 Joseph Myers <joseph@codesourcery.com>
23875 Richard Sandiford <richard@codesourcery.com>
23876
23877 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23878 (swap_endianness_p): New extern variable.
23879 (set_big_endian): New inline function.
23880 (maybe_swap_uint32): Likewise.
23881 (maybe_swap_uint32_array): Likewise.
23882 (maybe_swap_uint32_obstack): Likewise.
23883 * locale/programs/locfile.c: Include <stdbool.h>.
23884 (swap_endianness_p): New variable.
23885 (add_locale_uint32): Call maybe_swap_uint32.
23886 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23887 (write_locale_data): Call maybe_swap_uint32_array.
23888 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23889 maybe_swap_uint32.
23890 (obstack_int32_grow_fast): Likewise.
23891 (output_weightwc): Call maybe_swap_uint32_obstack.
23892 (collate_output): Likewise.
23893 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23894 (OPT_LITTLE_ENDIAN): Likewise.
23895 (options): Add --little-endian and --big-endian options.
23896 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23897 * locale/programs/locarchive.c: Include "locfile.h".
23898 (GET): New macro.
23899 (SET): Likewise.
23900 (INC): Likewise.
23901 (create_archive): Use the new macros to access fields of
23902 structures directly mapped from or written to locale archives.
23903 (oldlocrecentcmp): Likewise.
23904 (enlarge_archive): Likewise.
23905 (insert_name): Likewise.
23906 (add_alias): Likewise.
23907 (add_locale): Likewise.
23908 (delete_locales_from_archive): Likewise.
23909 (show_archive_content): Likewise.
23910 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23911 locale data.
23912
39bf0bb4
RM
239132013-09-24 Roland McGrath <roland@hack.frob.com>
23914
23915 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23916 http://www.gnu.org/doc/freemanuals.texi.
23917 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23918
f02eed10
WN
239192013-09-24 Will Newton <will.newton@linaro.org>
23920
23921 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23922 macro.
23923
a3a6c312
JM
239242013-09-23 Joseph Myers <joseph@codesourcery.com>
23925
23926 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23927 unsigned char.
23928
107375ac
MR
239292013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23930
23931 * manual/threads.texi (POSIX Threads): Fix a typo.
23932
141f3a77
SP
239332013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23934
303e567a
SP
23935 [BZ #14547]
23936 * string/tst-strcoll-overflow.c: New test case.
23937 * string/Makefile (xtests): Add tst-strcoll-overflow.
23938 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23939 cache if string sizes may cause integer overflow.
23940
141f3a77
SP
23941 [BZ #14547]
23942 * string/strcoll_l.c (coll_seq): New members rule, idx,
23943 save_idx and back_us.
23944 (get_next_seq_nocache): New function.
23945 (do_compare_nocache): New function.
23946 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23947 when malloc fails.
23948
c61b4d41
CD
239492013-09-23 Carlos O'Donell <carlos@redhat.com>
23950
0b1f8e35
CD
23951 [BZ #15754]
23952 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23953 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23954 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23955
c61b4d41
CD
23956 [BZ #15754]
23957 * elf/Makefile (tests): Add tst-ptrguard1.
23958 (tests-static): Add tst-ptrguard1-static.
23959 (tst-ptrguard1-ARGS): Define.
23960 (tst-ptrguard1-static-ARGS): Define.
23961 * elf/tst-ptrguard1.c: New file.
23962 * elf/tst-ptrguard1-static.c: New file.
23963 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23964 * sysdeps/i386/stackguard-macros.h: Likewise.
23965 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23966 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23967 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23968 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23969 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23970 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23971
239722013-09-23 Hector Marco <hecmargi@upv.es>
23973 Ismael Ripoll <iripoll@disca.upv.es>
23974 Carlos O'Donell <carlos@redhat.com>
23975
23976 [BZ #15754]
23977 * sysdeps/generic/stackguard-macros.h: Define
23978 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23979 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23980 Define __pointer_chk_guard_local.
23981 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23982 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23983
f5f4e7b4
VV
239842013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23985
23986 [BZ #15859]
23987 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23988
5bb43a43
AS
239892013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23990
23991 * include/string.h (__ffs): Declare as hidden.
23992 * string/ffs.c (__ffs): Define as hidden.
23993 * sysdeps/i386/ffs.c (__ffs): Likewise.
23994 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23995 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23996 * sysdeps/s390/ffs.c (__ffs): Likewise.
23997 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23998
3ea5be54
AO
239992013-09-20 Alexandre Oliva <aoliva@redhat.com>
24000
ffb89e53
AO
24001 * NEWS: Mention malloc probes.
24002
322dea08
AO
24003 * malloc/arena.c (new_heap): New memory_heap_new probe.
24004 (grow_heap): New memory_heap_more probe.
24005 (shrink_heap): New memory_heap_less probe.
24006 (heap_trim): New memory_heap_free probe.
24007 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24008 (systrim): New memory_sbrk_less probe.
24009 * manual/probes.texi: Document them.
24010
655673f3
AO
24011 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24012 * manual/probes.texi: Document it.
24013
35fed6f1
AO
24014 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24015 (__libc_realloc): Add memory_realloc_retry probe.
24016 (__libc_memalign): Add memory_memalign_retry probe.
24017 (__libc_valloc): Add memory_valloc_retry probe.
24018 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24019 (__libc_calloc): Add memory_calloc_retry probe.
24020 * manual/probes.texi: Document them.
24021
6999d38c
AO
24022 * malloc/arena.c (get_free_list): Add probe
24023 memory_arena_reuse_free_list.
24024 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24025 and memory_arena_reuse.
24026 (arena_get2) [!PER_THREAD]: Likewise.
24027 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24028 memory_arena_reuse_realloc.
24029 * manual/probes.texi: Document them.
24030
0653427f
AO
24031 * malloc/malloc.c (__libc_free): Add
24032 memory_mallopt_free_dyn_thresholds probe.
24033 (__libc_mallopt): Add multiple memory_mallopt probes.
24034 * manual/probes.texi: Document them.
24035
3ea5be54
AO
24036 * malloc/malloc.c: Include stap-probe.h.
24037 (__libc_mallopt): Add memory_mallopt probe.
24038 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24039 * manual/probes.texi: New.
24040 * manual/Makefile (chapters): Add probes.
24041 * manual/threads.texi: Set next node.
24042
e35696c3 240432013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24044
e35696c3
CL
24045 [BZ #15963, #13985]
24046 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24047 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24048 Add `Chinese' to `nan' entry name.
24049
4aafb73c
SP
240502013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24051
24052 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24053 (POLYNOMIAL): Likewise.
24054 (TAYLOR_SINCOS): Likewise.
24055 (TAYLOR_SLOW): Likewise.
24056 (__sin): Use TAYLOR_SINCOS.
24057 (__cos): Likewise.
24058 (slow): Use TAYLOR_SLOW.
24059 (sloww): Likewise.
24060 (bsloww): Likewise.
24061 (csloww): Likewise.
24062
d84f25c7
LD
240632013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24064
24065 * stdlib/strtod_l.c: Fix buffer overrun.
24066
5eea0404
SP
240672013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24068
7849ff93
SP
24069 * benchtests/Makefile (bench): Add sincos.
24070 * benchtests/bench-sincos.c: New file.
24071
cfa3c886
SP
24072 * math/libm-test.inc (cos_test_data): New test inputs.
24073 (sin_test_data): Likewise.
24074
b348e1e3
SP
24075 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24076 macro.
24077 (__sin): Use it.
24078 (__cos): Likewise.
24079 (slow1): Likewise.
24080 (slow2): Likewise.
24081 (sloww1): Likewise.
24082 (sloww2): Likewise.
24083 (bsloww1): Likewise.
24084 (bsloww2): Likewise.
24085 (cslow2): Likewise.
24086 (csloww1): Likewise.
24087 (csloww2): Likewise.
24088
6cce25f8
SP
24089 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24090 function.
24091 (__sin): Use it.
24092 (__cos): Likewise.
24093
5eea0404
SP
24094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24095 gotos.
24096 (__cos): Likewise.
24097
9c21573c
MR
240982013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24099
24100 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24101 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24102 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24103 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24104 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24105 * elf/cache.c (print_entry): Handle the new cache flags.
24106
24d22e65
JM
241072013-09-18 Joseph Myers <joseph@codesourcery.com>
24108 Aldy Hernandez <aldyh@redhat.com>
24109
24110 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24111 Change condition to [_SOFT_FLOAT].
24112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24124 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24127 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24128 declaration.
24129
d13ef066
JM
241302013-09-18 Joseph Myers <joseph@codesourcery.com>
24131
2e071de0
JM
24132 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24133 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24134 (__longjmp): Use LOAD_GP to load saved GPRs.
24135 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24136 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24137 (__sigsetjmp): Use SAVE_GP to save GPRs.
24138
d13ef066
JM
24139 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24140 Do not append -msoft-float.
24141 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24142
97a0650b
SP
241432013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24144
24145 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24146
11ca09e9
JM
241472013-09-17 Joseph Myers <joseph@codesourcery.com>
24148
24149 [BZ #15966]
24150 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24151 (_FPU_GETCW): Use initial "__" on variable and field names but not
24152 on macro parameter name.
24153 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24154 parentheses around reference to macro parameter.
24155
08ffcf34
RS
241562013-09-13 Richard Sandiford <richard@codesourcery.com>
24157
24158 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24159 prototype.
24160 (ctype_startup): Use uint32_t in cast and sizeof for
24161 ctype->charnames.
24162
ae7080d3
JL
241632013-09-11 Jia Liu <proljc@gmail.com>
24164
24165 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24166 __daddr_t_defined.
24167 [__FreeBSD__]: Likewise.
24168
5905e7b3
OB
241692013-09-11 Ondřej Bílka <neleai@seznam.cz>
24170
24171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24172 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24173 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24174 (strchr): Remove __strchr_sse42 ifunc selection.
24175 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24176 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24177
b987c776
WN
241782013-09-11 Will Newton <will.newton@linaro.org>
24179
24180 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24181 parameter to RES. Remove hardcoded 1000 value.
24182 * benchtests/bench-skeleton.c (main): Pass RES parameter
24183 to TIMING_INIT and multiply result by 1000.
24184
ddf985af
AZ
241852013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24186
24187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24188
ffdd3181
AS
241892013-09-11 Andreas Schwab <schwab@suse.de>
24190
24191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24192 if not defined.
24193 (O_TMPFILE) [__USE_GNU]: Define.
24194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24195 Define.
24196
b73ed247
WN
241972013-09-11 Will Newton <will.newton@linaro.org>
24198
24199 [BZ #15857]
24200 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24201 does not overflow.
24202
55e17aad
WN
242032013-09-11 Will Newton <will.newton@linaro.org>
24204
24205 [BZ #15856]
24206 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24207 does not overflow.
24208
1159a193
WN
242092013-09-11 Will Newton <will.newton@linaro.org>
24210
24211 [BZ #15855]
24212 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24213 does not overflow.
24214
5905e7b3 242152013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24216
24217 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24222
cdfc721b
AM
242232013-09-10 Allan McRae <allan@archlinux.org>
24224
aa04af00
AM
24225 [BZ #15748]
24226 * manual/arith.texi (Parsing of Floats): Clarify
24227 cross-reference.
24228
cdfc721b
AM
24229 [BZ #15849]
24230 * manual/install.texi (Running make install): Mention
24231 --enable-pt-chown.
24232 * INSTALL: Regenerated.
24233
95e7cf29
MR
242342013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24235
24236 * csu/init-first.c (_init): Remove the !SHARED condition around
24237 FPU control word initialization.
24238 * elf/dl-support.c (_dl_fpu_control): New variable.
24239 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24240 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24241 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24242 * math/test-fpucw-static.c: New file.
24243 * math/test-fpucw-ieee.c: New file.
24244 * math/test-fpucw-ieee-static.c: New file.
24245 * math/Makefile (tests): Add `test-fpucw-ieee' and
24246 `$(tests-static)'.
24247 (tests-static): New variable.
24248 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24249 dependency to...
24250 [($(build-shared),yes)]
24251 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24252 ... this.
24253 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24254 New dependency.
24255
83e43bf0
AM
242562013-09-09 Allan McRae <allan@archlinux.org>
24257
a9f5ce09
AM
24258 [BZ #15939]
24259 * manual/string.texi (Collation Functions): Fix typo in
24260 strcoll example.
24261 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24262
34829bc2
AM
24263 [BZ #15893]
24264 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24265
3932737d
AM
24266 [BZ #15892]
24267 * libio/memstream.c (open_memstream): Fix memory leak.
24268 * libio/wmemstream.c (open_wmemstream): Likewise.
24269
83e43bf0
AM
24270 [BZ #15895]
24271 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24272
0c66b8e9
WN
242732013-09-09 Will Newton <will.newton@linaro.org>
24274
24275 * malloc/Makefile: Add tst-realloc to tests.
24276 * malloc/tst-realloc.c: New file.
24277
f6b00fd1
AM
242782013-09-09 Allan McRae <allan@archlinux.org>
24279
24280 [BZ #15844]
24281 * COPYING: Update from GNU website to fix FSF address.
24282 * COPYING.LIB: Likewise.
24283
eec55e16
DM
242842013-09-06 David S. Miller <davem@davemloft.net>
24285
24286 * po/zh_TW.po: Update Chinese (traditional) translation from
24287 translation project.
24288
1ecbb381
RS
242892013-09-06 Richard Sandiford <richard@codesourcery.com>
24290 Joseph Myers <joseph@codesourcery.com>
24291
24292 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24293 "localeinfo.h".
24294 (obstack_chunk_alloc): New macro.
24295 (obstack_chunk_free): Likewise.
24296 (record_offset): New function.
24297 (init_locale_data): Likewise.
24298 (align_locale_data): Likewise.
24299 (add_locale_empty): Likewise.
24300 (add_locale_raw_data): Likewise.
24301 (add_locale_raw_obstack): Likewise.
24302 (add_locale_string): Likewise.
24303 (add_locale_wstring): Likewise.
24304 (add_locale_uint32): Likewise.
24305 (add_locale_uint32_array): Likewise.
24306 (add_locale_char): Likewise.
24307 (start_locale_structure): Likewise.
24308 (end_locale_structure): Likewise.
24309 (start_locale_prelude): Likewise.
24310 (end_locale_prelude): Likewise.
24311 (write_locale_data): Take locale_file structure rather than an
24312 iovec.
24313 * locale/programs/locfile.h: Include "obstack.h".
24314 (struct locale_file): Change to store locale file contents instead
24315 of header.
24316 (init_locale_data): New prototype.
24317 (align_locale_data): Likewise.
24318 (add_locale_empty): Likewise.
24319 (add_locale_raw_data): Likewise.
24320 (add_locale_raw_obstack): Likewise.
24321 (add_locale_string): Likewise.
24322 (add_locale_wstring): Likewise.
24323 (add_locale_uint32): Likewise.
24324 (add_locale_uint32_array): Likewise.
24325 (add_locale_char): Likewise.
24326 (start_locale_structure): Likewise.
24327 (end_locale_structure): Likewise.
24328 (start_locale_prelude): Likewise.
24329 (end_locale_prelude): Likewise.
24330 (write_locale_data): Update prototype.
24331 * locale/programs/3level.h (struct TABLE): Remove result field.
24332 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24333 Use new locale_file interface.
24334 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24335 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24336 * locale/programs/ld-address.c (address_output): Use new
24337 locale_file interface.
24338 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24339 NO_ADD_LOCALE.
24340 (collate_finish): Don't call collseq_table_finalize.
24341 (collate_output): Use new locale_file interface.
24342 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24343 in file.
24344 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24345 (TABLE): Move defines earlier in file.
24346 (ELEMENT): Likewise.
24347 (DEFAULT): Likewise.
24348 (wctrans_table_add): Move macro and inline function earlier in
24349 file.
24350 (struct wctype_table): Move type earlier in file.
24351 (add_locale_wctype_table): New static prototype.
24352 (struct locale_ctype_t): Use logical types instead of struct iovec
24353 pointers for members.
24354 (ctype_output): Use new locale_file interface.
24355 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24356 new locale_file interface.
24357 (allocate_arrays): Update for use of new locale_file interface.
24358 * locale/programs/ld-identification.c (identification_output): Use
24359 new locale_file interface.
24360 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24361 * locale/programs/ld-messages.c (messages_output): Likewise.
24362 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24363 * locale/programs/ld-name.c (name_output): Likewise.
24364 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24365 * locale/programs/ld-paper.c (paper_output): Likewise.
24366 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24367 * locale/programs/ld-time.c (time_output): Likewise.
24368
e029e2e5
AZ
243692013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24370
24371 * benchtests/Makefile: Add memrchr benchmark.
24372 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24373 benchmark as memrchr.
24374 * benchtests/bench-memrchr-ifunc.c: New file.
24375 * benchtests/bench-memrchr.c: New file.
24376
bbf6e8e4
WN
243772013-09-06 Will Newton <will.newton@linaro.org>
24378
24379 * benchtests/Makefile (string-bench): Add memcpy.
24380
6c82a2f8
CD
243812013-09-05 Carlos O'Donell <carlos@redhat.com>
24382 Cong Wang <amwang@redhat.com>
24383
e732c5f0 24384 [BZ #15850]
6c82a2f8
CD
24385 * sysdeps/unix/sysv/linux/bits/in.h
24386 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24387 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24388 before __USE_KERNEL_IPV6_DEFS uses.
24389 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24390 IPPROTO_BEETPH.
24391 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24392 sockaddr_in6, or ipv6_mreq.
24393
5430fc65
AZ
243942013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24395
24396 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24397 memory access for final bytes in some large inputs.
24398 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24399
4660856c
AZ
244002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24401
24402 * string/test-memrchr.c: New file.
24403 * string/test-memrchr-ifunc.c: New file.
24404 * string/Makefile: Add new memrchr testcase.
24405
bb8ea713
MF
244062013-09-05 Mike Frysinger <vapier@gentoo.org>
24407
24408 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24409 fanotify_init returns EPERM.
24410
b92a20b5
JM
244112013-09-04 Joseph Myers <joseph@codesourcery.com>
24412
24413 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24414 errors.
24415 (top level): Treat second token from macro or constant entries for
24416 allowed headers as allowed.
24417 * include/complex.h: Condition internal declarations on
24418 [!_ISOMAC].
24419 * include/fenv.h: Condition include of <stdbool.h> and internal
24420 declarations on [!_ISOMAC].
7447ccd9
CL
24421
244222013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24423
3e181dda 24424 [BZ #15923]
7447ccd9
CL
24425 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24426
3f2e46a4
JM
244272013-09-04 Joseph Myers <joseph@codesourcery.com>
24428
24429 * configure.in (--enable-versioning): Remove configure option.
24430 (libc_cv_asm_symver_directive): Remove configure test.
24431 (libc_cv_ld_version_script_option): Likewise.
24432 (VERSIONING): Remove variable and AC_SUBST.
24433 (DO_VERSIONING): Remove AC_DEFINE.
24434 * configure: Regenerated.
24435 * config.h.in (DO_VERSIONING): Remove macro.
24436 * Makerules [$(versioning) = yes]: Change conditionals to
24437 [$(build-shared) = yes].
24438 * config.make.in (versioning): Remove variable.
24439 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24440 [$(build-shared) = yes].
24441 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24442 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24443 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24444 [$(build-shared) = yes].
24445 * extra-lib.mk [$(versioning) = yes]: Likewise.
24446 * hurd/Makefile [$(versioning) = yes]: Likewise.
24447 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24448 [SHARED].
24449 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24450 [SHARED].
24451 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24452 [SHARED && !NO_HIDDEN].
24453 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24454 [SHARED].
24455 [SHARED && DO_VERSIONING]: Likewise..
24456 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24457 [$(build-shared) = yes].
24458 * manual/install.texi (--disable-versioning): Remove
24459 documentation.
24460 * INSTALL: Regenerated.
24461 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24462 to [SHARED].
24463 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24464 [$(build-shared) = yes].
24465 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24466 * sysdeps/i386/i686/multiarch/strstr-c.c
24467 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24468 [SHARED && !NO_HIDDEN].
24469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24470 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24471 * sysdeps/powerpc/powerpc32/dl-machine.c
24472 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24473 * sysdeps/powerpc/powerpc32/sysdep.h
24474 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24475 to [SHARED && PIC && !NO_HIDDEN].
24476 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24477 conditional to [SHARED].
24478
44558701
WN
244792013-09-04 Will Newton <will.newton@linaro.org>
24480
24481 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24482 * benchtests/bench-string.h: Include bench-timing.h instead
24483 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24484 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24485 call to HP_TIMING_DIFF_INIT.
24486 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24487 instead of hp-timing.h macros.
24488 * benchtests/bench-memchr.c: Likewise.
24489 * benchtests/bench-memcmp.c: Likewise.
24490 * benchtests/bench-memcpy.c: Likewise.
24491 * benchtests/bench-memmem.c: Likewise.
24492 * benchtests/bench-memmove.c: Likewise.
24493 * benchtests/bench-memset.c: Likewise.
24494 * benchtests/bench-rawmemchr.c: Likewise.
24495 * benchtests/bench-strcasecmp.c: Likewise.
24496 * benchtests/bench-strcasestr.c: Likewise.
24497 * benchtests/bench-strcat.c: Likewise.
24498 * benchtests/bench-strchr.c: Likewise.
24499 * benchtests/bench-strcmp.c: Likewise.
24500 * benchtests/bench-strcpy.c: Likewise.
24501 * benchtests/bench-strcpy_chk.c: Likewise.
24502 * benchtests/bench-strlen.c: Likewise.
24503 * benchtests/bench-strncasecmp.c: Likewise.
24504 * benchtests/bench-strncat.c: Likewise.
24505 * benchtests/bench-strncmp.c: Likewise.
24506 * benchtests/bench-strncpy.c: Likewise.
24507 * benchtests/bench-strnlen.c: Likewise.
24508 * benchtests/bench-strpbrk.c: Likewise.
24509 * benchtests/bench-strrchr.c: Likewise.
24510 * benchtests/bench-strspn.c: Likewise.
24511 * benchtests/bench-strstr.c: Likewise.
24512
cae16d66
WN
245132013-09-04 Will Newton <will.newton@linaro.org>
24514
24515 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24516
ffa3cd7f
JM
245172013-09-03 Joseph Myers <joseph@codesourcery.com>
24518
24519 [BZ #15427]
24520 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24521 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24522 * math/libm-test.inc (lgamma_test_data): Add more tests.
24523 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24525
8f02859f
OB
245262013-09-03 Ondřej Bílka <neleai@seznam.cz>
24527
24528 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24530 Add ifunc.
24531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24532 Add strcmp-sse2-unaligned
24533 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24534
18d43716
MF
245352013-09-02 Mike Frysinger <vapier@gentoo.org>
24536
24537 * Versions.def (libc): Add GLIBC_2.19.
24538
ac444012
MF
245392013-09-02 Mike Frysinger <vapier@gentoo.org>
24540
24541 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24542 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24543
b7835e32
JM
245442013-09-02 Joseph Myers <joseph@codesourcery.com>
24545
24546 [BZ #14155]
24547 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24548 intermediate calculations in recurrence.
24549 (__ieee754_ynf): Likewise.
24550 * math/libm-test.inc (jn_test_data): Do not allow spurious
24551 underflow exception. Add more tests.
24552 (yn_test_data): Add more tests.
24553 * sysdeps/i386/fpu/libm-test-ulps: Update.
24554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24555
8220f4f0
OB
245562013-09-02 Ondřej Bílka <neleai@seznam.cz>
24557
24558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24559
f24a6d08
OB
245602013-08-30 Ondřej Bílka <neleai@seznam.cz>
24561
24562 * csu/init-first.c: Fix then/than typos.
24563 * locale/programs/ld-collate.c: Likewise.
24564 * locale/programs/linereader.h: Likewise.
24565 * manual/charset.texi: Likewise.
24566 * manual/filesys.texi: Likewise.
24567 * manual/stdio.texi: Likewise.
24568 * manual/string.texi: Likewise.
24569 * stdlib/fmtmsg.c: Likewise.
24570 * sysdeps/i386/stpncpy.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24572 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24575
382466e0
OB
245762013-08-30 Ondřej Bílka <neleai@seznam.cz>
24577
24578 * elf/dl-open.c: Fix typos.
24579 * iconvdata/gbbig5.c: Likewise.
24580 * iconvdata/iso-2022-jp.c: Likewise.
24581 * iconv/gconv_int.h: Likewise.
24582 * iconv/loop.c: Likewise.
24583 * nis/rpcsvc/nis.h: Likewise.
24584 * resolv/ns_name.c: Likewise.
24585 * stdio-common/vfscanf.c: Likewise.
24586 * streams/stropts.h: Likewise.
24587 * sunrpc/rpc_thread.c: Likewise.
24588 * sysdeps/i386/strpbrk.S: Likewise.
24589 * sysdeps/ieee754/k_standard.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24592 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24593 * sysdeps/mach/hurd/profil.c: Likewise.
24594 * sysdeps/s390/dl-procinfo.h: Likewise.
24595 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24596 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24597 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24598 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24600
0186c6e9
OB
246012013-08-30 Ondřej Bílka <neleai@seznam.cz>
24602
24603 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24605
d4e16af1
OB
246062013-08-29 Ondřej Bílka <neleai@seznam.cz>
24607
24608 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24609 aix specific files.
24610 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24611 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24612 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24613 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24614 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24615 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24616 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24617 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24618
88335980
TS
246192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24620 Roland McGrath <roland@hack.frob.com>
24621
24622 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24623 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24624
ed479b02
ST
246252013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24626
24627 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24628 __executable_start symbol instead of _start.
24629
f1cc4c86
TS
246302013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24631
d821f07c
TS
24632 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24633 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24634 Move macros to...
24635 * sysdeps/gnu/ldsodefs.h: ... this new file.
24636
c54290cf
TS
24637 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24638 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24639 instead of ELFOSABI_LINUX.
24640
0007fc9b 24641 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24642 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24643 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24644 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24645 Likewise.
24646 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24647 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24649 Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24651 (ibm_extended_long_double): Add ieee_nan member.
24652 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24653 (do_test): New function.
24654
f1cc4c86
TS
24655 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24656 TEST_TRUNC.
24657 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24658 functions, renamed from truncdfsf_test, trunctfsf_test,
24659 trunctfdf_test.
24660 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24661 functions.
24662 (do_test): Run all these.
24663
6f65e668
OB
246642013-08-29 Ondřej Bílka <neleai@seznam.cz>
24665
24666 * argp/argp-help.c: Fix typos.
24667 * argp/argp-parse.c: Likewise.
24668 * debug/backtracesyms.c: Likewise.
24669 * elf/elf.h: Likewise.
24670 * malloc/malloc.c: Likewise.
24671 * nis/nis_print.c: Likewise.
24672 * resolv/res_comp.c: Likewise.
24673 * stdlib/stdlib.h: Likewise.
24674 * sunrpc/clnt_tcp.c: Likewise.
24675 * sunrpc/clnt_udp.c: Likewise.
24676 * sunrpc/clnt_unix.c: Likewise.
24677 * sysdeps/unix/bsd/ptsname.c: Likewise.
24678 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24679 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24681 Likewise.
24682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24683 Likewise.
24684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24685 Likewise.
6f65e668
OB
24686 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24687
3a309239
SP
246882013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24689
24690 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24692
3b813b29
MF
246932013-08-27 Mike Frysinger <vapier@gentoo.org>
24694
24695 [BZ #15897]
24696 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24697 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24698 ($(objpfx)bug-dl-leaf): New rule.
24699 ($(objpfx)bug-dl-leaf.so): Likewise.
24700 ($(objpfx)bug-dl-leaf.out): Likewise.
24701 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24702 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24703 * dlfcn/bug-dl-leaf.c: New test.
24704 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24705 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24706 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24707 (dlclose): Likewise.
24708 (dlmopen): Likewise.
24709
8cc3269f
RM
247102013-08-27 Roland McGrath <roland@hack.frob.com>
24711
7f9d0034
RM
24712 * include/netdb.h [!_ISOMAC]:
24713 Don't include <tls.h>.
24714 (h_errno, __libc_h_errno): Move declaration and macros out of
24715 [_LIBC_REENTRANT].
24716
fb431262
RM
24717 * include/resolv.h [_RESOLV_H_]:
24718 Don't include <tls.h>.
24719 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24720 * resolv/res_libc.c: Don't include <tls.h>.
24721 (_res): Use __attribute__ ((nocommon)) in place of
24722 __attribute__ ((section (".bss"))).
24723
bd81123a
RM
24724 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24725 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24726
c4e42566
RM
24727 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24728
f890a59b
RM
24729 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24730 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24731
24732 * resolv/res_mkquery.c: Include <sys/time.h>.
24733
5d1f0a09
RM
24734 * inet/ifreq.c: Moved to ...
24735 * sysdeps/unix/ifreq.c: ... here.
24736 * inet/ifreq.c: New file, true stub version.
24737
6fcf28b3
RM
24738 * socket/sa_len.c: New file.
24739 * socket/Makefile (aux): Add it.
24740 * sysdeps/unix/sysv/linux/Makefile
24741 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24742 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24743 and #include <socket/sa_len.c>.
24744 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24745 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24746
e041fb8b
RM
24747 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24748 * bits/socket.h: ... here.
24749
8cc3269f
RM
24750 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24751 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24752 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24753
5d228a43
AS
247542013-08-27 Andreas Schwab <schwab@suse.de>
24755
45b8accc
AS
24756 [BZ #15736]
24757 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24758 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24759 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24760 * string/test-strcasecmp.c (test_main): Run tests in several
24761 locales.
24762 * string/test-strncasecmp.c (test_main): Likewise.
24763
5d228a43
AS
24764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24765 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24766 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24768 (__strncasecmp_ssse3) [PIC]: Likewise.
24769
59d112a4
RM
247702013-08-26 Roland McGrath <roland@hack.frob.com>
24771
53234cc3
RM
24772 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24773
59d112a4
RM
24774 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24775 instead of explicitly declaring xdecrypt.
24776 * nis/nss_nis/nis-publickey.c: Likewise.
24777
595aba70
SP
247782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24779
24780 [BZ #15890]
24781 * nscd/aicache.c: Include res_hconf.h.
24782 (addhstaiX): Initialize res_hconf.
24783
ffabd393
AS
247842013-08-26 Andreas Schwab <schwab@suse.de>
24785
24786 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24787 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24788
e0a69f5c
SP
247892013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24790
24791 * nscd/aicache.c (addhstaiX): Fix indentation.
24792
8c12f01d
MF
247932013-08-25 Mike Frysinger <vapier@gentoo.org>
24794
24795 * configure.ac: Quote $build_pt_chown test.
24796 * configure: Regenerated.
24797
8fe89494
JM
247982013-08-23 Joseph Myers <joseph@codesourcery.com>
24799
24800 [BZ #15532]
24801 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24802 * math/s_cexpf.c (__cexpf): Likewise.
24803 * math/s_cexpl.c (__cexpl): Likewise.
24804 * math/libm-test.inc (cexp_test_data): Correct expected return
24805 value for NaN + i0. Add another test.
24806
75b181d6
DM
248072013-08-22 David S. Miller <davem@davemloft.net>
24808
24809 * po/ca.po: Update Catalan translation from translation project.
936241e4 24810 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24811
acd06bb1
JM
248122013-08-21 Joseph Myers <joseph@codesourcery.com>
24813
24814 [BZ #15797]
24815 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24816 is infinite, not alongside NaN test.
24817 * math/s_fdimf.c (__fdimf): Likewise.
24818 * math/s_fdiml.c (__fdiml): Likewise.
24819 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24820 errno is unchanged.
24821
c0c3f78a
OB
248222013-08-21 Ondřej Bílka <neleai@seznam.cz>
24823
24824 * argp/argp-help.c: Fix typos.
24825 * crypt/speeds.c: Likewise.
24826 * csu/check_fds.c: Likewise.
24827 * elf/dl-load.c: Likewise.
24828 * elf/dl-open.c: Likewise.
24829 * elf/reldep3.c: Likewise.
24830 * elf/reldep.c: Likewise.
24831 * elf/sprof.c: Likewise.
24832 * iconv/iconv_charmap.c: Likewise.
24833 * iconv/skeleton.c: Likewise.
24834 * iconv/strtab.c: Likewise.
24835 * io/lockf64.c: Likewise.
24836 * libio/libioP.h: Likewise.
24837 * resolv/gai_notify.c: Likewise.
24838 * resolv/ns_name.c: Likewise.
24839 * resolv/ns_samedomain.c: Likewise.
24840 * resolv/res_send.c: Likewise.
24841 * stdlib/random.c: Likewise.
24842 * sunrpc/rpc/xdr.h: Likewise.
24843 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24844 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24845 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24846 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24850 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24851 * sysdeps/mach/hurd/check_fds.c: Likewise.
24852 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24853 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24855 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24856 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24857 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24858 * sysdeps/pthread/aio_notify.c: Likewise.
24859 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24860 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24861 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24862 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24863 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24864
46ed1038
LD
248652013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24866
24867 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24868 version if bit_Slow_SSE4_2 is set.
24869 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24870 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24871
d400dcac
AZ
248722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24873
24874 [BZ #15867]
24875 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24876 trampoline stack frame information.
24877 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24878 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24879 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24880 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24881 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24882 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24883 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24884 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24885 sa_flags value.
24886 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24887 interrupting a syscall and set with option SA_SIGINFO.
24888
42c8fdd8
JM
248892013-08-20 Joseph Myers <joseph@codesourcery.com>
24890
c980f2f4
JM
24891 [BZ #15531]
24892 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24893 argument is infinite.
24894 * math/s_cprojf.c (__cprojf): Likewise.
24895 * math/s_cprojl.c (__cprojl): Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24897 * math/libm-test.inc (cproj_test_data): Add more tests.
24898
0716c4fc
JM
24899 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24900
42c8fdd8
JM
24901 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24902 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24903 size. Use __ffs to determine corresponding shift.
24904
b31469d0
JM
249052013-08-20 Joseph Myers <joseph@codesourcery.com>
24906 Roland McGrath <roland@hack.frob.com>
24907
24908 * Makefile (INSTALL): Remove trailing blank lines from output of
24909 makeinfo.
24910
4e39af6e
AK
249112013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24912
24913 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24914 Align 32 bit compat elf_greg to 8 bytes.
24915
f315524e
AA
249162013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24917
24918 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24919
1326ba1a
SP
249202013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24921
24922 * string/strcoll_l.c (coll_seq): New structure.
24923 (get_next_seq_cached): New function.
24924 (get_next_seq): New function.
24925 (do_compare): New function.
24926 (STRCOLL): Use GNU style definition. Simplify implementation
24927 by using get_next_seq, get_next_seq_cached and do_compare.
24928
91ce4085
FW
249292013-08-16 Florian Weimer <fweimer@redhat.com>
24930
24931 [BZ #14699]
24932 CVE-2013-4237
24933 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24934 member.
24935 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24936 member.
24937 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24938 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24939 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24940 conditional.
24941 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24942 GETDENTS_64BIT_ALIGNED.
24943 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24944 * manual/filesys.texi (Reading/Closing Directory): Document
24945 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24946 strongly.
24947 * manual/conf.texi (Limits for Files): Add portability note to
24948 NAME_MAX, PATH_MAX.
24949 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24950
ca0a6bc4
AS
249512013-08-13 Andreas Schwab <schwab@suse.de>
24952
24953 [BZ #15749]
24954 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24955 of fabs.
24956 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24957 LDBL_MAX_EXP >= 16384]: Add tests for it.
24958
6c1fd795
DM
249592013-08-12 David S. Miller <davem@davemloft.net>
24960
24961 * version.h (RELEASE): Set to "development".
24962 (VERSION): Set to "2.18.90".
24963 * NEWS: Add 2.19 section.
24964
31ad488d
DM
249652013-08-03 David S. Miller <davem@davemloft.net>
24966
24967 * po/ko.po: Update Korean translation from translation project.
24968
db24e684
DM
249692013-08-01 David S. Miller <davem@davemloft.net>
24970
24971 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24972 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24973 Bilka.
24974
f723285b
DM
249752013-07-30 David S. Miller <davem@davemloft.net>
24976
24977 * po/fr.po: Update French translation from translation project.
24978
3cbc52db
DM
249792013-07-28 David S. Miller <davem@davemloft.net>
24980
30bbc0cc
DM
24981 * po/cs.po: Update Czech translation from translation project.
24982
3cbc52db
DM
24983 * po/sv.po: Update Swedish translation from translation project.
24984
d492e6d0
DM
249852013-07-27 David S. Miller <davem@davemloft.net>
24986
f1a7f492
DM
24987 * po/eo.po: Update Esperanto translation from translation project.
24988
90e62a4a
DM
24989 * po/vi.po: Update Vietnamese translation from translation project.
24990
d492e6d0
DM
24991 * po/de.po: Update German translation from translation project.
24992
d4baa62d
DM
249932013-07-26 David S. Miller <davem@davemloft.net>
24994
641aa7b4
DM
24995 * po/bg.po: Update Bulgarian translation from translation project.
24996
d4baa62d
DM
24997 * po/nl.po: Update Dutch translation from translation project.
24998 * po/pl.po: Update Polish translation from translation project.
24999 * po/ru.po: Update Russian translation from translation project.
25000
61a9dcb9
DM
250012013-07-24 David S. Miller <davem@davemloft.net>
25002
25003 * po/libc.pot: Update.
25004
7b1f8b58
AZ
250052013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25006
25007 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25008 variable page size.
25009 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25010 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25011 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25012
a8fc7a03
AK
250132013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25014
25015 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25016
e4608715
CD
250172013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25018 Andreas Schwab <schwab@suse.de>
25019 Roland McGrath <roland@hack.frob.com>
25020 Joseph Myers <joseph@codesourcery.com>
25021 Carlos O'Donell <carlos@redhat.com>
25022
25023 [BZ #15755]
25024 * config.h.in: Define HAVE_PT_CHOWN.
25025 * config.make.in (build-pt-chown): New variable.
25026 * configure.in (--enable-pt_chown): New configure option.
25027 * configure: Regenerate.
25028 * login/Makefile: Include Makeconfig. Build pt_chown only if
25029 build-pt-chown is enabled.
25030 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25031 pt_chown to fix pty ownership.
25032 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25033 CLOSE_ALL_FDS.
25034 * manual/install.texi (Configuring and compiling): Mention
25035 --enable-pt_chown. Add @findex for grantpt.
25036 * INSTALL: Regenerate.
25037
da2d62df
DM
250382013-07-20 David S. Miller <davem@davemloft.net>
25039
25040 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25041 difference between 32-bit and 64-bit.
25042
d7e06450
CD
250432013-07-15 Carlos O'Donell <carlos@redhat.com>
25044
25045 [BZ #15711]
25046 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25047 Avoid system header dependency with -ffreestanding.
25048 ($(objpfx)bits/syscall%d): Likewise.
25049
f959cfd7
DM
250502013-07-13 David S. Miller <davem@davemloft.net>
25051
25052 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25053 underflows from atanl/atan2l due to bug 15319.
25054 (casinh_test_data): Likewise.
25055
c61f8513
DM
250562013-07-07 David S. Miller <davem@davemloft.net>
25057
25058 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25059
72c90ed0
JA
250602013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25061
25062 * sysdeps/i386/fpu/libm-test-ulps: Update.
25063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25064
52dfbe13
SP
250652013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25066
25067 * configure.in (--enable-lock-elision): Fix message text.
25068 * INSTALL: Regenerate.
25069 * configure: Regenerate.
25070
3f169543
AZ
250712013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072
25073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25074
521c6785
AJ
250752013-07-03 Andreas Jaeger <aj@suse.de>
25076
25077 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25078 define.
25079 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25080 (ptrace_peeksiginfo_args): Add.
25081 (__ptrace_peeksiginfo_flags): Add.
25082 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25085
d2cc15cb
AM
250862013-07-03 Allan McRae <allan@archlinux.org>
25087
25088 * sysdeps/i386/fpu/libm-test-ulps: Update.
25089
3aaeeca7
DM
250902013-07-02 David S. Miller <davem@davemloft.net>
25091
25092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25093
5314ed1a
MT
250942013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25095
25096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25097
67338156
JM
250982013-07-02 Joseph Myers <joseph@codesourcery.com>
25099
25100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25102
1717da59
AK
251032013-07-02 Andi Kleen <ak@linux.intel.com>
25104
25105 * config.h.in (ENABLE_LOCK_ELISION): Add.
25106 * configure.in (--enable-lock-elision): Add option.
25107 * manual/install.texi: Document --enable lock elision.
25108 * configure: Regenerate
25109 * INSTALL: Regenerate.
25110
1c81621c
L
251112013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25112
25113 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25114 SSE4.2 strcasecmp for libc.a.
25115 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25116
77f01ab5
JM
251172013-07-02 Joseph Myers <joseph@codesourcery.com>
25118
25119 [BZ #13304]
25120 * soft-fp/op-common.h (_FP_FMA): New macro.
25121 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25122 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25123 (_FP_MUL_MEAT_1_imm): ... here.
25124 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25125 (_FP_MUL_MEAT_1_wide): ... here.
25126 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25127 (_FP_MUL_MEAT_1_hard): ... here.
25128 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25129 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25130 (_FP_MUL_MEAT_2_wide): ... here.
25131 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25132 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25133 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25134 (_FP_MUL_MEAT_2_gmp): ... here.
25135 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25136 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25137 (_FP_MUL_MEAT_4_wide): ... here.
25138 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25139 (_FP_MUL_MEAT_4_gmp): ... here.
25140 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25141 (_FP_WFRACBITS_DW_S): Likewise.
25142 (_FP_WFRACXBITS_DW_S): Likewise.
25143 (_FP_HIGHBIT_DW_S): Likewise.
25144 (FP_FMA_S): Likewise.
25145 (_FP_FRAC_HIGH_DW_S): Likewise.
25146 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25147 (_FP_WFRACBITS_DW_D): Likewise.
25148 (_FP_WFRACXBITS_DW_D): Likewise.
25149 (_FP_HIGHBIT_DW_D): Likewise.
25150 (FP_FMA_D): Likewise.
25151 (_FP_FRAC_HIGH_DW_D): Likewise.
25152 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25153 (_FP_WFRACBITS_DW_E): Likewise.
25154 (_FP_WFRACXBITS_DW_E): Likewise.
25155 (_FP_HIGHBIT_DW_E): Likewise.
25156 (FP_FMA_E): Likewise.
25157 (_FP_FRAC_HIGH_DW_E): Likewise.
25158 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25159 (_FP_WFRACBITS_DW_Q): Likewise.
25160 (_FP_WFRACXBITS_DW_Q): Likewise.
25161 (_FP_HIGHBIT_DW_Q): Likewise.
25162 (FP_FMA_Q): Likewise.
25163 (_FP_FRAC_HIGH_DW_Q): Likewise.
25164 * soft-fp/fmasf4.c: New file.
25165 * soft-fp/fmadf4.c: Likewise.
25166 * soft-fp/fmatf4.c: Likewise.
25167
6308fd9a
LD
251682013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25169
25170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25171 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25172 Silvermont.
25173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25174 macro.
25175 (index_Slow_SSE4_2): Likewise.
25176 (index_Prefer_PMINUB_for_stringop): Likewise.
25177 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25178 bit_Slow_SSE4_2 is set.
25179 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25181
89cd9569
RA
251822013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25183
25184 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25185 rtld_global._dl_hwcap2.
25186 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25187 POWER8.
25188 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25189 POWER8 feature descriptions defined in _dl_hwcap2.
25190 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25191 string handling for POWER8 feature bits.
25192 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25193 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25194 _dl_powerpc_cap_flags.
25195 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25196 * sysdeps/powerpc/rtld-global-offsets.sym
25197 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25198 _dl_hwcap2 in the rtld_global_ro structure.
25199
1ae8bfe0
RA
252002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25201
25202 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25203 hardware capabilities in support of AT_HWCAP2.
25204 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25205 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25206 GLRO(dl_hwcap2).
25207 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25208 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25209 explicitly the unknown a_type display mechanism is used.
25210 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25211 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25212 struct member.
25213 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25214 to macro prototype for AT_HWCAP2 support.
25215 * sysdeps/i386/dl-procinfo.h: Likewise.
25216 * sysdeps/s390/dl-procinfo.h: Likewise.
25217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25218 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25219 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25220 return -1 for unknown a_type display fallback.
25221 * sysdeps/sparc/dl-procinfo.h: Likewise.
25222 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25223 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25224
8fbec010
JM
252252013-06-28 Joseph Myers <joseph@codesourcery.com>
25226
25227 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25228 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25229
0432680e
PY
252302013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25231
25232 [BZ #12492]
25233 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25234 mprotect making __stack_prot writable.
25235
ce61a2ad
NF
252362013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25237 Joseph Myers <joseph@codesourcery.com>
25238
25239 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25240 as being properly aligned.
25241
f91f1c0f
MR
252422013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25243
3d0f5d0c
MR
25244 * dlfcn/modstatic5.c: New file.
25245 * dlfcn/tststatic5.c: New file.
25246 * dlfcn/Makefile (tests): Add tststatic5.
25247 (tests-static): Likewise.
25248 (modules-names): Add modstatic5.
25249 (tststatic5-ENV): New variable.
25250 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25251
f91f1c0f
MR
25252 [BZ #15022]
25253 * elf/dl-support.c (_dl_main_map): New variable.
25254 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25255 (_dl_nns, _dl_load_adds): Set to 1.
25256 (_dl_initial_searchlist): Refer to _dl_main_map.
25257 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25258 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25259 call to _dl_get_origin.
25260 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25261 around call_map.
25262 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25263 * dlfcn/modstatic3.c: New file.
25264 * dlfcn/tststatic3.c: New file.
25265 * dlfcn/tststatic4.c: New file.
25266 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25267 (tests-static): Likewise.
25268 (modules-names): Add modstatic3.
25269 (tststatic3-ENV, tststatic4-ENV): New variables.
25270 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25271 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25272
cbe7d24b
JM
252732013-06-26 Joseph Myers <joseph@codesourcery.com>
25274
25275 * configure.in (CC): Require GCC version 4.4 or later.
25276 * configure: Regenerated.
25277 * manual/install.texi (Tools for Compilation): Update GCC version
25278 requirement.
25279 * INSTALL: Regenerated.
25280
11b8a0e1
LD
252812013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25282
25283 [BZ #15674]
bb5bb87c
L
25284 * string/test-memcmp.c (check2): New.
25285 (main): Call check2.
25286
11b8a0e1
LD
25287 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25288
b0037103
MR
252892013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25290
25291 [BZ #15022]
25292 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25293 over to...
25294 (dl_open_worker) [!SHARED]: ... here.
25295
c18c701d
RA
252962013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25297
25298 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25299
1d17fa5f
RH
253002013-06-25 Richard Henderson <rth@redhat.com>
25301
25302 * locale/programs/locarchive.c: Include <libc-internal.h>
25303
8fcb833a
JM
253042013-06-25 Joseph Myers <joseph@codesourcery.com>
25305
25306 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25307 trailing whitespace removed.
25308
17db6e8d
MF
253092013-06-24 Mike Frysinger <vapier@gentoo.org>
25310
25311 [BZ #10283]
17db6e8d
MF
25312 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25313 * locale/programs/locarchive.c: Include libc-mmap.h.
25314 (prepare_address_space): Take two new outputs (the mmap base and len).
25315 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25316 values.
25317 (create_archive): Declare new mmap base and len values for
25318 prepare_address_space, and store the result in ah.
25319 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25320 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25321 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25322 Declare new mmap base and len values for
25323 prepare_address_space, and store the result in new_ah.
25324 (open_archive): Declare new mmap base and len values for
25325 prepare_address_space, and store the result in ah.
25326 (close_archive): If ah->mmap_base is not NULL, use that and
25327 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25328 * sysdeps/generic/libc-mmap.h: New file.
25329
d605071e
MF
253302013-06-24 Mike Frysinger <vapier@gentoo.org>
25331
25332 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25333 (ALIGN_UP): Likewise.
25334 (PTR_ALIGN_DOWN): Likewise.
25335 (PTR_ALIGN_UP): Likewise.
25336
2f063a6e
RA
253372013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25338
25339 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25340 entry mapped to PPC_PLATFORM_POWER8.
25341 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25342 POWER8.
25343 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25344 (_dl_string_platform): Add case for exporting platform position for
25345 POWER8.
25346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25347 search path to sysdeps/powerpc/powerpc32/power8 directory.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25349 search path to sysdeps/powerpc/powerpc64/power8 directory.
25350 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25351 power7 directories.
25352 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25353 power7 directories.
25354
a31ee4b3
SP
253552013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25356
a74ca98f
SP
25357 * INSTALL: Regenerate.
25358
a31ee4b3
SP
25359 * nscd/connections.c (nscd_init): Fix comment.
25360
695c378f
JM
253612013-06-22 Joseph Myers <joseph@codesourcery.com>
25362
d8412221
JM
25363 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25364
695c378f
JM
25365 [BZ #15667]
25366 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25367 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25368
d1d54715
MR
253692013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25370
25371 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25372 DL_DST_REQ_STATIC.
25373 (DL_DST_REQ_STATIC): Remove macro.
25374
8fdda7af
JM
253752013-06-21 Joseph Myers <joseph@codesourcery.com>
25376
25377 [BZ #7006]
25378 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25379 with a shift of 0 bits.
25380
f3bc5e5a
MR
253812013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25382
25383 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25384 $(tststatic-ENV).
25385
be09e8c9
KK
253862013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25387
25388 [BZ #15655]
25389 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25390
85c2e611
AZ
253912013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25392
25393 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25394 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25395 accepts -fno-tree-loop-distribute-patterns.
25396 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25397 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25398 recursive call.
25399 * string/memset.c (memset): Likewise.
25400 * string/test-memmove.c (simple_memmove): Disable loop transformation
25401 to library calls.
25402 * string/test-memset.c (simple_memset): Likewise.
25403 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25404 * benchtests/bench-memset.c (simple_memset): Likewise.
25405 * configure: Regenerated.
25406
c91e0825
JM
254072013-06-20 Joseph Myers <joseph@codesourcery.com>
25408
b8c792af
JM
25409 * math/test-misc.c (main): Ignore fesetround failure when failures
25410 of subsequent rounding tests would be ignored.
25411
c91e0825
JM
25412 [BZ #15654]
25413 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25414 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25415 * math/fegetenv.c (__fegetenv): Return 0.
25416 * math/fegetexcept.c (fegetexcept): Return 0.
25417 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25418 FE_TONEAREST.
25419 * math/feholdexcpt.c (feholdexcept): Return 0.
25420 * math/fesetenv.c (__fesetenv): Return 0.
25421 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25422 argument FE_TONEAREST.
25423 * math/feupdateenv.c (__feupdateenv): Return 0.
25424 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25425
bfcacbde
RM
254262013-06-18 Roland McGrath <roland@hack.frob.com>
25427
25428 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25429 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25430 ($(objpfx)rtld-%.os rules): Use them.
25431
e55a9b25
AZ
254322013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25433
25434 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25435 fields.
25436
346d65b3
RM
254372013-06-17 Roland McGrath <roland@hack.frob.com>
25438
12086fb4
RM
25439 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25440 length of target pattern, then descending length of dependency pattern.
25441 * configure.in (AWK): Require gawk 3.1.2 or newer.
25442 * manual/install.texi (Tools for Compilation): Say that we do.
25443 * configure: Regenerated.
25444
346d65b3
RM
25445 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25446 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25447 * scripts/sysd-rules.awk: ... this new script.
25448 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25449 than a glob-style pattern.
25450
1a846317
JM
254512013-06-17 Joseph Myers <joseph@codesourcery.com>
25452
25453 * math/test-misc.c (main): Do not treat incorrectly rounded
25454 conversions as failure unless ROUNDING_TESTS passes.
25455
8fc75e6f
JM
254562013-06-15 Joseph Myers <joseph@codesourcery.com>
25457
3711a167
JM
25458 [BZ #15631]
25459 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25460 restore exception state around main square root computation, then
25461 check for inexactness explicitly.
25462
8fc75e6f
JM
25463 * math/libm-test.inc (fma_test_data): Add another test.
25464
61dd6208
SP
254652013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25466
adf23d2c
SP
25467 * manual/threads.texi (Non-POSIX Extensions): New document
25468 node. Document pthread_getattr_default_np and
25469 pthread_setattr_default_np.
25470
61dd6208
SP
25471 * Versions.def (libpthread): Add GLIBC_2.18.
25472 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25474 Likewise.
25475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25476 Likewise.
25477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25478 Likewise.
25479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25480 Likewise.
25481 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25482 Likewise.
25483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25484 Likewise.
25485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25486 Likewise.
25487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25488 Likewise.
25489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25490 Likewise.
25491
d086fc7b
LD
254922013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25493
25494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25495 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25496
747ef469
SP
254972013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25498 H.J. Lu <hjl.tools@gmail.com>
25499
25500 [BZ #15627]
25501 * sysdeps/x86_64/rtld-memset.c: Remove file.
25502 * sysdeps/x86_64/rtld-memset.S: New file.
25503
1b2feed2
JM
255042013-06-14 Joseph Myers <joseph@codesourcery.com>
25505
25506 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25507 (test_in_one_mode): Take arguments for whether the rounding mode
25508 is supported for each floating-point type.
25509 (do_test): Pass new arguments to test_in_one_mode using
25510 ROUNDING_TESTS.
25511
a58ad3f8
RM
255122013-06-13 Roland McGrath <roland@hack.frob.com>
25513
25514 * posix/tst-waitid.c (do_test): Distinguish different instances of
25515 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25516 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25517 before entering the kernel for waitpid.
25518
c204ab28
SP
255192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25520
25521 * NEWS: Fix note on clock function precision. Text by Roland
25522 McGrath.
25523
f4a29fba
RM
255242013-06-13 Roland McGrath <roland@hack.frob.com>
25525
25526 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25527 it into place only when and if the sanity check passes.
25528
1f24b9ad
JM
255292013-06-13 Joseph Myers <joseph@codesourcery.com>
25530
25531 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25532 output for whether conversion result is exact. Take argument
25533 indicating whether type is IBM long double.
25534 (round_for_all): Change need_exact field to ibm_ld.
25535 * stdlib/tst-strtod-round.c (struct exactness): New type.
25536 (struct test): Change bool ld_ok field to struct exactness exact.
25537 (TEST): Update all definitions for change to field.
25538 (tests): Regenerate array contents.
25539 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25540 field value. Check for IBM long double here.
25541 (do_test): Update calls to test_in_one_mode.
25542
58206c68
SP
255432013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25544
25545 [BZ #12515]
25546 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25547 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25548
2d6f4c5b 255492013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25550
25551 [BZ #15605]
25552 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25553 generated by the compiler on loop optimizations.
25554 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25555 general definitions.
25556
94f2c076
JM
255572013-06-12 Joseph Myers <joseph@codesourcery.com>
25558
25559 * math/bug-nextafter.c: Include <math-tests.h>.
25560 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25561 the relevant type.
25562 * math/bug-nexttoward.c: Include <math-tests.h>.
25563 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25564 the relevant type.
25565 * math/test-misc.c: Include <math-tests.h>.
25566 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25567 the relevant type.
25568
e0e50a0a
AJ
255692013-06-12 Andreas Jaeger <aj@suse.de>
25570
25571 * po/ia.po: Update Interlingua translation from translation
25572 project.
25573
25061094
SP
255742013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25575
25576 * include/fenv.h: Include stdbool.h.
25577 (struct rm_ctx): New structure.
25578 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25579 Define macro.
25580 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25581 (SET_RESTORE_ROUNDF): Likewise.
25582 (SET_RESTORE_ROUNDL): Likewise.
25583 (SET_RESTORE_ROUND_NOEX): Likewise.
25584 (SET_RESTORE_ROUND_NOEXF): Likewise.
25585 (SET_RESTORE_ROUND_NOEXL): Likewise.
25586 (SET_RESTORE_ROUND_53BIT): Likewise.
25587 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25588 (libc_feresetround_noexf_ctx): Likewise.
25589 (libc_feresetround_noexl_ctx): Likewise.
25590 (libc_feholdsetround_53bit_ctx): Likewise.
25591 (libc_feresetround_53bit_ctx): Likewise.
25592 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25593 (libc_feholdexcept_setround_sse_ctx): New function.
25594 (libc_fesetenv_sse_ctx): Likewise.
25595 (libc_feupdateenv_sse_ctx): Likewise.
25596 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25597 (libc_feholdexcept_setround_387_ctx): Likewise.
25598 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25599 (libc_feholdsetround_387_prec_ctx): Likewise.
25600 (libc_feholdsetround_387_ctx): Likewise.
25601 (libc_feholdsetround_387_53bit_ctx): Likewise.
25602 (libc_feholdsetround_sse_ctx): Likewise.
25603 (libc_feresetround_sse_ctx): Likewise.
25604 (libc_feresetround_387_ctx): Likewise.
25605 (libc_feupdateenv_387_ctx): Likewise.
25606 (libc_feholdexcept_setroundf_ctx): Define macro.
25607 (libc_fesetenvf_ctx): Likewise.
25608 (libc_feupdateenvf_ctx): Likewise.
25609 (libc_feholdsetroundf_ctx): Likewise.
25610 (libc_feresetroundf_ctx): Likewise.
25611 (libc_feholdexcept_setround_ctx): Likewise.
25612 (libc_fesetenv_ctx): Likewise.
25613 (libc_feupdateenv_ctx): Likewise.
25614 (libc_feholdsetround_ctx): Likewise.
25615 (libc_feresetround_ctx): Likewise.
25616 (libc_feholdexcept_setroundl_ctx): Likewise.
25617 (libc_feupdateenvl_ctx): Likewise.
25618 (libc_feholdsetroundl_ctx): Likewise.
25619 (libc_feresetroundl_ctx): Likewise.
25620 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25621 (libc_feresetround_53bit_ctx): Likewise.
25622
59b30555
SP
256232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25624
25625 * locale/iso-639.def: Convert to UTF-8.
25626
f1d73d30
JM
256272013-06-11 Joseph Myers <joseph@codesourcery.com>
25628
25629 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25630 (EXCEPTION_TESTS_double): Likewise.
25631 (EXCEPTION_TESTS_long_double): Likewise.
25632 (EXCEPTION_TESTS): Likewise.
25633 * math/libm-test.inc (test_exceptions): Only test exceptions if
25634 EXCEPTION_TESTS (FLOAT).
25635
94aca5e7
SP
256362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25637
25638 * benchtests/Makefile (string-bench): Add strcpy_chk and
25639 stpcpy_chk.
25640 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25641 * benchtests/bench-stpcpy_chk.c: New file.
25642 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25643 * benchtests/bench-strcpy_chk.c: New file.
25644 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25645 code.
25646 (do_test): Likewise.
25647
fac0c5f2
RA
256482013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25649
25650 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25651 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25652 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25653 with tabs where appropriate.
25654 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25655 dl-procinfo.h.
25656 [PPC_PLATFORM_PPC440]: Likewise.
25657 [PPC_PLATFORM_PPC464]: Likewise.
25658 [PPC_PLATFORM_PPC476]: Likewise.
25659 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25660 ppc464, and ppc476 platform strings merging from ports/
25661 dl-procinfo.h.
25662
f22bc486
AS
256632013-06-11 Andreas Schwab <schwab@suse.de>
25664
25665 [BZ #14991]
25666 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25667 (from_ucs4_idx): Regenerate.
25668 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25669 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25670 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25671 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25672 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25673 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25674 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25675 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25676 from FROM_LOOP and TO_LOOP specific macros.
25677 (BODY): Handle combining characters.
25678 * iconvdata/BIG5HKSCS.irreversible: Update.
25679 * iconvdata/BIG5HKSCS.precomposed: New file.
25680 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25681 characters.
25682 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25683
c1f75dc3
SP
256842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25685
4eacded2
SP
25686 * include/sys/time.h: Fix indentation and add copyright header.
25687
fec799f8
SP
25688 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25689 (do_test): Likewise.
25690 * string/test-memchr.c (do_one_test): Likewise.
25691 (do_test): Likewise.
25692 * string/test-memcmp.c (do_one_test): Likewise.
25693 (do_test): Likewise.
25694 * string/test-memcpy.c (do_one_test): Likewise.
25695 (do_test): Likewise.
25696 * string/test-memmem.c (do_one_test): Likewise.
25697 (do_test): Likewise.
25698 (do_random_tests): Likewise.
25699 * string/test-memmove.c (do_one_test): Likewise.
25700 (do_test): Likewise.
25701 * string/test-memset.c (do_one_test): Likewise.
25702 (do_test): Likewise.
25703 * string/test-rawmemchr.c (do_one_test): Likewise.
25704 (do_test): Likewise.
25705 * string/test-strcasecmp.c (do_one_test): Likewise.
25706 (do_test): Likewise.
25707 * string/test-strcasestr.c (do_one_test): Likewise.
25708 (do_test): Likewise.
25709 * string/test-strcat.c (do_one_test): Likewise.
25710 (do_test): Likewise.
25711 * string/test-strchr.c (do_one_test): Likewise.
25712 (do_test): Likewise.
25713 * string/test-strcmp.c (do_one_test): Likewise.
25714 (do_test): Likewise.
25715 * string/test-strcpy.c (do_one_test): Likewise.
25716 (do_test): Likewise.
25717 * string/test-string.h: Likewise.
25718 (test_init): Likewise.
25719 * string/test-strlen.c (do_one_test): Likewise.
25720 (do_test): Likewise.
25721 * string/test-strncasecmp.c (do_one_test): Likewise.
25722 (do_test): Likewise.
25723 * string/test-strncat.c (do_one_test): Likewise.
25724 (do_test): Likewise.
25725 * string/test-strncmp.c (do_one_test): Likewise.
25726 (do_test_limit): Likewise.
25727 (do_test): Likewise.
25728 * string/test-strncpy.c (do_one_test): Likewise.
25729 (do_test): Likewise.
25730 * string/test-strnlen.c (do_one_test): Likewise.
25731 (do_test): Likewise.
25732 * string/test-strpbrk.c (do_one_test): Likewise.
25733 (do_test): Likewise.
25734 * string/test-strrchr.c (do_one_test): Likewise.
25735 (do_test): Likewise.
25736 * string/test-strspn.c (do_one_test): Likewise.
25737 (do_test): Likewise.
25738 * string/test-strstr.c (do_one_test): Likewise.
25739 (do_test): Likewise.
25740
97020474
SP
25741 * benchtests/Makefile (string-bench): Add string benchmarks.
25742 * benchtests/bench-bcopy-ifunc.c: New file.
25743 * benchtests/bench-bcopy.c: New file.
25744 * benchtests/bench-bzero-ifunc.c: New file.
25745 * benchtests/bench-bzero.c: New file.
25746 * benchtests/bench-memccpy-ifunc.c: New file.
25747 * benchtests/bench-memccpy.c: New file.
25748 * benchtests/bench-memchr-ifunc.c: New file.
25749 * benchtests/bench-memchr.c: New file.
25750 * benchtests/bench-memcmp-ifunc.c: New file.
25751 * benchtests/bench-memcmp.c: New file.
25752 * benchtests/bench-memmem-ifunc.c: New file.
25753 * benchtests/bench-memmem.c: New file.
25754 * benchtests/bench-memmove-ifunc.c: New file.
25755 * benchtests/bench-memmove.c: New file.
25756 * benchtests/bench-mempcpy-ifunc.c: New file.
25757 * benchtests/bench-mempcpy.c: New file.
25758 * benchtests/bench-memset-ifunc.c: New file.
25759 * benchtests/bench-memset.c: New file.
25760 * benchtests/bench-rawmemchr-ifunc.c: New file.
25761 * benchtests/bench-rawmemchr.c: New file.
25762 * benchtests/bench-stpcpy-ifunc.c: New file.
25763 * benchtests/bench-stpcpy.c: New file.
25764 * benchtests/bench-stpncpy-ifunc.c: New file.
25765 * benchtests/bench-stpncpy.c: New file.
25766 * benchtests/bench-strcasecmp-ifunc.c: New file.
25767 * benchtests/bench-strcasecmp.c: New file.
25768 * benchtests/bench-strcasestr-ifunc.c: New file.
25769 * benchtests/bench-strcasestr.c: New file.
25770 * benchtests/bench-strcat-ifunc.c: New file.
25771 * benchtests/bench-strcat.c: New file.
25772 * benchtests/bench-strchr-ifunc.c: New file.
25773 * benchtests/bench-strchr.c: New file.
25774 * benchtests/bench-strchrnul-ifunc.c: New file.
25775 * benchtests/bench-strchrnul.c: New file.
25776 * benchtests/bench-strcmp-ifunc.c: New file.
25777 * benchtests/bench-strcmp.c: New file.
25778 * benchtests/bench-strcpy-ifunc.c: New file.
25779 * benchtests/bench-strcpy.c: New file.
25780 * benchtests/bench-strcspn-ifunc.c: New file.
25781 * benchtests/bench-strcspn.c: New file.
25782 * benchtests/bench-strlen-ifunc.c: New file.
25783 * benchtests/bench-strlen.c: New file.
25784 * benchtests/bench-strncasecmp-ifunc.c: New file.
25785 * benchtests/bench-strncasecmp.c: New file.
25786 * benchtests/bench-strncat-ifunc.c: New file.
25787 * benchtests/bench-strncat.c: New file.
25788 * benchtests/bench-strncmp-ifunc.c: New file.
25789 * benchtests/bench-strncmp.c: New file.
25790 * benchtests/bench-strncpy-ifunc.c: New file.
25791 * benchtests/bench-strncpy.c: New file.
25792 * benchtests/bench-strnlen-ifunc.c: New file.
25793 * benchtests/bench-strnlen.c: New file.
25794 * benchtests/bench-strpbrk-ifunc.c: New file.
25795 * benchtests/bench-strpbrk.c: New file.
25796 * benchtests/bench-strrchr-ifunc.c: New file.
25797 * benchtests/bench-strrchr.c: New file.
25798 * benchtests/bench-strspn-ifunc.c: New file.
25799 * benchtests/bench-strspn.c: New file.
25800 * benchtests/bench-strstr-ifunc.c: New file.
25801 * benchtests/bench-strstr.c: New file.
25802
c1f75dc3
SP
25803 * benchtests/Makefile: Disable parallel execution of targets.
25804 (string-bench): Add memcpy.
25805 (benchset): New variable to store a list of benchmark sets.
25806 (bench-func): Renamed from bench.
25807 (bench-set): New target.
25808 (bench): Depend on bench-func and bench-set.
25809 * benchtests/README: Add section on benchmark sets.
25810 * benchtests/bench-memcpy-ifunc.c: New file.
25811 * benchtests/bench-memcpy.c: New file.
25812 * benchtests/bench-string.h: New file.
25813
50fd745b
AS
258142013-06-11 Andreas Schwab <schwab@suse.de>
25815
25816 [BZ #15577]
25817 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25818 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25819 values in the triple.
25820 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25821 terminator in the group key.
25822
3ee7e9fe
AJ
258232013-06-11 Andreas Jaeger <aj@suse.de>
25824
25825 * po/zh_TW.po: Update Chinese (traditional) translation from
25826 translation project.
25827
89fb6835
SP
258282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25829
25830 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25831 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25832 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25834 (clock_getcpuclockid): Likewise.
25835 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25836 Add weak_alias and libc_hidden_def.
25837 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25838 * rt/clock_gettime.c (clock_gettime): Rename to
25839 __clock_gettime. Add weak_alias and libc_hidden_def.
25840 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25841 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25842 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25843 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25844 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25845 Likewise.
25846 * rt/clock_settime.c (clock_settime): Rename to
25847 __clock_settime. Add weak_alias and libc_hidden_def.
25848 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25849
0efa6f8b
JM
258502013-06-10 Joseph Myers <joseph@codesourcery.com>
25851
b8c61b4b
JM
25852 * mach/err_boot.sub: Remove trailing whitespace.
25853 * mach/err_ipc.sub: Likewise.
25854 * mach/err_mach.sub: Likewise.
25855
0efa6f8b
JM
25856 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25857 (ROUNDING_TESTS_double): Likewise.
25858 (ROUNDING_TESTS_long_double): Likewise.
25859 (ROUNDING_TESTS): Likewise.
25860 * math/libm-test.inc: Include <math-tests.h>.
25861 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25862 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25863 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25864 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25865
50b818bf
SP
258662013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25867
25868 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25869 of assigning.
25870
60d2f8f3
JM
258712013-06-08 Joseph Myers <joseph@codesourcery.com>
25872
4902d2c3
JM
25873 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25874 otherwise empty TRANS lines.
25875 * sysdeps/gnu/errlist.c: Regenerated.
25876
60d2f8f3
JM
25877 * catgets/gencat.c (error_print): Use (void) in function
25878 definition.
25879 * crypt/crypt_util.c (__init_des): Likewise.
25880 * crypt/speeds.c (Stop): Likewise.
25881 (main): Likewise.
25882 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25883 * inet/ruserpass.c (token): Likewise.
25884 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25885 * intl/localealias.c (extend_alias_table): Likewise.
25886 * intl/plural-exp.c (init_germanic_plural): Likewise.
25887 * libio/fcloseall.c (__fcloseall): Likewise.
25888 * libio/genops.c (_IO_flush_all): Likewise.
25889 (_IO_flush_all_linebuffered): Likewise.
25890 (_IO_cleanup): Likewise.
25891 (_IO_iter_begin): Likewise.
25892 (_IO_iter_end): Likewise.
25893 (_IO_list_lock): Likewise.
25894 (_IO_list_unlock): Likewise.
25895 (_IO_list_resetlock): Likewise.
25896 * libio/getchar.c (getchar): Likewise.
25897 * libio/getchar_u.c (getchar_unlocked): Likewise.
25898 * libio/getwchar.c (getwchar): Likewise.
25899 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25900 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25901 * login/getpt.c (__getpt): Likewise.
25902 * login/tst-utmp.c (main): Likewise.
25903 * malloc/hooks.c (__malloc_check_init): Likewise.
25904 * malloc/malloc.c (__malloc_stats): Likewise.
25905 * malloc/mtrace.c (tr_break): Likewise.
25906 (mtrace): Likewise.
25907 (muntrace): Likewise.
25908 * misc/fstab.c (endfsent): Likewise.
25909 * misc/getclktck.c (__getclktck): Likewise.
25910 * misc/getdtsz.c (__getdtablesize): Likewise.
25911 * misc/gethostid.c (gethostid): Likewise.
25912 * misc/getpagesize.c (__getpagesize): Likewise.
25913 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25914 (__get_nprocs): Likewise.
25915 (__get_phys_pages): Likewise.
25916 (__get_avphys_pages): Likewise.
25917 * misc/getttyent.c (getttyent): Likewise.
25918 (setttyent): Likewise.
25919 (endttyent): Likewise.
25920 * misc/getusershell.c (getusershell): Likewise.
25921 (endusershell): Likewise.
25922 (setusershell): Likewise.
25923 (initshells): Likewise.
25924 * misc/hsearch.c (__hdestroy): Likewise.
25925 * misc/sync.c (sync): Likewise.
25926 * misc/syslog.c (closelog_internal): Likewise.
25927 (closelog): Likewise.
25928 * misc/ttyslot.c (ttyslot): Likewise.
25929 * misc/vhangup.c (vhangup): Likewise.
25930 * posix/fork.c (__fork): Likewise.
25931 * posix/getegid.c (__getegid): Likewise.
25932 * posix/geteuid.c (__geteuid): Likewise.
25933 * posix/getgid.c (__getgid): Likewise.
25934 * posix/getpid.c (__getpid): Likewise.
25935 * posix/getppid.c (__getppid): Likewise.
25936 * posix/getuid.c (__getuid): Likewise.
25937 * posix/pause.c (pause): Likewise.
25938 * posix/setpgrp.c (setpgrp): Likewise.
25939 * posix/setsid.c (__setsid): Likewise.
25940 * posix/test-vfork.c (noop): Likewise.
25941 * resolv/gethnamaddr.c (_endhtent): Likewise.
25942 (_gethtent): Likewise.
25943 (ht_endhostent): Likewise.
25944 (gethostent): Likewise.
25945 (dns_service): Likewise.
25946 * stdlib/drand48.c (drand48): Likewise.
25947 * stdlib/lrand48.c (lrand48): Likewise.
25948 * stdlib/mrand48.c (mrand48): Likewise.
25949 * stdlib/rand.c (rand): Likewise.
25950 * stdlib/random.c (__random): Likewise.
25951 * stdlib/setenv.c (clearenv): Likewise.
25952 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25953 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25954 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25955 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25956 (__get_nprocs): Likewise.
25957 (__get_phys_pages): Likewise.
25958 (__get_avphys_pages): Likewise.
25959 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25960 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25961 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25962 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25963 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25964 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25965 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25966 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25967 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25968 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25969 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25970 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25971 * sysdeps/posix/clock.c (clock): Likewise.
25972 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25973 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25974 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25975 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25976 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25978 (__get_nprocs_conf): Likewise.
25979 (__get_phys_pages): Likewise.
25980 (__get_avphys_pages): Likewise.
25981 * time/clock.c (clock): Likewise.
25982 * time/tzset.c (__tzname_max): Likewise.
25983
2e09a79a
JM
259842013-06-07 Joseph Myers <joseph@codesourcery.com>
25985
25986 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25987 (__bswap_32): Do not use "register".
25988 * crypt/crypt.c (_ufc_doit_r): Likewise.
25989 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25990 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25991 * gmon/gmon.c (__monstartup): Likewise.
25992 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25993 * hurd/hurdmalloc.c (more_memory): Likewise.
25994 (malloc): Likewise.
25995 (free): Likewise.
25996 (realloc): Likewise.
25997 (malloc_fork_prepare): Likewise.
25998 (malloc_fork_parent): Likewise.
25999 (malloc_fork_child): Likewise.
26000 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26001 (_svcauth_des): Likewise.
26002 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26003 * inet/inet_net.c (inet_network): Likewise.
26004 * inet/inet_netof.c (inet_netof): Likewise.
26005 * inet/rcmd.c (__validuser2_sa): Likewise.
26006 * io/fts.c (fts_open): Likewise.
26007 (fts_load): Likewise.
26008 (fts_close): Likewise.
26009 (fts_read): Likewise.
26010 (fts_children): Likewise.
26011 (fts_build): Likewise.
26012 (fts_stat): Likewise.
26013 (fts_sort): Likewise.
26014 (fts_alloc): Likewise.
26015 (fts_lfree): Likewise.
26016 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26017 (_IO_file_xsgetn): Likewise.
26018 (_IO_file_xsgetn_mmap): Likewise.
26019 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26020 (_IO_cookie_write): Likewise.
26021 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26022 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26023 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26024 * malloc/obstack.c (_obstack_begin): Likewise.
26025 (_obstack_begin_1): Likewise.
26026 (_obstack_newchunk): Likewise.
26027 (_obstack_allocated_p): Likewise.
26028 (obstack_free): Likewise.
26029 (_obstack_memory_used): Likewise.
26030 * misc/getttyent.c (getttynam): Likewise.
26031 (getttyent): Likewise.
26032 (skip): Likewise.
26033 (value): Likewise.
26034 * misc/getusershell.c (initshells): Likewise.
26035 * misc/syslog.c (__vsyslog_chk): Likewise.
26036 * misc/ttyslot.c (ttyslot): Likewise.
26037 * nis/nis_hash.c (__nis_hash): Likewise.
26038 * posix/fnmatch_loop.c (FCT): Likewise.
26039 * posix/getconf.c (print_all): Likewise.
26040 (main): Likewise.
26041 * posix/getopt.c (exchange): Likewise.
26042 * posix/glob.c (globfree): Likewise.
26043 (prefix_array): Likewise.
26044 (__glob_pattern_type): Likewise.
26045 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26046 (NS_GET32): Likewise.
26047 (NS_PUT16): Likewise.
26048 (NS_PUT32): Likewise.
26049 * resolv/gethnamaddr.c (getanswer): Likewise.
26050 (gethostbyname2): Likewise.
26051 (gethostbyaddr): Likewise.
26052 (_gethtent): Likewise.
26053 (_gethtbyname2): Likewise.
26054 (_gethtbyaddr): Likewise.
26055 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26056 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26057 * resolv/res_init.c (__res_vinit): Likewise.
26058 (net_mask): Likewise.
26059 * resolv/res_mkquery.c (outchar): Likewise.
26060 (PRINT): Likewise.
26061 * stdio-common/printf_fp.c (outchar): Likewise.
26062 (PRINT): Likewise.
26063 * stdio-common/printf_fphex.c (outchar): Likewise.
26064 (PRINT): Likewise.
26065 * stdio-common/printf_size.c (outchar): Likewise.
26066 (PRINT): Likewise.
26067 * stdio-common/test_rdwr.c (main): Likewise.
26068 * stdio-common/tfformat.c (matches): Likewise.
26069 * stdio-common/vfprintf.c (outchar): Likewise.
26070 (printf_unknown): Likewise.
26071 (buffered_vfprintf): Likewise.
26072 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26073 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26074 (ReadFile): Likewise.
26075 * stdlib/qsort.c (SWAP): Likewise.
26076 (_quicksort): Likewise.
26077 * stdlib/setenv.c (__add_to_environ): Likewise.
26078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26079 * stdlib/strtol_l.c (__strtol_l): Likewise.
26080 * stdlib/tst-strtod.c (main): Likewise.
26081 * stdlib/tst-strtol.c (main): Likewise.
26082 * stdlib/tst-strtoll.c (main): Likewise.
26083 * string/bits/string2.h (__strcmp_cc): Likewise.
26084 (__strcmp_cg): Likewise.
26085 (__strcspn_c1): Likewise.
26086 (__strcspn_c2): Likewise.
26087 (__strcspn_c3): Likewise.
26088 (__strspn_c1): Likewise.
26089 (__strspn_c2): Likewise.
26090 (__strspn_c3): Likewise.
26091 (__strsep_1c): Likewise.
26092 (__strsep_2c): Likewise.
26093 (__strsep_3c): Likewise.
26094 * string/memccpy.c (__memccpy): Likewise.
26095 * string/stpcpy.c (__stpcpy): Likewise.
26096 * string/strcmp.c (strcmp): Likewise.
26097 * string/strrchr.c (strrchr): Likewise.
26098 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26099 Likewise.
26100 * sysdeps/mach/hurd/getcwd.c
26101 (_hurd_canonicalize_directory_name_internal): Likewise.
26102 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26103 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26104 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26105 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26106 Likewise, in both definitions.
26107 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26108 definitions.
26109 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26110 64] (__bswap_64): Likewise.
26111 * time/test_time.c (main): Likewise.
26112 * time/tzfile.c (__tzfile_read): Likewise.
26113 (__tzfile_compute): Likewise.
26114 * time/tzset.c (__tzset_parse_tz): Likewise.
26115 (tzset_internal): Likewise.
26116 (compute_change): Likewise.
26117 * wcsmbs/wcscat.c (__wcscat): Likewise.
26118 * wcsmbs/wcschr.c (wcschr): Likewise.
26119 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26120 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26121 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26122 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26123 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26124 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26125 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26126 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26127 * wcsmbs/wmemset.c (wmemset): Likewise.
26128
9e54314b
JM
261292013-06-06 Joseph Myers <joseph@codesourcery.com>
26130
26131 * scripts/config.guess: Update to version 2013-05-16.
26132 * scripts/config.sub: Update to version 2013-04-24.
26133 * scripts/install-sh: Update to version 2011-11-20.07.
26134 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26135 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26136
350635a5
OB
261372013-06-06 Ondřej Bílka <neleai@seznam.cz>
26138
26139 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26140 * elf/sln.c: Likewise.
26141 * hurd/hurd/ioctl.h: Likewise.
26142 * hurd/hurdmalloc.c: Likewise.
26143 * hurd/xattr.c: Likewise.
26144 * include/shlib-compat.h: Likewise.
26145 * inet/ruserpass.c: Likewise.
26146 * libio/iofgets_u.c: Likewise.
26147 * libio/iofgetws_u.c: Likewise.
26148 * locale/programs/ld-identification.c: Likewise.
26149 * locale/programs/ld-time.c: Likewise.
26150 * mach/msg-destroy.c: Likewise.
26151 * nss/nss_files/files-netgrp.c: Likewise.
26152 * resolv/res_data.c: Likewise.
26153 * soft-fp/op-1.h: Likewise.
26154 * soft-fp/op-2.h: Likewise.
26155 * soft-fp/op-4.h: Likewise.
26156 * soft-fp/op-common.h: Likewise.
26157 * stdio-common/printf_fphex.c: Likewise.
26158 * stdlib/strtod_l.c: Likewise.
26159 * sunrpc/rpc/clnt.h: Likewise.
26160 * sysdeps/generic/framestate.c: Likewise.
26161 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26162 * sysdeps/i386/bsd-setjmp.S: Likewise.
26163 * sysdeps/i386/__longjmp.S: Likewise.
26164 * sysdeps/i386/setjmp.S: Likewise.
26165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26167 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26183 * sysdeps/ieee754/support.c: Likewise.
26184 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26185 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26186 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26187 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26188 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26189 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26190 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26191 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26192 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26193 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26194 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26195 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26196 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26197 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26198 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26199 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26200 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26202
44a988af
OB
262032013-06-05 Ondřej Bílka <neleai@seznam.cz>
26204
25506f09 26205 * posix/transbug.c: Remove executable mode.
44a988af 26206
9c84384c
JM
262072013-06-05 Joseph Myers <joseph@codesourcery.com>
26208
26209 * crypt/speeds.c: Remove trailing whitespace.
26210 * dlfcn/default.c: Likewise.
26211 * elf/ifuncdep2.c: Likewise.
26212 * elf/ifuncmain1.c: Likewise.
26213 * elf/ifuncmain1vis.c: Likewise.
26214 * elf/testobj.h: Likewise.
26215 * elf/tst-stackguard1.c: Likewise.
26216 * gmon/sys/gmon.h: Likewise.
26217 * hurd/hurdmsg.c: Likewise.
26218 * hurd/new-fd.c: Likewise.
26219 * hurd/ports-get.c: Likewise.
26220 * iconvdata/ibm1008_420.c: Likewise.
26221 * inet/tst-getni1.c: Likewise.
26222 * inet/tst-getni2.c: Likewise.
26223 * libio/ioungetc.c: Likewise.
26224 * libio/wfiledoalloc.c: Likewise.
26225 * manual/libm-err-tab.pl: Likewise.
26226 * math/w_dremf.c: Likewise.
26227 * misc/ftruncate.c: Likewise.
26228 * posix/bug-glob2.c: Likewise.
26229 * posix/tst-pcre.c: Likewise.
26230 * posix/wait4.c: Likewise.
26231 * resolv/README: Likewise.
26232 * resolv/res_debug.h: Likewise.
26233 * resolv/tst-inet_ntop.c: Likewise.
26234 * setjmp/bug269-setjmp.c: Likewise.
26235 * soft-fp/extended.h: Likewise.
26236 * soft-fp/op-1.h: Likewise.
26237 * soft-fp/op-2.h: Likewise.
26238 * soft-fp/op-4.h: Likewise.
26239 * soft-fp/op-8.h: Likewise.
26240 * soft-fp/testit.c: Likewise.
26241 * stdio-common/bug16.c: Likewise.
26242 * stdlib/random.c: Likewise.
26243 * sunrpc/rpcsvc/rquota.x: Likewise.
26244 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26245 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26246 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26247 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26248 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26251 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26253 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26254 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26273 * sysdeps/ieee754/s_lib_version.c: Likewise.
26274 * sysdeps/mach/hurd/check_fds.c: Likewise.
26275 * sysdeps/mach/hurd/getsockname.c: Likewise.
26276 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26277 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26278 * sysdeps/powerpc/bits/link.h: Likewise.
26279 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26280 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26281 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26282 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26283 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26284 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26285 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26286 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26287 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26288 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26290 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26291 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26292 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26293 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26294 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26295 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26300 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26302 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26303 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26305 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26306 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26307 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26308 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26312 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26313 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26314 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26315 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26316 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26317 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26318 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26319 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26320 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26321 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26322 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26323 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26324 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26325 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26326 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26331 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26332 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26333 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26334 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26335 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26337 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26340 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26341 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26342 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26343 * sysdeps/powerpc/sysdep.h: Likewise.
26344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26345 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26346 * sysdeps/sh/dl-trampoline.S: Likewise.
26347 * sysdeps/sh/memset.S: Likewise.
26348 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26349 * sysdeps/sh/strlen.S: Likewise.
26350 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26351 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26352 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26353 * sysdeps/sparc/sparc32/rem.S: Likewise.
26354 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26355 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26356 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26357 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26358 * sysdeps/sparc/sparc32/urem.S: Likewise.
26359 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26361 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26362 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26363 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26364 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26365 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26366 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26367 * sysdeps/unix/bsd/times.c: Likewise.
26368 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26369 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26373 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26374 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26375 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26377 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26378 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26379 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26380 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26381 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26382 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26383 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26384 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26385 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26386 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26387 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26388 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26389 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26390 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26391 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26392 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26393 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26394 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26396 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26397 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26398 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26399 * sysdeps/x86_64/strcspn.S: Likewise.
26400
869378a5
RA
264012013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26402
26403 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26404 generated file. Regenerate properly from gen-translit.pl.
26405 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26406 locale/C-translit.h.
26407
840e2943
AS
264082013-06-05 Andreas Schwab <schwab@suse.de>
26409
26410 [BZ #15100]
26411 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26412 week as 6 instead of -1.
26413 * time/tst-strptime.c (day_tests): Add test case.
26414
4c60cb0c
SP
264152013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26416
26417 * sysdeps/generic/math_private.h
26418 (libc_feholdexcept_setround_53bit): Replace with
26419 libc_feholdsetround_53bit.
26420 (libc_feupdateenv_53bit): Replace with
26421 libc_feresetround_53bit.
26422 (SET_RESTORE_ROUND_53BIT): Adjust.
26423
d180203e
SP
264242013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26425
96df079a
SP
26426 * string/test-strchrnul.c: Add copyright header.
26427
d180203e
SP
26428 * posix/tst-getaddrinfo4.c: Increase test timeout.
26429
8b0ccb2d
CD
264302013-06-03 Carlos O'Donell <carlos@redhat.com>
26431
26432 [BZ #15536]
26433 * math/libm-test.inc (MAX_EXP): Remove
26434 (MIN_EXP): Define.
26435 (ulp): Use MIN_EXP - MANT_DIG.
26436 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26437
3b3c4d40
CD
264382013-05-31 Carlos O'Donell <carlos@redhat.com>
26439
26440 * po/be.po: Revert last change.
26441 * po/zh_CN.po: Likewise.
26442 * po/header.pot: Likewise.
26443
fab7ce3f
JM
264442013-05-31 Joseph Myers <joseph@codesourcery.com>
26445
26446 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26447 link-libc-deps to empty as target-specific variable.
26448 * Makerules (link-libc-args): New variable.
26449 (libc-for-link): Likewise.
26450 (link-libc-deps): Likewise.
26451 (lib%.so): Depend on $(link-libc-deps). Link with
26452 $(link-libc-args).
26453 (build-module): Link with $(link-libc-args).
26454 (build-module-asneeded): Likewise.
26455 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26456 list of objects.
26457 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26458 target-specific variable.
26459 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26460 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26461 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26462 libc.
26463 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26464 libc and ld.so.
26465 ($(objpfx)libpcprofile.so): Likewise.
26466 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26467 libc_nonshared.a.
26468 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26469 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26471 $(link-libc-deps).
26472 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26473 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26474 * login/Makefile ($(objpfx)libutil.so): Likewise.
26475 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26476 * math/Makefile ($(objpfx)libm.so): Likewise.
26477 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26478 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26479 variable instead of depending directly on libc.
26480 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26481 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26482 $(link-libc-deps).
26483 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26484 libc.
26485 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26486 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26487 ($(objpfx)libanl.so): Likewise.
26488 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26489 ld.so.
26490 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26491 $(link-libc-deps).
26492 * sysdeps/i386/fpu/Makefile: Remove file.
26493 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26494 ($(objpfx)libm.so): Remove dependency on ld.so.
26495
eca5920c
PF
264962013-05-30 Patsy Franklin <pfrankli@redhat.com>
26497
26498 [BZ # 15553]
26499 * nis/yp_xdr.c (XDRMAXNAME): Define.
26500 (XDRMAXRECORD): Define.
26501 (xdr_domainname): Use XDRMAXNAME.
26502 (xdr_mapname): Likewise.
26503 (xdr_peername): Likewise.
26504 (xdr_keydat): Use XDRMAXRECORD.
26505 (xdr_valdat): Likewise.
26506
265072013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26508
26509 [BZ #14256]
26510 * manual/errno.texi (ESTALE): Update to account for more than
26511 just NFS file systems.
26512 * sysdeps/gnu/errlist.c: Regenerated.
26513
b9375348
SP
265142013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26515
26516 [BZ #15465]
26517 * elf/Makefile (tests): Add tst-null-argv.
26518 (modules-names): Add tst-null-argv-lib.
26519 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26520 (tst-null-argv-ENV): Set environment for tst-null-argv.
26521 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26522 (RTLD_PROGNAME): New macro.
26523 * elf/tst-null-argv.c: New test case.
26524 * elf/tst-null-argv-lib.c: Library for test case.
26525 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26526 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26527 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26528 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26529 * elf/dl-init.c (call_init): Likewise.
26530 (_dl_init): Likewise.
26531 * elf/dl-load.c (print_search_path): Likewise.
26532 (_dl_map_object): Likewise.
26533 * elf/dl-lookup.c (do_lookup_x): Likewise.
26534 (add_dependency): Likewise.
26535 (_dl_lookup_symbol_x): Likewise.
26536 (_dl_debug_bindings): Likewise.
26537 * elf/dl-open.c (_dl_show_scope): Likewise.
26538 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26539 * elf/dl-version.c (match_symbol): Likewise.
26540 (_dl_check_map_versions): Likewise.
26541 * elf/rtld.c (dl_main): Likewise.
26542 (print_unresolved): Use RTLD_PROGNAME.
26543 (print_missing_version): Likewise.
26544 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26545 (elf_machine_rela): Likewise.
26546 * sysdeps/powerpc/powerpc32/dl-machine.c
26547 (__process_machine_rela): Likewise.
26548 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26549 Likewise.
26550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26551 Likewise.
26552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26553 Likewise.
26554 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26556 Likewise.
26557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26558 Likewise.
26559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26560
8a9f20c8
CD
265612013-05-28 Carlos O'Donell <carlos@redhat.com>
26562
26563 * po/be.po: Add descriptive title.
26564 * po/zh_CN.po: Likewise.
26565 * po/header.pot: Likewise.
26566
0e60d68e
MF
265672013-05-28 Mike Frysinger <vapier@gentoo.org>
26568
26569 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26570 error message.
26571 (enlarge_archive): Likewise.
26572
56b672e9
BN
265732013-05-28 Ben North <ben@redfrontdoor.org>
26574
26575 * manual/arith.texi (frexp): It is the magnitude of the return
26576 value which lies in [0.5, 1), not the return value itself.
26577
5e056687
AZ
265782013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26579
26580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26581
2b66ef5d
TS
265822013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26583
528c2405
TS
26584 * stdio-common/bug26.c (main): Correct fscanf template.
26585
07b4c13d
TS
26586 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26587 declare _dl_skip_args.
26588
ec9dd97c
TS
26589 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26590 Don't declare.
26591
2b66ef5d
TS
26592 * manual/platform.texi: Add missing @end deftypefun.
26593
4f8dfe27
JM
265942013-05-24 Joseph Myers <joseph@codesourcery.com>
26595
0323d086
JM
26596 [BZ #15529]
26597 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26598 bit of mantissa of 2^16382.
26599 * math/libm-test.inc (hypot_test_data): Add more tests.
26600
dd4259b9
JM
26601 * math/libm-test.inc: Add drem and pow10 to list of tested
26602 functions.
26603 (pow10_test): New function.
26604 (drem_test): Likewise.
26605 (drem_test_tonearest): Likewise.
26606 (drem_test_towardzero): Likewise.
26607 (drem_test_downward): Likewise.
26608 (drem_test_upward): Likewise.
26609 (main): Call the new functions.
26610
4f8dfe27
JM
26611 * math/libm-test.inc (finite_test_data): Remove.
26612 (finite_test): Run tests from isfinite_test_data.
26613 (gamma_test_data): Remove.
26614 (gamma_test): Run tests from lgamma_test_data.
26615 * sysdeps/i386/fpu/libm-test-ulps: Update.
26616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26617
d116b7c4
AZ
266182013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26619
26620 * manual/platform.texi: Add PowerPC PPR function set documentation.
26621 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26622 implementation.
26623
e96e3767
CD
266242013-05-24 Carlos O'Donell <carlos@redhat.com>
26625
26626 * math/libm-test.inc (MAX_EXP): Define.
26627 (ULPDIFF): Define.
26628 (ulp): New function.
26629 (check_float_internal): Use ULPDIFF.
26630 (cpow_test): Disable failing test.
26631 (check_ulp): Test ulp() implemetnation.
26632 (main): Call check_ulp before starting tests.
26633
b679a606
JM
266342013-05-24 Joseph Myers <joseph@codesourcery.com>
26635
e8bdba36
JM
26636 * math/gen-libm-test.pl (generate_testfile): Do not handle
26637 START_DATA and END_DATA.
26638 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26639 END_DATA.
26640 (acos_tonearest_test_data): Likewise.
26641 (acos_towardzero_test_data): Likewise.
26642 (acos_downward_test_data): Likewise.
26643 (acos_upward_test_data): Likewise.
26644 (acosh_test_data): Likewise.
26645 (asin_test_data): Likewise.
26646 (asin_tonearest_test_data): Likewise.
26647 (asin_towardzero_test_data): Likewise.
26648 (asin_downward_test_data): Likewise.
26649 (asin_upward_test_data): Likewise.
26650 (asinh_test_data): Likewise.
26651 (atan_test_data): Likewise.
26652 (atanh_test_data): Likewise.
26653 (atan2_test_data): Likewise.
26654 (cabs_test_data): Likewise.
26655 (cacos_test_data): Likewise.
26656 (cacosh_test_data): Likewise.
26657 (carg_test_data): Likewise.
26658 (casin_test_data): Likewise.
26659 (casinh_test_data): Likewise.
26660 (catan_test_data): Likewise.
26661 (catanh_test_data): Likewise.
26662 (cbrt_test_data): Likewise.
26663 (ccos_test_data): Likewise.
26664 (ccosh_test_data): Likewise.
26665 (ceil_test_data): Likewise.
26666 (cexp_test_data): Likewise.
26667 (cimag_test_data): Likewise.
26668 (clog_test_data): Likewise.
26669 (clog10_test_data): Likewise.
26670 (conj_test_data): Likewise.
26671 (copysign_test_data): Likewise.
26672 (cos_test_data): Likewise.
26673 (cos_tonearest_test_data): Likewise.
26674 (cos_towardzero_test_data): Likewise.
26675 (cos_downward_test_data): Likewise.
26676 (cos_upward_test_data): Likewise.
26677 (cosh_test_data): Likewise.
26678 (cosh_tonearest_test_data): Likewise.
26679 (cosh_towardzero_test_data): Likewise.
26680 (cosh_downward_test_data): Likewise.
26681 (cosh_upward_test_data): Likewise.
26682 (cpow_test_data): Likewise.
26683 (cproj_test_data): Likewise.
26684 (creal_test_data): Likewise.
26685 (csin_test_data): Likewise.
26686 (csinh_test_data): Likewise.
26687 (csqrt_test_data): Likewise.
26688 (ctan_test_data): Likewise.
26689 (ctan_tonearest_test_data): Likewise.
26690 (ctan_towardzero_test_data): Likewise.
26691 (ctan_downward_test_data): Likewise.
26692 (ctan_upward_test_data): Likewise.
26693 (ctanh_test_data): Likewise.
26694 (ctanh_tonearest_test_data): Likewise.
26695 (ctanh_towardzero_test_data): Likewise.
26696 (ctanh_downward_test_data): Likewise.
26697 (ctanh_upward_test_data): Likewise.
26698 (erf_test_data): Likewise.
26699 (erfc_test_data): Likewise.
26700 (exp_test_data): Likewise.
26701 (exp_tonearest_test_data): Likewise.
26702 (exp_towardzero_test_data): Likewise.
26703 (exp_downward_test_data): Likewise.
26704 (exp_upward_test_data): Likewise.
26705 (exp10_test_data): Likewise.
26706 (exp2_test_data): Likewise.
26707 (expm1_test_data): Likewise.
26708 (fabs_test_data): Likewise.
26709 (fdim_test_data): Likewise.
26710 (finite_test_data): Likewise.
26711 (floor_test_data): Likewise.
26712 (fma_test_data): Likewise.
26713 (fma_towardzero_test_data): Likewise.
26714 (fma_downward_test_data): Likewise.
26715 (fma_upward_test_data): Likewise.
26716 (fmax_test_data): Likewise.
26717 (fmin_test_data): Likewise.
26718 (fmod_test_data): Likewise.
26719 (fpclassify_test_data): Likewise.
26720 (frexp_test_data): Likewise.
26721 (gamma_test_data): Likewise.
26722 (hypot_test_data): Likewise.
26723 (ilogb_test_data): Likewise.
26724 (isfinite_test_data): Likewise.
26725 (isgreater_test_data): Likewise.
26726 (isgreaterequal_test_data): Likewise.
26727 (isinf_test_data): Likewise.
26728 (isless_test_data): Likewise.
26729 (islessequal_test_data): Likewise.
26730 (islessgreater_test_data): Likewise.
26731 (isnan_test_data): Likewise.
26732 (isnormal_test_data): Likewise.
26733 (issignaling_test_data): Likewise.
26734 (isunordered_test_data): Likewise.
26735 (j0_test_data): Likewise.
26736 (j1_test_data): Likewise.
26737 (jn_test_data): Likewise.
26738 (ldexp_test_data): Likewise.
26739 (lgamma_test_data): Likewise.
26740 (lrint_test_data): Likewise.
26741 (lrint_tonearest_test_data): Likewise.
26742 (lrint_towardzero_test_data): Likewise.
26743 (lrint_downward_test_data): Likewise.
26744 (lrint_upward_test_data): Likewise.
26745 (llrint_test_data): Likewise.
26746 (llrint_tonearest_test_data): Likewise.
26747 (llrint_towardzero_test_data): Likewise.
26748 (llrint_downward_test_data): Likewise.
26749 (llrint_upward_test_data): Likewise.
26750 (log_test_data): Likewise.
26751 (log10_test_data): Likewise.
26752 (log1p_test_data): Likewise.
26753 (log2_test_data): Likewise.
26754 (logb_test_data): Likewise.
26755 (logb_downward_test_data): Likewise.
26756 (lround_test_data): Likewise.
26757 (llround_test_data): Likewise.
26758 (modf_test_data): Likewise.
26759 (nearbyint_test_data): Likewise.
26760 (nextafter_test_data): Likewise.
26761 (nexttoward_test_data): Likewise.
26762 (pow_test_data): Likewise.
26763 (pow_tonearest_test_data): Likewise.
26764 (pow_towardzero_test_data): Likewise.
26765 (pow_downward_test_data): Likewise.
26766 (pow_upward_test_data): Likewise.
26767 (remainder_test_data): Likewise.
26768 (remainder_tonearest_test_data): Likewise.
26769 (remainder_towardzero_test_data): Likewise.
26770 (remainder_downward_test_data): Likewise.
26771 (remainder_upward_test_data): Likewise.
26772 (remquo_test_data): Likewise.
26773 (rint_test_data): Likewise.
26774 (rint_tonearest_test_data): Likewise.
26775 (rint_towardzero_test_data): Likewise.
26776 (rint_downward_test_data): Likewise.
26777 (rint_upward_test_data): Likewise.
26778 (round_test_data): Likewise.
26779 (scalb_test_data): Likewise.
26780 (scalbn_test_data): Likewise.
26781 (scalbln_test_data): Likewise.
26782 (signbit_test_data): Likewise.
26783 (sin_test_data): Likewise.
26784 (sin_tonearest_test_data): Likewise.
26785 (sin_towardzero_test_data): Likewise.
26786 (sin_downward_test_data): Likewise.
26787 (sin_upward_test_data): Likewise.
26788 (sincos_test_data): Likewise.
26789 (sinh_test_data): Likewise.
26790 (sinh_tonearest_test_data): Likewise.
26791 (sinh_towardzero_test_data): Likewise.
26792 (sinh_downward_test_data): Likewise.
26793 (sinh_upward_test_data): Likewise.
26794 (sqrt_test_data): Likewise.
26795 (tan_test_data): Likewise.
26796 (tan_tonearest_test_data): Likewise.
26797 (tan_towardzero_test_data): Likewise.
26798 (tan_downward_test_data): Likewise.
26799 (tan_upward_test_data): Likewise.
26800 (tanh_test_data): Likewise.
26801 (tgamma_test_data): Likewise.
26802 (trunc_test_data): Likewise.
26803 (y0_test_data): Likewise.
26804 (y1_test_data): Likewise.
26805 (yn_test_data): Likewise.
26806 (significand_test_data): Likewise.
26807
b679a606
JM
26808 * math/gen-libm-test.pl (@functions): Remove variable.
26809 (generate_testfile): Don't handle START and END lines.
26810 * math/libm-test.inc (START): New macro.
26811 (END): Likewise.
26812 (END_COMPLEX): Likewise.
26813 (acos_test): Use END macro without arguments.
26814 (acos_test_tonearest): Likewise.
26815 (acos_test_towardzero): Likewise.
26816 (acos_test_downward): Likewise.
26817 (acos_test_upward): Likewise.
26818 (acosh_test): Likewise.
26819 (asin_test): Likewise.
26820 (asin_test_tonearest): Likewise.
26821 (asin_test_towardzero): Likewise.
26822 (asin_test_downward): Likewise.
26823 (asin_test_upward): Likewise.
26824 (asinh_test): Likewise.
26825 (atan_test): Likewise.
26826 (atanh_test): Likewise.
26827 (atan2_test): Likewise.
26828 (cabs_test): Likewise.
26829 (cacos_test): Use END_COMPLEX macro without arguments.
26830 (cacosh_test): Likewise.
26831 (carg_test): Use END macro without arguments.
26832 (casin_test): Use END_COMPLEX macro without arguments.
26833 (casinh_test): Likewise.
26834 (catan_test): Likewise.
26835 (catanh_test): Likewise.
26836 (cbrt_test): Use END macro without arguments.
26837 (ccos_test): Use END_COMPLEX macro without arguments.
26838 (ccosh_test): Likewise.
26839 (ceil_test): Use END macro without arguments.
26840 (cexp_test): Use END_COMPLEX macro without arguments.
26841 (cimag_test): Use END macro without arguments.
26842 (clog_test): Use END_COMPLEX macro without arguments.
26843 (clog10_test): Likewise.
26844 (conj_test): Likewise.
26845 (copysign_test): Use END macro without arguments.
26846 (cos_test): Likewise.
26847 (cos_test_tonearest): Likewise.
26848 (cos_test_towardzero): Likewise.
26849 (cos_test_downward): Likewise.
26850 (cos_test_upward): Likewise.
26851 (cosh_test): Likewise.
26852 (cosh_test_tonearest): Likewise.
26853 (cosh_test_towardzero): Likewise.
26854 (cosh_test_downward): Likewise.
26855 (cosh_test_upward): Likewise.
26856 (cpow_test): Use END_COMPLEX macro without arguments.
26857 (cproj_test): Likewise.
26858 (creal_test): Use END macro without arguments.
26859 (csin_test): Use END_COMPLEX macro without arguments.
26860 (csinh_test): Likewise.
26861 (csqrt_test): Likewise.
26862 (ctan_test): Likewise.
26863 (ctan_test_tonearest): Likewise.
26864 (ctan_test_towardzero): Likewise.
26865 (ctan_test_downward): Likewise.
26866 (ctan_test_upward): Likewise.
26867 (ctanh_test): Likewise.
26868 (ctanh_test_tonearest): Likewise.
26869 (ctanh_test_towardzero): Likewise.
26870 (ctanh_test_downward): Likewise.
26871 (ctanh_test_upward): Likewise.
26872 (erf_test): Use END macro without arguments.
26873 (erfc_test): Likewise.
26874 (exp_test): Likewise.
26875 (exp_test_tonearest): Likewise.
26876 (exp_test_towardzero): Likewise.
26877 (exp_test_downward): Likewise.
26878 (exp_test_upward): Likewise.
26879 (exp10_test): Likewise.
26880 (exp2_test): Likewise.
26881 (expm1_test): Likewise.
26882 (fabs_test): Likewise.
26883 (fdim_test): Likewise.
26884 (finite_test): Likewise.
26885 (floor_test): Likewise.
26886 (fma_test): Likewise.
26887 (fma_test_towardzero): Likewise.
26888 (fma_test_downward): Likewise.
26889 (fma_test_upward): Likewise.
26890 (fmax_test): Likewise.
26891 (fmin_test): Likewise.
26892 (fmod_test): Likewise.
26893 (fpclassify_test): Likewise.
26894 (frexp_test): Likewise.
26895 (gamma_test): Likewise.
26896 (hypot_test): Likewise.
26897 (ilogb_test): Likewise.
26898 (isfinite_test): Likewise.
26899 (isgreater_test): Likewise.
26900 (isgreaterequal_test): Likewise.
26901 (isinf_test): Likewise.
26902 (isless_test): Likewise.
26903 (islessequal_test): Likewise.
26904 (islessgreater_test): Likewise.
26905 (isnan_test): Likewise.
26906 (isnormal_test): Likewise.
26907 (issignaling_test): Likewise.
26908 (isunordered_test): Likewise.
26909 (j0_test): Likewise.
26910 (j1_test): Likewise.
26911 (jn_test): Likewise.
26912 (ldexp_test): Likewise.
26913 (lgamma_test): Likewise.
26914 (lrint_test): Likewise.
26915 (lrint_test_tonearest): Likewise.
26916 (lrint_test_towardzero): Likewise.
26917 (lrint_test_downward): Likewise.
26918 (lrint_test_upward): Likewise.
26919 (llrint_test): Likewise.
26920 (llrint_test_tonearest): Likewise.
26921 (llrint_test_towardzero): Likewise.
26922 (llrint_test_downward): Likewise.
26923 (llrint_test_upward): Likewise.
26924 (log_test): Likewise.
26925 (log10_test): Likewise.
26926 (log1p_test): Likewise.
26927 (log2_test): Likewise.
26928 (logb_test): Likewise.
26929 (logb_test_downward): Likewise.
26930 (lround_test): Likewise.
26931 (llround_test): Likewise.
26932 (modf_test): Likewise.
26933 (nearbyint_test): Likewise.
26934 (nextafter_test): Likewise.
26935 (nexttoward_test): Likewise.
26936 (pow_test): Likewise.
26937 (pow_test_tonearest): Likewise.
26938 (pow_test_towardzero): Likewise.
26939 (pow_test_downward): Likewise.
26940 (pow_test_upward): Likewise.
26941 (remainder_test): Likewise.
26942 (remainder_test_tonearest): Likewise.
26943 (remainder_test_towardzero): Likewise.
26944 (remainder_test_downward): Likewise.
26945 (remainder_test_upward): Likewise.
26946 (remquo_test): Likewise.
26947 (rint_test): Likewise.
26948 (rint_test_tonearest): Likewise.
26949 (rint_test_towardzero): Likewise.
26950 (rint_test_downward): Likewise.
26951 (rint_test_upward): Likewise.
26952 (round_test): Likewise.
26953 (scalb_test): Likewise.
26954 (scalbn_test): Likewise.
26955 (scalbln_test): Likewise.
26956 (signbit_test): Likewise.
26957 (sin_test): Likewise.
26958 (sin_test_tonearest): Likewise.
26959 (sin_test_towardzero): Likewise.
26960 (sin_test_downward): Likewise.
26961 (sin_test_upward): Likewise.
26962 (sincos_test): Likewise.
26963 (sinh_test): Likewise.
26964 (sinh_test_tonearest): Likewise.
26965 (sinh_test_towardzero): Likewise.
26966 (sinh_test_downward): Likewise.
26967 (sinh_test_upward): Likewise.
26968 (sqrt_test): Likewise.
26969 (tan_test): Likewise.
26970 (tan_test_tonearest): Likewise.
26971 (tan_test_towardzero): Likewise.
26972 (tan_test_downward): Likewise.
26973 (tan_test_upward): Likewise.
26974 (tanh_test): Likewise.
26975 (tgamma_test): Likewise.
26976 (trunc_test): Likewise.
26977 (y0_test): Likewise.
26978 (y1_test): Likewise.
26979 (yn_test): Likewise.
26980 (significand_test): Likewise.
26981
bae143d2
OB
269822013-05-24 Ondřej Bílka <neleai@seznam.cz>
26983
26984 [BZ #15381]
26985 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26986
9323d39b
EM
269872013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26988
d4ea44a0 26989 [BZ #14894]
9323d39b
EM
26990 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26991 __ppc_mdoio and __ppc_mdoom.
26992 * manual/platform.texi: Document new functions __ppc_yield,
26993 __ppc_mdoio and __ppc_mdoom.
26994
13e23af7
CD
269952013-05-22 Carlos O'Donell <carlos@redhat.com>
26996
26997 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26998 (main): Mention "tls" pseudo-hwcap is legacy.
26999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27000
351fe550
JM
270012013-05-22 Joseph Myers <joseph@codesourcery.com>
27002
27003 * math/gen-libm-test.pl (parse_args): Output only string of
27004 arguments as text for test name, not full call or descriptions of
27005 tests for extra outputs.
27006 (generate_testfile): Do not pass function name to parse_args.
27007 Generate this_func variable from START.
27008 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27009 field to arg_str.
27010 (struct test_ff_f_data): Likewise.
27011 (test_ff_f_data_nexttoward): Likewise.
27012 (struct test_fi_f_data): Likewise.
27013 (struct test_fl_f_data): Likewise.
27014 (struct test_if_f_data): Likewise.
27015 (struct test_fff_f_data): Likewise.
27016 (struct test_c_f_data): Likewise.
27017 (struct test_f_f1_data): Likewise. Remove field extra_name.
27018 (struct test_fF_f1_data): Likewise.
27019 (struct test_ffI_f1_data): Likewise.
27020 (struct test_c_c_data): Rename test_name field to arg_str.
27021 (struct test_cc_c_data): Likewise.
27022 (struct test_f_i_data): Likewise.
27023 (struct test_ff_i_data): Likewise.
27024 (struct test_f_l_data): Likewise.
27025 (struct test_f_L_data): Likewise.
27026 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27027 and extra2_name.
27028 (COMMON_TEST_SETUP): New macro.
27029 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27030 (COMMON_TEST_CLEANUP): Likewise.
27031 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27032 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27033 macros.
27034 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27035 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27036 macros.
27037 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27038 (RUN_TEST_fff_f): Take argument string. Call new setup and
27039 cleanup macros.
27040 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27041 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27042 macros.
27043 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27044 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27045 macros.
27046 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27047 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27048 cleanup macros.
27049 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27050 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27051 cleanup macros.
27052 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27053 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27054 cleanup macros.
27055 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27056 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27057 macros.
27058 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27059 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27060 macros.
27061 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27062 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27063 macros.
27064 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27065 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27066 cleanup macros.
27067 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27068 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27069 cleanup macros.
27070 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27071 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27072 macros.
27073 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27074 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27075 cleanup macros.
27076 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27077 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27078 macros.
27079 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27080 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27081 macros.
27082 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27083 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27084 cleanup macros.
27085 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27086
85118d4d
EBM
270872013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27088
27089 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27090 to _sifields.sigfault.
27091 (si_addr_lsb): Define new macro.
27092 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27093 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27094 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27095
7a44c18f
CD
270962013-05-03 Carlos O'Donell <carlos at redhat.com>
27097
27098 [BZ #15441]
27099 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27100 returns -1.
27101 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27102 null return -1.
27103 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27104 loading the domain.
27105
b50a7181
JM
271062013-05-22 Joseph Myers <joseph@codesourcery.com>
27107
27108 * math/gen-libm-test.pl (parse_args): Do not include expected
27109 result in test name.
27110 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27114 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27116
051063c8
SP
271172013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27118
3ce9e010
SP
27119 * benchtests/Makefile: Sort function entries.
27120
051063c8
SP
27121 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27122 tanh, asinh, acosh, atanh.
27123 * benchtests/acos-inputs: New file.
27124 * benchtests/acosh-inputs: New file.
27125 * benchtests/asin-inputs: New file.
27126 * benchtests/asinh-inputs: New file.
27127 * benchtests/atanh-inputs: New file.
27128 * benchtests/cosh-inputs: New file.
27129 * benchtests/log-inputs: New file.
27130 * benchtests/sinh-inputs: New file.
27131 * benchtests/tanh-inputs: New file.
27132
47c22455
DL
271332013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27134
27135 [BZ #15339]
27136 * posix/tst-getaddrinfo4.c: New test.
27137 * posix/Makefile (tests): Add it.
27138
3d04f5db
SP
271392013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27140
27141 [BZ #15339]
27142 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27143 when no services were used.
27144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27145 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27146
d5dd6189
AS
271472013-05-21 Andreas Schwab <schwab@suse.de>
27148
27149 [BZ #15014]
27150 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27151 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27152 successful.
27153 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27154 redundant variable declarations and reallocation of buffer when
27155 parsing as IPv6 address. Always set NSS status when called from
27156 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27157 buffer too small. Correct computation of needed size.
27158 * nss/Makefile (tests): Add test-digits-dots.
27159 * nss/test-digits-dots.c: New test.
27160
fef94eab
SP
271612013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27162
27163 * benchtests/Makefile: Remove instructions for adding
27164 benchmark tests.
27165 * benchtests/README: New file to explain how to execute and
27166 enhance the benchmark tests.
27167
e39adf43
AS
271682013-05-21 Andreas Schwab <schwab@suse.de>
27169
27170 [BZ #15493]
27171 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27172 * setjmp/tst-sigsetjmp.c: New test.
27173
b2b671b6
OB
271742013-05-20 Ondřej Bílka <neleai@seznam.cz>
27175
27176 * sysdeps/x86_64/memset.S (memset): New implementation.
27177 (__bzero): Likewise.
27178 (__memset_tail): New function.
27179
2d48b41c
OB
271802013-05-20 Ondřej Bílka <neleai@seznam.cz>
27181
27182 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27183 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27184 __memcpy_sse2_unaligned ifunc selection.
27185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27186 Add memcpy-sse2-unaligned.S.
27187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27188 Add: __memcpy_sse2_unaligned.
27189
f16cc3eb
JM
271902013-05-19 Joseph Myers <joseph@codesourcery.com>
27191
3e694268
JM
27192 [BZ #15490]
27193 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27194 math_force_eval before restoring floating-point envrionment.
27195 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27197 Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27199 <math_private.h>.
27200 (__nearbyintl): Use math_force_eval before restoring
27201 floating-point environment.
27202 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27203
db62a907
JM
27204 * math/gen-libm-test.pl (special_functions): Remove.
27205 (parse_args): Don't handle TEST_extra. Handle functions with no
27206 return value.
27207 * math/libm-test.inc (struct test_sincos_data): Replace with
27208 struct test_fFF_11_data.
27209 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27210 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27211 (sincos_test_data): Change element type to struct
27212 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27213 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27214 RUN_TEST_LOOP_sincos.
27215 * math/README.libm-test: Don't mention special handling of
27216 individual functions.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27220 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27223
f16cc3eb
JM
27224 * math/gen-libm-test.pl (get_variable): Remove function.
27225 (parse_args): Don't show pointer parameters to call in test
27226 names. Use "extra output N" in test names for extra outputs
27227 rather than naming variables.
27228
3779b5b6
JM
272292013-05-18 Joseph Myers <joseph@codesourcery.com>
27230
2ee094ff
JM
27231 [BZ #15488]
27232 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27233 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27234 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27235 double tests.
27236 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27237 disable.
27238 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27239 check_long_double.
27240
3779b5b6
JM
27241 * math/gen-libm-test.pl (@tests): Remove variable.
27242 ($count): Likewise.
27243 (new_test): Remove function.
27244 (show_exceptions): New function.
27245 (special_functions): Use show_exceptions instead of new_test.
27246 (parse_args): Likewise.
27247 (generate_testfile): Pass only function name in generated call to
27248 print_max_error or print_complex_max_error.
27249 (get_ulps): Do not handle complex tests specially.
27250 (output_test): Rename to ...
27251 (get_all_ulps_for_test): ... this. Return a string rather than
27252 printing to a file. Require ulps to be present.
27253 (output_ulps): Generate arrays rather than #defines.
27254 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27255 (struct ulp_data): New type.
27256 (BUILD_COMPLEX_ULP): Remove macro.
27257 (compare_ulp_data): New function.
27258 (find_ulps): Likewise.
27259 (find_test_ulps): Likewise.
27260 (find_function_ulps): Likewise.
27261 (find_complex_function_ulps): Likewise.
27262 (print_max_error): Determine allowed ulps using
27263 find_function_ulps.
27264 (print_complex_max_error): Determine allowed ulps using
27265 find_complex_function_ulps.
27266 (check_float_internal): Determine max ulps using find_test_ulps.
27267 (check_float): Do not take max_ulp parameter. Update call to
27268 check_float_internal.
27269 (check_complex): Likewise.
27270 (check_int): Do not take max_ulp parameter.
27271 (check_long): Likewise.
27272 (check_bool): Likewise.
27273 (check_longlong): Likewise.
27274 (struct test_f_f_data): Remove max_ulp field.
27275 (struct test_ff_f_data): Likewise.
27276 (struct test_ff_f_data_nexttoward): Likewise.
27277 (struct test_fi_f_data): Likewise.
27278 (struct test_fl_f_data): Likewise.
27279 (struct test_if_f_data): Likewise.
27280 (struct test_fff_f_data): Likewise.
27281 (struct test_c_f_data): Likewise.
27282 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27283 (struct test_fF_f1_data): Likewise.
27284 (struct test_ffI_f1_data): Likewise.
27285 (struct test_c_c_data): Remove max_ulp field.
27286 (struct test_cc_c_data): Likewise.
27287 (struct test_f_i_data): Likewise.
27288 (struct test_ff_i_data): Likewise.
27289 (struct test_f_l_data): Likewise.
27290 (struct test_f_L_data): Likewise.
27291 (struct test_sincos_data): Likewise.
27292 (RUN_TEST_f_f): Do not handle ulps.
27293 (RUN_TEST_LOOP_f_f): Likewise.
27294 (RUN_TEST_2_f): Likewise.
27295 (RUN_TEST_LOOP_2_f): Likewise.
27296 (RUN_TEST_fff_f): Likewise.
27297 (RUN_TEST_LOOP_fff_f): Likewise.
27298 (RUN_TEST_c_f): Likewise.
27299 (RUN_TEST_LOOP_c_f): Likewise.
27300 (RUN_TEST_f_f1): Likewise.
27301 (RUN_TEST_LOOP_f_f1): Likewise.
27302 (RUN_TEST_fF_f1): Likewise.
27303 (RUN_TEST_LOOP_fF_f1): Likewise.
27304 (RUN_TEST_fI_f1): Likewise.
27305 (RUN_TEST_LOOP_fI_f1): Likewise.
27306 (RUN_TEST_ffI_f1): Likewise.
27307 (RUN_TEST_LOOP_ffI_f1): Likewise.
27308 (RUN_TEST_c_c): Likewise.
27309 (RUN_TEST_LOOP_c_c): Likewise.
27310 (RUN_TEST_cc_c): Likewise.
27311 (RUN_TEST_LOOP_cc_c): Likewise.
27312 (RUN_TEST_f_i): Likewise.
27313 (RUN_TEST_LOOP_f_i): Likewise.
27314 (RUN_TEST_f_i_tg): Likewise.
27315 (RUN_TEST_LOOP_f_i_tg): Likewise.
27316 (RUN_TEST_ff_i_tg): Likewise.
27317 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27318 (RUN_TEST_f_b): Likewise.
27319 (RUN_TEST_LOOP_f_b): Likewise.
27320 (RUN_TEST_f_b_tg): Likewise.
27321 (RUN_TEST_LOOP_f_b_tg): Likewise.
27322 (RUN_TEST_f_l): Likewise.
27323 (RUN_TEST_LOOP_f_l): Likewise.
27324 (RUN_TEST_f_L): Likewise.
27325 (RUN_TEST_LOOP_f_L): Likewise.
27326 (RUN_TEST_sincos): Likewise.
27327 (RUN_TEST_LOOP_sincos): Likewise.
27328
8269107f
JM
273292013-05-17 Joseph Myers <joseph@codesourcery.com>
27330
bb38759d
JM
27331 [BZ #15480]
27332 [BZ #15485]
27333 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27334 main case of finite arguments, set rounding mode to FE_TONEAREST
27335 and discard exceptions.
27336 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27337 exceptions.
27338 (remainder_tonearest_test_data): New variable.
27339 (remainder_test_tonearest): New function.
27340 (remainder_towardzero_test_data): New variable.
27341 (remainder_test_towardzero): New function.
27342 (remainder_downward_test_data): New variable.
27343 (remainder_test_downward): New function.
27344 (remainder_upward_test_data): New variable.
27345 (remainder_test_upward): New function.
27346 (main): Call the new test functions.
27347
a00bdcf0
JM
27348 * math/libm-test.inc (struct test_f_f1_data): Remove field
27349 extra_init.
27350 (struct test_fF_f1_data): Likewise.
27351 (struct test_ffI_f1_data): Likewise.
27352 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27353 based on value of EXTRA_EXPECTED.
27354 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27355 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27356 EXTRA_VAR based on value of EXTRA_EXPECTED.
27357 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27358 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27359 EXTRA_VAR based on value of EXTRA_EXPECTED.
27360 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27361 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27362 EXTRA_VAR based on value of EXTRA_EXPECTED.
27363 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27364 * math/gen-libm-test.pl (parse_args): Don't output initializers
27365 for extra output values.
27366
de407f79
JM
27367 * math/libm-test.inc (check_int): Expect result to be exactly
27368 equal to expected value and do not handle ulps.
27369 (check_long): Likewise.
27370 (check_longlong): Likewise.
27371
8269107f
JM
27372 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27373 exceptions.
27374 (cimag_test_data): Likewise.
27375 (conj_test_data): Likewise.
27376 (copysign_test_data): Likewise.
27377 (cproj_test_data): Likewise.
27378 (creal_test_data): Likewise.
27379 (fabs_test_data): Likewise.
27380 (fdim_test_data): Likewise.
27381 (finite_test_data): Likewise.
27382 (floor_test_data): Likewise.
27383 (fmax_test_data): Likewise.
27384 (fmin_test_data): Likewise.
27385 (fmod_test_data): Likewise.
27386 (fpclassify_test_data): Likewise.
27387 (frexp_test_data): Likewise.
27388 (ilogb_test_data): Likewise.
27389 (isfinite_test_data): Likewise.
27390 (isgreater_test_data): Likewise.
27391 (isgreaterequal_test_data): Likewise.
27392 (isinf_test_data): Likewise.
27393 (isless_test_data): Likewise.
27394 (islessequal_test_data): Likewise.
27395 (islessgreater_test_data): Likewise.
27396 (isnan_test_data): Likewise.
27397 (isnormal_test_data): Likewise.
27398 (issignaling_test_data): Likewise.
27399 (isunordered_test_data): Likewise.
27400 (ldexp_test_data): Likewise.
27401 (lrint_test_data): Likewise.
27402 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27403 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27404 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27405 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27406 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27407 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27408 test input.
27409 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27410 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27411 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27412 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27413 that test input.
27414 (lrint_downward_test_data): Test for "inexact" exceptions.
27415 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27416 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27417 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27418 test input.
27419 (lrint_upward_test_data): Test for "inexact" exceptions.
27420 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27421 test input.
27422 (llrint_test_data): Test for "inexact" exceptions.
27423 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27424 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27425 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27426 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27427 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27428 (llrint_downward_test_data): Test for "inexact" exceptions.
27429 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27430 (llrint_upward_test_data): Test for "inexact" exceptions.
27431 (logb_test_data): Likewise.
27432 (logb_downward_test_data): Likewise.
27433 (nextafter_test_data): Likewise.
27434 (nexttoward_test_data): Likewise.
27435 (remainder_test_data): Likewise.
27436 (remquo_test_data): Likewise.
27437 (scalbn_test_data): Likewise.
27438 (scalbln_test_data): Likewise.
27439 (signbit_test_data): Likewise.
27440 (sqrt_test_data): Likewise.
27441 (significand_test_data): Likewise.
27442
48a18de1
SP
274432013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27444
27445 [BZ #15424]
27446 * benchtests/bench-modf.c (struct args): Mark arg0 as
27447 volatile.
27448 * scripts/bench.pl: Mark members of struct args as volatile.
27449
13d3b41a
AZ
274502013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27451
68191c1d 27452 [BZ # 15497]
13d3b41a
AZ
27453 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27454 negative infinity on POWER6 or lower.
27455 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27456
2848b105
MR
274572013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27458
27459 [BZ #15442]
27460 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27461 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27462 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27463 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27464 (_FP_SETQNAN): New macro.
27465 (_FP_SETQNAN_SEMIRAW): Likewise.
27466 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27467 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27468 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27469 (FP_EXTEND): Use _FP_FRAC_SNANP.
27470 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27471 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27472 into account.
27473 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27474 New macro.
27475 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27476 Likewise.
27477
323e5cb7
JM
274782013-05-16 Joseph Myers <joseph@codesourcery.com>
27479
c58b274f
JM
27480 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27481 with DIVIDE_BY_ZERO_EXCEPTION.
27482 (gamma_test_data): Likewise.
27483 (lgamma_test_data): Likewise.
27484 (log_test_data): Likewise.
27485 (log10_test_data): Likewise.
27486 (log2_test_data): Likewise.
27487 (tgamma_test_data): Likewise.
27488
0ab34904
JM
27489 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27490 (acos_test_tonearest): Likewise.
27491 (acos_test_towardzero): Likewise.
27492 (acos_test_downward): Likewise.
27493 (acos_test_upward): Likewise.
27494 (acosh_test): Likewise.
27495 (asin_test): Likewise.
27496 (asin_test_tonearest): Likewise.
27497 (asin_test_towardzero): Likewise.
27498 (asin_test_downward): Likewise.
27499 (asin_test_upward): Likewise.
27500 (asinh_test): Likewise.
27501 (atan_test): Likewise.
27502 (atanh_test): Likewise.
27503 (atan2_test): Likewise.
27504 (cabs_test): Likewise.
27505 (cacos_test): Likewise.
27506 (cacosh_test): Likewise.
27507 (casin_test): Likewise.
27508 (casinh_test): Likewise.
27509 (catan_test): Likewise.
27510 (catanh_test): Likewise.
27511 (cbrt_test): Likewise.
27512 (ccos_test): Likewise.
27513 (ccosh_test): Likewise.
27514 (cexp_test): Likewise.
27515 (clog_test): Likewise.
27516 (clog10_test): Likewise.
27517 (cos_test): Likewise.
27518 (cos_test_tonearest): Likewise.
27519 (cos_test_towardzero): Likewise.
27520 (cos_test_downward): Likewise.
27521 (cos_test_upward): Likewise.
27522 (cosh_test): Likewise.
27523 (cosh_test_tonearest): Likewise.
27524 (cosh_test_towardzero): Likewise.
27525 (cosh_test_downward): Likewise.
27526 (cosh_test_upward): Likewise.
27527 (cpow_test): Likewise.
27528 (csin_test): Likewise.
27529 (csinh_test): Likewise.
27530 (csqrt_test): Likewise.
27531 (ctan_test): Likewise.
27532 (ctan_test_tonearest): Likewise.
27533 (ctan_test_towardzero): Likewise.
27534 (ctan_test_downward): Likewise.
27535 (ctan_test_upward): Likewise.
27536 (ctanh_test): Likewise.
27537 (ctanh_test_tonearest): Likewise.
27538 (ctanh_test_towardzero): Likewise.
27539 (ctanh_test_downward): Likewise.
27540 (ctanh_test_upward): Likewise.
27541 (erf_test): Likewise.
27542 (erfc_test): Likewise.
27543 (exp_test): Likewise.
27544 (exp_test_tonearest): Likewise.
27545 (exp_test_towardzero): Likewise.
27546 (exp_test_downward): Likewise.
27547 (exp_test_upward): Likewise.
27548 (exp10_test): Likewise.
27549 (exp2_test): Likewise.
27550 (expm1_test): Likewise.
27551 (fmod_test): Likewise.
27552 (gamma_test): Likewise.
27553 (hypot_test): Likewise.
27554 (j0_test): Likewise.
27555 (j1_test): Likewise.
27556 (jn_test): Likewise.
27557 (lgamma_test): Likewise.
27558 (log_test): Likewise.
27559 (log10_test): Likewise.
27560 (log1p_test): Likewise.
27561 (log2_test): Likewise.
27562 (logb_test_downward): Likewise.
27563 (pow_test): Likewise.
27564 (pow_test_tonearest): Likewise.
27565 (pow_test_towardzero): Likewise.
27566 (pow_test_downward): Likewise.
27567 (pow_test_upward): Likewise.
27568 (remainder_test): Likewise.
27569 (remquo_test): Likewise.
27570 (sin_test): Likewise.
27571 (sin_test_tonearest): Likewise.
27572 (sin_test_towardzero): Likewise.
27573 (sin_test_downward): Likewise.
27574 (sin_test_upward): Likewise.
27575 (sincos_test): Likewise.
27576 (sinh_test): Likewise.
27577 (sinh_test_tonearest): Likewise.
27578 (sinh_test_towardzero): Likewise.
27579 (sinh_test_downward): Likewise.
27580 (sinh_test_upward): Likewise.
27581 (sqrt_test): Likewise.
27582 (tan_test): Likewise.
27583 (tan_test_tonearest): Likewise.
27584 (tan_test_towardzero): Likewise.
27585 (tan_test_downward): Likewise.
27586 (tan_test_upward): Likewise.
27587 (tanh_test): Likewise.
27588 (tgamma_test): Likewise.
27589 (y0_test): Likewise.
27590 (y1_test): Likewise.
27591 (yn_test): Likewise.
27592
323e5cb7
JM
27593 * math/gen-libm-test.pl (adjust_arg): Remove function.
27594 (special_function): Remove argument $in_func. Only handle
27595 generating output for tables of tests, not inside functions.
27596 (parse_args): Likewise.
27597 (generate_testfile): Remove variable $in_func. Update call to
27598 parse_args.
27599 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27600 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27601 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27602 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27603 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27604 (MAX_VALUE_INIT): Rename macro to max_value.
27605 (MIN_VALUE_INIT): Rename macro to min_value.
27606 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27607 (plus_zero): Remove variable.
27608 (minus_zero): Likewise.
27609 (plus_infty): Likewise.
27610 (minus_infty): Likewise.
27611 (qnan_value): Likewise.
27612 (max_value): Likewise.
27613 (min_value): Likewise.
27614 (min_subnorm_value): Likewise.
27615
e054f494
RA
276162013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27617
27618 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27619 uint64_t or uint32_t usage.
27620 * crypt/sha256-block.c: Likewise.
27621 * crypt/sha256-crypt.c: Likewise.
27622 * crypt/sha256.c: Likewise.
27623 * crypt/sha512-block.c: Likewise.
27624 * crypt/sha512-crypt.c: Likewise.
27625 * crypt/sha512.c: Likewise.
27626 * debug/backtrace-tst.c: Likewise.
27627 * debug/pcprofiledump.c: Likewise.
27628 * elf/cache.c: Likewise.
27629 * elf/dl-cache.c: Likewise.
27630 * elf/dl-misc.c: Likewise.
27631 * elf/dl-profile.c: Likewise.
27632 * elf/dl-support.c: Likewise.
27633 * elf/ldconfig.c: Likewise.
27634 * elf/sprof.c: Likewise.
27635 * iconv/dummy-repertoire.c: Likewise.
27636 * iconv/iconv_charmap.c: Likewise.
27637 * iconv/skeleton.c: Likewise.
27638 * iconvdata/8bit-generic.c: Likewise.
27639 * iconvdata/cp737.h: Likewise.
27640 * iconvdata/cp775.h: Likewise.
27641 * iconvdata/ibm1008.h: Likewise.
27642 * iconvdata/ibm1025.h: Likewise.
27643 * iconvdata/ibm1046.h: Likewise.
27644 * iconvdata/ibm1097.h: Likewise.
27645 * iconvdata/ibm1112.h: Likewise.
27646 * iconvdata/ibm1122.h: Likewise.
27647 * iconvdata/ibm1123.h: Likewise.
27648 * iconvdata/ibm1124.h: Likewise.
27649 * iconvdata/ibm1129.h: Likewise.
27650 * iconvdata/ibm1130.h: Likewise.
27651 * iconvdata/ibm1132.h: Likewise.
27652 * iconvdata/ibm1133.h: Likewise.
27653 * iconvdata/ibm1137.h: Likewise.
27654 * iconvdata/ibm1140.h: Likewise.
27655 * iconvdata/ibm1141.h: Likewise.
27656 * iconvdata/ibm1142.h: Likewise.
27657 * iconvdata/ibm1143.h: Likewise.
27658 * iconvdata/ibm1144.h: Likewise.
27659 * iconvdata/ibm1145.h: Likewise.
27660 * iconvdata/ibm1146.h: Likewise.
27661 * iconvdata/ibm1147.h: Likewise.
27662 * iconvdata/ibm1148.h: Likewise.
27663 * iconvdata/ibm1149.h: Likewise.
27664 * iconvdata/ibm1153.h: Likewise.
27665 * iconvdata/ibm1154.h: Likewise.
27666 * iconvdata/ibm1155.h: Likewise.
27667 * iconvdata/ibm1156.h: Likewise.
27668 * iconvdata/ibm1157.h: Likewise.
27669 * iconvdata/ibm1158.h: Likewise.
27670 * iconvdata/ibm1160.h: Likewise.
27671 * iconvdata/ibm1161.h: Likewise.
27672 * iconvdata/ibm1162.h: Likewise.
27673 * iconvdata/ibm1163.h: Likewise.
27674 * iconvdata/ibm1164.h: Likewise.
27675 * iconvdata/ibm1166.h: Likewise.
27676 * iconvdata/ibm1167.h: Likewise.
27677 * iconvdata/ibm12712.h: Likewise.
27678 * iconvdata/ibm1390.h: Likewise.
27679 * iconvdata/ibm1399.h: Likewise.
27680 * iconvdata/ibm16804.h: Likewise.
27681 * iconvdata/ibm4517.h: Likewise.
27682 * iconvdata/ibm4899.h: Likewise.
27683 * iconvdata/ibm4909.h: Likewise.
27684 * iconvdata/ibm4971.h: Likewise.
27685 * iconvdata/ibm5347.h: Likewise.
27686 * iconvdata/ibm803.h: Likewise.
27687 * iconvdata/ibm856.h: Likewise.
27688 * iconvdata/ibm901.h: Likewise.
27689 * iconvdata/ibm902.h: Likewise.
27690 * iconvdata/ibm9030.h: Likewise.
27691 * iconvdata/ibm9066.h: Likewise.
27692 * iconvdata/ibm921.h: Likewise.
27693 * iconvdata/ibm922.h: Likewise.
27694 * iconvdata/ibm9448.h: Likewise.
27695 * iconvdata/isiri-3342.h: Likewise.
27696 * iconvdata/jis0201.h: Likewise.
27697 * include/link.h: Likewise.
27698 * include/netdb.h: Likewise.
27699 * inet/check_native.c: Likewise.
27700 * inet/check_pf.c: Likewise.
27701 * inet/getipv4sourcefilter.c: Likewise.
27702 * inet/getnameinfo.c: Likewise.
27703 * inet/getsourcefilter.c: Likewise.
27704 * inet/htonl.c: Likewise.
27705 * inet/setipv4sourcefilter.c: Likewise.
27706 * inet/setsourcefilter.c: Likewise.
27707 * inet/test-inet6_opt.c: Likewise.
27708 * inet/tst-network.c: Likewise.
27709 * locale/C-collate.c: Likewise.
27710 * locale/C-ctype.c: Likewise.
27711 * locale/C-time.c: Likewise.
27712 * locale/C-translit.h: Likewise.
27713 * locale/loadarchive.c: Likewise.
27714 * locale/programs/3level.h: Likewise.
27715 * locale/programs/charmap.c: Likewise.
27716 * locale/programs/charmap.h: Likewise.
27717 * locale/programs/ld-address.c: Likewise.
27718 * locale/programs/ld-collate.c: Likewise.
27719 * locale/programs/ld-ctype.c: Likewise.
27720 * locale/programs/ld-identification.c: Likewise.
27721 * locale/programs/ld-measurement.c: Likewise.
27722 * locale/programs/ld-messages.c: Likewise.
27723 * locale/programs/ld-monetary.c: Likewise.
27724 * locale/programs/ld-name.c: Likewise.
27725 * locale/programs/ld-numeric.c: Likewise.
27726 * locale/programs/ld-paper.c: Likewise.
27727 * locale/programs/ld-telephone.c: Likewise.
27728 * locale/programs/ld-time.c: Likewise.
27729 * locale/programs/linereader.c: Likewise.
27730 * locale/programs/locale.c: Likewise.
27731 * locale/programs/locarchive.c: Likewise.
27732 * locale/programs/locfile.h: Likewise.
27733 * locale/programs/repertoire.c: Likewise.
27734 * locale/programs/simple-hash.c: Likewise.
27735 * locale/programs/simple-hash.h: Likewise.
27736 * malloc/memusage.c: Likewise.
27737 * malloc/memusagestat.c: Likewise.
27738 * nis/nis_defaults.c: Likewise.
27739 * nis/nis_hash.c: Likewise.
27740 * nis/nis_print.c: Likewise.
27741 * nis/nis_xdr.c: Likewise.
27742 * nscd/connections.c: Likewise.
27743 * nscd/hstcache.c: Likewise.
27744 * nscd/nscd_gethst_r.c: Likewise.
27745 * nscd/nscd_getserv_r.c: Likewise.
27746 * nscd/nscd_helper.c: Likewise.
27747 * nscd/servicescache.c: Likewise.
27748 * nss/makedb.c: Likewise.
27749 * nss/nss_db/db-XXX.c: Likewise.
27750 * nss/nss_db/db-initgroups.c: Likewise.
27751 * nss/nss_db/db-netgrp.c: Likewise.
27752 * nss/nss_files/files-network.c: Likewise.
27753 * nss/nss_files/files-parse.c: Likewise.
27754 * posix/bug-regex5.c: Likewise.
27755 * posix/fnmatch_loop.c: Likewise.
27756 * posix/regcomp.c: Likewise.
27757 * posix/regexec.c: Likewise.
27758 * posix/tst-rfc3484-2.c: Likewise.
27759 * posix/tst-rfc3484-3.c: Likewise.
27760 * posix/tst-rfc3484.c: Likewise.
27761 * resolv/nss_dns/dns-canon.c: Likewise.
27762 * resolv/nss_dns/dns-network.c: Likewise.
27763 * resolv/res_init.c: Likewise.
27764 * resolv/res_mkquery.c: Likewise.
27765 * resolv/tst-aton.c: Likewise.
27766 * stdlib/cxa_atexit.c: Likewise.
27767 * stdlib/cxa_finalize.c: Likewise.
27768 * stdlib/gen-fpioconst.c: Likewise.
27769 * stdlib/strtol_l.c: Likewise.
27770 * string/tst-endian.c: Likewise.
27771 * sunrpc/auth_des.c: Likewise.
27772 * sunrpc/clnt_udp.c: Likewise.
27773 * sunrpc/rtime.c: Likewise.
27774 * sunrpc/svcauth_des.c: Likewise.
27775 * sunrpc/xdr.c: Likewise.
27776 * sunrpc/xdr_intXX_t.c: Likewise.
27777 * sunrpc/xdr_rec.c: Likewise.
27778 * sysdeps/generic/ldconfig.h: Likewise.
27779 * sysdeps/generic/ldsodefs.h: Likewise.
27780 * sysdeps/generic/memusage.h: Likewise.
27781 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27791 * sysdeps/posix/getaddrinfo.c: Likewise.
27792 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27793 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27794 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27795 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27796 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27797 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27798 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27799 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27800 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27801 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27802 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27803 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27804 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27805 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27806 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27807 * sysdeps/x86_64/dl-tls.h: Likewise.
27808 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27809 * time/alt_digit.c: Likewise.
27810 * time/era.c: Likewise.
27811 * wcsmbs/tst-c16c32-1.c: Likewise.
27812
8c75f674
JM
278132013-05-16 Joseph Myers <joseph@codesourcery.com>
27814
27815 * math/libm-test.inc (struct test_sincos_data): New type.
27816 (RUN_TEST_LOOP_sincos): New macro.
27817 (sincos_test_data): New variable.
27818 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27819
e6e49e59
RH
278202013-05-16 Richard Henderson <rth@redhat.com>
27821
27822 * math/atest-exp2.c (LIMB64): New macro.
27823 (CONSTSZ): New macro.
27824 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27825 (hexdig): Move ...
27826 (print_mpn_fp): ... to function scope.
27827 (read_mpn_hex): Remove.
27828 (get_log2): Remove.
27829 (exp2_mpn): Use mp_log2.
27830 (main): Use mp_exp1.
27831
15c7c18d
JM
278322013-05-16 Joseph Myers <joseph@codesourcery.com>
27833
105a07df
JM
27834 * math/libm-test.inc: Remove comment about not testing "inexact"
27835 exceptions.
27836 (INEXACT_EXCEPTION): New macro.
27837 (NO_INEXACT_EXCEPTION): Likewise.
27838 (INVALID_EXCEPTION_OK): Update value.
27839 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27840 (OVERFLOW_EXCEPTION_OK): Likewise.
27841 (UNDERFLOW_EXCEPTION_OK): Likewise.
27842 (IGNORE_ZERO_INF_SIGN): Likewise.
27843 (ERRNO_UNCHANGED): Likewise.
27844 (ERRNO_EDOM): Likewise.
27845 (ERRNO_ERANGE): Likewise.
27846 (test_exceptions): Handle testing "inexact" exceptions.
27847 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27848 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27849 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27850 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27851 INEXACT_EXCEPTION.
27852 (rint_towardzero_test_data): Likewise.
27853 (rint_downward_test_data): Likewise.
27854 (rint_upward_test_data): Likewise.
27855
e9eee333
JM
27856 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27857 with OVERFLOW_EXCEPTION.
27858 (exp10_test_data): Likewise.
27859 (exp2_test_data): Likewise.
27860 (expm1_test_data): Likewise.
27861 (lgamma_test_data): Likewise.
27862 (pow_test_data): Likewise.
27863 (tgamma_test_data): Likewise.
27864 (yn_test_data): Remove duplicate test of overflow.
27865
1c38ff73
JM
27866 * math/libm-test.inc (struct test_cc_c_data): New type.
27867 (RUN_TEST_LOOP_cc_c): New macro.
27868 (cpow_test_data): New variable.
27869 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27870
15c7c18d
JM
27871 * math/libm-test.inc (struct test_f_L_data): New type.
27872 (RUN_TEST_LOOP_f_L): New macro.
27873 (llrint_test_data): New variable.
27874 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27875 (llrint_tonearest_test_data): New variable.
27876 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27877 (llrint_towardzero_test_data): New variable.
27878 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27879 (llrint_downward_test_data): New variable.
27880 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27881 (llrint_upward_test_data): New variable.
27882 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27883 (llround_test_data): New variable.
27884 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27885
f137ff13
PC
278862013-05-13 Peter Collingbourne <pcc@google.com>
27887
27888 * math/atest-exp2.c (get_log2): Remove const attribute.
27889
3608cb24
JM
278902013-05-15 Joseph Myers <joseph@codesourcery.com>
27891
27892 * math/libm-test.inc (struct test_f_l_data): New type.
27893 (RUN_TEST_LOOP_f_l): New macro.
27894 (lrint_test_data): New variable.
27895 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27896 (lrint_tonearest_test_data): New variable.
27897 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27898 (lrint_towardzero_test_data): New variable.
27899 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27900 (lrint_downward_test_data): New variable.
27901 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27902 (lrint_upward_test_data): New variable.
27903 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27904 (lround_test_data): New variable.
27905 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27906
39b1f617
PC
279072013-05-15 Peter Collingbourne <pcc@google.com>
27908
1deff3dc
PC
27909 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27910 (EXTRACT_WORDS64) Use where appropriate.
27911 (INSERT_WORDS64) Likewise.
27912
791f3ba0
PC
27913 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27914 constraints with x constraints.
27915 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27916
39b1f617
PC
27917 * malloc/obstack.c (_obstack_compat): Add initializer.
27918
12fba011
EM
279192013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27920
27921 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27922 si_trapno and add si_addr_lsb to _sifields.sigfault.
27923 (si_trapno): Remove macro.
27924 (si_addr_lsb): Define new macro.
27925 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27926
d369f531
JM
279272013-05-15 Joseph Myers <joseph@codesourcery.com>
27928
b861c6c4
JM
27929 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27930 instead of TEST_f_l.
27931 (llrint_test_tonearest): Likewise.
27932 (llrint_test_towardzero): Likewise.
27933 (llrint_test_downward): Likewise.
27934 (llrint_test_upward): Likewise.
27935 (llround_test): Likewise.
27936
7abeee12
JM
27937 * math/libm-test.inc (struct test_f_i_data): Add comment.
27938 (RUN_TEST_LOOP_f_b): New macro.
27939 (RUN_TEST_LOOP_f_b_tg): Likewise.
27940 (finite_test_data): New variable.
27941 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27942 (isfinite_test_data): New variable.
27943 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27944 (isinf_test_data): New variable.
27945 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27946 (isnan_test_data): New variable.
27947 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27948 (isnormal_test_data): New variable.
27949 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27950 (issignaling_test_data): New variable.
27951 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27952 (signbit_test_data): New variable.
27953 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27954
cbe8c4d3
JM
27955 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27956 with INVALID_EXCEPTION.
27957 (acosh_test_data): Likewise.
27958 (asin_test_data): Likewise.
27959 (atanh_test_data): Likewise.
27960 (fmod_test_data): Likewise.
27961 (log_test_data): Likewise.
27962 (log10_test_data): Likewise.
27963 (log2_test_data): Likewise.
27964 (pow_test_data): Likewise.
27965 (sqrt_test_data): Likewise.
27966 (y0_test_data): Likewise.
27967 (y1_test_data): Likewise.
27968 (yn_test_data): Likewise.
27969
5575c0e5
JM
27970 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27971 function contents.
27972
d369f531
JM
27973 * math/libm-test.inc (struct test_ff_i_data): New type.
27974 (RUN_TEST_LOOP_ff_i_tg): New macro.
27975 (isgreater_test_data): New variable.
27976 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27977 (isgreaterequal_test_data): New variable.
27978 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27979 (isless_test_data): New variable.
27980 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27981 (islessequal_test_data): New variable.
27982 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27983 (islessgreater_test_data): New variable.
27984 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27985 (isunordered_test_data): New variable.
27986 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27987
781fd748
DM
279882013-05-14 David S. Miller <davem@davemloft.net>
27989
27990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27991
87aa21df
JM
279922013-05-14 Joseph Myers <joseph@codesourcery.com>
27993
5e908270
JM
27994 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27995
f71172e5
JM
27996 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27997 extra_test to int.
27998 (struct test_f_i_data): Change type of max_ulp to int.
27999
8cfa635a
JM
28000 * math/libm-test.inc (test_ffI_f1_data): New type.
28001 (RUN_TEST_LOOP_ffI_f1): New macro.
28002 (remquo_test_data): New variable.
28003 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28004
2bcb36b2
JM
28005 * setjmp/tst-setjmp-fp.c: New file.
28006 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28007 (link-libm): New variable.
28008 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28009
acbd839a
JM
28010 * math/libm-test.inc (struct test_f_i_data): New type.
28011 (RUN_TEST_LOOP_f_i): New macro.
28012 (RUN_TEST_LOOP_f_i_tg): Likewise.
28013 (fpclassify_test_data): New variable.
28014 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28015 (ilogb_test_data): New variable.
28016 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28017
e414d745
JM
28018 * math/libm-test.inc (scalbln_test): Correct function name in END
28019 call.
28020
d9c2a0fd
JM
28021 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28022 (RUN_TEST_LOOP_fI_f1): New macro.
28023 (frexp_test_data): New variable.
28024 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28025
9dc9095d
JM
28026 * math/libm-test.inc (struct test_fF_f1_data): New type.
28027 (RUN_TEST_LOOP_fF_f1): New macro.
28028 (modf_test_data): New variable.
28029 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28030
87aa21df
JM
28031 * math/libm-test.inc (struct test_f_f1_data): New type.
28032 (RUN_TEST_LOOP_f_f1): New macro.
28033 (gamma_test_data): New variable.
28034 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28035 (lgamma_test_data): New variable.
28036 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28037
141af660
CD
280382013-05-13 Carlos O'Donell <carlos@redhat.com>
28039
28040 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28041 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28042 (main): Comment "tls" pseudo-hwcap.
28043
6d33265c
JM
280442013-05-13 Joseph Myers <joseph@codesourcery.com>
28045
68fc074c
JM
28046 * math/libm-test.inc (struct test_fl_f_data): New type.
28047 (RUN_TEST_LOOP_fl_f): New variable.
28048 (scalbln_test_data): New variable.
28049 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28050
243216e1
JM
28051 * math/libm-test.inc (struct test_fi_f_data): New type.
28052 (RUN_TEST_LOOP_fi_f): New macro.
28053 (ldexp_test_data): New variable.
28054 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28055 (scalbn_test_data): New variable.
28056 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28057
6a1992e2
JM
28058 * math/libm-test.inc (struct test_c_f_data): New type.
28059 (RUN_TEST_LOOP_c_f): New macro.
28060 (cabs_test_data): New variable.
28061 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28062 (carg_test_data): New variable.
28063 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28064 (cimag_test_data): New variable.
28065 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28066 (creal_test_data): New variable.
28067 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28068
0e400df5
JM
28069 * math/libm-test.inc (struct test_if_f_data): New type.
28070 (RUN_TEST_LOOP_if_f): New macro.
28071 (jn_test_data): New variable.
28072 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28073 (yn_test_data): New variable.
28074 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28075
6d33265c
JM
28076 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28077
f98ece5f
AZ
280782013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28079
28080 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28081 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28082
0f7d347b
SP
280832013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28084
43fe811b
SP
28085 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28086 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28087 (bench-deps): Add bench-timing.h.
28088 * benchtests-bench-skeleton.c: Include bench-timing.h.
28089 (main): Use TIMING_* macros instead of clock_gettime.
28090 * benchtests/bench-timing.h: New file.
28091
0f7d347b
SP
28092 [BZ #14582]
28093 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28094 Renamed from _LIB_VERSION.
28095 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28096
601a3a5f
JM
280972013-05-12 Joseph Myers <joseph@codesourcery.com>
28098
4f184d30
JM
28099 * math/libm-test.inc (struct test_fff_f_data): New type.
28100 (RUN_TEST_LOOP_fff_f): New macro.
28101 (fma_test_data): New variable.
28102 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28103 (fma_towardzero_test_data): New variable.
28104 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28105 (fma_downward_test_data): New variable.
28106 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28107 (fma_upward_test_data): New variable.
28108 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28109
08198877
JM
28110 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28111 (struct test_c_c_data): New type.
28112 (RUN_TEST_LOOP_c_c): New macro.
28113 (cacos_test_data): New variable.
28114 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28115 (cacosh_test_data): New variable.
28116 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28117 (casin_test_data): New variable.
28118 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28119 (casinh_test_data): New variable.
28120 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28121 (catan_test_data): New variable.
28122 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28123 (catanh_test_data): New variable.
28124 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28125 (ccos_test_data): New variable.
28126 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28127 (ccosh_test_data): New variable.
28128 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28129 (cexp_test_data): New variable.
28130 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28131 (clog_test_data): New variable.
28132 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28133 (clog10_test_data): New variable.
28134 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28135 (conj_test_data): New variable.
28136 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28137 (cproj_test_data): New variable.
28138 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28139 (csin_test_data): New variable.
28140 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28141 (csinh_test_data): New variable.
28142 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28143 (csqrt_test_data): New variable.
28144 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28145 (ctan_test_data): New variable.
28146 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28147 (ctan_tonearest_test_data): New variable.
28148 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28149 (ctan_towardzero_test_data): New variable.
28150 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28151 (ctan_downward_test_data): New variable.
28152 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28153 (ctan_upward_test_data): New variable.
28154 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28155 (ctanh_test_data): New variable.
28156 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28157 (ctanh_tonearest_test_data): New variable.
28158 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28159 (ctanh_towardzero_test_data): New variable.
28160 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28161 (ctanh_downward_test_data): New variable.
28162 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28163 (ctanh_upward_test_data): New variable.
28164 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28165 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28166 of BUILD_COMPLEX.
28167
601a3a5f
JM
28168 * math/libm-test.inc (struct test_ff_f_data): New type.
28169 (struct test_ff_f_data_nexttoward): Likewise.
28170 (RUN_TEST_LOOP_2_f): New macro.
28171 (RUN_TEST_LOOP_ff_f): Likewise.
28172 (atan2_test_data): New variable.
28173 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28174 (copysign_test_data): New variable.
28175 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28176 (fdim_test_data): New variable.
28177 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28178 (fmax_test_data): New variable.
28179 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28180 (fmin_test_data): New variable.
28181 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28182 (fmod_test_data): New variable.
28183 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28184 (hypot_test_data): New variable.
28185 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28186 (nextafter_test_data): New variable.
28187 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28188 (nexttoward_test_data): New variable.
28189 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28190 (pow_test_data): New variable.
28191 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28192 (pow_tonearest_test_data): New variable.
28193 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28194 (pow_towardzero_test_data): New variable.
28195 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28196 (pow_downward_test_data): New variable.
28197 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28198 (pow_upward_test_data): New variable.
28199 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28200 (remainder_test_data): New variable.
28201 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28202 (scalb_test_data): New variable.
28203 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205
74c57478
JM
282062013-05-11 Joseph Myers <joseph@codesourcery.com>
28207
8329e4da
JM
28208 * math/libm-test.inc (fma_test): Use max_value instead of local
28209 variable fltmax.
28210 (nextafter_test): Likewise.
28211
74c57478
JM
28212 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28213 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28214 (acos_downward_test_data): New variable.
28215 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28216 (acos_upward_test_data): New variable.
28217 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28218 (acosh_test_data): New variable.
28219 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28220 (asin_test_data): New variable.
28221 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28222 (asin_tonearest_test_data): New variable.
28223 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28224 (asin_towardzero_test_data): New variable.
28225 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28226 (asin_downward_test_data): New variable.
28227 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28228 (asin_upward_test_data): New variable.
28229 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28230 (asinh_test_data): New variable.
28231 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28232 (atan_test_data): New variable.
28233 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28234 (atanh_test_data): New variable.
28235 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28236 (cbrt_test_data): New variable.
28237 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28238 (ceil_test_data): New variable.
28239 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28240 (cos_test_data): New variable.
28241 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28242 (cos_tonearest_test_data): New variable.
28243 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28244 (cos_towardzero_test_data): New variable.
28245 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28246 (cos_downward_test_data): New variable.
28247 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28248 (cos_upward_test_data): New variable.
28249 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28250 (cosh_test_data): New variable.
28251 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28252 (cosh_tonearest_test_data): New variable.
28253 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28254 (cosh_towardzero_test_data): New variable.
28255 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28256 (cosh_downward_test_data): New variable.
28257 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28258 (cosh_upward_test_data): New variable.
28259 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28260 (erf_test_data): New variable.
28261 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28262 (erfc_test_data): New variable.
28263 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28264 (exp_test_data): New variable.
28265 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28266 (exp_tonearest_test_data): New variable.
28267 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28268 (exp_towardzero_test_data): New variable.
28269 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28270 (exp_downward_test_data): New variable.
28271 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28272 (exp_upward_test_data): New variable.
28273 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28274 (exp10_test_data): New variable.
28275 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28276 (exp2_test_data): New variable.
28277 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28278 (expm1_test_data): New variable.
28279 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28280 (fabs_test_data): New variable.
28281 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28282 (floor_test_data): New variable.
28283 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28284 (j0_test_data): New variable.
28285 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28286 (j1_test_data): New variable.
28287 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28288 (log_test_data): New variable.
28289 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28290 (log10_test_data): New variable.
28291 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28292 (log1p_test_data): New variable.
28293 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28294 (log2_test_data): New variable.
28295 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28296 (logb_test_data): New variable.
28297 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28298 (logb_downward_test_data): New variable.
28299 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28300 (nearbyint_test_data): New variable.
28301 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28302 (rint_test_data): New variable.
28303 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28304 (rint_tonearest_test_data): New variable.
28305 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28306 (rint_towardzero_test_data): New variable.
28307 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28308 (rint_downward_test_data): New variable.
28309 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28310 (rint_upward_test_data): New variable.
28311 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28312 (round_test_data): New variable.
28313 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28314 (sin_test_data): New variable.
28315 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28316 (sin_tonearest_test_data): New variable.
28317 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28318 (sin_towardzero_test_data): New variable.
28319 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28320 (sin_downward_test_data): New variable.
28321 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28322 (sin_upward_test_data): New variable.
28323 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28324 (sinh_test_data): New variable.
28325 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28326 (sinh_tonearest_test_data): New variable.
28327 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28328 (sinh_towardzero_test_data): New variable.
28329 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28330 (sinh_downward_test_data): New variable.
28331 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28332 (sinh_upward_test_data): New variable.
28333 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28334 (sqrt_test_data): New variable.
28335 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28336 (tan_test_data): New variable.
28337 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28338 (tan_tonearest_test_data): New variable.
28339 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28340 (tan_towardzero_test_data): New variable.
28341 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28342 (tan_downward_test_data): New variable.
28343 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28344 (tan_upward_test_data): New variable.
28345 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28346 (tanh_test_data): New variable.
28347 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28348 (tgamma_test_data): New variable.
28349 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28350 (trunc_test_data): New variable.
28351 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28352 (y0_test_data): New variable.
28353 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28354 (y1_test_data): New variable.
28355 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28356 (significand_test_data): New variable.
28357 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28358
7187d844
CG
283592013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28360
28361 [BZ #12387]
28362 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28363
f63fae73
PT
283642013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28365
28366 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28367
8a67a4b3
AJ
283682013-05-10 Andreas Jaeger <aj@suse.de>
28369
28370 [BZ #15448]
28371 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28372 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28373
51df539d
JM
283742013-05-10 Joseph Myers <joseph@codesourcery.com>
28375
28376 * math/gen-libm-test.pl (adjust_arg): New function.
28377 (special_functions): Handle generating output in both functions
28378 and arrays.
28379 (parse_args): Likewise.
28380 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28381 $in_func argument to parse_args.
28382 * math/libm-test.inc (struct test_f_f_data): New type.
28383 (IF_ROUND_INIT_): New macro.
28384 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28385 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28386 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28387 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28388 (ROUND_RESTORE_): Likewise.
28389 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28390 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28391 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28392 (ROUND_RESTORE_FE_UPWARD): Likewise.
28393 (RUN_TEST_LOOP_f_f): New macro.
28394 (acos_test_data): New variable.
28395 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28396 (acos_tonearest_test_data): New variable.
28397 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28398
5c637fe5
SP
283992013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28400
28401 * benchtests/bench-skeleton.c (startup): Fix coding style.
28402
ab2b9461
JM
284032013-05-10 Joseph Myers <joseph@codesourcery.com>
28404
28405 [BZ #6809]
28406 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28407 negative infinity argument.
28408 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28409 negative infinity argument.
28410 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28411 negative infinity argument.
28412 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28413 domain errors.
28414
4c0fe6fe
FW
284152013-05-10 Florian Weimer <fweimer@redhat.com>
28416
28417 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28418 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28419 * iconv/iconv_prog.c (main): Likewise.
28420 * locale/programs/charmap-dir.c (charmap_readdir)
28421 (fopen_uncompressed): Likewise.
28422 * locale/programs/locfile.c (siblings_uncached)
28423 (write_locale_data): Use lstat64 instead of lstat.
28424 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28425 stat.
28426
a3375d29
AJ
284272013-05-10 Andreas Jaeger <aj@suse.de>
28428
28429 [BZ #15395]
28430 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28431 localization.
28432 Include <locale.h>.
28433
36129722
CD
284342013-05-09 Carlos O'Donell <carlos@redhat.com>
28435
28436 * elf/dl-close.c (_dl_close_worker): Add comments.
28437
faa7f811
JM
284382013-05-09 Joseph Myers <joseph@codesourcery.com>
28439
ed41ffef
JM
28440 [BZ #15359]
28441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28442 high part of pi/2.
28443 (__ieee754_rem_pio2l): Update comments.
28444
d0213cd0
JM
28445 [BZ #15429]
28446 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28447 high part of pi/2.
28448 (__ieee754_rem_pio2l): Update comments.
28449
0d3e777a
JM
28450 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28451 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28452
24f56066
JM
28453 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28454 M_PI_4l.
28455
faa7f811
JM
28456 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28457 (M_PI_34_LOG10El): Likewise.
28458 (M_PI2_LOG10El): Likewise.
28459 (M_PI4_LOG10El): Likewise.
28460 (M_PI_LOG10El): Likewise.
28461
e9a5e0fd
AZ
284622013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28463
28464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28465
d8cd06db
JM
284662013-05-08 Joseph Myers <joseph@codesourcery.com>
28467
a0d9f9d7
JM
28468 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28469 (MINUS_ZERO_INIT): Likewise.
28470 (PLUS_INFTY_INIT): Likewise.
28471 (MINUS_INFTY_INIT): Likewise.
28472 (QNAN_VALUE_INIT): Likewise.
28473 (MAX_VALUE_INIT): Likewise.
28474 (MIN_VALUE_INIT): Likewise.
28475 (MIN_SUBNORM_VALUE_INIT): Likewise.
28476 (plus_zero): Initialize with PLUS_ZERO_INIT.
28477 (minus_zero): Initialize with MINUS_ZERO_INIT.
28478 (plus_infty): Initialize with PLUS_INFTY_INIT.
28479 (minus_infty): Initialize with MINUS_INFTY_INIT.
28480 (qnan_value): Initialize with QNAN_VALUE_INIT.
28481 (max_value): Initialize with MAX_VALUE_INIT.
28482 (min_value): Initialize with MIN_VALUE_INIT.
28483 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28484
ae08db3b
JM
28485 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28486 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28487 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28488 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28489
f44bf14a
JM
28490 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28491 (RUN_TEST_2_f): Likewise.
28492 (RUN_TEST_ff_f): Likewise.
28493 (RUN_TEST_fi_f): Likewise.
28494 (RUN_TEST_fl_f): Likewise.
28495 (RUN_TEST_fff_f): Likewise.
28496 (RUN_TEST_c_f): Likewise.
28497 (RUN_TEST_f_f1): Likewise.
28498 (RUN_TEST_fF_f1): Likewise.
28499 (RUN_TEST_fI_f1): Likewise.
28500 (RUN_TEST_ffI_f1): Likewise.
28501 (RUN_TEST_c_c): Likewise.
28502 (RUN_TEST_cc_c): Likewise.
28503 (RUN_TEST_f_i): Likewise.
28504 (RUN_TEST_f_i_tg): Likewise.
28505 (RUN_TEST_ff_i_tg): Likewise.
28506 (RUN_TEST_f_b): Likewise.
28507 (RUN_TEST_f_b_tg): Likewise.
28508 (RUN_TEST_f_l): Likewise.
28509 (RUN_TEST_f_L): Likewise.
28510 (RUN_TEST_sincos): Likewise.
28511 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28512 whether to show exceptions. Do not include ");\n" in return
28513 value.
28514 (special_functions): Output call to RUN_TEST_sincos instead of
28515 check_float calls. Update calls to new_test.
28516 (parse_args): Output call to single RUN_TEST_* macro instead of
28517 check_* calls and other assignments. Update calls to new_test.
28518
d8cd06db
JM
28519 [BZ #2546]
28520 [BZ #2560]
28521 [BZ #5159]
28522 [BZ #15426]
28523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28524 input to result for tgamma overflow.
28525 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28526 (gamma_coeff): New variable.
28527 (NCOEFF): New macro.
28528 (gamma_positive): New function.
28529 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28530 underflow here. Use gamma_positive instead of exp (lgamma) for
28531 other arguments.
28532 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28533 (gamma_coeff): New variable.
28534 (NCOEFF): New macro.
28535 (gammaf_positive): New function.
28536 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28537 underflow here. Use gamma_positive instead of exp (lgamma) for
28538 other arguments.
28539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28540 (gamma_coeff): New variable.
28541 (NCOEFF): New macro.
28542 (gammal_positive): New function.
28543 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28544 underflow here. Use gamma_positive instead of exp (lgamma) for
28545 other arguments.
28546 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28547 (gamma_coeff): New variable.
28548 (NCOEFF): New macro.
28549 (gammal_positive): New function.
28550 (__ieee754_gammal_r): Handle positive infinity, overflow and
28551 underflow here. Handle NaN the same as positive infinity. Remove
28552 check x < 0xffffffff for negative integers. Use gamma_positive
28553 instead of exp (lgamma) for other arguments.
28554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28555 (gamma_coeff): New variable.
28556 (NCOEFF): New macro.
28557 (gammal_positive): New function.
28558 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28559 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28563 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28564 * sysdeps/generic/math_private.h (__gamma_productf): New
28565 prototype.
28566 (__gamma_product): Likewise.
28567 (__gamma_productl): Likewise.
28568 * math/Makefile (libm-calls): Add gamma_product.
28569 * math/libm-test.inc (tgamma_test): Add more tests.
28570 * sysdeps/i386/fpu/libm-test-ulps: Update.
28571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28572
bb7cf681
OB
285732013-05-08 Ondřej Bílka <neleai@seznam.cz>
28574
28575 * benchtests/bench-skeleton.c (main): Preheat CPU.
28576
ba853947
AJ
285772013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28578
28579 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28580
8347c74c
RM
285812013-05-07 Roland McGrath <roland@hack.frob.com>
28582
28583 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28584 and _dl_skip_args_internal.
28585
e8dd4791
CD
285862013-05-07 Carlos O'Donell <carlos@redhat.com>
28587
28588 * manual/message.texi (Message Translation): Talk about users.
28589 Message to key mapping impacts design.
28590
c7405830
RM
285912013-05-06 Roland McGrath <roland@hack.frob.com>
28592
a9173057
RM
28593 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28594
976e2f03
RM
28595 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28596
9723ffc5
RM
28597 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28598 * sysdeps/wordsize-64/glob64.c: ... here.
28599
962e6658
RM
28600 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28601 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28602 New macros.
28603
ee586a6d
RM
28604 * debug/getlogin_r_chk.c: Moved to ...
28605 * login/getlogin_r_chk.c: ... here.
28606 * debug/Makefile (routines): Move getlogin_r_chk to ...
28607 * login/Makefile (routines): ... here.
28608 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28609 * login/Versions (libc: GLIBC_2.4): ... here.
28610
355f9165
RM
28611 * io/poll.c (__poll): Renamed from poll.
28612 Add libc_hidden_def.
28613 (poll): Define as weak alias.
28614
bd9ffde6
RM
28615 * debug/ptsname_r_chk.c: Moved to ...
28616 * login/ptsname_r_chk.c: ... here.
28617 * debug/Makefile (routines): Move ptsname_r_chk to ...
28618 * login/Makefile (routines): ... here.
28619 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28620 * login/Versions (libc: GLIBC_2.4): ... here.
28621
8fb16a04
RM
28622 * posix/getlogin.c: Moved to ...
28623 * login/getlogin.c: ... here.
28624 * posix/getlogin_r.c: Moved to ...
28625 * login/getlogin_r.c: ... here.
28626 * posix/getlogin_r.c: Moved to ...
28627 * login/getlogin_r.c: ... here.
28628 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28629 * login/Makefile (routines): ... here.
28630 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28631 * login/Versions (libc: GLIBC_2.0): ... here.
28632
b99b892f
RM
28633 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28634 (setrlimit): Define as weak alias.
28635
c7405830
RM
28636 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28637 Call __ names for open, ftruncate, and close.
28638 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28639 (truncate): Define as weak alias.
28640
5bf96de5
JM
286412013-05-06 Joseph Myers <joseph@codesourcery.com>
28642
9ea3513c
JM
28643 * math/gen-libm-test.pl (parse_args): Initialize x before each
28644 test of frexp, modf and remquo.
28645
5bf96de5
JM
28646 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28647 test signgam value.
28648
16e616a7
AZ
286492013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28650
28651 [BZ #15418]
28652 [BZ #15419]
28653 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28654 internal tests.
28655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28656
d5e82754
RM
286572013-05-06 Roland McGrath <roland@hack.frob.com>
28658
28659 * elf/dl-writev.h: New file.
28660 * elf/dl-misc.c: Include it.
28661 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28662 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28663
a7548d41
JM
286642013-05-04 Joseph Myers <joseph@codesourcery.com>
28665
b7dab1e4
JM
28666 * math/libm-test.inc (noXFails): Remove variable.
28667 (noXPasses): Likewise.
28668 (BUILD_COMPLEX_INT): Remove macro.
28669 (print_screen): Remove xfail argument.
28670 (print_screen_max_error): Likewise.
28671 (update_stats): Likewise.
28672 (print_max_error): Likewise. Update calls to other affected
28673 functions.
28674 (print_complex_max_error): Likewise.
28675 (test_single_exception): Update calls to print_screen.
28676 (test_single_errno): Likewise.
28677 (check_float_internal): Remove xfail argument. Update calls to
28678 other affected functions.
28679 (check_float): Likewise.
28680 (check_complex): Likewise.
28681 (check_int): Likewise.
28682 (check_long): Likewise.
28683 (check_bool): Likewise.
28684 (check_longlong): Likewise.
28685 (main): Don't print noXFails and noXPasses.
28686 * math/gen-libm-test.pl (top level): Don't mention expected
28687 failure handling in comment.
28688 (new_test): Don't handle expected failures.
28689 (parse_args): Don't mention expected failure handling in comment.
28690 (generate_testfile): Don't handle expected failures.
28691 (parse_ulps): Likewise.
28692 (print_ulps_file): Likewise.
28693 (get_failure): Remove function.
28694 (output_test): Don't handle expected failures.
28695 * make/README.libm-test: Don't mention expected failure handling.
28696
a7548d41
JM
28697 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28698 (minus_zero): Likewise.
28699 (plus_infty): Likewise.
28700 (minus_infty): Likewise.
28701 (qnan_value): Likewise.
28702 (max_value): Likewise.
28703 (min_value): Likewise.
28704 (min_subnorm_value): Likewise.
28705 (initialize): Do not initialize those variables dynamically.
28706
60bfd54c
RM
287072013-05-03 Roland McGrath <roland@hack.frob.com>
28708
cc0e6ed8
RM
28709 * io/open.c (__open_2): Moved to ...
28710 * io/open_2.c: ... this new file.
28711 * io/open64.c (__open64_2): Moved to ...
28712 * io/open64_2.c: ... this new file.
28713 * io/openat.c (__openat_2): Moved to ...
28714 * io/openat_2.c: ... this new file.
28715 * io/openat64.c (__openat64_2): Moved to ...
28716 * io/openat64_2.c: ... this new file.
28717 * io/Makefile (routines): Add them.
28718 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28719 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28720 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28721 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28722 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28723 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28724 (__openat64): Add hidden_ver.
28725 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28726 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28727
60bfd54c
RM
28728 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28729 Separately conditionalize setting of GLRO(dl_sysinfo) so
28730 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28731 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28732
83e7640f
AZ
287332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28734
28735 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28736 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28737 definition.
28738 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28739 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28740 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28741 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28742 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28743
d5dc2af3
JM
287442013-05-03 Joseph Myers <joseph@codesourcery.com>
28745
c31a5b1e
JM
28746 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28747 test signgam value.
28748
d5dc2af3
JM
28749 * math/libm-test.inc (hypot_test): Do not use
28750 IGNORE_ZERO_INF_SIGN.
28751
164fd39d
AJ
287522013-05-03 Andreas Jaeger <aj@suse.de>
28753
28754 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28755 Linux 3.9.
28756 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28757 (PF_MAX): Adjust for VSOCK change.
28758
8237f48c
AZ
287592013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28760
28761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28762
9df02941
CD
287632013-05-02 Carlos O'Donell <carlos@redhat.com>
28764
28765 [BZ #15264]
28766 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28767 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28768 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28769
d422395e
DM
287702013-05-02 David S. Miller <davem@davemloft.net>
28771
28772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
a07c5731
OB
287742013-05-01 Ondřej Bílka <neleai@seznam.cz>
28775
28776 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28777
1324e37f
RM
287782013-05-01 Roland McGrath <roland@hack.frob.com>
28779
28780 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28781
0695940b
RS
287822013-05-01 Richard Smith <richard@metafoo.co.uk>
28783
bb5f27ad 28784 [BZ #14952]
0695940b
RS
28785 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28786 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28787 Use __attribute__ ((__gnu_inline__)).
28788 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28789 Don't use __attribute__ ((__gnu_inline__)).
28790
10de07f5
JM
287912013-05-01 Joseph Myers <joseph@codesourcery.com>
28792
28793 [BZ #15423]
28794 * math/s_catan.c (__catan): Handle small real or imaginary part of
28795 input specially to avoid spurious underflow.
28796 * math/s_catanf.c (__catanf): Likewise.
28797 * math/s_catanh.c (__catanh): Likewise.
28798 * math/s_catanhf.c (__catanhf): Likewise.
28799 * math/s_catanhl.c (__catanhl): Likewise.
28800 * math/s_catanl.c (__catanl): Likewise.
28801 * math/libm-test.inc (catan_test): Add more tests.
28802 (catanh_test): Likewise.
28803 * sysdeps/i386/fpu/libm-test-ulps: Update.
28804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28805
cb4d5414
AZ
288062013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28807
28808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28809
caf84319
JM
288102013-04-30 Joseph Myers <joseph@codesourcery.com>
28811
28812 [BZ #15416]
28813 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28814 accurately for denominator in atan2.
28815 * math/s_catanf.c (__catanf): Likewise.
28816 * math/s_catanh.c (__catanh): Likewise.
28817 * math/s_catanhf.c (__catanhf): Likewise.
28818 * math/s_catanhl.c (__catanhl): Likewise.
28819 * math/s_catanl.c (__catanl): Likewise.
28820 * math/libm-test.inc (catan_test): Add more tests.
28821 (catanh_test): Likewise.
28822 * sysdeps/i386/fpu/libm-test-ulps: Update.
28823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28824
d569c6ee
SP
288252013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28826
6dbe713d
SP
28827 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28828
f0ee064b
SP
28829 * benchtests/Makefile (bench): Remove slow benchmarks.
28830 * benchtests/atan-inputs: Add slow benchmark inputs.
28831 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28832 (BENCH_FUNC): Accept variant offset.
28833 (VARIANT): Define.
28834 * benchtests/bench-skeleton.c (main): Run benchmark for each
28835 variant.
28836 * benchtests/cos-inputs: Add slow benchmark inputs.
28837 * benchtests/exp-inputs: Likewise.
28838 * benchtests/pow-inputs: Likewise.
28839 * benchtests/sin-inputs: Likewise.
28840 * benchtests/slowatan-inputs: Remove.
28841 * benchtests/slowatan.c: Remove.
28842 * benchtests/slowcos-inputs: Remove.
28843 * benchtests/slowcos.c: Remove.
28844 * benchtests/slowexp-inputs: Remove.
28845 * benchtests/slowexp.c: Remove.
28846 * benchtests/slowpow-inputs: Remove.
28847 * benchtests/slowpow.c: Remove.
28848 * benchtests/slowsin-inputs: Remove.
28849 * benchtests/slowsin.c: Remove.
28850 * benchtests/slowtan-inputs: Remove.
28851 * benchtests/slowtan.c: Remove.
28852 * benchtests/tan-inputs: Add slow benchmark inputs.
28853 * scripts/bench.pl: Parse comments and directives.
28854
d569c6ee
SP
28855 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28856 in CPPFLAGS.
28857 ($(objpfx)bench-%.c): Remove *-ITER.
28858 * benchtests/bench-modf.c: Remove definition of ITER.
28859 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28860 (main): Loop for DURATION seconds instead of fixed number of
28861 iterations.
28862 * scripts/bench.pl: Don't expect iterations in parameters.
28863
a6a242fe
RM
288642013-04-29 Roland McGrath <roland@hack.frob.com>
28865
28866 * io/fchdir.c (__fchdir): Renamed from fchdir.
28867 (fchdir): Define as weak alias.
28868
f2da7793
JM
288692013-04-29 Joseph Myers <joseph@codesourcery.com>
28870
28871 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28872 (ERRNO_EDOM): Likewise.
28873 (ERRNO_ERANGE): Likewise.
28874 (noErrnoTests): New variable.
28875 (init_max_error): Set errno to 0.
28876 (test_single_errno): New function.
28877 (test_errno): Likewise.
28878 (check_float_internal): Call test_errno. Set errno to 0.
28879 (check_complex): Refer to errno tests in comment.
28880 (check_int): Call test_errno. Set errno to 0.
28881 (check_long): Likewise.
28882 (check_bool): Likewise.
28883 (check_longlong): Likewise.
28884 (cos_test): Use ERRNO_* flags for errno tests instead of
28885 check_int.
28886 (expm1_test): Likewise.
28887 (fmod_test): Likewise.
28888 (ilogb_test): Likewise.
28889 (lgamma_test): Likewise.
28890 (pow_test): Likewise.
28891 (remainder_test): Likewise.
28892 (sin_test): Likewise.
28893 (tan_test): Likewise.
28894 (yn_test): Likewise.
28895 (initialize): Set errno to 0.
28896 (main): Print number of errno tests.
28897 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28898
b1a36ceb
AJ
288992013-04-29 Andreas Jaeger <aj@suse.de>
28900
c3ed8088
AJ
28901 [BZ #15084]
28902 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28903 and RES_USEVC.
28904
f1a24198
AJ
28905 [BZ #15085]
28906 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28907 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28908 unimplemented.
28909
9ce3b2cb
AJ
28910 [BZ #15380]
28911 * stdlib/random.c (__initstate): Return NULL if
28912 __initstate fails.
28913
f1a24198 28914 [BZ #15086]
b1a36ceb
AJ
28915 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28916 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28917 RES_SNGLKUPREOP.
28918
7e7b6f36
AZ
289192013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28920
28921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28922
4d14f449
JM
289232013-04-29 Joseph Myers <joseph@codesourcery.com>
28924
28925 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28926 of individual tests.
28927 (casin_test): Likewise.
28928 (casinh_test): Likewise.
28929
5b4217d7
JM
289302013-04-27 Joseph Myers <joseph@codesourcery.com>
28931
28932 [BZ #15409]
28933 * math/s_catan.c (__catan): Handle arguments with large real or
28934 imaginary part separately without squaring.
28935 * math/s_catanf.c (__catanf): Likewise.
28936 * math/s_catanh.c (__catanh): Likewise.
28937 * math/s_catanhf.c (__catanhf): Likewise.
28938 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28939 and redefine.
28940 (__catanhl): Handle arguments with large real or imaginary part
28941 separately without squaring.
28942 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28943 and redefine.
28944 (__catanl): Handle arguments with large real or imaginary part
28945 separately without squaring.
28946 * math/libm-test.inc (catan_test): Add more tests.
28947 (catanh_test): Likewise.
28948 * sysdeps/i386/fpu/libm-test-ulps: Update.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28950
4220c3ef
AJ
289512013-04-27 Andreas Jaeger <aj@suse.de>
28952
28953 [BZ #15007]
28954 * stdlib/stdlib.h: Update guards for qecvt.
28955 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28956 <stdlib.h>.
28957
4721b2d1
AM
289582013-04-27 Allan McRae <allan@archlinux.org>
28959
28960 * sysdeps/i386/fpu/libm-test-ulps: Update.
28961
f0302940
JM
289622013-04-26 Joseph Myers <joseph@codesourcery.com>
28963
9457fd95
JM
28964 [BZ #15406]
28965 * math/s_catan.c: Include <float.h>.
28966 (__catan): Ensure underflow exception occurs for underflowed
28967 result.
28968 * math/s_catanf.c: Include <float.h>.
28969 (__catanf): Ensure underflow exception occurs for underflowed
28970 result.
28971 * math/s_catanh.c: Include <float.h>.
28972 (__catanh): Ensure underflow exception occurs for underflowed
28973 result.
28974 * math/s_catanhf.c: Include <float.h>.
28975 (__catanhf): Ensure underflow exception occurs for underflowed
28976 result.
28977 * math/s_catanhl.c: Include <float.h>.
28978 (__catanhl): Ensure underflow exception occurs for underflowed
28979 result.
28980 * math/s_catanl.c: Include <float.h>.
28981 (__catanl): Ensure underflow exception occurs for underflowed
28982 result.
28983 * math/libm-test.inc (catan_test): Add more tests.
28984 (catanh_test): Likewise.
28985
f0302940
JM
28986 [BZ #15405]
28987 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28988 underflowed result.
28989 * math/s_ccoshf.c (__ccoshf): Likewise.
28990 * math/s_ccoshl.c (__ccoshl): Likewise.
28991 * math/s_csin.c (__csin): Likewise.
28992 * math/s_csinf.c (__csinf): Likewise.
28993 * math/s_csinh.c (__csinh): Likewise.
28994 * math/s_csinhf.c (__csinhf): Likewise.
28995 * math/s_csinhl.c (__csinhl): Likewise.
28996 * math/s_csinl.c (__csinl): Likewise.
28997 * math/libm-test.inc (ccos_test): Add more tests.
28998 (ccosh_test): Likewise.
28999 (csin_test): Likewise.
29000 (csinh_test): Likewise.
29001
aa630f59
AZ
290022013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29003
29004 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29005 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29006 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29007 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29008 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29009 powerpc/power5+/fpu folders.
29010 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29011
29012
1b835983
MT
290132013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29014
29015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29016
73709b26
JM
290172013-04-25 Joseph Myers <joseph@codesourcery.com>
29018
29019 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29020 additions to variable.
29021 [$(config-machine) = x86_64] (modules-names): Likewise.
29022 ($(objpfx)tst-audit3): Remove dependency.
29023 ($(objpfx)tst-audit3.out): Likewise.
29024 ($(objpfx)tst-audit4): Likewise.
29025 ($(objpfx)tst-audit4.out): Likewise.
29026 ($(objpfx)tst-audit5): Likewise.
29027 ($(objpfx)tst-audit5.out): Likewise.
29028 ($(objpfx)tst-audit6): Likewise.
29029 ($(objpfx)tst-audit6.out): Likewise.
29030 ($(objpfx)tst-audit7): Likewise.
29031 ($(objpfx)tst-audit7.out): Likewise.
29032 (tst-audit3-ENV): Remove variable.
29033 (tst-audit4-ENV): Likewise.
29034 (tst-audit5-ENV): Likewise.
29035 (tst-audit6-ENV): Likewise.
29036 (tst-audit7-ENV): Likewise.
29037 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29038 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29039 addition to variable.
29040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29042 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29043 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29045 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29046 tst-audit3, tst-audit4 and tst-audit5.
29047 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29048 tst-audit6 and tst-audit7.
29049 [$(subdir) = elf] (modules-names): Add audit modules for those
29050 tests.
29051 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29052 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29053 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29054 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29055 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29056 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29057 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29058 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29059 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29060 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29061 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29062 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29063 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29064 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29065 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29066 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29067 Likewise.
29068 [$(subdir) = elf && $(config-cflags-avx) = yes]
29069 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29070 [$(subdir) = elf && $(config-cflags-avx) = yes]
29071 (CFLAGS-tst-auditmod4a.c): Likewise.
29072 [$(subdir) = elf && $(config-cflags-avx) = yes]
29073 (CFLAGS-tst-auditmod4b.c): Likewise.
29074 [$(subdir) = elf && $(config-cflags-avx) = yes]
29075 (CFLAGS-tst-auditmod6b.c): Likewise.
29076 [$(subdir) = elf && $(config-cflags-avx) = yes]
29077 (CFLAGS-tst-auditmod6c.c): Likewise.
29078 [$(subdir) = elf && $(config-cflags-avx) = yes]
29079 (CFLAGS-tst-auditmod7b.c): Likewise.
29080 * elf/tst-audit3.c: Move to ...
29081 * sysdeps/x86_64/tst-audit3.c: ... here.
29082 * elf/tst-audit4.c: Move to ...
29083 * sysdeps/x86_64/tst-audit4.c: ... here.
29084 * elf/tst-audit5.c: Move to ...
29085 * sysdeps/x86_64/tst-audit5.c: ... here.
29086 * elf/tst-audit6.c: Move to ...
29087 * sysdeps/x86_64/tst-audit6.c: ... here.
29088 * elf/tst-audit7.c: Move to ...
29089 * sysdeps/x86_64/tst-audit7.c: ... here.
29090 * elf/tst-auditmod3a.c: Move to ...
29091 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29092 * elf/tst-auditmod3b.c: Move to ...
29093 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29094 * elf/tst-auditmod4a.c: Move to ...
29095 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29096 * elf/tst-auditmod4b.c: Move to ...
29097 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29098 * elf/tst-auditmod5a.c: Move to ...
29099 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29100 * elf/tst-auditmod5b.c: Move to ...
29101 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29102 * elf/tst-auditmod6a.c: Move to ...
29103 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29104 * elf/tst-auditmod6b.c: Move to ...
29105 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29106 * elf/tst-auditmod6c.c: Move to ...
29107 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29108 * elf/tst-auditmod7a.c: Move to ...
29109 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29110 * elf/tst-auditmod7b.c: Move to ...
29111 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29112
1ef74943
PP
291132013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29114
29115 [BZ #15366]
29116 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29117 define unconditionally.
29118 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29119 define unconditionally.
29120 (INT8_C, INT16_C, etc.): Likewise.
29121
93fd48c5
MR
291222013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29123
ae9552cf
MR
29124 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29125 __ehdr_start with hidden visibility.
29126
93fd48c5
MR
29127 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29128
418601aa
CD
291292013-04-24 Carlos O'Donell <carlos@redhat.com>
29130
29131 * math/libm-test.inc (cos_test): Use accurate hex constants.
29132 (sincost_test): Likewise.
29133
2f38fbfe
JM
291342013-04-24 Joseph Myers <joseph@codesourcery.com>
29135
5e221800
JM
29136 * math/libm-test.inc (catan_test): Add more tests.
29137 (catanh_test): Likewise.
29138
77f143fd
JM
29139 * math/s_catanf.c (__catanf): Use suffixed floating-point
29140 constants.
29141 * math/s_catanhf.c (__catanhf): Likewise.
29142 * math/s_catanhl.c (__catanhl): Likewise.
29143 * math/s_catanl.c (__catanl): Likewise.
29144
2f38fbfe
JM
29145 [BZ #15394]
29146 * math/s_catan.c (__catan): Calculate imaginary part of result
29147 with log1p not log unless computing log of number close to 0.
29148 * math/s_catanf.c (__catanf): Likewise.
29149 * math/s_catanl.c (__catanl): Likewise.
29150 * math/s_catanh.c (__catanh): Calculate real part of result with
29151 log1p not log unless computing log of number close to 0.
29152 * math/s_catanhf.c (__catanhf): Likewise.
29153 * math/s_catanhl.c (__catanhl): Likewise.
29154 * math/libm-test.inc (catan_test): Add more tests.
29155 (catanh_test): Likewise.
29156 * sysdeps/i386/fpu/libm-test-ulps: Update.
29157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29158
45d69176
SP
291592013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29160
29161 * benchtests/Makefile: Mention files in which fast and slow
29162 paths of math functions are implemented.
29163
87f51853
RM
291642013-04-23 Roland McGrath <roland@hack.frob.com>
29165
29166 * sysdeps/posix/timespec_get.c: New file.
29167
3c026539
AZ
291682013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29169
29170 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29171 POWER.
29172 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29173 for POWER.
29174 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29175 powerpc/power5/fpu folders.
29176 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29177 * benchtests/Makefile: Add modf testcase.
29178 * benchtests/bench-modf.c: New file: Benchmark test for mo
29179
ff491d14
SP
291802013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29181
29182 [BZ #14888]
29183 * time/Makefile (tests): Add tst-strptime-whitespace.
29184 * time/strptime_l.c (get_number): Use ISSPACE.
29185 (__strptime_internal): Likewise.
29186 * time/tst-strptime-whitespace.c: New test case.
29187
7ed3f4e8
AS
291882013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29189
29190 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29191 member.
29192 (_nss_files_init): Set it here.
29193
5c95f7b6
HC
291942013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29195
29196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29197 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29198 unsigned.
29199
d34c9158
JBG
292002013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29201
29202 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29203
2169712d
SP
292042013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29205
29206 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29207 size just once.
29208
29c5de99
DM
292092013-04-21 David S. Miller <davem@davemloft.net>
29210
29211 * po/ru.po: Update Russion translation from translation project.
29212
ccdad15d
AC
292132013-04-17 Adam Conrad <adconrad@0c3.net>
29214
29215 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29216 and setfsgid.
29217
0f122b8d
CD
292182013-04-17 Carlos O'Donell <carlos@redhat.com>
29219
5c5b07da 29220 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29221 * configure: Regenerate.
5c5b07da 29222 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29223 Add example to error message.
29224 * sysdeps/i386/configure: Regenerate.
29225
037714dd
SP
292262013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29227
29228 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29229 slowtan.
29230 * benchtests/cos-inputs: New file.
29231 * benchtests/slowcos-inputs: New file.
29232 * benchtests/slowcos.c: New file.
29233 * benchtests/slowtan-inputs: New file.
29234 * benchtests/slowtan.c: New file.
29235 * benchtests/tan-inputs: New file.
29236
e913141d
RM
292372013-04-16 Roland McGrath <roland@hack.frob.com>
29238
29239 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29240 considered kosher.
29241
a2964074
SP
292422013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29243
4856bcd2
SP
29244 * benchtests/Makefile: Include cppflags-iterator.mk to add
29245 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29246
a2964074
SP
29247 * Makefile.in (bench-clean): New target.
29248 * benchtests/Makefile (bench-clean): Likewise.
29249
9fbf9aca
DH
292502013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29251
29252 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29253
207d1e2a
TS
292542013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29255
29256 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29257
306dfba9
AS
292582013-04-15 Andreas Schwab <schwab@suse.de>
29259
29260 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29262 * nscd/pwdcache.c (cache_addpw): Likewise.
29263 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29264 more than recsize.
29265
206a6699
SP
292662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29267
29268 * benchtests/Makefile (bench): Write all output to
29269 bench-out.tmp together.
29270
0582f6b3
AS
292712013-04-15 Andreas Schwab <schwab@suse.de>
29272
29273 * nscd/nscd.c (main): Don't fork again after closing files.
29274
acb4325f
SP
292752013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
5cb26d0a
SP
29277 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29278
acb4325f
SP
29279 * benchtests/Rules (bench-deps): Collect dependencies into a
29280 single variable. Add Makefile to dependencies.
29281 ($(objpfx)bench-%.c): Depend on bench-deps.
29282
47792506
RM
292832013-04-12 Roland McGrath <roland@hack.frob.com>
29284 Xavier Roche <roche+kml2@exalead.com>
29285
29286 [BZ #15361]
29287 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29288 just that it's a file descriptor.
29289 * manual/llio.texi (Synchronizing AIO Operations): Update description
29290 for EBADF error from aio_fsync.
29291
8fc1bee5
SP
292922013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29293
29294 * Rules (bench): Move target definition...
29295 * benchtests/Makefile: ... here.
29296
aba5e333
CD
292972013-04-11 Carlos O'Donell <carlos@redhat.com>
29298
29299 * math/libm-test.inc (cos_test): Fix PI/2 test.
29300 (sincos_test): Likewise.
29301 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29302 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29303
273cdee8
AS
293042013-04-11 Andreas Schwab <schwab@suse.de>
29305
6ecec3b6
AS
29306 [BZ #13988]
29307 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29308 accept exponent character only when digits were seen.
29309 * stdio-common/Makefile (tests): Add bug26.
29310 * stdio-common/bug26.c: New file.
29311
273cdee8
AS
29312 [BZ #14293]
29313 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29314 non-freeable.
29315
8da491f5
SP
293162013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29317
01dc6df9
SP
29318 * Makeconfig (rtld-prefix): Define built linker prefix.
29319 * Rules (run-bench): Use it.
29320 * math/Makefile (run-regen-ulps): Likewise.
29321
8da491f5
SP
29322 * Rules (bench): Remove eval.
29323
abe7f530
SP
293242013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29325 Roland McGrath <roland@hack.frob.com>
29326 Ondrej Bilka <neleai@seznam.cz>
29327
29328 [BZ #15346]
29329 * time/getdate.c: Include ctype.h and alloca.h.
29330 (__getdate_r): Trim leading and trailing spaces of input.
29331 * time/tst-getdate.c (tests): Add tests with leading and
29332 trailing spaces.
29333
61c23e62
RM
293342013-04-08 Roland McGrath <roland@hack.frob.com>
29335
29336 [BZ #14280]
29337 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29338 when computing value.
29339
7208a313
CD
293402013-04-06 Carlos O'Donell <carlos@redhat.com>
29341
085b2d41
CD
29342 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29343 Use testrun.sh to run libm tests.
29344
7208a313
CD
29345 [BZ #15309]
29346 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29347
872c0acd
MM
293482013-04-06 Marko Myllynen <myllynen@redhat.com>
29349
29350 [BZ #15264]
29351 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29352
26510bdd
CD
293532013-04-06 Carlos O'Donell <carlos@redhat.com>
29354
29355 * Makefile.in (regen-ulps): New target.
29356 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29357 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29358 [ifneq (no,$(PERL)] (regen-ulps): New target.
29359 [ifeq (no,$(PERL)] (regen-ulps): New target.
29360 * math/libm-test.inc (ulps_file_name): Define.
29361 (output_dir): New variable.
29362 (options): Add "output-dir" option.
29363 (parse_opt): Handle 'o' case.
29364 (main): If output_dir is non-NULL use it as a prefix
29365 otherwise use "".
29366 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29367
a01f19c8
CD
293682013-04-06 Carlos O'Donell <carlos@redhat.com>
29369
29370 [BZ #10060, #10062]
29371 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29372 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29373 fail configure if __sync_val_compare_and_swap is not inlined.
29374 * sysdeps/i386/configure: Regenerate.
29375 * configure.in: Build for i686 when configured for i386.
29376 * configure: Regenerate.
29377 * README: Remove i386 reference.
29378
b7a329a5
CD
293792013-04-06 Carlos O'Donell <carlos@redhat.com>
29380
29381 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29383
bf0f50df
TS
293842013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29385
ee091edf
TS
29386 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29387 (lmsnanval): New variables.
29388 (F): Add conversion tests.
29389 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29390 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29391
a8b792d6
TS
29392 * stdio-common/tstdiomisc.c (F): Properly collect individual
29393 tests' results.
29394
a1cbf437
TS
29395 [BZ #14686, #15336]
29396 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29397 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29398 Instead, use input NaN values or generate a qNaN by arithmetic
29399 operation. Also fix bugs to comply with the standard.
29400 * math/libm-test.inc (remainder_test): Add more tests.
29401
8b43a0c9
TS
29402 [BZ #15335, #15342]
29403 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29405 input NaN values or generate a qNaN by arithmetic operation.
29406
d91da4ce
TS
29407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29408 unreachable code.
29409
bf0f50df
TS
29410 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29411 definitions.
29412
05e166c8
JM
294132013-04-03 Joseph Myers <joseph@codesourcery.com>
29414
29415 [BZ #14478]
29416 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29417 underflowed result.
29418 * math/s_cexpf.c (__cexpf): Likewise.
29419 * math/s_cexpl.c (__cexpl): Likewise.
29420 * math/libm-test.inc (cexp_test): Add more tests.
29421
1cef1b19
AS
294222013-04-03 Andreas Schwab <schwab@suse.de>
29423
29424 [BZ #15330]
29425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29426 order arrays from heap if bigger than alloca cutoff.
29427
74d87055
TS
294282013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29429
29430 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29431 (SNAN_TESTS_double): Refer to GCC PR56831.
29432 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29433 GCC PR56828.
29434
d755bba4
SP
294352013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29436
90d5d5bb
SP
29437 * Rules (bench): Move bench.out after the run is complete.
29438
73e0cd5d
SP
29439 * Rules (bench): Echo currently running benchmark.
29440
64aabd4b
SP
29441 * benchtests/Makefile (bench): Add atan and slowatan.
29442 * benchtests/atan-inputs: New file.
29443 * benchtests/slowatan-inputs: New file.
29444 * benchtests/slowatan.c: New file.
29445
c871eccd
SP
29446 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29447 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29448 its value.
29449
d755bba4
SP
29450 [BZ #15305]
29451 * sysdeps/unix/sysv/linux/kernel-features.h
29452 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29453 __ASSUME_XFS_RESTRICTED_CHOWN.
29454 * sysdeps/unix/sysv/linux/pathconf.c
29455 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29456 Save and restore errno.
29457
52ce4860
JM
294582013-04-02 Joseph Myers <joseph@codesourcery.com>
29459
29460 [BZ #15327]
29461 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29462 arguments using __kernel_casinh.
29463 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29464 arguments using __kernel_casinhf.
29465 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29466 arguments using __kernel_casinhl.
29467 * math/libm-test.inc (cacosh_test): Add more tests.
29468 * sysdeps/i386/fpu/libm-test-ulps: Update.
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29470
81f311c2
SP
294712013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29472
e7906a47
SP
29473 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29475
92e3664b
SP
29476 * bench/Makefile (bench): Add sin and slowsin.
29477 * benchtests/sin-inputs: New file.
29478 * benchtests/slowsin-inputs: New file.
29479 * benchtests/slowsin.c: New file.
29480
81f311c2
SP
29481 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29482 (bench): Add slowexp and slowpow.
29483 (exp-ITER): Increase iterations.
29484 (pow-ITER): Likewise.
29485 * benchtests/exp-inputs: Change input.
29486 * benchtests/pow-inputs: Likewise.
29487 * benchtests/slowexp-inputs: New file.
29488 * benchtests/slowexp.c: New file.
29489 * benchtests/slowpow-inputs: New file.
29490 * benchtests/slowpow.c: New file.
29491
ab0f1aa9
AZ
294922013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29493
29494 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29495 instructions.
29496 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29497 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29498 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29499 * benchtests/Makefile: Add rint benchtest.
29500 * benchtests/rint-inputs: Input for rint benchtest.
29501
57267616
TS
295022013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29503
29504 * Versions.def (libm): Add GLIBC_2.18.
29505 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29506 hidden libm prototypes.
29507 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29508 * math/Makefile (libm-calls): Add s_issignaling.
29509 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29510 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29511 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29512 declaration.
29513 * math/math.h [__USE_GNU] (issignaling): New macro.
29514 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29515 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29516 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29517 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29519 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29520 * manual/arith.texi (issignaling): New section.
29521 * manual/libm-err-tab.pl (@all_functions): Update comment.
29522 * math/gen-libm-test.pl (parse_args): Apply special handling for
29523 issignaling.
29524 * math/libm-test.inc (print_float, issignaling_test): New
29525 functions.
29526 (check_float_internal): Add issignaling checks.
29527 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29528 default definition.
29529 * sysdeps/powerpc/math-tests.h: New file.
29530 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29531 tests.
29532 * math/test-snan.c (TEST_FUNC): Likewise.
29533
6142896d
DM
295342013-03-30 David S. Miller <davem@davemloft.net>
29535
29536 * po/de.po: Update from translation team.
29537
ccc8cadf
JM
295382013-03-30 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #10357]
29541 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29542 imaginary part less than 1.0 and real part less than 0.5
29543 specially.
29544 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29545 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29547 (cacos_test): Add more tests.
29548 (casin_test): Likewise.
29549 (casinh_test): Likewise.
29550 * sysdeps/i386/fpu/libm-test-ulps: Update.
29551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29552
0f6a8d4b
SP
295532013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29554
0d1029de
SP
29555 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29556 ONE with its value.
29557
c2d94018
SP
29558 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29559 (__pow_mp): Replace ONE and MONE with their values.
29560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29562 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29563 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29564 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29565 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29566
27ec37f1
SP
29567 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29568
a64d7e0e
SP
29569 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29570 (__pow_mp): Replace ZERO and MZERO with their values.
29571 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29573 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29575 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29576 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29577 (__sqr): Likewise.
29578
d26dd3eb
SP
29579 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29580
0f6a8d4b
SP
29581 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29582
e57b0c61
RM
295832013-03-28 Roland McGrath <roland@hack.frob.com>
29584
29585 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29586 Declare with __attribute__ ((weak)).
29587 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29588 Call __call_tls_dtors only if it's not NULL.
29589
356b3480
RM
295902013-03-28 Roland McGrath <roland@hack.frob.com>
29591
288f7d79
RM
29592 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29593 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29594 magic __ehdr_start linker symbol if it's defined.
29595 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29596 them up here if it was already done.
29597
dc0a0263
RM
29598 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29599 (_dl_aux_init): Use const in cast when setting it.
29600 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29601 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29602 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29603
3d3436ae
RM
29604 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29605 Declare them here.
29606 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29607 * csu/libc-tls.c: Nor here.
29608 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29609
356b3480
RM
29610 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29611 (__libc_message): Never call vsyslog.
29612
b0f1246a
AM
296132013-03-28 Alan Modra <amodra@gmail.com>
29614
29615 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29616 Define as empty.
29617 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29618 Likewise.
29619
fbbe2b9a
AZ
296202013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29621
29622 [BZ #15214]
29623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29624 underflow.
29625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29626
1728ab37
SP
296272013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29628
7a86be6e
SP
29629 [BZ #15304]
29630 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29631 Don't add gid passed as argument.
29632
1728ab37
SP
29633 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29634
3a7182a1
JM
296352013-03-27 Joseph Myers <joseph@codesourcery.com>
29636
29637 [BZ #15307]
29638 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29639 imaginary part between 1.0 and 1.5 and real part less than 0.5
29640 specially.
29641 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29642 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29643 * math/libm-test.inc (cacos_test): Add more tests.
29644 (casin_test): Likewise.
29645 (casinh_test): Likewise.
29646 * sysdeps/i386/fpu/libm-test-ulps: Update.
29647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29648
6f2e90e7
SP
296492013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29650
5739f705
SP
29651 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29652 constants.
29653 (norm): Likewise.
29654 (denorm): Likewise.
29655 (__dbl_mp): Likewise.
29656 (add_magnitudes): Likewise.
29657 (sub_magnitudes): Likewise.
29658 (__add): Likewise.
29659 (__sub): Likewise.
29660 (__mul): Likewise.
29661 (__sqr): Likewise.
29662 (__inv): Likewise.
29663 (__dvd): Likewise.
29664
e375e83d
SP
29665 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29666 commented code.
29667 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29668 (__dubcos): Likewise.
29669 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29670 (__ieee754_acos): Likewise.
29671 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29673 (__exp1): Likewise.
29674 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29676 (log1): Likewise.
29677 (my_log2): Likewise.
29678 (checkint): Likewise.
29679 * sysdeps/ieee754/dbl-64/e_remainder.c
29680 (__ieee754_remainder): Likewise.
29681 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29683 (bsloww): Likewise.
29684 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29685
6f2e90e7
SP
29686 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29687 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29688 MANTISSA_STORE_T to store computations on mantissa. Use
29689 macros for rounding and division.
29690 (denorm): Likewise.
29691 (__dbl_mp): Likewise.
29692 (add_magnitudes): Likewise.
29693 (sub_magnitudes): Likewise.
29694 (__mul): Likewise.
29695 (__sqr): Likewise.
29696 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29697 powers of two in terms of TWOPOW macro.
29698 (mp_no): Make type of mantissa as MANTISSA_T.
29699 [!RADIXI]: Define RADIXI.
29700 [!TWO52]: Define TWO52.
29701 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29702
fce14d4e
AZ
297032013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29704
29705 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29706 llroundl symbol when building for PPC32.
29707
9ad027fb
MW
297082013-03-24 Mark H Weaver <mhw@netris.org>
29709
29710 * manual/arith.texi (Normalization Functions): Fix prototypes for
29711 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29712
e42a38dd
AZ
297132013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29714
29715 [BZ #13889]
29716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29717 high value to check if expl overflow.
29718 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29719 to check for underflow and overflow.
29720 * math/libm-test.inc: Add exp test.
29721
2e0fb521
DL
297222013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29723
29724 [BZ #11120]
29725 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29726 with NOT_IN_libc.
29727
b5784d95
AZ
297282013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29729
29730 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29731 symbol.
29732
5aa4a1a1
TS
297332013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29734
bdef0be7
TS
29735 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29736 wrap blocks consisting of several statements.
29737
5aa4a1a1
TS
29738 * sysdeps/generic/math-tests.h: New file.
29739 * sysdeps/i386/fpu/math-tests.h: Likewise.
29740 * math/test-snan.c: Include it.
29741 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29742
98c48fe5
JM
297432013-03-21 Joseph Myers <joseph@codesourcery.com>
29744
29745 [BZ #15285]
29746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29747 (__ieee754_j0l): Do not improve calculations using cos of twice
29748 input for inputs above LDBL_MAX / 2.0L.
29749 (__ieee754_y0l): Likewise.
29750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29751 (__ieee754_j1l): Do not improve calculations using cos of twice
29752 input for inputs above LDBL_MAX / 2.0L.
29753 (__ieee754_y1l): Likewise.
29754 * math/libm-test.inc (j0_test): Add another test.
29755 (j1_test): Likewise.
29756 (y0_test): Likewise.
29757 (y1_test): Likewise.
29758 * sysdeps/i386/fpu/libm-test-ulps: Update.
29759
3775a8bc
SP
297602013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29761
29762 * Rules ($(objpfx)bench-%.c): Include code from a C source
29763 file.
29764
0a1b2ae6
JM
297652013-03-21 Joseph Myers <joseph@codesourcery.com>
29766
29767 [BZ #15287]
29768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29769 imaginary part 1.0 and real part less than 0.5 specially.
29770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29772 * math/libm-test.inc (cacos_test): Add more tests.
29773 (casin_test): Likewise.
29774 (casinh_test): Likewise.
29775 * sysdeps/i386/fpu/libm-test-ulps: Update.
29776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29777
b33d4ce4
SP
297782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29779
29780 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29781 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29782
bef0b507
JM
297832013-03-20 Joseph Myers <joseph@codesourcery.com>
29784
29785 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29786 * config.make.in (config-cflags-sse4): Remove variable.
29787 (config-cflags-avx): Likewise.
29788 (config-cflags-sse2avx): Likewise.
29789 (config-cflags-novzeroupper): Likewise.
29790 (config-asflags-i686): Likewise.
29791 (have-mfma4): Likewise.
29792 (have-as-vis3): Likewise.
29793 (MIG): Likewise.
29794 * configure.in (MIG): Do not AC_SUBST.
29795 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29796 (libc_cv_cc_sse4): Do not AC_SUBST.
29797 (libc_cv_cc_avx): Likewise.
29798 (libc_cv_cc_sse2avx): Likewise.
29799 (libc_cv_cc_novzeroupper): Likewise.
29800 (libc_cv_cc_fma4): Likewise.
29801 (libc_cv_as_i686): Likewise.
29802 (libc_cv_sparc_as_vis3): Likewise.
29803 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29804 LIBC_CONFIG_VAR.
29805 (config-asflags-i686): Likewise.
29806 (config-cflags-avx): Likewise.
29807 (config-cflags-sse2avx): Likewise.
29808 (have-mfma4): Likewise.
29809 (config-cflags-novzeroupper): Likewise.
29810 * sysdeps/mach/configure.in (MIG): Likewise.
29811 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29812 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29813 LIBC_CONFIG_VAR.
29814 (config-cflags-avx): Likewise.
29815 (config-cflags-sse2avx): Likewise.
29816 (have-mfma4): Likewise.
29817 (config-cflags-novzeroupper): Likewise.
29818 * configure: Regenerated.
29819 * sysdeps/i386/configure: Likewise.
29820 * sysdeps/mach/configure: Likewise.
29821 * sysdeps/sparc/configure: Likewise.
29822 * sysdeps/x86_64/configure: Likewise.
29823
912cc4b3
RM
298242013-03-20 Roland McGrath <roland@hack.frob.com>
29825
29826 [BZ #14812]
29827 * locale/programs/localedef.c (options): Put N_ translation marker
29828 on argument names, not just descriptions.
29829
04eed2b0
MS
298302013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29831
29832 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29833
a065ceff
OB
298342013-03-20 Ondřej Bílka <neleai@seznam.cz>
29835
9bb2a810 29836 [BZ #14176]
a065ceff
OB
29837 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29838
a600e5ce
RM
298392013-03-19 Roland McGrath <roland@hack.frob.com>
29840
29841 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29842 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29843 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29844 [!BEFORE_ABORT] (before_abort): New function.
29845 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29846 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29847 (writev_for_fatal): New function.
29848 (WRITEV_FOR_FATAL): New macro; call that.
29849 (backtrace_and_maps): New function.
29850 (BEFORE_ABORT): New macro; call that.
29851 (struct str_list): Type removed.
29852 (__libc_message, __libc_fatal): Functions removed.
29853 Include <sysdeps/posix/libc_fatal.c> instead.
29854
6b18bea6
JM
298552013-03-19 Joseph Myers <joseph@codesourcery.com>
29856
29857 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29858 constants.
29859 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29860 double constants.
29861
aaa8cb4b
AS
298622013-03-19 Andreas Schwab <schwab@suse.de>
29863
44673770
AS
29864 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29865 * sysdeps/gnu/configure: Regenerate.
29866
aaa8cb4b
AS
29867 * configure.in: Substitute libc_cv_rtlddir.
29868 * configure: Regenerate.
29869 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29870 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29871 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29872 * elf/Makefile (install-others, CFLAGS-interp.c)
29873 (ldso_install, common-ldd-rewrite): Likewise.
29874 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29875 $(inst_slibdir)/$(rtld-installed-name).
29876 * scripts/rellns-sh: Add -p option.
29877 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29878 for source.
29879
d3cfc668
SP
298802013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29881
29882 * manual/nptl.texi: Renamed to ...
29883 * manual/threads.texi: ... this.
29884 * manual/Makefile (chapters): Update.
29885
0e2b9cdd
RM
298862013-03-18 Roland McGrath <roland@hack.frob.com>
29887
29888 [BZ #14812]
29889 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29890 on argument names, not just descriptions.
0e2b9cdd
RM
29891 * malloc/memusagestat.c (options): Likewise.
29892 * nss/getent.c (options): Likewise.
63270c24
RM
29893
298942013-03-18 Benno Schulenberg <bensberg@justemail.net>
29895
29896 [BZ #14812]
29897 * iconv/iconv_prog.c (options): Put N_ translation marker
29898 on argument names, not just descriptions.
29899 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29900
b2e1393c
OB
299012013-03-18 Ondrej Bilka <neleai@seznam.cz>
29902
29903 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29904 implementation which is faster on all x86_64 architectures.
29905 Tested on AMD, Intel Nehalem, SNB, IVB.
29906 * sysdeps/x86_64/strnlen.S: Likewise.
29907
29908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29909 Remove all multiarch strlen and strnlen versions.
29910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29911 Remove strlen and strnlen related parts.
29912
29913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29914 Inline strlen part.
29915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29916
29917 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29918 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29919 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29920 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29921 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29922 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29923
ec4ff04d
CD
299242013-03-17 Carlos O'Donell <carlos@redhat.com>
29925
29926 * manual/memory.texi (Malloc Tunable Parameters):
29927 Sort parameters alphabetically. Add comments for missing entries.
29928
cd18e90a
DM
299292013-03-17 David S. Miller <davem@davemloft.net>
29930
29931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29932
2a185d32
JM
299332013-03-16 Joseph Myers <joseph@codesourcery.com>
29934
d2f9799e
JM
29935 [BZ #15283]
29936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29937 for arguments at most half maximum finite value.
29938 * math/libm-test.inc (j0_test): Add more tests.
29939 (j1_test): Likewise.
29940 (y0_test): Likewise.
29941 (y1_test): Likewise.
29942 * sysdeps/i386/fpu/libm-test-ulps: Update.
29943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29944
2a185d32
JM
29945 [BZ #14155]
29946 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29947 1 / x and functions P and Q for arguments above 0x1p256L.
29948 (__ieee754_y0l): Likewise.
29949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29950 (__ieee754_y1l): Likewise.
29951 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29952 (j1_test): Likewise.
29953 (y0_test): Likewise.
29954 (y1_test): Likewise.
29955
6cbec759
TS
299562013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29957
29958 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29959 variable.
29960
bc16e260
RM
299612013-03-15 Roland McGrath <roland@hack.frob.com>
29962
aefc9b8c
RM
29963 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29964 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29965 zero since it's initialized to EXEC_PAGESIZE.
29966
bc16e260
RM
29967 * sysdeps/unix/sysv/linux/ldsodefs.h
29968 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29969 * sysdeps/generic/ldsodefs.h: ... here.
29970
a57da955
TS
299712013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29972
af00a34d
TS
29973 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29974
495ded2c
TS
29975 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29976 math/test-snan.c.
29977 * math/test-snan.c: Renamed from
29978 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29979 * math/Makefile (tests): Add test-snan.
29980 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29981 test-powerpc-snan.
29982
777b0332
TS
29983 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29984 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29985 functions.
29986 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29987 __builtin_nan family of functions.
29988 * math/libm-test.inc (initialize): Initialize qnan_value with
29989 __builtin_nan family of functions.
29990 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29991 Remove variables.
29992 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29993 Remove functions.
29994 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29995 storage class. Initialize qNaN_var and sNaN_var with
29996 __builtin_nan and __builtin_nans families of functions,
29997 respectively.
29998
64d063b8
TS
29999 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30000 (sqrt_test): Remove duplicate test with qNaN input.
30001 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30002 (round_test, signbit_test, significand_test): Note missing +/-Inf
30003 as well as qNaN tests.
30004
67e971f1
TS
30005 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30006 qNaN_var. Fix a few strings, too.
30007 * math/libm-test.inc (nan_value): Rename to qnan_value.
30008 * math/gen-libm-test.pl (%beautify): Adjust to that.
30009 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30010 * math/test-misc.c (main): Likewise.
30011 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30012 to __qnan_bytes, and __qnan_union, respectively.
30013 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30014 Likewise.
30015 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30016 and lqnanval, respectively.
30017 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30018 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30019 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30020 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30021
64487e12
TS
30022 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30023 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30024 doubles.
30025
e015e27b
TS
30026 * math/test-misc.c (main): Fix copy'n'pastos.
30027 * misc/tst-efgcvt.c (special): Likewise.
30028
a57da955
TS
30029 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30030 Remove declarations.
30031
1e380345
SP
300322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30033
30034 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30035 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30036 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30037 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30038
ef26eece
AZ
300392013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30040
30041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30042 macro to return vdso values correctly in IFUNC implementations.
30043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30044 Optimization by using IFUNC.
30045
8cfdb7e0
SP
300462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30047 Richard Henderson <rth@redhat.com>
30048 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30049
30050 * Makefile.in (bench): New target.
30051 * NEWS: Mention the benchmark framework.
30052 * Rules (bench): Likewise.
30053 (binaries-bench): Generate binaries for functions to
30054 benchmark.
30055 * benchtests/Makefile: New makefile for benchmark tests.
30056 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30057 programs.
30058 * benchtests/exp-inputs: New input file for EXP function.
30059 * benchtests/pow-inputs: New input file for POW function.
30060 * scripts/bench.pl: New script to generate source files for
30061 benchmark programs.
30062
bcda9880
SP
300632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30064
d22ca8cd
SP
30065 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30067 computations on mantissa. Use macros for rounding and
30068 division.
30069 (denorm): Likewise.
30070 (__dbl_mp): Likewise.
30071 (add_magnitudes): Likewise.
30072 (sub_magnitudes): Likewise.
30073 (__mul): Likewise.
30074 (__sqr): Likewise.
30075 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30076 powers of two in terms of TWOPOW macro.
30077 (mp_no): Make type of mantissa as MANTISSA_T.
30078 [!RADIXI]: Define RADIXI.
30079 [!TWO52]: Define TWO52.
30080 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30081
bcda9880
SP
30082 * manual/nptl.texi (cindex): Modify threads to pthreads.
30083
06d5adfb
JM
300842013-03-15 Joseph Myers <joseph@codesourcery.com>
30085
30086 * sysdeps/x86_64/preconfigure: Regenerated.
30087
41c7328e
JM
300882013-03-14 Joseph Myers <joseph@codesourcery.com>
30089
30090 [BZ #14155]
30091 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30092 0x1p28 and above.
30093 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30094 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30095 0x1p28 and above.
30096 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30097 * math/libm-test.inc (j0_test): Do not allow one spurious
30098 underflow exception.
30099 (y1_test): Likewise.
30100
e25cfa60
SP
301012013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30102
0409959c
SP
30103 * manual/Makefile (chapters): Add nptl.
30104 * manual/debug.texi (Debugging Support): Add link to Threads
30105 chapter.
30106 * manual/nptl.texi: New file.
30107
e25cfa60
SP
30108 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30109
58a1335e
PB
301102013-03-14 Petr Baudis <pasky@ucw.cz>
30111
30112 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30113 for non-NULL pointer before the memory validity test. Pointed
30114 out by Holger Brunck <holger.brunck@keymile.com>.
30115
9dc7c64f
AS
301162013-03-13 Andreas Schwab <schwab@suse.de>
30117
30118 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30119 instead of .os.
30120
54206aa6
JM
301212013-03-13 Joseph Myers <joseph@codesourcery.com>
30122
30123 * timezone/zic.c: Update from tzcode 2013b.
30124
e98cdb38
CD
301252013-03-12 Carlos O'Donell <carlos@redhat.com>
30126
30127 * manual/install.texi (Configuring and compiling):
30128 Mention i686 and i586.
30129 * INSTALL: Regenerate.
30130
9967e003
RM
301312013-03-12 Roland McGrath <roland@hack.frob.com>
30132
30133 * sysdeps/init_array/elf-init.c: New file.
30134 * csu/elf-init.c
30135 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30136 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30137
30138 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30139 __gmon_start__ as global, but as static with a .preinit_array pointer.
30140 * sysdeps/init_array/gmon-start.c: New file. Use that.
30141 * sysdeps/init_array/crti.S: New file, empty except for comments.
30142 * sysdeps/init_array/crtn.S: Likewise.
30143
e6b5a293 301442013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30145
30146 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30147 definining bcopy.
80f844c9
OB
30148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30149 Remove Prefer_SSE_for_memop.
30150 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30151 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30152 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30154 memset-x86-64.
80f844c9 30155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30156 Remove bzero, memset ifunc support.
80f844c9
OB
30157 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30158 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30159 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30160 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30161
fb6b0fcb
AS
301622013-03-11 Andreas Schwab <schwab@suse.de>
30163
30164 [BZ #15234]
30165 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30166 by SHLIB_COMPAT.
30167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30168 (GLIBC_2.16): Remove pthread_atfork.
30169
3e6bd4b1
PP
301702013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30171
30172 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30173 (ptestcases.h): Likewise.
30174
222d7f00
RM
301752013-03-08 Roland McGrath <roland@hack.frob.com>
30176
30177 * Makeconfig ($(common-objpfx)config.status): Depend on
30178 sysdeps/*/preconfigure{,.in} too.
30179
1ba4f030
JM
301802013-03-08 Joseph Myers <joseph@codesourcery.com>
30181
a222d91a
JM
30182 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30183 (__free_hook): Use void * instead of __malloc_ptr_t.
30184 (__malloc_hook): Likewise.
30185 (__realloc_hook): Likewise.
30186 (__memalign_hook): Likewise.
30187 (__after_morecore_hook): Likewise.
30188 * malloc/arena.c (save_malloc_hook): Likewise.
30189 (save_free_hook): Likewise.
30190 * malloc/hooks.c (malloc_hook_ini): Likewise.
30191 (realloc_hook_ini): Likewise.
30192 (memalign_hook_ini): Likewise.
30193 * malloc/malloc.c (malloc_hook_ini): Likewise.
30194 (realloc_hook_ini): Likewise.
30195 (memalign_hook_ini): Likewise.
30196 (__free_hook): Likewise.
30197 (__malloc_hook): Likewise.
30198 (__realloc_hook): Likewise.
30199 (__memalign_hook): Likewise.
30200 (__libc_malloc): Likewise.
30201 (__libc_free): Likewise.
30202 (__libc_realloc): Likewise.
30203 (__libc_memalign): Likewise.
30204 (__libc_valloc): Likewise.
30205 (__libc_pvalloc): Likewise.
30206 (__libc_calloc): Likewise.
30207 (__posix_memalign): Likewise.
30208 * malloc/morecore.c (__sbrk): Likewise.
30209 (__default_morecore): Likewise.
30210
5cc45e10
JM
30211 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30212
dd54b864
JM
30213 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30214 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30215 __malloc_ptrdiff_t.
30216
1ba4f030
JM
30217 * malloc/malloc.h (__malloc_size_t): Remove macro.
30218 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30219 __malloc_size_t.
30220 (old_memalign_hook): Likewise.
30221 (old_realloc_hook): Likewise.
30222 (struct hdr): Likewise.
30223 (flood): Likewise.
30224 (mallochook): Likewise.
30225 (memalignhook): Likewise.
30226 (reallochook): Likewise.
30227 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30228 (tr_old_realloc_hook): Likewise.
30229 (tr_old_memalign_hook): Likewise.
30230 (tr_mallochook): Likewise.
30231 (tr_reallochook): Likewise.
30232 (tr_memalignhook): Likewise.
30233
edf66e57
AZ
302342013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30235
30236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30237 default_ldbl_pack and using as default implementation.
30238 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30239 implementation.
30240 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30241 redundant definition.
30242 (ldbl_insert_mantissa): Likewise.
30243 (ldbl_canonicalize): Likewise.
30244 (ldbl_nearbyint): Likewise.
30245 (ldbl_pack): Rename to ldbl_pack_ppc.
30246 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30247 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30248 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30249
6d9145d8
SP
302502013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30251
30252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30253 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30254 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30255 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30257 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30258 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30259 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30260
4dd4e157
AJ
302612013-03-07 Andreas Jaeger <aj@suse.de>
30262
30263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30264 bits/mman-linux.h.
30265
adbb8027
SP
302662013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30267
ce544b5b
SP
30268 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30269 Include mpa.h and declare __MPEXP.
30270 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30272 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30273 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30275 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30276 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30277
4cc149fd
SP
30278 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30279 (__slowpow): Use long double EXPL and LOGL functions to
30280 compute POW.
30281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30282 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30283 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30285 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30287
e6ebd4a7
SP
30288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30289 intermediate variable to calculate exponent.
30290 (__sqr): Likewise.
30291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30292 Likewise.
30293 (__sqr): Likewise.
30294
82a9811d
SP
30295 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30296 [!NO__SQR]: Define __sqr.
30297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30298 and NO__SQR. Remove all code except __mul and __sqr. Include
30299 sysdeps/ieee754/dbl-64/mpa.c.
30300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30301
adbb8027
SP
30302 [BZ #12723]
30303 * posix/Makefile (tests): Add tst-pathconf.
30304 * posix/tst-pathconf.c: New test case.
30305 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30306 _PC_PIPE_BUF.
30307 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30308
39120df9
PF
303092013-03-06 Patsy Franklin <pfrankli@redhat.com>
30310
30311 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30312
67525cb8
AJ
303132013-03-06 Andreas Jaeger <aj@suse.de>
30314
664a9ce4
AJ
30315 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30316 definition via __MAP_ANONYMOUS.
30317
8e39047d
AJ
30318 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30319 it's not part of Linux headers.
30320
67525cb8
AJ
30321 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30322 (MAP_HUGE_MASK): Define.
30323
30324 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30325 Define.
30326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30328 Define.
30329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30330 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30331 Define.
30332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30333 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30334 Define.
30335 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30336
30337 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30338 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30339 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30340 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30341 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30342 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30343
30344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30345 Handle f2fs.
30346
30347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30348 Handle f2fs and efivarfs.
30349
30350 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30351 f2fs.
30352
30353 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30354 (EFIVARFS_MAGIC): Add.
30355 (F2FS_LINK_MAX): Add.
30356
e1b42695
PP
303572013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30358
30359 * stdio-common/vfprintf.c: Replace __builtin_expect with
30360 __glibc_unlikely.
30361
2d67d91a
JM
303622013-03-06 Joseph Myers <joseph@codesourcery.com>
30363
30364 [BZ #13550]
30365 * sysdeps/generic/bp-sym.h: Remove file.
30366 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30367 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30368 <bp-sym.h> and <bp-asm.h>.
30369 (__longjmp): Don't use BP_SYM.
30370 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30371 and <bp-asm.h>.
30372 (memcpy): Don't use BP_SYM.
30373 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30374 <bp-sym.h> and <bp-asm.h>.
30375 (memcpy): Don't use BP_SYM.
30376 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30377 <bp-asm.h>.
30378 (memcpy): Don't use BP_SYM.
30379 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30380 <bp-asm.h>.
30381 (memset): Don't use BP_SYM.
30382 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30383 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30384 (__bzero): Don't use BP_SYM.
30385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30387 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30388 <bp-sym.h> and <bp-asm.h>.
30389 (memcmp): Don't use BP_SYM. Remove comment about bounded
30390 pointers.
30391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30392 <bp-sym.h> and <bp-asm.h>.
30393 (memcpy): Don't use BP_SYM.
30394 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30395 <bp-sym.h> and <bp-asm.h>.
30396 (memset): Don't use BP_SYM.
30397 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30398 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30399 (__bzero): Don't use BP_SYM.
30400 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30401 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30402 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30403 <bp-sym.h> and <bp-asm.h>.
30404 (strncmp): Don't use BP_SYM. Remove comment about bounded
30405 pointers.
30406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30407 <bp-sym.h> and <bp-asm.h>.
30408 (memcpy): Don't use BP_SYM.
30409 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30410 <bp-sym.h> and <bp-asm.h>.
30411 (memset): Don't use BP_SYM.
30412 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30413 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30414 (__bzero): Don't use BP_SYM.
30415 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30416 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30418 <bp-sym.h> and <bp-asm.h>.
30419 (__memchr): Don't use BP_SYM.
30420 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30421 <bp-sym.h> and <bp-asm.h>.
30422 (memcmp): Don't use BP_SYM. Remove comment about bounded
30423 pointers.
30424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30425 <bp-sym.h> and <bp-asm.h>.
30426 (memcpy): Don't use BP_SYM.
30427 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30428 <bp-sym.h> and <bp-asm.h>.
30429 (__mempcpy): Don't use BP_SYM.
30430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30431 <bp-sym.h> and <bp-asm.h>.
30432 (__memrchr): Don't use BP_SYM.
30433 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30434 <bp-sym.h> and <bp-asm.h>.
30435 (memset): Don't use BP_SYM.
30436 (__bzero): Likewise.
30437 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30438 <bp-sym.h> and <bp-asm.h>.
30439 (__rawmemchr): Don't use BP_SYM.
30440 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30441 <bp-sym.h> and <bp-asm.h>.
30442 (__STRCMP): Don't use BP_SYM.
30443 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30444 <bp-sym.h> and <bp-asm.h>.
30445 (strchr): Don't use BP_SYM.
30446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30447 <bp-sym.h> and <bp-asm.h>.
30448 (__strchrnul): Don't use BP_SYM.
30449 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30450 <bp-sym.h> and <bp-asm.h>.
30451 (strlen): Don't use BP_SYM.
30452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30453 <bp-sym.h> and <bp-asm.h>.
30454 (strncmp): Don't use BP_SYM. Remove comment about bounded
30455 pointers.
30456 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30457 <bp-sym.h> and <bp-asm.h>.
30458 (__strnlen): Don't use BP_SYM.
30459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30460 <bp-sym.h> and <bp-asm.h>.
30461 (__GI__setjmp): Don't use BP_SYM.
30462 (_setjmp): Likewise.
30463 (__sigsetjmp): Likewise.
30464 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30465 (L(start_addresses)): Don't use BP_SYM.
30466 (_start): Likewise.
30467 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30468 <bp-asm.h>.
30469 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30470 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30473 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30474 <bp-asm.h>.
30475 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30476 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30477 about bounded pointers.
30478 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30479 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30480 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30481 <bp-asm.h>.
30482 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30483 about bounded pointers. Remove GKM FIXME comments.
30484 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30485 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30486 <bp-asm.h>.
30487 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30488 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30489 Remove GKM FIXME comments.
30490 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30491 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30492 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30493 <bp-asm.h>.
30494 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30495 about bounded pointers. Remove GKM FIXME comment.
30496 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30497 and <bp-asm.h>.
30498 (strncmp): Don't use BP_SYM. Remove comment about bounded
30499 pointers.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30501 <bp-sym.h> and <bp-asm.h>.
30502 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30504 <bp-sym.h> and <bp-asm.h>.
30505 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30506 comment.
30507
cdcf361f
PP
305082013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30509
30510 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30511 call free(NULL).
30512
3c4a2b15
DM
305132013-03-05 David S. Miller <davem@davemloft.net>
30514
30515 * po/es.po: Update from translation team.
30516
cdcf361f 305172013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30518
30519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30520 <bits/mman-linux.h>.
30521 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30522 is fine.
30523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30524 <bits/mman-linux.h> to end of file.
30525 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30526 is fine.
30527 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30528 <bits/mman-linux.h> to end of file.
30529 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30530 is fine.
30531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30532 <bits/mman-linux.h> to end of file.
30533
30534 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30535 (MCL_CURRENT, MCL_FUTURE): Define here.
30536
5f67c04f
AK
305372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30538
8a4473cc 30539 [BZ #15232]
5f67c04f
AK
30540 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30541 attribute_hidden.
30542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30543
c3e94a95
AK
305442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30545
30546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30547 fourth parameter needed for rt_sigprocmask syscall.
30548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30549 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30551 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30552 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30553 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30554
cfb6382a
JM
305552013-03-04 Joseph Myers <joseph@codesourcery.com>
30556
30557 [BZ #13550]
30558 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30559 comment about bounded pointers.
30560 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30561 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30562
539d8e01
AJ
305632013-03-04 Andreas Jaeger <aj@suse.de>
30564
30565 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30566 common definitions.
30567
30568 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30569 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30570 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30572 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30574
2e167a70 305752013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30576
30577 [BZ #15055]
30578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30579 __ieee754_sqrl instead of __sqrl.
30580
68508633
JM
305812013-03-01 Joseph Myers <joseph@codesourcery.com>
30582
30583 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30584 * sysdeps/powerpc/fpu_control.h: ... here.
30585 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30586 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30587 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30588 * sysdeps/powerpc/bits/mathinline.h: ... here.
30589
7775448e
RM
305902013-03-01 Roland McGrath <roland@hack.frob.com>
30591
30592 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30593 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30594 to just [NEED_DL_SYSINFO_DSO].
30595 * elf/dl-support.c: Likewise.
30596 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30597 * elf/rtld.c (dl_main): Likewise.
30598 * elf/setup-vdso.h (setup_vdso): Likewise.
30599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30600 * sysdeps/unix/sysv/linux/dl-sysdep.c
30601 (_dl_discover_osversion): Likewise.
30602
4e9b5995
CD
306032013-03-01 Carlos O'Donell <carlos@redhat.com>
30604
30605 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30606 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30607
e23872c8
SP
306082013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30609
e5c74c63
SP
30610 * NEWS: Mention libm performance improvements and non-x86 PI
30611 futex support.
30612
e23872c8
SP
30613 * csu/libc-start.c (__pthread_initialize_minimal): Change
30614 function arguments.
30615 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30616
b5510883
JM
306172013-02-28 Joseph Myers <joseph@codesourcery.com>
30618
30619 [BZ #13550]
30620 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30622 <bp-sym.h> and <bp-asm.h>.
30623 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30624 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30625 and <bp-asm.h>.
30626 (memcpy): Don't use BP_SYM.
30627 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30628 <bp-asm.h>.
30629 (__mpn_add_n): Don't use BP_SYM.
30630 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30631 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30632 and <bp-asm.h>.
30633 (__mpn_addmul_1): Don't use BP_SYM.
30634 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30635 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30636 <bp-sym.h>.
30637 (_setjmp): Don't use BP_SYM.
30638 (__novmx_setjmp): Likewise.
30639 (__GI__setjmp): Likewise.
30640 (__vmx_setjmp): Likewise.
30641 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30642 <bp-sym.h>.
30643 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30644 (__bzero): Don't use BP_SYM.
30645 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30646 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30647 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30648 <bp-sym.h> and <bp-asm.h>.
30649 (memcpy): Don't use BP_SYM.
30650 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30651 <bp-sym.h> and <bp-asm.h>.
30652 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30654 <bp-sym.h> and <bp-asm.h>.
30655 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30656 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30657 <bp-asm.h>.
30658 (__mpn_lshift): Don't use BP_SYM.
30659 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30660 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30661 <bp-asm.h>.
30662 (memset): Don't use BP_SYM.
30663 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30664 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30665 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30666 <bp-asm.h>.
30667 (__mpn_mul_1): Don't use BP_SYM.
30668 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30669 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30670 <bp-sym.h> and <bp-asm.h>.
30671 (memcmp): Don't use BP_SYM.
30672 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30673 <bp-sym.h> and <bp-asm.h>.
30674 (memcpy): Don't use BP_SYM.
30675 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30676 <bp-sym.h> and <bp-asm.h>.
30677 (memset): Don't use BP_SYM.
30678 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30679 <bp-sym.h> and <bp-asm.h>.
30680 (strncmp): Don't use BP_SYM.
30681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30682 <bp-sym.h> and <bp-asm.h>.
30683 (memcpy): Don't use BP_SYM.
30684 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30685 <bp-sym.h> and <bp-asm.h>.
30686 (memset): Don't use BP_SYM.
30687 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30688 <bp-sym.h> and <bp-asm.h>.
30689 (__memchr): Don't use BP_SYM.
30690 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30691 <bp-sym.h> and <bp-asm.h>.
30692 (memcmp): Don't use BP_SYM.
30693 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30694 <bp-sym.h> and <bp-asm.h>.
30695 (memcpy): Don't use BP_SYM.
30696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30697 <bp-sym.h> and <bp-asm.h>.
30698 (__mempcpy): Don't use BP_SYM.
30699 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30700 <bp-sym.h> and <bp-asm.h>.
30701 (__memrchr): Don't use BP_SYM.
30702 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30703 <bp-sym.h> and <bp-asm.h>.
30704 (memset): Don't use BP_SYM.
30705 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30706 <bp-sym.h> and <bp-asm.h>.
30707 (__rawmemchr): Don't use BP_SYM.
30708 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30709 <bp-sym.h> and <bp-asm.h>.
30710 (__STRCMP): Don't use BP_SYM.
30711 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30712 <bp-sym.h> and <bp-asm.h>.
30713 (strchr): Don't use BP_SYM.
30714 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30715 <bp-sym.h> and <bp-asm.h>.
30716 (__strchrnul): Don't use BP_SYM.
30717 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30718 <bp-sym.h> and <bp-asm.h>.
30719 (strlen): Don't use BP_SYM.
30720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30721 <bp-sym.h> and <bp-asm.h>.
30722 (strncmp): Don't use BP_SYM.
30723 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30724 <bp-sym.h> and <bp-asm.h>.
30725 (__strnlen): Don't use BP_SYM.
30726 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30727 <bp-asm.h>.
30728 (__mpn_rshift): Don't use BP_SYM.
30729 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30730 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30731 <bp-sym.h> and <bp-asm.h>.
30732 (__sigsetjmp): Don't use BP_SYM.
30733 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30734 (L(start_addresses)): Don't use BP_SYM.
30735 (_start): Likewise.
30736 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30737 <bp-asm.h>.
30738 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30739 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30740 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30741 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30742 <bp-asm.h>.
30743 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30744 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30745 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30746 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30747 <bp-asm.h>.
30748 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30749 comments.
30750 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30751 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30752 <bp-asm.h>.
30753 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30754 FIXME comments.
30755 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30756 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30757 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30758 <bp-asm.h>.
30759 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30760 comment.
30761 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30762 and <bp-asm.h>.
30763 (strncmp): Don't use BP_SYM,
30764 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30765 <bp-asm.h>.
30766 (__mpn_sub_n): Don't use BP_SYM.
30767 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30768 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30769 and <bp-asm.h>.
30770 (__mpn_submul_1): Don't use BP_SYM.
30771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30773 <bp-sym.h> and <bp-asm.h>.
30774 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30776 <bp-sym.h> and <bp-asm.h>.
30777 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30778 comment.
30779
8d19fe64
SP
307802013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30781
30782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30783 Use ZK to minimize writes to Z.
30784 (sub_magnitudes): Simplify code a bit.
30785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30786 Use ZK to minimize writes to Z.
30787 (sub_magnitudes): Simplify code a bit.
30788
85bd816a
RM
307892013-02-27 Roland McGrath <roland@hack.frob.com>
30790
30791 * csu/gmon-start.c: Add special exception to license text.
30792
b5977bf2
RH
307932013-02-27 Richard Henderson <rth@redhat.com>
30794
30795 * scripts/config.guess: Update from config.git.
30796 * scripts/config.sub: Likewise.
30797
11d6e2f2
SP
307982013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30799
09c14ed2
SP
30800 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30801
a688864e
SP
30802 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30803
6295157a
SP
30804 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30805
b8de2202
SP
30806 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30807
11d6e2f2
SP
30808 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30809
7e80ddb8
RM
308102013-02-26 Roland McGrath <roland@hack.frob.com>
30811
30812 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30813 [$(build-shared = yes].
7e80ddb8 30814
7da6d9ed
SP
308152013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30816
45f05884
SP
30817 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30818 (__mul): Reduce iterations for calculating mantissa.
30819
2236d359
SP
30820 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30821 MPTWO.
30822 (__mpranred): Likewise.
30823
7da6d9ed
SP
30824 [BZ #15160]
30825 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30826 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30827
b7688c42
PE
308282013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30829
30830 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30831 Define __attribute__.
30832
53a5c423
SP
308332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30834
30835 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30836 unused.
30837 * posix/regex_internal.h (__attribute): Remove.
30838 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30839 (re_string_context_at): Likewise.
30840 (bitset_not): Use __attribute__ and mark function as possibly
30841 unused.
30842 (bitset_merge): Likewise.
30843 (bitset_mask): Likewise.
30844 (re_string_char_size_at): Likewise.
30845 (re_string_wchar_at): Likewise.
30846 (re_string_elem_size_at): Likewise.
30847
60f5a8b5
SP
308482013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30849
2a983a2e
SP
30850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30851 code.
30852 (cc32): Likewise.
30853
e69804d1
SP
30854 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30855 (__acr): Likewise.
30856 (__cpy): Likewise.
30857 (norm): Likewise.
30858 (denorm): Likewise.
30859 (__dbl_mp): Likewise.
30860 (add_magnitudes): Likewise.
30861 (sub_magnitudes): Likewise.
30862 (__mul): Likewise.
30863 (__inv): Likewise.
30864
2f22a1e8
SP
30865 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30866 style.
30867
8930ddc7
SP
30868 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30869 style.
30870
dc60cb11
SP
30871 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30872 code.
30873
60f5a8b5
SP
30874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30875 up changes with default code.
30876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30877 Likewise.
30878
b4d1fd33
AM
308792013-02-24 Allan McRae <allan@archlinux.org>
30880
faf6f8bc
AM
30881 * manual/socket.texi (The Internet Namespace): Order menu items
30882 to match that in the file.
30883
b4d1fd33
AM
30884 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30885 node listing of the info page menu.
30886
2366713d
JM
308872013-02-21 Joseph Myers <joseph@codesourcery.com>
30888
30889 [BZ #13550]
30890 * sysdeps/i386/bp-asm.h: Remove file.
30891 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30892 (PARMS): Do not use macros from bp-asm.h.
30893 (S1): Likewise.
30894 (S2): Likewise.
30895 (SIZE): Likewise.
30896 (__mpn_add_n): Do not use BP_SYM
30897 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30898 "bp-asm.h".
30899 (PARMS): Do not use macros from bp-asm.h.
30900 (S1): Likewise.
30901 (SIZE): Likewise.
30902 (__mpn_addmul_1): Do not use BP_SYM
30903 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30904 "bp-asm.h".
30905 (PARMS): Do not use macros from bp-asm.h.
30906 (SIGMSK): Likewise.
30907 (_setjmp): Likewise. Do not use BP_SYM.
30908 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30909 "bp-asm.h".
30910 (PARMS): Do not use macros from bp-asm.h.
30911 (SIGMSK): Likewise.
30912 (setjmp): Likewise. Do not use BP_SYM.
30913 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30914 "bp-asm.h".
30915 (PARMS): Do not use macros from bp-asm.h.
30916 (__frexp): Do not use BP_SYM.
30917 (frexp): Likewise.
30918 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30919 "bp-asm.h".
30920 (PARMS): Do not use macros from bp-asm.h.
30921 (__frexpf): Do not use BP_SYM.
30922 (frexpf): Likewise.
30923 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30924 "bp-asm.h".
30925 (PARMS): Do not use macros from bp-asm.h.
30926 (__frexpl): Do not use BP_SYM.
30927 (frexpl): Likewise.
30928 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30929 "bp-asm.h".
30930 (PARMS): Do not use macros from bp-asm.h.
30931 (__remquo): Do not use BP_SYM.
30932 (remquo): Likewise.
30933 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30934 "bp-asm.h".
30935 (PARMS): Do not use macros from bp-asm.h.
30936 (__remquof): Do not use BP_SYM.
30937 (remquof): Likewise.
30938 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30939 "bp-asm.h".
30940 (PARMS): Do not use macros from bp-asm.h.
30941 (__remquol): Do not use BP_SYM.
30942 (remquol): Likewise.
30943 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30944 "bp-asm.h".
30945 (PARMS): Do not use macros from bp-asm.h.
30946 (DEST): Likewise.
30947 (SRC): Likewise.
30948 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30949 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30950 "bp-asm.h".
30951 (PARMS): Do not use macros from bp-asm.h.
30952 (strlen): Do not use BP_SYM.
30953 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30954 "bp-asm.h".
30955 (PARMS): Do not use macros from bp-asm.h.
30956 (S1): Likewise.
30957 (S2): Likewise.
30958 (SIZE): Likewise.
30959 (__mpn_add_n): Do not use BP_SYM.
30960 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30961 "bp-asm.h".
30962 (PARMS): Do not use macros from bp-asm.h.
30963 (S1): Likewise.
30964 (SIZE): Likewise.
30965 (__mpn_addmul_1): Do not use BP_SYM.
30966 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30967 weak_alias.
30968 (bzero): Likewise.
30969 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30970 "bp-asm.h".
30971 (PARMS): Do not use macros from bp-asm.h.
30972 (S): Likewise.
30973 (SIZE): Likewise.
30974 (__mpn_lshift): Do not use BP_SYM.
30975 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30976 "bp-asm.h".
30977 (PARMS): Do not use macros from bp-asm.h.
30978 (DEST): Likewise.
30979 (SRC): Likewise.
30980 (LEN): Likewise.
30981 (memcpy): Likewise. Do not use BP_SYM.
30982 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30983 libc_hidden_def and weak_alias.
30984 (mempcpy): Do not use BP_SYM in weak_alias.
30985 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30986 "bp-asm.h".
30987 (PARMS): Do not use macros from bp-asm.h.
30988 (DEST): Likewise.
30989 (LEN): Likewise.
30990 [!BZERO_P] (CHR): Likewise.
30991 (memset): Likewise. Do not use BP_SYM.
30992 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30993 "bp-asm.h".
30994 (PARMS): Do not use macros from bp-asm.h.
30995 (S1): Likewise.
30996 (SIZE): Likewise.
30997 (__mpn_mul_1): Do not use BP_SYM.
30998 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30999 "bp-asm.h".
31000 (PARMS): Do not use macros from bp-asm.h.
31001 (S): Likewise.
31002 (SIZE): Likewise.
31003 (__mpn_rshift): Do not use BP_SYM.
31004 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31005 "bp-asm.h".
31006 (PARMS): Do not use macros from bp-asm.h.
31007 (STR): Likewise.
31008 (CHR): Likewise.
31009 (strchr): Likewise. Do not use BP_SYM.
31010 (index): Do not use BP_SYM in weak_alias.
31011 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31012 "bp-asm.h".
31013 (PARMS): Do not use macros from bp-asm.h.
31014 (DEST): Likewise.
31015 (SRC): Likewise.
31016 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31017 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31018 "bp-asm.h".
31019 (PARMS): Do not use macros from bp-asm.h.
31020 (strlen): Do not use BP_SYM.
31021 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31022 "bp-asm.h".
31023 (PARMS): Do not use macros from bp-asm.h.
31024 (S1): Likewise.
31025 (S2): Likewise.
31026 (SIZE): Likewise.
31027 (__mpn_sub_n): Do not use BP_SYM.
31028 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31029 "bp-asm.h".
31030 (PARMS): Do not use macros from bp-asm.h.
31031 (S1): Likewise.
31032 (SIZE): Likewise.
31033 (__mpn_submul_1): Do not use BP_SYM.
31034 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31035 "bp-asm.h".
31036 (PARMS): Do not use macros from bp-asm.h.
31037 (S1): Likewise.
31038 (S2): Likewise.
31039 (SIZE): Likewise.
31040 (__mpn_add_n): Do not use BP_SYM.
31041 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31042 weak_alias.
31043 (bzero): Likewise.
31044 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31045 "bp-asm.h".
31046 (PARMS): Do not use macros from bp-asm.h.
31047 (BLK2): Likewise.
31048 (LEN): Likewise.
31049 (memcmp): Do not use BP_SYM.
31050 (bcmp): Do not use BP_SYM in weak_alias.
31051 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31052 "bp-asm.h".
31053 (PARMS): Do not use macros from bp-asm.h.
31054 (DEST): Likewise.
31055 (SRC): Likewise.
31056 (LEN): Likewise.
31057 (memcpy): Likewise. Do not use BP_SYM.
31058 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31059 "bp-asm.h".
31060 (PARMS): Do not use macros from bp-asm.h.
31061 (DEST): Likewise.
31062 (SRC): Likewise.
31063 (LEN): Likewise.
31064 (memmove): Likewise. Do not use BP_SYM.
31065 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31066 "bp-asm.h".
31067 (PARMS): Do not use macros from bp-asm.h.
31068 (DEST): Likewise.
31069 (SRC): Likewise.
31070 (LEN): Likewise.
31071 (__mempcpy): Likewise. Do not use BP_SYM.
31072 (mempcpy): Do not use BP_SYM in weak_alias.
31073 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31074 "bp-asm.h".
31075 (PARMS): Do not use macros from bp-asm.h.
31076 (DEST): Likewise.
31077 (LEN): Likewise.
31078 [!BZERO_P] (CHR): Likewise.
31079 (memset): Likewise. Do not use BP_SYM.
31080 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31081 "bp-asm.h".
31082 (PARMS): Do not use macros from bp-asm.h.
31083 (STR2): Likewise.
31084 (strcmp): Do not use BP_SYM.
31085 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31086 "bp-asm.h".
31087 (PARMS): Do not use macros from bp-asm.h.
31088 (STR): Likewise.
31089 (DELIM): Likewise.
31090 [USE_AS_STRTOK_R] (SAVE): Likewise.
31091 (FUNCTION): Likewise. Do not use BP_SYM.
31092 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31093 aliases.
31094 (strtok_r): Likewise.
31095 (__GI___strtok_r): Likewise.
31096 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31097 (PARMS): Do not use macros from bp-asm.h.
31098 (S): Likewise.
31099 (SIZE): Likewise.
31100 (__mpn_lshift): Do not use BP_SYM.
31101 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31102 (PARMS): Do not use macros from bp-asm.h.
31103 (STR): Likewise.
31104 (CHR): Likewise.
31105 (__memchr): Do not use BP_SYM.
31106 (memchr): Do not use BP_SYM in weak_alias.
31107 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31108 (PARMS): Do not use macros from bp-asm.h.
31109 (BLK2): Likewise.
31110 (LEN): Likewise.
31111 (memcmp): Do not use BP_SYM.
31112 (bcmp): Do not use BP_SYM in weak_alias.
31113 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31114 (PARMS): Do not use macros from bp-asm.h.
31115 (S1): Likewise.
31116 (SIZE): Likewise.
31117 (__mpn_mul_1): Do not use BP_SYM.
31118 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31119 "bp-asm.h".
31120 (PARMS): Do not use macros from bp-asm.h.
31121 (STR): Likewise.
31122 (CHR): Likewise.
31123 (__rawmemchr): Do not use BP_SYM.
31124 (rawmemchr): Do not use BP_SYM in weak_alias.
31125 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31126 (PARMS): Do not use macros from bp-asm.h.
31127 (S): Likewise.
31128 (SIZE): Likewise.
31129 (__mpn_rshift): Do not use BP_SYM.
31130 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31131 (PARMS): Do not use macros from bp-asm.h.
31132 (SIGMSK): Likewise.
31133 (__sigsetjmp): Likewise. Do not use BP_SYM.
31134 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31135 (_start): Do not use BP_SYM.
31136 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31137 (PARMS): Do not use macros from bp-asm.h.
31138 (DEST): Likewise.
31139 (SRC): Likewise.
31140 (__stpcpy): Likewise. Do not use BP_SYM.
31141 (stpcpy): Do not use BP_SYM in weak_alias.
31142 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31143 "bp-asm.h".
31144 (PARMS): Do not use macros from bp-asm.h.
31145 (DEST): Likewise.
31146 (SRC): Likewise.
31147 (LEN): Likewise.
31148 (__stpncpy): Likewise. Do not use BP_SYM.
31149 (stpncpy): Do not use BP_SYM in weak_alias.
31150 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31151 (PARMS): Do not use macros from bp-asm.h.
31152 (STR): Likewise.
31153 (CHR): Likewise.
31154 (strchr): Likewise. Do not use BP_SYM.
31155 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31156 "bp-asm.h".
31157 (PARMS): Do not use macros from bp-asm.h.
31158 (STR): Likewise.
31159 (CHR): Likewise.
31160 (__strchrnul): Likewise. Do not use BP_SYM.
31161 (strchrnul): Do not use BP_SYM in weak_alias.
31162 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31163 "bp-asm.h".
31164 (PARMS): Do not use macros from bp-asm.h.
31165 (STOP): Likewise.
31166 (strcspn): Do not use BP_SYM.
31167 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31168 "bp-asm.h".
31169 (PARMS): Do not use macros from bp-asm.h.
31170 (STR): Likewise.
31171 (STOP): Likewise.
31172 (strpbrk): Likewise. Do not use BP_SYM.
31173 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31174 "bp-asm.h".
31175 (PARMS): Do not use macros from bp-asm.h.
31176 (STR): Likewise.
31177 (CHR): Likewise.
31178 (strrchr): Likewise. Do not use BP_SYM.
31179 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31180 (PARMS): Do not use macros from bp-asm.h.
31181 (SKIP): Likewise.
31182 (strspn): Do not use BP_SYM.
31183 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31184 (PARMS): Do not use macros from bp-asm.h.
31185 (STR): Likewise.
31186 (DELIM): Likewise.
31187 (SAVE): Likewise.
31188 (FUNCTION): Likewise. Do not use BP_SYM.
31189 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31190 aliases.
31191 (strtok_r): Likewise.
31192 (__GI___strtok_r): Likewise.
31193 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31194 (PARMS): Do not use macros from bp-asm.h.
31195 (S1): Likewise.
31196 (S2): Likewise.
31197 (SIZE): Likewise.
31198 (__mpn_sub_n): Do not use BP_SYM.
31199 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31200 "bp-asm.h".
31201 (PARMS): Do not use macros from bp-asm.h.
31202 (S1): Likewise.
31203 (SIZE): Likewise.
31204 (__mpn_submul_1): Do not use BP_SYM.
31205 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31206 <bp-sym.h>.
31207 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31208 and <bp-asm.h>.
31209 (PARMS): Do not use macros from bp-asm.h.
31210 (FLAGS): Likewise.
31211 (PTID): Likewise.
31212 (TLS): Likewise.
31213 (CTID): Likewise.
31214 (__clone): Do not use BP_SYM.
31215 (clone): Do not use BP_SYM in weak_alias.
31216 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31217 and <bp-asm.h>.
31218 (PARMS): Do not use macros from bp-asm.h.
31219 (LEN): Likewise.
31220 (__mmap64): Do not use BP_SYM.
31221 (mmap64): Do not use BP_SYM in weak_alias.
31222 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31223 <bp-sym.h> and <bp-asm.h>.
31224 (PARMS): Do not use macros from bp-asm.h.
31225 (__posix_fadvise64_l64): Do not use BP_SYM.
31226 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31227 (PARMS): Do not use macros from bp-asm.h.
31228 (NSOPS): Likewise.
31229 (semtimedop): Do not use BP_SYM.
31230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31231 and <bp-asm.h>.
31232
582a3cff
AM
312332013-02-21 Allan McRae <allan@archlinux.org>
31234
31235 * manual/message.texi (Charset conversion in gettext):
31236 Move @end statement to beginning of line.
31237
bab8a695
SP
312382013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31239
80945231
SP
31240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31241 static.
31242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31243 Likewise.
31244
bab8a695
SP
31245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31246 (denorm): Likewise.
31247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31249
e21d7aa7
AK
312502013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31251
31252 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31253 tail-call to the resolved function if pltexit isn't needed.
31254
4c7a4263
SP
312552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31256
31257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31258 or Y being zero as being unlikely.
31259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31260 Likewise.
31261
41f49342
CD
312622013-02-20 Carlos O'Donell <carlos@redhat.com>
31263
31264 * manual/nss.texi (System Databases and Name Service Switch):
31265 Remove frobnicate @pxref.
31266
50022a93
TS
312672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31268
31269 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31270 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31271
08cbd996
PM
312722013-02-20 Petr Machata <pmachata@redhat.com>
31273
31274 * elf/elf.h (R_ARM_TARGET1): New macro.
31275 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31276 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31277 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31278 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31279 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31280 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31281 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31282 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31283 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31284 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31285 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31286 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31287 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31288 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31289 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31290 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31291 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31292 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31293 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31294 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31295 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31296 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31297 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31298 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31299 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31300 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31301 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31302 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31303 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31304 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31305 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31306 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31307 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31308 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31309 (R_ARM_THM_GOT_BREL12): Likewise.
31310 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31311 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31312 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31313 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31314 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31315 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31316 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31317 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31318 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31319
c7b275d6
TS
313202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31321
31322 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31323 __attribute_used__ to __attribute__ ((unused)).
31324
20cd7fb3
SP
313252013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31326
31327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31328 powerpc mpa.c.
31329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31330 comment formatting.
31331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31332
92945b52
JM
313332013-02-19 Joseph Myers <joseph@codesourcery.com>
31334
31335 [BZ #13550]
31336 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31337 Remove macro.
31338 (ENTER): Remove both macro definitions.
31339 (LEAVE): Likewise.
31340 (CHECK_BOUNDS_LOW): Likewise.
31341 (CHECK_BOUNDS_HIGH): Likewise.
31342 (CHECK_BOUNDS_BOTH): Likewise.
31343 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31344 (RETURN_BOUNDED_POINTER): Likewise.
31345 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31346 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31347 (POP_ERRNO_LOCATION_RETURN): Likewise.
31348 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31349 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31350 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31351 macros.
31352 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31353 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31354 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31355 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31356 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31357 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31358 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31359 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31360 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31361 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31362 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31363 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31364 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31365 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31366 removed macros.
31367 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31368 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31369 macros.
31370 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31371 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31372 * sysdeps/i386/i586/memset.S (memset): Likewise.
31373 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31374 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31375 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31376 macros.
31377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31378 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31379 Change uses of L(2) to L(out).
31380 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31381 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31382 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31383 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31384 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31385 removed macros.
31386 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31387 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31388 macros.
31389 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31390 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31391 (RETURN): Do not use macro LEAVE.
31392 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31393 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31394 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31395 * sysdeps/i386/i686/memset.S (memset): Likewise.
31396 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31397 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31398 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31399 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31400 Likewise.
31401 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31402 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31403 L(1_2) and L(1_3) into L(1).
31404 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31405 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31406 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31407 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31408 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31409 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31410 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31411 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31412 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31413 macros.
31414 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31415 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31416 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31417 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31418 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31419 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31420 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31421 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31422 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31423 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31424 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31425 * sysdeps/i386/strspn.S (strspn): Likewise.
31426 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31427 conditional code.
31428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31429 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31430 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31431 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31432 L(1_3) into L(1_1).
31433 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31435 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31436 macros.
31437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31438
2389741a
JJ
314392013-02-19 Jakub Jelinek <jakub@redhat.com>
31440
31441 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31442 macro.
31443
2016b3cd
SP
314442013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31445
e4f22324
SP
31446 * math/atest-exp.c (exp_mpn): Remove ROUND.
31447 * math/atest-exp2.c (exp_mpn): Likewise.
31448 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31449
2016b3cd
SP
31450 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31451 * stdlib/tst-tls-atexit-lib.c: Likewise.
31452 * stdlib/tst-tls-atexit.c: Likewise.
31453
4be9b544
MF
314542013-02-18 Mike Frysinger <vapier@gentoo.org>
31455
31456 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31457 and __attribute_alloc_size__.
31458
2f62b9ee
MF
314592013-02-18 Mike Frysinger <vapier@gentoo.org>
31460
31461 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31462 __attribute_alloc_size__.
31463 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31464 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31465
6ff444c4
MF
314662013-02-18 Mike Frysinger <vapier@gentoo.org>
31467
31468 * include/programs/xmalloc.h: New file.
31469 * catgets/gencat.c: Include it.
31470 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31471 * elf/pldd.c: Likewise.
31472 * iconv/iconv_charmap.c: Likewise.
31473 * iconv/iconvconfig.c: Likewise.
31474 * iconv/strtab.c: Likewise.
31475 * locale/programs/locale.c: Likewise.
31476 * locale/programs/localedef.h: Likewise.
31477 * locale/programs/simple-hash.c: Likewise.
31478 * nscd/nscd.h: Likewise.
31479 * nss/makedb.c: Likewise.
31480 * sysdeps/generic/ldconfig.h: Likewise.
31481
be179c8a
SP
314822013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31483
ba384f6e
SP
31484 * Versions.def: Add GLIBC_2.18.
31485 * include/link.h (struct link_map): New member l_tls_dtor_count.
31486 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31487 (__call_tls_dtors): Likewise.
31488 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31489 __cxa_thread_atexit_impl.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31491 Likewise.
31492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31493 Likewise.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31495 Likewise.
31496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31497 Likewise.
31498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31500 Likewise.
31501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31502 Likewise.
31503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31505 Likewise.
31506 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31507 (tests): Add test case tst-tls-atexit.
31508 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31509 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31510 (GLIBC_PRIVATE): Add __call_tls_dtors.
31511 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31512 for libstdc++.
31513 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31514 * stdlib/tst-tls-atexit.c: New test case.
31515 * stdlib/tst-tls-atexit-lib.c: New test case.
31516
ffaa74cf 31517 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31518
be179c8a
SP
31519 * elf/Versions (ld): Add _dl_find_dso_for_object.
31520 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31521 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31522 (dl_open_worker): Use _dl_find_dso_for_object.
31523 * elf/dl-sym.c (do_sym): Likewise.
31524 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31525
f78b5caa
AK
315262013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31527
31528 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31529 Syntactic changes only.
31530 (_dl_runtime_profile): Do a tail-call to the resolved function.
31531
29691210
JM
315322013-02-17 Joseph Myers <joseph@codesourcery.com>
31533
31534 [BZ #13550]
31535 * sysdeps/x86_64/bp-asm.h: Remove file.
31536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31537 <bp-sym.h> and <bp-asm.h>.
31538 (__clone): Do not use BP_SYM.
31539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31540 <bp-sym.h> and <bp-asm.h>.
31541 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31542 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31543 "bp-asm.h".
31544 (_setjmp): Do not use BP_SYM.
31545 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31546 "bp-asm.h".
31547 (setjmp): Do not use BP_SYM.
31548 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31549 libc_hidden_def.
31550 (mempcpy): Do not use BP_SYM in weak_alias.
31551 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31552 "bp-asm.h".
31553 (strchr): Do not use BP_SYM.
31554 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31555 "bp-asm.h".
31556 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31557 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31558 (_start): Do not use BP_SYM.
31559 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31560 "bp-asm.h".
31561 (strcat): Do not use BP_SYM.
31562 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31563 "bp-asm.h".
31564 (STRCMP): Do not use BP_SYM.
31565 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31566 "bp-asm.h".
31567 (STRCPY): Do not use BP_SYM.
31568 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31569 "bp-asm.h".
31570 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31571 "bp-asm.h".
31572 (FUNCTION): Do not use BP_SYM.
31573 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31574 weak_alias.
31575 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31576
f238fd19
AJ
315772013-02-17 Andreas Jaeger <aj@suse.de>
31578
31579 * time/Versions: Sort entries.
31580 * string/Versions: Likewise.
31581 * resolv/Versions: Likewise.
31582 * posix/Versions: Likewise.
31583 * iconv/Versions: Likewise.
31584 * elf/Versions: Likewise.
31585 * wcsmbs/Versions: Likewise.
31586
bd07f23c 315872013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31588
22af19f9
SP
31589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31590 loop termination condition.
31591
4709fe76
SP
31592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31593 variable to calculate EZ.
31594 (__sqr): Likewise.
2d0e0f29
SP
31595
31596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31597 the lower precision input.
31598
daaa7713
JM
315992013-02-15 Joseph Myers <joseph@codesourcery.com>
31600
31601 [BZ #13550]
31602 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31603 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31604 (run-via-rtld-prefix): Do not handle %-bp tests.
31605 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31606 (all-object-suffixes): Remove .ob.
31607 (bppfx): Remove variable.
31608 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31609 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31610 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31611 [$(build-bounded) = yes] (libtype.ob): Likewise.
31612 * Makerules (elide-routines.ob): Remove variable.
31613 (do-tests-clean): Do not handle *-bp.out.
31614 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31615 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31616 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31617 (tests): Do not include $(tests-bp.out).
31618 (xtests): Do not include $(xtests-bp.out).
31619 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31620 [$(build-bounded) = yes] ($(addprefix
31621 $(objpfx),$(binaries-bounded))): Remove rule.
31622 ($(objpfx)%-bp.out): Remove rule.
31623 * config.make.in (build-bounded): Remove variable.
31624 * crypt/Makefile [$(build-bounded) = yes]
31625 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31626 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31627 append to variable.
31628 [$(build-bounded) = yes] (install-lib): Likewise.
31629 [$(build-bounded) = yes] (generated): Likewise.
31630 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31631 Remove rule.
31632 * intl/Makefile [$(build-bounded) = yes]
31633 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31634 * math/Makefile [$(build-bounded) = yes]
31635 ($(tests:%=$(objpfx)%-bp): Likewise.
31636 * misc/Makefile [$(build-bounded) = yes]
31637 ($(objpfx)tst-tsearch-bp): Likewise.
31638 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31639 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31640 Remove dependency.
31641 * string/Makefile (o-objects.ob): Remove variable.
31642 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31643 (CFLAGS-.ob): Remove variable.
31644 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31645 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31646 both definitions of variable.
31647 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31648 (ASFLAGS-.ob): Remove variable.
31649
e97ed6dd
JM
316502013-02-14 Joseph Myers <joseph@codesourcery.com>
31651
2bdd4ca6
JM
31652 [BZ #13550]
31653 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31654 Remove __BOUNDED_POINTERS__ from condition.
31655 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31656 * string/bits/string2.h [!__NO_STRING_INLINES &&
31657 !__BOUNDED_POINTERS__]: Likewise.
31658 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31659 Likewise.
31660 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31661 Remove conditional code.
31662 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31663 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31664 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31665 condition.
31666
e97ed6dd
JM
31667 [BZ #13550]
31668 * csu/libc-start.c: Do not include <bp-sym.h>.
31669 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31670 * elf/dl-open.c: Do not include <bp-sym.h>.
31671 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31672 * math/fegetenv.c: Do not include <bp-sym.h>.
31673 (fegetenv): Do not use BP_SYM in versioned symbols.
31674 * nptl/sysdeps/pthread/bits/libc-lockP.h
31675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31676 <bp-sym.h>.
31677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31678 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31680 (__pthread_mutex_destroy): Likewise.
31681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31682 (__pthread_mutex_lock): Likewise.
31683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31684 (__pthread_mutex_trylock): Likewise.
31685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31686 (__pthread_mutex_unlock): Likewise.
31687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31688 (__pthread_mutexattr_init): Likewise.
31689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31690 (__pthread_mutexattr_destroy): Likewise.
31691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31692 (__pthread_mutexattr_settype): Likewise.
31693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31694 (__pthread_rwlock_init): Likewise.
31695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31696 (__pthread_rwlock_destroy): Likewise.
31697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31698 (__pthread_rwlock_rdlock): Likewise.
31699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31700 (__pthread_rwlock_tryrdlock): Likewise.
31701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31702 (__pthread_rwlock_wrlock): Likewise.
31703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31704 (__pthread_rwlock_trywrlock): Likewise.
31705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31706 (__pthread_rwlock_unlock): Likewise.
31707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31708 (__pthread_key_create): Likewise.
31709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31710 (__pthread_setspecific): Likewise.
31711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31712 (__pthread_getspecific): Likewise.
31713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31714 Likewise.
31715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31716 (_pthread_cleanup_push_defer): Likewise.
31717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31718 (_pthread_cleanup_pop_restore): Likewise.
31719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31720 (pthread_setcancelstate): Likewise.
31721 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31722 <bp-sym.h>.
31723 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31724 (memchr): Do not use BP_SYM in weak_alias.
31725 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31726 (fegetenv): Do not use BP_SYM in versioned symbols.
31727 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31728 (fesetenv): Do not use BP_SYM in versioned symbols.
31729 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31730 (feupdateenv): Do not use BP_SYM in versioned symbols.
31731 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31732 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31733 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31734 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31735 (open64): Do not use BP_SYM in weak_alias.
31736 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31737 (fegetenv): Do not use BP_SYM in versioned symbols.
31738 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31739 (fesetenv): Do not use BP_SYM in versioned symbols.
31740 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31741 (feupdateenv): Do not use BP_SYM in versioned symbols.
31742 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31743 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31744 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31745 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31746 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31747 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31749 <bp-sym.h>.
31750 (__libc_start_main): Do not use BP_SYM.
31751
d6752ccd
SP
317522013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31753
cb57ce60
SP
31754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31755 redundant return line.
31756 (norm): Likewise.
31757 (denorm): Likewise.
31758 (dbl_mp): Likewise.
31759 (sub_magnitudes): Likewise.
31760 (__add): Likewise.
31761 (__sub): Likewise.
31762 (__mul): Likewise.
31763 (__inv): Likewise.
31764 (__dvd): Likewise.
31765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31766 (norm): Likewise.
31767 (denorm): Likewise.
31768 (dbl_mp): Likewise.
31769 (sub_magnitudes): Likewise.
31770 (__add): Likewise.
31771 (__sub): Likewise.
31772 (__mul): Likewise.
31773 (__inv): Likewise.
31774 (__dvd): Likewise.
31775
f414520d
SP
31776 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31777 instead of __mul.
31778 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31779 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31780 (cc32): Likewise.
31781
d6752ccd
SP
31782 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31783 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31785 of __mul for squares.
31786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31787 function
31788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31789 Likewise.
31790 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31792
70d9946a
JM
317932013-02-13 Joseph Myers <joseph@codesourcery.com>
31794
31795 [BZ #13550]
31796 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31797 code.
31798 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31799 prototype or function definition. Rename ubp_* variables and
31800 parameters. Remove argv definitions conditional on
31801 [__BOUNDED_POINTERS__].
31802 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31803 * elf/dl-runtime.c (_dl_fixup): Likewise.
31804 * include/set-hooks.h (RUN_HOOK): Likewise.
31805 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31806 definition.
31807 * string/strcpy.c (strcpy): Do not use __unbounded.
31808 * sysdeps/generic/frame.h (struct layout): Likewise.
31809 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31810 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31811 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31812 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31813 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31814 (__backtrace): Likewise.
31815 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31816 use __ptrvalue.
31817 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31818 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31819 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31820 Likewise.
31821 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31822 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31823 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31824 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31825 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31826 Do not use __unbounded.
31827 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31828 Rename __unboundedrlimits parameter to rlimits in prototype.
31829 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31830 Do not use __unbounded.
31831 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31832 not use __ptrvalue.
31833 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31834 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31835 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31837 __ptrvalue or __unbounded.
31838 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31839 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31840 use __unbounded.
31841 (__new_msgctl): Do not use __ptrvalue.
31842 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31843 __unbounded.
31844 (__libc_msgrcv): Do not use __ptrvalue.
31845 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31846 startup_info): Do not use __unbounded.
31847 (__libc_start_main): Likewise. Rename ubp_* variables and
31848 parameters. Remove argv definitions conditional on
31849 [__BOUNDED_POINTERS__].
31850 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31851 __ptrvalue.
31852 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31853 use __unbounded.
31854 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31855 or __ptrvalue.
31856 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31857 use __unbounded.
31858 (__new_shmctl): Do not use __ptrvalue.
31859 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31860 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31861 Likewise.
31862 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31864 (__libc_sigaction): Likewise.
31865 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31866 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31867 Likewise.
31868 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31869
cc7834d6
OB
318702013-02-13 Ondřej Bílka <neleai@seznam.cz>
31871
ffb1ec7b 31872 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31873
31874 * string/mempcpy.c: Implement by calling memcpy.
31875
bdf02814
SP
318762013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31877
c2af38aa
SP
31878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31879
4e92d59e
SP
31880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31881 evaluation.
31882
909279a5
SP
31883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31884 values in the mantissa.
31885
bdf02814
SP
31886 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31887 minimize writes to Z.
31888 (sub_magnitudes): Simplify code a bit.
31889
cd525923
RM
318902013-02-12 Roland McGrath <roland@hack.frob.com>
31891
31892 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31893 from the message. The linker prefixes all warnings with that already.
31894
7e2f0d2d
AS
318952013-02-12 Andreas Schwab <schwab@suse.de>
31896
a445af0b
AS
31897 [BZ #15078]
31898 * posix/regexec.c (extend_buffers): Add parameter min_len.
31899 (check_matching): Pass minimum needed length.
31900 (clean_state_log_if_needed): Likewise.
31901 (get_subexp): Likewise.
31902 * posix/Makefile (tests): Add bug-regex34.
31903 (bug-regex34-ENV): Define.
31904 * posix/bug-regex34.c: New file.
31905
7e2f0d2d
AS
31906 [BZ #11561]
31907 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31908 elements compare against the byte sequence of it, not its name.
31909 * posix/Makefile (tests): Add bug-regex35.
31910 (bug-regex35-ENV): Define.
31911 * posix/bug-regex35.c: New file.
31912
a175b684
TV
319132013-02-11 Tom de Vries <tom@codesourcery.com>
31914
31915 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31916 comment.
31917 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31918 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31919 (CHECK_EOL): Add undef.
31920
310998fe 319212013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31922
31923 * bits/stdlib-bsearch.h: New file.
31924 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31925 * stdlib/stdlib.h: Likewise.
41eda41d 31926
8ded91fb
RM
319272013-02-11 Roland McGrath <roland@hack.frob.com>
31928
31929 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31930 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31931 declaration.
31932 * manual/search.texi (Array Search Function): Add missing const in
31933 lfind prototype.
31934 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31935 declaration to use rlim_t.
31936 (Basic Scheduling Functions): Remove erroneous const from
31937 sched_getparam prototype. Remove erroneous * from
31938 sched_get_priority_max and sched_get_priority_min prototypes.
31939 (Resource Usage): Fix summary @comment on vtimes to refer to
31940 sys/vtimes.h rather than vtimes.h.
31941 Add missing *s in vtimes prototype.
31942 (Limits on Resources): Fix ulimit prototype to return long int.
31943 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31944 prototypes to use long int rather than double.
31945 (BSD Random): Fix initstate and setstate to use char *, not void *.
31946 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31947 prototype to make second argument 'struct aiocb64 *const[]'.
31948 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31949 (Status of AIO Operations): Remove erroneous const in aio_return and
31950 aio_return64 prototypes.
31951 (Synchronizing I/O): Fix sync prototype to return void.
31952 * manual/startup.texi (Suboptions): Remove an erroneous const in
31953 getsubopt prototype.
31954 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31955 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31956 use size_t rather than int.
31957 (Scanning All Users): Likewise for getpwent_r.
31958 (Setting Groups): Add missing const to setgroups prototype.
31959 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31960 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31961 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31962 'const void *' rather than 'const char *'.
31963 (Host Address Functions): Likewise for inet_ntop.
31964 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31965 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31966 ssize_t for return value.
31967 (Sending Data): Likewise for send, sendto, sendmsg.
31968 (Socket Option Functions): Add a missing const in setsockopt prototype.
31969 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31970 use wchar_t for the argument.
31971 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31972 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31973 take no arguments.
31974 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31975 double/float/long double for second argument.
31976 Fix return types of significand, significandf, significandl.
31977 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31978 argument in fchmod prototype.
31979 (File Owner): Use uid_t and gid_t in fchown prototype.
31980 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31981 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31982 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31983 use 'const struct dirent **' as argument types to CMP function pointer
31984 argument.
31985 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31986 (File Times): Fix summary magic @comment for struct utimbuf and utime
31987 to refer to utime.h, not time.h.
31988 * manual/string.texi (Argz Functions): Add missing const in
31989 argz_extract and argz_next prototypes.
31990 (Finding Tokens in a String): Likewise for basename.
31991 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31992 (Copying and Concatenation): Fix typo in wmemmove prototype.
31993 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31994 (Signal Stack): Remove erroneous const in sigstack prototype.
31995 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31996 prototype.
31997 (Simple Calendar Time): Likewise for stime.
31998 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31999 prototype.
32000 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32001 say sys/sysctl.h instead.
32002 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32003 and vsyslog prototypes.
32004
fe77fe6d
TV
320052013-02-11 Tom de Vries <tom@codesourcery.com>
32006
32007 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32008 Remove.
32009
3a09b620
RM
320102013-02-11 Roland McGrath <roland@hack.frob.com>
32011
32012 * misc/sys/mman.h: Fix typo in mremap comment.
32013
550a0b89
RM
320142013-02-08 Roland McGrath <roland@hack.frob.com>
32015
32016 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32017 the '\0' terminator.
32018
a2da1673
JM
320192013-02-08 Joseph Myers <joseph@codesourcery.com>
32020
32021 [BZ #13550]
32022 * debug/segfault.c: Don't include <bp-checks.h>.
32023 * sysdeps/generic/bp-checks.h: Remove file.
32024 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32025 (__GETDENTS): Don't use CHECK_N.
32026 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32027 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32028 (__getgroups): Don't use CHECK_N.
32029 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32030 (setgroups): Don't use CHECK_N.
32031 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32032 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32033 (__libc_msgrcv): Don't use CHECK_N.
32034 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32035 (__libc_msgsnd): Don't use CHECK_N.
32036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32037 <bp-checks.h>.
32038 (__libc_pread): Don't use CHECK_N.
32039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32040 include <bp-checks.h>.
32041 (__libc_pread64): Don't use CHECK_N.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32043 include <bp-checks.h>.
32044 (__libc_pwrite): Don't use CHECK_N.
32045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32046 include <bp-checks.h>.
32047 (__libc_pwrite64): Don't use CHECK_N.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32049 <bp-checks.h>.
32050 (__libc_pread): Don't use CHECK_N.
32051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32052 include <bp-checks.h>.
32053 (__libc_pread64): Don't use CHECK_N.
32054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32055 include <bp-checks.h>.
32056 (__libc_pwrite): Don't use CHECK_N.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32058 include <bp-checks.h>.
32059 (__libc_pwrite64): Don't use CHECK_N.
32060 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32061 (do_pread): Don't use CHECK_N.
32062 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32063 (do_pread64): Don't use CHECK_N.
32064 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32065 (do_pwrite): Don't use CHECK_N.
32066 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32067 (do_pwrite64): Don't use CHECK_N.
32068 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32069 (__libc_readv): Don't use CHECK_N.
32070 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32071 (semop): Don't use CHECK_N.
32072 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32073 <bp-checks.h>.
32074 (semtimedop): Don't use CHECK_N.
32075 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32076 (__libc_pread): Don't use CHECK_N.
32077 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32078 <bp-checks.h>.
32079 (__libc_pread64): Don't use CHECK_N.
32080 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32081 <bp-checks.h>.
32082 (__libc_pwrite): Don't use CHECK_N.
32083 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32084 <bp-checks.h>.
32085 (__libc_pwrite64): Don't use CHECK_N.
32086 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32087 <bp-checks.h>.
32088 (__libc_msgrcv): Don't use CHECK_N.
32089 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32090 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32091 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32092 (__libc_writev): Don't use CHECK_N.
32093
b84660a8
RM
320942013-02-08 Roland McGrath <roland@hack.frob.com>
32095
7f3e75f8
RM
32096 * string/strcpy.c: Removed unused variable.
32097
b84660a8
RM
32098 * Makeconfig (+sysdep-includes): Define with := rather than =.
32099 Use an existing include/ subdir of each sysdeps dir before it.
32100
471514d3
CD
321012013-02-08 Carlos O'Donell <carlos@redhat.com>
32102
32103 * nscd/connection.c (register_traced_file): Comment function.
32104 [HAVE_INOTIFY] (union __inev): Define.
32105 [HAVE_INOTIFY] (inotify_check_files): New function.
32106 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32107 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32108 clear_db_cache.
32109 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32110
b2d3c3be
CD
321112013-02-08 Carlos O'Donell <carlos@redhat.com>
32112
32113 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32114 loaded if not already and that a failure is permanent.
32115
b39949d2
CD
321162013-02-08 Carlos O'Donell <carlos@redhat.com>
32117
ddacd1db 32118 [BZ #15006]
b39949d2
CD
32119 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32120 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32121
b2c9eff4
JM
321222013-02-08 Joseph Myers <joseph@codesourcery.com>
32123
f3aae3f3
JM
32124 [BZ #13550]
32125 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32126 (CHECK_1_NULL_OK): Likewise.
32127 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32128 (__fxstat): Do not use CHECK_1.
32129 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32130 <bp-checks.h>.
32131 (___fxstat64): Do not use CHECK_1.
32132 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32133 <bp-checks.h>.
32134 (__fxstatat): Do not use CHECK_1.
32135 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32136 <bp-checks.h>.
32137 (__fxstatat64): Do not use CHECK_1.
32138 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32139 <bp-checks.h>.
32140 (__fxstat): Do not use CHECK_1.
32141 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32142 <bp-checks.h>.
32143 (__fxstatat): Do not use CHECK_1.
32144 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32145 <bp-checks.h>.
32146 (__getresgid): Do not use CHECK_1.
32147 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32148 <bp-checks.h>.
32149 (__getresuid): Do not use CHECK_1.
32150 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32151 <bp-checks.h>.
32152 (__lxstat): Do not use CHECK_1.
32153 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32154 <bp-checks.h>.
32155 (__old_msgctl): Do not use CHECK_1.
32156 (__new_msgctl): Likewise.
32157 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32158 <bp-checks.h>.
32159 (__new_setrlimit): Do not use CHECK_1.
32160 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32161 <bp-checks.h>.
32162 (__old_shmctl): Do not use CHECK_1.
32163 (__new_shmctl): Likewise.
32164 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32165 <bp-checks.h>.
32166 (__xstat): Do not use CHECK_1.
32167 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32168 (__lxstat): Do not use CHECK_1.
32169 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32170 <bp-checks.h>.
32171 (___lxstat64): Do not use CHECK_1.
32172 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32173 (__old_msgctl): Do not use CHECK_1.
32174 (__new_msgctl): Likewise.
32175 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32176 <bp-checks.h>.
32177 (__gettimeofday): Do not use CHECK_1.
32178 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32179 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32181 <bp-checks.h>.
32182 (__gettimeofday): Do not use CHECK_1.
32183 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32184 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32185 (__new_shmctl): Do not use CHECK_1.
32186 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32187 <bp-checks.h>.
32188 (do_sigtimedwait): Do not use CHECK_1.
32189 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32190 <bp-checks.h>.
32191 (do_sigwaitinfo): Do not use CHECK_1.
32192 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32193 <bp-checks.h>.
32194 (msgctl): Do not use CHECK_1.
32195 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32196 <bp-checks.h>.
32197 (shmctl): Do not use CHECK_1.
32198 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32199 (ustat): Do not use CHECK_1.
32200 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32201 <bp-checks.h>.
32202 (__fxstat): Do not use CHECK_1.
32203 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32204 <bp-checks.h>.
32205 (__fxstatat): Do not use CHECK_1.
32206 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32207 <bp-checks.h>.
32208 (__lxstat): Do not use CHECK_1.
32209 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32210 <bp-checks.h>.
32211 (__xstat): Do not use CHECK_1.
32212 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32213 (__xstat): Do not use CHECK_1.
32214 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32215 (___xstat64): Do not use CHECK_1.
32216
b2c9eff4
JM
32217 [BZ #13550]
32218 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32219 definitions.
32220 (CHECK_BOUNDS_HIGH): Likewise.
32221 * string/strcpy.c: Do not include <bp-checks.h>.
32222 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32223
f1d70dad
RM
322242013-02-07 Roland McGrath <roland@hack.frob.com>
32225
32226 * nscd/nscd-client.h (__nscd_drop_map_ref):
32227 Add __attribute__ ((unused)).
32228 * nis/nss-nisplus.h (niserr2nss): Likewise.
32229
32230 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32231 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32232
32233 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32234 Remove inline keyword.
32235 * include/rounding-mode.h (round_away): Likewise.
32236 * libio/wfileops.c (adjust_wide_data): Likewise.
32237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32238 (__m128i_strloadu_tolower): Likewise.
32239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32240 (__m128i_strloadu_tolower): Likewise.
32241 * time/mktime.c (ydhms_diff): Likewise.
32242 * locale/elem-hash.h (elem_hash): Likewise.
32243 * locale/setlocale.c (setdata): Likewise.
32244 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32245 (re_string_wchar_at): Likewise.
32246 (bitset_not, bitset_merge, bitset_mask): Likewise.
32247 [!(__GNUC__ > 3)] (inline): Remove macro.
32248 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32249 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32250 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32251 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32252 * string/memcmp.c (memcmp_bytes): Likewise.
32253 * locale/programs/locarchive.c (compute_hashval): Likewise.
32254 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32255 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32256 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32257 * nss/getent.c (print_rpc, print_protocols): Likewise.
32258 (print_passwd, print_group, print_aliases): Likewise.
32259 * nis/nss-nisplus.h (niserr2nss): Likewise.
32260 * nscd/connections.c (restart_p): Likewise.
32261 Change return type to bool.
32262
eab55bfb
RM
322632013-02-05 Roland McGrath <roland@hack.frob.com>
32264
7bd642f5
RM
32265 * Makeconfig (all-Depend-files): Add existing
32266 $(sorted-subdirs:=/Depend) files.
32267 (all-subdirs): Remove nss.
32268 * sysdeps/unix/inet/Subdirs: Add it here instead.
32269 * hesiod/Depend: New file.
32270
573c29b2
RM
32271 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32272 instead of calling alloca.
32273
b2e25af0
RM
32274 * io/lseek.c (__lseek): Rename to __libc_lseek.
32275 Define __lseek as an alias.
32276
eab55bfb
RM
32277 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32278
9a0d1941
CD
322792013-02-04 Carlos O'Donell <carlos@redhat.com>
32280
32281 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32282 else clause and remove check for non-standard endianness.
32283
b83bbec4
DM
322842013-02-04 David S. Miller <davem@davemloft.net>
32285
32286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32287
6277fdab
JM
322882013-02-04 Joseph Myers <joseph@codesourcery.com>
32289
32290 [BZ #13550]
32291 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32292 (__ubp_memchr): Remove prototype.
32293 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32294 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32295 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32296 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32297 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32298 Remove alias.
32299 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32300 (__ubp_memchr): Likewise.
32301 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32302 (__ubp_memchr): Likewise.
32303 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32304 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32305 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32306 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32307 CHECK_STRING.
32308 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32309 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32310 (__getcwd): Do not use CHECK_STRING.
32311 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32312 <bp-checks.h>.
32313 (__real_chown): Do not use CHECK_STRING.
32314 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32315 <bp-checks.h>.
32316 (fchownat): Do not use CHECK_STRING.
32317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32318 CHECK_STRING.
32319 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32320 <bp-checks.h>.
32321 (__lchown): Do not use CHECK_STRING.
32322 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32323 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32324 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32325 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32327 include <bp-checks.h>.
32328 (truncate64): Do not use CHECK_STRING.
32329 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32330 <bp-checks.h>.
32331 (__real_chown): Do not use CHECK_STRING.
32332 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32333 <bp-checks.h>.
32334 (__lchown): Do not use CHECK_STRING.
32335 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32336 <bp-checks.h>.
32337 (__chown): Do not use CHECK_STRING.
32338 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32339 <bp-checks.h>.
32340 (truncate64): Do not use CHECK_STRING.
32341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32342 Likewise.
32343 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32344 (__xmknod): Do not use CHECK_STRING.
32345 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32346 <bp-checks.h>.
32347 (__xmknodat): Do not use CHECK_STRING.
32348 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32349 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32350
903ae060
AS
323512013-02-04 Andreas Schwab <schwab@suse.de>
32352
32353 [BZ #14142]
32354 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32355 * include/netdb.h: Likewise for h_errno.
32356 * elf/tst-stackguard1.c: Include <tls.h>.
32357
542f9466
JK
323582013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32359
32360 * elf/link.h (struct link_map): Extend the l_addr comment.
32361 * include/link.h (struct link_map): Likewise.
32362
e782a927
JM
323632013-02-01 Joseph Myers <joseph@codesourcery.com>
32364
32365 [BZ #13550]
32366 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32367 (BOUNDED_1): Remove macro.
32368 * debug/backtrace.c: Don't include <bp-checks.h>.
32369 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32370 (__backtrace): Likewise.
32371 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32372 <bp-checks.h>.
32373 (__backtrace): Don't use BOUNDED_1.
32374 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32375 <bp-checks.h>.
32376 (__backtrace): Don't use BOUNDED_1.
32377 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32378 (__backtrace): Don't use BOUNDED_1.
32379 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32380 (shmat): Don't use BOUNDED_N.
32381
8cf28c5e
JM
323822013-01-31 Joseph Myers <joseph@codesourcery.com>
32383
3a7ac8a0
JM
32384 [BZ #13550]
32385 * sysdeps/generic/bp-start.h: Remove file.
32386 * csu/libc-start.c: Don't include <bp-start.h>.
32387 (LIBC_START_MAIN): Set up __environ directly instead of using
32388 INIT_ARGV_and_ENVIRON.
32389 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32390 <bp-start.h>.
32391
f3499f95
JM
32392 [BZ #13550]
32393 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32394 definitions.
32395 (CHECK_FCNTL): Likewise.
32396 (CHECK_N_PAGES): Likewise.
32397
32a45bea
JM
32398 [BZ #13550]
32399 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32400 definitions.
32401 (CHECK_SIGSET_NULL_OK): Likewise.
32402 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32403 <bp-checks.h>.
32404 (sigpending): Don't use CHECK_SIGSET.
32405 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32406 <bp-checks.h>.
32407 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32408 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32409 <bp-checks.h>.
32410 (do_sigsuspend): Don't use CHECK_SIGSET.
32411 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32412 use CHECK_SIGSET.
32413 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32414 (do_sigwait): Don't use CHECK_SIGSET.
32415 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32416 use CHECK_SIGSET.
32417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32418 include <bp-checks.h>.
32419 (sigpending): Don't use CHECK_SIGSET.
32420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32421 include <bp-checks.h>.
32422 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32423 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32424 <bp-checks.h>.
32425 (sigpending): Don't use CHECK_SIGSET.
32426 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32427 <bp-checks.h>.
32428 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32429
2e8a5c8c
JM
32430 [BZ #13550]
32431 * sysdeps/generic/bp-semctl.h: Remove file.
32432 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32433 <bp-checks.h> and <bp-semctl.h>.
32434 (__old_semctl): Don't use CHECK_SEMCTL.
32435 (__new_semctl): Likewise.
32436 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32437 and <bp-semctl.h>.
32438 (__old_semctl): Don't use CHECK_SEMCTL.
32439 (__new_semctl): Likewise.
32440 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32441 <bp-checks.h> and <bp-semctl.h>.
32442 (__old_semctl): Don't use CHECK_SEMCTL.
32443 (__new_semctl): Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32445 <bp-checks.h> and <bp-semctl.h>.
32446 (semctl): Don't use CHECK_SEMCTL.
32447
c2d54929
JM
32448 [BZ #13550]
32449 * Makerules (elide-bp-thunks): Remove variable.
32450 (elide-routines.oS): Don't use $(elide-bp-thunks).
32451 (elide-routines.os): Likewise.
32452 (elide-routines.o): Likewise.
32453 (elide-routines.op): Likewise.
32454 (elide-routines.og): Likewise.
32455 (objects): Don't use $(bp-thunks).
32456 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32457 include.
32458 (common-generated): Do not add s-proto-bp.d.
32459 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32460 (int): Likewise.
32461 (typ): Likewise.
32462 Do not generate makefile rules for bounded-pointer thunks.
32463 * sysdeps/generic/bp-thunks.h: Remove file.
32464 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32465 * sysdeps/unix/s-proto-bp.S: Likewise.
32466
8cf28c5e
JM
32467 [BZ #15062]
32468 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32469 parts of result separately when argument is not close to line from
32470 -i to i and one part of argument is small.
32471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32473 * math/libm-test.inc (cacos_test): Add more tests.
32474 (casin_test): Likewise.
32475 (casinh_test): Likewise.
32476 * sysdeps/i386/fpu/libm-test-ulps: Update.
32477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32478
c4e33b8d
DM
324792013-01-31 David S. Miller <davem@davemloft.net>
32480
32481 * po/de.po: Update from translation team.
32482
3b60b421
MK
324832013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32484
32485 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32486
bb931195
TS
324872013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32488
b5a5da23
TS
32489 * configure.in (_AC_PROG_CC_C89): New definition.
32490 * configure: Regenerate.
32491
bb931195
TS
32492 * configure.in (AC_PROG_CPP): New definition.
32493 * configure: Regenerate.
32494
8c53a12c
JM
324952013-01-23 Joseph Myers <joseph@codesourcery.com>
32496
32497 * debug/tst-backtrace.h: New file.
32498 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32499 (ret): Remove variable.
32500 (x): Likewise.
32501 (FAIL): Remove macro.
32502 (NO_INLINE): Likewise.
32503 (fn1): Use match function instead of strstr.
32504 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32505 (ret): Remove variable.
32506 (x): Likewise.
32507 (FAIL): Remove macro.
32508 (NO_INLINE): Likewise.
32509 (fn): Use match function instead of strstr.
32510 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32511 (ret): Remove variable.
32512 (x): Likewise.
32513 (FAIL): Remove macro.
32514 (NO_INLINE): Likewise.
32515 (handle_signal): Use match function instead of strstr.
32516 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32517 (ret): Remove variable.
32518 (x): Likewise.
32519 (FAIL): Remove macro.
32520 (NO_INLINE): Likewise.
32521 (handle_signal): Use match function instead of strstr.
32522
4858fa2a
RM
325232013-01-23 Roland McGrath <roland@hack.frob.com>
32524
32525 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32526
bae8e7f5
DM
325272013-01-23 David S. Miller <davem@davemloft.net>
32528
32529 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32530 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32531 argument of CAS if possible.
32532 * sysdeps/sparc/sparc64/bits/atomic.h
32533 (__arch_compare_and_exchange_val_32_acq): Likewise.
32534 (__arch_compare_and_exchange_val_64_acq): Likewise.
32535
9cbbc4ae
PT
325362013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32537
32538 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32539 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32540 Include <limits.h>.
67b3f58c 32541 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32542
5655a0b5
AC
325432013-01-23 Adam Conrad <adconrad@0c3.net>
32544
32545 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32546 (LDFLAGS-tst-array5): Likewise.
32547
052aff95
JM
325482013-01-23 Joseph Myers <joseph@codesourcery.com>
32549
32550 [BZ #15036]
32551 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32552 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32553 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32554 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32555
7c1e01aa
DM
325562013-01-21 David S. Miller <davem@davemloft.net>
32557
32558 * sysdeps/sparc/backtrace.c: New file.
32559 * sysdeps/sparc/sparc32/backtrace.h: New file.
32560 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32561 * sysdeps/sparc/sparc64/backtrace.h: New file.
32562 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32563 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32564 -funwind-tables.
32565
ab087e0a
AS
325662013-01-21 Andreas Schwab <schwab@suse.de>
32567
32568 [BZ #15020]
32569 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32570 closed its stdout.
32571
ed689c2f
AS
325722013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32573
32574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32575 "mpa2.h".
32576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32577
31d470ac
JM
325782013-01-18 Joseph Myers <joseph@codesourcery.com>
32579 Mark Mitchell <mark@codesourcery.com>
32580 Tom de Vries <tom@codesourcery.com>
32581 Paul Pluzhnikov <ppluzhnikov@google.com>
32582
32583 * debug/tst-backtrace2.c: New file.
32584 * debug/tst-backtrace3.c: Likewise.
32585 * debug/tst-backtrace4.c: Likewise.
32586 * debug/tst-backtrace5.c: Likewise.
32587 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32588 (CFLAGS-tst-backtrace3.c): Likewise.
32589 (CFLAGS-tst-backtrace4.c): Likewise.
32590 (CFLAGS-tst-backtrace5.c): Likewise.
32591 (LDFLAGS-tst-backtrace2): Likewise.
32592 (LDFLAGS-tst-backtrace3): Likewise.
32593 (LDFLAGS-tst-backtrace4): Likewise.
32594 (LDFLAGS-tst-backtrace5): Likewise.
32595 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32596 tst-backtrace4 and tst-backtrace5.
32597
90567f30 325982013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32599 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32600
32601 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32602 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32603 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32604 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32606 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32607 "+r" and remove output regs list as redundant. Add explicit inline
32608 asm to specify register of return val to work around compiler codegen
32609 bug. Remove (int) cast on return value. Add return type parameter to
32610 use in macro so that this macro does not truncate return value for
32611 64-bit values.
32612 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32613 pass to INTERNAL_VSYSCALL_NCS.
32614 (INLINE_VSYSCALL): Add 'long int' as return type to
32615 INTERNAL_VSYSCALL_NCS macro invocation.
32616 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32617 INTERNAL_VSYSCALL_NCS macro invocation.
32618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32619
d3b9ea61
SP
326202013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32621
0b57daeb
SP
32622 [BZ #14496]
32623 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32624 Fix application of SIMD FP exception mask.
32625
caa99d06
SP
32626 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32627 mp_no from a power of two.
32628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32629 __mpexp_twomm1. Use __pow_mp.
32630
d3b9ea61
SP
32631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32632 multiplication.
32633
1dbaee3c
DM
326342013-01-17 David S. Miller <davem@davemloft.net>
32635
32636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32637
728d7b43
JM
326382013-01-17 Joseph Myers <joseph@codesourcery.com>
32639
32640 [BZ #15023]
32641 * include/complex.h: Condition contents on [!_COMPLEX_H].
32642 (__kernel_casinhf): New prototype.
32643 (__kernel_casinh): Likewise.
32644 (__kernel_casinhl): Likewise.
32645 * math/Makefile (libm_calls): Add k_casinh.
32646 * math/k_casinh.c: New file.
32647 * math/k_casinhf.c: Likewise.
32648 * math/k_casinhl.c: Likewise.
32649 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32650 finite nonzero arguments.
32651 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32652 finite nonzero arguments.
32653 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32654 finite nonzero arguments.
32655 * math/s_casinh.c: Do not include <float.h>.
32656 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32657 * math/s_casinhf.c: Do not include <float.h>.
32658 (__casinhf): Move code for finite nonzero arguments to
32659 k_casinhf.c.
32660 * math/s_casinhl.c: Do not include <float.h>.
32661 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32662 redefine.
32663 (__casinhl): Move code for finite nonzero arguments to
32664 k_casinhl.c.
32665 * math/libm-test.inc (cacos_test): Add more tests.
32666 * sysdeps/i386/fpu/libm-test-ulps: Update.
32667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32668
2a26ef3a
PT
326692013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32670
32671 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32672 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32673 [!HAVE_MREMAP]: Remove [defined linux] case.
32674 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32675
a897655d
SP
326762013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32677
32678 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32679
881ebe89 326802013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32681
32682 * elf/elf.h (R_386_SIZE32): New relocation.
32683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32684 R_386_SIZE32.
32685 (elf_machine_rela): Likewise.
32686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32687 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32688
59981e9b
JM
326892013-01-17 Joseph Myers <joseph@codesourcery.com>
32690
32691 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32692 (FP_FAST_FMA): Do not define.
32693 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32694 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32695 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32696 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32697 !_SOFT_FLOAT]: Likewise.
32698 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32699 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32700 value.
32701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32702 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32703 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32705 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32706 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32707 file.
32708
cfa8054f
AS
327092013-01-16 Andreas Schwab <schwab@suse.de>
32710
32711 [BZ #14327]
32712 * include/stdlib.h (__mktemp): Add declaration.
32713 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32714 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32715
dd930cc5
SP
327162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32717
881ebe89
SP
32718 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32719 definitions.
32720 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32721 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32722 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32723 definitions here.
32724 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32725 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32726 definitions.
32727 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32728 and ONE.
32729 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32730 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32732 definitions.
32733 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32734 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32735 definitions.
32736 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32737
dd930cc5
SP
32738 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32739
c19a9f89
DM
327402013-01-15 David S. Miller <davem@davemloft.net>
32741
1aa61767
DM
32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32743 trunc{,f} to libm-sysdep_routes.
32744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32746 file.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32749 file.
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32751 file.
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32754 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32755 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32756 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32757 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32758 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32759 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32760
c42d5e98
DM
32761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32762 nearbyint{,f} to libm-sysdep_routes.
32763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32765 New file.
32766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32767 file.
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32769 New file.
32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32771 file.
32772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32775 file.
32776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32778 file.
32779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32780 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32781 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32782
c19a9f89
DM
32783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32784 libc_feholdexcept and libc_fesetenv.
32785
357679d2
MF
327862013-01-15 Mike Frysinger <vapier@gentoo.org>
32787
32788 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32789
65a82e3d
DM
327902013-01-14 David S. Miller <davem@davemloft.net>
32791
8b954ab9
DM
32792 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32793 (SPARC_ASM_VIS2_IFUNC): Likewise.
32794 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32796 use of 'siam' instruction.
32797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32798 Likewise.
32799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32800 Likewise.
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32802 Likewise.
32803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32808 file.
32809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32810 file.
32811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32812 file.
32813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32814 file.
32815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32820 new VIS2 routines.
32821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32824 Likewise.
32825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32830 routines to libm-sysdep_routines.
32831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32832
65a82e3d
DM
32833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32834 fdim/fdimf to libm-sysdep_routines.
32835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32836 file.
32837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32839 file.
32840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32843 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32844 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32845 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32846 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32847
e34ab705
SP
328482013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32849
2a91b573
SP
32850 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32851 to optimize copies.
32852
1066a534
SP
32853 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32856
e34ab705
SP
32857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32858 local variable MPTWO.
32859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32860 Likewise.
32861
aba5e596
MF
328622013-01-13 Mike Frysinger <vapier@gentoo.org>
32863
32864 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32865 GLOB_NOESCAPE.
32866
e557e9e5
MF
328672013-01-13 Mike Frysinger <vapier@gentoo.org>
32868
32869 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32870
0428cec9
MF
328712013-01-13 Mike Frysinger <vapier@gentoo.org>
32872
32873 * manual/pattern.texi (glob_t): Document gl_flags.
32874 (glob64_t): Likewise.
32875
8794a964
DM
328762013-01-11 David S. Miller <davem@davemloft.net>
32877
66438c3f
RM
32878 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32879 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32880 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32881 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32882 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32883 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32884 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32885 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32886 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32887 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32888 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32889 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32890 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32891
4ae4244d
DM
32892 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32893 sparc V9 rather than using V8 code.
32894 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32895 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32896
8794a964
DM
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32898 Move to...
32899 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32900 Here.
32901
6270516e
RM
329022013-01-11 Roland McGrath <roland@hack.frob.com>
32903
32904 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32905 not in the main loop.
32906 * configure: Regenerated.
32907
6a57d931
JM
329082013-01-11 Joseph Myers <joseph@codesourcery.com>
32909
32910 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32911 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32912 to just #else.
32913 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32914 [!__GLIBC_HAVE_LONG_LONG] case.
32915 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32916 condition to just #else.
32917 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32918 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32919 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32920 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32921 unconditional.
32922 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32923 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32924 #elif condition to just #else.
32925 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32926 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32927 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32928 #elif condition to just #else.
32929
0e8529e9
SE
329302013-01-11 Steve Ellcey <sellcey@mips.com>
32931
32932 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32933 (EF_MIPS_ARCH_64): Fix value.
32934 (EF_MIPS_ARCH_32R2): New.
32935 (EF_MIPS_ARCH_64R2): New.
32936
740b3dbe
L
329372013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * Makeconfig (+link-pie-before-libc): New.
32940 (+link-pie-after-libc): Likewise.
32941 (+link-pie-tests): Likewise.
32942 (+link-pie): Rewritten.
32943 (link-before-libc): Remove $(config-LDFLAGS).
32944 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32945 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32946 (config-LDFLAGS): Renamed to ...
32947 (rtld-LDFLAGS): This.
32948 (rtld-tests-LDFLAGS): New macro.
32949 (link-libc-rpath-link): Likewise.
32950 (link-libc-tests-rpath-link): Likewise.
32951 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32952 (link-libc): Prepand $(link-libc-rpath-link).
32953 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32954 (test-program-prefix): New macro.
32955 (test-via-rtld-prefix): Likewise.
32956 (test-program-cmd): Likewise.
32957 (host-test-program-cmd): Likewise.
32958 * Makefile ($(common-objpfx)testrun.sh): Replace
32959 $(run-program-prefix) with $(test-program-prefix).
32960 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32961 $(rtld-LDFLAGS).
32962 ($(common-objpfx)shlib.lds): Likewise.
32963 (build-module-helper): Likewise.
32964 ($(common-objpfx)format.lds): Likewise.
32965 * Rules (binaries-pie-tests): New.
32966 (binaries-pie-notests): Likewise.
32967 (binaries-pie): Rewritten.
32968 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32969 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32970 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32971 (make-test-out): Replace $(host-built-program-cmd) with
32972 $(host-test-program-cmd).
32973 * config.make.in (build-hardcoded-path-in-tests): New variable.
32974 * configure.in (--enable-hardcoded-path-in-tests): New configure
32975 option.
32976 (hardcoded_path_in_tests): New AC_SUBST.
32977 * configure: Regenerated.
32978 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32979 $(built-program-cmd) with $(test-program-cmd).
32980 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32981 (test_program_cmd): This.
32982 * elf/Makefile ($(objpfx)order.out): Run test with
32983 $(test-program-prefix).
32984 ($(objpfx)order2.out): Likewise.
32985 ($(objpfx)tst-initorder.out): Likewise.
32986 ($(objpfx)tst-initorder2.out): Likewise.
32987 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32988 $(test-program-cmd).
32989 ($(objpfx)tst-array1-static.out): Likewise.
32990 ($(objpfx)tst-array2.out): Likewise.
32991 ($(objpfx)tst-array3.out): Likewise.
32992 ($(objpfx)tst-array4.out): Likewise.
32993 ($(objpfx)tst-array5.out): Likewise.
32994 ($(objpfx)tst-array5-static.out): Likewise.
32995 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32996 $(test-program-cmd).
32997 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32998 $(run-program-prefix) with $(test-program-prefix).
32999 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33000 (test_program_prefix): This.
33001 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33002 $(run-program-prefix) with $(test-program-prefix).
33003 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33004 (test_program_prefix): This.
33005 * iconvdata/tst-tables.sh: Likewise.
33006 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33007 $(run-program-prefix) with $(test-program-prefix).
33008 ($(objpfx)tst-translit.out): Likewise.
33009 ($(objpfx)tst-gettext2.out): Likewise.
33010 ($(objpfx)tst-gettext4.out): Likewise.
33011 ($(objpfx)tst-gettext6.out): Likewise.
33012 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33013 (test_program_prefix): This.
33014 * intl/tst-gettext2.sh: Likewise.
33015 * intl/tst-gettext4.sh Likewise.
33016 * intl/tst-gettext6.sh: Likewise.
33017 * intl/tst-translit.sh: Likewise.
33018 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33019 with $(test-program-cmd).
33020 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33021 $(run-program-prefix) with $(test-program-prefix).
33022 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33023 (test_program_prefix): This.
33024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33025 $(run-program-prefix) with $(test-program-prefix).
33026 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33027 (test_program_prefix): This.
33028 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33029 * posix/Makefile ($(objpfx)globtest.out): Replace
33030 $(run-via-rtld-prefix) and $(test-wrapper) with
33031 $(test-program-prefix) and $(test-via-rtld-prefix).
33032 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33033 $(test-program-prefix).
33034 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33035 $(host-test-program-cmd).
33036 (tst-spawn-ARGS): Likewise.
33037 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33038 $(test-program-prefix).
33039 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33040 (test_via_rtld_prefix): This.
33041 (test_wrapper): Renamed to ...
33042 (test_program_prefix): This.
33043 (run_program_prefix): Replaced by test_program_prefix.
33044 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33045 (test_program_prefix): This.
33046 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33047 with $(host-test-program-cmd).
33048 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33049 $(run-program-prefix) with $(test-program-prefix).
33050 ($(objpfx)tst-printf.out): Likewise.
33051 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33052 $(test-program-cmd).
33053 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33054 (test_program_prefix): This.
33055 * stdio-common/tst-unbputc.sh: Likewise.
33056 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33057 $(run-program-prefix) with $(test-program-prefix).
33058 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33059 (test_program_prefix): This.
33060 * string/Makefile ($(objpfx)tst-svc.out): Replace
33061 $(built-program-cmd) with $(test-program-cmd).
33062
c6fe55cf
AJ
330632013-01-11 Andreas Jaeger <aj@suse.de>
33064
33065 [BZ #15003]
33066 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33067 value. Sync with Linux 3.7.
33068
9e6919c8
DM
330692013-01-10 David S. Miller <davem@davemloft.net>
33070
33071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33074
1c9f1a02
RM
330752013-01-10 Roland McGrath <roland@hack.frob.com>
33076
33077 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33078 never set.
33079 * configure: Regenerated.
33080
b9de2dde
DM
330812013-01-10 David S. Miller <davem@davemloft.net>
33082
33083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33084 sparc V9 rather than using V8 code.
33085 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33086 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33087
e7f68ef4
RM
330882013-01-10 Roland McGrath <roland@hack.frob.com>
33089
33090 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33091 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33092 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33093 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33094 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33095 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33096 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33097 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33098 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33099 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33100 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33101 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33102 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33103 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33104 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33105 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33106 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33107 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33108 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33109 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33110 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33111 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33112 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33113 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33114 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33115 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33116 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33117
5a47cc9c
DM
331182013-01-10 David S. Miller <davem@davemloft.net>
33119
33120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33121
4cf8f209
L
331222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 * posix/Makefile (tests-static): New variable.
33125 (tests): Add $(tests-static).
33126 (tst-exec-static-ARGS): New variable.
33127 (tst-spawn-static-ARGS): Likewise.
33128 * posix/tst-exec-static.c: New file.
33129 * posix/tst-spawn-static.c: Likewise.
33130 * posix/tst-exec.c: Support run directly.
33131 * posix/tst-spawn.c: Likewise.
33132
fed0faa1
JM
331332013-01-10 Joseph Myers <joseph@codesourcery.com>
33134
828beb13
JM
33135 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33136 long.
33137 * math/bits/mathcalls.h (llrint): Likewise.
33138 (llround): Likewise.
33139 * stdlib/stdlib.h (struct drand48_data): Likewise.
33140 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33141 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33142 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33143 Likewise.
33144 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33145 Likewise.
33146 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33147 (elf_greg_t): Likewise.
33148 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33149 (__jmp_buf): Likewise.
33150 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33151 definitions.
33152 (llrint): Likewise, for all definitions.
33153 (llrintl): Likewise.
33154
fed0faa1
JM
33155 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33156 Remove [__GNUC__] condition.
33157 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33158 condition to just [__USE_ISOC99].
33159 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33160
1a20cb20
L
331612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33162
33163 [BZ #14200]
33164 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33165 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33166 defined.
33167 (_POSIX_V6_ILP32_OFF32): Likewise.
33168 (_XBS5_ILP32_OFF32): Likewise.
33169 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33170 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33171
751b85f7
SP
331722013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33173
7490eb81
SP
33174 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33175
751b85f7
SP
33176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33177 doubles __mpexp_twomm1. Adjust usage.
33178 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33179 Remove.
33180
988197f0
AS
331812013-01-10 Andreas Schwab <schwab@suse.de>
33182
33183 [BZ #14964]
33184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33185 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33186
e83d7298
DM
331872013-01-09 David S. Miller <davem@davemloft.net>
33188
034ed64b 33189 [BZ #15003]
57f41c40
AS
33190 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33191 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33192 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33193 (TCP_FASTOPEN): Define.
e83d7298
DM
33194 (tcp_repair_opt): New structure.
33195 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33196 enum values.
57f41c40
AS
33197 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33198 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33199 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33200 (tcp_cookie_transactions): New structure.
33201
d5e0b9bd
AB
332022013-01-09 Anton Blanchard <anton@samba.org>
33203
33204 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33205 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33206 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33208
0c07e3ea
JM
332092013-01-09 Joseph Myers <joseph@codesourcery.com>
33210
33211 * include/features.h (__USE_ANSI): Remove.
33212
232f7002
RM
332132013-01-09 Roland McGrath <roland@hack.frob.com>
33214
ad98e30c
RM
33215 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33216
232f7002
RM
33217 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33218
950c99ca
SP
332192013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33220
b5792741
SP
33221 * sysdeps/s390/fpu/libm-test-ulps: Update.
33222
47cf2278
SP
33223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33224
950c99ca
SP
33225 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33226 (__acr): Likewise.
33227 (__cpy): Likewise.
33228 (norm): Likewise.
33229 (denorm): Likewise.
33230 (__mp_dbl): Likewise.
33231 (__dbl_mp): Likewise.
33232 (add_magnitudes): Likewise.
33233 (sub_magnitudes): Likewise.
33234 (__add): Likewise.
33235 (__sub): Likewise.
33236 (__mul): Likewise.
33237 (__inv): Likewise.
33238 (__dvd): Likewise.
33239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33240 (__acr): Likewise.
33241 (__cpy): Likewise.
33242 (norm): Likewise.
33243 (denorm): Likewise.
33244 (__mp_dbl): Likewise.
33245 (__dbl_mp): Likewise.
33246 (add_magnitudes): Likewise.
33247 (sub_magnitudes): Likewise.
33248 (__add): Likewise.
33249 (__sub): Likewise.
33250 (__mul): Likewise.
33251 (__inv): Likewise.
33252 (__dvd): Likewise.
33253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33254 (__acr): Likewise.
33255 (__cpy): Likewise.
33256 (norm): Likewise.
33257 (denorm): Likewise.
33258 (__mp_dbl): Likewise.
33259 (__dbl_mp): Likewise.
33260 (add_magnitudes): Likewise.
33261 (sub_magnitudes): Likewise.
33262 (__add): Likewise.
33263 (__sub): Likewise.
33264 (__mul): Likewise.
33265 (__inv): Likewise.
33266 (__dvd): Likewise.
33267
eede9df9
JM
332682013-01-08 Joseph Myers <joseph@codesourcery.com>
33269
33270 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33271 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33272 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33273 2 && __USE_EXTERN_INLINES]: Likewise.
33274
c40ea3d9
AJ
332752013-01-08 Andreas Jaeger <aj@suse.de>
33276
33277 [BZ# 14985]
33278 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33279 Remove.
33280 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33282
2ccdea26
AB
332832013-01-07 Anton Blanchard <anton@samba.org>
33284
33285 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33286 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33287 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33288 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33289 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33290 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33291 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33292 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33297 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33300 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33303 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33304 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33305 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33306 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33308 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33309 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33310 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33311 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33312 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33314 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33315 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33317 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33323 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33324 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33325 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33327 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33328
a9708fed
JM
333292013-01-07 Joseph Myers <joseph@codesourcery.com>
33330
375607b9
JM
33331 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33332 (__MALLOC_PMT): Likewise.
33333 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33334 [__GNUC__], only on [_LIBC].
33335 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33336 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33337 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33338 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33339 forward declaration.
33340 (realloc_hook_ini): Likewise.
33341 (memalign_hook_ini): Likewise.
33342 (__libc_memalign): Do not use __MALLOC_PMT in variable
33343 declaration.
33344 (__libc_valloc): Likewise.
33345 (__libc_pvalloc): Likewise.
33346 (__libc_calloc): Likewise.
33347 (__posix_memalign): Likewise.
33348
a9708fed
JM
33349 [BZ #14996]
33350 * math/s_casinh.c: Include <float.h>.
33351 (__casinh): Do not do computation with squaring and square root
33352 for large arguments.
33353 * math/s_casinhf.c: Include <float.h>.
33354 (__casinhf): Do not do computation with squaring and square root
33355 for large arguments.
33356 * math/s_casinhl.c: Include <float.h>.
33357 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33358 (__casinhl): Do not do computation with squaring and square root
33359 for large arguments.
33360 * math/libm-test.inc (casin_test): Add more tests.
33361 (casinh_test): Likewise.
33362 * sysdeps/i386/fpu/libm-test-ulps: Update.
33363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33364
afec409a
L
333652013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33366
33367 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33368 (__x86_64_raw_data_cache_size): Likewise.
33369 (__x86_64_data_cache_size_half): Likewise.
33370 (__x86_64_raw_data_cache_size_half): Likewise.
33371 (__x86_64_shared_cache_size): Likewise.
33372 (__x86_64_raw_shared_cache_size): Likewise.
33373 (__x86_64_shared_cache_size_half): Likewise.
33374 (__x86_64_raw_shared_cache_size_half): Likewise.
33375 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33376 to ...
33377 (__x86_data_cache_size): This.
33378 (__x86_64_raw_data_cache_size): Renamed to ...
33379 (__x86_raw_data_cache_size): This.
33380 (__x86_64_data_cache_size_half): Renamed to ...
33381 (__x86_data_cache_size_half): This.
33382 (__x86_64_raw_data_cache_size_half): Renamed to ...
33383 (__x86_raw_data_cache_size_half): This.
33384 (__x86_64_shared_cache_size): Renamed to ...
33385 (__x86_shared_cache_size): This.
33386 (__x86_64_raw_shared_cache_size): Renamed to ...
33387 (__x86_raw_shared_cache_size): This.
33388 (__x86_64_shared_cache_size_half): Renamed to ...
33389 (__x86_shared_cache_size_half): This.
33390 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33391 (__x86_raw_shared_cache_size_half): This.
33392 * sysdeps/x86_64/memcpy.S: Updated.
33393 * sysdeps/x86_64/memset.S: Likewise.
33394 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33397
0b3986d0
DM
333982013-01-04 David S. Miller <davem@davemloft.net>
33399
33400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33401
e47686e9
AS
334022013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33403
d643bac1
AS
33404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33405 1 to avoid redefinition warning.
33406 (__USE_GNU): Don't define.
33407 (init_signaling_nan): Protoize.
33408
e47686e9
AS
33409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33410
b18decba
SP
334112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33412
fffb407f
SP
33413 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33415 (__cpymn): Likewise.
33416 (norm): Remove commented code.
33417 (denorm): Likewise.
33418 (__mp_dbl): Likewise.
33419 (__inv): Likewise.
33420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33421 (__cpymn): Likewise.
33422 (norm): Remove commented code.
33423 (denorm): Likewise.
33424 (__mp_dbl): Likewise.
33425 (__inv): Likewise.
33426
b18decba
SP
33427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33428 mp_no value for 1.0 and 2.0.
33429 (norm): Use RADIXI instead of radixi.d.
33430 (denorm): Likewise.
33431 (__mul): Use 0.0 instead of zero.d.
33432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33433 mp_no value for 1.0 and 2.0.
33434 (norm): Use RADIXI instead of radixi.d.
33435 (denorm): Likewise.
33436 (__mul): Use 0.0 instead of zero.d.
33437
cdc1c96f
JM
334382013-01-04 Joseph Myers <joseph@codesourcery.com>
33439
33440 [BZ #14994]
33441 * math/s_casinh.c (__casinh): Reduce finite argument to first
33442 quadrant then set signs of results at the end.
33443 * math/s_casinhf.c (__casinhf): Likewise.
33444 * math/s_casinhl.c (__casinhl): Likewise.
33445 * math/libm-test.inc (casin_test): Add more tests.
33446 (casinh_test): Likewise.
33447 * sysdeps/i386/fpu/libm-test-ulps: Update.
33448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33449
302913e1
SP
334502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33451
6420d207
SP
33452 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33453
a9e48ab4
SP
33454 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33455
b7837264
SP
33456 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33457 declarations.
33458 (denorm): Likewise.
33459 (__mp_dbl): Likewise.
33460 (__inv): Likewise.
33461
f8af25d2
SP
33462 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33463 and adjust the header comment.
33464
302913e1
SP
33465 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33466 variable name from declaration.
33467
5d7dd1ca
L
334682013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33469
33470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33471 Initialize COMMON_CPUID_INDEX_7 element.
33472 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33473 (CPUID_RTM): Likewise.
33474 (HAS_RTM): Likewise.
33475 (COMMON_CPUID_INDEX_7): New enum.
33476
2f5f40f4
AS
334772013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33478
33479 [BZ #14981]
33480 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33481 size is zero, record memory as freed.
33482
4056f4a0
AJ
334832013-01-03 Andreas Jaeger <aj@suse.de>
33484
33485 * po/ia.po: Add new Interlingua translation.
33486
ab15736f 334872012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33488
33489 * locale/programs/localedef.c: Fix description of '--posix' flag.
33490
568035b7
JM
334912013-01-02 Joseph Myers <joseph@codesourcery.com>
33492
e6898b8d
JM
33493 * NEWS: Update dates in second copyright notice.
33494 * README: Update copyright dates in example.
33495 * manual/libc.texinfo: Update copyright dates.
33496 * scripts/test-installation.pl: Update copyright date in --version
33497 output.
33498
0e2f9562
JM
33499 * hurd/ctty-input.c: Fix copyright notice formatting.
33500 * hurd/ctty-output.c: Likewise.
33501 * hurd/dtable.c: Likewise.
33502 * hurd/hurd-raise.c: Likewise.
33503 * hurd/hurdprio.c: Likewise.
33504 * hurd/msgportdemux.c: Likewise.
33505 * misc/sys/file.h: Likewise.
33506 * misc/sys/ioctl.h: Likewise.
33507 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33508 * sysdeps/mach/hurd/chdir.c: Likewise.
33509 * sysdeps/mach/hurd/fchdir.c: Likewise.
33510 * sysdeps/mach/hurd/rename.c: Likewise.
33511 * sysdeps/mach/hurd/rmdir.c: Likewise.
33512 * sysdeps/mach/hurd/seekdir.c: Likewise.
33513 * sysdeps/mach/hurd/setsid.c: Likewise.
33514 * sysdeps/posix/wait3.c: Likewise.
33515
568035b7
JM
33516 * All files with FSF copyright notices: Update copyright dates
33517 using scripts/update-copyrights.
33518 * intl/plural.c: Regenerated.
33519 * locale/programs/charmap-kw.h: Likewise.
33520 * locale/programs/locfile-kw.h: Likewise.
33521
da08f647
SP
335222013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33523
0f5477af
SP
33524 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33525 four values.
33526
44e0d4c2
SP
33527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33528 calculation loop and add branch prediction.
33529
4d55b4e5
SP
33530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33531 check access beyond bounds of m1np.
33532
da08f647
SP
33533 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33534 MPTWO.
33535 (__inv): Remove local variable MPTWO to use the global
33536 constant.
33537 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33539 variable MPTWO.
33540 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33541 MP3HALFS static const.
33542
8e051029
DM
335432013-01-01 David S. Miller <davem@davemloft.net>
33544
33545 * po/ca.po: Update from translation team.
33546
f4cf5f2d
JM
335472013-01-01 Joseph Myers <joseph@codesourcery.com>
33548
33549 * scripts/update-copyrights: New file.
33550 * Makeconfig: Reformat copyright notice.
33551 * ctype/ctype.h: Likewise.
33552 * debug/swprintf_chk.c: Likewise.
33553 * elf/dl-cache.c: Likewise.
33554 * elf/dl-debug.c: Likewise.
33555 * elf/dl-object.c: Likewise.
33556 * grp/initgroups.c: Likewise.
33557 * hurd/Makefile: Likewise.
33558 * hurd/hurd/signal.h: Likewise.
33559 * hurd/hurdfault.c: Likewise.
33560 * hurd/hurdioctl.c: Likewise.
33561 * hurd/hurdlookup.c: Likewise.
33562 * hurd/intr-msg.c: Likewise.
33563 * iconv/gconv_open.c: Likewise.
33564 * libio/swprintf.c: Likewise.
33565 * locale/lc-ctype.c: Likewise.
33566 * locale/nl_langinfo.c: Likewise.
33567 * mach/Machrules: Likewise.
33568 * mach/Makefile: Likewise.
33569 * malloc/obstack.h: Likewise.
33570 * manual/Makefile: Likewise.
33571 * manual/tsort.awk: Likewise.
33572 * misc/bits/stab.def: Likewise.
33573 * nis/nis_print_group_entry.c: Likewise.
33574 * nis/nis_table.c: Likewise.
33575 * nis/nss_compat/compat-pwd.c: Likewise.
33576 * nis/nss_compat/compat-spwd.c: Likewise.
33577 * po/Makefile: Likewise.
33578 * posix/fnmatch.c: Likewise.
33579 * posix/regex.h: Likewise.
33580 * resolv/Makefile: Likewise.
33581 * resolv/nss_dns/dns-network.c: Likewise.
33582 * resolv/res_hconf.c: Likewise.
33583 * scripts/gen-sorted.awk: Likewise.
33584 * soft-fp/soft-fp.h: Likewise.
33585 * stdio-common/printf.h: Likewise.
33586 * stdlib/monetary.h: Likewise.
33587 * stdlib/random.c: Likewise.
33588 * stdlib/random_r.c: Likewise.
33589 * sysdeps/generic/Makefile: Likewise.
33590 * sysdeps/gnu/Makefile: Likewise.
33591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33619 * sysdeps/mach/hurd/errnos.awk: Likewise.
33620 * sysdeps/mach/hurd/fork.c: Likewise.
33621 * sysdeps/mach/hurd/getcwd.c: Likewise.
33622 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33623 * sysdeps/mach/hurd/mmap.c: Likewise.
33624 * sysdeps/mach/hurd/utimes.c: Likewise.
33625 * sysdeps/mach/hurd/xmknod.c: Likewise.
33626 * sysdeps/posix/profil.c: Likewise.
33627 * sysdeps/posix/readdir_r.c: Likewise.
33628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33629 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33630 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33631 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33635 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33637 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33638 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33639 * sysdeps/pthread/lio_listio.c: Likewise.
33640 * sysdeps/sparc/dl-procinfo.h: Likewise.
33641 * sysdeps/unix/i386/sysdep.S: Likewise.
33642 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33643 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33644 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33645 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33647 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33648 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33649 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33650 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33651 * sysdeps/wordsize-32/divdi3.c: Likewise.
33652 * time/sys/time.h: Likewise.
33653 * wcsmbs/Makefile: Likewise.
33654
0549fbba
DM
336552013-01-01 David S. Miller <davem@davemloft.net>
33656
a141f1a7
DM
33657 * po/fr.po: Update from translation team.
33658
0549fbba
DM
33659 * catgets/gencat.c: Update copyright year.
33660 * csu/version.c: Likewise.
33661 * debug/catchsegv.sh: Likewise.
33662 * debug/pcprofiledump.c: Likewise.
33663 * debug/xtrace.sh: Likewise.
33664 * elf/ldconfig.c: Likewise.
33665 * elf/ldd.bash.in: Likewise.
33666 * elf/pldd.c: Likewise.
33667 * elf/sotruss.ksh: Likewise.
33668 * elf/sprof.c: Likewise.
33669 * iconv/iconv_prog.c: Likewise.
33670 * iconv/iconvconfig.c: Likewise.
33671 * locale/programs/locale.c: Likewise.
33672 * locale/programs/localedef.c: Likewise.
33673 * login/programs/pt_chown.c: Likewise.
33674 * malloc/memusage.sh: Likewise.
33675 * malloc/memusagestat.c: Likewise.
33676 * malloc/mtrace.pl: Likewise.
33677 * nscd/nscd.c: Likewise.
33678 * nss/getent.c: Likewise.
33679 * nss/makedb.c: Likewise.
33680 * posix/getconf.c: Likewise.
33681
18ea052c
SP
336822012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33683
33684 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33685 numbers.
33686
9c89fca6
MF
336872012-12-30 Mike Frysinger <vapier@gentoo.org>
33688
33689 * math/bits/mathcalls.h (modf): Use __nonnull.
33690
085ec079
SP
336912012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33692
33693 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33694 (split): Use macro CN instead of the bare value.
33695 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33696 could be used.
33697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33698 instead of the bare value.
33699 (power1): Likewise.
33700
6d9f97e1
SP
337012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33702
d63f73be
SP
33703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33704 __ATAN_TWOM.
33705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33706
6d9f97e1
SP
33707 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33708 their values.
33709 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33711 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33712 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33713
4c4febf5
AJ
337142012-12-28 Andreas Jaeger <aj@suse.de>
33715
af5843ef
AJ
33716 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33717 values are from Linux 3.7.
33718
4c4febf5
AJ
33719 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33720 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33721
99136f82
SP
337222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33723
2f216c3c 33724 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33725 TRUE case.
33726
99136f82
SP
33727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33728 (norm): Likewise.
33729 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33730 variables with preprocessor constants.
33731 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33732 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33733 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33734
7fffbdff
BH
337352012-12-27 Bruno Haible <bruno@clisp.org>
33736
33737 [BZ #14317]
33738 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33739 only if needed.
33740
b76eb5f0
SP
337412012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33742
31a7fe5c
SP
33743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33744 and use variable directly.
33745 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33746
b76eb5f0
SP
33747 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33748 MPONE.
33749 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33751 variable MPONE.
33752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33754 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33755 include directive. Remove local variable MPONE.
33756 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33757 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33759
2c8bfe7d
DM
337602012-12-25 David S. Miller <davem@davemloft.net>
33761
33762 * version.h (RELEASE): Set to "development".
33763 (VERSION): Set to "2.17.90".
33764 * NEWS: Add 2.18 section.
33765
147d03b0
DM
337662012-12-21 David S. Miller <davem@davemloft.net>
33767
33768 * po/hr.po: Update from translation team.
33769
a8ebb2b9
AK
337702012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33771
33772 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33773
95b4f1b6
SE
337742012-12-19 Steve Ellcey <sellcey@mips.com>
33775
b2d94007 33776 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33777
cedb2a90
MS
337782012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33779
33780 * manual/contrib.texi (Contributors): Spelling correction.
33781
bbf527d6
DM
337822012-12-15 David S. Miller <davem@davemloft.net>
33783
33784 * po/ru.po: Update from translation team.
33785
bc38c906
DM
337862012-12-13 David S. Miller <davem@davemloft.net>
33787
85429b1a
DM
33788 * NEWS: Mention IFUNC testsuite enhancements.
33789
d283e353
DM
33790 * po/pl.po: Update from translation team.
33791 * po/bg.po: Likewise.
33792
bc38c906
DM
33793 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33794 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33795
a181b0d7
DM
337962012-12-11 David S. Miller <davem@davemloft.net>
33797
4641d57e
DM
33798 * po/sv.po: Update from translation team.
33799
f7bc6495
DM
33800 * po/vi.po: Update from translation team.
33801
6fc9048f
DM
33802 * po/cs.po: Update from translation team.
33803
a181b0d7
DM
33804 * po/de.po: Update from translation team.
33805 * po/eo.po: Likewise.
33806 * po/nl.po: Likewise.
33807
f70bfe80
SP
338082012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33809
3c8b4190
SP
33810 [BZ #14246]
33811 * manual/argp.texi (Argp Helper Functions): Move node to follow
33812 Argp Parsing State.
33813
f70bfe80
SP
33814 [BZ #14872]
33815 * manual/conf.texi (Limits on File System Capacity): Mention if
33816 terminating null is included in the max size.
33817
188f0adf
AJ
338182012-12-10 Andreas Jaeger <aj@suse.de>
33819
33820 * po/cs.po: Update from translation team.
33821
56e7d3ad
SP
338222012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33823
33824 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33825 void pointer and cast to uintptr_t.
33826 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33827 path.
33828 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33829 * sysdeps/s390/s390-64/memset.S: Likewise.
33830
76f2d2ea 338312012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33832
33833 [BZ #14833]
33834 * menual/message.texi (Message Translation): Fix typos.
33835 (Helper programs for gettext): Likewise.
33836
67cbf9a2
AS
338372012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33838
33839 [BZ #14898]
33840 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33841 Change to -1.
33842
682d0e9a
DM
338432012-12-07 David S. Miller <davem@davemloft.net>
33844
33845 * po/libc.pot: Update.
33846
573cd484
RH
338472012-12-07 Richard Henderson <rth@redhat.com>
33848
7e9da188 33849 [BZ #10114]
573cd484
RH
33850 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33851 normal/normal case to before the switch.
33852 (_FP_DIV): Likewise.
33853
e933a943
MF
338542012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33855 Mike Frysinger <vapier@gentoo.org>
33856
33857 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33858 check for __NR_fadvise64_64.
33859
82123268
CM
338602012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33861
33862 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33863 0, not just to plain "0" as a statement.
33864 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33865 with cw.
33866
d9814526
JM
338672012-12-06 Joseph Myers <joseph@codesourcery.com>
33868
33869 * NEWS: Use sourceware.org in Bugzilla URL.
33870
7728c574
SP
338712012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33872
f16946dd
SP
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33874 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33875
5704bbcb
SP
33876 * stdio-common/tst-put-error.c (do_test): Add newline to the
33877 padded test to ensure flush.
33878
17aa0516
JL
338792012-12-05 Jeff Law <law@redhat.com>
33880
33881 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33882
363313b5
JM
338832012-12-05 Joseph Myers <joseph@codesourcery.com>
33884
effbd42a
JM
33885 * README: Don't refer to ports add-on as distributed separately.
33886 Mention AArch64 in list of systems supported in the ports add-on.
33887
87600365
JM
33888 * LICENSES: Add more non-FSF copyright and license notices.
33889
a0d7066a
JM
33890 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33891 ((unused)).
33892
66ca5a5b
JM
33893 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33894
363313b5
JM
33895 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33896 10000 as width of padded output.
33897
b37984ad
JM
338982012-12-04 Joseph Myers <joseph@codesourcery.com>
33899
9003570a
JM
33900 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33901
b37984ad
JM
33902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33903 variable LX with __attribute__ ((unused)).
33904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33905 Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33909 with __attribute__ ((unused)).
33910
c8df52ec
DM
339112012-12-04 David S. Miller <davem@abraco.davemloft.net>
33912
33913 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33914
b3b099af
JM
339152012-12-04 Joseph Myers <joseph@codesourcery.com>
33916
c33aa6e3
JM
33917 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33918 (CFLAGS-nldbl-acos.c): New variable.
33919 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33920 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33921 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33922 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33923 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33924 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33925 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33926 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33927 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33928 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33929 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33930 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33931 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33932 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33933 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33934 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33935 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33936 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33937 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33938 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33939 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33940 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33941 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33942 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33943 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33944 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33945 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33946 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33947 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33948 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33949 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33950 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33951 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33952 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33953 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33954 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33955 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33956 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33957 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33958 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33959 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33960 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33961 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33962 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33963 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33964 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33965 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33966 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33967 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33968 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33969 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33970 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33971 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33972 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33973 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33974 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33975 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33976 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33977 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33978 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33979 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33980 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33981 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33982 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33983 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33984 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33985 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33986 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33987 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33988 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33989 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33990 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33991 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33992 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33993 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33994 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33995 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33996 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33997 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33998 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33999 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34000 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34001 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34002 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34003 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34004 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34005 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34006 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34007 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34008 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34009 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34010 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34011 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34012 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34013 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34014 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34015 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34016
20f0018d
JM
34017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34018 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34019
b3b099af
JM
34020 [BZ #14914]
34021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34022 whole low double instead of just low 47 bits when splitting values
34023 into two parts.
34024
029264d1
AM
340252012-12-03 Allan McRae <allan@archlinux.org>
34026
34027 * manual/stdio.texi (Predefined Printf Handlers): Remove
34028 @hsep and @vsep usage.
34029
c9d6789e
MF
340302012-12-03 Mike Frysinger <vapier@gentoo.org>
34031
34032 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34033 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34034
4b7634a5
JL
340352012-12-03 Jeff Law <law@redhat.com>
34036
34037 * time/sys/time.h (settimeofday): Do not mark TV argument
34038 as __nonnull.
34039
eb6cbd24
MF
340402012-12-01 Mike Frysinger <vapier@gentoo.org>
34041
34042 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34043 when currently writing and seek to current position when not.
34044 * libio/Makefile (tests): Remove bug-fclose1.
34045 * libio/bug-fclose1.c: Delete.
34046
f638872a
JM
340472012-12-01 Joseph Myers <joseph@codesourcery.com>
34048
34049 * manual/arith.texi (feenableexcept): Fix typo.
34050 (fedisableexcept): Likewise.
34051
48085d14
RM
340522012-11-30 Roland McGrath <roland@hack.frob.com>
34053
34054 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34055 second, differently-typed declaration, rather than a cast.
34056
1a538b9f
SP
340572012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34058
34059 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34060 * include/rpc/svc.h: ... here.
34061
d07f2ff1 340622012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34063
34064 [BZ #13013]
34065 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34066 depending n and resplen2 to catch cases where answer
34067 equals answerp2.
34068
c93ec1f0
CD
340692012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34070
34071 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34072 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34073
37db69de
MF
340742012-11-29 Mike Frysinger <vapier@gentoo.org>
34075
34076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34077
e10c4e4f
RM
340782012-11-29 Roland McGrath <roland@hack.frob.com>
34079
34080 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34081
2af1b328
JL
340822012-11-28 Jeff Law <law@redhat.com>
34083
34084 [BZ #13761]
34085 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34086 dataset_temporary. Track alloca usage into alloca_used.
34087 If dataset is large allocate and release it via malloc/free.
34088
111db5b1
FW
340892012-06-04 Florian Weimer <fweimer@redhat.com>
34090
f06cc227 34091 [BZ #14197]
111db5b1
FW
34092 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34093
dd694abd
DM
340942012-11-28 David S. Miller <davem@davemloft.net>
34095
34096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34097
9984dd01
JM
340982012-11-28 Joseph Myers <joseph@codesourcery.com>
34099
34100 [BZ #14803]
34101 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34102 of pi/2 rounded to nearest to 64 bits.
34103 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34104 nearest to 64 bits.
34105 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34106 bits.
34107
14bc93a9
JL
341082012-11-28 Jeff Law <law@redhat.com>
34109 Martin Osvald <mosvald@redhat.com>
34110
34111 [BZ #14889]
34112 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34113 * sunrpc/svc.c: Include time.h.
34114 (__svc_accept_failed): New function.
34115 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34116 any reason other than EINTR, call __svc_accept_failed.
34117 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34118 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34119
e3c6aa3a
AS
341202012-11-28 Andreas Schwab <schwab@suse.de>
34121
34122 * scripts/abilist.awk: Also handle indirect functions in .opd
34123 section.
34124
1bead169
JM
341252012-11-28 Joseph Myers <joseph@codesourcery.com>
34126
34127 [BZ #13881]
34128 * sysdeps/x86/fpu/powl_helper.c: New file.
34129 * sysdeps/x86/fpu/Makefile: Likewise.
34130 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34131 (p3): New object.
34132 (__ieee754_powl): Use __powl_helper for finite arguments except
34133 integer exponents below 8.
34134 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34135 (p3): New object.
34136 (__ieee754_powl): Use __powl_helper for finite arguments except
34137 integer exponents below 8.
34138 * math/libm-test.inc (pow_test): Add more tests and enable some
34139 previously disabled tests.
34140 * sysdeps/i386/fpu/libm-test-ulps: Update.
34141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34142
0817d63d
SP
341432012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34144 Carlos O'Donell <carlos_odonell@mentor.com>
34145
34146 * nss/makedb.c (is_prime): Assert that input is odd and greater
34147 than 4. Note that fact in a comment too.
34148 (next_prime): Add 4 to input.
34149
de2fd463
SP
341502012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34151
34152 [BZ #11741]
34153 * libio/Makefile (tests): Add test case tst-fwrite-error.
34154 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34155 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34156 * libio/tst-fwrite-error.c: New test case.
34157
c515fb51
L
341582012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34161 before casting to void *.
34162 * include/libc-internal.h (__pointer_type): New macro.
34163 (__integer_if_pointer_type_sub): Likewise.
34164 (__integer_if_pointer_type): Likewise.
34165 (cast_to_integer): Likewise.
34166 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34167 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34168 before casting to atomic64_t.
34169 (atomic_exchange_acq): Likewise.
34170 (__arch_exchange_and_add_body): Likewise.
34171 (__arch_add_body): Likewise.
34172 (atomic_add_negative): Likewise.
34173 (atomic_add_zero): Likewise.
34174
4cf77aa9
JM
341752012-11-26 Joseph Myers <joseph@codesourcery.com>
34176
34177 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34178 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34179 (add_fdes): Likewise.
34180 (linear_search_fdes): Likewise.
34181 (binary_search_unencoded_fdes): Likewise.
34182
d260b3b4
AS
341832012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34184
34185 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34186
67060746
AC
341872012-11-24 Adam Conrad <adconrad@0c3.net>
34188
34189 * configure.in: Autodetect C++ header directories.
34190 * configure: Regenerated.
34191
800938a1
MF
341922012-11-23 Mike Frysinger <vapier@gentoo.org>
34193
34194 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34195
4e6e34e6
AS
341962012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34197
34198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34199
7c7feb47
JM
342002012-11-22 Joseph Myers <joseph@codesourcery.com>
34201
7184dcdf
JM
34202 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34203 LDBL_MANT_DIG == 106]: Disable some tests.
34204 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34205 Likewise.
34206 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34207 Likewise.
34208
0a42601f
JM
34209 [BZ #14871]
34210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34211 input for small inputs. Return +/- pi/2 for large inputs.
34212 * math/libm-test.inc (atan_test): Add more tests.
34213
79c9b9fe
JM
34214 * sysdeps/generic/unwind-dw2-fde-glibc.c
34215 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34216 __attribute__ ((unused)).
34217
c60d3bf2
JM
34218 [BZ #14645]
34219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34220 x * y if x and y are nonzero and z is zero.
34221
ef1e0867
JM
34222 [BZ #14811]
34223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34224 nonzero exponents with absolute value below 0x1p-117 to +/-
34225 0x1p-117.
34226
1468ded3
JM
34227 [BZ #14869]
34228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34229 up arguments below 2**-450, not just those below 2**-500.
34230 * math/libm-test.inc (hypot_test): Add another test.
34231
8e27e3cc
JM
34232 [BZ #14868]
34233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34234 Return a+b for ratio over 2**120, not 2**60.
34235 * math/libm-test.inc (hypot_test): Add another test.
34236
c9c0279b
JM
34237 * math/libm-test.inc (clog_test): Use
34238 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34239 (clog10_test): Likewise.
34240
7c7feb47
JM
34241 [BZ #6778]
34242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34243
fff1530e
AS
342442012-11-22 Andreas Schwab <schwab@suse.de>
34245
34246 * sysdeps/i386/fpu/libm-test-ulps: Update.
34247
94558d30
PT
342482012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34249
34250 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34251 printf output with newline.
34252
7e1be741
L
342532012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34254
6bfea974
L
34255 [BZ #14865]
34256 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34257 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34258 -z nodlopen, -z initfirst and -z execstack support.
34259 * configure: Regenerated.
34260
7e1be741
L
34261 * elf/elf.h (DF_1_NODIRECT): New macro.
34262 (DF_1_IGNMULDEF): Likewise.
34263 (DF_1_NOKSYMS): Likewise.
34264 (DF_1_NOHDR): Likewise.
34265 (DF_1_EDITED): Likewise.
34266 (DF_1_NORELOC): Likewise.
34267 (DF_1_SYMINTPOSE): Likewise.
34268 (DF_1_GLOBAUDIT): Likewise.
34269 (DF_1_SINGLETON): Likewise.
34270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34271 DT_1_SUPPORTED_MASK bits.
34272 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34273
105ce2ce
CD
342742012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34275
34276 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34277
123be9de
TS
342782012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34279
d072f3f7
TS
34280 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34281 macro.
34282
123be9de
TS
34283 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34284 (sendmmsg): Move declarations...
34285 * socket/sys/socket.h: ... here.
34286 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34287 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34288 include it from...
34289 * socket/recvmmsg.c: ... this new file.
34290 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34291 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34292 definition of __sendmmsg hidden.
34293 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34294 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34295 Move ENOSYS stub into and include it from...
34296 * socket/sendmmsg.c: ... this new file.
34297 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34298 (sysdep_routines): Move recvmmsg and sendmmsg...
34299 * socket/Makefile (routines): ... here.
34300 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34301 (GLIBC_PRIVATE): Add __sendmmsg.
34302 * include/sys/socket.h (__sendmmsg): Add declarations.
34303 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34304 sendmmsg.
34305
cf9a5d18
JM
343062012-11-20 Joseph Myers <joseph@codesourcery.com>
34307
34308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34309 variable I1 with __attribute__ ((unused)).
34310 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34311
ecd4caf9
JM
343122012-11-19 Joseph Myers <joseph@codesourcery.com>
34313
be14d48f
JM
34314 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34315 DUMMY variables with __attribute__ ((unused)).
34316
ecd4caf9
JM
34317 * bits/byteswap.h: Include <bits/types.h>.
34318 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34319
986cab95
PT
343202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34321
34322 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34323 string_t. Do not manually set errno.
34324 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34325 length with __strnlen. Make sure to both set errno and return it on
34326 failure.
34327
6d33cc9d
DM
343282012-11-19 David S. Miller <davem@davemloft.net>
34329
34330 With help from Joseph Myers.
34331 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34332 very large arguments properly.
34333 * math/libm-test.inc (atan_test): New tests.
34334 (atan2_test): New tests.
34335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34337
ee663277
JM
343382012-11-19 Joseph Myers <joseph@codesourcery.com>
34339
877f2d8e
JM
34340 [BZ #14856]
34341 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34342 Define to 3.
34343
116fc08a
JM
34344 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34345 [POSIX] (EADDRNOTAVAIL): Likewise.
34346 [POSIX] (EAFNOSUPPORT): Likewise.
34347 [POSIX] (EALREADY): Likewise.
34348 [POSIX] (ECONNABORTED): Likewise.
34349 [POSIX] (ECONNREFUSED): Likewise.
34350 [POSIX] (ECONNRESET): Likewise.
34351 [POSIX] (EDESTADDRREQ): Likewise.
34352 [POSIX] (EDQUOT): Likewise.
34353 [POSIX] (EHOSTUNREACH): Likewise.
34354 [POSIX] (EIDRM): Likewise.
34355 [POSIX] (EISCONN): Likewise.
34356 [POSIX] (ELOOP): Likewise.
34357 [POSIX] (EMULTIHOP): Likewise.
34358 [POSIX] (ENETDOWN): Likewise.
34359 [POSIX] (ENETUNREACH): Likewise.
34360 [POSIX] (ENOBUFS): Likewise.
34361 [POSIX] (ENODATA): Likewise.
34362 [POSIX] (ENOLINK): Likewise.
34363 [POSIX] (ENOMSG): Likewise.
34364 [POSIX] (ENOPROTOOPT): Likewise.
34365 [POSIX] (ENOSR): Likewise.
34366 [POSIX] (ENOSTR): Likewise.
34367 [POSIX] (ENOTCONN): Likewise.
34368 [POSIX] (ENOTSOCK): Likewise.
34369 [POSIX] (EOPNOTSUPP): Likewise.
34370 [POSIX] (EOVERFLOW): Likewise.
34371 [POSIX] (EPROTO): Likewise.
34372 [POSIX] (EPROTONOSUPPORT): Likewise.
34373 [POSIX] (EPROTOTYPE): Likewise.
34374 [POSIX] (ESTALE): Likewise.
34375 [POSIX] (ETIME): Likewise.
34376 [POSIX] (ETXTBSY): Likewise.
34377 [POSIX] (EWOULDBLOCK): Likewise.
34378 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34379 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34380 [POSIX] (SEEK_CUR): Likewise.
34381 [POSIX] (SEEK_END): Likewise.
34382 [POSIX || UNIX98] (mode_t): Do not require.
34383 [POSIX] (off_t): Likewise.
34384 [POSIX] (pid_t): Likewise.
34385 [POSIX] (sys/stat.h): Do not allow header.
34386 [POSIX] (unistd.h): Likewise.
34387 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34388 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34389 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34390 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34391 require.
34392 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34393 sigevent): Specify elements.
34394 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34395 entry.
34396 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34397 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34398
a483863f
JM
34399 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34400 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34401 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34402 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34403 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34404 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34405 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34406 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34407 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34409 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34410 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34411 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34412 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34413 Likewise.
34414 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34415 Likewise.
34416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34417 Likewise.
34418 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34419 Likewise.
34420 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34421 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34422 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34423 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34424 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34425 Specify lower bound on value.
34426 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34427 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34432 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34433 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34434 value.
34435 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34436 as optional.
34437 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34453 entry.
34454 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34455 optional.
34456 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34460 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34462 Likewise.
34463 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34464 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34465 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34466 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34468 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34470 as optional.
34471 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34472 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34473 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34474 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34475 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34476 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34477 specify as optional.
34478 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34481 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34482 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34483 [XPG3] (NL_LANGMAX): Likewise.
34484 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34485 [POSIX || XPG3] (NL_NMAX): Likewise.
34486 [POSIX || XPG3] (NL_SETMAX): Likewise.
34487 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34488 [XPG3] (NZERO): Likewise.
34489 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34490 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34491 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34492 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34493 (REG_ERANGE): Expect.
34494 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34495 optional-constant.
34496 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34497 Use (void) in prototype.
34498 [POSIX] (*_t): Allow.
34499 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34500 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34501 (WRDE_BADVAL): Expect.
34502
5ba924e3
JM
34503 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34504 expect.
34505 [XPG3 || XPG4] (O_RSYNC): Likewise.
34506 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34507 Likewise.
34508 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34509 [XPG3 || XPG4] (sigqueue): Likewise.
34510 [XPG3 || XPG4] (sigtimedwait): Likewise.
34511 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34512 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34513 [XPG3 || XPG4] (vsnprintf): Likewise.
34514 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34515 Likewise.
34516 [XPG3 || XPG4] (blksize_t): Likewise.
34517 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34518 Likewise.
34519 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34520 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34521 [XPG3 || XPG4] (struct itimerspec): Likewise.
34522 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34523 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34524 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34525 [XPG3 || XPG4] (clockid_t): Likewise.
34526 [XPG3 || XPG4] (timer_t): Likewise.
34527 [XPG3 || XPG4] (clock_getres): Likewise.
34528 [XPG3 || XPG4] (clock_gettime): Likewise.
34529 [XPG3 || XPG4] (clock_settime): Likewise.
34530 [XPG3 || XPG4] (nanosleep): Likewise.
34531 [XPG3 || XPG4] (timer_create): Likewise.
34532 [XPG3 || XPG4] (timer_delete): Likewise.
34533 [XPG3 || XPG4] (timer_gettime): Likewise.
34534 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34535 [XPG3 || XPG4] (timer_settime): Likewise.
34536 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34537 [XPG3 || XPG4] (getlogin_r): Likewise.
34538 [XPG3 || XPG4] (pread): Likewise.
34539 [XPG3 || XPG4] (pthread_atfork): Likewise.
34540 [XPG3 || XPG4] (pwrite): Likewise.
34541
ee663277
JM
34542 [BZ #14835]
34543 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34544 <bits/siginfo.h>.
34545
942caa16
PT
345462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34547
e19af380
PT
34548 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34549 finalizing MALLSTREAM.
34550
942caa16
PT
34551 * sysdeps/mach/hurd/syncfs.c: New file.
34552
cfde9b46
SP
345532012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34554
34555 [BZ #14719]
34556 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34557 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34559 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34560 (_nss_dns_gethostbyname4_r): Likewise.
34561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34562 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34563
f6da27e5
PH
345642012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34565
34566 [BZ #13763]
34567 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34568
6665d4a2
SM
345692012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34570
1f51ee92
SM
34571 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34572 * elf/cache.c (print_entry): Print ",AArch64" for
34573 FLAG_AARCH64_LIB64
34574
6665d4a2
SM
34575 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34576 * elf/cache.c (print_entry): Print ",hard-float" for
34577 FLAG_ARM_LIBHF.
34578
05b227bd
DM
345792012-11-18 David S. Miller <davem@davemloft.net>
34580
34581 With help from Joseph Myers.
34582 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34583 cutoff to 2**-13.
34584 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34585 cutoff to 2**-25.
34586 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34587 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34588 small.
34589 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34590 * math/libm-test.inc (y0_test): New tests.
34591 (y1_test): New tests.
34592 * sysdeps/i386/fpu/libm-test-ulps: Update.
34593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34595
786b0b67
AS
345962012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34597
34598 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34599 64-bit targets.
34600 * configure: Regenerated.
34601
8e18b86d
DM
346022012-11-17 David S. Miller <davem@davemloft.net>
34603
34604 [BZ #14811]
34605 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34606 nonzero exponents with absolute value below 0x1p-128 to +/-
34607 0x1p-128.
34608
531f1ae0
JM
346092012-11-17 Joseph Myers <joseph@codesourcery.com>
34610
12df29e2
JM
34611 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34612
150dc1a0
JM
34613 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34614
531f1ae0
JM
34615 * posix/getconf-speclist.c: New file.
34616 * posix/posix-envs.def: Likewise.
34617 * posix/confstr.c (START_ENV_GROUP): New macro.
34618 (END_ENV_GROUP): Likewise.
34619 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34620 (KNOWN_PRESENT_ENV_STRING): Likewise.
34621 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34622 (UNKNOWN_ENVIRONMENT): Likewise.
34623 (confstr): Include posix-envs.def instead of handling
34624 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34625 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34626 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34627 (END_ENV_GROUP): Likewise.
34628 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34629 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34630 (UNKNOWN_ENVIRONMENT): Likewise.
34631 (__sysconf): Include posix-envs.def instead of handling associated
34632 cases directly here.
34633 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34634 preprocessing getconf-speclist.c rather than running getconf or
34635 generating empty file.
34636
a93f9cbc
PT
346372012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34638
34639 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34640
d64d9f87
AL
346412012-11-16 Andrej Lajovic <natrij@gmail.com>
34642
34643 [BZ #14672]
34644 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34645
447885eb
DM
346462012-11-16 David S. Miller <davem@davemloft.net>
34647
34648 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34649 smaller than LDBL_EPSILON/2.0L, just return xm1.
34650
bcbf9830
L
346512012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 * elf/tst-array1.c (init): Set constructor priority to 1000.
34654 (fini): Set destructor priority to 1000.
34655 * elf/tst-array2dep.c: Likewise.
34656
2b766585
SP
346572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34658
34659 [BZ #11741]
34660 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34661 (_IO_new_file_xsputn): Also return EOF if none of the input
34662 data was written when overflow failed.
34663 * libio/iopadn.c (_IO_padn): Likewise.
34664 * libio/iowpadn.c (_IO_wpadn): Likewise.
34665 * stdio-common/tst-put-error.c: Add copyright notice.
34666 (do_test): Add case for printing padded string.
34667 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34668 _IO_padn returned error.
34669 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34670 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34671 return EOF.
34672
b1848fde
SP
346732012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34674
34675 * libio/libioP.h: Add comment note that the references to C++
34676 bits are now obsolete.
34677
2fd89785
MS
346782012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34679
34680 * math/libm-test.inc (check_complex): Use asprintf.
34681
e3ea5409
JM
346822012-11-14 Joseph Myers <joseph@codesourcery.com>
34683
34684 * debug/pcprofiledump.c (print_version): Update copyright year.
34685 * malloc/memusagestat.c (print_version): Likewise.
34686
2e64d265
L
346872012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34688
34689 [BZ #14831]
34690 * elf/Makefile (tests): Add tst-audit8.
34691 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34692 ($(objpfx)tst-audit8.out): New target.
34693 (tst-audit8-ENV): New variable.
34694 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34695 audit if l_reloc_result is NULL.
34696 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34697 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34698 * elf/tst-audit8.c: New file.
34699
c485e4d2
MS
347002012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34701
34702 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34703 * misc/Makefile (CFLAGS-select.c): Define.
34704 * posix/Makefile (CFLAGS-pause.c): Define.
34705
3a0d900a
DM
347062012-11-13 David S. Miller <davem@davemloft.net>
34707
34708 * crypt/Makefile: Move test targets after toplevel Rules
34709 inclusion. Grab any necessary sysdep routines when linking.
34710 * crypt/md5.c (md5_process_block): Remove define, we will always
34711 name it __md5_process_block.
34712 (md5_finish_ctx): Update md5_process_block call.
34713 (md5_stream): Likewise.
34714 (md5_process_bytes): Likewise.
34715 (md5_process_block): Rename to __md5_process_block and move to ...
34716 * crypt/md5-block.c: ... here.
34717 * crypt/sha256.c (sha256_process_block): Move to ...
34718 * crypt/sha256-block.c: ... here.
34719 * crypt/sha512.c (sha512_process_block): Move to ...
34720 * crypt/sha512-block.c: ... here.
34721 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34722 path.
34723 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34724 * sysdeps/sparc/sparc64/multiarch/Makefile
34725 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34726 crypt subdir.
34727 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34728 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34729 multiarch changes.
34730 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34731 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34732 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34733 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34734 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34735 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34736 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34737 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34739 file.
34740 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34742 file.
34743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34744
8ca89318
JM
347452012-11-13 Joseph Myers <joseph@codesourcery.com>
34746
e27d476a
JM
34747 * timezone/tzselect.ksh: Update from tzcode git revision
34748 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34749 * timezone/zdump.c: Likewise.
34750 * timezone/zic.c: Likewise.
34751 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34752 in TZVERSION setting, not $(PKGVERSION).
34753 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34754 REPORT_BUGS_TO settings.
34755
8ca89318
JM
34756 [BZ #14838]
34757 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34758 macro.
34759
47594329
MS
347602012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34761
34762 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34763 detection to immediately after _FP_ROUND().
34764 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34765 bits are 0.
34766
640ac3f1
DM
347672012-11-11 David S. Miller <davem@davemloft.net>
34768
34769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34770 inttypes.h
34771 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34772 __close rather than their public counterparts.
34773
3d2577bb
JM
347742012-11-10 Joseph Myers <joseph@codesourcery.com>
34775
34776 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34777 file.
34778 [UNIX98] (sem_timedwait): Do not expect.
34779 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34780 [XPG4 || UNIX98] (sockatmark): Do not expect.
34781 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34782 (clock_getcpuclockid): Do not expect.
34783 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34784 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34785 Do not expect.
34786 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34787 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34788 [UNIX98] (vwscanf): Likewise.
34789 [UNIX98] (vswscanf): Likewise.
34790
fb1ae1ee
JM
347912012-11-09 Joseph Myers <joseph@codesourcery.com>
34792
9ec6f8bd
JM
34793 * timezone/version.h: Remove file.
34794 * timezone/README: Do not refer to version.h.
34795 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34796 $(objpfx)version.h.
34797 ($(objpfx)zdump.o): Likewise.
c3f81911 34798 ($(objpfx)version.h): New target.
9ec6f8bd 34799
0aa8f8a1
JM
34800 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34801 2012i.
34802 * timezone/README: Don't mention modification to tzselect.ksh.
34803 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34804 work on unmodified tzselect.ksh. Substitute version numbers in
34805 tzselect.ksh.
34806
4e87147f
JM
34807 * Makefile (format-me): Remove.
34808 (INSTALL): Adjust indentation. Use commands directly instead of
34809 using $(format-me).
34810
8b748aed
JM
34811 * aclocal.m4 (ACX_PKGVERSION): New macro.
34812 (ACX_BUGURL): Likewise.
34813 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34814 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34815 (REPORT_BUGS_TO): Likewise.
34816 * configure: Regenerated.
34817 * config.h.in (PKGVERSION): New macro.
34818 (REPORT_BUGS_TO): Likewise.
34819 * config.make.in (PKGVERSION): New variable.
34820 (PKGVERSION_TEXI): Likewise.
34821 (REPORT_BUGS_TO): Likewise.
34822 (REPORT_BUGS_TEXI): Likewise.
34823 * Makefile (format-me): Use -I$(common-objpfx)manual.
34824 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34825 ($(common-objpfx)manual/%): New target.
34826 (manual/%): Remove target.
34827 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34828 (print_version): Use PKGVERSION.
34829 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34830 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34831 and REPORT_BUGS_TO.
34832 ($(objpfx)xtrace): Likewise.
34833 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34834 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34835 (print_version): Use PKGVERSION.
34836 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34837 (do_version): Use PKGVERSION.
34838 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34839 REPORT_BUGS_TO.
34840 (common-ldd-rewrite): Likewise.
34841 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34842 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34843 (print_version): Use PKGVERSION.
34844 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34845 * elf/pldd.c (argp_program_bug_address): Remove variable.
34846 (more_help): New function.
34847 (argp): Use more_help.
34848 (print_version): Use PKGVERSION.
34849 * elf/sln.c (main): Use PKGVERSION.
34850 (usage): Use REPORT_BUGS_TO.
34851 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34852 (top level): Use PKGVERSION.
34853 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34854 (print_version): Use PKGVERSION.
34855 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34856 (print_version): Use PKGVERSION.
34857 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34858 (print_version): Use PKGVERSION.
34859 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34860 (print_version): Use PKGVERSION.
34861 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34862 (print_version): Use PKGVERSION.
34863 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34864 (print_version): Use PKGVERSION.
34865 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34866 and BUGURL.
34867 ($(objpfx)memusage): Likewise.
34868 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34869 (do_version): Use PKGVERSION.
34870 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34871 (print_version): Use PKGVERSION.
34872 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34873 ($PKGVERSION): New variable.
34874 ($REPORT_BUGS_TO): Likewise.
34875 (usage): Use $REPORT_BUGS_TO.
34876 (top level): Use $PKGVERSION.
34877 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34878 ($(objpfx)pkgvers.texi): New rule.
34879 ($(objpfx)stamp-pkgvers): Likewise.
34880 * manual/install.texi: Include pkgvers.texi.
34881 (--with-pkgversion): Document new configure option.
34882 (--with-bugurl): Likewise.
34883 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34884 than necessarily for this particular distribution. Use
34885 REPORT_BUGS_TO for where to report bugs.
34886 * INSTALL: Regenerated.
34887 * manual/libc.texinfo: Include pkgvers.texi.
34888 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34889 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34890 (print_version): Use PKGVERSION.
34891 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34892 (print_version): Use PKGVERSION.
34893 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34894 (print_version): Use PKGVERSION.
34895 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34896 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34897 macro.
34898 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34899 (print_version): Use PKGVERSION.
34900 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34901 (print_version): Use PKGVERSION.
34902 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34903 and PKGVERSION.
34904
92e4b6a9
JM
34905 * timezone/checktab.awk: Update from tzcode 2012i.
34906 * timezone/ialloc.c: Likewise.
34907 * timezone/private.h: Likewise.
34908 * timezone/scheck.c: Likewise.
34909 * timezone/tzfile.h: Likewise.
34910 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34911 (TZVERSION): Hardcode tzcode version number.
34912 * timezone/zdump.c: Update from tzcode 2012i.
34913 * timezone/zic.c: Likewise.
34914 * timezone/version.h: New file.
34915 * timezone/README: Describe version.h. Update upstream location.
34916
9bde902c
JM
34917 [BZ #14824]
34918 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34919 (mktemp): Enable declaration.
34920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34924 Likewise.
34925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34926 Likewise.
34927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34928 Likewise.
34929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34930 Likewise.
34931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34932 Likewise.
34933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34934 Likewise.
34935
fb1ae1ee
JM
34936 [BZ #14821]
34937 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34938 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34939 for copies of such integer values.
34940 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34941 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34942
2c1adbcb
AJ
349432012-11-09 Andreas Jaeger <aj@suse.de>
34944
34945 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34946 definitions and declarations that are provided by
34947 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34948
d0f8457e
AK
349492012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34950
3a235abb 34951 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34952 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34953 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34954 definition.
34955
57241e26
MS
349562012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34957
34958 * elf/elf.h: Update comment before AArch64 relocations.
34959
60e8270d
DM
349602012-11-07 David S. Miller <davem@davemloft.net>
34961
34962 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34963 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34964 (__start_context): Declare.
34965 (__makecontext_ret): Delete.
34966 (__makecontext): Hook up __start_context instead of
34967 __makecontext_ret.
34968 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34969 (sysdep_routines): Add __start_context when in stdlib.
34970
0fbb0fbc
JM
349712012-11-07 Joseph Myers <joseph@codesourcery.com>
34972
34973 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34974 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34975 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34976 hardcoded "nm".
34977 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34978 (READELF): New variable. Use it instead of hardcoded "readelf".
34979
eb48db7e
L
349802012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34981
34982 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34983 * sysdeps/x86/Makefile: Here.
34984 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34985 * sysdeps/x86/tst-xmmymm.sh: This.
34986
05bcf62a
JM
349872012-11-07 Joseph Myers <joseph@codesourcery.com>
34988
c4b6cf53
JM
34989 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34990 expectations.
34991 [UNIX98] (pthread_barrier_t): Do not expect.
34992 [UNIX98] (pthread_barrierattr_t): Likewise.
34993 [UNIX98] (pthread_spinlock_t): Likewise.
34994 [UNIX98] (pthread_barrier_destroy): Likewise.
34995 [UNIX98] (pthread_barrier_init): Likewise.
34996 [UNIX98] (pthread_barrier_wait): Likewise.
34997 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34998 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34999 [UNIX98] (pthread_barrierattr_init): Likewise.
35000 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35001 [UNIX98] (pthread_getcpuclockid): Likewise.
35002 [UNIX98] (pthread_mutex_timedlock): Likewise.
35003 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35004 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35005 [UNIX98] (pthread_sigmask): Likewise.
35006 [UNIX98] (pthread_spin_destroy): Likewise.
35007 [UNIX98] (pthread_spin_init): Likewise.
35008 [UNIX98] (pthread_spin_lock): Likewise.
35009 [UNIX98] (pthread_spin_trylock): Likewise.
35010 [UNIX98] (pthread_spin_unlock): Likewise.
35011 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35012 Do not expect.
35013 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35014 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35015 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35016 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35017 [XPG3 || XPG4] (pthread_key_t): Likewise.
35018 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35019 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35020 [XPG3 || XPG4] (pthread_once_t): Likewise.
35021 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35022 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35023 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35024 [XPG3 || XPG4] (pthread_t): Likewise.
35025
cbe6e120
JM
35026 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35027 not expect.
35028 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35029
1b126443
JM
35030 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35031 Change function return type to int.
35032
b961a573
JM
35033 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35034 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35035 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35036 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35037 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35038 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35039 [!POSIX] (posix_madvise): Likewise.
35040 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35041 && !UNIX98].
35042 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35043 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35044 (mode_t): Likewise.
35045 (posix_mem_offset): Likewise.
35046 (posix_typed_mem_get_info): Likewise.
35047 (posix_typed_mem_open): Likewise.
35048
9e188909
JM
35049 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35050 Change condition to [XOPEN2K8].
35051
05bcf62a
JM
35052 * conform/conformtest.pl: Preprocess allow-header data with -x c
35053 instead of from stdin.
35054 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35055 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35056 [C99-based standards] (cerfc): Likewise.
35057 [C99-based standards] (cexp2): Likewise.
35058 [C99-based standards] (cexpm1): Likewise.
35059 [C99-based standards] (clog10): Likewise.
35060 [C99-based standards] (clog1p): Likewise.
35061 [C99-based standards] (clog2): Likewise.
35062 [C99-based standards] (clgamma): Likewise.
35063 [C99-based standards] (ctgamma): Likewise.
35064 [C99-based standards] (cerff): Likewise.
35065 [C99-based standards] (cerfcf): Likewise.
35066 [C99-based standards] (cexp2f): Likewise.
35067 [C99-based standards] (cexpm1f): Likewise.
35068 [C99-based standards] (clog10f): Likewise.
35069 [C99-based standards] (clog1pf): Likewise.
35070 [C99-based standards] (clog2f): Likewise.
35071 [C99-based standards] (clgammaf): Likewise.
35072 [C99-based standards] (ctgammaf): Likewise.
35073 [C99-based standards] (cerfl): Likewise.
35074 [C99-based standards] (cerfcl): Likewise.
35075 [C99-based standards] (cexp2l): Likewise.
35076 [C99-based standards] (cexpm1l): Likewise.
35077 [C99-based standards] (clog10l): Likewise.
35078 [C99-based standards] (clog1pl): Likewise.
35079 [C99-based standards] (clog2l): Likewise.
35080 [C99-based standards] (clgammal): Likewise.
35081 [C99-based standards] (ctgammal): Likewise.
35082 * conform/data/inttypes.h-data [C99-based standards]: Include
35083 stdint.h-data. Remove all expectations for stdint.h contents.
35084 [C99-based standards] (PRI*): Do not allow.
35085 [C99-based standards] (SCN*): Likewise.
35086 [C99-based standards] (*_t): Likewise.
35087 [C99-based-standards] (PRId8): Expect macro.
35088 [C99-based-standards] (PRIi8): Likewise.
35089 [C99-based-standards] (PRIo8): Likewise.
35090 [C99-based-standards] (PRIu8): Likewise.
35091 [C99-based-standards] (PRIx8): Likewise.
35092 [C99-based-standards] (PRIX8): Likewise.
35093 [C99-based-standards] (SCNd8): Likewise.
35094 [C99-based-standards] (SCNi8): Likewise.
35095 [C99-based-standards] (SCNo8): Likewise.
35096 [C99-based-standards] (SCNu8): Likewise.
35097 [C99-based-standards] (SCNx8): Likewise.
35098 [C99-based-standards] (PRIdLEAST8): Likewise.
35099 [C99-based-standards] (PRIiLEAST8): Likewise.
35100 [C99-based-standards] (PRIoLEAST8): Likewise.
35101 [C99-based-standards] (PRIuLEAST8): Likewise.
35102 [C99-based-standards] (PRIxLEAST8): Likewise.
35103 [C99-based-standards] (PRIXLEAST8): Likewise.
35104 [C99-based-standards] (SCNdLEAST8): Likewise.
35105 [C99-based-standards] (SCNiLEAST8): Likewise.
35106 [C99-based-standards] (SCNoLEAST8): Likewise.
35107 [C99-based-standards] (SCNuLEAST8): Likewise.
35108 [C99-based-standards] (SCNxLEAST8): Likewise.
35109 [C99-based-standards] (PRIdFAST8): Likewise.
35110 [C99-based-standards] (PRIiFAST8): Likewise.
35111 [C99-based-standards] (PRIoFAST8): Likewise.
35112 [C99-based-standards] (PRIuFAST8): Likewise.
35113 [C99-based-standards] (PRIxFAST8): Likewise.
35114 [C99-based-standards] (PRIXFAST8): Likewise.
35115 [C99-based-standards] (SCNdFAST8): Likewise.
35116 [C99-based-standards] (SCNiFAST8): Likewise.
35117 [C99-based-standards] (SCNoFAST8): Likewise.
35118 [C99-based-standards] (SCNuFAST8): Likewise.
35119 [C99-based-standards] (SCNxFAST8): Likewise.
35120 [C99-based-standards] (PRId16): Likewise.
35121 [C99-based-standards] (PRIi16): Likewise.
35122 [C99-based-standards] (PRIo16): Likewise.
35123 [C99-based-standards] (PRIu16): Likewise.
35124 [C99-based-standards] (PRIx16): Likewise.
35125 [C99-based-standards] (PRIX16): Likewise.
35126 [C99-based-standards] (SCNd16): Likewise.
35127 [C99-based-standards] (SCNi16): Likewise.
35128 [C99-based-standards] (SCNo16): Likewise.
35129 [C99-based-standards] (SCNu16): Likewise.
35130 [C99-based-standards] (SCNx16): Likewise.
35131 [C99-based-standards] (PRIdLEAST16): Likewise.
35132 [C99-based-standards] (PRIiLEAST16): Likewise.
35133 [C99-based-standards] (PRIoLEAST16): Likewise.
35134 [C99-based-standards] (PRIuLEAST16): Likewise.
35135 [C99-based-standards] (PRIxLEAST16): Likewise.
35136 [C99-based-standards] (PRIXLEAST16): Likewise.
35137 [C99-based-standards] (SCNdLEAST16): Likewise.
35138 [C99-based-standards] (SCNiLEAST16): Likewise.
35139 [C99-based-standards] (SCNoLEAST16): Likewise.
35140 [C99-based-standards] (SCNuLEAST16): Likewise.
35141 [C99-based-standards] (SCNxLEAST16): Likewise.
35142 [C99-based-standards] (PRIdFAST16): Likewise.
35143 [C99-based-standards] (PRIiFAST16): Likewise.
35144 [C99-based-standards] (PRIoFAST16): Likewise.
35145 [C99-based-standards] (PRIuFAST16): Likewise.
35146 [C99-based-standards] (PRIxFAST16): Likewise.
35147 [C99-based-standards] (PRIXFAST16): Likewise.
35148 [C99-based-standards] (SCNdFAST16): Likewise.
35149 [C99-based-standards] (SCNiFAST16): Likewise.
35150 [C99-based-standards] (SCNoFAST16): Likewise.
35151 [C99-based-standards] (SCNuFAST16): Likewise.
35152 [C99-based-standards] (SCNxFAST16): Likewise.
35153 [C99-based-standards] (PRId32): Likewise.
35154 [C99-based-standards] (PRIi32): Likewise.
35155 [C99-based-standards] (PRIo32): Likewise.
35156 [C99-based-standards] (PRIu32): Likewise.
35157 [C99-based-standards] (PRIx32): Likewise.
35158 [C99-based-standards] (PRIX32): Likewise.
35159 [C99-based-standards] (SCNd32): Likewise.
35160 [C99-based-standards] (SCNi32): Likewise.
35161 [C99-based-standards] (SCNo32): Likewise.
35162 [C99-based-standards] (SCNu32): Likewise.
35163 [C99-based-standards] (SCNx32): Likewise.
35164 [C99-based-standards] (PRIdLEAST32): Likewise.
35165 [C99-based-standards] (PRIiLEAST32): Likewise.
35166 [C99-based-standards] (PRIoLEAST32): Likewise.
35167 [C99-based-standards] (PRIuLEAST32): Likewise.
35168 [C99-based-standards] (PRIxLEAST32): Likewise.
35169 [C99-based-standards] (PRIXLEAST32): Likewise.
35170 [C99-based-standards] (SCNdLEAST32): Likewise.
35171 [C99-based-standards] (SCNiLEAST32): Likewise.
35172 [C99-based-standards] (SCNoLEAST32): Likewise.
35173 [C99-based-standards] (SCNuLEAST32): Likewise.
35174 [C99-based-standards] (SCNxLEAST32): Likewise.
35175 [C99-based-standards] (PRIdFAST32): Likewise.
35176 [C99-based-standards] (PRIiFAST32): Likewise.
35177 [C99-based-standards] (PRIoFAST32): Likewise.
35178 [C99-based-standards] (PRIuFAST32): Likewise.
35179 [C99-based-standards] (PRIxFAST32): Likewise.
35180 [C99-based-standards] (PRIXFAST32): Likewise.
35181 [C99-based-standards] (SCNdFAST32): Likewise.
35182 [C99-based-standards] (SCNiFAST32): Likewise.
35183 [C99-based-standards] (SCNoFAST32): Likewise.
35184 [C99-based-standards] (SCNuFAST32): Likewise.
35185 [C99-based-standards] (SCNxFAST32): Likewise.
35186 [C99-based-standards] (PRId64): Likewise.
35187 [C99-based-standards] (PRIi64): Likewise.
35188 [C99-based-standards] (PRIo64): Likewise.
35189 [C99-based-standards] (PRIu64): Likewise.
35190 [C99-based-standards] (PRIx64): Likewise.
35191 [C99-based-standards] (PRIX64): Likewise.
35192 [C99-based-standards] (SCNd64): Likewise.
35193 [C99-based-standards] (SCNi64): Likewise.
35194 [C99-based-standards] (SCNo64): Likewise.
35195 [C99-based-standards] (SCNu64): Likewise.
35196 [C99-based-standards] (SCNx64): Likewise.
35197 [C99-based-standards] (PRIdLEAST64): Likewise.
35198 [C99-based-standards] (PRIiLEAST64): Likewise.
35199 [C99-based-standards] (PRIoLEAST64): Likewise.
35200 [C99-based-standards] (PRIuLEAST64): Likewise.
35201 [C99-based-standards] (PRIxLEAST64): Likewise.
35202 [C99-based-standards] (PRIXLEAST64): Likewise.
35203 [C99-based-standards] (SCNdLEAST64): Likewise.
35204 [C99-based-standards] (SCNiLEAST64): Likewise.
35205 [C99-based-standards] (SCNoLEAST64): Likewise.
35206 [C99-based-standards] (SCNuLEAST64): Likewise.
35207 [C99-based-standards] (SCNxLEAST64): Likewise.
35208 [C99-based-standards] (PRIdFAST64): Likewise.
35209 [C99-based-standards] (PRIiFAST64): Likewise.
35210 [C99-based-standards] (PRIoFAST64): Likewise.
35211 [C99-based-standards] (PRIuFAST64): Likewise.
35212 [C99-based-standards] (PRIxFAST64): Likewise.
35213 [C99-based-standards] (PRIXFAST64): Likewise.
35214 [C99-based-standards] (SCNdFAST64): Likewise.
35215 [C99-based-standards] (SCNiFAST64): Likewise.
35216 [C99-based-standards] (SCNoFAST64): Likewise.
35217 [C99-based-standards] (SCNuFAST64): Likewise.
35218 [C99-based-standards] (SCNxFAST64): Likewise.
35219 [C99-based-standards] (PRIdMAX): Likewise.
35220 [C99-based-standards] (PRIiMAX): Likewise.
35221 [C99-based-standards] (PRIoMAX): Likewise.
35222 [C99-based-standards] (PRIuMAX): Likewise.
35223 [C99-based-standards] (PRIxMAX): Likewise.
35224 [C99-based-standards] (PRIXMAX): Likewise.
35225 [C99-based-standards] (SCNdMAX): Likewise.
35226 [C99-based-standards] (SCNiMAX): Likewise.
35227 [C99-based-standards] (SCNoMAX): Likewise.
35228 [C99-based-standards] (SCNuMAX): Likewise.
35229 [C99-based-standards] (SCNxMAX): Likewise.
35230 [C99-based-standards] (PRIdPTR): Likewise.
35231 [C99-based-standards] (PRIiPTR): Likewise.
35232 [C99-based-standards] (PRIoPTR): Likewise.
35233 [C99-based-standards] (PRIuPTR): Likewise.
35234 [C99-based-standards] (PRIxPTR): Likewise.
35235 [C99-based-standards] (PRIXPTR): Likewise.
35236 [C99-based-standards] (SCNdPTR): Likewise.
35237 [C99-based-standards] (SCNiPTR): Likewise.
35238 [C99-based-standards] (SCNoPTR): Likewise.
35239 [C99-based-standards] (SCNuPTR): Likewise.
35240 [C99-based-standards] (SCNxPTR): Likewise.
35241 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35242 allow.
35243 * conform/data/stdint.h-data: Update comments to clarify
35244 requirements.
35245 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35246 type.
35247 [C99-based standards] (INT8_MAX): Likewise.
35248 [C99-based standards] (INT16_MIN): Likewise.
35249 [C99-based standards] (INT16_MAX): Likewise.
35250 [C99-based standards] (INT32_MIN): Likewise.
35251 [C99-based standards] (INT32_MAX): Likewise.
35252 [C99-based standards] (INT64_MIN): Likewise.
35253 [C99-based standards] (INT64_MAX): Likewise.
35254 [C99-based standards] (UINT8_MAX): Likewise.
35255 [C99-based standards] (UINT16_MAX): Likewise.
35256 [C99-based standards] (UINT32_MAX): Likewise.
35257 [C99-based standards] (UINT64_MAX): Likewise.
35258 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35259 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35260 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35261 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35262 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35263 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35264 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35265 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35266 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35267 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35268 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35269 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35270 [C99-based standards] (INT_FAST8_MIN): Likewise.
35271 [C99-based standards] (INT_FAST8_MAX): Likewise.
35272 [C99-based standards] (INT_FAST16_MIN): Likewise.
35273 [C99-based standards] (INT_FAST16_MAX): Likewise.
35274 [C99-based standards] (INT_FAST32_MIN): Likewise.
35275 [C99-based standards] (INT_FAST32_MAX): Likewise.
35276 [C99-based standards] (INT_FAST64_MIN): Likewise.
35277 [C99-based standards] (INT_FAST64_MAX): Likewise.
35278 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35279 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35280 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35281 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35282 [C99-based standards] (INTPTR_MIN): Likewise.
35283 [C99-based standards] (INTPTR_MAX): Likewise.
35284 [C99-based standards] (UINTPTR_MAX): Likewise.
35285 [C99-based standards] (INTMAX_MIN): Likewise.
35286 [C99-based standards] (INTMAX_MAX): Likewise.
35287 [C99-based standards] (UINTMAX_MAX): Likewise.
35288 [C99-based standards] (PTRDIFF_MIN): Likewise.
35289 [C99-based standards] (PTRDIFF_MAX): Likewise.
35290 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35291 [C99-based standards] (SIZE_MAX): Likewise.
35292 [C99-based standards] (WCHAR_MAX): Likewise.
35293 [C99-based standards] (WINT_MAX): Likewise.
35294 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35295 constraint on value.
35296 [C99-based standards] (WCHAR_MIN): Likewise.
35297 [C99-based standards] (WINT_MIN): Likewise.
35298 [C99-based standards] (*_t): Allow.
35299 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35300 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35301 Include math.h-data and complex.h-data. Remove all expectations
35302 of math.h and complex.h contents.
35303 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35304 at end of line.
35305 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35306 (struct tm): Expect tag.
35307 [C99-based-standards] (wcstof): Expect function.
35308 [C99-based-standards] (wcstold): Likewise.
35309 [C99-based-standards] (wcstoll): Likewise.
35310 [C99-based-standards] (wcstoull): Likewise.
35311 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35312 macro-int-constant. Specify type.
35313 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35314 constraint on value.
35315 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35316 Specify type.
35317 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35318 Specify value.
35319 [ISO C standards]: Do not allow headers.
35320 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35321 wcs[abcdefghijklmnopqrstuvwxyz]*.
35322 [ISO C standards] (*_t): Do not allow.
35323 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35324 Expect function.
35325 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35326 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35327 Specify type.
35328 [ISO C standards]: Do not allow headers.
35329 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35330 is[abcdefghijklmnopqrstuvwxyz]*.
35331 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35332 to[abcdefghijklmnopqrstuvwxyz]*.
35333 [ISO C standards] (*_t): Do not allow.
35334 * conform/data/stdalign.h-data: New file.
35335 * conform/data/stdbool.h-data: Likewise.
35336 * conform/data/stdnoreturn.h-data: Likewise.
35337
7514feb8
RM
353382012-11-07 Roland McGrath <roland@hack.frob.com>
35339
35340 [BZ #14815]
35341 * manual/filesys.texi (Directory Entries): Typo fix.
35342 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35343
19b2ecfc
MS
353442012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35345
35346 * elf/elf.h (EM_AARCH64): New macro.
35347 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35348 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35349 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35350 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35351 (R_AARCH64_TLSDESC): Likewise.
35352 (NT_ARM_TLS): Likewise.
35353 (NT_ARM_HW_BREAK): Likewise.
35354 (NT_ARM_HW_WATCH): Likewise.
35355
60e235ee
JM
353562012-11-07 Joseph Myers <joseph@codesourcery.com>
35357
35358 [BZ #14811]
35359 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35360 (__ieee754_powl): Saturate nonzero exponents with absolute value
35361 below 0x1p-79 to +/- 0x1p-79.
35362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35363 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35364 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35365 nonzero exponents with absolute value below 0x1p-32 to +/-
35366 0x1p-32.
35367 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35368 (__ieee754_powl): Saturate nonzero exponents with absolute value
35369 below 0x1p-79 to +/- 0x1p-79.
35370 * math/libm-test.inc (pow_test): Add more tests.
35371
0ab234b7
AK
353722012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35373
35374 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35375 _dl_s390_cap_flags with kernel. Increase string length.
35376 (_dl_s390_platforms): Add z196 and zEC12.
35377
45832f74
JM
353782012-11-07 Joseph Myers <joseph@codesourcery.com>
35379
35380 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35381 Change XOPEN21K to XOPEN2K.
35382
19218757
MK
353832012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35384
35385 * string/memmove.c: Use memcpy when possible.
35386
c5f45721
AJ
353872012-11-06 Andreas Jaeger <aj@suse.de>
35388
35389 * po/eo.po: Update from translation team.
35390
82477c28
JM
353912012-11-06 Joseph Myers <joseph@codesourcery.com>
35392
35393 [BZ #14793]
35394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35395 exponent and small x and y exponents, scale x or y up. Increase
35396 by 2 the exponent used in scaling up.
35397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35399 * math/libm-test.inc (fma_test): Add more tests.
35400 (fma_test_towardzero): Likewise.
35401 (fma_test_downward): Likewise.
35402 (fma_test_upward): Likewise.
35403
99252c8c
JM
354042012-11-05 Joseph Myers <joseph@codesourcery.com>
35405
acfa885f
JM
35406 [BZ #14805]
35407 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35408 fenv_t *.
35409
99252c8c
JM
35410 [BZ #14801]
35411 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35412 namespace for names of struct fields.
35413 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35414 fenv_t fields.
35415 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35416 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35417
d6d98dea
ST
354182012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35419
35420 [BZ #3665]
35421 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35422
e10bb107
TS
354232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35424
35425 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35426 PTR_DEMANGLE.
35427
35428 [BZ #5246]
35429 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35430 PTR_DEMANGLE.
35431
a0c2940d
JM
354322012-11-04 Joseph Myers <joseph@codesourcery.com>
35433
35434 [BZ #14797]
35435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35436 definitely overflow as x * y not x * y + z.
35437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35439 * math/libm-test.inc (fma_test): Add more tests.
35440 (fma_test_towardzero): Likewise.
35441 (fma_test_downward): Likewise.
35442 (fma_test_upward): Likewise.
35443
b830319d
TS
354442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35445
35446 [BZ #157]
35447
35448 * include/stub-tag.h: Remove file.
35449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35450 '#include' of it.
35451 * manual/maint.texi (Porting): Don't reference it.
35452 * Makerules ($(objpfx)stubs): Likewise.
35453 * dirent/closedir.c: Don't include <stub-tag.h>.
35454 * dirent/dirfd.c: Likewise.
35455 * dirent/fdopendir.c: Likewise.
35456 * dirent/getdents.c: Likewise.
35457 * dirent/getdents64.c: Likewise.
35458 * dirent/opendir.c: Likewise.
35459 * dirent/readdir.c: Likewise.
35460 * dirent/readdir64.c: Likewise.
35461 * dirent/readdir64_r.c: Likewise.
35462 * dirent/readdir_r.c: Likewise.
35463 * dirent/rewinddir.c: Likewise.
35464 * dirent/seekdir.c: Likewise.
35465 * dirent/telldir.c: Likewise.
35466 * gmon/profil.c: Likewise.
35467 * grp/setgroups.c: Likewise.
35468 * inet/if_index.c: Likewise.
35469 * io/access.c: Likewise.
35470 * io/chdir.c: Likewise.
35471 * io/chmod.c: Likewise.
35472 * io/chown.c: Likewise.
35473 * io/close.c: Likewise.
35474 * io/dup.c: Likewise.
35475 * io/dup2.c: Likewise.
35476 * io/dup3.c: Likewise.
35477 * io/euidaccess.c: Likewise.
35478 * io/faccessat.c: Likewise.
35479 * io/fchdir.c: Likewise.
35480 * io/fchmod.c: Likewise.
35481 * io/fchmodat.c: Likewise.
35482 * io/fchown.c: Likewise.
35483 * io/fchownat.c: Likewise.
35484 * io/fcntl.c: Likewise.
35485 * io/flock.c: Likewise.
35486 * io/fstatfs.c: Likewise.
35487 * io/fstatfs64.c: Likewise.
35488 * io/fstatvfs.c: Likewise.
35489 * io/fstatvfs64.c: Likewise.
35490 * io/futimens.c: Likewise.
35491 * io/fxstat.c: Likewise.
35492 * io/fxstat64.c: Likewise.
35493 * io/fxstatat.c: Likewise.
35494 * io/fxstatat64.c: Likewise.
35495 * io/getcwd.c: Likewise.
35496 * io/isatty.c: Likewise.
35497 * io/lchmod.c: Likewise.
35498 * io/lchown.c: Likewise.
35499 * io/link.c: Likewise.
35500 * io/linkat.c: Likewise.
35501 * io/lseek.c: Likewise.
35502 * io/lseek64.c: Likewise.
35503 * io/lxstat64.c: Likewise.
35504 * io/mkdir.c: Likewise.
35505 * io/mkdirat.c: Likewise.
35506 * io/mkfifo.c: Likewise.
35507 * io/mkfifoat.c: Likewise.
35508 * io/open.c: Likewise.
35509 * io/open64.c: Likewise.
35510 * io/openat.c: Likewise.
35511 * io/openat64.c: Likewise.
35512 * io/pipe.c: Likewise.
35513 * io/pipe2.c: Likewise.
35514 * io/poll.c: Likewise.
35515 * io/posix_fadvise.c: Likewise.
35516 * io/posix_fadvise64.c: Likewise.
35517 * io/posix_fallocate.c: Likewise.
35518 * io/posix_fallocate64.c: Likewise.
35519 * io/read.c: Likewise.
35520 * io/readlink.c: Likewise.
35521 * io/readlinkat.c: Likewise.
35522 * io/rmdir.c: Likewise.
35523 * io/sendfile.c: Likewise.
35524 * io/sendfile64.c: Likewise.
35525 * io/statfs.c: Likewise.
35526 * io/statfs64.c: Likewise.
35527 * io/statvfs.c: Likewise.
35528 * io/statvfs64.c: Likewise.
35529 * io/symlink.c: Likewise.
35530 * io/symlinkat.c: Likewise.
35531 * io/ttyname.c: Likewise.
35532 * io/ttyname_r.c: Likewise.
35533 * io/umask.c: Likewise.
35534 * io/unlink.c: Likewise.
35535 * io/unlinkat.c: Likewise.
35536 * io/utime.c: Likewise.
35537 * io/utimensat.c: Likewise.
35538 * io/write.c: Likewise.
35539 * io/xmknod.c: Likewise.
35540 * io/xmknodat.c: Likewise.
35541 * io/xstat.c: Likewise.
35542 * io/xstat64.c: Likewise.
35543 * login/getpt.c: Likewise.
35544 * login/grantpt.c: Likewise.
35545 * login/unlockpt.c: Likewise.
35546 * math/e_acoshl.c: Likewise.
35547 * math/e_acosl.c: Likewise.
35548 * math/e_asinl.c: Likewise.
35549 * math/e_atan2l.c: Likewise.
35550 * math/e_atanhl.c: Likewise.
35551 * math/e_coshl.c: Likewise.
35552 * math/e_expl.c: Likewise.
35553 * math/e_fmodl.c: Likewise.
35554 * math/e_gammal_r.c: Likewise.
35555 * math/e_hypotl.c: Likewise.
35556 * math/e_j0l.c: Likewise.
35557 * math/e_j1l.c: Likewise.
35558 * math/e_jnl.c: Likewise.
35559 * math/e_lgammal_r.c: Likewise.
35560 * math/e_log10l.c: Likewise.
35561 * math/e_log2l.c: Likewise.
35562 * math/e_logl.c: Likewise.
35563 * math/e_powl.c: Likewise.
35564 * math/e_rem_pio2l.c: Likewise.
35565 * math/e_sinhl.c: Likewise.
35566 * math/e_sqrtl.c: Likewise.
35567 * math/fclrexcpt.c: Likewise.
35568 * math/fedisblxcpt.c: Likewise.
35569 * math/feenablxcpt.c: Likewise.
35570 * math/fegetenv.c: Likewise.
35571 * math/fegetexcept.c: Likewise.
35572 * math/fegetround.c: Likewise.
35573 * math/feholdexcpt.c: Likewise.
35574 * math/fesetenv.c: Likewise.
35575 * math/fesetround.c: Likewise.
35576 * math/feupdateenv.c: Likewise.
35577 * math/fgetexcptflg.c: Likewise.
35578 * math/fraiseexcpt.c: Likewise.
35579 * math/fsetexcptflg.c: Likewise.
35580 * math/ftestexcept.c: Likewise.
35581 * math/k_cosl.c: Likewise.
35582 * math/k_rem_pio2l.c: Likewise.
35583 * math/k_sinl.c: Likewise.
35584 * math/k_tanl.c: Likewise.
35585 * math/s_asinhl.c: Likewise.
35586 * math/s_atanl.c: Likewise.
35587 * math/s_cbrtl.c: Likewise.
35588 * math/s_erfl.c: Likewise.
35589 * math/s_expm1l.c: Likewise.
35590 * math/s_log1pl.c: Likewise.
35591 * math/s_tanhl.c: Likewise.
35592 * misc/acct.c: Likewise.
35593 * misc/brk.c: Likewise.
35594 * misc/chflags.c: Likewise.
35595 * misc/chroot.c: Likewise.
35596 * misc/fchflags.c: Likewise.
35597 * misc/fgetxattr.c: Likewise.
35598 * misc/flistxattr.c: Likewise.
35599 * misc/fremovexattr.c: Likewise.
35600 * misc/fsetxattr.c: Likewise.
35601 * misc/fsync.c: Likewise.
35602 * misc/ftruncate.c: Likewise.
35603 * misc/futimes.c: Likewise.
35604 * misc/futimesat.c: Likewise.
35605 * misc/getdomain.c: Likewise.
35606 * misc/getdtsz.c: Likewise.
35607 * misc/gethostid.c: Likewise.
35608 * misc/gethostname.c: Likewise.
35609 * misc/getloadavg.c: Likewise.
35610 * misc/getpagesize.c: Likewise.
35611 * misc/getsysstats.c: Likewise.
35612 * misc/getxattr.c: Likewise.
35613 * misc/gtty.c: Likewise.
35614 * misc/ioctl.c: Likewise.
35615 * misc/lgetxattr.c: Likewise.
35616 * misc/listxattr.c: Likewise.
35617 * misc/llistxattr.c: Likewise.
35618 * misc/lremovexattr.c: Likewise.
35619 * misc/lsetxattr.c: Likewise.
35620 * misc/lutimes.c: Likewise.
35621 * misc/madvise.c: Likewise.
35622 * misc/mincore.c: Likewise.
35623 * misc/mlock.c: Likewise.
35624 * misc/mlockall.c: Likewise.
35625 * misc/mmap.c: Likewise.
35626 * misc/mprotect.c: Likewise.
35627 * misc/msync.c: Likewise.
35628 * misc/munlock.c: Likewise.
35629 * misc/munlockall.c: Likewise.
35630 * misc/munmap.c: Likewise.
35631 * misc/preadv.c: Likewise.
35632 * misc/preadv64.c: Likewise.
35633 * misc/ptrace.c: Likewise.
35634 * misc/pwritev.c: Likewise.
35635 * misc/pwritev64.c: Likewise.
35636 * misc/readv.c: Likewise.
35637 * misc/reboot.c: Likewise.
35638 * misc/remap_file_pages.c: Likewise.
35639 * misc/removexattr.c: Likewise.
35640 * misc/revoke.c: Likewise.
35641 * misc/select.c: Likewise.
35642 * misc/setdomain.c: Likewise.
35643 * misc/setegid.c: Likewise.
35644 * misc/seteuid.c: Likewise.
35645 * misc/sethostid.c: Likewise.
35646 * misc/sethostname.c: Likewise.
35647 * misc/setregid.c: Likewise.
35648 * misc/setreuid.c: Likewise.
35649 * misc/setxattr.c: Likewise.
35650 * misc/sstk.c: Likewise.
35651 * misc/stty.c: Likewise.
35652 * misc/swapoff.c: Likewise.
35653 * misc/swapon.c: Likewise.
35654 * misc/sync.c: Likewise.
35655 * misc/syncfs.c: Likewise.
35656 * misc/syscall.c: Likewise.
35657 * misc/truncate.c: Likewise.
35658 * misc/ualarm.c: Likewise.
35659 * misc/usleep.c: Likewise.
35660 * misc/ustat.c: Likewise.
35661 * misc/utimes.c: Likewise.
35662 * misc/vhangup.c: Likewise.
35663 * misc/writev.c: Likewise.
35664 * posix/_exit.c: Likewise.
35665 * posix/alarm.c: Likewise.
35666 * posix/execve.c: Likewise.
35667 * posix/fexecve.c: Likewise.
35668 * posix/fork.c: Likewise.
35669 * posix/fpathconf.c: Likewise.
35670 * posix/getaddrinfo.c: Likewise.
35671 * posix/getegid.c: Likewise.
35672 * posix/geteuid.c: Likewise.
35673 * posix/getgid.c: Likewise.
35674 * posix/getgroups.c: Likewise.
35675 * posix/getlogin.c: Likewise.
35676 * posix/getlogin_r.c: Likewise.
35677 * posix/getpgid.c: Likewise.
35678 * posix/getpid.c: Likewise.
35679 * posix/getppid.c: Likewise.
35680 * posix/getresgid.c: Likewise.
35681 * posix/getresuid.c: Likewise.
35682 * posix/getsid.c: Likewise.
35683 * posix/getuid.c: Likewise.
35684 * posix/glob64.c: Likewise.
35685 * posix/nanosleep.c: Likewise.
35686 * posix/pathconf.c: Likewise.
35687 * posix/pause.c: Likewise.
35688 * posix/posix_madvise.c: Likewise.
35689 * posix/pread.c: Likewise.
35690 * posix/pread64.c: Likewise.
35691 * posix/pwrite.c: Likewise.
35692 * posix/pwrite64.c: Likewise.
35693 * posix/sched_getaffinity.c: Likewise.
35694 * posix/sched_getp.c: Likewise.
35695 * posix/sched_gets.c: Likewise.
35696 * posix/sched_primax.c: Likewise.
35697 * posix/sched_primin.c: Likewise.
35698 * posix/sched_rr_gi.c: Likewise.
35699 * posix/sched_setaffinity.c: Likewise.
35700 * posix/sched_setp.c: Likewise.
35701 * posix/sched_sets.c: Likewise.
35702 * posix/sched_yield.c: Likewise.
35703 * posix/setgid.c: Likewise.
35704 * posix/setlogin.c: Likewise.
35705 * posix/setpgid.c: Likewise.
35706 * posix/setresgid.c: Likewise.
35707 * posix/setresuid.c: Likewise.
35708 * posix/setsid.c: Likewise.
35709 * posix/setuid.c: Likewise.
35710 * posix/sleep.c: Likewise.
35711 * posix/spawni.c: Likewise.
35712 * posix/sysconf.c: Likewise.
35713 * posix/times.c: Likewise.
35714 * posix/wait.c: Likewise.
35715 * posix/wait3.c: Likewise.
35716 * posix/wait4.c: Likewise.
35717 * posix/waitpid.c: Likewise.
35718 * resolv/gai_sigqueue.c: Likewise.
35719 * resource/getpriority.c: Likewise.
35720 * resource/getrlimit.c: Likewise.
35721 * resource/getrusage.c: Likewise.
35722 * resource/nice.c: Likewise.
35723 * resource/setpriority.c: Likewise.
35724 * resource/setrlimit.c: Likewise.
35725 * resource/ulimit.c: Likewise.
35726 * rt/aio_cancel.c: Likewise.
35727 * rt/aio_fsync.c: Likewise.
35728 * rt/aio_read.c: Likewise.
35729 * rt/aio_sigqueue.c: Likewise.
35730 * rt/aio_suspend.c: Likewise.
35731 * rt/aio_write.c: Likewise.
35732 * rt/clock_getres.c: Likewise.
35733 * rt/clock_gettime.c: Likewise.
35734 * rt/clock_nanosleep.c: Likewise.
35735 * rt/clock_settime.c: Likewise.
35736 * rt/lio_listio.c: Likewise.
35737 * rt/mq_close.c: Likewise.
35738 * rt/mq_getattr.c: Likewise.
35739 * rt/mq_notify.c: Likewise.
35740 * rt/mq_open.c: Likewise.
35741 * rt/mq_receive.c: Likewise.
35742 * rt/mq_send.c: Likewise.
35743 * rt/mq_setattr.c: Likewise.
35744 * rt/mq_timedreceive.c: Likewise.
35745 * rt/mq_timedsend.c: Likewise.
35746 * rt/mq_unlink.c: Likewise.
35747 * rt/shm_open.c: Likewise.
35748 * rt/shm_unlink.c: Likewise.
35749 * rt/timer_create.c: Likewise.
35750 * rt/timer_delete.c: Likewise.
35751 * rt/timer_getoverr.c: Likewise.
35752 * rt/timer_gettime.c: Likewise.
35753 * rt/timer_settime.c: Likewise.
35754 * setjmp/__longjmp.c: Likewise.
35755 * setjmp/setjmp.c: Likewise.
35756 * signal/kill.c: Likewise.
35757 * signal/killpg.c: Likewise.
35758 * signal/raise.c: Likewise.
35759 * signal/sigaction.c: Likewise.
35760 * signal/sigaltstack.c: Likewise.
35761 * signal/sigblock.c: Likewise.
35762 * signal/sigignore.c: Likewise.
35763 * signal/sigintr.c: Likewise.
35764 * signal/signal.c: Likewise.
35765 * signal/sigpause.c: Likewise.
35766 * signal/sigpending.c: Likewise.
35767 * signal/sigqueue.c: Likewise.
35768 * signal/sigreturn.c: Likewise.
35769 * signal/sigset.c: Likewise.
35770 * signal/sigsetmask.c: Likewise.
35771 * signal/sigstack.c: Likewise.
35772 * signal/sigsuspend.c: Likewise.
35773 * signal/sigtimedwait.c: Likewise.
35774 * signal/sigvec.c: Likewise.
35775 * signal/sigwait.c: Likewise.
35776 * signal/sigwaitinfo.c: Likewise.
35777 * signal/sysv_signal.c: Likewise.
35778 * socket/accept.c: Likewise.
35779 * socket/accept4.c: Likewise.
35780 * socket/bind.c: Likewise.
35781 * socket/connect.c: Likewise.
35782 * socket/getpeername.c: Likewise.
35783 * socket/getsockname.c: Likewise.
35784 * socket/getsockopt.c: Likewise.
35785 * socket/isfdtype.c: Likewise.
35786 * socket/listen.c: Likewise.
35787 * socket/recv.c: Likewise.
35788 * socket/recvfrom.c: Likewise.
35789 * socket/recvmsg.c: Likewise.
35790 * socket/send.c: Likewise.
35791 * socket/sendmsg.c: Likewise.
35792 * socket/sendto.c: Likewise.
35793 * socket/setsockopt.c: Likewise.
35794 * socket/shutdown.c: Likewise.
35795 * socket/sockatmark.c: Likewise.
35796 * socket/socket.c: Likewise.
35797 * socket/socketpair.c: Likewise.
35798 * stdio-common/ctermid.c: Likewise.
35799 * stdio-common/cuserid.c: Likewise.
35800 * stdio-common/remove.c: Likewise.
35801 * stdio-common/rename.c: Likewise.
35802 * stdio-common/renameat.c: Likewise.
35803 * stdio-common/tempname.c: Likewise.
35804 * stdlib/getcontext.c: Likewise.
35805 * stdlib/makecontext.c: Likewise.
35806 * stdlib/setcontext.c: Likewise.
35807 * stdlib/swapcontext.c: Likewise.
35808 * stdlib/system.c: Likewise.
35809 * streams/fattach.c: Likewise.
35810 * streams/fdetach.c: Likewise.
35811 * streams/getmsg.c: Likewise.
35812 * streams/getpmsg.c: Likewise.
35813 * streams/putmsg.c: Likewise.
35814 * streams/putpmsg.c: Likewise.
35815 * sysdeps/unix/bsd/getpt.c: Likewise.
35816 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35817 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35818 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35820 Likewise.
35821 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35823 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35824 * sysvipc/msgctl.c: Likewise.
35825 * sysvipc/msgget.c: Likewise.
35826 * sysvipc/msgrcv.c: Likewise.
35827 * sysvipc/msgsnd.c: Likewise.
35828 * sysvipc/semctl.c: Likewise.
35829 * sysvipc/semget.c: Likewise.
35830 * sysvipc/semop.c: Likewise.
35831 * sysvipc/semtimedop.c: Likewise.
35832 * sysvipc/shmat.c: Likewise.
35833 * sysvipc/shmctl.c: Likewise.
35834 * sysvipc/shmdt.c: Likewise.
35835 * sysvipc/shmget.c: Likewise.
35836 * termios/tcdrain.c: Likewise.
35837 * termios/tcflow.c: Likewise.
35838 * termios/tcflush.c: Likewise.
35839 * termios/tcgetattr.c: Likewise.
35840 * termios/tcgetpgrp.c: Likewise.
35841 * termios/tcsendbrk.c: Likewise.
35842 * termios/tcsetattr.c: Likewise.
35843 * termios/tcsetpgrp.c: Likewise.
35844 * time/adjtime.c: Likewise.
35845 * time/clock.c: Likewise.
35846 * time/getitimer.c: Likewise.
35847 * time/gettimeofday.c: Likewise.
35848 * time/setitimer.c: Likewise.
35849 * time/settimeofday.c: Likewise.
35850 * time/stime.c: Likewise.
35851 * time/time.c: Likewise.
35852
358532012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35854
a20492cf
PT
35855 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35856 /usr/old/bin.
35857
72e182e3
PT
35858 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35859 instead of spaces.
35860 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35861
fbeafede
JM
358622012-11-03 Joseph Myers <joseph@codesourcery.com>
35863
5b5b04d6
JM
35864 [BZ #14796]
35865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35866 FE_TONEAREST before applying Dekker multiplication and Knuth
35867 addition. Clear inexact exceptions and check for exact zero
35868 results afterwards.
35869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35870 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35872 * math/libm-test.inc (fma_test): Add more tests.
35873 (fma_test_towardzero): Likewise.
35874 (fma_test_downward): Likewise.
35875 (fma_test_upward): Likewise.
35876 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35877 function.
35878 (libc_fesetround): New macro.
35879 (libc_fesetroundf): Likewise.
35880 (libc_fesetroundl): Likewise.
35881 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35882 function.
35883 (libc_fesetround_387): Likewise.
35884 (libc_fesetroundf): New macro.
35885 (libc_fesetround): Likewise.
35886 (libc_fesetroundl): Likewise.
35887 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35888 function.
35889 (libc_fesetroundf): New macro.
35890 (libc_fesetround): Likewise.
35891 (libc_fesetroundl): Likewise.
35892 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35893 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35894 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35895 libm_hidden_ver.
35896 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35897 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35898 libm_hidden_def.
35899 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35900 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35901 libm_hidden_ver.
35902 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35903 libm_hidden_def.
35904
fbeafede
JM
35905 [BZ #3439]
35906 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35907 integer constant usable in #if and use that to give value to enum
35908 constant.
35909 (FE_DIVBYZERO): Likewise.
35910 (FE_UNDERFLOW): Likewise.
35911 (FE_OVERFLOW): Likewise.
35912 (FE_INVALID): Likewise.
35913 (FE_INVALID_SNAN): Likewise.
35914 (FE_INVALID_ISI): Likewise.
35915 (FE_INVALID_IDI): Likewise.
35916 (FE_INVALID_ZDZ): Likewise.
35917 (FE_INVALID_IMZ): Likewise.
35918 (FE_INVALID_COMPARE): Likewise.
35919 (FE_INVALID_SOFTWARE): Likewise.
35920 (FE_INVALID_SQRT): Likewise.
35921 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35922 (FE_TONEAREST): Likewise.
35923 (FE_TOWARDZERO): Likewise.
35924 (FE_UPWARD): Likewise.
35925 (FE_DOWNWARD): Likewise.
35926 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35927 (FE_DIVBYZERO): Likewise.
35928 (FE_OVERFLOW): Likewise.
35929 (FE_UNDERFLOW): Likewise.
35930 (FE_INEXACT): Likewise.
35931 (FE_TONEAREST): Likewise.
35932 (FE_DOWNWARD): Likewise.
35933 (FE_UPWARD): Likewise.
35934 (FE_TOWARDZERO): Likewise.
35935 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35936 (FE_UNDERFLOW): Likewise.
35937 (FE_OVERFLOW): Likewise.
35938 (FE_DIVBYZERO): Likewise.
35939 (FE_INVALID): Likewise.
35940 (FE_TONEAREST): Likewise.
35941 (FE_TOWARDZERO): Likewise.
35942 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35943 (FE_OVERFLOW): Likewise.
35944 (FE_UNDERFLOW): Likewise.
35945 (FE_DIVBYZERO): Likewise.
35946 (FE_INEXACT): Likewise.
35947 (FE_TONEAREST): Likewise.
35948 (FE_TOWARDZERO): Likewise.
35949 (FE_UPWARD): Likewise.
35950 (FE_DOWNWARD): Likewise.
35951 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35952 (FE_DIVBYZERO): Likewise.
35953 (FE_OVERFLOW): Likewise.
35954 (FE_UNDERFLOW): Likewise.
35955 (FE_INEXACT): Likewise.
35956 (FE_TONEAREST): Likewise.
35957 (FE_DOWNWARD): Likewise.
35958 (FE_UPWARD): Likewise.
35959 (FE_TOWARDZERO): Likewise.
35960
105ca950
CM
359612012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35962
35963 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35964
a542b389
AS
359652012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35966
35967 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35968 commands. Quote $PWD.
35969 (blacklist_exports): Don't use remove_newlines. Replace "declare
35970 -x" by "export".
35971 (remove_newlines): Remove.
35972
f62c8abc
L
359732012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35974
35975 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35976 * stdlib/stdlib.h (atof): Moved to ...
35977 * include/bits/stdlib-float.h: Here. New file.
35978 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35979 * stdlib/bits/stdlib-float.h: New file.
35980 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35981 -mno-sse -mno-mmx.
35982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35983 <xmmintrin.h>.
35984
0155d5b2
JM
359852012-11-02 Joseph Myers <joseph@codesourcery.com>
35986
a68d0680
JM
35987 * conform/conformtest.pl (@headers): Add fenv.h.
35988 * conform/data/fenv.h-data: New file.
35989 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35990 include of <math/fenv.h>.
35991
caf7f573
JM
35992 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35993 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35994 && !UNIX98]. Enables tests for XOPEN2K8.
35995 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35996 POSIX2008]: Likewise.
35997
6c073ad6
JM
35998 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35999 (struct rusage): Do not expect type or its members.
36000
0155d5b2
JM
36001 [BZ #3439]
36002 * math/math.h (FP_NAN): Define macro to integer constant usable in
36003 #if and use that to give value to enum constant.
36004 (FP_INFINITE): Likewise.
36005 (FP_ZERO): Likewise.
36006 (FP_SUBNORMAL): Likewise.
36007 (FP_NORMAL): Likewise.
36008
b5dcacb4
AS
360092012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36010
36011 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36012 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36013 arguments.
36014
f7934be8
RM
360152012-11-02 Roland McGrath <roland@hack.frob.com>
36016
36017 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36018 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36019 autoconf-time if not.
36020 * configure.in: Remove AC_PREREQ.
36021
d7d08bde
TMQMF
360222012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36023
36024 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36025 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36026 of the internal implementation.
36027
dcdae19a
JM
360282012-11-02 Joseph Myers <joseph@codesourcery.com>
36029
36030 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36031 except include of <misc/sys/syslog.h>.
36032
d6cffd3e
AS
360332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36034
36035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36036 function returns with a NULL context exit with zero.
36037
b3563932
TMQMF
360382012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36039
36040 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36041
b288a93d
L
360422012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36043
36044 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36045 (run_program_cmd): This.
36046 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36047 (tst_langinfo): New variable. Use it.
36048
a2421a68
SAS
360492012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36050
36051 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36052 floating point opcodes.
36053
6f796e1b
TS
360542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36055
7402596b
TS
36056 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36057 variable.
36058
d0d4f868
TS
36059 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36060
6f796e1b
TS
36061 * sysdeps/mach/hurd/powerpc: Remove directory.
36062 * sysdeps/mach/powerpc: Likewise.
36063
4da224a2
AS
360642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36065
36066 * scripts/check-local-headers.sh: Ignore c++ headers.
36067
341dd673
TS
360682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36069
36070 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36071 __libc_cleanup_region_start argument.
36072
473611b2
JM
360732012-11-01 Joseph Myers <joseph@codesourcery.com>
36074
36075 [BZ #14784]
36076 [BZ #14785]
36077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36078 x * y using scaling, not as x * y + z.
36079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36081 * math/libm-test.inc (fma_test): Add more tests.
36082 (fma_test_towardzero): Likewise.
36083 (fma_test_downward): Likewise.
36084 (fma_test_upward): Likewise.
36085
4078da3d
TS
360862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36087
36088 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36089
903252aa
JM
360902012-10-31 Joseph Myers <joseph@codesourcery.com>
36091
36092 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36093 New variable.
36094
cbc818d0
TS
360952012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36096
36097 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36098
5a03cb1e
AS
360992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36100
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36102 Fix sort order.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36104 Likewise.
36105
90aff2ff
TMQMF
361062012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36107
36108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36109 Fix the order of the list for glibc 2.17.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36111 Likewise.
36112
1818fcb7
AS
361132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36114
36115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36116
ef82f4da
JM
361172012-10-31 Joseph Myers <joseph@codesourcery.com>
36118
16a0e2ec
JM
36119 [BZ #14610]
36120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36121 for low part of x being zero before using __atanl (y).
36122 * math/libm-test.inc (atan2_test): Add another test.
36123
0eb69512
JM
36124 * manual/install.texi (Configuring and compiling): Document
36125 general use of test-wrapper and test-wrapper-env.
36126 * INSTALL: Regenerated.
36127
ef82f4da
JM
36128 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36129 (__fma): Do not extract and scale down low bits on after-rounding
36130 systems when result rounded to normal precision would have normal
36131 exponent.
36132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36133 (__fmal): Do not extract and scale down low bits on after-rounding
36134 systems when result rounded to normal precision would have normal
36135 exponent.
36136 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36137 (__fmal): Do not extract and scale down low bits on after-rounding
36138 systems when result rounded to normal precision would have normal
36139 exponent.
36140 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36141 macro.
36142 (fma_test): Add more tests.
36143 (fma_test_towardzero): Likewise.
36144 (fma_test_downward): Likewise.
36145 (fma_test_upward): Likewise.
36146
954ef0d9
L
361472012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36148
36149 * sysdeps/i386/tininess.h: Renamed to ...
36150 * sysdeps/x86/tininess.h: This.
36151 * sysdeps/x86_64/tininess.h: Removed.
36152
df61ffb2
JM
361532012-10-30 Joseph Myers <joseph@codesourcery.com>
36154
36155 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36156 input. Use $(build-program-cmd).
36157 ($(objpfx)tst-array1-static.out): Likewise.
36158 ($(objpfx)tst-array2.out): Likewise.
36159 ($(objpfx)tst-array3.out): Likewise.
36160 ($(objpfx)tst-array4.out): Likewise.
36161 ($(objpfx)tst-array5.out): Likewise.
36162 ($(objpfx)tst-array5-static.out): Likewise.
36163
01767843
CM
361642012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36165
47cc1490
CM
36166 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36167 if defined.
36168
01767843
CM
36169 * nss/nsswitch.h (nss_interface_function): Provide new
36170 macro for use with NSS functions.
36171 * grp/initgroups.c: Use new macro.
36172 * nss/getXXbyYY.c: Likewise.
36173 * nss/getXXbyYY_r.c: Likewise.
36174 * nss/getXXent.c: Likewise.
36175 * nss/getXXent_r.c: Likewise.
36176 * sysdeps/posix/getaddrinfo.c: Likewise.
36177
8321aa97
AJ
361782012-10-30 Andreas Jaeger <aj@suse.de>
36179
36180 * po/ru.po: Update Russion translation from translation project.
36181
2a27fd6d
JM
361822012-10-30 Joseph Myers <joseph@codesourcery.com>
36183
8627a232
JM
36184 [BZ #14152]
36185 [BZ #14783]
36186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36187 result and shift together with sticky bit instead of replicating
36188 round-to-nearest rounding.
36189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36191 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36192 missing underflow exceptions.
36193 (fma_test_towardzero): Add more tests.
36194 (fma_test_downward): Likewise.
36195 (fma_test_upward): Likewise.
36196
2a27fd6d
JM
36197 [BZ #14047]
36198 * sysdeps/generic/tininess.h: New file.
36199 * sysdeps/i386/tininess.h: Likewise.
36200 * sysdeps/sh/tininess.h: Likewise.
36201 * sysdeps/x86_64/tininess.h: Likewise.
36202 * stdlib/tst-strtod-underflow.c: Likewise.
36203 * stdlib/tst-tininess.c: Likewise.
36204 * stdlib/strtod_l.c: Include <tininess.h>.
36205 (round_and_return): Do not set errno for exact underflow cases.
36206 Force an underflow exception when setting errno for underflow.
36207 Determine underflow based on rounding to normal precision if
36208 TININESS_AFTER_ROUNDING.
36209 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36210 ERANGE for exact underflow cases.
36211 * stdlib/Makefile (tests): Add tst-tininess and
36212 tst-strtod-underflow.
36213 ($(objpfx)tst-tininess): Use $(link-libm).
36214 ($(objpfx)tst-strtod-underflow): Likewise.
36215
e7170363
AJ
362162012-10-30 Andreas Jaeger <aj@suse.de>
36217
e5088dc6
AJ
36218 [BZ#14767]
36219 * elf/Makefile (tests): Remove conditional for have-initfini-array
36220 since this is now always required and the variable does not exist
36221 anymore.
36222 (tests-static): Likewise.
36223 (modules-names): Likewise.
36224
e7170363 36225 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36226
36227 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36228 merged with constructor/destructor.
36229 (init_array): Likewise.
36230 * elf/tst-array2dep.c (fini_array): Likewise.
36231 (init_array): Likewise.
36232
60457d8a
MF
362332012-10-29 Mike Frysinger <vapier@gentoo.org>
36234
36235 * manual/message.texi: Delete @cartouche tags.
36236
8bece752
PT
362372012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36238
94ce799f
PT
36239 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36240 EOPNOTSUPP.
36241 * sysdeps/mach/hurd/fsync.c: Likewise.
36242
8bece752
PT
36243 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36244 [_POSIX_REALTIME_SIGNALS]: Change condition to
36245 [_POSIX_REALTIME_SIGNALS > 0].
36246
86ebe6b1
AJ
362472012-10-27 Andreas Jaeger <aj@suse.de>
36248
36249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36250 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36252 [__WORDSIZE != 64]: Likewise.
36253
54399c08
L
362542012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36255
36256 * iconvdata/tst-table.sh: Remove ${SHELL}.
36257 * iconvdata/tst-tables.sh: Likewise.
36258
e2211bed
DM
362592012-10-25 David S. Miller <davem@davemloft.net>
36260
36261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36262 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36263 of strtoull.
36264
f303f97c
DM
36265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36266 ifunc-impl-list.c
36267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36268 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36269 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36270 file.
36271
1e9d84cd
RM
362722012-10-25 Roland McGrath <roland@hack.frob.com>
36273
36274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36275 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36276 __getdirentries.
36277
df381762
JM
362782012-10-25 Joseph Myers <joseph@codesourcery.com>
36279 Jim Blandy <jimb@codesourcery.com>
36280
36281 * scripts/cross-test-ssh.sh: New file.
36282 * manual/install.texi (Configuring and compiling): Document use of
36283 cross-test-ssh.sh.
36284 * INSTALL: Regenerated.
36285
bff64913
PT
362862012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36287
36288 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36289 EOPNOTSUPP.
36290
25fe8932
JM
362912012-10-25 Joseph Myers <joseph@codesourcery.com>
36292
36293 * Makeconfig (run-program-prefix): Fix comment.
36294
cc1290d0
JM
362952012-10-24 Joseph Myers <joseph@codesourcery.com>
36296 Jim Blandy <jimb@codesourcery.com>
36297
36298 * Makeconfig (test-wrapper): New variable,
36299 (test-wrapper-env): Likewise.
36300 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36301 (run-built-tests): Define to yes.
36302 (run-program-prefix): Use $(test-wrapper).
36303 (built-program-cmd): Likewise.
36304 * Rules (make-test-out): Use $(test-wrapper-env) and
36305 $(host-built-program-cmd).
36306 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36307 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36308 tst-pathopt.sh.
36309 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36310 $(test-wrapper-env) to tst-rtld-load-self.sh.
36311 ($(objpfx)order2.out): Use $(test-wrapper).
36312 ($(objpfx)tst-initorder.out): Likewise.
36313 ($(objpfx)tst-initorder2.out): Likewise.
36314 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36315 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36316 (test_wrapper_env): New variable. Use it to run ld.so.
36317 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36318 Use it to run ld.so.
36319 (test_wrapper_env): Likewise.
36320 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36321 $(test-wrapper) to run-iconv-test.sh.
36322 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36323 (ICONV): Use $test_wrapper.
36324 * posix/Makefile ($(objpfx)globtest.out): Pass
36325 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36326 globtest.sh, not $(run-program-prefix).
36327 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36328 (test_wrapper): Likewise.
36329 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36330 set together with run_via_rtld_prefix.
36331 (run_program_prefix): Define in terms of test_wrapper and
36332 run_via_rtld_prefix.
36333
6e6249d0
RM
363342012-10-24 Roland McGrath <roland@hack.frob.com>
36335
36336 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36337 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36338 Targets removed.
36339
36340 [BZ #14743]
36341 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36342 Declare __clock_getres, __clock_gettime, __clock_settime,
36343 __clock_nanosleep, and __clock_getcpuclockid.
36344 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36345 Remove librt_hidden_def (clock_gettime).
36346 * sysdeps/unix/clock_gettime.c: Likewise.
36347 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36348 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36349 * rt/clock_getres.c: Define __clock_getres as an alias.
36350 * sysdeps/posix/clock_getres.c: Likewise.
36351 * rt/clock_settime.c: Define __clock_settime as an alias.
36352 * sysdeps/unix/clock_settime.c: Likewise.
36353 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36354 * sysdeps/unix/clock_nanosleep.c: Likewise.
36355 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36356 * rt/clock-compat.c: New file.
36357 * rt/Makefile (librt-routines): Add clock-compat and move
36358 $(clock-routines) to ...
36359 (routines): ... here, new variable.
36360 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36361 Don't add get_clockfreq here.
36362 * rt/Versions (libc: GLIBC_2.17): New version set.
36363 Add clock_* symbols here.
36364 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36366 (GLIBC_2.17): Add clock_* symbols.
36367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36371 Likewise.
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36373 Likewise.
36374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36378 * NEWS: Mention the move.
36379
36380 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36381 Use __open, __read, __close rather than their public counterparts.
36382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36383 (__get_clockfreq_via_cpuinfo): Likewise.
36384 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36385 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36386
36387 * config.h.in (HAVE_IFUNC): New #undef.
36388 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36389 was successful.
36390 * configure: Regenerated.
36391
0cae3f4b
MF
363922012-10-24 Mike Frysinger <vapier@gentoo.org>
36393
36394 * configure.in: Move READELF check to start of file.
36395 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36396 libc_cv_asm_gnu_indirect_function in the process.
36397 * configure: Regenerated.
36398
8175a253
MF
363992012-10-24 Mike Frysinger <vapier@gentoo.org>
36400
36401 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36402 send the output to /dev/null.
36403 (libc_cv_cc_with_libunwind): Likewise.
36404 (libc_cv_as_noexecstack): Likewise.
36405 * configure: Regenerate.
36406
0708a7d1
JM
364072012-10-24 Joseph Myers <joseph@codesourcery.com>
36408
10b40d85
JM
36409 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36410
0708a7d1
JM
36411 * posix/globtest.sh (TMPDIR): Do not set.
36412 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36413 (testout): Likewise.
36414
9fddec1a
AJ
364152012-10-24 Andreas Jaeger <aj@suse.de>
36416
3a8db22f
AJ
36417 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36418 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36419 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36420 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36421 posix_fadvise64, posix_fallocate64.
36422
9fddec1a
AJ
36423 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36424 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36425 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36426 Likewise.
36427 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36428 Likewise.
36429 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36430
36431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36432 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36433 <bits/fcntl-linux.h>.
36434 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36435
36436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36437 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36438 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36439 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36440 [__WORDSIZE != 64]: Likewise.
36441
ebfd1bbd
JM
364422012-10-23 Joseph Myers <joseph@codesourcery.com>
36443
03ac099f
JM
36444 * Makeconfig (run-built-tests): New variable.
36445 * Rules [$(cross-compiling) = yes]: Change condition to
36446 [$(run-built-tests) = no].
36447 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36448 to [$(run-built-tests) = yes].
36449 * elf/Makefile [$(cross-compiling) = no]: Likewise
36450 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36451 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36452 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36453 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36454 * io/Makefile [$(cross-compiling) = no]: Likewise.
36455 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36456 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36457 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36458 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36459 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36460 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36461 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36462 * string/Makefile [$(cross-compiling) = no]: Likewise.
36463
ebfd1bbd
JM
36464 * posix/Makefile ($(objpfx)globtest.out): Pass
36465 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36466 $(rtld-installed-name).
36467 * posix/globtest.sh (elf_objpfx): Remove variable.
36468 (rtld_installed_name): Likewise.
36469 (library_path): Likewise.
36470 (run_program_prefix): New variable. Use for running globtest
36471 binary.
36472
166bca24
JB
364732012-10-23 Jim Blandy <jimb@codesourcery.com>
36474 Joseph Myers <joseph@codesourcery.com>
36475
36476 * Makeconfig (host-built-program-cmd): New variable.
36477 * elf/Makefile (tst-stackguard1-ARGS): Use
36478 $(host-built-program-cmd).
36479 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36480 (tst-spawn-ARGS): Likewise.
36481 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36482
88866099
JM
364832012-10-23 Joseph Myers <joseph@codesourcery.com>
36484 Jim Blandy <jimb@codesourcery.com>
36485
36486 * Makeconfig (run-via-rtld-prefix): New variable.
36487 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36488 (built-program-cmd): Likewise.
36489
b4b4c296
AJ
364902012-10-22 Andreas Jaeger <aj@suse.de>
36491
36492 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36493 __O_RSYNC if it exists, otherwise to O_SYNC.
36494
6fb54a22
JB
364952012-10-22 Jim Blandy <jimb@codesourcery.com>
36496 Joseph Myers <joseph@codesourcery.com>
36497
36498 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36499 /dev/null.
36500 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36501 from /dev/null
36502 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36503 /dev/null.
36504
481b90b9
AJ
365052012-10-22 Andreas Jaeger <aj@suse.de>
36506
2a0e2669
AJ
36507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36508 Define always.
36509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36510
76e38f9a
AJ
36511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36512 bits/fcntl-linux.h.
36513
7cd37b43
AJ
36514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36515 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36516
481b90b9
AJ
36517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36518 to __O_LARGEFILE.
36519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36520 to __O_LARGEFILE.
36521
aba75984
JB
365222012-10-21 Jim Blandy <jimb@codesourcery.com>
36523 Joseph Myers <joseph@codesourcery.com>
36524
36525 * config.make.in (NM): New variable.
36526
88d4247f
AJ
365272012-10-21 Andreas Jaeger <aj@suse.de>
36528
36529 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36530 definitions and declarations that are provided by
36531 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36532
f2eed205
L
365332012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36534
36535 [BZ #14683]
36536 * elf/Makefile (tests-static): Add tst-leaks1-static.
36537 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36538 ($(objpfx)tst-leaks1-static): New rule.
36539 ($(objpfx)tst-leaks1-static-mem): Likewise.
36540 (tst-leaks1-static-ENV): New macro.
36541 * elf/dl-open.c (dl_open_worker): Check the main application
36542 only if SHARED is defined.
36543 * elf/tst-leaks1-static.c: New file.
36544
335e6931
AJ
365452012-10-20 Andreas Jaeger <aj@suse.de>
36546
36547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36548 generic values for Linux.
36549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36550 and declarations that are provided by <bits/fcntl-linux.h> and
36551 include <bits/fcntl-linux.h>.
36552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36553 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36554
ac5c94d3
RM
365552012-10-20 Roland McGrath <roland@hack.frob.com>
36556
36557 * io/fcntl.h: Move include of <bits/types.h> to the top and
36558 include it unconditionally.
36559
de54b33a
L
365602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36561
228cfb01
L
36562 * wcsmbs/Makefile (tests-ifunc): New variable.
36563 (tests): Add $(tests-ifunc).
36564 * wcsmbs/test-wcschr-ifunc.c: New file.
36565 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36566 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36567 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36568 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36569 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36570
69f07e5f
L
36571 * string/Makefile (tests-ifunc): New variable.
36572 (tests): Add $(tests-ifunc).
36573 * string/test-memccpy.c (TEST_NAME): New macro.
36574 * string/test-memchr.c (TEST_NAME): Likewise.
36575 * string/test-memcmp.c (TEST_NAME): Likewise.
36576 * string/test-memcpy.c (TEST_NAME): Likewise.
36577 * string/test-memmem.c (TEST_NAME): Likewise.
36578 * string/test-memmove.c (TEST_NAME): Likewise.
36579 * string/test-memset.c (TEST_NAME): Likewise.
36580 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36581 * string/test-stpcpy.c (TEST_NAME): Likewise.
36582 * string/test-stpncpy.c (TEST_NAME): Likewise.
36583 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36584 * string/test-strcasestr.c (TEST_NAME): Likewise.
36585 * string/test-strcat.c (TEST_NAME): Likewise.
36586 * string/test-strchr.c (TEST_NAME): Likewise.
36587 * string/test-strcmp.c(TEST_NAME): Likewise.
36588 * string/test-strcpy.c (TEST_NAME): Likewise.
36589 * string/test-strcspn.c (TEST_NAME): Likewise.
36590 * string/test-strlen.c (TEST_NAME): Likewise.
36591 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36592 * string/test-strncmp.c (TEST_NAME): Likewise.
36593 * string/test-strncpy.c (TEST_NAME): Likewise.
36594 * string/test-strnlen.c (TEST_NAME): Likewise.
36595 * string/test-strpbrk.c (TEST_NAME): Likewise.
36596 * string/test-strrchr.c (TEST_NAME): Likewise.
36597 * string/test-strspn.c (TEST_NAME): Likewise.
36598 * string/test-strstr.c (TEST_NAME): Likewise.
36599 * string/test-bcopy-ifunc.c: New file.
36600 * string/test-bzero-ifunc.c: Likewise.
36601 * string/test-memccpy-ifunc.c: Likewise.
36602 * string/test-memchr-ifunc.c: Likewise.
36603 * string/test-memcmp-ifunc.c: Likewise.
36604 * string/test-memcpy-ifunc.c: Likewise.
36605 * string/test-memmem-ifunc.c: Likewise.
36606 * string/test-memmove-ifunc.c: Likewise.
36607 * string/test-mempcpy-ifunc.c: Likewise.
36608 * string/test-memset-ifunc.c: Likewise.
36609 * string/test-rawmemchr-ifunc.c: Likewise.
36610 * string/test-stpcpy-ifunc.c: Likewise.
36611 * string/test-stpncpy-ifunc.c: Likewise.
36612 * string/test-strcasecmp-ifunc.c: Likewise.
36613 * string/test-strcasestr-ifunc.c: Likewise.
36614 * string/test-strcat-ifunc.c: Likewise.
36615 * string/test-strchr-ifunc.c: Likewise.
36616 * string/test-strchrnul-ifunc.c: Likewise.
36617 * string/test-strcmp-ifunc.c: Likewise.
36618 * string/test-strcpy-ifunc.c: Likewise.
36619 * string/test-strcspn-ifunc.c: Likewise.
36620 * string/test-strlen-ifunc.c: Likewise.
36621 * string/test-strncasecmp-ifunc.c: Likewise.
36622 * string/test-strncat-ifunc.c: Likewise.
36623 * string/test-strncmp-ifunc.c: Likewise.
36624 * string/test-strncpy-ifunc.c: Likewise.
36625 * string/test-strnlen-ifunc.c: Likewise.
36626 * string/test-strpbrk-ifunc.c: Likewise.
36627 * string/test-strrchr-ifunc.c: Likewise.
36628 * string/test-strspn-ifunc.c: Likewise.
36629 * string/test-strstr-ifunc.c: Likewise.
36630
de54b33a
L
36631 * debug/Makefile (tests-ifunc): New variable.
36632 (tests): Add $(tests-ifunc).
36633 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36634 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36635 * debug/test-stpcpy_chk-ifunc.c: New file.
36636 * debug/test-strcpy_chk-ifunc.c: Likewise.
36637
88481c16
SP
366382012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36639
36640 [BZ #13601]
36641 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36642 header is not read in.
36643
135948bd
JM
366442012-10-19 Joseph Myers <joseph@codesourcery.com>
36645
89f1c388
JM
36646 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36647 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36648 directly. Pass built executable to script as
36649 $(built-program-cmd).
36650 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36651 $testprogram without using LD_LIBRARY_PATH and $ldso.
36652
e40a0d21
JM
36653 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36654 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36655 $(rtld-installed-name).
36656 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36657 (rtld_installed_name): Likewise.
36658 (library_path): Likewise.
36659 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36660 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36661 $(run-program-prefix) to tst-tables.sh.
36662 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36663 it to run tst-table-from and tst-table-to.
36664 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36665 Pass it to tst-table.sh.
36666 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36667 $(run-program-prefix) to tst-gettext.sh.
36668 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36669 tst-translit.sh.
36670 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36671 tst-gettext2.sh.
36672 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36673 to run tst-gettext.
36674 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36675 to run tst-gettext2.
36676 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36677 to run tst-translit.
36678 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36679 $(run-program-prefix) to tst-mtrace.sh.
36680 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36681 to run tst-mtrace.
36682 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36683 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36684 $(rtld-installed-name).
36685 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36686 (rtld_installed_name): Likewise.
36687 (run_program_prefix): New variable. Use it to run wordexp-test.
36688
728e272a
JM
36689 * Makeconfig (ARCH): Remove all definitions.
36690 (machine): Likewise.
36691 [ARCH]: Remove conditional code.
36692 [!objdir]: Give error.
36693 [!objdir] (objpfx): Remove.
36694 [!objdir] (common-objpfx): Likewise.
36695 [!objdir] (common-objdir): Likewise.
36696 * configure.in (config_makefile): Remove. Hardcode Makefile in
36697 AC_CONFIG_FILES call.
36698 * configure: Regenerated.
36699
d528cdcf
JM
36700 [BZ #13888]
36701 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36702 or TMPDIR.
36703 (testout): Likewise.
36704
135948bd
JM
36705 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36706 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36707 $(rtld-installed-name).
36708 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36709 (rtld_installed_name): Likwise.
36710 (runit): Remove function.
36711 (run_getconf): New variable, Use it for running getconf binary.
36712
38c78296
L
367132012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36714
36715 [BZ #14716]
36716 * string/test-memmem.c (check_result): New function.
36717 (do_one_test): Use it.
36718 (check1): New function.
36719 (test_main): Use it.
36720
d077f65f
MT
367212012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36722
36723 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36724
ced52c71
JM
367252012-10-18 Joseph Myers <joseph@codesourcery.com>
36726
36727 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36728 (_G_LSEEK64): Likewise.
36729 (_G_MMAP64): Likewise.
36730 (_G_FSTAT64): Likewise.
36731 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36732 (_G_LSEEK64): Likewise.
36733 (_G_MMAP64): Likewise.
36734 (_G_FSTAT64): Likewise.
36735 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36736 unconditional. Call __mmap64 directly.
36737 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36738 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36739 __lseek64 directly.
36740 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36741 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36742 __mmap64 directly.
36743 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36744 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36745 __lseek64 directly.
36746 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36747 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36748 __lseek64 directly.
36749 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36750 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36751 __lseek64 directly.
36752 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36753 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36754 __fxstat64 directly.
36755 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36756 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36757 unconditional.
36758 (freopen64) [!_G_OPEN64]: Remove conditional code.
36759 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36760 unconditional.
36761 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36762 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36763 unconditional.
36764 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36765 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36766 unconditional.
36767 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36768 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36769 unconditional.
36770 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36771 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36772 unconditional.
36773 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36774 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36775 unconditional.
36776 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36777 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36778 unconditional.
36779 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36780
b741de23
SP
367812012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36782
36783 [BZ #12140]
36784 * manual/memory.texi (Malloc Tunable Parameters): Add note
36785 about free list pointers overwriting some perturb bytes.
36786 Wording suggested by Roland McGrath.
36787
f9b9d9c9
JM
367882012-10-17 Joseph Myers <joseph@codesourcery.com>
36789
36790 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36791 (lgamma_test): Likewise.
36792 (tgamma_test): Likewise.
36793
172a631a
FW
367942012-10-16 Florian Weimer <fweimer@redhat.com>
36795
36796 [BZ #14700]
36797 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36798 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36799
e9f37252
MK
368002012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36801
36802 * NEWS: Mention BZ #14716.
36803 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36804 when removing AVAILABLE1_USES_J macro.
36805
d394eb74
L
368062012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36807
36808 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36809 (__bswap_64): __uint64_t for unsigned 64-bit int.
36810
ca38dc17
AS
368112012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36812
36813 * include/string.h (memmem): Declare libc hidden alias.
36814 * string/memmem.c (memmem): Define libc hidden alias.
36815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36816 __read, __close instead of open, read, close.
36817
9a387d1f
L
368182012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36819
ac49ecaf
L
36820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36821 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36822 global and hidden.
36823 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36824 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36825 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36826 Likewise.
36827 (__rawmemchr_sse2): Likewise.
36828 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36829 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36830 (__strchr_sse2): Likewise.
36831 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36832 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36833 (__strcasecmp_sse2): Likewise.
36834 (__strncasecmp_sse2): Likewise.
36835 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36836 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36837 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36838 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36839 (__strrchr_sse2): Likewise.
36840 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36841 ifunc-impl-list.c.
36842 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36843 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36844 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36845 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36846 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36847 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36848 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36849 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36850 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36851 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36852 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36853 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36854 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36855 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36856 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36857 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36858 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36859 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36860 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36861 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36862 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36863 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36864 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36865 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36866 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36868 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36869 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36870 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36871 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36872
b090e8ea
L
36873 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36874 global and hidden.
36875 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36876 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36877 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36878 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36879 Likewise.
36880 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36881 Likewise.
36882 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36883 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36884 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36885 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36886 ifunc-impl-list.c.
36887 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36888 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36889 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36891 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36900 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36901 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36903 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36904 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36905 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36906 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36908 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36909 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36910 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36912 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36913 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36914 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36915 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36916 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36917 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36918 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36919 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36920 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36927 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36928
11dd4af6
L
36929 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36930 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36931 * include/ifunc-impl-list.h: New file.
36932 * misc/ifunc-impl-list.c: Likewise.
36933 * misc/Makefile (routines): Add ifunc-impl-list.
36934 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36935 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36936 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36937 TEST_NAME]: New variables.
11dd4af6
L
36938 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36939 are defined.
36940 (test_init): Call __libc_ifunc_impl_list to initialize
36941 func_list if TEST_IFUNC and TEST_NAME are defined.
36942
9a387d1f
L
36943 * string/Makefile (strop-tests): Add bcopy and bzero.
36944 * string/test-bcopy.c: New file.
36945 * string/test-bzero.c: Likewise.
36946 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36947 defined.
36948 * string/test-memset.c: Support bzero test if TEST_BZERO is
36949 defined.
36950 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36951 __libc_memmove.
36952 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36953 __libc_memset.
36954 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36955 of memset.
36956
472371b9
JM
369572012-10-10 Joseph Myers <joseph@codesourcery.com>
36958
1e4a9536
JM
36959 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36960 * configure: Regenerated.
36961
d173d12e
JM
36962 * Makeconfig (+link-static-before-libc): Don't include
36963 $(link-static-libc).
36964
472371b9
JM
36965 * libio/libio.h (_IO_pos_t): Remove.
36966
89a3ad0b
AO
369672012-10-10 Alexandre Oliva <aoliva@redhat.com>
36968
36969 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36970 McGrath.
36971
e7451425
AO
369722012-10-10 Alexandre Oliva <aoliva@redhat.com>
36973
36974 * crypt/crypt-entry.c: Include fips-private.h.
36975 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36976 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36977 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36978 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36979
4ba74a35
AO
369802012-10-10 Alexandre Oliva <aoliva@redhat.com>
36981
36982 * crypt/crypt-private.h: Include stdbool.h.
36983 (_ufc_setup_salt_r): Return bool.
36984 * crypt/crypt-entry.c: Include errno.h.
36985 (__crypt_r): Return NULL with EINVAL for bad salt.
36986 * crypt/crypt_util.c (bad_for_salt): New.
36987 (_ufc_setup_salt_r): Check that salt is long enough and within
36988 the specified alphabet.
36989 * crypt/badsalttest.c: New file.
36990 * crypt/Makefile (tests): Add it.
36991 ($(objpfx)badsalttest): New.
36992
f96f1242
MK
369932012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36994
36995 * NEWS: Add entry for BZ #14602.
36996
0e8e0c1c
JM
369972012-10-09 Joseph Myers <joseph@codesourcery.com>
36998
36999 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37000 type-generic.
37001 * math/libm-test.inc: Update comment listing what functions and
37002 macros are tested.
37003 (isgreater_test): New function.
37004 (isgreaterequal_test): Likewise.
37005 (isless_test): Likewise.
37006 (islessequal_test): Likewise.
37007 (islessgreater_test): Likewise.
37008 (isunordered_test): Likewise.
37009 (main): Call the new functions.
37010
273edc5e
RM
370112012-10-09 Roland McGrath <roland@hack.frob.com>
37012
b8493de0
RM
37013 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37014 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37015 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37016 * sysdeps/i386/configure: Regenerated.
37017 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37018 * sysdeps/mach/configure: Regenerated.
37019 * sysdeps/mach/hurd/configure: Regenerated.
37020 * sysdeps/powerpc/configure: Regenerated.
37021 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37022 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37023 * sysdeps/s390/s390-32/configure: Regenerated.
37024 * sysdeps/s390/s390-64/configure: Regenerated.
37025 * sysdeps/sh/configure: Regenerated.
37026 * sysdeps/sparc/configure: Regenerated.
37027 * sysdeps/unix/sysv/linux/configure: Regenerated.
37028 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37029 * sysdeps/x86_64/configure: Regenerated.
37030
273edc5e
RM
37031 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37032 defined. Don't check if MAP is NULL.
37033
c8450f70
JM
370342012-10-09 Joseph Myers <joseph@codesourcery.com>
37035
37036 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37037 (_G_stat64): Likewise.
37038 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37039 (_G_stat64): Likewise.
37040 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37041 instead of struct _G_stat64.
37042 * libio/fileops.c (mmap_remap_check): Likewise.
37043 (decide_maybe_mmap): Likewise.
37044 (_IO_new_file_seekoff): Likewise.
37045 (_IO_file_stat): Likewise.
37046 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37047 _G_off64_t.
37048 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37049 instead of struct _G_stat64.
37050 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37051
57e605ba
MK
370522012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37053
37054 [BZ #14602]
37055 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37056 Replace with ...
37057 (CHECK_EOL): New macro.
37058 (two_way_short_needle): Check beginning of haystack for EOL. Use
37059 CHECK_EOL.
37060 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37061 Replace with CHECK_EOL.
37062 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37063 Replace with CHECK_EOL.
37064
ef1bb361
JM
370652012-10-08 Joseph Myers <joseph@codesourcery.com>
37066
37067 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37068 type-generic.
37069 * math/libm-test.inc: Update comment listing what functions and
37070 macros are tested.
37071 (finite_test): New function.
37072 (isinf_test): Likewise.
37073 (isnan_test): Likewise.
37074 (fpclassify_test): Test subnormal input.
37075 (isfinite_test): Likewise.
37076 (isnormal_test): Likewise.
37077 (main): Call the new functions.
37078
55f11534
JN
370792012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37080
37081 [BZ #14660]
37082 * Makerules (%.dynsym): Force C locale when running
37083 $(OBJDUMP) --dynamic-syms.
37084
1ab29350
AS
370852012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37086
37087 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37088 <stdint.h>.
37089
f1ecb7ef
DM
370902012-10-06 David S. Miller <davem@davemloft.net>
37091
37092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37093 upper 32-bits of the length value in %o2 since we use branch-on-register
37094 tests which consider the entire 64-bit register.
37095
5d41d91a
L
370962012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37097
37098 * string/test-strstr.c (check2): Add a test for page boundary.
37099
3baddb72
DM
371002012-10-05 David S. Miller <davem@davemloft.net>
37101
37102 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37103 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37104 file.
37105 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37106 sysdep_routines.
37107 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37108 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37109 and bzero when HWCAP_SPARC_CRYPTO is present.
37110
9cee5585
L
371112012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37112
d7e0dab9
L
37113 [BZ #14602]
37114 * string/test-strstr.c (check2): New function.
37115 (test_main): Call check2.
37116
03759f47
L
37117 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37118 and bug-strchr1.
37119 * string/bug-strcasestr1.c (do_test): Moved to ...
37120 * string/test-strcasestr.c (check1): Here. New function.
37121 (do_one_test): Break out result checking code into ...
37122 (check_result): This. New function.
37123 (do_one_test): Call check_result.
37124 (test_main): Call check1.
37125 * string/bug-strchr1.c (do_test): Moved to ...
37126 * string/test-strchr.c (check1): Here. New function.
37127 (do_one_test): Break out result checking code into ...
37128 (check_result): This. New function.
37129 (do_one_test): Call check_result.
37130 (test_main): Call check1.
37131 * string/bug-strstr1.c (main): Moved to ...
046f153e 37132 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37133 (do_one_test): Break out result checking code into ...
37134 (check_result): This. New function.
37135 (do_one_test): Call check_result.
37136 (test_main): Call check1.
37137 * string/bug-strcasestr1.c: Removed.
37138 * string/bug-strchr1.c: Likewise.
37139 * string/bug-strstr1.c: Likewise.
37140
53cea63e
L
37141 * elf/Makefile (dl-routines): Add hwcaps.
37142 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37143 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37144 (_dl_important_hwcaps): Moved to ...
37145 * elf/dl-hwcaps.c: Here. New file.
37146 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37147
9cee5585 37148 [BZ #14557]
bb859b06
L
37149 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37150 if IS_IN_rtld isn't defined.
37151
9cee5585
L
37152 * elf/dl-support.c (_dl_sysinfo_map): New.
37153 Include "get-dynamic-info.h" and "setup-vdso.h".
37154 (_dl_non_dynamic_init): Call setup_vdso.
37155 * elf/dynamic-link.h: Don't include <assert.h>.
37156 (elf_get_dynamic_info): Moved to ...
37157 * elf/get-dynamic-info.h: Here. New file.
37158 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37159 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37160 * elf/setup-vdso.h: Here. New file.
37161 * elf/rtld.c: Include "setup-vdso.h".
37162 (dl_main): Call setup_vdso.
37163
23c31b76
JM
371642012-10-05 Joseph Myers <joseph@codesourcery.com>
37165
28234b07
JM
37166 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37167 creal in comment listing functions tested. List finite, isinf,
37168 isnan, isless, islessequal, isgreater, isgreaterequal,
37169 islessgreater, isunordered, lgamma_r and pow10 as functions and
37170 macros not tested. Mention which functions not tested are aliases
37171 for other functions. Fix typo. Note that signs of NaNs are not
37172 tested.
37173
23c31b76
JM
37174 * scripts/config.guess: Update from config.git.
37175 * scripts/config.sub: Likewise.
37176
9043e228
RM
371772012-10-04 Roland McGrath <roland@hack.frob.com>
37178
37179 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37180 * misc/madvise.c (madvise): Renamed to __madvise.
37181 Make madvise a weak alias.
37182 * include/sys/mman.h: Declare __madvise.
37183 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37184 * sysdeps/unix/syscalls.list
37185 (madvise): Make __madvise the strong name, and madvise a weak alias.
37186 * sysdeps/unix/sysv/linux/syscalls.list
37187 (madvise, mmap): Remove redundant entries.
37188 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37189 * malloc/malloc.c (mtrim): Likewise.
37190 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37191
f57f8055
RM
371922012-10-03 Roland McGrath <roland@hack.frob.com>
37193
37194 * sysdeps/mach/hurd/dl-cache.c: File removed.
37195 * config.h.in (USE_LDCONFIG): New #undef.
37196 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37197 * configure: Regenerated.
37198 * elf/Makefile (dl-routines): Add dl-cache only under
37199 [$(use-ldconfig) = yes].
37200 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37201 cache on [USE_LDCONFIG].
37202 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37203 [USE_LDCONFIG].
37204 * elf/rtld.c (dl_main): Likewise.
37205
5bb0c10a
PT
372062012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37207
37208 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37209 _SC_LEVEL4_CACHE_LINESIZE.
37210
010188c6
RM
372112012-10-03 Roland McGrath <roland@hack.frob.com>
37212
37213 * sysdeps/unix/bsd/confstr.h: File removed.
37214
b6c5ec07
AO
372152012-10-02 Alexandre Oliva <aoliva@redhat.com>
37216
37217 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37218 sys/sdt-config.h.
37219
408223d4
RM
372202012-10-02 Roland McGrath <roland@hack.frob.com>
37221
37222 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37223 Make 'mapoff' field ElfW(Off) rather than off_t.
37224
bb9510dc
DL
372252012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37226
fc997c6e
DL
37227 * nscd/Makefile: Remove nscd-cflags and all its users.
37228 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37229 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37230
bb9510dc
DL
37231 [BZ #10631]
37232 * malloc.c (malloc_printerr): Clarify error message.
37233
05699367
L
372342012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 [BZ #14648]
37237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37238 Set bit_FMA_Usable if FMA is supported.
37239 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37240 macro.
37241 (bit_FMA4_Usable): Updated.
37242 (index_FMA_Usable): New macro.
37243 (CPUID_FMA): Likewise
37244 (HAS_FMA): Defined with bit_FMA_Usable.
37245
51367701
RM
372462012-10-01 Roland McGrath <roland@hack.frob.com>
37247
37248 * bits/types.h (__swblk_t): Type removed.
37249 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37250 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37252 (__SWBLK_T_TYPE): Likewise.
37253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37254 (__SWBLK_T_TYPE): Likewise.
37255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37256 (__SWBLK_T_TYPE): Likewise.
37257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37258 (__SWBLK_T_TYPE): Likewise.
37259
4d57bf63 372602012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37261 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37262
37263 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37264 (xdr_mapname): Use YPMAXMAP as maxsize.
37265 (xdr_peername): Use YPMAXPEER as maxsize.
37266 (xdr_keydat): Use YPAXRECORD as maxsize.
37267 (xdr_valdat): Use YPMAXRECORD as maxsize.
37268
93c65d43
RM
372692012-10-01 Roland McGrath <roland@hack.frob.com>
37270
497a03d6
RM
37271 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37272
93c65d43
RM
37273 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37274 * csu/init-first.c: ... here.
37275 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37276 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37277 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37278 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37279 * sysdeps/i386/init-first.c: File removed.
37280 * sysdeps/sh/init-first.c: File removed.
37281
bec749fd
JM
372822012-10-01 Joseph Myers <joseph@codesourcery.com>
37283
37284 [BZ #14645]
37285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37286 if x * y might underflow to zero and z is zero.
37287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37289 * math/libm-test.inc (min_subnorm_value): New variable.
37290 (fma_test): Add more tests.
37291 (fma_test_towardzero): Likewise.
37292 (fma_test_downward): Likewise
37293 (fma_test_upward): Likewise.
37294 (initialize): Set min_subnorm_value.
37295
8ec5b013
JM
372962012-09-29 Joseph Myers <joseph@codesourcery.com>
37297
37298 [BZ #14638]
37299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37300 0 + 0.
37301 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37302 mode for addition resulting in exact zero.
37303 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37305 exact 0 + 0.
37306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37308 * math/libm-test.inc (fma_test): Add more tests.
37309 (fma_test_towardzero): New function.
37310 (fma_test_downward): Likewise.
37311 (fma_test_upward): Likewise.
37312 (main): Call the new functions.
37313
b1fa802e
DM
373142012-09-28 David S. Miller <davem@davemloft.net>
37315
37316 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37317
d3b9fd9e
RM
373182012-09-28 Roland McGrath <roland@hack.frob.com>
37319
ea4d37b3
RM
37320 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37321 instead of SIGALRM.
37322
ac51c949
RM
37323 * sysdeps/gnu/_G_config.h: Moved to ...
37324 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37325 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37326 * sysdeps/generic/_G_config.h: ... here.
37327
28c195f7
RM
37328 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37329
848917f9
RM
37330 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37331
6bacf05b
RM
37332 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37333 Conditionalize target on [libnss_test1.so-version].
37334
91363dbb
RM
37335 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37336
cc87f7d8
RM
37337 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37338 (elfobjdir): Move out of conditionals.
37339
b1c608fe
RM
37340 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37341 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37342 (__nss_lookup_function): Conditionalize label remove_from_tree on
37343 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37344
1d9a6d96
DM
373452012-09-28 David S. Miller <davem@davemloft.net>
37346
37347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37348 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37349 file.
37350 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37351 sysdep_routines.
37352 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37354 when HWCAP_SPARC_CRYPTO is present.
37355
72581615
PT
373562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37357
37358 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37359
715a900c
JL
373602012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37361
37362 [BZ #6530]
37363 * stdio-common/vfprintf.c (process_string_arg): Revert
37364 2000-07-22 change.
37365
373662011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37367
37368 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37369 for testcase.
37370 * stdio-common/tst-sprintf.c: Include <locale.h>
37371 (main): Test sprintf's handling of incomplete multibyte
37372 characters.
37373
9bac1d86
L
373742012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37375
37376 * elf/dl-runtime.c (VERSYMIDX): Removed.
37377 * elf/dl-version.c (VERSYMIDX): Likewise.
37378 * elf/do-rel.h (VERSYMIDX): Likewise.
37379 (VALIDX): Likewise.
37380 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37381 * elf/rtld.c (VALIDX): Likewise.
37382 (ADDRIDX): Likewise.
9bac1d86
L
37383 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37384 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37385 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37386 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37387 (VALIDX): Likewise.
37388 (ADDRIDX): Likewise.
9bac1d86 37389
b31606c0
PT
373902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37391
37392 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37393
11541177
JL
373942012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37395
37396 [BZ #11438]
37397 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37398 to global scope.
37399 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37400 addresses are in the same scope as 192.0.2/24.
37401 * posix/gai.conf: Document new scope table defaults.
37402
adb26fae
SP
374032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37404
37405 [BZ #5298]
37406 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37407 for ftell. Compute offsets from write pointers instead.
37408 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37409
4573c6b0
SP
374102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37411
37412 [BZ #14543]
37413 * libio/Makefile (tests): New test case tst-fseek.
37414 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37415 combination works in wide mode.
37416 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37417 state when the external buffer state changes.
37418
aa9bbfe6
DM
374192012-09-27 David S. Miller <davem@davemloft.net>
37420
37421 [BZ #14376]
37422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37423 pass reloc->r_addend in as the 'high' argument to
37424 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37425
784421e7
DM
37426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37427
c39bc8b8
PT
374282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37429
37430 * rt/tst-aio2.c: Include <pthread.h>.
37431 * rt/tst-aio3.c: Likewise.
37432
1ccc2399
SE
374332012-09-27 Steve Ellcey <sellcey@mips.com>
37434
37435 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37436
31ed4153
L
374372012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37438
25f5f885
L
37439 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37440 contents on [SHARED].
31ed4153 37441
b7bfe116
MP
374422012-09-26 Marek Polacek <polacek@redhat.com>
37443
37444 [BZ #14530]
37445 [BZ #13741]
37446 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37447 for C++ and GCC <4.3 as well as for non GCC compilers.
37448
43c4edba
MT
374492012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37450
37451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37452
6a1bf82f
RM
374532012-09-25 Roland McGrath <roland@hack.frob.com>
37454
37455 * Makefile.in (all, install): Declare with .PHONY.
37456 Reported by Michael Hope <michael.hope@linaro.org>.
37457
8ad11b9a
TMQMF
374582012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37459
37460 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37461 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37462 system header.
37463 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37464 Likewise.
37465 (sydep_routines): Add the new and the internal functions.
37466 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37467 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37469 (GLIBC_2.17): Add the new function.
37470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37471 (GLIBC_2.17): Likewise.
37472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37473 (GLIBC_2.17): Likewise.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37475 (GLIBC_2.17): Likewise.
37476 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37477
7e2fca8d
AM
374782012-09-25 Alan Modra <amodra@gmail.com>
37479
37480 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37481 Add release barrier before setting once_control to say
37482 initialisation is done. Add hints on lwarx. Use macro in
37483 place of isync.
37484 (clear_once_control): Add release barrier.
37485
b87c4b24
JM
374862012-09-25 Joseph Myers <joseph@codesourcery.com>
37487
d032e0d2
JM
37488 [BZ #13629]
37489 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37490 specially.
37491 * math/s_clog10.c (__clog10): Likewise.
37492 * math/s_clog10f.c (__clog10f): Likewise.
37493 * math/s_clog10l.c (__clog10l): Likewise.
37494 * math/s_clogf.c (__clogf): Likewise.
37495 * math/s_clogl.c (__clogl): Likewise.
37496 * math/Makefile (libm-calls): Add x2y2m1.
37497 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37498 (__x2y2m1): Likewise.
37499 (__x2y2m1l): Likewise.
37500 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37501 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37502 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37504 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37505 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37506 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37507 * sysdeps/i386/fpu/libm-test-ulps: Update.
37508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37509
b87c4b24
JM
37510 [BZ #14621]
37511 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37512 int as type of variable DEPTH.
37513 (glob): Use size_t instead of int as type of variables NEWCOUNT
37514 and OLD_PATHC.
37515
6d3bf199
LD
375162012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37517
22bf5c17
LD
37518 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37519 Add s_sincosf-sse2.
37520 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37521 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37522 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37523 macros for using routine as __sincosf_ia32.
37524 Use macro for function declaration and weak_alias.
37525 * sysdeps/i386/fpu/libm-test-ulps: Update.
37526
37527 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37529
37530 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37531 subnormal argument.
37532 * math/s_cexpf.c (__cexpf): Likewise.
37533 * math/s_csinf.c (__csinf): Likewise.
37534 * math/s_csinhf.c (__csinhf): Likewise.
37535 * math/s_ctanf.c (__ctanf): Likewise.
37536 * math/s_ctanhf.c (__ctanhf): Likewise.
37537 * math/s_ccosh.c (__ccoshf): Likewise.
37538 * math/s_cexp.c (__cexpl): Likewise.
37539 * math/s_csin.c (__csin): Likewise.
37540 * math/s_csinh.c (__csinh): Likewise.
37541 * math/s_ctan.c (__ctan): Likewise.
37542 * math/s_ctanh.c (ctanh): Likewise.
37543 * math/s_ccoshl.c (__ccoshl): Likewise.
37544 * math/s_cexpl.c (__cexpl): Likewise.
37545 * math/s_csinl.c (__csinl): Likewise.
37546 * math/s_csinhl.c (__csinhl): Likewise.
37547 * math/s_ctanl.c (__ctanl): Likewise.
37548 * math/s_ctanhl.c (__ctanhl): Likewise.
37549
203e5603
JM
375502012-09-25 Joseph Myers <joseph@codesourcery.com>
37551
37552 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37553 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37554 (_IO_off_t): Define to __off_t, not _G_off_t.
37555 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37556 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37557 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37558 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37559 type of __dummy and __dummy2 fields.
37560 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37561 (_G_ssize_t): Likewise.
37562 (_G_off_t): Likewise.
37563 (_G_pid_t): Likewise.
37564 (_G_uid_t): Likewise.
37565 (_G_wchar_t): Likewise.
37566 (_G_wint_t): Likewise.
37567 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37568 (_G_ssize_t): Likewise.
37569 (_G_off_t): Likewise.
37570 (_G_pid_t): Likewise.
37571 (_G_uid_t): Likewise.
37572 (_G_wchar_t): Likewise.
37573 (_G_wint_t): Likewise.
37574 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37575 (_G_ssize_t): Likewise.
37576 (_G_off_t): Likewise.
37577 (_G_pid_t): Likewise.
37578 (_G_uid_t): Likewise.
37579 (_G_wchar_t): Likewise.
37580 (_G_wint_t): Likewise.
37581
9fab36eb
SP
375822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37583
37584 * malloc/arena.c: Include malloc-sysdep.h.
37585 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37586 is sufficient to shrink the heap or an unmap is needed.
37587 * sysdeps/generic/malloc-sysdep.h: New file. Define
37588 new function check_may_shrink_heap.
37589 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37590 new function check_may_shrink_heap.
37591
2b4f00d1
SP
375922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37593
37594 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37595 comments.
37596
9a9028b1
DL
375972012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37598
57c69bef
DL
37599 * catgets/test-gencat.sh: Add "set -e".
37600 * elf/tst-pathopt.sh: Likewise.
37601 * grp/tst_fgetgrent.sh: Likewise.
37602 * iconvdata/run-iconv-test.sh: Likewise.
37603 * intl/tst-gettext.sh: Likewise.
37604 * intl/tst-gettext2.sh: Likewise.
37605 * intl/tst-gettext4.sh: Likewise.
37606 * intl/tst-gettext6.sh: Likewise.
37607 * intl/tst-translit.sh: Likewise.
37608 * io/ftwtest-sh: Likewise.
37609 * libio/test-freopen.sh: Likewise.
37610 * malloc/tst-mtrace.sh: Likewise.
37611 * posix/globtest.sh: Likewise.
37612 * posix/tst-getconf.sh: Likewise.
37613 * posix/wordexp-tst.sh: Likewise.
37614 * stdio-common/tst-printf.sh: Likewise.
37615 * stdio-common/tst-unbputc.sh: Likewise.
37616 * stdlib/tst-fmtmsg.sh: Likewise.
37617 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37618 * catgets/Makefile: Do not specify -e option when running
37619 testsuite shell scripts.
37620 * elf/Makefile: Likewise.
37621 * grp/Makefile: Likewise.
37622 * iconvdata/Makefile: Likewise.
37623 * intl/Makefile: Likewise.
37624 * io/Makefile: Likewise.
37625 * libio/Makefile: Likewise.
37626 * malloc/Makefile: Likewise.
37627 * posix/Makefile: Likewise.
37628 * stdio-common/Makefile: Likewise.
37629 * stdlib/Makefile: Likewise.
37630 * sysdeps/x86_64/Makefile: Likewise.
37631
9a9028b1
DL
37632 * io/ftwtest-sh: Add copyright header.
37633 * posix/globtest.sh: Likewise.
37634 * posix/tst-getconf.sh: Likewise.
37635 * posix/wordexp-tst.sh: Likewise.
37636 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37637
ced6f16e
L
376382012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37639
94b32c39
L
37640 [BZ #13679]
37641 * Makeconfig (+link): Defined as $(+link-static) if
37642 $(build-shared) isn't yes.
37643 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37644 isn't yes.
37645 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37646
189e935b
L
37647 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37648
ced6f16e
L
37649 [BZ #14562]
37650 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37651 new chunk size with MALLOC_ALIGN_MASK.
37652
a9f8e53a
JM
376532012-09-24 Joseph Myers <joseph@codesourcery.com>
37654
37655 [BZ #5044]
37656 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37657 <rounding-mode.h>.
37658 (__printf_fphex): Determine rounding using get_rounding_mode and
37659 round_away.
37660 * stdio-common/tst-printf-round.c (struct hex_test): New
37661 structure.
37662 (hex_tests): New variable.
37663 (test_hex_in_one_mode): New function.
37664 (do_test): Also run tests for hex float output.
37665
43153109
JM
376662012-09-21 Joseph Myers <joseph@codesourcery.com>
37667
37668 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37669 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37670 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37671 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37672 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37673 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37674 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37675 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37676
8a26625d
JM
376772012-09-20 Joseph Myers <joseph@codesourcery.com>
37678
37679 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37680 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37681 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37682 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37683
f3fd569c
DL
376842012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37685
37686 [BZ #14579]
37687 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37688 mode only.
37689 * elf/tst-rtld-load-self.sh: New test.
37690 * elf/Makefile: Run it.
37691
63bbedd4
JM
376922012-09-18 Joseph Myers <joseph@codesourcery.com>
37693
37694 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37695 (tst-writev-ENV): Remove.
37696 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37697
626f8b6a
CM
376982012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37699
37700 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37701
b7aaa4d6
JM
377022012-09-17 Joseph Myers <joseph@codesourcery.com>
37703
37704 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37705 unconditional.
37706 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37707 Likewise.
37708 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37709 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37710 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37711 Likewise.
37712
65513990
L
377132012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37714
37715 [BZ #14587]
37716 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37717 * config.make.in (have-cpp-asm-debuginfo): Removed.
37718 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37719 * configure: Regenerated.
37720
784761be
JM
377212012-09-14 Joseph Myers <joseph@codesourcery.com>
37722
37723 [BZ #5044]
37724 * stdio-common/printf_fp.c: Include <stdbool.h> and
37725 <rounding-mode.h>.
37726 (___printf_fp): Determine rounding using get_rounding_mode and
37727 round_away.
37728 * stdio-common/tst-printf-round.c: New file.
37729 * stdio-common/Makefile (tests): Add tst-printf-round.
37730 (link-libm): New variable.
37731 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37732
9503345f
L
377332012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37734
37735 [BZ #14576]
37736 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37737 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37738 Likewise.
37739 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37740 Likewise.
37741
ad35fc00
JM
377422012-09-13 Joseph Myers <joseph@codesourcery.com>
37743
37744 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37745 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37746 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37747 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37748
6c9b0f68
JM
377492012-09-12 Joseph Myers <joseph@codesourcery.com>
37750
37751 [BZ #14518]
37752 * include/rounding-mode.h: New file.
37753 * sysdeps/generic/get-rounding-mode.h: Likewise.
37754 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37755 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37756 (MAX_VALUE): New macro.
37757 (MIN_VALUE): Likewise.
37758 (overflow_value): New function.
37759 (underflow_value): Likewise.
37760 (round_and_return): Use overflow_value and underflow_value to
37761 determine return values in overflow and underflow cases. Use
37762 round_away to determine rounding depending on rounding mode.
37763 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37764 determine return values in overflow and underflow cases.
37765 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37766 (struct test_results): New structure.
37767 (struct test): Use struct test_results to store expected results
37768 for all rounding modes.
37769 (TEST): Include expected results for all rounding modes.
37770 (test_in_one_mode): New function.
37771 (do_test): Use test_in_one_mode to compute and check results.
37772 Check results for all rounding modes.
37773 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37774 $(link-libm).
37775
19fcedd5
AM
377762012-12-09 Allan McRae <allan@archlinux.org>
37777
1e9d84cd 37778 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37779
8bbfd2f1
JM
377802012-09-11 Joseph Myers <joseph@codesourcery.com>
37781
37782 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37783 (_G_int32_t): Likewise.
37784 (_G_uint16_t): Likewise.
37785 (_G_uint32_t): Likewise.
37786 (_G_HAVE_BOOL): Likewise.
37787 (_G_HAVE_ATEXIT): Likewise.
37788 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37789 (_G_HAVE_IO_FILE_OPEN): Likewise.
37790 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37791 (_G_int32_t): Likewise.
37792 (_G_uint16_t): Likewise.
37793 (_G_uint32_t): Likewise.
37794 (_G_HAVE_BOOL): Likewise.
37795 (_G_HAVE_ATEXIT): Likewise.
37796 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37797 (_G_HAVE_IO_FILE_OPEN): Likewise.
37798 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37799 (_G_int32_t): Likewise.
37800 (_G_uint16_t): Likewise.
37801 (_G_uint32_t): Likewise.
37802 (_G_HAVE_BOOL): Likewise.
37803 (_G_HAVE_ATEXIT): Likewise.
37804 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37805 (_G_HAVE_IO_FILE_OPEN): Likewise.
37806
b1dc5912
L
378072012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37808
37809 * csu/libc-tls.c: Update copyright years.
37810
0e886ef9
JM
378112012-09-10 Joseph Myers <joseph@codesourcery.com>
37812
28361c5e
JM
37813 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37814 [!_G_USING_THUNKS]: Remove conditional code.
37815 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37816 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37817
0e886ef9
JM
37818 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37819 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37820 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37821 (_G_VTABLE_LABEL_PREFIX): Likewise.
37822 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37823 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37824 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37825 (_G_VTABLE_LABEL_PREFIX): Likewise.
37826 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37827 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37828 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37829 (_G_VTABLE_LABEL_PREFIX): Likewise.
37830 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37831
bcba7aa2
L
378322012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37833
37834 * libio/Makefile: Include ../Makeconfig before tests.
37835 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37836 only if $(build-shared) is yes.
37837
06585ee8
L
37838 * iconv/gconv_db.c: Update copyright years.
37839
80ccd52c
LD
378402012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37841
37842 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37843 unwind info if defined PIC. Fix special cases description.
37844 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37845
37846 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37847 DP_HI_MASK entry.
37848 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37849
691bc9c1
L
378502012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37851
3d9b46b3
L
37852 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37853
de2139a9
L
37854 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37855 is NULL.
37856
5ca78dd0
L
37857 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37858 (LDLIBS-tst-chk4): This.
37859 (LDFLAGS-tst-chk5): Renamed to ...
37860 (LDLIBS-tst-chk5): This.
37861 (LDFLAGS-tst-chk6): Renamed to ...
37862 (LDLIBS-tst-chk6): This.
37863 (LDFLAGS-tst-lfschk4): Renamed to ...
37864 (LDLIBS-tst-lfschk4): This.
37865 (LDFLAGS-tst-lfschk5): Renamed to ...
37866 (LDLIBS-tst-lfschk5): This.
37867 (LDFLAGS-tst-lfschk6): Renamed to ...
37868 (LDLIBS-tst-lfschk6): This.
37869
691bc9c1
L
37870 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37871 on $(common-objpfx)soversions.mk.
37872
65cafb1c
JM
378732012-09-07 Joseph Myers <joseph@codesourcery.com>
37874
37875 [BZ #10014]
37876 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37877 example host name.
37878
c78ab094
SP
378792012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37880
37881 * malloc/arena.c (arena_get_retry): New function that gets
37882 another arena for the caller to try its request on.
37883 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37884 current arena cannot fulfill the request.
37885 (__libc_memalign): Likewise.
37886 (__libc_memalign): Likewise.
37887 (__libc_pvalloc): Likewise.
37888 (__libc_calloc): Likewise.
37889
01f49f59
JT
378902012-09-05 John Tobey <john.tobey@gmail.com>
37891
37892 [BZ #13542]
37893 * manual/arith.texi (Operations on Complex): Fix description
37894 of carg branch cut.
37895
4c23fed5
JM
378962012-09-06 Joseph Myers <joseph@codesourcery.com>
37897
1d3c8572
JM
37898 [BZ #10014]
37899 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37900 host name.
37901
4c23fed5
JM
37902 [BZ #10038]
37903 * manual/memory.texi (Memory): Make order of menu items match
37904 order of sections.
37905
04570aaa
L
379062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37907
37908 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37909 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37910 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37911
b80af2f4
L
379122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37913
37914 * csu/libc-tls.c (static_dtv): Renamed to ...
37915 (_dl_static_dtv): This. Make it global.
37916 (_dl_initial_dtv): Removed.
37917 (__libc_setup_tls): Updated.
37918 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37919 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37920 DL_INITIAL_DTV.
37921
2abe9f15
PM
379222012-09-06 Petr Machata <pmachata@redhat.com>
37923
37924 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37925 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37926 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37927 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37928
0948c3af
L
379292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37930
37931 [BZ #14545]
37932 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37933 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37934 freeing dtv[-1].
37935
a5055ad1
L
379362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 [BZ #14544]
37939 * Makeconfig (link-static-before-libc): Replace $(+prector)
37940 with $(+prectorT).
37941 (link-static-after-libc): Replace $(+postctor) with
37942 $(+postctorT).
37943 (link-bounded): Replace $(+prector)/$(+postctor) with
37944 $(+prectorT)/$(+postctorT).
37945 (+prectorT): New macro.
37946 (+postctorT): Likewise.
37947
ed8c2ecd
JM
379482012-09-06 Joseph Myers <joseph@codesourcery.com>
37949
37950 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37951 (round_str): Handle values above the maximum for IBM long double
37952 as inexact.
37953 * stdlib/tst-strtod-round.c (tests): Regenerated.
37954
14c996c8
AK
379552012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37956
37957 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37958 assembler flag.
37959 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37960 zarch_nohighgprs around the zarch optimized routines.
37961 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37962 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37964 for zarch.
37965
430d6ce6
DM
379662012-09-05 David S. Miller <davem@davemloft.net>
37967
37968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37969
57f41c40
AS
37970 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37971 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37972 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37973 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37974 entries.
37975
24d4e01b
AO
379762012-09-05 Alexandre Oliva <aoliva@redhat.com>
37977
37978 * malloc/arena.c: Fold copyright years.
37979 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37980
61d58174
AO
379812012-09-05 Alexandre Oliva <aoliva@redhat.com>
37982
37983 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37984
20196a5e
AO
379852012-09-05 Alexandre Oliva <aoliva@redhat.com>
37986
37987 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37988
5c447383
AO
379892012-09-05 Alexandre Oliva <aoliva@redhat.com>
37990
37991 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37992 change internal state upon failure.
37993
fad64255
AO
379942012-09-05 Alexandre Oliva <aoliva@redhat.com>
37995
37996 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37997 * malloc/memusage.c (mmap): Likewise.
37998 (mmap64, mremap): Likewise. Adjust name in comment.
37999
1ffb8c90
SP
380002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38001
38002 * libio/fileops.c: Fix typos in comments.
38003 * libio/oldfileops.c: Likewise.
38004 * libio/wfileops.c: Likewise.
38005
6ef9cc37
SP
380062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38007
38008 [BZ #1349]
38009 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38010 (tst-malloc-usable-ENV): Set environment for test case.
38011 * malloc/hooks.c (malloc_check_get_size): New function to get
38012 requested size.
38013 * malloc/malloc.c (musable): Use malloc_check_get_size.
38014 * malloc/tst-malloc-usable.c: New test case.
38015
4d038ae3
AS
380162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38017
38018 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38019
c4e85184
AM
380202012-09-05 Allan McRae <allan@archlinux.org>
38021
b9dafc56 38022 [BZ #13966]
c4e85184
AM
38023 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38024 determine header location.
38025 * configure: Regenerated.
38026
e1343020
AS
380272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38028
38029 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38030 float format.
38031 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38032 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38033 format.
e1343020
AS
38034 (test): Regenerate.
38035
0a9f1987
DM
380362012-09-04 David S. Miller <davem@davemloft.net>
38037
38038 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38039 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38041
29237804
FW
380422012-09-04 Florian Weimer <fweimer@redhat.com>
38043
38044 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38045 failures.
38046
edb3cb88
FW
38047 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38048
60160d83
JM
380492012-09-04 Joseph Myers <joseph@codesourcery.com>
38050
38051 [BZ #9914]
38052 * libio/iogetdelim.c: Include <limits.h>.
38053 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38054 + len + 1 would overflow.
38055
bcd6c8dc
AJ
380562012-09-03 Andreas Jaeger <aj@suse.de>
38057
38058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38059 * sysdeps/i386/fpu/libm-test-ulps: Update.
38060
4ffffbd2
LD
380612012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38062
38063 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38064 Add s_sinf-sse2, s_conf-sse2.
38065
38066 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38067 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38068 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38069 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38070
38071 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38072 for using routine as __sinf_ia32.
38073 Use macro for function declaration and weak_alias.
38074 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38075 for using routine as __cosf_ia32.
38076 Use macro for function declaration and weak_alias.
38077
38078 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38079 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38080
38081 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38082 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38084
38085 * math/libm-test.inc (cos_test): Add more test cases.
38086 (sin_test): Likewise.
38087 (sincos_test): Likewise.
38088
511fa286
AK
380892012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38090
38091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38092 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38093 hidden.
38094 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38095
5f30cfec
L
380962012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38097
38098 [BZ #14538]
38099 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38100 first element of the GOT.
38101 (elf_machine_load_address): Return the difference between
38102 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38103
0786794f
AM
381042012-09-01 Allan McRae <allan@archlinux.org>
38105
5f30cfec
L
38106 [BZ #13412]
38107 * configure.in (AWK): Require gawk version 3.0 or later.
38108 * configure: Regenerated.
0786794f 38109
26889eac
JM
381102012-09-01 Joseph Myers <joseph@codesourcery.com>
38111
38112 * sysdeps/unix/sysv/linux/kernel-features.h
38113 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38115 [__NR_clock_getres]: Make code unconditional.
38116 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38117 (clock_getcpuclockid): Remove code left unreachable by removal of
38118 conditionals.
38119 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38120 code unconditional.
38121 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38123 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38124 Make code unconditional.
38125 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38126 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/clock_settime.c
38128 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38129 conditional code.
38130 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38131 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38132
d22e28b0
L
381332012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38134
38135 [BZ #14476]
38136 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38137 scripts/test-installation.pl.
38138
38139 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38140 and $ld_so_version if it is set.
38141
050af9c4
SP
381422012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38143
38144 [BZ #14516]
38145 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38146 failure if reading from procfs failed.
38147 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38148
ad845c0b
JM
381492012-08-27 Joseph Myers <joseph@codesourcery.com>
38150
38151 * sysdeps/unix/sysv/linux/kernel-features.h
38152 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38153 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38154 Remove conditional code.
38155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38156 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38157 Remove conditional code.
38158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38159 * sysdeps/unix/sysv/linux/i386/fxstat.c
38160 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38162 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38165 * sysdeps/unix/sysv/linux/i386/lxstat.c
38166 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38168 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38169 Remove conditional code.
38170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38171 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38172 Remove conditional code.
38173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38175 <kernel-features.h>.
38176 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38177 Remove.
38178 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38179 Remove conditional code.
38180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38181 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38182 Remove conditional.
38183
5dbf56af
MF
381842012-08-27 Mike Frysinger <vapier@gentoo.org>
38185
38186 [BZ #5400]
38187 * NEWS: Add fixed bug number.
38188
d6e70f43
JM
381892012-08-27 Joseph Myers <joseph@codesourcery.com>
38190
7efb4737
JM
38191 [BZ #14519]
38192 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38193 underflowing exponent in case of negative sign.
38194 * stdlib/tst-strtod-round-data: Add more tests.
38195 * stdlib/tst-strtod-round.c (tests): Regenerated.
38196
af92131a
JM
38197 [BZ #3479]
38198 * stdlib/strtod_l.c (NDIG): Remove.
38199 (HEXNDIG): Likewise.
38200 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38201 smallest representable value.
38202 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38203 lie within an exact representation of 1/2 ulp of the result.
38204 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38205 unconditionally.
38206 (TENS_P9_IDX): Define unconditionally.
38207 (TENS_P9_SIZE): Likewise.
38208 (TENS_P10_IDX): Likewise.
38209 (TENS_P10_SIZE): Likewise.
38210 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38211 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38212 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38213 entries for 10^2^13 and 10^2^14.
38214 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38215 (TENS_P13_IDX): Define.
38216 (TENS_P13_SIZE): Likewise.
38217 (TENS_P14_IDX): Likewise.
38218 (TENS_P14_SIZE): Likewise.
38219 (_fpioconst_pow10): Change array size to
38220 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38221 unconditional.
38222 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38223 1024]: Add entries for 10^2^13 and 10^2^14.
38224 [LAST_POW10 > _LAST_POW10]: Remove #error.
38225 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38226 (_fpioconst_pow10): Change array size to
38227 FPIOCONST_POW10_ARRAY_SIZE.
38228 * stdlib/gen-fpioconst.c: New file.
38229 * stdlib/gen-tst-strtod-round.c: Likewise.
38230 * stdlib/tst-strtod-round-data: Likewise.
38231 * stdlib/tst-strtod-round.c: Likewise.
38232 * stdlib/Makefile (tests): Add tst-strtod-round.
38233
d6e70f43
JM
38234 [BZ #14459]
38235 * stdlib/strtod_l.c: Include <stdint.h>.
38236 (NDEBUG): Do not define.
38237 (round_and_return): Change EXPONENT parameter to type intmax_t.
38238 Rearrange calculations to avoid internal overflow possibilities.
38239 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38240 Rearrange calculations to avoid internal overflow possibilities.
38241 Assert that number fits inside MPNSIZE limbs.
38242 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38243 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38244 calculations and add assertions to avoid internal overflow
38245 possibilities. Add casts to avoid signed/unsigned operations.
38246 * stdlib/tst-strtod-overflow.c: New file.
38247 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38248
1f529f7d
MP
382492012-08-25 Marek Polacek <polacek@redhat.com>
38250
38251 * time/time.h: Fix some typos in comments.
38252
59a629f1
RM
382532012-08-23 Roland McGrath <roland@hack.frob.com>
38254
38255 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38256 * posix/tst-rfc3484-2.c: Likewise.
38257 * posix/tst-rfc3484-3.c: Likewise.
38258
d3bafbc9
SM
382592012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38260
38261 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38262 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38263
4efcc022
JM
382642012-08-23 Joseph Myers <joseph@codesourcery.com>
38265
38266 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38267 #include of fxstatat64.c.
38268
3cc3ef96
RM
382692012-08-22 Roland McGrath <roland@hack.frob.com>
38270
f04e2132
RM
38271 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38272 * shadow/getspent_r.c: Likewise.
38273 * shadow/getspnam.c: Likewise.
38274 * shadow/getspnam_r.c: Likewise.
38275 * gshadow/getsgent.c: Likewise.
38276 * gshadow/getsgent_r.c: Likewise.
38277 * gshadow/getsgnam.c: Likewise.
38278 * gshadow/getsgnam_r.c: Likewise.
38279 * inet/getnetbyad.c: Likewise.
38280 * inet/getnetbyad_r.c: Likewise.
38281 * inet/getnetbynm.c: Likewise.
38282 * inet/getnetbynm_r.c: Likewise.
38283 * inet/getnetent.c: Likewise.
38284 * inet/getnetent_r.c: Likewise.
38285 * inet/getproto.c: Likewise.
38286 * inet/getproto_r.c: Likewise.
38287 * inet/getprtent.c: Likewise.
38288 * inet/getprtent_r.c: Likewise.
38289 * inet/getprtname.c: Likewise.
38290 * inet/getprtname_r.c: Likewise.
38291 * inet/getrpcbyname.c: Likewise.
38292 * inet/getrpcbyname_r.c: Likewise.
38293 * inet/getrpcbynumber.c: Likewise.
38294 * inet/getrpcbynumber_r.c: Likewise.
38295 * inet/getrpcent.c: Likewise.
38296 * inet/getrpcent_r.c: Likewise.
38297 * inet/getaliasent.c: Likewise.
38298 * inet/getaliasent_r.c: Likewise.
38299 * inet/getaliasname.c: Likewise.
38300 * inet/getaliasname_r.c: Likewise.
38301 * nscd/getgrgid_r.c: Likewise.
38302 * nscd/getgrnam_r.c: Likewise.
38303 * nscd/gethstbyad_r.c: Likewise.
38304 * nscd/gethstbynm3_r.c: Likewise.
38305 * nscd/getpwnam_r.c: Likewise.
38306 * nscd/getpwuid_r.c: Likewise.
38307 * nscd/getsrvbynm_r.c: Likewise.
38308 * nscd/getsrvbypt_r.c: Likewise.
38309 * nscd/gai.c: Likewise.
38310
c53d909c
RM
38311 * configure.in (build_nscd): New substituted variable, set
38312 by --disable-build-nscd and defaults to $use_nscd.
38313 * configure: Regenerated.
38314 * config.make.in (build-nscd): New substituted variable.
38315 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38316 Change conditional to require [$(build-nscd) = yes] as well.
38317 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38318
3cc3ef96
RM
38319 [BZ# 13696]
38320 * configure.in (use_nscd): New substituted variable, set by
38321 --disable-nscd. If enabled, define USE_NSCD.
38322 * configure: Regenerated.
38323 * config.h.in: Add USE_NSCD.
38324 * config.make.in (use-nscd): New substituted variable.
38325 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38326 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38327 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38328 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38329 (CFLAGS-getgrnam_r.c): Likewise.
38330 (CFLAGS-initgroups.c): Likewise.
38331 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38332 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38333 Variables removed.
38334 * inet/getnetgrent_r.c
38335 (nscd_setnetgrent): New function, broken out of ...
38336 (setnetgrent): ... here. Call it.
38337 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38338 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38339 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38340 * nscd/Makefile (routines, aux): Move definitions after include of
38341 Makeconfig. Conditionalize on [$(use-nscd) != no].
38342 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38343 Conditionalize on [USE_NSCD].
38344 (is_nscd, nscd_init_cb): Likewise.
38345 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38346 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38347 * nss/nss_db/db-init.c: Likewise.
38348 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38349 [USE_NSCD].
38350 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38351 (make_request): Use it.
38352 (cache_valid_p): New function.
38353 (__check_pf): Use it.
38354 * NEWS: Add item for --disable-nscd.
38355
07e51550
DL
383562012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38357
38358 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38359 to support sed >= 4.2.1-20-ga9bf076.
38360 * configure: Regenerated.
38361
35a5b08b
RM
383622012-08-22 Roland McGrath <roland@hack.frob.com>
38363
38364 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38365 Conditionalize whole body on [IREL].
38366
8479f23a
JL
383672012-08-22 Jeff Law <law@redhat.com>
38368
38369 [BZ #14505]
38370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38371 if the family is PF_UNSPEC.
38372
48da0b21
MF
383732012-08-22 Mike Frysinger <vapier@gentoo.org>
38374
38375 * Makerules (lib-version): Rename from V.
38376 (install-lib-nosubdir): Change V to lib-version.
38377
15d0da8c
WS
383782012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38379
38380 [BZ #14252]
38381 * powerpc32/power6/wcschr.c: New file.
38382 * powerpc32/power6/wcscpy.c: New file.
38383 * powerpc32/power6/wcsrchr.c: New file.
38384 * powerpc64/power6/wcschr.c: New file.
38385 * powerpc64/power6/wcscpy.c: New file.
38386 * powerpc64/power6/wcsrchr.c: New file.
38387
bcca0895
MK
383882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38389
38390 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38391 (two_way_short_needle): Use it.
5a4aaa33
RM
38392 * string/strstr.c (AVAILABLE1_USES_J): Define.
38393 * string/strcasestr.c: Likewise.
99677e57
MK
38394
38395 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38396 array references.
38397 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38398
400726de
MK
38399 [BZ #11607]
38400 * NEWS: Add an entry.
38401 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38402 define their defaults.
38403 (two_way_short_needle): Detect end-of-string on-the-fly.
38404 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38405 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38406 * string/bug-strcasestr1.c: New test.
38407 * string/Makefile: Run it.
38408
20a71f2c
MK
384092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38410
38411 [BZ #11607]
38412 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38413 the first character.
38414
21ad0558
RM
384152012-08-21 Roland McGrath <roland@hack.frob.com>
38416
38417 * csu/elf-init.c (__libc_csu_irel): Function removed.
38418 * csu/libc-start.c (apply_irel): New function.
38419 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38420
0e1d9911
JM
384212012-08-21 Joseph Myers <joseph@codesourcery.com>
38422
38423 * sysdeps/unix/sysv/linux/kernel-features.h
38424 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38425 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38426 <kernel-features.h>.
38427 [__NR_fadvise64_64]: Make code unconditional.
38428 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38429 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38430 !__NR_fadvise64_64)]: Likewise.
38431 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38432 !__NR_fadvise64_64))]: Likewise.
38433 [__NR_fadvise64]: Make code unconditional.
38434 [!__NR_fadvise64]: Remove conditional code.
38435 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38436 <kernel-features.h>.
38437 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38438 unconditional.
38439 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38440 conditional code.
38441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38442 not include <kernel-features.h>.
38443 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38444 unconditional.
38445 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38446 conditional code.
38447 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38448 include <kernel-features.h>.
38449 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38450 unconditional.
38451 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38452 conditional code.
38453
14a50c9d
WS
384542012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38455
38456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38457 slight instruction rearrangements per scrollpipe analysis.
38458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38459
c0f4faf0
RM
384602012-08-20 Roland McGrath <roland@hack.frob.com>
38461
696da859
RM
38462 * manual/syslog.texi (syslog; vsyslog, closelog):
38463 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38464 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38465
c0f4faf0
RM
38466 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38467 DSOCAPS to match condition on defining it.
38468
348363b2
JM
384692012-08-20 Joseph Myers <joseph@codesourcery.com>
38470
a35cbf28
JM
38471 * sysdeps/unix/sysv/linux/kernel-features.h
38472 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38474 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38475 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38480 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38481 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38482
445f7ecd
JM
38483 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38484 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38485
348363b2
JM
38486 * sysdeps/unix/sysv/linux/kernel-features.h
38487 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38488 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38489 unconditional.
38490 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38491 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38492 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38493 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38494 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38495 Make code unconditional.
38496 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38497 (__mmap64) [!__NR_mmap2]: Likewise.
38498 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38499 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38500 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38501 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38502 [__NR_mmap2]: Make code unconditional.
38503 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38504 (__mmap64) [!__NR_mmap2]: Likewise.
38505
bc5bc0e5
AK
385062012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38507
38508 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38509
88d506de
AJ
385102012-08-18 Andreas Jaeger <aj@suse.de>
38511
38512 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38513
493387d2
MF
385142012-08-18 Mike Frysinger <vapier@gentoo.org>
38515
38516 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38517 * include/unistd.h (__have_sock_cloexec): Likewise.
38518 (__have_pipe2): Likewise.
38519 (__have_dup3): Likewise.
38520
a277af22
MF
385212012-08-18 Mike Frysinger <vapier@gentoo.org>
38522
38523 [BZ #9685]
38524 * include/unistd.h (__have_pipe2): Change define into an extern int.
38525 (__have_dup3): Likewise.
38526 * socket/have_sock_cloexec.c: Include fcntl.h.
38527 (__have_pipe2): New variable.
38528 (__have_dup3): Likewise.
38529
fdab8fd3
MF
385302012-08-17 Mike Frysinger <vapier@gentoo.org>
38531
38532 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38533
31035e80
MP
385342012-08-17 Marek Polacek <polacek@redhat.com>
38535
38536 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38537 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38538
3bd9e993
RM
385392012-08-17 Roland McGrath <roland@hack.frob.com>
38540
c91c505f
RM
38541 * configure.in: Add AC_SUBST for sysheaders.
38542 * configure: Regenerated.
38543 * config.make.in (sysheaders): New substituted variable.
38544
7c6f9d53
RM
38545 * sysdeps/unix/mkfifo.c: Moved ...
38546 * sysdeps/posix/mkfifo.c: ... here.
38547 * sysdeps/unix/mkfifoat.c: Moved ...
38548 * sysdeps/posix/mkfifoat.c: ... here.
38549
38550 * sysdeps/unix/utime.c: Moved ...
38551 * sysdeps/posix/utime.c: ... here.
38552
38553 * sysdeps/unix/time.c: Moved ...
38554 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38555 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38557
38558 * sysdeps/unix/nice.c: Moved ...
38559 * sysdeps/posix/nice.c: ... here.
38560
38561 * sysdeps/unix/alarm.c: Moved ...
38562 * sysdeps/posix/alarm.c: ... here.
38563
3bd9e993
RM
38564 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38565
d1f09384
JL
385662012-08-17 Jeff Law <law@redhat.com>
38567
38568 * intl/Makefile (codeset_mo): New variable.
38569 ($(codeset_mo)): New target.
38570 (tst-codeset.out): Depend on that. Remove explicit rule.
38571 (tst-gettext3.out, tst-gettext5.out): Likewise.
38572 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38573 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38574 * intl/tst-codeset.sh: Remove.
38575 * intl/tst-gettext3.sh: Likewise.
38576 * intl/tst-gettext5.sh: Likewise.
38577
2ae1ae5c
RM
385782012-08-17 Roland McGrath <roland@hack.frob.com>
38579
c31fdb83
RM
38580 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38581 * sysdeps/unix/syscalls.list: ... here.
38582
a0844057
RM
38583 * sysdeps/posix/getaddrinfo.c
38584 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38585 (gaiconf_init, gaiconf_reload): Use them.
38586 [!_STATBUF_ST_NSEC]
38587 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38588 Define using time_t rather than struct timespec.
38589
750c1f2a
RM
38590 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38591 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38592 Macros removed.
38593 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38594 [!NO_THREADS].
38595 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38596 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38597 Likewise.
38598
2ae1ae5c
RM
38599 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38600 __libc_cleanup_push argument.
38601
e66a42f5
RM
38602 * bits/param.h: New file.
38603 * misc/sys/param.h: New file.
38604 * include/sys/param.h: New file.
38605 * misc/Makefile (headers): Add bits/param.h.
38606 * sysdeps/generic/sys/param.h: File removed.
38607 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38608 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38609 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38610 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38611
b7c08a66
RM
38612 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38613 last change.
38614
b2e1c562
RM
38615 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38616 [_IO_MTSAFE_IO].
38617 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38618 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38619 New macros.
38620
c75ccd4c
RM
38621 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38622 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38623 rather than -D_IO_MTSAFE_IO conditionally.
38624 * stdio-common/Makefile (CPPFLAGS): Likewise.
38625 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38626 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38627 Use $(libio-mtsafe).
38628 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38629 of -D_IO_MTSAFE_IO.
38630 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38631 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38632 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38633 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38634 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38635 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38636 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38637 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38638 (CFLAGS-fread_u_chk.c): Likewise.
38639 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38640 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38641 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38642 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38643 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38644 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38645 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38646 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38647 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38648
38649 * libio/Makefile: Test [$(libc-reentrant) = yes]
38650 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38651
38652 * Makeconfig
38653 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38654 * sysdeps/pthread/configure: File removed.
38655 * sysdeps/pthread/Makeconfig: New file.
38656 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38657 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38658
d9195db8
GB
386592012-08-16 Gary Benson <gbenson@redhat.com>
38660
38661 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38662 unmapping the first object in a namespace.
38663
86466cd9
RM
386642012-08-16 Roland McGrath <roland@hack.frob.com>
38665
38666 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38667 (__internal_setnetgrent): ... this. Add internal_function to
38668 definition. Add libc_hidden_def.
38669 (setnetgrent): Update caller.
38670 (internal_endnetgrent): Renamed to ...
38671 (__internal_endnetgrent): ... this. Add internal_function to
38672 definition. Add libc_hidden_def.
38673 (endnetgrent): Update caller.
38674 (internal_getnetgrent_r): Renamed to ...
38675 (__internal_getnetgrent_r): ... this. Add internal_function to
38676 definition. Add libc_hidden_def.
38677 (__getnetgrent_r): Update caller.
38678 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38679
c3c8283c
JM
386802012-08-16 Joseph Myers <joseph@codesourcery.com>
38681
38682 * stdlib/longlong.h: Update from GCC.
38683
db1ee0a8
RM
386842012-08-16 Roland McGrath <roland@hack.frob.com>
38685
38686 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38687 on _QL, which is set by umul_ppmm but never used.
38688 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38689 variables, which are set by GMP macros but never used.
38690 * stdio-common/_itowa.c (_itowa): Likewise.
38691 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38692 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38693
30f69637
CD
386942012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38695
38696 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38697 struct La_sh_regs is not constant.
38698 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38699 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38700 and struct La_sparc64_regs are not constant.
38701
93a78ac4
JM
387022012-08-16 Joseph Myers <joseph@codesourcery.com>
38703
38704 * sysdeps/unix/sysv/linux/kernel-features.h
38705 (__ASSUME_POSIX_TIMERS): Remove.
38706 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38708 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38709 Make code unconditional.
38710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38711 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38712 Make code unconditional.
38713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38714 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38715 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38717 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38718 Make code unconditional.
38719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38720 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38721 (__libc_missing_posix_timers): Remove.
38722
dd924cd7
RM
387232012-08-15 Roland McGrath <roland@hack.frob.com>
38724
4b4f2771
RM
38725 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38726 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38727
601c888b
RM
38728 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38729
176790a7
RM
38730 * elf/dl-sym.c: Include <stdlib.h>.
38731
329bc018
RM
38732 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38733 constants, which avoids warnings in 32-bit builds.
38734
e04e272d
RM
38735 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38736 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38737
952bf94a
RM
38738 * misc/lseek.c: File moved to ...
38739 * io/lseek.c: ... here.
38740
7c99b50a
RM
38741 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38742
dd924cd7
RM
38743 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38744 shifting LEN more than 31 bits at once.
38745
b3f479a8
LD
387462012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38747
38748 [BZ #14195]
8c4ae0d4
RM
38749 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38750 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38751 * string/test-strncasecmp.c (check1): Renamed to...
38752 (bz12205): ...this.
38753 (bz14195): Add new testcase for two empty input strings and N > 0.
38754 (test_main): Call new testcase, adapt for renamed function.
38755
9c55864e
AJ
387562012-08-15 Andreas Jaeger <aj@suse.de>
38757
38758 [BZ #14090]
38759 * crypt/md5test2.c: New test, based on test supplied by Serge
38760 Belyshev <belyshev@depni.sinp.msu.ru>.
38761 * crypt/Makefile (xtests): Add md5test-giant..
38762 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38763
02dcb6c5
PE
387642012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38765
38766 [BZ #14090]
38767 * crypt/md5.c (md5_process_block): Don't assume the buffer
38768 length is less than 2**32.
38769 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38770 length is less than 2**64.
38771
a3f95dcc
RM
387722012-08-15 Roland McGrath <roland@hack.frob.com>
38773
be75d758
RM
38774 * string/str-two-way.h: Include <sys/param.h>.
38775 (MAX): Macro removed.
38776
7312ca90
RM
38777 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38778 Move #define and #undef of memmove to just before and after
38779 including <string.h>.
38780
9a0a5486
RM
38781 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38782 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38783 and after including <string.h>. Move declarations of
38784 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38785 to before #include "string/memmove.c".
38786
67cc348d
RM
38787 * include/dirent.h: Declare __getdirentries.
38788
a3f95dcc
RM
38789 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38790 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38791
ca98e171
MF
387922012-08-14 Mike Frysinger <vapier@gentoo.org>
38793
38794 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38795 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38796 * sysdeps/i386/configure: Regenerated.
38797 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38798 STABS_CURRENT_FILE, and STABS_FUN.
38799 (END): Remove call to STABS_FUN_END.
38800 (STABS_CURRENT_FILE1): Delete.
38801 (STABS_CURRENT_FILE): Likewise.
38802 (STABS_FUN): Likewise.
38803 (STABS_FUN_END): Likewise.
38804 (STABS_FUN2): Likewise.
38805 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38806 * sysdeps/x86_64/configure: Regenerated.
38807
5908bf46
RM
388082012-08-14 Roland McGrath <roland@hack.frob.com>
38809
38810 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38811 * elf/dl-lookup.c: Likewise.
5908bf46 38812
f2c05b9e
JM
388132012-08-14 Joseph Myers <joseph@codesourcery.com>
38814
38815 * sysdeps/unix/sysv/linux/kernel-features.h
38816 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38817 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38818 unconditionally.
38819 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38820 unconditionally.
38821 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38822 condition on __ASSUME_CLONE_THREAD_FLAGS.
38823
e11f5155
AJ
388242012-08-14 Andreas Jaeger <aj@suse.de>
38825
38826 * sysdeps/i386/fpu/libm-test-ulps: Update.
38827
51a9ba86
MK
388282012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38829
2fdd4f78
AJ
38830 * include/atomic.h (atomic_exchange_and_add): Split into ...
38831 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38832 New atomic macros.
51a9ba86 38833
ba6cba9e
MT
388342012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38835
38836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38837
42443a47
JL
388382012-08-13 Jeff Law <law@redhat.com>
38839
38840 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38841 null byte in the output string.
38842
121dce05
JM
388432012-08-10 Joseph Myers <joseph@codesourcery.com>
38844
38845 * sysdeps/unix/sysv/linux/kernel-features.h
38846 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38847 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38848 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38850 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38851 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38852 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38853
bf51f568
JL
388542012-08-09 Jeff Law <law@redhat.com>
38855
38856 [BZ #13939]
38857 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38858 When avoid_arena is set, don't retry in the that arena. Pick the
38859 next one, whatever it might be.
38860 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38861 (arena_lock): Pass in new parameter to arena_get2.
38862 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38863 arena_get2.
38864 (__libc_malloc): Unify retrying after main arena failure with
38865 __libc_memalign version.
38866 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38867
f85fa270
L
388682012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38869
38870 [BZ #14166]
38871 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38872 to __redirect_strstr.
38873 (__strstr_sse42): Use typeof __redirect_strstr.
38874 (__strstr_ia32): Likewise.
38875 (__libc_strstr): New prototype.
38876 (strstr): Renamed to ...
38877 (__libc_strstr): This.
38878 (strstr): New strong alias of __libc_strstr.
38879 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38880 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38881 __redirect_time.
38882 Include <time.h>.
38883 (__libc_time): New prototype.
38884 (time_ifunc): Replace time with __libc_time.
38885 (time): New strong alias and hidden definition of __libc_time.
38886 (__GI_time): Remove strong alias.
38887 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38888 Include <stddef.h>.
38889 (memmove): Redefined to __redirect_memmove.
38890 (__memmove_sse2): Use typeof __redirect_memmove.
38891 (__memmove_ssse3): Likewise.
38892 (__memmove_ssse3_back): Likewise.
38893 (__libc_memmove): New prototype.
38894 (memmove): Renamed to ...
38895 (__libc_memmove): This.
38896 (memmove): New strong alias of __libc_memmove.
38897
33b4a91e
MS
388982012-08-08 Mark Salter <msalter@redhat.com>
38899
38900 * elf/elf.h
38901 (R_MN10300_TLS_GD): Define.
38902 (R_MN10300_TLS_LD): Likewise.
38903 (R_MN10300_TLS_LDO): Likewise.
38904 (R_MN10300_TLS_GOTIE): Likewise.
38905 (R_MN10300_TLS_IE): Likewise.
38906 (R_MN10300_TLS_LE): Likewise.
38907 (R_MN10300_TLS_DTPMOD): Likewise.
38908 (R_MN10300_TLS_DTPOFF): Likewise.
38909 (R_MN10300_TLS_TPOFF): Likewise.
38910 (R_MN10300_SYM_DIFF): Likewise.
38911 (R_MN10300_ALIGN): Likewise.
38912 (R_MN10300_NUM): Update.
38913
b36137f1
JM
389142012-08-08 Joseph Myers <joseph@codesourcery.com>
38915
38916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38917 Remove.
38918
cdd915fd
RM
389192012-08-08 Roland McGrath <roland@hack.frob.com>
38920
a2433aac
RM
38921 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38922
cdd915fd
RM
38923 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38924 sysdeps/unix -> sysdeps/posix move.
38925 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38926
bf9b740a
AM
389272012-08-07 Allan McRae <allan@archlinux.org>
38928
38929 [BZ #14303]
38930 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38931 (SUNOS_CPP): Likewise.
38932 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38933 not found.
38934 (open_input): Call CPP using execvp.
38935
93df14ee
JM
389362012-08-07 Joseph Myers <joseph@codesourcery.com>
38937
38938 * sysdeps/unix/sysv/linux/kernel-features.h
38939 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38940 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38941 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38942 (__ASSUME_WAITID_SYSCALL): Likewise.
38943 * sysdeps/unix/sysv/linux/dl-execstack.c
38944 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38945 code unconditional.
38946 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38947 conditional code.
38948 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38949 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38950 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38951 code.
38952 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38953 unconditional.
38954 [__ASSUME_WAITID_SYSCALL]: Likewise.
38955 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38956
d34689de
RM
389572012-08-07 Roland McGrath <roland@hack.frob.com>
38958
a281decc
RM
38959 * sysdeps/unix/closedir.c: Renamed to ...
38960 * sysdeps/posix/closedir.c: ... here.
38961 * sysdeps/unix/dirfd.c: Renamed to ...
38962 * sysdeps/posix/dirfd.c: ... here.
38963 * sysdeps/unix/dirstream.h: Renamed to ...
38964 * sysdeps/posix/dirstream.h: ... here.
38965 * sysdeps/unix/fdopendir.c: Renamed to ...
38966 * sysdeps/posix/fdopendir.c: ... here.
38967 * sysdeps/unix/opendir.c: Renamed to ...
38968 * sysdeps/posix/opendir.c: ... here.
38969 * sysdeps/unix/readdir.c: Renamed to ...
38970 * sysdeps/posix/readdir.c: ... here.
38971 * sysdeps/unix/readdir_r.c: Renamed to ...
38972 * sysdeps/posix/readdir_r.c: ... here.
38973 * sysdeps/unix/rewinddir.c: Renamed to ...
38974 * sysdeps/posix/rewinddir.c: ... here.
38975 * sysdeps/unix/seekdir.c: Renamed to ...
38976 * sysdeps/posix/seekdir.c: ... here.
38977 * sysdeps/unix/telldir.c: Renamed to ...
38978 * sysdeps/posix/telldir.c: ... here.
38979 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38980 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38981 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38982 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38983
22895b47
RM
38984 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38985 * bits/fcntl.h: ... here.
38986
707a53b6
RM
38987 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38988 not 0.
38989 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38990 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38991 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38992 (struct flock): Move l_start, l_len to the beginning.
38993 Use __pid_t for l_pid.
38994 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38995 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38996 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38997 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38998 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38999 [__USE_LARGEFILE64] (struct flock64): New type.
39000 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39001
f0bd3e25
RM
39002 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39003 * bits/dirent.h: ... here.
39004
d34689de
RM
39005 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39006 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39007
6dad2c06
JM
390082012-08-07 Joseph Myers <joseph@codesourcery.com>
39009
39010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39011 Change from 2.6.0 to 2.6.16.
39012 * sysdeps/unix/sysv/linux/configure: Regenerated.
39013 * sysdeps/unix/sysv/linux/kernel-features.h
39014 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39015 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39016 version.
39017 (__ASSUME_UTIMES): Likewise.
39018 (__ASSUME_CLONE_STOPPED): Remove.
39019 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39020 architectures, not kernel version.
39021 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39022 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39023 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39024 (__ASSUME_WAITID_SYSCALL): Likewise.
39025 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39026 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39027 * README: State 2.6.16 as minimum Linux kernel version. Do not
39028 refer to older versions.
39029
03af9520
RM
390302012-08-06 Roland McGrath <roland@hack.frob.com>
39031
8e49df1d
RM
39032 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39033 Define alphasort64 as an alias.
39034 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39035 Define versionsort64 as an alias.
39036 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39037 Define scandir64 as an alias.
39038 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39039 Define scandirat64 as an alias.
39040 * dirent/alphasort64.c (alphasort64):
39041 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39042 * dirent/versionsort64.c: Likewise.
39043 * dirent/scandir64.c: Likewise.
39044 * dirent/scandirat64.c: Likewise.
39045 * sysdeps/wordsize-64/alphasort.c: File removed.
39046 * sysdeps/wordsize-64/alphasort64.c: File removed.
39047 * sysdeps/wordsize-64/scandir.c: File removed.
39048 * sysdeps/wordsize-64/scandir64.c: File removed.
39049 * sysdeps/wordsize-64/scandirat.c: File removed.
39050 * sysdeps/wordsize-64/scandirat64.c: File removed.
39051 * sysdeps/wordsize-64/versionsort.c: File removed.
39052 * sysdeps/wordsize-64/versionsort64.c: File removed.
39053 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39054 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39055 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39057 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39059 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39061
39062 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39064 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39066 [defined __arch64__ || defined __sparcv9]
39067 (__INO_T_MATCHES_INO64_T): New macro.
39068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39069 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39070 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39071 * sysdeps/unix/sysv/linux/bits/dirent.h
39072 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39073 (_DIRENT_MATCHES_DIRENT64): New macro.
39074
03af9520
RM
39075 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39076 Define lockf64 as an alias.
39077 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39078 Define fseeko64 as an alias.
39079 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39080 Define ftello64 as an alias.
39081 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39082 Define _IO_fgetpos64 and fgetpos64 as aliases.
39083 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39084 Define _IO_fsetpos64 and fsetpos64 as aliases.
39085 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39086 Conditionalize body on this.
39087 * libio/fseeko64.c: Likewise.
39088 * libio/ftello64.c: Likewise.
39089 * libio/iofgetpos64.c: Likewise.
39090 * libio/iofsetpos64.c: Likewise.
39091 * sysdeps/wordsize-64/lockf.c: File removed.
39092 * sysdeps/wordsize-64/lockf64.c: File removed.
39093 * sysdeps/wordsize-64/fseeko.c: File removed.
39094 * sysdeps/wordsize-64/fseeko64.c: File removed.
39095 * sysdeps/wordsize-64/ftello.c: File removed.
39096 * sysdeps/wordsize-64/ftello64.c: File removed.
39097 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39098 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39099 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39100 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39101 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39107 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39108 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39111
39112 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39114 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39116 [defined __arch64__ || defined __sparcv9]
39117 (__OFF_T_MATCHES_OFF64_T): New macro.
39118 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39119 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39121 (__OFF_T_MATCHES_OFF64_T): New macro.
39122
c5757acd
L
391232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39124
39125 * stdlib/secure-getenv.c (__secure_getenv): Replace
39126 GLIBC_2_16 with GLIBC_2_17.
39127
3a31811e
L
391282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39129
39130 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39132
faa2bccb
DM
391332012-08-03 David S. Miller <davem@davemloft.net>
39134
39135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39136
85fe1997
JM
391372012-08-03 Joseph Myers <joseph@codesourcery.com>
39138
39139 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39140 Remove.
39141 (__ASSUME_CORRECT_SI_PID): Likewise.
39142 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39143 (__ASSUME_TMPFS_NAME): Likewise.
39144 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39145 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39146 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39147 (HAVE_AUX_SECURE): Make definition unconditional.
39148 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39149 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39150
4f75b7a0
RM
391512012-08-03 Roland McGrath <roland@hack.frob.com>
39152
39153 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39154 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39155 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39156 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39157 __eloop_threshold instead of SYMLOOP_MAX.
39158
39159 * sysdeps/generic/eloop-threshold.h: New file.
39160 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39161 of MAXSYMLINKS.
39162 * elf/chroot_canon.c (chroot_canon): Likewise.
39163
7aab07e4
JM
391642012-08-03 Joseph Myers <joseph@codesourcery.com>
39165
39166 [BZ #13717]
39167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39168 Change to 2.6.0 everywhere.
39169 * sysdeps/unix/sysv/linux/configure: Regenerated.
39170 * sysdeps/unix/sysv/linux/kernel-features.h
39171 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39172 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39173 kernel versions.
39174 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39175 (__ASSUME_FUTEX_REQUEUE): Remove.
39176 (__ASSUME_STATFS64): Define unconditionally.
39177 (__ASSUME_AT_SECURE): Likewise.
39178 (__ASSUME_CORRECT_SI_PID): Likewise.
39179 (__ASSUME_TGKILL): Define without depending on kernel version for
39180 i386.
39181 (__ASSUME_UTIMES): Likewise.
39182 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39183 kernel version.
39184 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39185 (__ASSUME_TMPFS_NAME): Likewise.
39186 * README: Update reference to Linux kernel versions.
39187
b67e9372
MP
391882012-08-02 Marek Polacek <polacek@redhat.com>
39189
1f529f7d 39190 [BZ# 14150]
b67e9372
MP
39191 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39192 libc_cv_asm_type_prefix with %.
39193 * configure: Regenerated.
d2441631
RM
39194 * include/libc-symbols.h: Remove comment about
39195 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39196 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39197 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39198 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39199 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39200 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39201 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39202 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39203 * elf/tst-unique2mod1.c: Likewise.
39204 * elf/tst-unique1mod2.c: Likewise.
39205 * elf/tst-unique1mod1.c: Likewise.
39206 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39207 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39208 Replace ASM_TYPE_DIRECTIVE with .type.
39209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39210 * sysdeps/i386/sysdep.h: Likewise.
39211 * sysdeps/x86_64/sysdep.h: Likewise.
39212 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39214 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39215 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39216 * sysdeps/powerpc/powerpc32/sysdep.h:
39217 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39218 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39219 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39220 * sysdeps/i386/fpu/e_powf.S: Likewise.
39221 * sysdeps/i386/fpu/e_expl.S: Likewise.
39222 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39223 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39224 * sysdeps/i386/fpu/e_pow.S: Likewise.
39225 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39226 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39227 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39228 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39229 * sysdeps/i386/fpu/e_log2.S: Likewise.
39230 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39231 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39232 * sysdeps/i386/fpu/e_powl.S: Likewise.
39233 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39234 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39235 * sysdeps/i386/fpu/e_logl.S: Likewise.
39236 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39237 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39238 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39241 * sysdeps/i386/fpu/e_log.S: Likewise.
39242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39243 * sysdeps/i386/fpu/e_logf.S: Likewise.
39244 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39245 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39246 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39247 * sysdeps/i386/fpu/e_log10.S: Likewise.
39248 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39249 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39250 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39251 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39252 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39254 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39255 * sysdeps/i386/i686/strtok.S: Likewise.
39256 * sysdeps/i386/i386-mcount.S: Likewise.
39257 * sysdeps/i386/strtok.S: Likewise.
39258 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39262 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39267 * sysdeps/x86_64/_mcount.S: Likewise.
39268 * sysdeps/x86_64/strtok.S: Likewise.
39269 * sysdeps/sh/_mcount.S: Likewise.
39270
2747bf9a
RM
392712012-08-01 Roland McGrath <roland@hack.frob.com>
39272
39273 * libio/iofopen.c: Include <fcntl.h>.
39274 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39275 (_IO_fopen64, fopen64): Define as aliases.
39276 * libio/iofopen64.c: Include <fcntl.h>.
39277 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39278 Conditionalize body on this.
39279 * sysdeps/wordsize-64/iofopen.c: File removed.
39280 * sysdeps/wordsize-64/iofopen64.c: File removed.
39281
3fb791b8
MP
392822012-08-01 Marek Polacek <polacek@redhat.com>
39283
39284 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39285 Use dlfcn directly instead of a variable.
39286 (binfmt-subdir): Do not define.
39287 (dlfcn): Likewise.
39288
a9f1039f
JM
392892012-08-01 Joseph Myers <joseph@codesourcery.com>
39290
23bddc06
JM
39291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39292 Remove all definitions.
39293 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39294 <kernel-features.h>.
39295 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39296 (miss_F_GETOWN_EX): Remove all definitions.
39297 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39298 macro definition.
39299 [!__ASSUME_FCNTL64]: Remove conditional code.
39300 [__ASSUME_FCNTL64]: Make code unconditional.
39301 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39302 <kernel-features.h>.
39303 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39304 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39305 (lockf64) [__NR_fcntl64]: Make code unconditional.
39306 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39307
a9f1039f
JM
39308 * sysdeps/unix/sysv/linux/kernel-features.h
39309 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39310 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39311 Make code unconditional.
39312 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39313 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39315 [__NR_vfork]: Make code unconditional.
39316 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39317 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39319 [__NR_vfork]: Make code unconditional.
39320 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39321 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39322
09c0ee5f
RM
393232012-08-01 Roland McGrath <roland@hack.frob.com>
39324
48aec5b9
RM
39325 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39326 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39327
cd97c966
RM
39328 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39329 Define mkstemp64 as an alias.
3f55550c
RM
39330 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39331 Define mkstemps64 as an alias.
cd97c966
RM
39332 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39333 Define mkostemp64 as an alias.
b8625cfc
RM
39334 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39335 Define mkostemps64 as an alias.
cd97c966
RM
39336 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39337 Conditionalize body on this.
39338 * misc/mkostemp64.c: Likewise.
b8625cfc 39339 * misc/mkostemps64.c: Likewise.
3f55550c 39340 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39341 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39342 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39343 * sysdeps/wordsize-64/mkostemp.c: File removed.
39344 * sysdeps/wordsize-64/mkstemp.c: File removed.
39345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39346 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39348 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39349
09c0ee5f
RM
39350 [BZ #14138]
39351 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39352 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39353 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39354 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39355
39356 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39357 compat_symbol macros from <shlib-compat.h> rather than the underlying
39358 default_symbol_version and symbol_version macros, so that DEFAULT
39359 lines in shlib-versions are respected.
39360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39361
7e66ee51
FW
393622012-08-01 Florian Weimer <fweimer@redhat.com>
39363
39364 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39365 Declare with warn_unused_result.
39366 (setgid, setregid, setegid, setresgid): Likewise.
39367 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39368 Likewise.
39369 * WUR-REPORT: Remove set*id functions.
39370
d2a54255
PT
393712012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39372
39373 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39374
7ecdb005
RM
393752012-07-31 Roland McGrath <roland@hack.frob.com>
39376
b4180a5e 39377 [BZ #10191]
789bd351
RM
39378 * include/sys/socket.h (__libc_accept, __libc_accept4):
39379 Add attribute_hidden.
39380 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39381
40ce302d
RM
39382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39383 use of PTR_MANGLE.
39384 * inet/getnetgrent_r.c (setup): Likewise.
39385
7ecdb005
RM
39386 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39387
e2eabb2c
DM
393882012-07-31 David S. Miller <davem@davemloft.net>
39389
39390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39391
d0419dbf
JM
393922012-07-31 Joseph Myers <joseph@codesourcery.com>
39393
39394 [BZ #13629]
39395 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39396 value between 1.0 and 2.0 and smaller part has absolute value less
39397 than 1.0.
39398 * math/s_clog10.c (__clog10): Likewise.
39399 * math/s_clog10f.c (__clog10f): Likewise.
39400 * math/s_clog10l.c (__clog10l): Likewise.
39401 * math/s_clogf.c (__clogf): Likewise.
39402 * math/s_clogl.c (__clogl): Likewise.
39403 * math/libm-test.inc (clog_test): Add more tests.
39404 (clog10_test): Likewise.
39405 * sysdeps/i386/fpu/libm-test-ulps: Update.
39406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39407
2bc13872
FW
394082012-07-31 Florian Weimer <fweimer@redhat.com>
39409
39410 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39411 Exit with zero in case no suitable GID is found, and write a
39412 message to standard error.
39413
bea9b193
RM
394142012-07-30 Roland McGrath <roland@hack.frob.com>
39415
39416 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39417 rather than to 1.
39418 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39419 (MAXPATHLEN): Removed.
39420 (NOGROUP, NODEV): New macros.
39421 (setbit, clrbit, isset, isclr): New macros.
39422 (howmany, roundup, powerof2): New macros.
39423 (DEV_BSIZE): New macro.
39424
39425 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39426 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39427
39428 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39429 definition on [!__NO_LONG_DOUBLE_MATH].
39430
39431 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39432 PTR_MANGLE and PTR_DEMANGLE.
39433
39434 * socket/accept4.c (accept4): Rename to __libc_accept4.
39435 Define accept4 as a weak alias.
39436
39437 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39438 on [_DIRENT_HAVE_D_TYPE].
39439 * io/ftw.c (ftw_dir): Likewise.
39440
39441 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39442
39443 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39444
39445 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39446 Use the BSD numbers rather than the arbitrary ones we had.
39447 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39448 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39449 (SIGXCPU, SIGXFSZ): New macros.
39450 (_NSIG): Now 32.
39451
39452 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39453 initializer on [_LIBC_REENTRANT].
39454
39455 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39456 definitions inside [_POSIX_MAPPED_FILES].
39457
39458 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39459
39460 * dirent/opendir.c: Include <fcntl.h>.
39461
39462 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39463 (__libc_getspecific): Likewise.
39464 (__libc_key_create): Likewise.
39465
39466 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39467 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39468 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39469 (tmpfile64): Define as alias.
39470 * sysdeps/wordsize-64/tmpfile.c: File removed.
39471 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39474
39475 * stdio-common/vfscanf.c: Include <stdbool.h>.
39476 * nss/makedb.c: Likewise.
39477 * stdio-common/_i18n_number.h: Likewise.
39478 * argp/argp-help.c: Likewise.
39479 * posix/wordexp.c: Likewise.
39480 * sysdeps/posix/spawni.c: Likewise.
39481 * nss/nss_files/files-initgroups.c: Likewise.
39482 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39483 * nss/nss_files/files-initgroups.c: Likewise.
39484 * nss/nss_db/db-netgrp.c: Likewise.
39485 * nss/nss_db/db-initgroups.c: Likewise.
39486 * io/fchmodat.c: Include <sys/stat.h>.
39487
39488 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39489 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39490
39491 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39492 [HAVE_MMAP].
39493
39494 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39495 Add multiple inclusion protection.
39496
e5abc686
DM
394972012-07-27 David S. Miller <davem@davemloft.net>
39498
39499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39500
815e6fa3
GB
395012012-07-27 Gary Benson <gbenson@redhat.com>
39502
39503 [BZ #14298]
39504 * elf/rtld.c: Include <stap-probe.h>.
39505 (dl_main): Added static probes "init_start" and "init_complete".
39506 * elf/dl-load.c: Include <stap-probe.h>.
39507 (lose): Take new parameter "nsid".
39508 Added static probe "map_failed".
39509 (_dl_map_object_from_fd): Pass namespace id to lose.
39510 Added static probe "map_start".
39511 (open_verify): Pass namespace id to lose.
39512 * elf/dl-open.c: Include <stap-probe.h>.
39513 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39514 and "reloc_complete".
39515 * elf/dl-close.c: Include <stap-probe.h>.
39516 (_dl_close_worker): Added static probes "unmap_start" and
39517 "unmap_complete".
39518 * elf/rtld-debugger-interface.txt: New file documenting the above.
39519
9f98c16c
RM
395202012-07-26 Roland McGrath <roland@hack.frob.com>
39521
39522 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39523 rather than a string variable.
39524 * sunrpc/rpc_main.c (h_output): Likewise.
39525 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39526
f3c22df3
PT
395272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39528
39529 * inet/check_native.c: New file.
39530
3129cfc6
JM
395312012-07-26 Joseph Myers <joseph@codesourcery.com>
39532
da865e95
JM
39533 [BZ #13629]
39534 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39535 if larger part has absolute value 1.0.
39536 * math/s_clog10.c (__clog10): Likewise.
39537 * math/s_clog10f.c (__clog10f): Likewise.
39538 * math/s_clog10l.c (__clog10l): Likewise.
39539 * math/s_clogf.c (__clogf): Likewise.
39540 * math/s_clogl.c (__clogl): Likewise.
39541 * math/libm-test.inc (clog_test): Add more tests.
39542 (clog10_test): Likewise.
39543 * sysdeps/i386/fpu/libm-test-ulps: Update.
39544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39545
3129cfc6
JM
39546 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39547 (pltexit): Likewise.
39548 (La_regs): Likewise.
39549 (La_retval): Likewise.
39550 (int_retval): Likewise.
39551 Update #error for removed macros to refer only to definitions in
39552 tst-audit.h.
39553 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39554 macro.
39555 (pltexit): Likewise.
39556 (La_regs): Likewise.
39557 (La_retval): Likewise.
39558 (int_retval): Likewise.
39559 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39560 macro.
39561 (pltexit): Likewise.
39562 (La_regs): Likewise.
39563 (La_retval): Likewise.
39564 (int_retval): Likewise.
39565 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39566 macro.
39567 (pltexit): Likewise.
39568 (La_regs): Likewise.
39569 (La_retval): Likewise.
39570 (int_retval): Likewise.
39571 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39572 macro.
39573 (pltexit): Likewise.
39574 (La_regs): Likewise.
39575 (La_retval): Likewise.
39576 (int_retval): Likewise.
39577 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39578 macro.
39579 (pltexit): Likewise.
39580 (La_regs): Likewise.
39581 (La_retval): Likewise.
39582 (int_retval): Likewise.
39583 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39584 macro.
39585 (pltexit): Likewise.
39586 (La_regs): Likewise.
39587 (La_retval): Likewise.
39588 (int_retval): Likewise.
39589 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39590 macro definitions in tst-audit.h.
39591 * sysdeps/i386/tst-audit.h: New file.
39592 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39593 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39594 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39595 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39596 * sysdeps/sh/tst-audit.h: Likewise.
39597 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39598 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39599 * sysdeps/x86_64/tst-audit.h: Likewise.
39600
bfc07087
AJ
396012012-07-26 Andreas Jaeger <aj@suse.de>
39602
b1b2aaf8
AJ
39603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39604 ptrace.
39605
39606 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39607 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39608 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39609 PTRACE_O_MASK.
39610 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39611 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39612 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39613
bfc07087
AJ
39614 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39615 value.
39616
39617 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39618 _sigsys.
39619 (si_call_addr, si_syscall, si_arch): Define new macro.
39620 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39621 _sigsys.
39622 (si_call_addr, si_syscall, si_arch): Define new marcro.
39623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39624 _sigsys.
39625 (si_call_addr, si_syscall, si_arch): Define new macro.
39626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39627 _sigsys.
39628 (si_call_addr, si_syscall, si_arch): Define new macro.
39629
89b4b02f
JM
396302012-07-25 Joseph Myers <joseph@codesourcery.com>
39631
39632 [BZ #13717]
39633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39634 Change to 2.4.21 where previously 2.4.1.
39635 * sysdeps/unix/sysv/linux/configure: Regenerated.
39636 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39637 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39638 Linux kernel version.
39639 (__ASSUME_STD_AUXV): Remove.
39640 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39641 kernel version.
39642 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39643 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39644 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39645 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39646 (__ASSUME_NETLINK_SUPPORT): Likewise.
39647 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39648 (__no_netlink_support): Remove conditional definition.
39649 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39650 Remove.
39651 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39652 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39653 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39654 (if_nameindex_ioctl): Remove.
39655 (if_nameindex_netlink): Do not handle __no_netlink_support.
39656 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39657 code.
39658 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39659 Remove conditional code.
39660 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39661 code.
39662 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39663 unconditional.
39664 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39665 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39666 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39667 Remove.
39668 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39669 [!__ASSUME_STD_AUXV]: Remove conditional code.
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39671 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39672 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39674 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39676 code.
39677 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39679 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39680 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39681 conditional code.
39682 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39684 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39685 code.
39686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39687 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39688 conditional code.
39689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39690 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39691 code unconditional.
39692 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39693 conditional code.
39694 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39695 unconditional.
39696 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39697 conditional code.
39698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39699 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39700 unconditional.
39701 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39702 conditional code.
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39704 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39705 code unconditional.
39706 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39707 conditional code.
39708 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39709 unconditional.
39710 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39711 conditional code.
39712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39713 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39714 code unconditional.
39715 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39716 conditional code.
39717 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39718 unconditional.
39719 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39720 conditional code.
39721
842a39cd
AS
397222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39723
39724 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39725 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39726 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39727 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39728 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39729 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39730 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39731 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39732 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39733 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39734 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39735 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39736 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39737 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39740 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39742 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39744 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39745 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39747
84b3fd84
FW
397482012-07-25 Florian Weimer <fweimer@redhat.com>
39749
39750 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39751 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39752 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39753 Introduce __libc_secure_getenv.
0c7936d5
FW
39754 * stdlib/Versions (2.17): Add secure_getenv
39755 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39756 * stdlib/secure-getenv.c: Rename __secure_getenv to
39757 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39758 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39759 * stdlib/tst-secure-getenv.c: New.
39760 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39761 * manual/startup.texi (Environment Access): Document
39762 secure_getenv.
84b3fd84
FW
39763 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39764 __libc_secure_getenv.
39765 * inet/ruserpass.c (ruserpass): Likewise.
39766 * malloc/mtrace.c (mtrace): Likewise.
39767 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39768 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39769 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39770 * sysdeps/posix/tempname.c: Likewise. Evaluate
39771 HAVE_SECURE_GETENV.
39772 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39773 __secure_getenv to __libc_secure_getenv.
84b3fd84 39774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39776 Likewise.
39777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39778 Likewise.
39779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39786
56e49b71
JM
397872012-07-25 Joseph Myers <joseph@codesourcery.com>
39788
39789 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39790 (struct La_i86_retval): Likewise.
39791 (struct La_x86_64_regs): Likewise.
39792 (struct La_x86_64_retval): Likewise.
39793 (struct La_x32_regs): Likewise.
39794 (struct La_x32_retval): Likewise.
39795 (struct La_ppc32_regs): Likewise.
39796 (struct La_ppc32_retval): Likewise.
39797 (struct La_ppc64_regs): Likewise.
39798 (struct La_ppc64_retval): Likewise.
39799 (struct La_sh_regs): Likewise.
39800 (struct La_sh_retval): Likewise.
39801 (struct La_s390_32_regs): Likewise.
39802 (struct La_s390_32_retval): Likewise.
39803 (struct La_s390_64_regs): Likewise.
39804 (struct La_s390_64_retval): Likewise.
39805 (struct La_sparc32_regs): Likewise.
39806 (struct La_sparc32_retval): Likewise.
39807 (struct La_sparc64_regs): Likewise.
39808 (struct La_sparc64_retval): Likewise.
39809 (struct audit_ifaces): Remove architecture-specific pltenter and
39810 pltexit members.
39811 * sysdeps/i386/ldsodefs.h: New file.
39812 * sysdeps/powerpc/ldsodefs.h: Likewise.
39813 * sysdeps/s390/ldsodefs.h: Likewise.
39814 * sysdeps/sh/ldsodefs.h: Likewise.
39815 * sysdeps/sparc/ldsodefs.h: Likewise.
39816 * sysdeps/x86_64/ldsodefs.h: Likewise.
39817
354691b7
MP
398182012-07-25 Marek Polacek <polacek@redhat.com>
39819
39820 [BZ #6808]
39821 * math/libm-test.inc (yn_test): Add another test.
39822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39823 to ERANGE when the result is +-Inf.
39824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39825 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39826 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39827 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39828
bf9e2071
JM
398292012-07-24 Joseph Myers <joseph@codesourcery.com>
39830
39831 * conform/data/time.h-data (NULL): Use macro-constant. Require
39832 equal to 0.
39833 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39834 clock_t.
39835 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39836
57633811
TS
398372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39838
39839 * configure.in <sysdeps resolving>: Correct printing
39840 Implies_before.
39841 * configure: Regenerate.
39842
c23c33b0
TS
398432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39844
39845 * math/w_ilogb.c: Include <limits.h>.
39846 * math/w_ilogbl.c: Likewise.
39847
b5982523
JM
398482012-07-20 Joseph Myers <joseph@codesourcery.com>
39849
39850 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39851 va_copy. Document allowing for unavailable va_copy only as
39852 pre-C99 compatibility.
39853 * manual/string.texi (Copying and Concatenation): Use va_copy
39854 instead of __va_copy in concat example.
39855
ac4ea442
PT
398562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39857
39858 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39859 (__sendto): Use create_address_port. Initialize APORT and deallocate
39860 it if not null.
39861
f98eafbd
PT
39862 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39863 with O_NOLINK passed to __file_name_lookup.
39864
898c7aab
PT
39865 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39866 with O_NOLINK passed to __file_name_lookup.
39867
0ced335a
PT
39868 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39869 negative N or less than NGIDS.
39870
b3404dbd
PT
39871 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39872 type to string_t. Set ERANGE as errno and return it if NAME is not big
39873 enough. Use memcpy instead of strncpy.
39874
0f48659e
JM
398752012-07-20 Joseph Myers <joseph@codesourcery.com>
39876
39877 * elf/Makefile (check-data): Remove.
39878 (localplt.data): New vpath directive.
39879 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39880 instead of $(check-data).
39881 * scripts/data/localplt-generic.data: Move to ...
39882 * sysdeps/generic/localplt.data: ... here.
39883 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39884 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39885 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39887 ... here.
39888 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39890 ... here.
39891 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39893 ... here.
39894 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39896 ... here.
39897 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39899 ... here.
39900 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39902 ... here.
39903
d37cbdaa
AZ
399042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39905
39906 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39907 PPC32 and PPC64 files.
39908 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39909 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39910
46f85fc2
AK
399112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39912
39913 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39914 __makecontext_ret to ...
39915 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39916 ... here and call exit if uc_link is NULL. New file.
39917 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39918 __makecontext_ret.S.
39919 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39920 __makecontext_ret to ...
39921 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39922 ... here and call exit if uc_link is NULL. New file.
39923 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39924 __makecontext_ret.S.
39925
08f43f9b
AK
399262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39927
39928 * elf/elf.h (R_390_IRELATIVE): New definition.
39929 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39930 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39931 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39932 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39933 (elf_machine_lazy_rel): Likewise.
39934 * sysdeps/s390/dl-irel.h: New file.
39935 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39936 * sysdeps/s390/s390-64/memset.S: New asm code.
39937 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39938 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39940 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39941 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39942 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39943 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39944 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39945 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39946 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39947 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39948 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39949 * sysdeps/s390/s390-32/memset.S: New asm code.
39950 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39951
3b05db33
MP
399522012-07-17 Marek Polacek <polacek@redhat.com>
39953
39954 [BZ #14349]
39955 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39956 * sysdeps/s390/s390-64/configure.in: Likewise.
39957 * sysdeps/sparc/configure.in: Likewise.
39958 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39959 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39960 * sysdeps/i386/configure.in: Likewise.
39961 * sysdeps/x86_64/configure.in: Likewise.
39962 * sysdeps/sh/configure.in: Likewise.
39963 * sysdeps/s390/s390-32/configure: Regenerated.
39964 * sysdeps/s390/s390-64/configure: Likewise.
39965 * sysdeps/x86_64/configure: Likewise.
39966 * sysdeps/sh/configure: Likewise.
39967 * sysdeps/powerpc/powerpc64/configure: Likewise.
39968 * sysdeps/powerpc/powerpc32/configure: Likewise.
39969 * sysdeps/sparc/configure: Likwise.
39970 * sysdeps/i386/configure: Likewise.
39971
a66877c6
MP
39972 * elf/dl-open.c: Comment fixes.
39973
cfc82fd8
JM
399742012-07-17 Joseph Myers <joseph@codesourcery.com>
39975
bd29910a
JM
39976 * Makefile [CXX] (check-data): Remove.
39977 [CXX] (c++-types.data): New vpath directive.
39978 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39979 vpath. Do not allow for C++ type data being missing.
39980 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39981 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39982 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39983 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39984 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39985 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39986 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39988 ... here.
39989 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39991 ... here.
39992 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39994 ... here.
39995 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39997 ... here.
39998 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40000 ... here.
40001 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40003 ... here.
40004 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40006 ... here.
40007 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40009
cfc82fd8
JM
40010 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40011 definitions to architecture-specific files.
40012 (TLS_IE): Likewise.
40013 (TLS_LD): Likewise.
40014 (TLS_GD): Likewise.
40015 * sysdeps/i386/tls-macros.h: New file.
40016 * sysdeps/powerpc/tls-macros.h: Likewise.
40017 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40018 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40019 * sysdeps/sh/tls-macros.h: Likewise.
40020 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40021 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40022 * sysdeps/x86_64/tls-macros.h: Likewise.
40023
f7db3170
TS
400242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40025
07cbfc23
TS
40026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40027 zero value for regular exit case.
40028
f7db3170
TS
40029 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40030 (__start_context): Preserve zero value for regular exit case.
40031
dc97c227
TS
400322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40033 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40034
40035 * manual/setjmp.texi (setcontext): Clarify normal process
40036 termination when uc_link is the null pointer.
40037 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40038 exit call.
40039
d0cd7d02
AS
400402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40041
40042 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40043 preprocessor. Test for each exception mask separately.
40044
dd318934
AJ
400452012-07-16 Andreas Jaeger <aj@suse.de>
40046
40047 * po/ru.po: Update from translation team.
40048
8048311a
JM
400492012-07-15 Joseph Myers <joseph@codesourcery.com>
40050
40051 * conform/data/string.h-data (NULL): Use macro-constant. Require
40052 equal to 0.
40053 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40055 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40056 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40058
b637d46e
AJ
400592012-07-13 Andreas Jaeger <aj@suse.de>
40060
40061 * po/fr.po: Update from translation team.
40062
541428fe
MP
400632012-07-12 Marek Polacek <polacek@redhat.com>
40064
40065 [BZ #14173]
40066 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40068 loop condition.
40069
ec332e94
JM
400702012-07-12 Joseph Myers <joseph@codesourcery.com>
40071
40072 [BZ #13717]
40073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40074 Change to 2.4.1 where previously 2.4.0.
40075 * sysdeps/unix/sysv/linux/configure: Regenerated.
40076 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40077 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40078 version.
40079 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40080 (__ASSUME_AT_CLKTCK): Remove.
40081 (__ASSUME_AT_PAGESIZE): Likewise.
40082 (__ASSUME_AT_XID): Likewise.
40083 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40084 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40085 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40086 unconditionally.
40087 (HAVE_AUX_PAGESIZE): Likewise.
40088 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40089 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40090 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40091
7b6e99be
JB
400922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40093
40094 [BZ #14307]
40095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40096 the temporary buffer used to invoke __gethostbyname2_r,
40097 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40098 host_data / struct gaih_addrtuple.
40099 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40100 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40101 header file nss/nsswitch.h.
40102 * nss/nsswitch.h (global scope): Add definition of implementation
40103 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40104 resolv/nss_dns/dns-host.c).
40105
608404eb
AJ
401062012-07-11 Andreas Jaeger <aj@suse.de>
40107
40108 * po/fr.po: Update from translation team.
40109
71220aca
AJ
40110 * po/sv.po: Update from translation team
40111 * po/fr.po: Another update from translation team.
40112
28cfe843
AZ
401132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40114
40115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40116 for subnormals or multiply small sinh result by itself.
40117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40119
6b90f981
DM
401202012-07-11 David S. Miller <davem@davemloft.net>
40121
40122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40123
c6825772
AS
401242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40125
40126 [BZ #14347]
40127 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40128 (INTERNAL_MARK): Shift it here.
40129
7b8e0d49
MP
401302012-07-10 Marek Polacek <polacek@redhat.com>
40131
40132 [BZ #14151]
40133 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40134 libc_cv_asm_global_directive with .globl.
40135 * configure: Regenerated.
40136 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40137 with .globl.
40138 * sysdeps/i386/configure: Regenerated.
40139 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40140 with .globl.
40141 * sysdeps/x86_64/configure: Regenerated.
40142 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40143 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40144 * elf/tst-unique2mod2.c: Likewise.
40145 * elf/tst-unique2mod1.c: Likewise.
40146 * elf/tst-unique1mod2.c: Likewise.
40147 * elf/tst-unique1mod1.c: Likewise.
40148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40149 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40152 * sysdeps/mach/sysdep.h: Likewise.
40153 * sysdeps/i386/sysdep.h: Likewise.
40154 * sysdeps/i386/i386-mcount.S: Likewise.
40155 * sysdeps/x86_64/_mcount.S: Likewise.
40156 * sysdeps/x86_64/sysdep.h: Likewise.
40157 * sysdeps/sh/_mcount.S: Likewise.
40158 * sysdeps/sh/sysdep.h: Likewise.
40159 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40160 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40161 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40162 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40163 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40164 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40165 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40166 * locale/localeinfo.h: Likewise.
40167 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40168 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40169
6c55cda3
RM
401702012-07-09 Roland McGrath <roland@hack.frob.com>
40171
40172 [BZ #14336]
40173 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40174 system".
40175 * manual/message.texi (The Uniforum approach): Likewise.
40176 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40177 (glibc iconv Implementation): Likewise.
40178
638a572e
JM
401792012-07-09 Joseph Myers <joseph@codesourcery.com>
40180
40181 [BZ #14337]
40182 * math/s_clog.c (__clog): Avoid scaling a value down where that
40183 could result in underflow.
40184 * math/s_clog10.c (__clog10): Likewise.
40185 * math/s_clog10f.c (__clog10f): Likewise.
40186 * math/s_clog10l.c (__clog10l): Likewise.
40187 * math/s_clogf.c (__clogf): Likewise.
40188 * math/s_clogl.c (__clogl): Likewise.
40189 * math/libm-test.inc (clog_test): Add more tests.
40190 (clog10_test): Likewise.
40191 * sysdeps/i386/fpu/libm-test-ulps: Update.
40192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40193
261f4859
AS
401942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40195
0abaf3e4
AS
40196 [BZ #14283]
40197 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40198 by 7 not 8 to examine high bit of fractional part.
40199
261f4859
AS
40200 [BZ #14042]
40201 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40202 for call to __mcount_internal.
40203 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40204 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40205 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40206
f17ac40d
JM
402072012-07-06 Joseph Myers <joseph@codesourcery.com>
40208
9ad63c23
JM
40209 [BZ #14154]
40210 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40211 approximation for values within 0x1p-13f of an odd multiple of
40212 pi/4.
40213 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40214 exception. Add more tests.
40215 * sysdeps/i386/fpu/libm-test-ulps: Update.
40216
f17ac40d
JM
40217 [BZ #6778]
40218 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40219 inputs and return -1 for them. Do not check for +Inf in case not
40220 reachable for +Inf.
40221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40222 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40224 and return -1 for them. Do not check for +Inf in case not
40225 reachable for +Inf.
40226 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40227 define.
40228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40229 and return -1 for them. Do not check for +Inf in case not
40230 reachable for +Inf.
40231 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40232 spurious underflow.
40233 * sysdeps/i386/fpu/libm-test-ulps: Update.
40234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40235
fb21f89b
MF
402362012-07-06 Mike Frysinger <vapier@gentoo.org>
40237
40238 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40239
cdfe2c5e
JM
402402012-07-05 Joseph Myers <joseph@codesourcery.com>
40241
40242 [BZ #14157]
40243 [BZ #14331]
40244 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40245 could result in spurious underflow. Scale down values above
40246 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40247 * math/s_csqrtf.c (__csqrtf): Likewise.
40248 * math/s_csqrtl.c (__csqrtl): Likewise.
40249 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40250 spurious underflow.
40251 * sysdeps/i386/fpu/libm-test-ulps: Update.
40252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40253
70d35b67
AS
402542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40255
704bc459
AS
40256 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40257 xopen-msg.sed.
40258 * catgets/xopen-msg.awk: New file.
40259 * catgets/xopen-msg.sed: Removed.
40260
70d35b67
AS
40261 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40262 po2text.sed.
40263 * intl/po2test.awk: New file.
40264 * intl/po2test.sed: Removed.
40265
ca61cf32
JM
402662012-07-04 Joseph Myers <joseph@codesourcery.com>
40267
40268 [BZ #14328]
40269 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40270 or multiply small sinh result by itself.
40271 * math/s_ctanf.c (__ctanf): Likewise.
40272 * math/s_ctanh.c (__ctanh): Likewise.
40273 * math/s_ctanhf.c (__ctanhf): Likewise.
40274 * math/s_ctanhl.c (__ctanhl): Likewise.
40275 * math/s_ctanl.c (__ctanl): Likewise.
40276 * math/libm-test.inc (ctan_test_tonearest): New function.
40277 (ctan_test_towardzero): Likewise.
40278 (ctan_test_downward): Likewise.
40279 (ctan_test_upward): Likewise.
40280 (ctanh_test_tonearest): Likewise.
40281 (ctanh_test_towardzero): Likewise.
40282 (ctanh_test_downward): Likewise.
40283 (ctanh_test_upward): Likewise.
40284 (main): Call these new functions.
40285 * sysdeps/i386/fpu/libm-test-ulps: Update.
40286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40287
ca48a46a
MF
402882012-07-03 Mike Frysinger <vapier@gentoo.org>
40289
40290 * .gitignore: Delete /ports entry.
40291
9d63d37d
AJ
402922012-07-03 Andreas Jaeger <aj@suse.de>
40293
40294 * po/bg.po: Update from translation team.
40295 * po/cs.po: Likewise.
40296 * po/de.po: Likewise.
40297 * po/hr.po: Likewise.
40298 * po/nl.pl: Likewise.
40299 * po/pl.po: Likewise.
40300 * po/vi.po: Likewise.
40301
370ca3d2
JM
403022012-07-03 Joseph Myers <joseph@codesourcery.com>
40303
95f5a9a8
JM
40304 * Makeconfig [!+link] (+link-before-libc): New variable.
40305 [!+link] (+link-after-libc): Likewise.
40306 [!+link] (+link-tests): Likewise.
40307 [!+link] (+link): Define in terms of $(+link-before-libc) and
40308 $(+link-after-libc).
40309 [!+link-static] (+link-static-before-libc): New variable.
40310 [!+link-static] (+link-static-after-libc): Likewise.
40311 [!+link-static] (+link-static-tests): Likewise.
40312 [!+link-static] (+link-static): Define in terms of
40313 $(+link-static-before-libc) and $(+link-static-after-libc).
40314 [build-shared] (link-libc-before-gnulib): New variable.
40315 [build-shared] (link-libc-tests): Likewise.
40316 [build-shared] (link-libc): Define in terms of
40317 $(link-libc-before-gnulib).
40318 [!build-shared] (link-libc-tests): New variable.
40319 (link-libc-static-tests): New variable.
40320 [!gnulib] (gnulib-arch): New variable.
40321 [!gnulib] (gnulib-tests): Likewise.
40322 [!gnulib] (static-gnulib-arch): Likewise.
40323 [!gnulib] (static-gnulib-tests): Likewise.
40324 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40325 Define with "=" instead of ":=".
40326 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40327 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40328 * Rules (binaries-all-notests): New variable.
40329 (binaries-all-tests): Likewise.
40330 (binaries-static-notests): Likewise.
40331 (binaries-static-tests): Likewise.
40332 (binaries-all): Define using $(binaries-all-notests) and
40333 $(binaries-all-tests).
40334 (binaries-static): Define using $(binaries-static-notests) and
40335 $(binaries-static-tests).
40336 (binaries-shared-tests): New variable.
40337 (binaries-shared-notests): Likewise.
40338 (binaries-shared): Remove variable.
40339 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40340 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40341 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40342 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40343 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40344 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40345 * elf/Makefile (sln-modules): New variable.
40346 (extra-objs): Add $(sln-modules:=.o).
40347 (ldconfig-modules): Add static-stubs.
40348 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40349 * elf/static-stubs.c: New file.
40350
7a845b2c
JM
40351 [BZ #14283]
40352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40353 by 7 not 8 to examine high bit of fractional part. Use volatile
40354 variables when splitting into final array of floats if
40355 __FLT_EVAL_METHOD__ != 0.
40356 * math/libm-test.inc (cos_test): Add another test.
40357 (sin_test): Likewise.
40358 * sysdeps/i386/fpu/libm-test-ulps: Update.
40359
e2283f38
JM
40360 [BZ #14273]
40361 * math/libm-test.inc (cosh_test): Add more tests.
40362
370ca3d2
JM
40363 * version.h (RELEASE): Set to "development".
40364 (VERSION): Set to "2.16.90".
40365
ee9247c3
CD
403662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40367
40368 * NEWS: Update copyright. Remove last-updated date.
40369 Mention math library bug fixes and timezone data changes.
40370 * README: Mention GNU/Hurd, x32, and HPPA support status.
40371
4648c381
TS
403722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40373
40374 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40375
aac78a43
AJ
403762012-06-27 Andreas Jaeger <aj@suse.de>
40377
40378 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40379
ed3dbfad
AJ
403802012-06-25 Andreas Jaeger <aj@suse.de>
40381
40382 * sysdeps/s390/fpu/libm-test-ulps: Update.
40383
4d0ee855
AS
403842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40385 Thomas Schwinge <thomas@codesourcery.com>
40386
40387 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40388 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40390 fanotify_mark.
40391
af1bce34
TS
403922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40393
a9fa33ba
TS
40394 * sysdeps/mach/start.c: Remove file.
40395 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40396 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40397 * sysdeps/sh/init-first.c: Likewise.
40398
58f902b8
TS
40399 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40400 registers for frame unwinding purposes, add CFI directives.
40401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40403 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40404 Likewise.
40405
1518f58b
TS
40406 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40407 __fortify_fail returning.
40408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40409
db9b5059
TS
40410 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40411 sysdeps/sh/____longjmp_chk.S.
40412 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40413 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40414 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40415 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40416
967705fe
TS
40417 * sysdeps/sh/abort-instr.h: New file.
40418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40419 process in case exit returns.
40420
a9def8c4
TS
40421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40422 initialize the GOT register before use.
40423
2a649725
TS
40424 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40425 calculation of ARGC > 4.
40426
af1bce34
TS
40427 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40428 meaningful names to some local labels.
40429
d230f50a
KK
404302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40431 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40432
40433 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40434 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40435 (__arch_compare_and_exchange_val_16_acq): Likewise.
40436 (__arch_compare_and_exchange_val_32_acq): Likewise.
40437 (atomic_exchange_and_add): Fix gUSA sequence.
40438 (atomic_add): Likewise.
40439 (atomic_add_negative): Likewise.
40440 (atomic_add_zero): Likewise.
40441 (atomic_bit_test_set): Likewise.
40442
0479b305
AS
404432012-06-22 Andreas Schwab <schwab@redhat.com>
40444
40445 [BZ #13579]
40446 * include/link.h (struct link_map): Add l_free_initfini.
40447 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40448 l_initfini.
40449 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40450 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40451 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40452 set.
40453
0e3933b9
CD
404542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40455
40456 * configure.in: Use AC_LANG_SOURCE.
40457 * configure: Regenerate.
40458
4248b1b1
RM
404592012-06-22 Roland McGrath <roland@hack.frob.com>
40460
40461 * configure.in (libc_cv_localstatedir): New substituted variable.
40462 * configure: Regenerated.
40463 * config.make.in (localstatedir): New variable, substituted from
40464 libc_cv_localstatedir.
40465 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40466 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40467 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40468 * sysdeps/gnu/configure: Regenerated.
40469
006dd861
JL
404702012-06-21 Jeff Law <law@redhat.com>
40471
40472 [BZ #14277]
40473 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40474 free. Simplify list management for _LIBC case.
40475
79662d42
JM
404762012-06-21 Joseph Myers <joseph@codesourcery.com>
40477
b7abb4bf
JM
40478 [BZ #14273]
40479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40480 Clear sign bit of 64-bit integer value before comparing against
40481 overflow value.
40482
79662d42
JM
40483 * sysdeps/mach/configure: Regenerated.
40484
1f150908
L
404852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40486
40487 [BZ #14278]
40488 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40489
28363bbf
JL
404902012-06-21 Jeff Law <law@redhat.com>
40491
40492 [BZ #13882]
40493 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40494 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40495 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40496 * elf/dl-open.c (dl_open_worker): Likewise.
40497
09615db4
CD
404982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40499
40500 * scripts/list-sources.sh: Scan PORTS for translations.
40501 * po/libc.pot: Regenerated.
40502
2174c6dd
AJ
405032012-06-21 Andreas Jaeger <aj@suse.de>
40504
40505 [BZ #12194]
40506 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40507 warning.
40508 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40509 * bits/byteswap-16.h (__bswap_16): Likewise.
40510 * bits/byteswap.h (__bswap_constant_16): Likewise.
40511
3ee947b1
L
405122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40513
40514 [BZ #14117]
a2f34833
L
40515 * sysdeps/i386/fpu_control.h: Removed.
40516 * sysdeps/x86_64/fpu_control.h: Moved to ...
40517 * sysdeps/x86/fpu_control.h: Here.
40518
3ee947b1
L
40519 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40520 (_FPU_SETCW): Likewise.
40521
ed1825f8
L
405222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40523
25f1282a
L
40524 [BZ #14117]
40525 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40526 * sysdeps/x86/fpu/bits/mathinline.h: This.
40527 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40528
ed1825f8
L
40529 [BZ #14050]
40530 [BZ #14117]
40531 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40532 functions if __x86_64__ is defined.
40533
36d54b74
CLT
405342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40535
40536 * string/endian.h: Add !__ASSEMBLER__ condition for including
40537 conversion interfaces.
40538
10285c21
JM
405392012-06-15 Joseph Myers <joseph@codesourcery.com>
40540
40541 [BZ #14241]
40542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40543 of ABS(x) in calculating zero to negative powers other than odd
40544 integers.
40545 * math/libm-test.inc (pow_test): Add more tests.
40546
06c5abbd
AJ
405472012-06-15 Andreas Jaeger <aj@suse.de>
40548
40549 * manual/contrib.texi (Contributors): Update entry of Liubov
40550 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40551 Machado Filho.
40552
a3aeac40
CH
405532012-06-15 Cyril Hrubis <metan@ucw.cz>
40554
40555 * string/string.h: Add __wur to GNU version of strerror_r.
40556
49bdf4c1
L
405572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40558
40559 [BZ #14229]
40560 * string/Makefile (tests): Add tst-strtok_r.
40561 * string/tst-strtok_r.c: New file.
40562 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40563 RAX_LP/RDX_LP on SAVE_PTR.
40564
834f9b8d
RM
405652012-06-14 Roland McGrath <roland@hack.frob.com>
40566
40567 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40568
75fa1921
JM
405692012-06-14 Joseph Myers <joseph@codesourcery.com>
40570
40571 * libm_test.inc (csqrt_test): Allow more spurious underflow
40572 exceptions.
40573 (j0_test): Likewise.
40574 (j1_test): Likewise.
40575 (y0_test): Likewise.
40576 (y1_test): Likewise.
40577
771766df
CD
405782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40579
40580 * po/Makefile (libc.pot): Use UTF-8 charset.
40581
ceb9e56b
PP
405822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40583
40584 [BZ #14210]
40585 Suppress sign-conversion warning from FD_SET.
40586 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40587 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40588 not unsigned long int.
40589 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40590
ddb28975
L
405912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40592
40593 [BZ #14050]
40594 [BZ #14117]
40595 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40596 __extern_always_inline instead of __extern_inline.
40597 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40598 (__signbit): Likewise.
40599 (__signbitl): Support C++ namespace.
40600 (lrintf): New inline function.
40601 (lrint): Likewise.
40602 (llrintf): Likewise.
40603 (llrint): Likewise.
40604 (fmaxf): Likewise.
40605 (fmax): Likewise.
40606 (fminf): Likewise.
40607 (fmin): Likewise.
40608 (rint): Likewise.
40609 (rintf): Likewise.
40610 (ceil): Likewise.
40611 (ceilf): Likewise.
40612 (floor): Likewise.
40613 (floorf): Likewise.
40614 (nearbyint): Likewise.
40615 (nearbyintf): Likewise.
40616
d7b4fb26
TS
406172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40618
40619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40620 non-default versions.
40621
eb55f5c2
RM
406222012-06-11 Roland McGrath <roland@hack.frob.com>
40623
40624 [BZ #14218]
40625 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40626
366af02c
TS
406272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40628
99ff6e5c
TS
40629 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40630 (FE_UPWARD, FE_DOWNWARD): Don't define.
40631 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40633
366af02c
TS
40634 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40635 reading it.
40636 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40637 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40638
793ea851
KK
406392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40640
40641 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40643 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40645
a728a38f
L
406462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40647
40648 [BZ #14117]
c08010c7
L
40649 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40650 * sysdeps/i386/fpu/Implies: New file.
40651 * sysdeps/x86_64/fpu/Implies: Likewise.
40652 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40653 * sysdeps/x86/fpu/bits/fenv.h: This.
40654
a728a38f
L
40655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40656 __SSE_MATH__.
40657
6e230d11
SP
406582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40659
40660 [BZ #14134]
40661 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40662 character 0xffff that matches the last element of the
40663 conversion table.
40664
1b671feb
AZ
406652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40666
40667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40668 fmodl commit.
40669
6043738b
AZ
406702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40671
40672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40673 values higher than 25.6283.
40674
34ae0b32
AZ
406752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40676
40677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40678 subnormal exponent extraction and add some __builtin_expect.
40679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40680 Fix for subnormal mantissa calculation.
40681
1214ec8f
MF
406822012-06-04 Mike Frysinger <vapier@gentoo.org>
40683
40684 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40685 cpu2 is -1 and errno is not ENOSYS.
40686
f3d1f93c
L
406872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40688
40689 [BZ #14117]
0e4a3cd7
L
40690 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40691 * sysdeps/x86/bits/string.h: This.
40692 * sysdeps/x86_64/bits/string.h: Removed.
40693
6704c645
L
40694 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40695 if not compiling for x86-64, but compiling for >= i486.
40696
48495318
L
40697 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40698 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40699
14adcbfc
L
40700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40701 New macro from Linux kernel 3.4.0.
40702 (FP_XSTATE_MAGIC2): Likewise.
40703 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40704 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40705 (struct _fpx_sw_bytes): New struct.
40706 (struct _xsave_hdr): Likewise.
40707 (struct _ymmh_state): Likewise.
40708 (struct _xstate): Likewise.
40709
68e408ab
L
40710 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40711 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40713 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40715 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40716
f3d1f93c
L
40717 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40719 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40720 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40721 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40722 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40723
d9dc34cd
TMQMF
407242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40725
40726 [BZ #13743]
40727 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40728 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40729 (sysdep_headers): Include sys/platform/ppc.h.
40730 * sysdeps/powerpc/test-gettimebase.c: Test for
40731 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40732 * manual/Makefile (appendices): Include platform.texi.
40733 * manual/contrib.texi (Contributors): Update @node pointers.
40734 * manual/maint.texi (Maintenance): Likewise.
40735 (Platform): New node.
40736 * manual/platform.texi: New file. Document the new features.
40737
4af3879c
SP
407382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40739 Jakub Jelinek <jakub@redhat.com>
40740
40741 [BZ #14188]
40742 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40743 where __builtin_expect is unavailable.
40744
2fd6ff13
DM
407452012-06-03 David S. Miller <davem@davemloft.net>
40746
40747 * stdlib/longlong.h: Updated from GCC.
40748
173f7220
AS
407492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40750
40751 [BZ #14042]
40752 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40753 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40754 __mcount_internal.
40755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40756 (GLIBC_2.16): Likewise.
40757
f34a1c6f
L
407582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40759
40760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40761
88a4576f
JM
407622012-06-01 Joseph Myers <joseph@codesourcery.com>
40763
ea32bcdd
JM
40764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40765 (default-abi): New variable.
40766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40767 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40768 variable.
40769 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40770 Likewise.
40771 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40772 Likewise.
40773 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40774 Likewise.
40775
88a4576f
JM
40776 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40777 definition. Document in comment.
40778
402fe938
DM
407792012-06-01 David S. Miller <davem@davemloft.net>
40780
40781 * stdlib/longlong.h: Updated from GCC.
40782
3553723f
L
407832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40784
40785 [BZ #14117]
3bd872c4
L
40786 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40787 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40788 sys/debugreg.h sys/io.h here.
40789 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40790 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40791 sys/io.h.
40792 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40793 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40794 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40795 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40796 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40797 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40798
3553723f
L
40799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40800 Define only if __x86_64__ is defined.
40801
4842e4fe
JM
408022012-06-01 Joseph Myers <joseph@codesourcery.com>
40803
c5bfe3d5
JM
40804 [BZ #14048]
40805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40806 Use int64_t for variable i.
40807 * math/libm-test.inc (fmod_test): Add more tests.
40808
4842e4fe
JM
40809 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40810 z computation is not scheduled after fetestexcept.
40811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40812 Use math_force_eval instead of asm to ensure calculation scheduled
40813 before exception test.
40814 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40815 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40816
efb73488
AJ
408172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40818
40819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40820 computation is not scheduled after fetestexcept.
40821
29bcce7c
L
408222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40823
40824 [BZ #14117]
40825 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40826 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40827
73a68f94
AZ
408282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40829
40830 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40832
67b6df78
L
408332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40834
edf2933a 40835 [BZ #14117]
ebc64a18
L
40836 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40837 <bits/wordsize.h>.
40838 (__WCHAR_MIN): Support __WORDSIZE == 64.
40839 (__WCHAR_MAX): Likewise.
40840
edf2933a
L
40841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40843
57c6cf40
L
40844 [BZ #14183]
40845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40846 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40847
67b6df78 40848 [BZ #14117]
8eb6281e
L
40849 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40851
aac639f4
L
40852 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40853 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40854
67b6df78
L
40855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40856 Defined to 1 if __x86_64__ isn't defined.
40857 (_STAT_VER_LINUX_OLD): New.
40858 (st_atime): Remove duplicate.
40859 (st_mtime): Likewise.
40860 (st_ctime): Likewise.
40861
1c2cfe81
DM
408622012-05-31 David S. Miller <davem@davemloft.net>
40863
40864 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40865 entries.
40866
5be8418c
AS
408672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40868
e7725326
AS
40869 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40870 gen-libm-test.pl.
40871
5be8418c
AS
40872 [BZ #14132]
40873 * elf/dl-reloc.c: Include <_itoa.h>.
40874 (_dl_reloc_bad_type): Remove use of INTUSE.
40875 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40876 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40877 * stdio-common/psiginfo.c (psiginfo): Likewise.
40878 * stdio-common/psignal.c (psignal): Likewise.
40879 * string/strsignal.c (strsignal): Likewise.
40880 * include/signal.h (_sys_siglist): Declare hidden proto.
40881 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40882 INTVARDEF with libc_hidden_data_def.
40883 * stdio-common/itoa-udigits.c: Likewise.
40884 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40885 (_itoa_lower_digits_internal): Remove declaration.
40886 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40887 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40888 (_sys_sigabbrev_internal): Remove aliases.
40889 (_sys_siglist): Define hidden alias.
40890
507352f1
MT
408912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40892
40893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40894 bits/sysctl.h.
40895
42bbb1c3
L
408962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40897
40898 [BZ #14117]
6bd784b6
L
40899 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40900 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40901
8bca20f0
L
40902 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40903 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40904 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40905 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40907 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40908
f9e890a9
L
40909 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40910 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40911 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40912
471101a1
L
40913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40914 with __addr.
40915 (insw): Likewise.
40916 (insl): Likewise.
40917 (outsb): Likewise.
40918 (outsw): Likewise.
40919 (outsl): Likewise.
40920
6451c862
L
40921 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40922 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40923 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40924
a254b8c9
L
40925 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40926 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40928 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40929 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40930 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40931
b8dfdd92
L
40932 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40933 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40934
578cd270
L
40935 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40936 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40937
de662f5f
L
40938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40940 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40941
25653439
L
40942 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40943 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40944 to ...
40945 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40946
6bad24a0
L
40947 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40948 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40949 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40950
42bbb1c3
L
40951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40952 for x86-64.
40953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40954
2d10d547
JM
409552012-05-31 Joseph Myers <joseph@codesourcery.com>
40956
40957 * math/math.h (M_El): Use two more decimal places.
40958 (M_LOG2El): Likewise.
40959 (M_LOG10El): Likewise.
40960 (M_LN2l): Likewise.
40961 (M_LN10l): Likewise.
40962 (M_PIl): Likewise.
40963 (M_PI_2l): Likewise.
40964 (M_PI_4l): Likewise.
40965 (M_1_PIl): Likewise.
40966 (M_2_PIl): Likewise.
40967 (M_2_SQRTPIl): Likewise.
40968 (M_SQRT2l): Likewise.
40969 (M_SQRT1_2l): Likewise.
40970
f230c29b
DM
409712012-05-31 David S. Miller <davem@davemloft.net>
40972
40973 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40974 values between float registers.
40975 * sysdeps/sparc/sparc64/memset.S: Likewise.
40976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40977
fed806c3
MF
409782012-05-31 Mike Frysinger <vapier@gentoo.org>
40979
40980 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40981 -D_FORTIFY_SOURCE=1.
40982 (CPPFLAGS-tst-longjmp_chk.c): Define.
40983 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40984 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40985 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40986 CFLAGS-tst-wchar-h.c.
40987
30917259
MP
409882012-05-31 Marek Polacek <polacek@redhat.com>
40989
40990 [BZ #14132]
40991 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40992 __endmntent_internal): Remove declaration.
40993 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40994 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40995 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40996
1c58d5dc
DM
409972012-05-30 David S. Miller <davem@davemloft.net>
40998
40999 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41000 (___Q_simulate_exceptions): Use real FP ops rather than writing
41001 into the %fsr.
41002 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41003 Likewise.
41004
7dc00e0d
L
410052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41006
41007 [BZ #14117]
0bd53985
L
41008 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41009 * sysdeps/x86/bits/xtitypes.h: This.
41010
3a257e66
L
41011 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41012 * sysdeps/x86/bits/wordsize.h: This.
41013
62f62904
L
41014 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41015 * sysdeps/x86/bits/huge_vall.h: This.
41016
404fe9d9
L
41017 * sysdeps/i386/bits/select.h: Removed.
41018 * sysdeps/x86_64/bits/select.h: Renamed to ...
41019 * sysdeps/x86/bits/select.h: This.
41020
d48d0446
L
41021 * sysdeps/i386/bits/setjmp.h: Removed.
41022 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41023 * sysdeps/x86/bits/setjmp.h: This.
41024
7dc00e0d
L
41025 * sysdeps/i386/bits/mathdef.h: Removed.
41026 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41027 * sysdeps/x86/bits/mathdef.h: This.
41028
03277f8f
AS
410292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41030
41031 [BZ #14132]
41032 * include/sys/socket.h (__connect_internal)
41033 (__libc_sa_len_internal): Remove declaration.
41034 (__connect, __libc_sa_len): Declare hidden_proto.
41035 (SA_LEN): Remove use of INTUSE.
41036 * socket/connect.c: Add libc_hidden_def.
41037 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41038 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41039 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41040 alias.
41041 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41043 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41044 of adding _internal alias.
41045
13764867
L
410462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41047
41048 [BZ #14117]
6bd97696
L
41049 * sysdeps/i386/bits/link.h: Removed.
41050 * sysdeps/i386/bits/linkmap.h: Likewise.
41051 * sysdeps/x86_64/bits/link.h: Renamed to ...
41052 * sysdeps/x86/bits/link.h: This.
41053 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41054 * sysdeps/x86/bits/linkmap.h: This.
41055
f726f0bb
L
41056 * sysdeps/i386/bits/endian.h: Removed.
41057 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41058 * sysdeps/x86/bits/endian.h: This.
41059
13764867
L
41060 * sysdeps/i386/bits/byteswap.h: Removed.
41061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41062 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41063 * sysdeps/x86/bits/byteswap.h: This.
41064 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41065 * sysdeps/x86/bits/byteswap-16.h: This.
41066 * sysdeps/i386/Implies: Add x86.
41067 * sysdeps/x86_64/Implies: Likewise.
41068
ae251b0b
DM
410692012-05-30 David S. Miller <davem@davemloft.net>
41070
41071 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41072 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41073 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41074 (FP_TRAPPING_EXCEPTIONS): Define.
41075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41076 (FP_TRAPPING_EXCEPTIONS): Define.
41077 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41078 subnormals only when inexact has been signalled or underflow
41079 exceptions are enabled.
41080 (_FP_PACK_CANONICAL): Likewise.
41081
d5c90867
L
410822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41083
41084 [BZ #14183]
41085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41086 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41087
63f1549e
RH
410882012-05-30 Richard Henderson <rth@twiddle.net>
41089
8d8f2279
RH
41090 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41091 with #ifndef NOT_IN_libc.
41092
63f1549e
RH
41093 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41094 marked to avoid plt entry.
41095
0ab0291b
L
410962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41097
41098 [BZ #14112]
41099 * Makeconfig (default-abi): New macro.
41100 (abi-includes): Likewise.
41101 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41102 $(abi-$(default-abi)-lib-soname) for soname if defined.
41103 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41104 abi-variants.
41105 * Makefile (installed-stubs): Likewise.
41106 * include/stubs-biarch.h: Removed.
41107 * scripts/lib-names.awk: Only handle one library at a time.
41108 * scripts/soversions.awk: Remove WORDSIZE support.
41109 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41110 entries.
41111 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41112 Removed.
41113 (syscall-list-default-condition): Likewise.
41114 (syscall-list-default-condition): Likewise.
41115 (syscall-list-includes): Likewise.
41116 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41117 syscall-list-* with abi-*. Handle undefined abi-variants.
41118 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41119 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41120 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41121 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41122 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41123 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41124 Removed.
41125 (syscall-list-32-options): Likewise.
41126 (syscall-list-32-condition): Likewise.
41127 (syscall-list-64-options): Likewise.
41128 (syscall-list-64-condition): Likewise.
41129 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41130 macro.
41131 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41132 Renamed to ...
41133 (abi-*): This.
41134 (abi-64-ld-soname): New macro.
41135 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41136 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41137 Renamed to ...
41138 (abi-*): This.
41139 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41140 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41141
4da0431d
JM
411422012-05-30 Joseph Myers <joseph@codesourcery.com>
41143
3a85279c
JM
41144 * sysdeps/unix/sysv/linux/kernel-features.h
41145 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41146 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41147 include <kernel-features.h>.
41148 [!__NR_ftruncate64]: Remove conditional code.
41149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41150 [__NR_ftruncate64]: Make code unconditional.
41151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41152 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41153 include <kernel-features.h>.
41154 [!__NR_ftruncate64]: Remove conditional code.
41155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41156 [__NR_ftruncate64]: Make code unconditional.
41157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41159 include <kernel-features.h>.
41160 [!__NR_ftruncate64]: Remove conditional code.
41161 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41162 [__NR_ftruncate64]: Make code unconditional.
41163 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41165 include <kernel-features.h>.
41166 [!__NR_ftruncate64]: Remove conditional code.
41167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41168 [__NR_ftruncate64]: Make code unconditional.
41169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41170
4da0431d
JM
41171 * configure.in (libc_cv_fpie): Weaken to a compile test using
41172 LIBC_TRY_CC_OPTION.
41173 * configure: Regenerated.
41174
11ef492c
AK
411752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41176
41177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41181 Refreshed.
41182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41188 Refreshed.
41189
d66ef399
DM
411902012-05-27 David S. Miller <davem@davemloft.net>
41191
41192 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41193 (___Q_zero): New.
41194 (__Q_simulate_exceptions): Return void. Change to simulate
41195 exceptions by writing into the %fsr.
41196 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41197 (__Qp_handle_exceptions): Likewise.
41198 (numbers): Delete.
41199 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41200 __Qp_handle_exceptions.
41201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41202 __Qp_handle_exceptions.
41203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41204 as unused and give dummy FP_RND_NEAREST initializer.
41205 (FP_INHIBIT_RESULTS): Define.
41206 (___Q_simulate_exceptions): Update declaration.
41207 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41208 formatting.
41209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41210 as unused and give dummy FP_RND_NEAREST initializer.
41211 (__Qp_handle_exceptions): Update declaration.
41212 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41213 formatting.
41214
04fb54b5
TS
412152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41216
41217 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41218 the temporary FPU control word.
41219 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41220 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41222 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41224 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41225 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41227 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41228 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41230
3f99608f
KK
412312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41232
41233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41234 fields.
41235
65a4de4e
CLT
412362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41237
41238 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41239 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41240 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41241 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41242 Likewise.
41243 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41244 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41245 Likewise.
41246
15749d40
UD
412472012-05-27 Ulrich Drepper <drepper@gmail.com>
41248
41249 * po/h.po: Update from translation team.
41250
25dbcb27
AS
412512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41252
3d3f8e55
AS
41253 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41254
25dbcb27
AS
41255 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41256 handling of denormals.
41257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41258 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41259 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41260 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41264 Likewise.
41265
7ad47a80 412662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41267
41268 [BZ #14152]
41269 * math/libm-test.inc (fma_test): Don't always expect underflow
41270 exception.
41271
9c6ea9fa
SP
412722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41273
41274 [BZ #12416]
41275 * elf/tst-execstack.c: Include stackinfo.h.
41276 (do_test): Adjust test case to ensure that pthread_getattr_np
41277 behaviour remains the same after marking stack executable.
41278
a8239222
JM
412792012-05-25 Joseph Myers <joseph@codesourcery.com>
41280
41281 * sysdeps/unix/sysv/linux/kernel-features.h
41282 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41283 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41284 kernel-features.h.
41285 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41286 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41287 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41288 kernel-features.h.
41289 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41290 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41291
918b5606
L
412922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41293
41294 * configure.in: Define the default includes to being none.
41295 * configure: Regenerated.
41296
3a097cc7
RM
412972012-05-25 Roland McGrath <roland@hack.frob.com>
41298
8422c9a5
RM
41299 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41300 * sysdeps/x86_64/setjmp.S: Likewise.
41301 * sysdeps/i386/bsd-setjmp.S: Likewise.
41302 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41303 * sysdeps/i386/setjmp.S: Likewise.
41304 * sysdeps/i386/__longjmp.S: Likewise.
41305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41306 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41307
3a097cc7
RM
41308 * include/stap-probe.h: New file.
41309 * configure.in: Handle --enable-systemtap.
41310 * configure: Regenerated.
41311 * config.h.in (USE_STAP_PROBE): New #undef.
41312 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41313 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41314 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41315
21708942
JM
413162012-05-25 Joseph Myers <joseph@codesourcery.com>
41317
41318 [BZ #13717]
41319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41320 to 2.4.0 where earlier.
41321 * sysdeps/unix/sysv/linux/configure: Regenerated.
41322 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41323 <kernel-features.h>.
41324 [__ASSUME_32BITUIDS]: Make code unconditional.
41325 [!__ASSUME_32BITUIDS]: Remove conditional code.
41326 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41327 <kernel-features.h>.
41328 [__ASSUME_32BITUIDS]: Make code unconditional.
41329 [!__ASSUME_32BITUIDS]: Remove conditional code.
41330 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41331 [__ASSUME_32BITUIDS]: Make code unconditional.
41332 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41333 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41334 <kernel-features.h>.
41335 [__ASSUME_32BITUIDS]: Make code unconditional.
41336 [!__ASSUME_32BITUIDS]: Remove conditional code.
41337 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41338 <kernel-features.h>.
41339 [__ASSUME_32BITUIDS]: Make code unconditional.
41340 [!__ASSUME_32BITUIDS]: Remove conditional code.
41341 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41342 <kernel-features.h>.
41343 [__ASSUME_32BITUIDS]: Make code unconditional.
41344 [!__ASSUME_32BITUIDS]: Remove conditional code.
41345 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41346 <kernel-features.h>.
41347 [__ASSUME_32BITUIDS]: Make code unconditional.
41348 [!__ASSUME_32BITUIDS]: Remove conditional code.
41349 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41350 <kernel-features.h>.
41351 [__ASSUME_32BITUIDS]: Make code unconditional.
41352 [!__ASSUME_32BITUIDS]: Remove conditional code.
41353 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41354 <kernel-features.h>.
41355 [__ASSUME_32BITUIDS]: Make code unconditional.
41356 [!__ASSUME_32BITUIDS]: Remove conditional code.
41357 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41358 <kernel-features.h>.
41359 [__ASSUME_32BITUIDS]: Make code unconditional.
41360 [!__ASSUME_32BITUIDS]: Remove conditional code.
41361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41362 <kernel-features.h>.
41363 [__ASSUME_32BITUIDS]: Make code unconditional.
41364 [!__ASSUME_32BITUIDS]: Remove conditional code.
41365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41366 <kernel-features.h>.
41367 [__ASSUME_32BITUIDS]: Make code unconditional.
41368 [!__ASSUME_32BITUIDS]: Remove conditional code.
41369 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41370 <kernel-features.h>.
41371 [__ASSUME_32BITUIDS]: Make code unconditional.
41372 [!__ASSUME_32BITUIDS]: Remove conditional code.
41373 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41374 <kernel-features.h>.
41375 [__NR_setresgid] (__setresgid): Do not declare.
41376 [__ASSUME_32BITUIDS]: Make code unconditional.
41377 [!__ASSUME_32BITUIDS]: Remove conditional code.
41378 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41379 <kernel-features.h>.
41380 [__NR_setresuid] (__setresuid): Do not declare.
41381 [__ASSUME_32BITUIDS]: Make code unconditional.
41382 [!__ASSUME_32BITUIDS]: Remove conditional code.
41383 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41384 <kernel-features.h>.
41385 [__ASSUME_32BITUIDS]: Make code unconditional.
41386 [!__ASSUME_32BITUIDS]: Remove conditional code.
41387 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41388 <kernel-features.h>.
41389 [__ASSUME_32BITUIDS]: Make code unconditional.
41390 [!__ASSUME_32BITUIDS]: Remove conditional code.
41391 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41392 <kernel-features.h>.
41393 [__ASSUME_32BITUIDS]: Make code unconditional.
41394 [!__ASSUME_32BITUIDS]: Remove conditional code.
41395 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41396 <kernel-features.h>.
41397 [__ASSUME_32BITUIDS]: Make code unconditional.
41398 [!__ASSUME_32BITUIDS]: Remove conditional code.
41399 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41400 <kernel-features.h>.
41401 [__ASSUME_32BITUIDS]: Make code unconditional.
41402 [!__ASSUME_32BITUIDS]: Remove conditional code.
41403 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41404 <kernel-features.h>.
41405 [__ASSUME_32BITUIDS]: Make code unconditional.
41406 [!__ASSUME_32BITUIDS]: Remove conditional code.
41407 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41408 <kernel-features.h>.
41409 [__ASSUME_32BITUIDS]: Make code unconditional.
41410 [!__ASSUME_32BITUIDS]: Remove conditional code.
41411 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41412 <kernel-features.h>.
41413 [__ASSUME_32BITUIDS]: Make code unconditional.
41414 [!__ASSUME_32BITUIDS]: Remove conditional code.
41415 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41416 <kernel-features.h>.
41417 [__ASSUME_32BITUIDS]: Make code unconditional.
41418 [!__ASSUME_32BITUIDS]: Remove conditional code.
41419 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41420 <kernel-features.h>.
41421 [__ASSUME_32BITUIDS]: Make code unconditional.
41422 [!__ASSUME_32BITUIDS]: Remove conditional code.
41423 * sysdeps/unix/sysv/linux/kernel-features.h
41424 (__ASSUME_SETRESUID_SYSCALL): Remove.
41425 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41426 (__ASSUME_32BITUIDS): Likewise.
41427 (__ASSUME_LDT_WORKS): Likewise.
41428 (__ASSUME_O_DIRECTORY): Likewise.
41429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41430 architecture but not kernel version.
41431 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41432 (__ASSUME_MMAP2_SYSCALL): Likewise.
41433 (__ASSUME_STAT64_SYSCALL): Likewise.
41434 (__ASSUME_IPC64): Likewise.
41435 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41436 <kernel-features.h>.
41437 [__ASSUME_32BITUIDS]: Make code unconditional.
41438 [!__ASSUME_32BITUIDS]: Remove conditional code.
41439 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41440 <kernel-features.h>.
41441 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41442 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41443 132096]: Remove conditional code.
41444 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41446 <kernel-features.h>.
41447 [__ASSUME_32BITUIDS]: Make code unconditional.
41448 [!__ASSUME_32BITUIDS]: Remove conditional code.
41449 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41450 <kernel-features.h>.
41451 [__ASSUME_32BITUIDS]: Make code unconditional.
41452 [!__ASSUME_32BITUIDS]: Remove conditional code.
41453 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41454 <kernel-features.h>.
41455 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41456 unconditional.
41457 (__setresgid): Do not declare.
41458 [__ASSUME_32BITUIDS]: Make code unconditional.
41459 [!__ASSUME_32BITUIDS]: Remove conditional code.
41460 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41461 <kernel-features.h>.
41462 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41463 unconditional.
41464 (__setresuid): Do not declare.
41465 [__ASSUME_32BITUIDS]: Make code unconditional.
41466 [!__ASSUME_32BITUIDS]: Remove conditional code.
41467 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
41472 <kernel-features.h>.
41473 [__ASSUME_32BITUIDS]: Make code unconditional.
41474 [!__ASSUME_32BITUIDS]: Remove conditional code.
41475
a386f1cc
RH
414762012-05-25 Richard Henderson <rth@twiddle.net>
41477
41478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41479 dl_hwcap to ifunc resolver.
41480 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41481 elf_ifunc_invoke.
41482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41483 dl_hwcap to ifunc resolver.
41484 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41485
b6550497
JM
414862012-05-24 Joseph Myers <joseph@codesourcery.com>
41487
41488 [BZ #14153]
41489 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41490 for |x| <= 2**-26, not 2**-57.
41491 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41492 exception.
41493
b0bc23a1
JL
414942012-05-24 Jeff Law <law@redhat.com>
41495
41496 * stdio-common/Makefile (tests): Add bug25.
41497 * stdio-common/bug25.c: New test.
41498
347c92e9
L
414992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41500
41501 [BZ #13576]
41502 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41503 multiple of MALLOC_ALIGNMENT in size.
41504 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41505
6bcc8b3f
JM
415062012-05-24 Joseph Myers <joseph@codesourcery.com>
41507
41508 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41509 Require >= 256.
41510 (FILENAME_MAX): Use macro-int-constant.
41511 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41512 (_IOFBF): Use macro-int-constant.
41513 (_IOLBF): Likewise.
41514 (_IONBF): Likewise.
41515 (SEEK_CUR): Likewise.
41516 (SEEK_END): Likewise.
41517 (SEEK_SET): Likewise.
41518 (TMP_MAX): Likewise.
41519 (EOF): Use macro-int-constant. Require < 0.
41520 (NULL): Use macro-constant. Require == 0.
41521 (stdin): Require type to be FILE *.
41522 (stdout): Likewise.
41523 (stderr): Likewise.
41524 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41525 macro-int-constant.
41526 (EXIT_SUCCESS): Likewise.
41527 (NULL): Use macro-constant. Require == 0.
41528 (RAND_MAX): Use macro-int-constant.
41529 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41530 [C99-based standards] (strtof): Require function.
41531 [C99-based standards] (strtold): Likewise.
41532 [C99-based standards] (strtoll): Likewise.
41533 [C99-based standards] (strtoull): Likewise.
41534 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41535 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41536 [ISO || ISO99 || ISO11] (math.h): Likewise.
41537 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41538 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41540
d18ea0c5
AS
415412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41542
41543 [BZ #14132]
56d25bb8
AS
41544 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41545 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41546 * intl/dgettext.c (DCGETTEXT): Likewise.
41547 * intl/gettext.c (DCGETTEXT): Likewise.
41548 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41549 * posix/regex_internal.h (gettext): Likewise.
41550 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41551 Remove declaration.
41552 * include/argz.h (__argz_count_internal)
41553 (__argz_stringify_internal): Remove declaration.
41554 (__argz_count, __argz_stringify): Declare hidden proto.
41555 * intl/dcgettext.c: Remove use of INTDEF.
41556 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41557 * string/argz-stringify.c: Likewise.
41558 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41559 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41560 Declare hidden proto.
d18ea0c5
AS
41561 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41562 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41563 Declare hidden proto.
41564 * include/stdio.h (__asprintf_internal): Don't declare.
41565 (__asprintf): Don't define as macro. Declare hidden proto.
41566 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41567 (__fsetlocking): Declare hidden proto.
41568 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41569 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41570 hidden proto.
41571 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41572 (_IO_setlinebuf): Remove use of INTUSE.
41573 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41574 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41575 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41576 Remove declaration.
41577 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41578 (_IO_do_flush): Remove use of INTUSE.
41579 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41580 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41581 (_IO_adjust_column, _IO_least_wmarker)
41582 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41583 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41584 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41585 (_IO_default_doallocate, _IO_wdefault_doallocate)
41586 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41587 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41588 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41589 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41590 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41591 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41592 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41593 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41594 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41595 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41596 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41597 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41598 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41599 proto.
41600 (_IO_flush_all_internal, _IO_adjust_column_internal)
41601 (_IO_default_uflow_internal, _IO_default_finish_internal)
41602 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41603 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41604 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41605 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41606 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41607 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41608 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41609 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41610 (_IO_file_close_internal, _IO_file_close_it_internal)
41611 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41612 (_IO_file_init_internal, _IO_file_attach_internal)
41613 (_IO_file_fopen_internal, _IO_file_read_internal)
41614 (_IO_file_sync_internal, _IO_file_seek_internal)
41615 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41616 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41617 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41618 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41619 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41620 (_IO_list_all_internal, _IO_link_in_internal)
41621 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41622 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41623 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41624 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41625 (_IO_do_write_internal, _IO_padn_internal)
41626 (_IO_getline_info_internal, _IO_getline_internal)
41627 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41628 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41629 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41630 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41631 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41632 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41633 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41634 with libc_hidden_ver, remove use of INTUSE.
41635 * libio/genops.c: Likewise.
41636 * libio/freopen.c: Likewise.
41637 * libio/freopen64.c: Likewise.
41638 * libio/iofclose.c: Likewise.
41639 * libio/iofdopen.c: Likewise.
41640 * libio/iofflush.c: Likewise.
41641 * libio/iofflush_u.c: Likewise.
41642 * libio/iofgets.c: Likewise.
41643 * libio/iofgets_u.c: Likewise.
41644 * libio/iofopen.c: Likewise.
41645 * libio/iofopncook.c: Likewise.
41646 * libio/iofread.c: Likewise.
41647 * libio/iofread_u.c: Likewise.
41648 * libio/ioftell.c: Likewise.
41649 * libio/iofwrite.c: Likewise.
41650 * libio/iogetline.c: Likewise.
41651 * libio/iogets.c: Likewise.
41652 * libio/iogetwline.c: Likewise.
41653 * libio/iopadn.c: Likewise.
41654 * libio/iopopen.c: Likewise.
41655 * libio/ioseekoff.c: Likewise.
41656 * libio/ioseekpos.c: Likewise.
41657 * libio/iosetbuffer.c: Likewise.
41658 * libio/iosetvbuf.c: Likewise.
41659 * libio/ioungetc.c: Likewise.
41660 * libio/ioungetwc.c: Likewise.
41661 * libio/iovdprintf.c: Likewise.
41662 * libio/iovsprintf.c: Likewise.
41663 * libio/iovsscanf.c: Likewise.
41664 * libio/memstream.c: Likewise.
41665 * libio/obprintf.c: Likewise.
41666 * libio/oldfileops.c: Likewise.
41667 * libio/oldiofclose.c: Likewise.
41668 * libio/oldiofdopen.c: Likewise.
41669 * libio/oldiofopen.c: Likewise.
41670 * libio/oldiopopen.c: Likewise.
41671 * libio/oldstdfiles.c: Likewise.
41672 * libio/putc.c: Likewise.
41673 * libio/setbuf.c: Likewise.
41674 * libio/setlinebuf.c: Likewise.
41675 * libio/stdfiles.c: Likewise.
41676 * libio/strops.c: Likewise.
41677 * libio/vasprintf.c: Likewise.
41678 * libio/vscanf.c: Likewise.
41679 * libio/vsnprintf.c: Likewise.
41680 * libio/vswprintf.c: Likewise.
41681 * libio/wfiledoalloc.c: Likewise.
41682 * libio/wfileops.c: Likewise.
41683 * libio/wgenops.c: Likewise.
41684 * libio/wmemstream.c: Likewise.
41685 * libio/wstrops.c: Likewise.
41686 * libio/__fpurge.c: Likewise.
41687 * libio/__fsetlocking.c: Likewise.
41688 * assert/assert.c: Likewise.
41689 * debug/fgets_chk.c: Likewise.
41690 * debug/fgets_u_chk.c: Likewise.
41691 * debug/fread_chk.c: Likewise.
41692 * debug/fread_u_chk.c: Likewise.
41693 * debug/gets_chk.c: Likewise.
41694 * debug/obprintf_chk.c: Likewise.
41695 * debug/vasprintf_chk.c: Likewise.
41696 * debug/vdprintf_chk.c: Likewise.
41697 * debug/vsnprintf_chk.c: Likewise.
41698 * debug/vsprintf_chk.c: Likewise.
41699 * malloc/mtrace.c: Likewise.
41700 * misc/error.c: Likewise.
41701 * misc/syslog.c: Likewise.
41702 * stdio-common/asprintf.c: Likewise.
41703 * stdio-common/fxprintf.c: Likewise.
41704 * stdio-common/getw.c: Likewise.
41705 * stdio-common/isoc99_fscanf.c: Likewise.
41706 * stdio-common/isoc99_scanf.c: Likewise.
41707 * stdio-common/isoc99_vfscanf.c: Likewise.
41708 * stdio-common/isoc99_vscanf.c: Likewise.
41709 * stdio-common/isoc99_vsscanf.c: Likewise.
41710 * stdio-common/printf-prs.c: Likewise.
41711 * stdio-common/printf_fp.c: Likewise.
41712 * stdio-common/printf_fphex.c: Likewise.
41713 * stdio-common/printf_size.c: Likewise.
41714 * stdio-common/putw.c: Likewise.
41715 * stdio-common/scanf.c: Likewise.
41716 * stdio-common/sprintf.c: Likewise.
41717 * stdio-common/tmpfile.c: Likewise.
41718 * stdio-common/vfprintf.c: Likewise.
41719 * stdio-common/vfscanf.c: Likewise.
41720 * stdlib/strfmon_l.c: Likewise.
41721 * sunrpc/openchild.c: Likewise.
41722 * sunrpc/xdr_stdio.c: Likewise.
41723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41724 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41725
d6c33fda
RM
417262012-05-24 Roland McGrath <roland@hack.frob.com>
41727
c1487492
RM
41728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41729
41730 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41731 in the third column, to generate for the shared library an IFUNC
41732 that uses _dl_vdso_vsym.
41733 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41734 * Makeconfig (object-suffixes-noshared): New variable.
41735
41736 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41737 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41738 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41739 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41740
d6c33fda
RM
41741 [BZ #14132]
41742 * include/sys/time.h (__gettimeofday): Remove macro.
41743 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41744 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41745 Remove INTDEF.
41746 (__gettimeofday): Add libc_hidden_def.
41747 (gettimeofday): Add libc_hidden_weak.
41748 * sysdeps/mach/gettimeofday.c: Likewise.
41749 * sysdeps/posix/gettimeofday.c: Likewise.
41750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41751 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41753 (__gettimeofday_internal): Remove strong_alias.
41754 (__gettimeofday): Add libc_hidden_def.
41755 (gettimeofday): Add libc_hidden_weak.
41756 * sysdeps/unix/syscalls.list (gettimeofday):
41757 Remove __gettimeofday_internal alias.
41758
b5a2bbe6
L
417592012-05-24 Daniel Jacobowitz <drow@false.org>
41760 H.J. Lu <hongjiu.lu@intel.com>
41761
41762 [BZ #12495]
41763 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41764 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41765 (largebin_index_32_big): New.
41766 (largebin_index): Use it for 16-byte alignment.
41767 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41768 correction with front_misalign.
41769
cfba4fda
L
417702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41771
7f907421
L
41772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41774 Likewise.
41775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41776 Likewise.
41777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41778 Likewise.
41779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41780 Likewise.
41781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41782 Likewise.
41783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41784 Likewise.
41785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41786 Likewise.
41787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41788 Likewise.
41789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41790 Likewise.
41791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41792 Likewise.
41793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41794 Likewise.
41795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41796 Likewise.
41797
cfba4fda
L
41798 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41799 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41800
80bad0cc
JM
418012012-05-24 Joseph Myers <joseph@codesourcery.com>
41802
7a25eb06
JM
41803 [BZ #10846]
41804 [BZ #14036]
41805 * math/libm-test.inc (exp_test): Add test from bug 14036.
41806 (pow_test): Add test from bug 10846.
41807
795405f9
JM
41808 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41809 and other flags.
41810 (special_function): Do not include flags in test name.
41811 (parse_args): Likewise.
41812 * sysdeps/i386/fpu/libm-test-ulps: Update.
41813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817
80bad0cc
JM
41818 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41819 exceptions.
41820 * math/libm-test.inc ("Philosophy"): Update comment about
41821 exception testing.
41822 (UNDERFLOW_EXCEPTION): New macro.
41823 (UNDERFLOW_EXCEPTION_OK): Likewise.
41824 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41825 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41826 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41827 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41828 (INVALID_EXCEPTION_OK): Update value.
41829 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41830 (OVERFLOW_EXCEPTION_OK): Likewise.
41831 (IGNORE_ZERO_INF_SIGN): Likewise.
41832 (test_exceptions): Handle underflow exceptions.
41833 (acos_test): Update for underflow exception expectations.
41834 (cexp_test): Likewise.
41835 (clog_test): Likewise.
41836 (clog10_test): Likewise.
41837 (csqrt_test): Likewise.
41838 (ctan_test): Likewise.
41839 (ctanh_test): Likewise.
41840 (exp_test): Likewise.
41841 (exp10_test): Likewise.
41842 (exp2_test): Likewise.
41843 (expm1_test): Likewise.
41844 (fma_test): Likewise.
41845 (j0_test): Likewise.
41846 (jn_test): Likewise.
41847 (nexttoward_test): Likewise.
41848 (pow_test): Likewise.
41849 (scalbn_test): Likewise.
41850 (scalbln_test): Likewise.
41851 (tan_test): Likewise.
41852 (y1_test): Likewise.
41853 * sysdeps/i386/fpu/libm-test-ulps: Update.
41854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855
9e0e3d0b
DM
418562012-05-23 David S. Miller <davem@davemloft.net>
41857
41858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41859 (__libc_sigaction): Remove unused local variables.
41860
ccd0a08f
L
418612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41862
41863 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41864
62bdf9a6
PE
418652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41866
f8591f80
PE
41867 mktime: avoid signed integer overflow
41868 * time/mktime.c (__mktime_internal): Do not mishandle the case
41869 where diff == INT_MIN.
41870
94c7d826
PE
41871 mktime: simplify computation of average
41872 * time/mktime.c (ranged_convert): Use new time_t_avg function
41873 instead of rolling our own (probably-slower) code.
41874
ce73d683
PE
41875 mktime: do not assume signed right shift propagates sign bit
41876 * time/mktime.c (isdst_differ): New static function.
41877 (__mktime_internal): No need to normalize tm_isdst now.
41878 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41879 tm_isdst values.
41880
72a22e59
PE
41881 mktime: merge another wrapv change from gnulib
41882 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41883 from some compilers.
41884
68605433
PE
41885 mktime: remove incorrect attempt at unusual arithmetics
41886 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41887 The code didn't really work on such machines anyway.
41888 (TYPE_MINIMUM): Assume two's complement.
41889 (twos_complement_arithmetic): Verify that long_int and time_t
41890 are two's complement (or unsigned, in the latter case).
41891
03cf7fe3
PE
41892 mktime: check signed shifts on long_int and time_t, too
41893 * time/mktime.c (SHR): Check that shifts work as desired
41894 on the types long_int and time_t too, as SHR is used on
41895 such types.
41896
f04dfbc2
PE
41897 mktime: do not assume 'long' is wide enough
41898 * time/mktime.c (verify): Move decl up.
41899 (long_int): New type.
41900 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41901 to remove assumption in the code that 'long' is wide enough to
41902 store year values. This assumption is not true on x32 and on
41903 some non-glibc platforms.
41904
62bdf9a6
PE
41905 mktime: merge wrapv change from gnulib
41906 * time/mktime.c (WRAPV): New macro.
41907 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41908 (guess_time_tm, __mktime_internal): Do not assume that signed
41909 integer overflow wraps around; modern compilers generate code
41910 where this assumption is no longer valid.
41911
5e292e4f
L
419122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41913
41914 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41915 Replace "jmp L(pseudo_end)" with "ret".
41916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41917 Likewise.
41918
8caf8c87
AJ
419192012-05-23 Andreas Jaeger <aj@suse.de>
41920
41921 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41922 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41923
1a09dc56
AJ
419242012-05-23 Andreas Jaeger <aj@suse.de>
41925 Maximilian Attems <max@stro.at>
41926
41927 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41928 New macros.
41929
1c87aba0
L
419302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41931
41932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41933 code so that pseudo_end is just ret and the stack pointer is
41934 correct also for static library in error case.
41935
40e45bd5
JM
419362012-05-23 Joseph Myers <joseph@codesourcery.com>
41937
c2670533
JM
41938 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41939 move to syscalls.list.
41940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41944
40e45bd5
JM
41945 * manual/install.texi (Running make install): Do not mention Linux
41946 kernel version for which pt_chown is not needed.
41947 (Linux): Do not mention problems with nscd with 2.0 kernels.
41948 * INSTALL: Regenerated.
41949
be08eda5
AJ
419502012-05-23 Andreas Jaeger <aj@suse.de>
41951
41952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41953 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41954 macro.
41955 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41957 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41959 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41964 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41965 * sysdeps/unix/sysv/linux/bits/in.h
41966 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41967
a6a056bb
RM
419682012-05-22 Roland McGrath <roland@hack.frob.com>
41969
41970 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41971 (PREPARE_VERSION): Just use assert instead, it will be elided
41972 under [NDEBUG] anyway.
41973
c9009328
L
419742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41975
41976 * sysdeps/unix/sysv/linux/Makefile: Include
41977 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41978 (sysdep_routines): Remove sysctl.
c9009328
L
41979 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41980 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41981 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41982 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41983 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41984
73338355
AJ
419852012-05-22 Andreas Jaeger <aj@suse.de>
41986
41987 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41988 that pseudo_end is just ret and the stack pointer is correct also
41989 for static library in error case.
41990
d44638b0
PP
419912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41992
41993 [BZ #14122]
41994 * nss/nsswitch.c (defconfig_entries): New variable.
41995 (__nss_database_lookup): Don't leak defconfig entries.
41996 (nss_parse_service_list): Don't leak on error paths.
41997 (free_database_entries): New function.
41998 (free_defconfig): New function.
41999 (free_mem): Move common code to free_database_entries.
42000
31a39bd8
L
420012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42002
da0331a8
L
42003 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42004 Add arch_prctl.
42005 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42006
31a39bd8
L
42007 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42008 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42010 New macro.
42011 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42012 (INTERNAL_SYSCALL_TYPES): Likewise.
42013 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42014 (LOAD_REGS_TYPES_[1-6]): Likewise.
42015 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42016 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42017
45470df3
AZ
420182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42019
42020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42021 copysignl for GLIBC_2_0.
42022 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42023 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42025 logbl for GLIBC_2_0.
42026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42027 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42028
98a61bcb
L
420292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42030
a4f6e481
L
42031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42033
f63d5db6
L
42034 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42035 Use "neg %eax".
42036
98a61bcb
L
42037 * time/mktime.c: Update copyright years.
42038
95770f14
PE
420392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42040
6226efbd
PE
42041 mktime: merge comment-quoting-style change from gnulib
42042 * time/mktime.c: Quote 'like this' in comments.
42043 The GNU coding standards suggest that we no longer quote `like this',
42044 as "`" and "'" are typically rendered asymmetrically nowadays.
42045 The typical gnulib style is to quote 'like this' when quoting
42046 code, and "like this" when quoting English.
42047
b99e4f78
PE
42048 * time/mktime.c (compile-command): Add "-I.".
42049
643e01e6
PE
42050 mktime: merge mktime-internal.h change from gnulib
42051 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42052
2554247d
PE
42053 mktime: merge time_r change from gnulib
42054 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42055
826dd0ab
PE
42056 mktime: merge DEBUG change from gnulib
42057 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42058 case system <time.h> has a #define.
42059
bd83aabe
PE
42060 mktime: merge <sys/types.h> change from gnulib
42061 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42062 since <time.t> is now guaranteed to define time_t.
42063
95770f14
PE
42064 mktime: merge HAVE_CONFIG_H change from gnulib
42065 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42066
5e1a27a9
L
420672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42068
0e44a77e
L
42069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42070 Use "neg %eax".
42071
5e1a27a9
L
42072 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42073 __rlim_t cast.
42074 (struct rusage): Use anonymous union to pad each field to
42075 __syscall_slong_t.
42076
46259bec
DM
420772012-05-21 David S. Miller <davem@davemloft.net>
42078
42079 * Makefules (o-iterator): Remove .s cases.
42080 (compile-command.s): Delete.
42081 (COMPILE.s): Delete.
42082 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42083
59f0c22e
JM
420842012-05-21 Joseph Myers <joseph@codesourcery.com>
42085
42086 * configure.in (libc_cv_predef_stack_protector): Only consider
42087 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42088 * configure: Regenerated.
42089
20c07380
L
420902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42091
bbb3154b
L
42092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42093 New macro. Use R*LP on int and pointer.
42094 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42095 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42096 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42097 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42098
20c07380
L
42099 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42100 [__WORDSIZE_TIME64_COMPAT32] instead of
42101 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42102 (struct utmp): Likewise.
42103 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42104 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42105 Renamed to ...
42106 (__WORDSIZE_TIME64_COMPAT32): This.
42107 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42108 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42109 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42110 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42112 (__WORDSIZE_TIME64_COMPAT32): New macro.
42113
d8d1017e
AJ
421142012-05-21 Andreas Jaeger <aj@suse.de>
42115
42116 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42117 only if [SHARED]. Add prototype for __wcschr_ia32.
42118
6c7fb145
RM
421192012-05-21 Roland McGrath <roland@hack.frob.com>
42120
42121 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42122 of %rbp unmolested in the jmp_buf while mangling the low bits.
42123 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42124 unmolested high bits of %rbp while demangling the low bits.
42125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42126
66274218
AJ
421272012-05-21 Andreas Jaeger <aj@suse.de>
42128
07c58f8f
AJ
42129 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42130 * sunrpc/svc_simple.c: Use it for registerrpc.
42131 * sunrpc/xcrypt.c: Use it for passwd2des.
42132
66274218
AJ
42133 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42134
61f65140
L
421352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42138 Don't define if [__SYSCALL_WORDSIZE != 32].
42139 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42140 New macro.
42141
5fefb436
AJ
421422012-05-21 Bruno Haible <bruno@clisp.org>
42143 Andreas Jaeger <aj@suse.de>
42144
42145 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42146 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42147 inptr and inend for must_buffer_ch.
42148 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42149 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42150 * stdio-common/Makefile (tests): Remove bug15.
42151 (bug15-ENV): Remove macro.
42152 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42153 anymore.
42154
d8e272ab
AJ
421552012-05-19 Andreas Jaeger <aj@suse.de>
42156 Roland McGrath <roland@hack.frob.com>
42157
42158 * manual/contrib.texi: Completely rewritten. It contains now an
42159 alphabetical list of contributors and their contributions.
42160
4a56a162
RH
421612012-05-21 Richard Henderson <rth@twiddle.net>
42162
42163 * misc/getauxval.c (__getauxval): Use unsigned long int.
42164 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42165 (getauxval): Use unsigned long int.
42166
d024d23c
L
421672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42168
42169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42170
cbc00a03
RM
421712012-05-21 Roland McGrath <roland@hack.frob.com>
42172
42173 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42174 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42175 __alignof__ (long double).
42176
478143fa
AZ
421772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42178
42179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42180
c7683a6d
RH
421812012-05-20 Richard Henderson <rth@twiddle.net>
42182
42183 * misc/getauxval.c: New file.
42184 * misc/sys/auxv.h: New file.
42185 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42186 (routines): Add getauxval.
42187 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42189 * elf/dl-sysdep.c (_dl_auxv): Remove.
42190 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42191 * elf/dl-support.c (_dl_auxv): New variable.
42192 (_dl_aux_init): Initialize it.
42193 * manual/startup.texi (Auxiliary Vector): New node.
42194 * sysdeps/generic/bits/hwcap.h: New file.
42195 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42196 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42197 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42198 * sysdeps/sparc/sysdep.h: ... here. Include it.
42199 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42202 Update.
c7683a6d
RH
42203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42211
a6f1845d
AZ
422122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42213
42214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42215
cbcbe830
DM
422162012-05-19 David S. Miller <davem@davemloft.net>
42217
42218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42219
e0b16cc2
JM
422202012-05-19 Joseph Myers <joseph@codesourcery.com>
42221
42222 [BZ #14123]
42223 * math/s_ccosh.c: Include <float.h>
42224 (__ccosh): Avoid internal overflow calculating sinh and cosh
42225 values before multiplying by sin and cos values.
42226 * math/s_ccoshf.c: Likewise.
42227 * math/s_ccoshl.c: Likewise.
42228 * math/s_csin.c: Likewise.
42229 * math/s_csinf.c: Likewise.
42230 * math/s_csinl.c: Likewise.
42231 * math/s_csinh.c: Likewise.
42232 * math/s_csinhf.c: Likewise.
42233 * math/s_csinhl.c: Likewise.
42234 * math/libm-test.inc (ccos_test): Add more tests.
42235 (ccosh_test): Likewise.
42236 (csin_test): Likewise.
42237 (csinh_test): Likewise.
42238 * sysdeps/i386/fpu/libm-test-ulps: Update.
42239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42240
6ad13e08
L
422412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42242
f66f0ce8
L
42243 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42244 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42245
6ad13e08
L
42246 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42247
b1d072a7
JM
422482012-05-19 Joseph Myers <joseph@codesourcery.com>
42249
42250 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42251 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42252 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42253 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42254 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42255 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42256 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42257 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42258 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42259 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42260 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42261 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42262 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42263 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42264 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42265 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42266 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42267 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42268 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42269 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42270 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42271 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42272 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42273 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42274 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42275 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42276 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42277 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42278 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42279 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42280 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42281
9eae47cb
AJ
422822012-05-18 Andreas Jaeger <aj@suse.de>
42283
42284 * csu/.gitignore: Delete.
42285
bb07f69f
L
422862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42287
42288 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42289 (timex): Use __syscall_slong_t.
42290
e6bdb741
AJ
422912012-05-18 Andreas Jaeger <aj@suse.de>
42292 Carlos O'Donell <carlos_odonell@mentor.com>
42293
42294 * manual/install.texi (Configuring and compiling): Update
42295 description about files modified in the source directory.
d6c33fda 42296 * INSTALL: Regenerated.
e6bdb741 42297
1b74487e
L
422982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42299
42300 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42301 value. Use "or" to set return value to -1.
42302 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42303 negate return value.
42304
a88b64b9
TMQMF
423052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42306
57f41c40
AS
42307 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42308 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42309 failure if the compiler has Graphite support disabled.
42310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42311 Likewise.
57f41c40
AS
42312 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42313 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42315 Likewise.
42316
3707636e
L
423172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42318
610b8622
L
42319 * sysdeps/x86_64/x32/_itoa.h: New file.
42320
7cd195df
L
42321 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42322 getdents system call only if kernel and user dirents have the
42323 same d_ino and d_off.
42324
94b07d20
L
42325 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42326 LLONG_MAX != LONG_MAX.
42327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42328 (_fitoa_word): Likewise.
42329
18298070
L
42330 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42331 years.
42332 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42335
553c7ea4
L
42336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42337 include <bits/wordsize.h>. Check __x86_64__ instead of
42338 __WORDSIZE.
42339 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42340 if __x86_64__ is defined. Use anonymous union on fpstate.
42341
3707636e
L
42342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42343 anonymous union.
42344
b53ef01a
AS
423452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42346
37fb1dc0
AS
42347 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42348 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42350 Refer to _rtld_local_ro instead of _rtld_global_ro.
42351 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42352 Likewise.
42353 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42354 Likewise.
42355 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42356 Likewise.
42357 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42358 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42359 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42360
b53ef01a
AS
42361 * sysdeps/powerpc/powerpc32/dl-machine.c
42362 (__elf_machine_runtime_setup) [PROF]: Don't reference
42363 _dl_prof_resolve.
42364
7a185db2
AJ
423652012-05-18 Andreas Jaeger <aj@suse.de>
42366
42367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42368 function only available for GCCs before 3.4 since GCC 3.4
42369 introduced a builtin.
42370 (lrint): Likewise.
42371 (llrintf): Likewise.
42372 (llrint): Likewise.
42373 (fmaxf): Likewise.
42374 (fmax): Likewise.
42375 (fminf): Likewise.
42376 (fmin): Likewise.
42377 (rint): Likewise.
42378 (rintf): Likewise.
42379 (nearbyint): Likewise.
42380 (nearbyintf): Likewise.
42381 (ceil): Likewise.
42382 (ceilf): Likewise.
42383 (floor): Likewise.
42384 (floorf): Likewise.
42385
3e5aef87
L
423862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42387
428bd707
L
42388 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42389 on both fields and cast pointer to __syscall_ulong_t.
42390
3e5aef87
L
42391 * bits/types.h (__fsword_t): New type.
42392 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42393 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42395 (__FSWORD_T_TYPE): Likewise.
42396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42397 (__FSWORD_T_TYPE): Likewise.
42398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42399 (__FSWORD_T_TYPE): Likewise.
42400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42401 (__FSWORD_T_TYPE): Likewise.
42402 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42403 __SWORD_TYPE with __fsword_t.
42404 (statfs64): Likewise.
42405
1ba7c3dc
DM
424062012-05-17 David S. Miller <davem@davemloft.net>
42407
42408 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42409
59910343
AJ
424102012-05-17 Andreas Jaeger <aj@suse.de>
42411
42412 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42413 warning.
42414
2e4c1e9e
L
424152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42416
42417 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42418
de7f5ce7
AJ
424192012-05-17 Andreas Jaeger <aj@suse.de>
42420
42421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42422 when it is used.
42423
286abc3d
CM
424242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42425
42426 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42427
477cc68e
L
424282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42429
42430 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42431 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42432
1a0994f5
CD
424332012-05-17 Andreas Jaeger <aj@suse.de>
42434 Carlos O'Donell <carlos_odonell@mentor.com>
42435
42436 [BZ #14059]
42437 * sysdeps/x86_64/multiarch/init-arch.h
42438 (bit_YMM_Usable): Rename to...
42439 (bit_AVX_Usable): ... this.
42440 (bit_FMA4_Usable): New macro.
42441 (bit_XMM_state): New macro.
42442 (bit_YMM_state): New macro.
42443 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42444 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42445 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42446 (CPUID_OSXSAVE): New macro.
42447 (CPUID_AVX): New macro.
42448 (CPUID_FMA4): New macro.
42449 (index_YMM_Usable): Rename to...
42450 (index_AVX_Usable): ... this.
42451 (HAS_AVX): Use HAS_ARCH_FEATURE.
42452 (HAS_FMA4): Likewise.
42453 (HAS_YMM_USABLE): Remove.
42454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42455 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42456 are present.
42457 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42458 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42459 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42460 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42461 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42462
0af797de
CM
424632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42464
42465 * math/libm-test.c: Support platforms without multiple rounding modes.
42466 * math/bug-nextafter.c: Support platforms without FP exceptions.
42467 * math/bug-nexttoward.c: Likewise.
42468 * math/test-fenv.c: Likewise.
42469 * math/test-misc.c: Likewise.
42470 * stdlib/bug-getcontext.c: Likewise.
42471
e39745ff
AJ
424722012-05-17 Andreas Jaeger <aj@suse.de>
42473
42474 * manual/examples/search.c (critter_cmp): Change signature to
42475 avoid warnings.
42476 * manual/string.texi (Collation Functions): Likewise.
42477
48970aba
L
424782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42479
42480 * bits/types.h: Fold copyright years.
42481 * bits/typesizes.h: Likewise.
42482 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42486 * time/time.h: Likewise.
42487
bedee953
PP
424882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42489
42490 [BZ #208]
42491 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42492 in instead of returning them. Return void.
42493 (__libc_mallinfo): Accumulate over all arenas.
42494 (__malloc_stats): Adjust for change in int_mallinfo interface.
42495
61653dfb
RM
424962012-05-16 Roland McGrath <roland@hack.frob.com>
42497
30b99d79
RM
42498 [BZ #10375]
42499 * configure.in (NM): Add AC_CHECK_TOOL for it.
42500 (libc_extra_cflags): New substituted variable.
42501 Check for -fstack-protector being used implicitly.
42502 * configure: Regenerated.
42503 * config.make.in (config-extra-cflags): New variable,
42504 gets @libc_extra_cflags@.
42505 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42506
61653dfb
RM
42507 [BZ #10375]
42508 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42509 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42510 * configure: Regenerated.
42511 * config.make.in (CPPUNDEFS): New substituted variable.
42512 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42513 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42514 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42515
661768bb
L
425162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42517
42518 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42519 (mq_attr): Use __syscall_slong_t.
42520
d4261567
L
425212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42524 Check __x86_64__ instead of __WORDSIZE.
42525 (_STAT_VER_LINUX): Likewise.
42526 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42527 __syscall_ulong_t and __syscall_slong_t.
42528 (stat64): Likewise.
42529
cf3ff365
L
425302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42531
42532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42533
76cf3e4d
L
425342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42535
42536 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42537
a637753a
L
425382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42541 __syscall_ulong_t.
42542
d5e05119
L
42543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42544 include <bits/wordsize.h>. Check __x86_64__ instead of
42545 __WORDSIZE.
42546 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42547 defined.
42548 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42549
f62ee380
L
42550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42551 include <bits/wordsize.h>. Check __x86_64__ instead of
42552 __WORDSIZE.
42553 (user_regs_struct): Use "__extension__ unsigned long long"
42554 instead of "unsigned long" if __x86_64__ is defined.
42555 (user): Likewise. Pad after pointer field if __ILP32__ is
42556 defined.
42557
4e124ced
JM
425582012-05-16 Joseph Myers <joseph@codesourcery.com>
42559
6a3951a0
JM
42560 * configure.in (makeinfo): Require version 4.5 or later. Allow
42561 versions 5 to 9.
42562 * configure: Regenerated.
42563 * manual/install.texi (texinfo): Increase version requirement to
42564 4.5 or later.
42565 * INSTALL: Regenerated.
42566
4e124ced
JM
42567 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42568
953ca31a
L
425692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42570
42571 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42572
617aca05
L
42573 * sysdeps/x86_64/x32/ffs.c: New file.
42574
5762f7ae
L
42575 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42576 __syscall_ulong_t.
42577 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42578 defined. Use __syscall_ulong_t.
42579 (shminfo): Use __syscall_ulong_t.
42580 (shm_info): Likewise.
42581
a26b6856
L
42582 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42583 __syscall_ulong_t.
42584
cb2b9ef7
L
42585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42586 <bits/wordsize.h>.
42587 (msgqnum_t): Use __syscall_ulong_t.
42588 (msglen_t): Likewise.
42589 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42590 __syscall_ulong_t.
42591
34683bb0
L
42592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42593 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42594
84a68786
L
42595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42596
48baa5f1
L
42597 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42598 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42599
180be88b
L
42600 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42601 __syscall_slong_t.
42602
5e90c8ad
L
42603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42604 include <bits/wordsize.h>. Check __x86_64__ instead of
42605 __WORDSIZE.
42606
23dfb58b
L
42607 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42608 "unsigned long long int" if __x86_64__ is defined.
42609 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42610
ce5d54b0
L
42611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42613 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42614
13dc9eac
L
42615 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42616 <stdint.h>.
42617 (GET_PC): Cast to uintptr_t first.
42618 (GET_FRAME): Likewise.
42619 (GET_STACK): Likewise.
42620
a7895d15
L
42621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42627 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42628 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42629 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42650
656416c9
AS
426512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42652
5bd66283
AS
42653 * Makerules (+depfiles): Also collect depfiles from .oS in
42654 $(extra-objs).
42655 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42656 .oS, $(libnldbl-routines)).
42657
656416c9
AS
42658 * Makerules (native-compile-mkdep-flags): Define.
42659 * sunrpc/Makefile (extra-objs): Add $(addprefix
42660 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42661 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42662 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42663 calling $(make-target-directory).
42664
a46f2169
L
426652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * bits/types.h (__snseconds_t): Removed.
42668 * time/time.h (struct timespec): Replace __snseconds_t with
42669 __syscall_slong_t.
42670 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42671 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42672 Likewise.
42673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42674 (__SNSECONDS_T_TYPE): Likewise.
42675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42676 (__SNSECONDS_T_TYPE): Likewise.
42677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42678 (__SNSECONDS_T_TYPE): Likewise.
42679
6af6528b
L
426802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * sysdeps/mach/hurd/bits/typesizes.h
42683 (__SYSCALL_SLONG_TYPE): New macro.
42684 (__SYSCALL_ULONG_TYPE): Likewise.
42685
de986b56
L
426862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42687
42688 * bits/types.h (__syscall_slong_t): New type.
42689 (__syscall_ulong_t): Likewise.
42690
42691 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42692 (__SYSCALL_ULONG_TYPE): Likewise.
42693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42694 (__SYSCALL_SLONG_TYPE): Likewise.
42695 (__SYSCALL_ULONG_TYPE): Likewise.
42696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42697 (__SYSCALL_SLONG_TYPE): Likewise.
42698 (__SYSCALL_ULONG_TYPE): Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42700 (__SYSCALL_SLONG_TYPE): Likewise.
42701 (__SYSCALL_ULONG_TYPE): Likewise.
42702
85736dc7
L
427032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42706 Add sigaltstack-offsets.sym.
42707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42708 <sigaltstack-offsets.h>.
42709 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42710 longjmp_msg pointer.
42711 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42712 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42713 signal stack.
42714 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42715
cc03b296
JM
427162012-05-15 Joseph Myers <joseph@codesourcery.com>
42717
a9538892
JM
42718 * elf/stackguard-macros.h: Remove file.
42719 * sysdeps/generic/stackguard-macros.h: New file.
42720 * sysdeps/i386/stackguard-macros.h: Likewise.
42721 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42722 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42723 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42724 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42725 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42726 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42727 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42728 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42729 <elf/stackguard-macros.h>.
42730
cc03b296
JM
42731 [BZ #14109]
42732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42733 __aligned__ in attribute.
42734 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42735 (gregset_t): Likewise.
42736
93171016
L
427372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42738
42739 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42740 * sysdeps/x86_64/64/Implies-after: Here. New file.
42741 * sysdeps/x86_64/x32/Implies-after: New file.
42742
d86813a0
L
427432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42744
42745 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42746 and access return value for _dl_profile_fixup. Use R10_LP to
42747 load frame size.
42748
2953ec75
L
427492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42750
42751 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42752
3b550e9e
L
427532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42754
42755 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42756 * sysdeps/x86_64/x32/sysdep.h: New file.
42757
eda41706
L
427582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42759
42760 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42761 * sysdeps/x86_64/setjmp.S: Likewise.
42762
9ea01d93
AZ
427632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42764
42765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42767 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42769 remove unused global constant.
42770
02a91938
CM
427712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42772
42773 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42774 include of <not-cancel.h>.
42775
6540185f
RM
427762012-05-15 Roland McGrath <roland@hack.frob.com>
42777
42778 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42779
509072a0
AJ
427802012-05-15 Jeff Law <law@redhat.com>
42781 Andreas Jaeger <aj@suse.de>
42782
42783 [BZ #13594]
42784 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42785 out from...
42786 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42787 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42789 code changing __hst_map_handle.map.
42790
ba75122d
RM
427912012-05-15 Roland McGrath <roland@hack.frob.com>
42792
42793 * configure.in (sysnames): Look for Implies-before and Implies-after
42794 files.
42795 * configure: Regenerated.
42796
890d8bd8
L
427972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42798
42799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42800 8-byte data alignment with LP_SIZE alignment.
42801
f6ee6623
L
428022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42803
42804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42805 into R10_LP.
42806
ea2626f6
L
428072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42808
42809 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42810
085f715e
L
428112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42812
42813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42814 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42816 Likewise.
42817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42818
be8498fc
L
428192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42820
42821 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42822 (stackinfo_sub_sp): Likewise.
42823
70bc83b9
L
428242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42825
42826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42827 RAX_LP.
42828
9bc0b730
L
428292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42830
42831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42832 into R*_LP.
42833
6d2850e7
L
428342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42835
42836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42837 sizes into R*_LP.
42838
3cb84561
L
428392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42840
42841 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42842
54e2ed81
L
428432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42844
42845 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42846 into R11_LP and load __x86_64_shared_cache_size_half into
42847 R8_LP.
42848
8a17f349
L
428492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42850
42851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42852 R8_LP.
42853
777b1eea
AZ
428542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42855
42856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42857 logb for POWER7.
42858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42859 logbf for POWER7.
42860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42861 logbl for POWER7.
42862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42863 powerpc32/power7/fpu/s_logb.c via #include.
42864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42865 powerpc32/power7/fpu/s_logbf.c via #include.
42866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42867 powerpc32/power7/fpu/s_logbl.c via #include.
42868
d20d4ac2
JM
428692012-05-15 Joseph Myers <joseph@codesourcery.com>
42870
42871 * README.libm: Remove file.
42872
6cdef1ab
L
428732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42874
42875 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42876 count for x32. Use R*_LP and omit operand-size suffix.
42877
0b254d8f
L
428782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42879
42880 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42881 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42882 * sysdeps/x86_64/x32/shlib-versions: New file.
42883
ceb809dc
RM
428842012-05-14 Roland McGrath <roland@hack.frob.com>
42885
42886 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42887 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42888 Use _dl_fatal_printf instead.
42889
37f1abd4
JM
428902012-05-14 Joseph Myers <joseph@codesourcery.com>
42891
42892 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42893 set if not set by the user. Do not allow for being unset.
42894 * sysdeps/unix/sysv/linux/configure: Regenerated.
42895
11de3a33
L
428962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42897
42898 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42899 the `q' suffix from lea and replace .quad with ASM_ADDR.
42900
e02f153a
L
429012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42902
42903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42904 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42905 instead of $17.
42906 (PTR_DEMANGLE): Likewise.
42907
520ae0fd
L
429082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42909
42910 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42911 (LP_OP): Likewise.
42912 (ASM_ADDR): Likewise.
42913 (RAX_LP): Likewise.
42914 (RBP_LP): Likewise.
42915 (RBX_LP): Likewise.
42916 (RCX_LP): Likewise.
42917 (RDI_LP): Likewise.
42918 (RSI_LP): Likewise.
42919 (RSP_LP): Likewise.
42920 (R8_LP): Likewise.
42921 (R9_LP): Likewise.
42922 (R10_LP): Likewise.
42923 (R10_LP): Likewise.
42924 (R11_LP): Likewise.
42925 (R12_LP): Likewise.
42926 (R13_LP): Likewise.
42927 (R14_LP): Likewise.
42928 (R15_LP): Likewise.
42929
b985be81
L
429302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42931
42932 * sysdeps/x86_64/x32/dl-machine.h: New file.
42933
6a4888ff
AJ
429342012-05-14 Andreas Jaeger <aj@suse.de>
42935
42936 * manual/Makefile (subdir): Remove export of subdir.
42937 (all): Remove target.
42938 (.PHONY): Remove all from list.
42939 (mkinstalldirs): Remove.
42940 (.PHONY): Remove installdirs from list.
42941 ($(inst_infodir)/libc.info): Use make-target-directory.
42942 (installdirs): Remove.
42943 (subdir_%): Remove.
42944 (glibc-targets): Remove.
42945 (lib): Remove.
42946 (stubs): Remove.
42947 ($(objpfx)stubs ../po/manual.pot): Remove.
42948 ($(objpfx)stamp%): Remove.
42949 (make-target-directory): Remove.
42950 (subdir_install): Remove.
42951 (routines): Remove.
42952 (aux): Remove.
42953 (sources): Remove.
42954 (objects): Remove.
42955 (headers): Remove.
42956
42957 [BZ #13750]
42958 * manual/.gitignore: Remove, it's not needed anymore.
42959 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42960 all files in it.
42961 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42962 directory.
42963 (texis): Renamed to $(objpfx)texis.
42964 (texis-path): New, contains path to generated files.
42965 (chapters.%): Use texis-path for complete path, add extra argument
42966 libc-texinfo.sh.
42967 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42968 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42969 (summary,texi, stamp-summary): Use complete path of
42970 files. Generate files in build dir.
42971 (dir-add.texi): Build in build dir.
42972 (libm-err.texi,stamp-libm-err): Likewise.
42973 (version.texi, stamp-version): Likewise.
42974 (.%c.texi): Likewise.
42975 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42976 (mostlyclean): Remove target.
42977 (realclean): Remove target.
42978 (generated): Add new variable with contents from mostlyclean and
42979 realclean, remove entries duplicated in common-mostlyclean, add
42980 stamp-libm-err and stamp-version.
42981 (generated-dirs): Add libc directory.
42982 ($(inst_infodir)/libc.info): Install files from build dir.
42983
42984 * manual/install.texi (Configuring and compiling): Adjust since
42985 the info files are not part of the tar ball anymore.
42986
7ac77294
AJ
429872012-05-14 Andreas Jaeger <aj@suse.de>
42988
42989 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42990 variable.
42991
ffb7875d
JM
429922012-05-14 Joseph Myers <joseph@codesourcery.com>
42993
42994 [BZ #13717]
42995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42996 to 2.2.0 where earlier.
42997 * sysdeps/unix/sysv/linux/configure: Regenerated.
42998 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42999 Remove conditional code.
43000 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43001 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43002 Remove conditional code.
43003 [!__NR_lchown]: Likewise.
43004 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43005 [__NR_lchown]: Likewise.
43006 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43007 comment referencing __ASSUME_LCHOWN_SYSCALL.
43008 * sysdeps/unix/sysv/linux/i386/sigaction.c
43009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43011 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43012 Remove conditional code.
43013 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43014 (__protocol_available): Remove #if 0 code.
43015 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43016 conditional code.
43017 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43018 * sysdeps/unix/sysv/linux/kernel-features.h
43019 (__ASSUME_GETCWD_SYSCALL): Don't define.
43020 (__ASSUME_REALTIME_SIGNALS): Likewise.
43021 (__ASSUME_PREAD_SYSCALL): Likewise.
43022 (__ASSUME_PWRITE_SYSCALL): Likewise.
43023 (__ASSUME_POLL_SYSCALL): Likewise.
43024 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43025 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43026 non-SPARC.
43027 (__ASSUME_SIOCGIFNAME): Don't define.
43028 (__ASSUME_MSG_NOSIGNAL): Likewise.
43029 (__ASSUME_SENDFILE): Define unconditionally.
43030 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43031 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43032 conditional code.
43033 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43034 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43036 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43037 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43039 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43064 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43065 Remove conditional code.
43066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43067 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43068 Remove conditional code.
43069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43071 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43072 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43073 Remove conditional code.
43074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43075 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43076 Remove conditional code.
43077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43078 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43079 Remove conditional code.
43080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43081 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43082 Remove conditional code.
43083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43084 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43085 Remove conditional code.
43086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43087 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43090 * sysdeps/unix/sysv/linux/sigaction.c
43091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43093 * sysdeps/unix/sysv/linux/sigpending.c
43094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43096 * sysdeps/unix/sysv/linux/sigprocmask.c
43097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43099 * sysdeps/unix/sysv/linux/sigsuspend.c
43100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43103 (__libc_missing_rt_sigs): Remove.
43104 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43105 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43106 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43107 Remove conditional code.
43108 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43109 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43110 return 1.
43111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43112 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43114 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43115
1bfb7291
AJ
431162012-05-14 Andreas Jaeger <aj@suse.de>
43117
caae5a81
AJ
43118 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43119 it's not used in glibc.
43120 (__coshm1): Likewise.
43121 (__acosh1p): Likewise.
43122 (__sgn): Likewise.
43123
1bfb7291
AJ
43124 * manual/string.texi (Copying and Concatenation): Add missing
43125 variable in concat example.
43126 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43127
c044d724
L
431282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43129
144c5467 43130 [BZ #14103]
c044d724
L
43131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43132 __builtin_clzl with __builtin_clzll.
43133
2523c62b
L
431342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43135
43136 [BZ #14104]
43137 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43138 libc_freeres_ptr.
43139
d7bb4c42
LD
431402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43141
43142 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43143 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43144 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43146
9dc4e1fb
MF
431472012-05-14 Mike Frysinger <vapier@gentoo.org>
43148
43149 * NEWS: Update ia64 info.
43150
c7df0112
AS
431512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43152
43153 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43154 used as bcopy.
43155
dc70356c
TS
431562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43157
43158 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43159 * sysdeps/unix/syscalls.list (dup3): Likewise.
43160 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43161 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43162
9fb1a21f
L
431632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43164
43165 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43166 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43167
4822a2a5
L
431682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43169
43170 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43171 thread pointer.
43172 (TLS_IE): Use mov/add instead of movq/addq to load thread
43173 pointer.
43174 (TLS_GD_PREFIX): New.
43175 (TLS_GD): Use it.
43176
842b81d6
DM
431772012-05-11 David S. Miller <davem@davemloft.net>
43178
43179 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43180 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43181 (_FPU_SETCW): Likewise.
43182
1cf463cd
L
431832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43184
43185 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43186 is 32-byte aligned.
43187
60cc4a18
AS
431882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43189
43190 [BZ #11837]
43191 * iconvdata/gb18030.c: Update tables.
43192 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43193 characters specially.
43194 (BODY for TO_LOOP): Add encoding of missing ranges.
43195
febb44a4
TS
431962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43197
43198 [BZ #13673]
43199 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43200 * sysdeps/mach/hurd/dup3.c: Likewise.
43201 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43202 * sysdeps/powerpc/memmove.c:: Likewise.
43203
0a10fb9e
L
432042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43205
43206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43207 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43208
df8a552f
L
432092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 * elf/elf.h (R_X86_64_RELATIVE64): New.
43212 (R_X86_64_NUM): Updated.
43213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43214 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43215 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43216 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43217 tst-quad1pie tst-quad2pie
43218 (modules-names): Add tst-quadmod1 tst-quadmod2.
43219 ($(objpfx)tst-quad1): New dependency.
43220 ($(objpfx)tst-quad2): Likewise.
43221 ($(objpfx)tst-quad1pie): Likewise.
43222 ($(objpfx)tst-quad2pie): Likewise.
43223 * sysdeps/x86_64/tst-quad1.c: New file.
43224 * sysdeps/x86_64/tst-quad1pie.c: New file.
43225 * sysdeps/x86_64/tst-quad2.c: Likewise.
43226 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43227 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43228 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43229 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43230 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43231
f34d6f84
ST
432322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43233
f42d41d1
ST
43234 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43235 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43236 * streams/stropts.h (t_scalar_t): Define type.
43237
3c3571fc
ST
43238 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43239 (_PATH_PRESERVE): Set to "/var/lib".
43240 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43241
61f06bd3
ST
43242 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43243 instead of int.
43244
918d4d71
ST
43245 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43246 if __dir_mkfile succeeded.
43247
f34d6f84
ST
43248 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43249 checking for _hurd_dtablesize. Unlock it right after having
43250 finished _hurd_dtable allocation.
43251
10589b4a
TS
432522012-05-10 Thomas Schwinge <thomas@schwinge.name>
43253
674cdbc7
TS
43254 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43255 * sysdeps/mach/hurd/configure: Regenerated.
43256 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43257 special-casing to...
43258 * sysdeps/gnu/configure.in: ... this new file.
43259 * sysdeps/unix/sysv/linux/configure: Regenerated.
43260 * sysdeps/gnu/configure: New generated file.
43261
8e41b99f
TS
43262 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43263 for Linux: use nsec instead of usec, as well as:
43264 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43265 members of type struct timespec.
43266 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43267 New macros.
43268 (struct stat64): Likewise.
43269 (_STATBUF_ST_NSEC): New macro.
43270 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43271
10589b4a
TS
43272 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43273 __strtoul_internal rather than strtoul.
43274
63643c85
PT
432752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43276
43277 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43278 and reject them.
43279
3faebe6a
ST
432802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43281
43282 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43283 which preserves existing values.
43284 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43285
c6474b07
PT
432862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43287
43288 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43289 TIMEOUT values. Return EINVAL for NFDS values either negative or
43290 greater than FD_SETSIZE.
43291
1043890b
ST
432922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43293
43294 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43295 allocated, call __vm_protect to finish enabling the existing space, and
43296 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43297 allocate the remainder.
43298
37ed8b9b
PT
432992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43300
43301 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43302 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43303
db653660
ST
433042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43305
37ed8b9b
PT
43306 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43307 sysdeps/mach/hurd/readlink.c.
b29d4053 43308
db653660
ST
43309 * posix/tst-sysconf.c (posix_options): Only use
43310 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43311 _POSIX_SYNCHRONIZED_IO when they are defined
43312 * sysdeps/mach/hurd/bits/posix_opt.h:
43313 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43314 (_XOPEN_REALTIME): Undefine macro.
43315 (_XOPEN_REALTIME_THREADS): Undefine macro.
43316 (_XOPEN_SHM): Undefine macro.
43317 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43318 macro to -1.
43319 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43320 macro to -1.
43321 (_POSIX_ASYNC_IO): Undefine macro.
43322 (_POSIX_PRIORITIZED_IO): Undefine macro.
43323 (_POSIX_SPIN_LOCKS): Define macro to -1.
43324
ee16e894
ST
43325 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43326 SA_NODEFER, SA_RESETHAND.
43327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43328 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43329 F_DUPFD_CLOEXEC.
43330
6103ae3b
TS
433312012-05-10 Thomas Schwinge <thomas@schwinge.name>
43332
43333 * elf/Makefile (pldd-modules): Define unconditionally.
43334
80b4e5f3
TS
433352012-05-10 Thomas Schwinge <thomas@schwinge.name>
43336
43337 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43338
edadcbd6
ST
433392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43340
43341 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43342 Return ENOENT when name is empty.
43343 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43344
80694780
TS
433452012-05-10 Thomas Schwinge <thomas@schwinge.name>
43346
1792c087
TS
43347 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43348
80694780
TS
43349 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43350
6b645f0d
ST
433512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43352
80694780
TS
43353 Fix mlock in all cases except non-readable pages.
43354 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43355 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43356
6b645f0d
ST
43357 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43358 (__mkdir): When path is `/', just fail with EEXIST.
43359 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43360
e468f8a3
TS
433612012-05-10 Thomas Schwinge <thomas@schwinge.name>
43362
43363 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43364 <sys/uio.h> (for writev).
43365 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43366 and <sys/param.h> (for MIN).
43367
a4186cff
PT
433682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43369
43370 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43371 REQUESTED_TIME. Properly set the remaining time and return EINTR
43372 if interrupted.
43373
510bbf14
TS
433742012-05-10 Thomas Schwinge <thomas@schwinge.name>
43375
43376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43377 Depend on against $(link-rpcuserlibs).
43378
5d5722e8
ST
433792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43380
a4186cff
PT
43381 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43382 (__libc_stack_end): Do not use attribute_relro.
43383 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43384 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43385 to libthread-provided value.
a4186cff
PT
43386 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43387 attribute_relro.
5d5722e8 43388
37233df9
TS
433892012-05-10 Thomas Schwinge <thomas@schwinge.name>
43390
be971a2b
TS
43391 [BZ #3748]
43392 * bits/libc-lock.h (__libc_once_get): New macro.
43393 * sysdeps/mach/bits/libc-lock.h: Likewise.
43394 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43396 instead of using implementation details.
43397
37233df9
TS
43398 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43399 * libio/freopen.c: Likewise.
43400 * libio/freopen64.c: Likewise.
43401 * misc/syslog.c: Likewise.
43402 * nscd/connections.c: Likewise.
43403 * nscd/netgroupcache.c: Likewise.
43404 * sysdeps/posix/getcwd.c: Likewise.
43405
38de94a5
RM
434062012-05-10 Roland McGrath <roland@hack.frob.com>
43407
43408 * math/w_ilogbf.c: Add #include <limits.h>.
43409
67530489
ST
434102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43411
a4186cff 43412 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43413 path instead of returning without unlocking.
43414
67530489
ST
43415 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43416 immediate-write ioctls.
43417 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43418
5aa3a74a
TS
434192012-05-10 Thomas Schwinge <thomas@schwinge.name>
43420
18bad2ae
TS
43421 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43422 __builtin_frame_address instead of making assumptions about the
43423 location of the return address relative to DATA. Force early load of
43424 the return address.
43425 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43426 __builtin_frame_address.
43427
5aa3a74a
TS
43428 dup3 for GNU Hurd.
43429 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43430 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43431 implement dup3 and do some further code clean-ups.
43432 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43434
ecd0de9a
ST
434352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43436
cd9fa985
ST
43437 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43438
a4186cff
PT
43439 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43440 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43441 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43442 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43443 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43444 d->port.lock.
802ca5a5 43445
a4186cff
PT
43446 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43447 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43448 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43449
bcf55240
TS
434502012-05-10 Thomas Schwinge <thomas@schwinge.name>
43451
6960eb42
TS
43452 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43453 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43454 definitions.
43455
eb43375f
TS
43456 accept4 for GNU Hurd.
43457 * include/sys/socket.h (__libc_accept4): New prototype.
43458 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43459 to implement __libc_accept4.
43460 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43461 __libc_accept4.
43462 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43463
bcf55240
TS
43464 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43465 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43466 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43467 signal-defines.sym.
43468
6178c55b
ST
434692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43470
a4186cff 43471 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43472
6f080c2f
TS
434732012-05-10 Thomas Schwinge <thomas@schwinge.name>
43474
43475 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43476 assertion on O_CLOEXEC flag.
43477 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43478 * hurd/intern-fd.c: Likewise.
43479 * hurd/port2fd.c: Likewise.
43480
bcfe3a54
ST
434812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43482
43483 [BZ #3906]
43484 * bits/in.h (IPV6_PKTINFO): Define new macro.
43485 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43486
89c9aa49
AZ
434872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43488
43489 [BZ #13954]
43490 [BZ #13955]
43491 [BZ #13956]
43492 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43494 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43495 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43497 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43498 * math/libm-test.inc (logb_test) : Additional logb tests.
43499
021db4be
AJ
435002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43501 Andreas Jaeger <aj@suse.de>
43502
43503 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43504 * configure: Regenerated.
43505 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43506 * config.make.in (link-obsolete-rpc): New substituted variable.
43507 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43508 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43509 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43510 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43511 so that libc.a contains the symbols.
43512 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43513 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43514 * sunrpc/auth_none.c: Likewise.
43515 * sunrpc/auth_unix.c: Likewise.
43516 * sunrpc/authdes_prot.c: Likewise.
43517 * sunrpc/authuxprot.c: Likewise.
43518 * sunrpc/clnt_gen.c: Likewise.
43519 * sunrpc/clnt_perr.c: Likewise.
43520 * sunrpc/clnt_raw.c: Likewise.
43521 * sunrpc/clnt_simp.c: Likewise.
43522 * sunrpc/clnt_tcp.c: Likewise.
43523 * sunrpc/clnt_udp.c: Likewise.
43524 * sunrpc/clnt_unix.c: Likewise.
43525 * sunrpc/des_crypt.c: Likewise.
43526 * sunrpc/des_soft.c: Likewise.
43527 * sunrpc/get_myaddr.c: Likewise.
43528 * sunrpc/key_call.c: Likewise.
43529 * sunrpc/key_prot.c: Likewise.
43530 * sunrpc/netname.c: Likewise.
43531 * sunrpc/pm_getmaps.c: Likewise.
43532 * sunrpc/pm_getport.c: Likewise.
43533 * sunrpc/pmap_clnt.c: Likewise.
43534 * sunrpc/pmap_prot.c: Likewise.
43535 * sunrpc/pmap_prot2.c: Likewise.
43536 * sunrpc/pmap_rmt.c: Likewise.
43537 * sunrpc/publickey.c: Likewise.
43538 * sunrpc/rpc_cmsg.c: Likewise.
43539 * sunrpc/rpc_common.c: Likewise.
43540 * sunrpc/rpc_dtable.c: Likewise.
43541 * sunrpc/rpc_prot.c: Likewise.
43542 * sunrpc/rpc_thread.c: Likewise.
43543 * sunrpc/rtime.c: Likewise.
43544 * sunrpc/svc.c: Likewise.
43545 * sunrpc/svc_auth.c: Likewise.
43546 * sunrpc/svc_raw.c: Likewise.
43547 * sunrpc/svc_run.c: Likewise.
43548 * sunrpc/svc_tcp.c: Likewise.
43549 * sunrpc/svc_udp.c: Likewise.
43550 * sunrpc/svc_unix.c: Likewise.
43551 * sunrpc/svcauth_des.c: Likewise.
43552 * sunrpc/xcrypt.c: Likewise.
43553 * sunrpc/xdr.c: Likewise.
43554 * sunrpc/xdr_array.c: Likewise.
43555 * sunrpc/xdr_float.c: Likewise.
43556 * sunrpc/xdr_intXX_t.c: Likewise.
43557 * sunrpc/xdr_mem.c: Likewise.
43558 * sunrpc/xdr_rec.c: Likewise.
43559 * sunrpc/xdr_ref.c: Likewise.
43560 * sunrpc/xdr_sizeof.c: Likewise.
43561 * sunrpc/xdr_stdio.c: Likewise.
43562
b5c086a2
RM
435632012-05-10 Roland McGrath <roland@hack.frob.com>
43564
43565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43566 change. Update copyright years.
43567
6d74dd09
JM
435682012-05-10 Joseph Myers <joseph@codesourcery.com>
43569
43570 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43571
28e72501
MK
435722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43573 Joseph Myers <joseph@codesourcery.com>
43574 Paul Pluzhnikov <ppluzhnikov@google.com>
43575
43576 [BZ #14012]
43577 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43578 requiring rpcgen.
43579 [cross-compiling] (extra-libs): Likewise.
43580 [cross-compiling] (extra-libs-others): Likewise.
43581 [cross-compiling] (librpcsvc-routines): Likewise.
43582 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43583 [cross-compiling] (omit-deps): Likewise.
43584 (sunrpc-CPPFLAGS): New variable.
43585 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43586 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43587 (cross-rpcgen-objs): New variable.
43588 (extra-objs): Append $(cross-rpcgen-objs).
43589 ($(cross-rpcgen-objs)): New rule.
43590 ($(objpfx)cross-rpcgen): Likewise.
43591 (rpcgen-cmd): Define to use $(built-program-file). Expand
43592 comment.
43593 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43594 ($(objpfx)x%.stmp): Likewise.
43595 * sunrpc/proto.h [IS_IN_build] (_): Define.
43596 [IS_IN_build] (_libc_intl_domainname): Likewise.
43597
c8c59454
L
435982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43599
43600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43601 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43602 and R_X86_64_TPOFF64.
43603
6f27cd16
JM
436042012-05-10 Joseph Myers <joseph@codesourcery.com>
43605
43606 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43607 sysdeps/unix/sysv/syscalls.list.
43608 (stime): Likewise.
43609 (utime): Likewise.
43610 * sysdeps/unix/sysv/syscalls.list: Remove file.
43611
02467e1c
PE
436122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43613
43614 [BZ #3440]
43615 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43616 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43617 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43618 (__LC_IDENTIFICATION): Make these macros useful in #if
43619 expressions, as required by C99.
43620
da392631
AS
436212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43622
43623 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43624 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43625 after this.
43626
8115f29b
L
436272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43628
43629 * stdlib/longlong.h: Updated from GCC.
43630
bdd74070
AJ
436312012-05-09 Andreas Jaeger <aj@suse.de>
43632
edfe0dbe
AJ
43633 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43634 default is first entry.
43635 (run_mode): Set type.
43636 (main): Remove informal message about syslog.
43637 (options): Fix typo.
43638
bcfe3a54
ST
43639 [BZ #14053]
43640 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43641 to asm.
bcfe3a54
ST
43642 (lrint): Likewise.
43643 (llrintf): Likewise.
43644 (llrint): Likewise.
43645 (rint): Likewise.
43646 (rintf): Likewise.
43647 (nearbyint): Likewise.
43648 (nearbyintf): Likewise.
bdd74070 43649
91d8d69e
AJ
436502012-05-09 Andreas Jaeger <aj@suse.de>
43651 Pedro Alves <palves@redhat.com>
43652
43653 * nscd/nscd.c (run_mode): Use enum.
43654 (main): Cleanup coding style issue.
43655
bb90b80b
AJ
436562012-05-09 Alexandre Oliva <aoliva@redhat.com>
43657 Andreas Jaeger <aj@suse.de>
43658
bcfe3a54
ST
43659 * nscd/nscd.c (go_background): Replaced with...
43660 (run_mode): ... this.
bb90b80b 43661 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43662 (options): Add -F --foreground.
43663 (main): Implement it.
43664 (parse_opt): Parse it.
bb90b80b 43665
1a4b75a1
AJ
436662012-05-09 Andreas Jaeger <aj@suse.de>
43667
43668 [BZ #14083]
43669 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43670 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43671 -Wconversion warning.
43672 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43673 Likewise.
43674
b1cc2472
JM
436752012-05-09 Joseph Myers <joseph@codesourcery.com>
43676
43677 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43678 == 0.
43679 (LC_ALL): Use macro-int-constant.
43680 (LC_COLLATE): Likewise.
43681 (LC_CTYPE): Likewise.
43682 (LC_MESSAGES): Likewise.
43683 (LC_MONETARY): Likewise.
43684 (LC_NUMERIC): Likewise.
43685 (LC_TIME): Likewise.
43686 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43687 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43689 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43690 Specify type.
43691 [C99-based standards] (float_t): Expect type.
43692 [C99-based standards] (double_t): Expect type.
43693 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43694 type.
43695 [C99-based standards] (HUGE_VALL): Likewise.
43696 [C99-based standards] (INFINITY): Likewise.
43697 [C99-based standards] (NAN): Likewise.
43698 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43699 [C99-based standards] (FP_NAN): Likewise.
43700 [C99-based standards] (FP_NORMAL): Likewise.
43701 [C99-based standards] (FP_SUBNORMAL): Likewise.
43702 [C99-based standards] (FP_ZERO): Likewise.
43703 [C99-based standards] (FP_FAST_FMA): Use
43704 optional-macro-int-constant. Specify type. Require == 1.
43705 [C99-based standards] (FP_FAST_FMAF): Likewise.
43706 [C99-based standards] (FP_FAST_FMAL): Likewise.
43707 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43708 [C99-based standards] (FP_ILOGBNAN): Likewise.
43709 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43710 Specify type.
43711 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43712 [C99-based standards] (math_errhandling): Specify type.
43713 [ISO99 || ISO11] (signgam): Do not allow.
43714 [non-C99-based standards] (copysignf): Do not allow.
43715 [non-C99-based standards] (exp2f): Likewise.
43716 [non-C99-based standards] (log2f): Likewise.
43717 [non-C99-based standards] (modff): Allow.
43718 [non-C99-based standards] (erff): Do not allow.
43719 [non-C99-based standards] (erfcf): Likewise.
43720 [non-C99-based standards] (gammaf): Likewise.
43721 [non-C99-based standards] (hypotf): Likewise.
43722 [non-C99-based standards] (j0f): Likewise.
43723 [non-C99-based standards] (j1f): Likewise.
43724 [non-C99-based standards] (jnf): Likewise.
43725 [non-C99-based standards] (lgammaf): Likewise.
43726 [non-C99-based standards] (tgammaf): Likewise.
43727 [non-C99-based standards] (y0f): Likewise.
43728 [non-C99-based standards] (y1f): Likewise.
43729 [non-C99-based standards] (ynf): Likewise.
43730 [non-C99-based standards] (isnanf): Likewise.
43731 [non-C99-based standards] (acoshf): Likewise.
43732 [non-C99-based standards] (asinhf): Likewise.
43733 [non-C99-based standards] (atanhf): Likewise.
43734 [non-C99-based standards] (cbrtf): Likewise.
43735 [non-C99-based standards] (expm1f): Likewise.
43736 [non-C99-based standards] (ilogbf): Likewise.
43737 [non-C99-based standards] (log1pf): Likewise.
43738 [non-C99-based standards] (logbf): Likewise.
43739 [non-C99-based standards] (nextafterf): Likewise.
43740 [non-C99-based standards] (remainderf): Likewise.
43741 [non-C99-based standards] (rintf): Likewise.
43742 [non-C99-based standards] (scalbf): Likewise.
43743 [non-C99-based standards] (copysignl): Likewise.
43744 [non-C99-based standards] (exp2l): Likewise.
43745 [non-C99-based standards] (log2l): Likewise.
43746 [non-C99-based standards] (modfl): Allow.
43747 [non-C99-based standards] (erfl): Do not allow.
43748 [non-C99-based standards] (erfcl): Likewise.
43749 [non-C99-based standards] (gammal): Likewise.
43750 [non-C99-based standards] (hypotl): Likewise.
43751 [non-C99-based standards] (j0l): Likewise.
43752 [non-C99-based standards] (j1l): Likewise.
43753 [non-C99-based standards] (jnl): Likewise.
43754 [non-C99-based standards] (lgammal): Likewise.
43755 [non-C99-based standards] (tgammal): Likewise.
43756 [non-C99-based standards] (y0l): Likewise.
43757 [non-C99-based standards] (y1l): Likewise.
43758 [non-C99-based standards] (ynl): Likewise.
43759 [non-C99-based standards] (isnanl): Likewise.
43760 [non-C99-based standards] (acoshl): Likewise.
43761 [non-C99-based standards] (asinhl): Likewise.
43762 [non-C99-based standards] (atanhl): Likewise.
43763 [non-C99-based standards] (cbrtl): Likewise.
43764 [non-C99-based standards] (expm1l): Likewise.
43765 [non-C99-based standards] (ilogbl): Likewise.
43766 [non-C99-based standards] (log1pl): Likewise.
43767 [non-C99-based standards] (logbl): Likewise.
43768 [non-C99-based standards] (nextafterl): Likewise.
43769 [non-C99-based standards] (remainderl): Likewise.
43770 [non-C99-based standards] (rintl): Likewise.
43771 [non-C99-based standards] (scalbl): Likewise.
43772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43773 [non-C99-based standards] (FP_*): Do not allow.
43774 [C99-based standards] (FP_*): Change to
43775 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43776 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43777 allow.
43778 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43779 (SIG_ERR): Likewise.
43780 [X/Open-based standards] (SIG_HOLD): Likewise.
43781 (SIG_IGN): Likewise.
43782 (SIGABRT): Use macro-int-constant. Specify type. Require
43783 positive value.
43784 (SIGFPE): Likewise.
43785 (SIGILL): Likewise.
43786 (SIGINT): Likewise.
43787 (SIGSEGV): Likewise.
43788 (SIGTER): Likewise.
43789 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43790 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43791 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43792 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43793 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43794 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43795 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43796 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43797 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43798 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43799 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43800 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43801 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43802 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43804 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43806 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43807 [X/Open-based standards] (SIGTRAP): Likewise.
43808 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43809 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43810 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43811 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43812 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43813 allow.
43814
b9f1922d
IW
438152012-05-08 Ian Wienand <ianw@vmware.com>
43816
43817 [BZ #14080]
43818 * time/tzset.c (__tzset_parse_tz): Update default rules for
43819 daylight time changes in the Energy Policy Act of 2005.
43820
1db86e88
AJ
438212012-05-09 Andreas Jaeger <aj@suse.de>
43822
43823 [BZ #13983]
43824 * elf/ldconfig.c (parse_conf): Change string to make clear that
43825 ldconfig only issued a warning if ld.so.conf does not exist.
43826
dee4a4e3
DM
438272012-05-08 David S. Miller <davem@davemloft.net>
43828
ee0db190
DM
43829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43830 movxtod instead of popping the value on the stack.
43831
dee4a4e3
DM
43832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43833
6a43ec98
CD
438342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43835
43836 * config.h.in: Add HAVE_ARM_PCS_VFP.
43837
05c2c961
RMG
438382012-05-08 Roland Mc Grath <roland@hack.frob.com>
43839
bcfe3a54
ST
43840 [BZ #13979]
43841 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43842 checking but the checks are disabled for any reason.
05c2c961 43843
4b30f61a
L
438442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43845
43846 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43847 and ELF64_R_TYPE with ELFW(R_TYPE).
43848
eee2bc67
JM
438492012-05-08 Joseph Myers <joseph@codesourcery.com>
43850
7ea5391a
JM
43851 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43852 (ulimit): Likewise.
43853
eee2bc67
JM
43854 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43855 (settimeofday): Likewise.
43856
abb66a67
MF
438572012-05-08 Mike Frysinger <vapier@gentoo.org>
43858
43859 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43860 a struct th_u2 inside the union, and move tu_block/tu_code into
43861 a new th_u3 union of tu_block/tu_code inside of that. Move
43862 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43863 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43864 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43865 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43866 (th_stuff): Change to th_u1.tu_stuff.
43867 (th_data): Define.
43868 (th_msg): Change to th_u1.th_u2.tu_data.
43869
7f18b530
DM
438702012-05-07 David S. Miller <davem@davemloft.net>
43871
05760585
DM
43872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43873
7f18b530
DM
43874 [BZ #14074]
43875 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43876 (SETUP_PIC_REG): Use it.
43877 (SETUP_PIC_REG_LEAF): Use it.
43878
495fd99f
JM
438792012-05-07 Joseph Myers <joseph@codesourcery.com>
43880
43881 [BZ #13885]
43882 [BZ #13923]
43883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43884 USE_AS_EXPM1L.
43885 (EXPL_FINITE): Likewise.
43886 (FLDLOG): Likewise.
43887 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43888 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43889 e_expl.S.
43890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43891 USE_AS_EXPM1L.
43892 (EXPL_FINITE): Likewise.
43893 (FLDLOG): Likewise.
43894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43895 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43896 e_expl.S.
43897 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43898 test of -max_value argument for long double.
43899 * sysdeps/i386/fpu/libm-test-ulps: Update.
43900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43901
6693d694
DM
439022012-05-06 David S. Miller <davem@davemloft.net>
43903
43904 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43905 quad soft-float symbols whose references which are compiler
43906 generated.
43907 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43908
6c23e11c
JM
439092012-05-06 Joseph Myers <joseph@codesourcery.com>
43910
d8b82cad
JM
43911 [BZ #13884]
43912 [BZ #13914]
43913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43914 USE_AS_EXP10L.
43915 (EXPL_FINITE): Likewise.
43916 (FLDLOG): Likewise.
43917 (c0): Likewise.
43918 (c1): Likewise.
43919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43920 Adjust comments for base varying.
43921 (__expl_finite): Change alias to EXPL_FINITE.
43922 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43923 e_expl.S.
43924 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43925 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43927 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43929 USE_AS_EXP10L.
43930 (EXPL_FINITE): Likewise.
43931 (FLDLOG): Likewise.
43932 (c0): Likewise.
43933 (c1): Likewise.
43934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43935 Adjust comments for base varying.
43936 (__expl_finite): Change alias to EXPL_FINITE.
43937 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43938 tests for bugs.
43939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43940
6c23e11c
JM
43941 [BZ #14064]
43942 * math/libm-test.inc (check_float_internal): Correct ulp
43943 calculation for subnormal expected results.
43944
29ba805c
AJ
439452012-05-06 Andreas Jaeger <aj@suse.de>
43946
43947 * Makeconfig (+math-flags): New, set to -frounding-math.
43948 (+cflags): Add +math-flags so that all of glibc gets compiled with
43949 it.
43950
43951 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43952
7b17aeda
JM
439532012-05-05 Joseph Myers <joseph@codesourcery.com>
43954
5779f134
JM
43955 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43956 Disable one test.
43957
41498f4d
JM
43958 [BZ #13787]
43959 [BZ #13922]
43960 [BZ #14036]
43961 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43962 (__ieee754_expl): Allow for and saturate large arguments.
43963 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43964 (u_threshold): Likewise.
43965 (__exp): Call __ieee754_exp before checking for overflow and
43966 underflow.
43967 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43968 (u_threshold): Likewise.
43969 (__expf): Call __ieee754_expf before checking for overflow and
43970 underflow.
43971 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43972 (u_threshold): Likewise.
43973 (__expl): Call __ieee754_expl before checking for overflow and
43974 underflow.
43975 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43976 (__ieee754_expl): Allow for and saturate large arguments.
43977 * math/libm-test.inc (exp_test): Add another test. Do not allow
43978 missing overflow exception on overflow.
43979 (expm1_test): Do not allow missing overflow exception on overflow.
43980
6698b8bf
JM
43981 * sysdeps/i386/fpu/e_expl.c: Move to ...
43982 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43983 rather than using inline asm.
43984 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43985 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43986 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43987
7b17aeda
JM
43988 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43989 (nice): Likewise.
43990 (poll): Likewise.
43991 (signal): Likewise.
43992 (time): Likewise.
43993 (times): Likewise.
43994
f7c85819
JM
439952012-05-04 Joseph Myers <joseph@codesourcery.com>
43996
43997 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43998 sysdeps/unix/common/syscalls.list.
43999 (fchmod): Likewise.
44000 (fchown): Likewise.
44001 (ftruncate): Likewise.
44002 (getrusage): Likewise.
44003 (gettimeofday): Likewise.
44004 (setpgid): Likewise.
44005 (setregid): Likewise.
44006 (setreuid): Likewise.
44007 (sigaction): Likewise.
44008 (truncate): Likewise.
44009 (vhangup): Likewise.
44010 * sysdeps/unix/common/syscalls.list: Remove file.
44011 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44012 * sysdeps/unix/sysv/linux/Implies: Likewise.
44013
336270d0
L
440142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44015
44016 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44018 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44019 Moved to ...
44020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44021 Here.
44022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44023 to ...
44024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44026 to ...
44027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44028 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44029 to ...
44030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44031 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44032 to ...
44033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44034 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44035 to ...
44036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44038 to ...
44039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44041 to ...
44042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44043 Here.
44044 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44045 to ...
44046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44047 Here.
44048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44049 to ...
44050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44052 Moved to ...
44053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44054 Here.
44055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44056 to ...
44057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44058
d128e450
JM
440592012-05-04 Joseph Myers <joseph@codesourcery.com>
44060
fa8ee516
JM
44061 * sysdeps/unix/common/bits/dirent.h: Remove file.
44062 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44063
d128e450
JM
44064 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44065 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44066 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44067 * sysdeps/unix/bsd/isatty.c: Likewise.
44068 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44069 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44070 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44071
ff8faaf0 440722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44073
62881be4 44074 [BZ #13563]
31dc8730
AZ
44075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44076 long double comparison inaccuracies.
44077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44079
6fef930c
AS
440802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44081
44082 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44084
8f203e6c
JM
440852012-05-04 Joseph Myers <joseph@codesourcery.com>
44086
44087 [BZ #14049]
44088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44089 nonzero digits before rounding a hex value.
44090 * stdlib/tst-strtod.c (tests): Add another test.
44091
5197d9c2
AK
440922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44093
44094 * sysdeps/s390/fpu/libm-test-ulps: Update.
44095
f0c1dedf
AJ
440962012-05-03 Andreas Jaeger <aj@suse.de>
44097
44098 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44099 does not get optimized out.
44100 (malloc_opt_barrier): New.
44101
a65ef2ae 441022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44103 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44104
2b942cb7 44105 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44106 intermediate file deletion.
2b942cb7 44107 (generated): Add .symlist files.
a65ef2ae 44108
54b71e02
JM
441092012-05-03 Joseph Myers <joseph@codesourcery.com>
44110
44111 [BZ #13775]
44112 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44113 Redirect under this condition.
44114 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44115 [__USE_GNU] (__dprintf_chk): Not under this condition.
44116 [__USE_GNU] (__vdprintf_chk): Likewise.
44117 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44118 under this condition.
44119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44120 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44121 [__USE_XOPEN2K8] (vdprintf): Likewise.
44122 [__USE_GNU] (__dprintf_chk): Not under this condition.
44123 [__USE_GNU] (__vdprintf_chk): Likewise.
44124 [__USE_GNU] (dprintf): Likewise.
44125 [__USE_GNU] (vdprintf): Likewise.
44126
d3dfcc41
RM
441272012-05-03 Roland McGrath <roland@hack.frob.com>
44128
44129 * elf/Makefile (common-generated): Set this instead of generated for
44130 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44131 $(all-built-dso)-derived lists.
44132
7ac30cc5
AJ
441332012-05-03 Andreas Jaeger <aj@suse.de>
44134
0c51e550
AJ
44135 * sysdeps/i386/fpu/libm-test-ulps: Update.
44136
7ac30cc5
AJ
44137 * FAQ: Removed.
44138 * FAQ.in: Likewise.
44139 * scripts/gen-FAQ.pl: Likewise.
44140 * manual/install.texi (Installation): Point to online location of
44141 FAQ.
44142 * Makefile (files-for-dist): Remove FAQ.
44143 (FAQ): Remove.
44144
d4c2917f
AM
441452012-05-02 Allan McRae <allan@archlinux.org>
44146
44147 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44148 (LDFLAGS-reldepmod5.so): Likewise.
44149 (LDFLAGS-reldep6mod1.so): Likewise.
44150 (LDFLAGS-reldep6mod4.so): Likewise.
44151 (LDFLAGS-reldep8mod3.so): Likewise.
44152 (LDFLAGS-unload4mod1.so): Likewise.
44153 (LDFLAGS-unload4mod2.so): Likewise.
44154 (LDFLAGS-tst-initorder): Likewise.
44155 (LDFLAGS-tst-initordera2.so): Likewise.
44156 (LDFLAGS-tst-initordera3.so): Likewise.
44157 (LDFLAGS-tst-initordera4.so): Likewise.
44158 (LDFLAGS-tst-initorderb2.so): Likewise.
44159 (LDFLAGS-noload): Likewise.
44160 (LDFLAGS-next): Likewise.
44161 (LDFLAGS-order2mod1.so): Likewise.
44162 (LDFLAGS-order2mod2.so): Likewise.
44163 (LDFLAGS-tst-initorder2): Likewise.
44164 (LDFLAGS-tst-initorder2a.so): Likewise.
44165 (LDFLAGS-tst-initorder2b.so): Likewise.
44166 (LDFLAGS-tst-initorder2c.so): Likewise.
44167 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44168
d77f993f
DM
441692012-05-02 David S. Miller <davem@davemloft.net>
44170
44171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44172
171a70b4
PP
441732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44174
44175 [BZ #14055]
44176 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44177
0be196ad
AJ
441782012-05-02 Andreas Jaeger <aj@suse.de>
44179
44180 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44181 since we manipulate rounding mode.
44182 (CPPFLAGS-test-idouble.c): Likewise.
44183 (CPPFLAGS-test-ifloat.c): Likewise.
44184 (CFLAGS-test-ldouble.c): Likewise.
44185 (CFLAGS-test-double.c): Likewise.
44186 (CFLAGS-test-float.c): Likewise.
44187 (CFLAGS-test-misc.c): Likewise.
44188 (CFLAGS-test-test-fenv.c): Likewise.
44189
4f9d04aa
AZ
441902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44191
2b942cb7
RM
44192 [BZ #2550]
44193 [BZ #2570]
44194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44195 comparisons to determine direction to adjust input.
4f9d04aa 44196
82a79e7d
RM
441972012-05-01 Roland McGrath <roland@hack.frob.com>
44198
f5a01ca9
RM
44199 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44200 output to the target.
44201
90fe4186
RM
44202 * scripts/localplt.awk: New file.
44203 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44204 (check-localplt-CFLAGS): Variable removed.
44205 ($(all-built-dso:=.jmprel)): New static pattern rule.
44206 (generated): Add those targets.
44207 (localplt-built-dso): New variable.
44208 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44209
44210 * elf/check-localplt.c: File removed.
44211
82397ed6
RM
44212 * scripts/check-execstack.awk: New file.
44213 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44214 (check-execstack-CFLAGS): Variable removed.
44215 ($(objpfx)check-execstack.h): Target removed.
44216 ($(objpfx)execstack-default): New target.
44217 (generated): Add that instead of check-execstack.h.
44218 ($(all-built-dso:=.phdr)): New static pattern rule.
44219 (generated): Add those targets.
44220 * elf/check-execstack.c: File removed.
44221
82a79e7d
RM
44222 * scripts/check-textrel.awk: New file.
44223 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44224 (check-textrel-CFLAGS): Variable removed.
44225 (all-built-dso): Use := to define.o
44226 ($(all-built-dso:=.dyn)): New static pattern rule.
44227 (generated): Add those targets.
44228 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44229 * config.make.in (READELF): New substituted variable.
44230 * elf/check-textrel.c: File removed.
44231
62fde54f 442322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44233
615605c9
JM
44234 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44235 allow.
44236 * conform/data/ctype.h-data [C99-based standards] (isblank):
44237 Expect function.
44238 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44239 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44241 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44242 Specify type. Require positive value.
44243 (EILSEQ): Likewise.
44244 (ERANGE): Likewise.
44245 [ISO || POSIX] (EILSEQ): Do not expect.
44246 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44247 Specify type. Require positive value.
44248 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44249 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44250 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44251 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44252 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44253 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44254 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44255 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44256 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44257 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44258 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44259 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44260 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44261 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44262 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44263 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44264 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44265 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44266 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44267 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44268 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44269 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44270 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44271 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44272 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44273 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44274 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44275 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44276 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44277 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44278 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44279 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44280 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44281 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44282 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44283 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44284 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44285 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44286 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44287 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44288 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44289 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44290 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44291 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44292 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44293 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44294 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44295 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44296 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44297 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44298 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44299 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44300 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44301 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44302 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44303 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44304 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44305 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44306 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44307 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44308 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44309 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44310 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44311 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44312 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44313 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44314 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44315 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44316 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44317 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44318 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44319 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44320 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44321 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44322 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44323 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44324 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44325 Require >= 2.
44326 (FLT_ROUNDS): Expect as macro, not constant.
44327 (FLT_MANT_DIG): Use macro-int-constant.
44328 (DBL_MANT_DIG): Likewise.
44329 (LDBL_MANT_DIG): Likewise.
44330 (FLT_DIG): Likewise.
44331 (DBL_DIG): Likewise.
44332 (LDBL_DIG): Likewise.
44333 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44334 (DBL_MIN_EXP): Likewise.
44335 (LDBL_MIN_EXP): Likewise.
44336 (FLT_MAX_EXP): Use macro-int-constant.
44337 (DBL_MAX_EXP): Likewise.
44338 (LDBL_MAX_EXP): Likewise.
44339 (FLT_MAX_10_EXP): Likewise.
44340 (DBL_MAX_10_EXP): Likewise.
44341 (LDBL_MAX_10_EXP): Likewise.
44342 (FLT_MAX): Use macro-constant.
44343 (DBL_MAX): Likewise.
44344 (LDBL_MAX): Likewise.
44345 (FLT_EPSILON): Use macro-constant. Give upper bound.
44346 (DBL_EPSILON): Likewise.
44347 (LDBL_EPSILON): Likewise.
44348 (FLT_MIN): Likewise.
44349 (DBL_MIN): Likewise.
44350 (LDBL_MIN): Likewise.
44351 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44352 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44353 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44354 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44355 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44356 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44357 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44358 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44359 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44360 [ISO11] (FLT_TRUE_MIN): Likewise.
44361 [ISO11] (LDBL_TRUE_MIN): Likewise.
44362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44363 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44364 (SCHAR_MIN): Use macro-int-constant. Specify type.
44365 (SCHAR_MAX): Likewise.
44366 (UCHAR_MAX): Likewise.
44367 (CHAR_MIN): Likewise.
44368 (CHAR_MAX): Likewise.
44369 (MB_LEN_MAX): Use macro-int-constant.
44370 (SHRT_MIN): Use macro-int-constant. Specify type.
44371 (SHRT_MAX): Likewise.
44372 (USHRT_MAX): Likewise.
44373 (INT_MAX): Likewise.
44374 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44375 bound negative.
44376 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44377 bound with "U".
44378 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44379 bound with "L".
44380 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44381 bound negative. Suffix upper bound with "L".
44382 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44383 bound with "UL".
44384 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44385 Specify type.
44386 [C99-based standards] (LLONG_MAX): Likewise.
44387 [C99-based standards] (ULLONG_MAX): Likewise.
44388 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44389 == 0.
44390 [ISO11] (max_align_t): Require type.
44391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44392
c9140a62
JM
44393 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44394 from $CFLAGS, without defining away __attribute__ calls.
44395 (checknamespace): Use $CFLAGS_namespace.
44396
9af0bf29
JM
44397 * conform/conformtest.pl (@keywords): Only include C99 keywords
44398 for standards based on C99 or C11.
44399
343222a2
JM
44400 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44401 Disable tests.
44402 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44403 UNIX98]: Likewise.
44404
661f8cf0
JM
44405 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44406 usability of symbols in #if.
44407
ee74b9cb
JM
44408 * conform/conformtest.pl: If macro or constant types start
44409 "promoted:", expect the symbol to be of the following type
44410 promoted by the integer promotions.
62fde54f 44411
aafc49b3
JM
44412 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44413 in one place. Also handle "macro-constant".
44414
fefdf574
JM
44415 * conform/conformtest.pl: Only accept expected macro values with
44416 "==". Parse all "macro" lines in one place.
44417 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44418
f2d922fe
JM
44419 * conform/conformtest.pl: Handle braced types on "constant" lines
44420 instead of handling "typed-constant".
44421 * conform/data/signal.h-data: Use "constant" instead of
44422 "typed-constant".
44423
d22956c9
JM
44424 * conform/conformtest.pl: Handle "optional-" at start of lines in
44425 one place rather than duplicating several cases. Handle each
44426 format of "macro" line with initial "optional-".
44427
028e2e38
JM
44428 * conform/conformtest.pl: Only accept expected constant or
44429 optional-constant values with "==". Parse all "constant" lines in
44430 one place. Parse all "optional-constant" lines in one place.
44431 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44432 * conform/data/fmtmsg.h-data: Likewise.
44433 * conform/data/netinet/in.h-data: Likewise.
44434 * conform/data/tar.h-data: Likewise.
44435 * conform/data/limits.h-data: Use "==" form on "constant" and
44436 "optional-constant" lines.
44437
1b8f2850
JM
44438 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44439 Use -std=c99 for XOPEN2K.
44440 (@knownproblems): Remove.
44441 (newtoken): Don't check %isknown.
44442
a05a144b
JM
44443 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44444 Do not expect macro.
44445 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44446 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44447 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44448 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44449 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44450 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44451 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44452 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44453 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44454 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44455 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44456 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44457 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44458 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44459 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44460 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44461 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44462 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44463 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44464 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44465 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44468 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44469 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44470 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44471 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44472 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44473 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44474 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44475 [XPG3] (acosh): Likewise.
44476 [XPG3] (asinh): Likewise.
44477 [XPG3] (atanh): Likewise.
44478 [XPG3] (cbrt): Likewise.
44479 [XPG3] (expm1): Likewise.
44480 [XPG3] (ilogb): Likewise.
44481 [XPG3] (log1p): Likewise.
44482 [XPG3] (logb): Likewise.
44483 [XPG3] (nextafter): Likewise.
44484 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44485 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44486 [XPG3] (remainder): Likewise.
44487 [XPG3] (rint): Likewise.
44488 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44489 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44490 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44491 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44492 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44493 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44494 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44495 [UNIX98 || XOPEN2K] (scalb): Expect.
44496 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44497 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44498 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44499 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44500 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44501 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44502 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44503 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44504 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44505 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44506 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44507 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44508 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44509 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44510 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44511 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44512 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44513 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44514 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44515 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44516 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44517 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44518 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44519 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44520 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44521 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44522 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44523 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44524 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44525 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44526 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44527 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44528 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44529 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44530 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44531 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44532 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44533 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44534 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44535 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44536 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44537 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44538 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44539 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44540 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44541 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44542 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44543 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44544 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44545 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44546 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44547 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44548 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44549 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44550 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44551 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44552 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44553 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44554 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44555 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44556 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44557 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44558 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44559 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44560 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44561 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44562 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44563 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44564 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44565 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44566 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44567 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44568 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44569 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44570 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44571 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44572 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44573 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44574 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44575 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44576 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44577 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44578 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44579 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44580 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44581 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44582 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44583 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44584 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44585 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44586 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44587 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44588 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44590 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44591 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44592 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44593 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44594 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44595 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44596 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44597 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44598 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44599 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44600 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44601 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44602 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44603 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44604 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44605 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44606 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44607 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44608 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44609 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44610 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44611 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44612 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44613 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44614 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44615 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44616 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44617 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44618 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44621 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44630 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44633
73c5ebe3
JM
44634 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44635 _XOPEN_SOURCE_EXTENDED for XPG4.
44636
39c33b6c
JM
44637 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44638
62fde54f
JM
44639 * Makeconfig (localtime): Remove variable.
44640 (inst_localtime-file): Likewise.
44641
0741d64c
AS
446422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44643
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44645 Update.
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44647 Update.
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44649 Update.
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44651 Update.
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44653 Update.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44655 Update.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44657 Update.
44658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44659 Update.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44661 Update.
44662
7cb029ee
JM
446632012-05-01 Joseph Myers <joseph@codesourcery.com>
44664
44665 [BZ #2550]
44666 [BZ #2570]
44667 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44668 comparisons to determine direction to adjust input.
44669 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44670 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44672 Likewise.
44673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44674 Likewise.
44675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44676 Likewise.
44677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44679 Likewise.
44680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44681 Likewise.
44682 * math/libm-test.inc (nexttoward_test): Add more tests.
44683
412bd966
AS
446842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44685
44686 [BZ #14040]
44687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44688 in version GLIBC_2.1, not GLIBC_2.0.
44689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44690 Likewise.
44691
9568c0c2
JM
446922012-04-30 Joseph Myers <joseph@codesourcery.com>
44693
adfbc8ac
JM
44694 [BZ #13942]
44695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44696 (1 - x) * (1 + x).
44697 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44698 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44699 * math/libm-test.inc (acos_test): Add more tests.
44700 (asin_test): Likewise.
44701 * sysdeps/i386/fpu/libm-test-ulps: Update.
44702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44703
5ba3cc69
JM
44704 [BZ #14034]
44705 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44706 of square root.
44707 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44708 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44709 * math/libm-test.inc (acos_test_tonearest): New function.
44710 (acos_test_towardzero): Likewise.
44711 (acos_test_downward): Likewise.
44712 (acos_test_upward): Likewise.
44713 (asin_test_tonearest): Likewise.
44714 (asin_test_towardzero): Likewise.
44715 (asin_test_downward): Likewise.
44716 (asin_test_upward): Likewise.
44717 (main): Call the new functions.
44718 * sysdeps/i386/fpu/libm-test-ulps: Update.
44719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44720
9568c0c2
JM
44721 [BZ #13884]
44722 [BZ #13924]
44723 * math/e_exp10.c: Include <float.h>.
44724 (__ieee754_exp10): Handle underflow here rather than multiplying
44725 large negative argument by M_LN10.
44726 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44727 of __ieee754_expf.
44728 * math/e_exp10l.c: Include <float.h>.
44729 (__ieee754_exp10l): Handle underflow here rather than multiplying
44730 large negative argument by M_LN10l.
44731 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44732 spurious overflow exception on underflow.
44733
5ac3ea17
MP
447342012-04-29 Marek Polacek <polacek@redhat.com>
44735
44736 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44737 (__fortify_function): New macro.
44738 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44739 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44740 __extern_always_inline.
44741 * libio/bits/stdio2.h: Likewise.
44742 * libio/bits/stdio.h: Likewise.
44743 * string/string.h: Likewise.
44744 * string/bits/string3.h: Likewise.
44745 * include/stdio.h: Likewise.
44746 * stdlib/bits/stdlib.h: Likewise.
44747 * stdlib/stdlib.h: Likewise.
44748 * rt/bits/mqueue2.h: Likewise.
44749 * rt/mqueue.h: Likewise.
44750 * posix/bits/unistd.h: Likewise.
44751 * posix/unistd.h: Likewise.
44752 * io/bits/poll2.h: Likewise.
44753 * io/bits/fcntl2.h: Likewise.
44754 * io/fcntl.h: Likewise.
44755 * io/sys/poll.h: Likewise.
44756 * misc/bits/syslog.h: Likewise.
44757 * misc/bits/syslog-ldbl.h: Likewise.
44758 * misc/sys/syslog.h: Likewise.
44759 * socket/bits/socket2.h: Likewise.
44760 * socket/sys/socket.h: Likewise.
44761 * debug/tst-chk1.c: Likewise.
44762 * wcsmbs/bits/wchar2.h: Likewise.
44763 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44764 * wcsmbs/wchar.h: Likewise.
44765
ecf0ebfb
AJ
447662012-04-29 Andreas Jaeger <aj@suse.de>
44767
44768 * Makerules (tests): Remove enable-check-abi protection.
44769 (check-abi-warn): Remove.
44770 (check-abi-%): Remove check-abi-warn usage.
44771
44772 * configure.in: Remove check-abi configure option.
44773 * configure: Regenerated.
44774 * config.make.in (enable-check-abi): Remove.
44775
6d5c57fa
AS
447762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44777
24c5d07e 44778 [BZ #14033]
ded5180a
AS
44779 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44780 double functions to double *_finite functions.
44781
7e0d315d
AS
44782 [BZ #13941]
44783 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44784 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44785 LDBL_MIN_EXP.
44786 * stdio-common/Makefile (tests): Add tst-sprintf3.
44787 * stdio-common/tst-sprintf3.c: New file.
44788
6d5c57fa
AS
44789 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44790 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44791
0749ff8b
JM
447922012-04-28 Joseph Myers <joseph@codesourcery.com>
44793
44794 * conform/conformtest.pl: Remove duplicate typed-constant
44795 handling.
44796
8dbd5d7b
DM
447972012-04-28 David S. Miller <davem@davemloft.net>
44798
44799 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44800 (check-abi-%): Remove AWK script prerequisite and explicit
44801 abilist directory.
44802 (check-abi): Rewrite to just diff the symlist with the abilist.
44803 (config-tls, config-abi-config): Delete, no longer used.
44804 (update-abi-%): Remove AWK script and explicit abilist directory.
44805 (update-abi): Rewrite to simply compare and conditionally copy the
44806 symlist and the sysdep abilist file. Remove update-abi-config
44807 checks.
44808 * abilist/ld.abilist: Remove.
44809 * abilist/libBrokenLocale.abilist: Remove.
44810 * abilist/libanl.abilist: Remove.
44811 * abilist/libcrypt.abilist: Remove.
44812 * abilist/libdl.abilist: Remove.
44813 * abilist/librt.abilist: Remove.
44814 * abilist/libthread_db.abilist: Remove.
44815 * abilist/libutil.abilist: Remove.
44816 * scripts/extract-abilist.awk: Remove.
44817 * scripts/merge-abilist.awk: Remove.
44818 * sysdeps/generic/libcidn.abilist: New file.
44819 * sysdeps/generic/libnss_compat.abilist: New file.
44820 * sysdeps/generic/libnss_db.abilist: New file.
44821 * sysdeps/generic/libnss_dns.abilist: New file.
44822 * sysdeps/generic/libnss_files.abilist: New file.
44823 * sysdeps/generic/libnss_hesiod.abilist: New file.
44824 * sysdeps/generic/libnss_nis.abilist: New file.
44825 * sysdeps/generic/libnss_nisplus.abilist: New file.
44826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44829 file.
44830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44832 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44833 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44834 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44835 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44836 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44837 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44839 file.
44840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44841 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44842 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44843 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44844 file.
44845 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44846 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44848 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44851 file.
44852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44854 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44855 file.
44856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44858 New file.
44859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44860 New file.
44861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44862 New file.
44863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44864 New file.
44865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44866 New file.
44867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44868 New file.
44869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44870 New file.
44871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44872 New file.
44873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44874 New file.
44875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44876 New file.
44877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44878 New file.
44879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44880 New file.
44881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44882 New file.
44883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44884 file.
44885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44886 New file.
44887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44888 New file.
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44890 file.
44891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44892 New file.
44893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44894 New file.
44895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44896 file.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44898 New file.
44899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44900 New file.
44901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44902 New file.
44903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44904 New file.
44905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44906 New file.
44907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44908 New file.
44909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44911 file.
44912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44913 New file.
44914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44915 file.
44916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44917 file.
44918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44919 file.
44920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44921 file.
44922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44923 file.
44924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44925 New file.
44926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44927 file.
44928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44929 file.
44930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44931 New file.
44932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44933 file.
44934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44936 file.
44937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44938 New file.
44939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44940 file.
44941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44942 file.
44943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44944 file.
44945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44946 file.
44947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44948 file.
44949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44950 New file.
44951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44952 file.
44953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44954 file.
44955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44956 New file.
44957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44958 file.
44959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44960 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44961 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44962 file.
44963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44964 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44965 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44966 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44967 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44968 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44969 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44971 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44972 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44975 file.
44976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44977 New file.
44978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44979 file.
44980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44981 file.
44982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44983 file.
44984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44985 file.
44986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44987 file.
44988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44989 New file.
44990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44991 New file.
44992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44993 file.
44994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44995 New file.
44996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44997 file.
44998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45000 file.
45001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45002 New file.
45003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45004 file.
45005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45006 file.
45007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45008 file.
45009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45010 file.
45011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45012 file.
45013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45014 New file.
45015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45016 New file.
45017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45018 file.
45019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45020 New file.
45021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45022 file.
45023
41d73a1b
JM
450242012-04-28 Joseph Myers <joseph@codesourcery.com>
45025
45026 * conform/conformtest.pl: Fix typo in handling typed-constant from
45027 allow-header.
45028
28aeeda4
JM
450292012-04-27 Joseph Myers <joseph@codesourcery.com>
45030
adae8f5e
JM
45031 * README: Cut down references to pre-2.6 Linux kernels and
45032 Linuxthreads. Update lists of configurations in libc and ports
45033 and sort alphabetically. Say "or newer" with Linux kernel version
45034 requirements.
45035
28aeeda4
JM
45036 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45037
a462cb63
RA
450382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45039
45040 [BZ #887]
45041 * math/libm-test.inc (logb_test_downward): New test to expose
45042 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45043 rounding mode.
45044
6ad3493e
JM
450452012-04-27 Joseph Myers <joseph@codesourcery.com>
45046
45047 [BZ #14027]
45048 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45049 to be done.
45050 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45051 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45052
2ce4f015
JM
450532012-04-26 Joseph Myers <joseph@codesourcery.com>
45054
5aeb141a
JM
45055 * sysdeps/unix/i386/brk.S: Remove file.
45056 * sysdeps/unix/i386/dl-brk.S: Likewise.
45057 * sysdeps/unix/i386/pipe.S: Likewise.
45058 * sysdeps/unix/i386/sigreturn.S: Likewise.
45059 * sysdeps/unix/i386/syscall.S: Likewise.
45060 * sysdeps/unix/i386/vfork.S: Likewise.
45061 * sysdeps/unix/i386/wait.S: Likewise.
45062
7143acae
JM
45063 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45064 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45065
2ce4f015
JM
45066 * configure.in (arm*-none*): Do not allow without
45067 --enable-hacker-mode.
45068 (netbsd*): Remove case setting base_os.
45069 (386bsd*): Likewise.
45070 (freebsd*): Likewise.
45071 (bsdi*): Likewise.
45072 (osf*): Likewise.
45073 (sunos*): Likewise.
45074 (ultrix*): Likewise.
45075 (newsos*): Likewise.
45076 (dynix*): Likewise.
45077 (*bsd*): Likewise.
45078 (sysv*): Likewise.
45079 (isc*): Likewise.
45080 (esix*): Likewise.
45081 (sco*): Likewise.
45082 (minix*): Likewise.
45083 (irix4*): Likewise.
45084 (irix6*): Likewise.
45085 (solaris[2-9]*): Likewise.
45086 (none): Likewise.
45087 * configure: Regenerated.
45088
0ac229c8
AZ
450892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45090
45091 [BZ #11521]
45092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45093 overflow or cancellation in calculating denominator.
45094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45096 down expression to avoid unexpected rounding in newer GCCs.
45097 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45098
33f244f4
DM
450992012-04-26 David S. Miller <davem@davemloft.net>
45100
45101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45102 long-double compat symbols.
45103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45116
cfa1f3e8
DM
451172012-04-25 David S. Miller <davem@davemloft.net>
45118
45119 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45120 HWCAP_* values only after the memory barriers have been defined.
45121 (atomic_full_barrier): Define.
45122 (atomic_read_barrier): Define.
45123 (atomic_write_barrier): Define.
45124
6e236b92
SP
451252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45126
45127 * shlib-versions: Add libgcc_s version information.
45128 * sysdeps/generic/libgcc_s.h: Remove.
45129 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45130 libgcc_s.h.
45131 * sysdeps/gnu/unwind-resume.c: Likewise.
45132 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45133
aab39a09
DM
451342012-04-25 David S. Miller <davem@davemloft.net>
45135
45136 * sysdeps/unix/sparc/brk.S: Delete.
45137 * sysdeps/unix/sparc/dl-brk.S: Delete.
45138 * sysdeps/unix/sparc/pipe.S: Delete.
45139 * sysdeps/unix/sparc/sysdep.S: Delete.
45140 * sysdeps/unix/sparc/sysdep.h: Delete.
45141 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45143 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45145 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45146 (JUMPTARGET): Remove.
45147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45148 sysdeps/unix/sparc/sysdep.h
45149 (ENTRY, END): Remove.
45150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45151
a3cc4f48
JM
451522012-04-25 Joseph Myers <joseph@codesourcery.com>
45153
2ed8cda2
JM
45154 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45155 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45156 -DIS_IN_build.
45157
35d76d59
JM
45158 * timezone/README: Update upstream location and email address for
45159 tzcode and tzdata.
45160 * timezone/zdump.c: Update from tzcode 2012b.
45161 * timezone/zic.c: Likewise.
45162
a3cc4f48
JM
45163 * configure.in (libc_cv_as_needed): Remove test.
45164 * configure: Regenerated.
45165 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45166 conditional definition.
45167 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45168 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45169 * config.make.in (have-as-needed): Remove variable.
45170
ceab42c3
SP
451712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45172 Paul Pluzhnikov <ppluzhnikov@google.com>
45173
45174 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45175 strings correctly.
45176
3ce2865f
CLT
451772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45178
45179 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45180 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45181 * sysdeps/sh/strlen.S: Likewise.
45182
f37e0d68
JM
451832012-04-24 Joseph Myers <joseph@codesourcery.com>
45184
ae186e9a
JM
45185 * sysdeps/unix/fork.S: Remove file.
45186 * sysdeps/unix/i386/fork.S: Likewise.
45187 * sysdeps/unix/sparc/fork.S: Likewise.
45188
b96914af
JM
45189 * sysdeps/unix/system.c: Remove file.
45190 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45191
f37e0d68
JM
45192 * sysdeps/unix/getegid.S: Remove file.
45193 * sysdeps/unix/geteuid.S: Likewise.
45194
87ef29ca
RM
451952012-04-24 Roland McGrath <roland@hack.frob.com>
45196
83bcd236
RM
45197 * scripts/check-localplt.awk: New file.
45198 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45199 of diff.
45200 * scripts/data/localplt-generic.data: Add a comment.
45201
87ef29ca
RM
45202 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45203 NODE when __dir_mkfile failed.
45204 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45205 Reported by Ludovic Courtès <ludo@gnu.org>.
45206
e5a6e567
AJ
452072012-04-24 Andreas Jaeger <aj@suse.de>
45208
45209 * Makerules (common-clean): Also remove gen-as-const-headers
45210 files.
45211
c1820385
JM
452122012-04-24 Joseph Myers <joseph@codesourcery.com>
45213
45214 * Makerules (native-compile): Do not change working directory for
45215 build. Use $(OUTPUT_OPTION) in command.
45216 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45217
94e02fc4
AZ
452182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45219
45220 [BZ #13886]
45221 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45222 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45223 * math/libm-test.inc (floor_test): Add more tests.
45224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45225
3a533ca3
JM
452262012-04-24 Joseph Myers <joseph@codesourcery.com>
45227
940ab4b3
JM
45228 * sysdeps/unix/getdents.c: Remove file.
45229 * sysdeps/unix/sysv/getdents.c: Likewise.
45230 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45231
90e037bd
JM
45232 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45233 sysdeps/unix/mman/syscalls.list.
45234 (mmap): Likewise.
45235 (mprotect): Likewise.
45236 (msync): Likewise.
45237 (munmap): Likewise.
45238 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45239 * sysdeps/unix/mman/syscalls.list: Remove.
45240 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45241
3a533ca3
JM
45242 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45243 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45244 * configure: Regenerated.
45245 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45246 $(libgcc_s_suffix).
45247 * config.make.in (libgcc_s_suffix): Remove variable.
45248
1ad743de
JM
452492012-04-23 Joseph Myers <joseph@codesourcery.com>
45250
4ad451e2
JM
45251 * sysdeps/unix/sysv/gethostname.c: Move to ...
45252 * sysdeps/posix/gethostname.c: ... here.
45253
5e37ce39
JM
45254 * sysdeps/unix/execve.S: Remove file.
45255
1ad743de
JM
45256 * sysdeps/unix/_exit.S: Remove file.
45257
4e681b5b
AJ
452582012-04-23 Andreas Jaeger <aj@suse.de>
45259
45260 [BZ #13739]
45261 * manual/Makefile: Remove make dist support, there's no
45262 need for a stand-alone documentation tar ball.
45263 (TEXI2DVI): Define always, it's not in Makeconfig.
45264 (dist): Removed.
45265 (tar-it): Removed.
45266 (edition): Removed.
45267 (glibc-doc-$(edition).tar): Removed
45268 (%.Z): Removed.
45269 (%.gz): Removed.
45270 (%.uu): Removed.
45271 (ETAGS): Remove, it's in Makeconfig.
45272 (move-if-change): Remove, it's in Makeconfig.
45273
38686a03 452742012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45275
45276 [BZ #13970]
45277 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45278 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45279 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45280 (strtod_l, strtof_l, strtold_l): Remove __wur.
45281 It is not necessarily an error to ignore strtol's return value.
45282 One can reliably look at the stored endptr to decide whether
45283 the number had valid syntax.
45284
7c0616fa
AJ
452852012-04-21 Andreas Jaeger <aj@suse.de>
45286
803cb6b7 45287 [BZ #13739]
7c0616fa
AJ
45288 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45289
b0fe253f
JM
452902012-04-21 Joseph Myers <joseph@codesourcery.com>
45291
45292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45293 * sysdeps/unix/sysv/Versions: Remove file.
45294
8280f22d
MT
452952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45296
45297 [BZ #13927]
45298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45299
75ce411f 453002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45301
45302 [BZ #7064]
45303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45304 version from __vm86.
45305
097d59fa
JM
453062012-04-20 Joseph Myers <joseph@codesourcery.com>
45307
a90f3bcb
JM
45308 * sysdeps/unix/common/lxstat.c: Remove file.
45309 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45310
edc7ea78
JM
45311 * sysdeps/unix/sysv/Makefile: Remove file.
45312
cb78c221
JM
45313 * sysdeps/unix/sysv/direct.h: Remove file.
45314
efa6a45f
JM
45315 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45316 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45317 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45318 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45319 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45320 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45321 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45322
9c9f2d0c
JM
45323 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45324
4541c83b
JM
45325 * sysdeps/unix/xmknod.c: Remove file.
45326 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45327
f5d153a0
JM
45328 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45329
aa746595
JM
45330 * sysdeps/unix/sysv/i386/time.S: Remove file.
45331
cce5905e
JM
45332 * sysdeps/unix/fxstat.c: Remove file.
45333 * sysdeps/unix/xstat.c: Likewise.
45334 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45335
37fa3841
JM
45336 * sysdeps/unix/sysv/sigaction.c: Remove file.
45337
ff1962a3
JM
45338 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45339 (sysdep_headers): Remove variable.
45340 [termio.h not in sysdep_headers] (generated): Likewise.
45341 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45342 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45343 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45344 * sysdeps/unix/sysv/tcflow.c: Likewise.
45345 * sysdeps/unix/sysv/tcflush.c: Likewise.
45346 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45347 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45348 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45349 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45350 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45351
e7740d31
JM
45352 * sysdeps/unix/siglist.c: Remove file.
45353
ee06f18b
JM
45354 * sysdeps/unix/getppid.S: Remove file.
45355
097d59fa
JM
45356 * sysdeps/unix/mkdir.c: Remove file.
45357 * sysdeps/unix/rmdir.c: Likewise.
45358
ff3d51ec
AS
453592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45360
45361 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45362 ERR_MAX value.
45363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45364 errlist-compat value.
45365
50f81fd7
DM
453662012-04-18 David S. Miller <davem@davemloft.net>
45367
45368 * sysdeps/generic/memcopy.h (reg_char): Delete.
45369 * debug/strcat_chk.c: Use char, not reg_char.
45370 * debug/strcpy_chk.c: Likewise.
45371 * debug/strncat_chk.c: Likewise.
45372 * debug/strncpy_chk.c: Likewise.
45373 * string/memchr.c: Likewise.
45374 * string/memrchr.c: Likewise.
45375 * string/rawmemchr.c: Likewise.
45376 * string/strcat.c: Likewise.
45377 * string/strchr.c: Likewise.
45378 * string/strchrnul.c: Likewise.
45379 * string/strcmp.c: Likewise.
45380 * string/strcpy.c: Likewise.
45381 * string/strncat.c: Likewise.
45382 * string/strncmp.c: Likewise.
45383 * string/strncpy.c: Likewise.
45384
8ff41c46
WS
453852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45386
45387 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45388 __builtin_memcopy is called when src and dest ranges are known to not
45389 overlap.
45390
6b652f46
WS
453912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45392
45393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45394 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45395 fwd_align_merge macro call.
45396 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45397 bwd_align_merge macro call.
45398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45399
b282631e
WS
454002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45401
45402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45403 bwd_align_merge macros.
45404 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45405 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45407
95aa737c
DM
454082012-04-18 David S. Miller <davem@davemloft.net>
45409
45410 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45411
7a99a614
AJ
454122012-04-18 Andreas Jaeger <aj@suse.de>
45413
45414 [BZ# 6794]
45415 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45416 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45418
45419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45420 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45422
45423 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45424 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45425 Adjust for changed ldbl-128 files.
45426
45427 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45428 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45429 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45430
e5270c23
DM
454312012-04-17 David S. Miller <davem@davemloft.net>
45432
45433 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45434
fb5e92c9
AS
454352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45436
45437 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45438 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45439 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45440 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45441 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45442 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45443
76da7265
AZ
454442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45445
45446 [BZ #6794]
45447 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45448 * math/libm-test.inc: Add ilogb errno and exception tests.
45449 * math/w_ilogb.c: New file: ilogb wrapper.
45450 * math/w_ilogbf.c: New file: ilogbf wrapper.
45451 * math/w_ilogbl.c: New file: ilogbl wrapper.
45452 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45453 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45454 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45455 exception being thrown with 0.0 as argument.
45456 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45457 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45458 exception being thrown with 0.0 as argument.
45459 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45460 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45461 exception being thrown with 0.0 as argument.
45462 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45463 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45464 exception being thrown with 0.0 as argument.
45465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45466 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45468 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45470 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45471 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45472 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45473 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45474
0396e69d
PB
454752012-04-17 Petr Baudis <pasky@ucw.cz>
45476
45477 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45478 with altivec.
45479
750b5926
MP
454802012-04-16 Marek Polacek <polacek@redhat.com>
45481
45482 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45483
751728a1
MP
454842012-04-16 Marek Polacek <polacek@redhat.com>
45485
45486 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45487 operands of fdivp instruction.
45488
34a27407
L
454892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45490
45491 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45492 * elf/tst-auditmod3b.c: Likewise.
45493 * elf/tst-auditmod4b.c: Likewise.
45494 * elf/tst-auditmod5b.c: Likewise.
45495 * elf/tst-auditmod6b.c: Likewise.
45496 * elf/tst-auditmod6c.c: Likewise.
45497 * elf/tst-auditmod7b.c: Likewise.
45498 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45499 * sysdeps/x86_64/preconfigure.in: Likewise.
45500 * sysdeps/x86_64/preconfigure: Regenerated.
45501
7e73e17d
L
455022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45503
45504 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45505 __ILP32__.
45506
c7a6ab72
AB
455072012-04-13 Antoine Balestrat <merkil33@gmail.com>
45508
45509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45510 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45511
a9e8e0e0
CL
455122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45513
45514 [BZ #13973]
45515 * locale/iso-639.def: Fix gl language name. Spotted by
45516 Yaron Shahrabani.
45517
ec98af7d
RM
455182012-04-12 Roland McGrath <roland@hack.frob.com>
45519
45520 [BZ #2074]
45521 * libio/libio.h (__io_write_fn): Update comment.
45522
247c3ede
PB
455232012-04-12 Petr Baudis <pasky@ucw.cz>
45524
45525 [BZ #2074]
45526 * stdio.texi (Hook Functions): The user provided writer function
45527 is not allowed to return -1.
45528
55939d6d
DM
455292012-04-11 David S. Miller <davem@davemloft.net>
45530
45531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45532
90020f5a
MF
455332012-04-11 Mike Frysinger <vapier@gentoo.org>
45534
45535 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45536 Add a leading slash to rtkaio.
45537
288f9098
JM
455382012-04-11 Jim Meyering <meyering@redhat.com>
45539
90020f5a
MF
45540 [BZ #11959]
45541 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45542 It is not necessarily an error to ignore fwrite's return
45543 value. One can reliably use ferror to test for errors after
45544 the fact.
288f9098 45545
4be2b570
L
455462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45547
45548 * bits/types.h (__snseconds_t): New type.
45549 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45550
45551 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45553 (__SNSECONDS_T_TYPE): Likewise.
45554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45555 (__SNSECONDS_T_TYPE): Likewise.
45556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45557 (__SNSECONDS_T_TYPE): Likewise.
45558
288f9098 455592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45560
45561 [BZ #2636]
45562 * manual/time.texi (Processor Time): Return type of times is
45563 elapsed real time since an arbitrary point in the past.
45564 (CPU Time): Move CLK_TCK from here...
45565 (Processor Time): ...to here. Correct description.
45566 * manual/conf.texi (Constants for Sysconf): Correct description of
45567 _SC_CLK_TCK.
45568
d7dd4413
DM
455692012-04-10 David S. Miller <davem@davemloft.net>
45570
45571 [BZ #13967]
45572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45573 where the is a gap between DT_REL(A) and DT_JMPREL.
45574
b46068fc
L
455752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45576
45577 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45580
73d65cc3
SP
455812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45582
45583 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45584 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45585 (dl_main): Handle --inhibit-cache.
45586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45587 _dl_inhibit_cache.
45588 * elf/dl-load.c (_dl_map_object): Use it.
45589 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45590
bcc8d661
JM
455912012-04-09 Joseph Myers <joseph@codesourcery.com>
45592
8f9a2fae
JM
45593 [BZ #13872]
45594 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45595 (__ieee754_powl): Saturate large exponents rather than testing for
45596 overflow of y*log2(x).
45597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45598 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45599 exceptions.
45600
bcc8d661
JM
45601 [BZ #11521]
45602 * math/s_ctan.c: Include <float.h>.
45603 (__ctan): Avoid internal overflow or cancellation in calculating
45604 denominator.
45605 * math/s_ctanf.c: Likewise.
45606 * math/s_ctanl.c: Likewise.
45607 * math/s_ctanh.c: Likewise.
45608 * math/s_ctanhf.c: Likewise.
45609 * math/s_ctanhl.c: Likewise.
45610 * math/libm-test.inc (ctan_test): Add more tests.
45611 (ctanh_test): Likewise.
45612 * sysdeps/i386/fpu/libm-test-ulps: Update.
45613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45614
823fbbb4
AJ
456152012-04-09 Andreas Jaeger <aj@suse.de>
45616
03879793
AJ
45617 [BZ #6894]
45618 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45619 is an optional BSD extension.
45620
823fbbb4
AJ
45621 [BZ #10254]
45622 * manual/stdio.texi (Opening Streams): Document additional fopen
45623 parameters.
45624
8de131cb
RM
456252012-04-09 Roland McGrath <roland@hack.frob.com>
45626
45627 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45628 %eax without telling the compiler.
45629
c0ed9d7d
CD
456302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45631
45632 [BZ # 13963]
45633 * manual/install.texi: Use sourceware.org.
45634
c483f6b4
JM
456352012-04-09 Joseph Myers <joseph@codesourcery.com>
45636
d7dd9453
JM
45637 [BZ #13873]
45638 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45639 (__ieee754_pow): Generate overflow and underflow using huge*huge
45640 and tiny*tiny rather than just returning constant infinity or zero
45641 for large exponents.
45642 * math/libm-test.inc (pow_test): Require overflow exceptions for
45643 applicable cases of large exponents.
45644
c483f6b4
JM
45645 [BZ #706]
45646 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45647 (__ieee754_pow): Use iterative multiplication algorithm only for
45648 integer exponents with absolute value below 1024. Check for odd
45649 integer exponents when using algorithm for real exponents.
45650 * math/libm-test.inc (pow_test): Add more tests.
45651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45652
d2de7579
JM
456532012-04-08 Joseph Myers <joseph@codesourcery.com>
45654
45655 [BZ #13705]
45656 * math/libm-test.inc (exp_test): Do not allow overflow exception
45657 on underflow test.
45658
f77f1232
AJ
456592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45660
45661 [BZ #13705]
45662 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45663 instead of __kernel_standard_f.
45664
3884932b
MF
456652012-04-08 Mike Frysinger <vapier@gentoo.org>
45666
45667 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45668 * sysdeps/x86_64/memset_chk.S: Likewise.
45669
54472e9c
AJ
456702012-04-08 Andreas Jaeger <aj@suse.de>
45671
6ab0fbfc
AJ
45672 [BZ #10153]
45673 * manual/startup.texi (Environment Access): Describe return value
45674 for putenv and setenv.
45675
61efba8c
AJ
45676 [BZ #6895]
45677 * manual/filesys.texi (Directory Entries): Add description for
45678 DT_LNK.
45679
95c3f29a
AJ
45680 [BZ #6890]
45681 * manual/filesys.texi (Directory Entries): Clarify that it's file
45682 system not operating system in the description of DT_UNKNOWN.
45683
54472e9c
AJ
45684 [BZ #6578]
45685 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45686
624254b1
SC
456872012-04-08 Stephen Compall <s11@member.fsf.org>
45688
45689 [BZ #6649]
45690 * manual/llio.texi (Opening and Closing Files): Add cross
45691 reference to explain mode argument.
45692
1e4920e0
MF
456932012-04-07 Mike Frysinger <vapier@gentoo.org>
45694
45695 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45696 * sysdeps/x86_64/memset_chk.S: Likewise.
45697
5ed848f3
DM
456982012-04-07 David S. Miller <davem@davemloft.net>
45699
45700 * elf/elf.h (R_SPARC_WDISP10): Define.
45701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45702 R_SPARC_SIZE32.
45703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45704 R_SPARC_SIZE64 and R_SPARC_H34.
45705
96154cd8
CD
457062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45707
45708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45709 conditions and remove no longer applicable assertion.
45710
9904dc47
L
457112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45712
45713 * bits/byteswap.h: Include <features.h>.
45714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45716
f8887d0a
L
457172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45718
45719 * bits/byteswap.h (__bswap_16): Removed.
45720 Include <bits/byteswap-16.h> to get __bswap_16.
45721 * sysdeps/i386/bits/byteswap.h: Likewise.
45722 * sysdeps/s390/bits/byteswap.h: Likewise.
45723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45724 * bits/byteswap-16.h: New file.
45725 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45726 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45727 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45728 * string/Makefile (headers): Add bits/byteswap-16.h.
45729
62470f60
PP
457302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45731
45732 [BZ #13895]
45733 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45734 extra indirection.
45735 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45736 * nss/tst-nss-static.c: New.
45737
4dad7bab
RM
457382012-04-06 Robert Millan <rmh@gnu.org>
45739
45740 [BZ #6486]
45741 * manual/llio.texi (File Position Primitive): lseek
45742 refers to WHENCE when it really means OFFSET.
45743
e9142a17
AJ
457442012-04-06 Andreas Jaeger <aj@suse.de>
45745
2c040eff
AJ
45746 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45747 strncmp declarations.
45748
e9142a17
AJ
45749 * abilist/libc.abilist: Add __poll and __ppoll.
45750
ff9f1c5f
DM
457512012-04-05 David S. Miller <davem@davemloft.net>
45752
dcd2ae90
DM
45753 * scripts/check-local-headers.sh: Accept a host triplet in the
45754 path matched by the exclude regexp.
45755
993eb054
DM
45756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45757 definition.
45758 * sysdeps/powerpc/powerpc32/dl-machine.h
45759 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45760 * sysdeps/s390/s390-32/dl-machine.h
45761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45762 * sysdeps/sparc/sparc32/dl-machine.h
45763 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45764 * sysdeps/sparc/sparc64/dl-machine.h
45765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45766
ff9f1c5f
DM
45767 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45768 lazy binding.
48e2e132 45769 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45770 undefined symbol errors.
45771
48e2e132 45772 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45773 DT_NEEDED entries.
45774
e80d6f94
MM
457752012-04-05 Michael Matz <matz@suse.de>
45776
45777 [BZ #13592]
45778 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45779
349fa79f
AJ
457802012-04-05 Andreas Jaeger <aj@suse.de>
45781
45782 [BZ #13908]
45783 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45784 comment.
45785
f402708f
KK
457862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45787
45788 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45789 which ROUND is no valid rounding mode.
45790
2ecccfc9
KK
457912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45792
45793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45794 read again.
45795 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45796
8a53f50f
KK
457972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45798
45799 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45800 an exception using FPU order intentionally.
45801
458022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45803
45804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45805 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45806 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45807 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45808
d653abb7
SJ
458092012-04-05 Simon Josefsson <simon@josefsson.org>
45810
45811 [BZ #12340]
45812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45813 EINVAL when BUFLEN is too smal.
45814
c3b1bf7d
TS
458152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45816
45817 [BZ #13553]
45818 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45819 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45820
b1aa60f3
AJ
458212012-04-03 Andreas Jaeger <aj@suse.de>
45822
c3b1bf7d 45823 [BZ #13938]
67f60a26
AJ
45824 * manual/setjmp.texi (System V contexts): Fix sentence.
45825
b1aa60f3
AJ
45826 [BZ #13926]
45827 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45828 New macro for this case.
45829 [!__GNUC__] (__bswap_64): New inline function for this case.
45830 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45831 * bits/byteswap.h: Likewise.
45832 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45833 ull, guard with __GLIBC_HAVE_LONG_LONG.
45834
45835 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45836 __GLIBC_HAVE_LONG_LONG.
45837
45838 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45839 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45840
39c59c35
TMQMF
458412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45842
45843 [BZ #13691]
45844 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45845 inptr and inend, rather than using last_ch.
45846
135ffda8
DM
458472012-04-02 David S. Miller <davem@davemloft.net>
45848
45849 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45850 * stdio-common/printf-parse.h (read_int): Change return type to
45851 'int', return -1 on INT_MAX overflow.
45852 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45853 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45854 overflows INT_MAX. Check for overflow of in-format-string precision
45855 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45856 SIZE_MAX not INT_MAX for integer overflow test.
45857 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45858 skip the construct in the format string but do not record anything.
45859 * stdio-common/bug22.c: Adjust to test both width/prevision
45860 INT_MAX overflow as well as total length INT_MAX overflow. Check
45861 explicitly for proper errno values.
45862
228c019e
TS
458632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45864
302cadd3
TS
45865 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45866 CHAR_MAX.
45867 * string/test-strcmp.c [! WIDE]: Likewise.
45868 * time/tst-mktime2.c: Likewise for INT_MAX.
45869 * string/test-string.h: #include <sys/param.h> for MIN.
45870
228c019e
TS
45871 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45872 * sysdeps/i386/init-first.c (init): Likewise.
45873 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45874 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45875 * sysdeps/sh/init-first.c (init): Likewise.
45876
cfa633f5
UD
458772012-04-01 Ulrich Drepper <drepper@gmail.com>
45878
45879 * po/ru.po: Update from translation team.
d1635ef8 45880 * po/vi.po: Likewise.
cfa633f5 45881
6cd0a5ea
SP
458822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45883
45884 * resolv/nss_dns/dns-host.c: Merge copyright years.
45885
4b43400f
LD
458862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45887
45888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45889 Optimize memcpy with prefetch if
45890 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45891 src, dst pointers have unequal 16 byte alignments.
45892
48c41d04
SP
458932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45894
45895 [BZ #13928]
45896 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45897 from a CNAME entry and return the minimum ttl for the query.
45898 (gaih_getanswer_slice): Likewise.
45899
b8dc394d
JL
459002012-03-30 Jeff Law <law@redhat.com>
45901
45902 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45903 due to long keys.
45904 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45905 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45906
2f5a5ed0
JL
45907 * resolv/nss_dns/dns-host.c: Update copyright year.
45908
1d39e359
UD
459092012-03-30 Ulrich Drepper <drepper@gmail.com>
45910
c030f70c 45911 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45912 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45913
1d39e359
UD
45914 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45915 comments for sendmmsg.
45916
459172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45918
45919 [BZ #13691]
45920 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45921 with only 1 character between 0x0041 and 0x01b0.
45922 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45923 * wcsmbs/tst-mbsnrtowcs.c: New file.
45924
20fde227
DM
459252012-03-29 David S. Miller <davem@davemloft.net>
45926
45927 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45928 small copies by hand.
45929
984a4237
JL
459302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45931
45932 [BZ #13761]
57f41c40
AS
45933 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45934 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45935 group memberships.
984a4237 45936
18c9d62b
DM
459372012-03-28 David S. Miller <davem@davemloft.net>
45938
88d85d4f
DM
45939 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45940 that branches into memcpy.
45941 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45944 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45946 bits.
45947 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45948 implementation too.
45949 * sysdeps/sparc/mempcpy.S: New file.
45950
e5aa83e1
DM
45951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45952 the IFUNC routine in the libc case.
45953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45954
88570753
DM
45955 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45956 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45957 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45958 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45959 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45960 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45961 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45962 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45963
249d7567
DM
45964 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45965 loop to 256 bytes instead of 64 bytes and fix test signedness.
45966
18c9d62b
DM
45967 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45968 * sysdeps/sparc/sparc32/Makefile: rather than here...
45969 * sysdeps/sparc/sparc64/Makefile: and here.
45970
05f3d1f6
UD
459712012-03-28 Ulrich Drepper <drepper@gmail.com>
45972
45973 * malloc/mallocbug.c: Avoid warnings about unused variables.
45974
86ae07a8
JL
459752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45976
45977 [BZ #13760]
45978 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45979 in the right place. Discard and retry query if response is
45980 larger than input buffer size.
45981
41bf21a1
JM
459822012-03-28 Joseph Myers <joseph@codesourcery.com>
45983
d6270972
JM
45984 [BZ #369]
45985 [BZ #2678]
45986 [BZ #3866]
45987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45988 x for large integer exponent.
45989 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45990 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45991 sign of result as needed afterwards.
45992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45994 result for underflowing pow the same as for overflow.
45995 (__kernel_standard_l): Handle powl overflow and underflow here
45996 rather than calling __kernel_standard.
45997 * math/libm-test.inc (pow_test): Add more tests.
45998
414fca03 45999 [BZ #3868]
41bf21a1
JM
46000 [BZ #13879]
46001 [BZ #13910]
46002 [BZ #13911]
46003 [BZ #13912]
46004 [BZ #13913]
46005 [BZ #13915]
46006 [BZ #13916]
46007 [BZ #13917]
46008 [BZ #13918]
46009 [BZ #13919]
46010 [BZ #13920]
46011 [BZ #13921]
46012 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46013 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46014 (__kernel_standard_l): New function.
46015 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46016 __kernel_standard.
46017 * math/w_acosl.c (__acosl): Likewise.
46018 * math/w_asinl.c (__asinl): Likewise.
46019 * math/w_atan2l.c (__atan2l): Likewise.
46020 * math/w_atanhl.c (__atanhl): Likewise.
46021 * math/w_coshl.c (__coshl): Likewise.
46022 * math/w_exp10l.c (__exp10l): Likewise.
46023 * math/w_exp2l.c (__exp2l): Likewise.
46024 * math/w_fmodl.c (__fmodl): Likewise.
46025 * math/w_hypotl.c (__hypotl): Likewise.
46026 * math/w_j0l.c (__j0l, __y0l): Likewise.
46027 * math/w_j1l.c (__j1l, __y1l): Likewise.
46028 * math/w_jnl.c (__jnl, __ynl): Likewise.
46029 * math/w_lgammal.c (__lgammal): Likewise.
46030 * math/w_log10l.c (__log10l): Likewise.
46031 * math/w_log2l.c (__log2l): Likewise.
46032 * math/w_logl.c (__logl): Likewise.
46033 * math/w_powl.c (__powl): Likewise.
46034 * math/w_remainderl.c (__remainderl): Likewise.
46035 * math/w_scalbl.c (sysv_scalbl): Likewise.
46036 * math/w_sinhl.c (__sinhl): Likewise.
46037 * math/w_sqrtl.c (__sqrtl): Likewise.
46038 * math/w_tgammal.c (__tgammal): Likewise.
46039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46040 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46041 * math/libm-test.inc (acos_test): Add more tests.
46042 (acosh_test): Likewise.
46043 (asin_test): Likewise.
46044 (atanh_test): Likewise.
46045 (exp_test): Likewise.
46046 (exp10_test): Likewise.
46047 (exp2_test): Likewise.
46048 (expm1_test): Likewise.
46049 (lgamma_test): Likewise.
46050 (log_test): Likewise.
46051 (log10_test): Likewise.
46052 (log1p_test): Likewise.
46053 (log2_test): Likewise.
46054 (pow_test): Do not allow some spurious overflow exceptions.
46055 (sqrt_test): Add more tests.
46056 (tgamma_test): Likewise.
46057 (y0_test): Likewise.
46058 (y1_test): Likewise.
46059 (yn_test): Likewise.
46060
dd62fda6
AB
460612012-03-27 Anton Blanchard <anton@samba.org>
46062
46063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46064 MAP_HUGETLB.
46065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46066 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46068
1e3cdfda
AJ
460692012-03-27 David S. Miller <davem@davemloft.net>
46070
b855ab85
DM
46071 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46072
1e3cdfda
AJ
46073 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46074 have-as-vis3 check.
46075
460762012-03-27 Andreas Jaeger <aj@suse.de>
46077
46078 * sysdeps/x86_64/elf/configure.in: Moved to ...
46079 * sysdeps/x86_64/configure.in: ... here.
46080 * sysdeps/x86_64/elf/start.S: Moved to ...
46081 * sysdeps/x86_64/start.S: ... here.
46082 * sysdeps/x86_64/elf/configure: Delete.
46083
46084 * sysdeps/x86_64/configure.in: Merge contents from
46085 sysdeps/i386/configure.in (without i686 check).
46086
46087 * sysdeps/i386/elf/Versions: Merge into ...
46088 * sysdeps/i386/Versions: ... this.
46089 * sysdeps/i386/elf/Versions: Delete file.
46090 * sysdeps/i386/elf/start.S: Moved to ...
46091 * sysdeps/i386/start.S: ...here.
46092 * sysdeps/i386/elf/configure.in: Merge into...
46093 * sysdeps/i386/configure.in: ...here.
46094 * sysdeps/i386/elf/configure.in: Delete file.
46095 * sysdeps/i386/elf/configure: Delete file.
46096
46097 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46098 * debug/backtracesyms.c: ... here.
46099 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46100 * debug/backtracesymsfd.c: ... here.
46101 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46102 * sysdeps/generic/ifunc-sel.h: ... here.
46103
46104 * sysdeps/unix/i386/start.c: Delete file.
46105 * sysdeps/unix/sparc/start.c: Delete file.
46106 * sysdeps/unix/start.c: Delete file.
46107
46108 * sysdeps/sh/elf/configure.in: Moved to ...
46109 * sysdeps/sh/configure.in: ... here.
46110 * sysdeps/sh/elf/start.S: Moved to ...
46111 * sysdeps/sh/start.S: ... here.
46112 * sysdeps/sh/elf/configure: Delete file.
46113
46114 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46115 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46116 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46117 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46118 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46119 * sysdeps/powerpc/powerpc64/start.S: here.
46120 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46121 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46122 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46123 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46124 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46125
46126 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46127 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46128 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46129 * sysdeps/powerpc/powerpc32/start.S: ... here.
46130 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46131 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46132 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46133
46134 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46135 * sysdeps/powerpc/ifunc-sel.h: ... here.
46136 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46137 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46138
46139 * sysdeps/sparc/elf/configure.in: Moved to ...
46140 * sysdeps/sparc/configure.in: ... here.
46141 * sysdeps/sparc/elf/configure: Delete file.
46142 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46143 * sysdeps/sparc/sparc32/start.S: ... here.
46144 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46145 * sysdeps/sparc/sparc64/start.S: ... here.
46146 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46147 * sysdeps/sparc/sparc32/Makefile: ... this.
46148 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46149 * sysdeps/sparc/sparc64/Makefile: ... this.
46150
46151 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46152 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46153 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46154 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46155 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46156 * sysdeps/s390/s390-32/setjmp.S: ... here.
46157 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46158 * sysdeps/s390/s390-32/configure.in: ... here.
46159 * sysdeps/s390/s390-32/elf/configure: Delete file.
46160 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46161 * sysdeps/s390/s390-32/start.S: ... here.
46162
46163 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46164 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46165 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46166 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46167 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46168 * sysdeps/s390/s390-64/setjmp.S: ... here.
46169 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46170 * sysdeps/s390/s390-64/configure.in: ... here
46171 * sysdeps/s390/s390-64/elf/configure: Delete file.
46172 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46173 * sysdeps/s390/s390-64/start.S: ... here.
46174 * sysdeps/s390/s390-64/elf/configure: Delete.
46175
46176 * configure.in: Remove support for elf directories in sysdeps.
46177
46178 * configure: Regenerated.
46179 * sysdeps/i386/configure: Regenerated.
46180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46182 * sysdeps/s390/s390-32/configure: Regenerated.
46183 * sysdeps/s390/s390-64/configure: Regenerated.
46184 * sysdeps/sh/configure: Regenerated.
46185 * sysdeps/sparc/configure: Regenerated.
46186 * sysdeps/x86_64/configure: Regenerated.
46187
a3f61311
AS
461882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46189
c876e002
AS
46190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46191
a3f61311
AS
46192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46193 denormal result into account.
46194
ac4c54f0
RM
461952012-03-25 Roland McGrath <roland@hack.frob.com>
46196
46197 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46198 Reported by Allan McRae <allan@archlinux.org>.
46199
6a9b9c02
JL
462002012-03-23 Jeff Law <law@redhat.com>
46201
46202 * nss/getnssent.c (__nss_getent): Fix typo.
46203
4c42a0c1
DM
462042012-03-23 David S. Miller <davem@davemloft.net>
46205
46206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46207
1532c7ac
L
462082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46209
46210 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46211 to pad to uint64_t for each field.
46212 (dl_tls_index): Replace unsigned long with uint64_t.
46213
3ff42526
PP
462142012-03-23 Daniel Jacobowitz <dmj@google.com>
46215 Paul Pluzhnikov <ppluzhnikov@google.com>
46216
46217 [BZ #6528]
46218 * grp/Makefile (otherlibs): Don't set it.
46219 * inet/Makefile (otherlibs): Likewise.
46220 * login/Makefile (otherlibs): Likewise.
46221 * nscd/Makefile (otherlibs): Likewise.
46222 * posix/Makefile (otherlibs): Likewise.
46223 * pwd/Makefile (otherlibs): Likewise.
46224 * rt/Makefile (otherlibs): Likewise.
46225 * sunrpc/Makefile (otherlibs): Likewise.
46226 * nss/Makefile (otherlibs): Likewise.
46227 Add libnss_files to routines and static-only-routines.
46228 ($(objpfx)getent): Remove rule.
46229 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46230 static-only-routines.
46231
7c69cd14
JM
462322012-03-22 Joseph Myers <joseph@codesourcery.com>
46233
46234 [BZ #13892]
46235 * math/s_cexp.c: Include <float.h>.
46236 (__cexp): Handle exp result overflowing not necessarily
46237 overflowing both real and imaginary parts of result.
46238 * math/s_cexpf.c: Likewise.
46239 * math/s_cexpl.c: Likewise.
46240 * math/libm-test.inc (cexp_test): Add more tests.
46241 * sysdeps/i386/fpu/libm-test-ulps: Update.
46242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46243
81b035fe
L
462442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46245
46246 * include/link.h (ELFW): New macro.
46247 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46248 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46249
1da7940c
L
462502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46251
46252 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46253 with uint64_t.
46254
b749dbb9
L
462552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46256
46257 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46258 declaration.
46259 (struct La_x32_retval): Likewise.
46260
2ff87f3f
L
462612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46262
46263 * sysdeps/x86_64/preconfigure.in: New file.
46264 * sysdeps/x86_64/preconfigure: New generated file.
46265
c0df8e69
JM
462662012-03-22 Joseph Myers <joseph@codesourcery.com>
46267
48e44791
JM
46268 [BZ #13824]
46269 * math/e_exp2l.c: Include <float.h>.
46270 (__ieee754_exp2l): Handle overflow and underflow cases
46271 separately. Only pass fractional part of argument to
46272 __ieee754_expl.
46273 * math/libm-test.inc (exp2_test): Add more tests.
46274
c0df8e69
JM
46275 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46276 negating x to take absolute value.
46277 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46278 Likewise.
46279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46281 Likewise.
46282 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46283 computing low part if x was negated.
46284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46285
c8e43ba7
L
462862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46287
46288 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46289 la_x32_gnu_pltexit.
46290 (pltexit): Cast int_retval to ptrdiff_t.
46291 * elf/tst-auditmod3b.c: Likewise.
46292 * elf/tst-auditmod4b.c: Likewise.
46293 * elf/tst-auditmod5b.c: Likewise.
46294 * elf/tst-auditmod6b.c: Likewise.
46295 * elf/tst-auditmod6c.c: Likewise.
46296 * elf/tst-auditmod7b.c: Likewise.
46297
46298 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46299 and x32_gnu_pltexit.
46300
46301 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46302 __ELF_NATIVE_CLASS.
46303 (La_x32_regs): New macro.
46304 (La_x32_retval): Likewise.
46305 (la_x32_gnu_pltenter): New function prototype.
46306 (la_x32_gnu_pltexit): Likewise.
46307
7998fa78
AS
463082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46309
dcb33988
AS
46310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46311 exponent.
46312
233fc563
AS
46313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46314
7998fa78
AS
46315 * configure.in (libc_cv_cc_nofma): Check for option to disable
46316 generation of FMA instructions.
46317 * configure: Regenerate.
46318 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46319 * sysdeps/ieee754/dbl-64/Makefile: New file.
46320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46321 Remove brandred-fma4.
46322 (CFLAGS-brandred-fma4.c): Remove.
46323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46325 define.
46326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46327 define.
46328
8e95c99a
L
463292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46330
46331 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46332 LLONG_MAX != LONG_MAX.
46333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46334 (_fitoa_word): Likewise.
46335 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46336 LLONG_MAX != LONG_MAX.
46337 * stdio-common/_itowa.h: Include <_itoa.h>.
46338 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46339 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46340 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46341 only if not defined.
46342 (_ITOA_WORD_TYPE): Likewise.
46343 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46344 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46345
6f4db457
DM
463462012-03-21 David S. Miller <davem@davemloft.net>
46347
46348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46349
7785fe5a
L
463502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46351
46352 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46353 of x86_64 when setting libc_cv_slibdir, libdir and
46354 libc_cv_localedir.
46355 * sysdeps/unix/sysv/linux/configure: Regenerated.
46356
4535cd55
JM
463572012-03-21 Joseph Myers <joseph@codesourcery.com>
46358
46359 * manual/lang.texi (Old Varargs): Remove section.
46360 (How Variadic): Update menu.
46361 (va_start): Do not mention varargs.h.
46362
17228132
TS
463632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46364 Joseph Myers <joseph@codesourcery.com>
46365
46366 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46367 link test.
46368 * configure: Regenerated.
46369
8149f976
TS
463702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46371
05f3d1f6
UD
46372 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46373 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46374 conformtest.pl
8149f976 46375
1a4ac776
JM
463762012-03-21 Joseph Myers <joseph@codesourcery.com>
46377
be22ce65
JM
46378 * NOTES: Remove.
46379 * Makefile (files-for-dist): Remove NOTES.
46380 (NOTES): Remove rule.
46381 * README: Don't refer to NOTES.
46382 * manual/creature.texi: Don't include macros.texi.
46383 * manual/intro.texi (creature.texi): Remove comment referring to
46384 NOTES.
46385
40b601fb
JM
46386 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46387 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46388 * configure: Regenerated.
46389 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46390 LIBC_TRY_CC_OPTION.
46391 (libc_cv_as_i686): Likewise.
46392 (libc_cv_cc_avx): Likewise.
46393 (libc_cv_cc_sse2avx): Likewise.
46394 (libc_cv_cc_fma4): Likewise.
46395 (libc_cv_cc_novzeroupper): Likewise.
46396 * sysdeps/i386/configure: Regenerated.
46397
1a4ac776
JM
46398 [BZ #13883]
46399 * sysdeps/i386/fpu/s_cexp.S: Remove.
46400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46402 * math/libm-test.inc (cexp_test): Add more tests.
46403 * sysdeps/i386/fpu/libm-test-ulps: Update.
46404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46405
a458e7fe
AM
464062012-03-21 Allan McRae <allan@archlinux.org>
46407
46408 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46409
0cb7efc5
JM
464102012-03-21 Joseph Myers <joseph@codesourcery.com>
46411
46412 [BZ #13871]
46413 * math/w_exp2.c: Do not include <float.h>.
46414 (o_threshold, u_threshold): Remove.
46415 (__exp2): Calculate result before checking finiteness and calling
46416 __kernel_standard.
46417 * math/w_exp2f.c: Likewise.
46418 * math/w_exp2l.c: Likewise.
46419 * math/libm-test.inc (exp2_test): Require overflow exception for
46420 1e6 input.
2460d3aa
JM
46421
46422 [BZ #3866]
46423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46424 range of signed 64-bit integers before using fistpll. Remove
46425 checks for whether integers fit in mantissa bits.
46426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46427 the range of signed 32-bit integers before using fistpl. Remove
46428 checks for whether integers fit in mantissa bits.
46429 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46430 (__ieee754_powl): Test for y outside the range of signed 64-bit
46431 integers before using fistpll. Reduce 64-bit values to 63-bit
46432 ones as needed.
46433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46434 divide-by-zero is raised for zero to large negative powers.
46435 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46436 (__ieee754_powl): Test for y outside the range of signed 64-bit
46437 integers before using fistpll. Reduce 64-bit values to 63-bit
46438 ones as needed.
46439 * math/libm-test.inc (pow_test): Add more tests.
46440
eb96ffb0
L
464412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46442
46443 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46444 <stdio-common/_itoa.h>.
46445 * debug/segfault.c: Likewise.
46446 * elf/dl-cache.c: Likewise.
46447 * elf/dl-minimal.c: Likewise.
46448 * elf/dl-misc.c: Likewise.
46449 * elf/dl-sysdep.c: Likewise.
46450 * elf/dl-version.c: Likewise.
46451 * elf/rtld.c: Likewise.
46452 * hurd/hurdsock.c: Likewise.
46453 * hurd/lookup-retry.c: Likewise.
46454 * malloc/malloc.c: Likewise.
46455 * malloc/mtrace.c: Likewise.
46456 * nscd/nscd_getgr_r.c: Likewise.
46457 * nscd/nscd_getpw_r.c: Likewise.
46458 * nscd/nscd_getserv_r.c: Likewise.
46459 * posix/getopt_init.c: Likewise.
46460 * posix/wordexp.c: Likewise.
46461 * stdio-common/_itoa.c: Likewise.
46462 * stdio-common/printf_fphex.c: Likewise.
46463 * stdio-common/vfprintf.c: Likewise.
46464 * string/_strerror.c: Likewise.
46465 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46466 * sysdeps/i386/i686/hp-timing.h: Likewise.
46467 * sysdeps/mach/_strerror.c: Likewise.
46468 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46469 * sysdeps/mach/hurd/sethostid.c: Likewise.
46470 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46471 * sysdeps/mach/xpg-strerror.c: Likewise.
46472 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46474 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46475 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46476 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46477 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46480 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46481 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46482 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46483 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46484 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46485 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46488 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46489 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46490 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46491 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46492 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46493
46494 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46495
46496 * stdio-common/_itoa.h: Moved to ...
46497 * sysdeps/generic/_itoa.h: Here.
46498
46499 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46500
46501 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46502 instead of "_itoa.h" and "_itowa.h".
46503 * stdio-common/vfprintf.: Likewise.
46504
d1af992d
L
465052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46506
46507 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46508 <bits/wordsize.h>.
46509 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46510 (__signbit): Likwise.
46511 (llrintf): Likwise.
46512 (llrint): Likwise.
46513
114883e0
L
465142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46515
46516 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46517 __WORDSIZE != 64.
46518
c135cc1b
JM
465192012-03-20 Joseph Myers <joseph@codesourcery.com>
46520
46521 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46522 OVERFLOW_EXCEPTION_OK.
46523 * math/libm-test.inc ("Philosophy"): Update comment about
46524 exception testing.
46525 (OVERFLOW_EXCEPTION): Define.
46526 (OVERFLOW_EXCEPTION_OK): Likewise.
46527 (INVALID_EXCEPTION_OK): Renumber.
46528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46529 (IGNORE_ZERO_INF_SIGN): Likewise.
46530 (test_exceptions): Handle FE_OVERFLOW.
46531 (exp10_test): Expect overflow exceptions.
46532 (exp2_test): Likewise.
46533 (expm1_test): Likewise.
46534 (nextafter_test): Likewise.
46535 (pow_test): Likewise.
46536 (scalbn_test): Likewise.
46537 (scalbln_test): Likewise.
46538
95443d88
L
465392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46540
46541 * sysdeps/x86_64/bits/atomic.h
46542 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46543 64bit integer.
46544 (atomic_exchange_acq): Likewise.
46545 (__arch_exchange_and_add_body): Likewise.
46546 (__arch_add_body): Likewise.
46547 (atomic_add_negative): Likewise.
46548 (atomic_add_zero): Likewise.
46549
490df6c4
L
465502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46551
c2722551 46552 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46553 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46554
5e52b189
L
465552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46556
46557 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46558 Check __x86_64__ instead of __WORDSIZE.
46559
a9879d4c
L
465602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46561
46562 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46563
5df98260
DM
465642012-03-19 David S. Miller <davem@davemloft.net>
46565
e1497744
DM
46566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46567
5df98260
DM
46568 * sysdeps/sparc/fpu/fenv_private.h: New file.
46569 * sysdeps/sparc/fpu/math_private.h: Use it.
46570 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46571 Remove.
57f41c40 46572 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46573 (libc_feholdexcept_setroundl): Remove.
46574 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46575 Remove.
46576 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46577 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46578
b4c35121
L
465792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46580
46581 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46582 int64_t instead of long int.
46583 (INSERT_WORDS64): Likwise.
46584
56965fd7
L
465852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46586
46587 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46588 _Unwind_GetCFA return to _Unwind_Ptr first.
46589
83d1aec8
JM
465902012-03-19 Joseph Myers <joseph@codesourcery.com>
46591
1897ad44
JM
46592 [BZ #13629]
46593 * math/s_clog.c: Include <float.h>.
46594 (__clog): Scale large or subnormal inputs.
46595 * math/s_clogf.c: Likewise.
46596 * math/s_clogl.c: Likewise.
46597 * math/s_clog10.c: Include <float.h>.
46598 (M_LOG10_2): Define.
46599 (__clog10): Scale large or subnormal inputs.
46600 * math/s_clog10f.c: Likewise.
46601 * math/s_clog10l.c: Likewise.
46602 * math/libm-test.inc (clog_test): Add more tests.
46603 (clog10_test): Likewise.
46604 * sysdeps/i386/fpu/libm-test-ulps: Update.
46605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46606
7726d6a9
JM
46607 [BZ #11451]
46608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46609 x and y.
46610 * math/libm-test.inc (atan2_test): Add another test.
46611
83d1aec8
JM
46612 * Makerules (common-objdir-compile): Remove.
46613 * sysdeps/unix/Makefile (config-generated): Do not add
46614 $(unix-generated) to variable.
46615 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46616 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46617 Remove rule.
46618 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46619 Likewise.
46620 [generic bits/local_lim.h] (before-compile): Do not append to
46621 variable.
46622 [generic bits/local_lim.h] (common-generated): Likewise.
46623 [generic sys/param.h] (before-compile): Do not append to variable.
46624 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46625 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46626 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46627 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46628 include.
46629 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46630 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46631 [generic sys/param.h] ($(addprefix
46632 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46633 [generic sys/param.h] (common-generated): Do not append to
46634 variable.
46635 [generic sys/param.h] (sysdep_headers): Likewise.
46636 [generic bits/errno.h] (before-compile): Do not append to
46637 variable.
46638 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46639 rule.
46640 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46641 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46642 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46643 [generic bits/errno.h] (common-generated): Do not append to
46644 variable.
46645 [generic bits/ioctls.h] (before-compile): Do not append to
46646 variable.
46647 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46648 rule.
46649 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46650 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46651 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46652 rule.
46653 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46654 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46655 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46656 [generic bits/ioctls.h] (common-generated): Do not append to
46657 variable.
46658 [generic sys/syscall.h] (syscall.h): Remove variable.
46659 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46660 rule.
46661 [generic sys/syscall.h] (before-compile): Do not append to
46662 variable.
46663 [generic sys/syscall.h] (common-generated): Likewise.
46664 * sysdeps/unix/errnos-tmpl.c: Remove file.
46665 * sysdeps/unix/errnos.awk: Likewise.
46666 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46667 * sysdeps/unix/ioctls.awk: Likewise.
46668 * sysdeps/unix/mk-local_lim.c: Likewise.
46669 * sysdeps/unix/snarf-ioctls: Likewise.
46670
4851a949
RH
466712012-03-19 Richard Henderson <rth@twiddle.net>
46672
bd37f2ee
RH
46673 * sysdeps/i386/fpu/fenv_private.h: New file.
46674 * sysdeps/i386/fpu/math_private.h: Use it.
46675 (math_opt_barrier, math_force_eval): Remove.
46676 (libc_feholdexcept_setround_53bit): Remove.
46677 (libc_feupdateenv_53bit): Remove.
46678 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46679 (math_opt_barrier, math_force_eval): Remove.
46680 (libc_feholdexcept): Remove.
46681 (libc_feholdexcept_setround): Remove.
46682 (libc_fetestexcept, libc_fesetenv): Remove.
46683 (libc_feupdateenv_test): Remove.
46684 (libc_feupdateenv, libc_feholdsetround): Remove.
46685 (libc_feresetround): Remove.
46686
d0adc922
RH
46687 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46688 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46689
0fe0f1f8
RH
46690 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46691 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46692 (libc_feupdateenv_testl): New.
46693 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46694 (libc_feupdateenv_testf): New.
46695 (libc_feupdateenv): Use libc_feupdateenv_test.
46696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46698
eb92c487
RH
46699 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46700 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46701 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46702 (libc_feresetround_noex): New.
46703 (libc_feresetround_noexf): New.
46704 (libc_feresetround_noexl): New.
46705 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46706 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46707 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46708 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46709 SET_RESTORE_ROUND.
46710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46712 (__cos): Likewise.
46713 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46715 SET_RESTORE_ROUND_NOEX.
46716 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46717 SET_RESTORE_ROUND_NOEXF.
46718 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46719 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46720 (libc_feholdsetroundf): New.
46721 (libc_feresetround, libc_feresetroundf): New.
46722
7d2e8012
RH
46723 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46724 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46725 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46726
b4dabbb4
RH
46727 * sysdeps/generic/math_private.h: Include <fenv.h>.
46728 (default_libc_feholdexcept): New.
46729 (default_libc_feholdexcept_setround): New.
46730 (default_libc_fesetenv, default_libc_feupdateenv): New.
46731 (libc_feholdexcept): Only define if undefined.
46732 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46734 (libc_feholdexcept_setroundl): Likewise.
46735 (libc_feholdexcept_setround_53bit): Likewise.
46736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46739 (libc_feupdateenv_53bit): Likewise.
46740 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46741 (libc_feholdexcept): Convert from macro to inline function.
46742 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46743 (libc_fesetenv, libc_feupdateenv): Likewise.
46744
4851a949
RH
46745 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46746 not previously defined.
46747 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46748 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46749 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46750 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46751 * sysdeps/ieee754/flt-32/math_private.h: New file.
46752 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46753 math_private.h below SET_FLOAT_WORD.
46754 (__isnan, __isinf_ns, __finite): Remove.
46755 (__isnanf, __isinf_nsf, __finitef): Remove.
46756
e79d442e
AS
467572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46758
46759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46760
90b80344
DM
467612012-03-17 David S. Miller <davem@davemloft.net>
46762
46763 [BZ #6471]
46764 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46765 for 2.16.
46766
edc21804
DM
467672012-03-16 David S. Miller <davem@davemloft.net>
46768
77e927af
DM
46769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46770 warnings.
46771
374976dd
DM
46772 [BZ #6471]
46773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46774 properly.
46775 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46776 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46777 sysdep_routines when subdir is sysvipc.
46778 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46779 __getshmlba helper.
46780
edc21804
DM
46781 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46782
473c3ef3
L
467832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46784
46785 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46786 [__LP64__].
46787
eb0f39b6
L
467882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46789
46790 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46791 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46792 (__lround): Renamed to ...
46793 (__llround): This. Replace long int with long long int.
46794 Define lround functions as aliases of llround functions.
46795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46796
6b6cd74b
L
467972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46798
46799 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46800 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46801 adresses to uintptr_t. Replace "long int" and "unsigned long
46802 int" with "greg_t" on va_arg.
46803
f1a77b01
L
468042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46805
46806 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46807 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46808
46809 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46810 Move e_machine check before EI_CLASS check. Handle x32
46811 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46812 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46813 SKIP_EM_IA_64 and include
46814 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46815
46816 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46817 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46818 (add_system_dir): New macro.
46819
46820 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46821 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46822
11b90b9f
JM
468232012-03-16 Joseph Myers <joseph@codesourcery.com>
46824
c36e1d23
JM
46825 [BZ #2551]
46826 [BZ #2552]
46827 [BZ #2553]
46828 [BZ #2554]
46829 [BZ #2562]
46830 [BZ #2563]
46831 [BZ #2565]
46832 [BZ #2566]
46833 [BZ #2576]
46834 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46835 (y0): Likewise.
46836 * math/w_j0f.c (j0f): Likewise.
46837 (y0f): Likewise.
46838 * math/w_j0l.c (__j0l): Likewise.
46839 (__y0l): Likewise.
46840 * math/w_j1.c (j1): Likewise.
46841 (y1): Likewise.
46842 * math/w_j1f.c (j1f): Likewise.
46843 (y1f): Likewise.
46844 * math/w_j1l.c (__j1l): Likewise.
46845 (__y1l): Likewise.
46846 * math/w_jn.c (jn): Likewise.
46847 (yn): Likewise.
46848 * math/w_jnf.c (jnf): Likewise.
46849 (ynf): Likewise.
46850 * math/w_jnl.c (__jnl): Likewise.
46851 (__ynl): Likewise.
46852 * math/libm-test.inc (j0_test): Add more tests.
46853 (j1_test): Likewise.
46854 (jn_test): Likewise. Add trailing semicolon to existing test.
46855 (y0_test): Likewise.
46856 (y1_test): Likewise.
46857 * sysdeps/i386/fpu/libm-test-ulps: Update.
46858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46859
11b90b9f
JM
46860 [BZ #13851]
46861 [BZ #13854]
46862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46863 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46864 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46866 (__tanl): Set errno for infinite argument.
46867 * sysdeps/i386/fpu/mptan.c: Remove.
46868 * sysdeps/i386/fpu/s_tan.S: Likewise.
46869 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46870 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46871 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46872 * math/libm-test.inc (tan_test): Add more tests and enable more
46873 tests for double and long double.
46874 * sysdeps/i386/fpu/libm-test-ulps: Update.
46875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46876
6a1bd2a1
JK
468772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46878
46879 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46880 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46881
10a803e0
RM
468822012-03-16 Roland McGrath <roland@hack.frob.com>
46883
46884 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46885 * configure.in: Use it for both main tree and add-ons.
46886 * configure: Regenerated.
46887
f196c7f7
L
468882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46889
46890 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46891
8848d99d
JM
468922012-03-16 Joseph Myers <joseph@codesourcery.com>
46893
96cbe7f4
JM
46894 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46895 in comment.
46896
8848d99d
JM
46897 [BZ #13851]
46898 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46899 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46900 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46902 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46903 infinite argument.
46904 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46906 != 0 for prec == 2.
46907 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46908 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46909 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46910 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46911 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46912 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46913 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46914 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46915 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46916 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46917 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46918 * math/libm-test.inc (cos_test): Add more tests and enable more
46919 tests for long double.
46920 (sin_test): Likewise.
46921 (sincos_test): Likewise.
46922 * sysdeps/i386/fpu/libm-test-ulps: Update.
46923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46924
dd7f4703
DM
469252012-03-16 David S. Miller <davem@davemloft.net>
46926
46927 * sysdeps/sparc/fpu/math_private.h: New file.
46928
006f1daa
DM
469292012-03-15 David S. Miller <davem@davemloft.net>
46930
c0c83bc8
DM
46931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46932 file.
e6a62e18 46933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46935 file.
e6a62e18
DM
46936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46942 sysdep routines.
46943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46944
88cb87d9
DM
46945 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46946 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46947
006f1daa 46948 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46950 sparc-ifunc.h
006f1daa 46951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46953 Likewise.
46954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46955 Likewise.
006f1daa
DM
46956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46960 Likewise.
006f1daa
DM
46961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46966 Likewise.
46967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46968 Likewise.
006f1daa
DM
46969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46993
11e0098e
AS
469942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46995
46996 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46997 scaling.
46998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46999
e85b09d0
AJ
470002012-03-15 Andreas Jaeger <aj@suse.de>
47001
47002 [BZ #13852]
47003 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47004 ieee754/flt-32 implementation for sin, cos and sincos.
47005 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47006 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47007 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47008 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47009 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47010 ieee754/flt-32 implementation for tan.
47011
47012 * math/libm-test.inc (cos_test): Enable some large input tests for
47013 float as well
47014 (sin_test): Likewise.
47015 (sincos_test): Likewise.
47016 (tan_test): Add tests for large input.
47017
47018 * sysdeps/i386/fpu/libm-test-ulps: Update.
47019
81c64153
AJ
470202012-03-15 Andreas Jaeger <aj@suse.de>
47021
47022 [BZ #13658]
47023 * math/libm-test.inc (cos_test): Add more test cases.
47024 (sin_test): Likewise.
47025 (sincos_test): Likewise.
47026
7bbfa5c6
AJ
470272012-03-15 Andreas Jaeger <aj@suse.de>
47028
47029 [BZ #13837]
47030 * math/libm-test.inc (cos_test): Add a test case for large input
47031 value.
47032 (sin_test): Likewise.
47033 (sincos_test): Likewise.
47034
57f41c40
AS
470352012-03-15 Andreas Jaeger <aj@suse.de>
47036 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47037
47038 [BZ #13658]
0671f479 47039 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47040 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47041 * sysdeps/i386/fpu/branred.c: Likewise.
47042 * sysdeps/i386/fpu/dosincos.c: Likewise.
47043 * sysdeps/i386/fpu/mpa.c: Likewise.
47044 * sysdeps/i386/fpu/s_cos.S: Likewise.
47045 * sysdeps/i386/fpu/s_sin.S: Likewise.
47046 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47047 * sysdeps/i386/fpu/sincos32.c: Likewise.
47048
47049 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47050 Define.
47051 (libc_feupdateenv_53bit): Define.
47052 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47053 Define.
47054 (libc_feupdateenv_53bit): Define.
47055
47056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47057 53 bit (without extend i386 double precision).
47058
47059 * math/libm-test.inc (sincos_test): Add tests for large input.
47060 (sin): Likewise.
47061 (cos): Likewise.
47062
47063 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47064
9cad04ea
AS
470652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47066
47067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47068
f7062b9a
DM
470692012-03-15 David S. Miller <davem@davemloft.net>
47070
47071 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47072 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47073 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47074 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47087 file.
f7062b9a 47088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47090 file.
f7062b9a 47091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47093 file.
f7062b9a 47094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47096 file.
f7062b9a
DM
47097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47099 fmin/fmax sysdep routines.
47100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47101
7bd951ff
DM
471022012-03-14 David S. Miller <davem@davemloft.net>
47103
559398ab
DM
47104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47133 routines.
47134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47135 file.
559398ab 47136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47138 file.
559398ab 47139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47141 file.
559398ab 47142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47144 file.
559398ab 47145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47147 file.
559398ab 47148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47150 file.
47151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47152 file.
47153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47154 file.
47155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47156 file.
47157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47158 New file.
47159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47160 file.
47161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47162 file.
559398ab 47163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47165 file.
559398ab 47166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47168 file.
559398ab 47169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47171 file.
559398ab 47172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47174 VIS3 routines.
559398ab
DM
47175
47176 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47177 New file.
47178
5a1c1e32
DM
47179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47180
eae47a36
DM
47181 * sysdeps/sparc/configure.in: New file.
47182 * sysdeps/sparc/configure: Generate.
47183 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47184 * configure: Regenerate.
47185 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47186 * config.make.in (have-as-vis3): New.
47187 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47188 available use -Av9d instead of -Av9a.
47189 * sysdeps/sparc/sparc64/Makefile: Likewise.
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47192 New file.
47193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47194 file.
47195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47196 New file.
47197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47198 file.
eae47a36
DM
47199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47204
c0c83bc8
DM
47205 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47206 fzeros/fnegs to load 0x80000000 into a float register instead of
47207 using the stack.
7bd951ff
DM
47208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47209
bd951ccb
JM
472102012-03-14 Joseph Myers <joseph@codesourcery.com>
47211
47212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47213 bits/syscall.h.
47214 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47215 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47216 ($(inst_includedir)/bits/syscall.h): Remove rule.
47217 ($(objpfx)bits/syscall.d): Include instead of
47218 $(objpfx)syscall-list.d.
47219 (generated): Change syscall-list.h and syscall-list.d to
47220 bits/syscall.h and bits/syscall.d.
47221
bb4e6db2
RM
472222012-03-14 Roland McGrath <roland@hack.frob.com>
47223
47224 [BZ #13846]
47225 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47226
aa4a2ae1
JM
472272012-03-14 Joseph Myers <joseph@codesourcery.com>
47228
e456826d
JM
47229 [BZ #13841]
47230 * math/s_csqrt.c: Include <float.h>.
47231 (__csqrt): Scale large or subnormal inputs.
47232 * math/s_csqrtf.c: Likewise.
47233 * math/s_csqrtl.c: Likewise.
47234 * math/libm-test.inc (csqrt_test): Add more tests.
47235 * sysdeps/i386/fpu/libm-test-ulps: Update.
47236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47237
aa4a2ae1
JM
47238 [BZ #13840]
47239 * math/libm-test.inc (hypot_test): Add more tests.
47240
7c10fd35
DM
472412012-03-13 David S. Miller <davem@davemloft.net>
47242
47243 [BZ #13840]
47244 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47245 double-precision for the calculation instead of scaling.
47246
f453b98b
JM
472472012-03-13 Joseph Myers <joseph@codesourcery.com>
47248
47249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47250 manipulate bits before adding and subtracting TWO52[sx].
47251 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47253 Likewise.
47254 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47255
09a3453f
DM
472562012-03-13 David S. Miller <davem@davemloft.net>
47257
8e59da90
DM
47258 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47259 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47261 rtld-global-offsets.h
47262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47263
2a8ab7f2
DM
47264 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47265 large parameters.
47266
10f62770
DM
47267 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47268
5f0bdb18
DM
47269 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47270 'err' in the ifdef scope in which it is actually used.
47271
09a3453f
DM
47272 * nss/nss_db/db-init.c: Include string.h
47273
b4b2eb5e
DM
472742012-03-12 David S. Miller <davem@davemloft.net>
47275
98bb2f1c
DM
47276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47277 masking out of the most significant byte of random value used.
47278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47279 Fix coding style in previous change.
47280
b4b2eb5e
DM
47281 * sysdeps/unix/sysv/linux/kernel-features.h
47282 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47283 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47284 expression.
47285 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47286 later.
47287
6e226b09
DM
472882012-03-11 David S. Miller <davem@davemloft.net>
47289
a1bcbd40
DM
47290 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47291 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47293 for 'resultvar' otherwise things get truncated on 64-bit.
47294
cb9d6174
DM
47295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47296 Fix masking out of the most significant byte of random value used.
47297
6e226b09
DM
47298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47299
058c132d
AS
473002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47301
47302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47303
2d2cd515
DM
473042012-03-09 David S. Miller <davem@davemloft.net>
47305
47306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47307 variables with appropriate CPP guards.
57f41c40
AS
47308 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47309 from the frame pointer, not the stack pointer. Correct layout
47310 comments. Fix test on resulting framesize and the management of
47311 the outregs buffer for pltexit. Preserve floating point return
47312 values across _dl_call_pltexit call.
2d2cd515
DM
47313 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47314 framesize and the management of the outregs buffer for pltexit.
47315 Preserve floating point return values across _dl_call_pltexit
47316 call.
57f41c40
AS
47317 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47318 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47319 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47320 (print_exit): Fix format string for return register value.
47321
9a07f9d0
JM
473222012-03-10 Joseph Myers <joseph@codesourcery.com>
47323
47324 * sunrpc/Makefile (others): Add rpcgen.
47325 ($(objpfx)rpcgen): Remove special build rule and dependency on
47326 libc.
47327 * sunrpc/rpcgen.c: New file.
47328
547b5e30
PE
473292012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47330
c524201a
PE
47331 [BZ #13673]
47332 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47333 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47334 * sysdeps/i386/crti.S: Likewise.
47335 * sysdeps/i386/crtn.S: Likewise.
47336 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47337 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47338 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47339 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47340 * sysdeps/sh/crti.S: Likewise.
47341 * sysdeps/sh/crtn.S: Likewise.
47342 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47343
7b6235f2
PE
47344 [BZ #13673]
47345 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47346 with URL.
47347 * locale/programs/locfile-kw.gperf: Likewise.
47348 * locale/programs/charmap-kw.h: Regenerated.
47349 * locale/programs/locfile-kw.h: Likewise.
47350
547b5e30
PE
47351 [BZ #13673]
47352 * intl/plural.y: Replace FSF snail mail address with URL.
47353 * intl/plural.c: Regenerated.
47354
5f0a5dae
RH
473552012-03-09 Richard Henderson <rth@twiddle.net>
47356
47357 * include/math_private.h: Remove file.
47358 * math/math_private.h: Move file ...
47359 * sysdeps/generic/math_private.h: ... here.
47360
b8c03620
RH
47361 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47362 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47363 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47364
4e234f5d 47365 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47366 and <math_private.h>.
47367 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47368 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47369 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47370 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47371 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47372 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47373 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47375 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47376 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47382 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47383 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47384 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47385 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47386 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47388 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47389 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47391 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47397 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47398 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47399 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47400 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47401 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47403 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47404 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47405 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47406 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47407 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47408 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47409 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47410 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47411 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47412 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47413 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47414 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47415 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47416 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47417 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47418 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47419 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47420 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47421 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47422 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47423 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47424 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47425 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47426 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47428 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47430 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47431 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47432 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47433 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47440 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47441 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47446 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47447 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47450 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47454 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47455 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47456 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47457 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47458 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47460 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47461 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47462 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47464 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47465 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47467 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47468 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47469 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47470 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47471 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47472 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47473 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47474 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47475 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47476 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47477 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47478 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47479 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47480 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47481 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47482 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47483 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47484 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47485 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47486 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47487 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47488 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47490 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47491 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47492 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47494 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47495 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47496 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47497 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47498 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47499 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47500 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47501 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47502 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47503 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47504 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47505 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47506 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47507 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47509 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47510 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47511 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47512 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47513 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47514 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47515 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47516 * sysdeps/ieee754/k_standard.c: Likewise.
47517 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47518 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47520 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47521 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47522 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47523 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47524 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47525 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47526 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47527 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47528 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47529 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47530 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47531 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47532 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47533 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47534 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47535 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47536 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47537 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47541 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47542 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47543 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47544 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47545 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47546 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47547 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47548 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47549 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47550 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47551 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47552 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47554 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47555 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47556 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47557 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47558 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47559 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47560 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47561 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47562 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47563 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47565 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47567 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47568 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47569 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47570 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47571 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47572 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47573 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47574 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47575 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47576 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47577 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47578 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47579 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47580 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47584 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47589 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47590 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47591 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47592 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47594 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47596 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47597 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47598 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47599 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47600 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47601 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47602 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47604 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47608 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47609 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47629 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47632 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47636 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47637 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47639 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47644 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47649 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47665 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47677 * sysdeps/ieee754/s_lib_version.c: Likewise.
47678 * sysdeps/ieee754/s_matherr.c: Likewise.
47679 * sysdeps/ieee754/s_signgam.c: Likewise.
47680 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47681 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47682 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47683 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47684 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47685 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47686 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47687 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47688 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47689 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47690 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47691 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47692 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47693 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47694 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47695 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47696 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47701
1991fa03
JM
477022012-03-09 Joseph Myers <joseph@codesourcery.com>
47703
47704 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47705 * sunrpc/rpc_main.c: Likewise.
47706 * sunrpc/rpc_svcout.c: Likewise.
47707
60d6f5a6
DM
477082012-03-09 David S. Miller <davem@davemloft.net>
47709
47710 * include/math_private.h: New file.
47711
4962050e
JM
477122012-03-09 Joseph Myers <joseph@codesourcery.com>
47713
02a6f887
JM
47714 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47715 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47716 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47717 from <bits/socket_type.h>.
47718 (enum __socket_type): Don't define here.
47719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47721 bits/socket_type.h.
47722
c6e013c1
JM
47723 [BZ #13566]
47724 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47725 checking __USE_GNU.
47726
4962050e
JM
47727 * Makerules ($(inst_includedir)/%.h): New rule.
47728 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47729 (install-others): Remove variable setting.
47730 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47731
38842f45
RH
477322012-03-08 Richard Henderson <rth@twiddle.net>
47733
67bb6da6
RH
47734 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47735 from macro to inline function; merge with the
47736 !__LIBC_INTERNAL_MATH_INLINES version.
47737 (__ieee754_sqrtf): Likewise.
47738
15194b4b
RH
47739 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47740 to inline function.
47741 (__rintf, __floor, __floorf): Likewise.
47742
64e21ede
RH
47743 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47744 macro to inline function.
47745 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47746
38842f45
RH
47747 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47748 not <math/math_private.h>.
47749
c64bf5fe
DM
477502012-03-08 David S. Miller <davem@davemloft.net>
47751
47752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47753 copyright year.
47754 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47755
82d86f28
TS
477562012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47757
47758 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47759 normalization.
47760 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47761 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47762
aea5d727
UD
477632012-03-08 Ulrich Drepper <drepper@gmail.com>
47764
47765 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47766 be defined individually, they must be defined as a block. Define
47767 S for printing a string instead of hidint the different by using a
47768 macro for adding the 'l'.
47769 * stdio-common/tst-fphex-wide.c: Adjust.
47770
70bca0a3
MP
477712012-03-07 Marek Polacek <polacek@redhat.com>
47772
47773 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47774
65b81130
MP
477752012-03-08 Marek Polacek <polacek@redhat.com>
47776
47777 [BZ #13806]
47778 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47779 * stdio-common/tst-fphex.c: Define a few macros to make the
47780 test reusable. Use them.
47781 * stdio-common/tst-fphex-wide.c: New file.
47782
07037eeb
JM
477832012-03-08 Joseph Myers <joseph@codesourcery.com>
47784
a7a93d50
JM
47785 [BZ #6911]
47786 * manual/macros.texi (gnusystems): New macro.
47787 (nongnusystems): Likewise.
47788 (gnulinuxhurdsystems): Likewise.
47789 (gnuhurdsystems): Likewise..
47790 (gnulinuxsystems): Likewise.
47791 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47792 variants of the GNU system, not "GNU system".
47793 * manual/conf.texi: Likewise.
47794 * manual/errno.texi: Likewise. Update example of errno macro
47795 expansion.
47796 * manual/filesys.texi: Likewise.
47797 (getumask): Document as specific to GNU/Hurd.
47798 * manual/install.texi: Likewise. Reword some references to
47799 GNU/Linux.
47800 * manual/intro.texi: Likewise.
47801 * manual/io.texi: Likewise.
47802 (File Name Portability): Detail which constraints are inapplicable
47803 to all GNU systems and which are only inapplicable to GNU/Hurd.
47804 * manual/job.texi: Likewise.
47805 * manual/llio.texi: Likewise.
47806 (O_NOCTTY): Document as present on GNU/Linux.
47807 * manual/maint.texi: Likewise.
47808 * manual/memory.texi: Likewise.
47809 * manual/pattern.texi: Likewise.
47810 * manual/pipe.texi: Likewise.
47811 * manual/process.texi: Likewise.
47812 * manual/resource.texi: Likewise.
47813 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47814 child on GNU/Hurd.
47815 * manual/setjmp.texi: Likewise.
47816 * manual/signal.texi: Likewise.
47817 * manual/startup.texi: Likewise.
47818 * manual/stdio.texi: Likewise.
47819 * manual/terminal.texi: Likewise.
47820 (ONLCR): Document as POSIX.
47821 (OXTABS): Document availability on GNU/Linux as XTABS.
47822 (ONOEOT): Document availability separately from other bits.
47823 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47824 * manual/time.texi: Likewise.
47825 * manual/users.texi: Likewise.
47826 * INSTALL: Regenerated.
47827 * sysdeps/gnu/errlist.c: Regenerated.
47828
07037eeb
JM
47829 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47830 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47831 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47832 puts.
47833 * configure: Regenerated.
47834
d1d3431a
JM
478352012-03-07 Joseph Myers <joseph@codesourcery.com>
47836
af6a1e37
JM
47837 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47838 default includes instead of AC_HEADER_CHECK.
47839 * sysdeps/i386/configure: Regenerated.
47840
d1d3431a
JM
47841 [BZ #10716]
47842 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47843 * math/s_cacoshf.c (__cacoshf): Likewise.
47844 * math/s_cacoshl.c (__cacoshl): Likewise.
47845 * math/s_casinh.c (__casinh): Set signs of result from argument.
47846 * math/s_casinhf.c (__casinhf): Likewise.
47847 * math/s_casinhl.c (__casinhl): Likewise.
47848 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47849 (casinh_test): Add more tests.
47850 * sysdeps/i386/fpu/libm-test-ulps: Update.
47851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47852
482ff4da
UD
478532012-03-07 Ulrich Drepper <drepper@gmail.com>
47854
872fda05
UD
47855 * po/zh_TW.po: Update from translation team.
47856
a4300c7a
UD
47857 * login/Makefile (distribute): Remove variable.
47858 * catgets/Makefile: Likewise.
47859 * mach/Makefile: Likewise.
47860 * malloc/Makefile: Likewise.
47861 * misc/Makefile: Likewise.
47862 * iconv/Makefile: Likewise.
47863 * nscd/Makefile: Likewise.
47864 * hurd/Makefile: Likewise.
47865 * manual/Makefile: Likewise.
47866 * locale/Makefile: Likewise.
47867 * intl/Makefile: Likewise.
47868 * conform/Makefile: Likewise.
47869 * nss/Makefile: Likewise.
47870 * time/Makefile: Likewise.
47871 * soft-fp/Makefile: Likewise.
47872 * dirent/Makefile: Likewise.
47873 * gmon/Makefile: Likewise.
47874 * po/Makefile: Likewise.
47875 * rt/Makefile: Likewise.
47876 * socket/Makefile: Likewise.
47877 * math/Makefile: Likewise.
47878 * signal/Makefile: Likewise.
47879 * debug/Makefile: Likewise.
47880 * elf/Makefile: Likewise.
47881 * timezone/Makefile: Likewise.
47882 * stdlib/Makefile: Likewise.
47883 * iconvdata/Makefile: Likewise.
47884 * sunrpc/Makefile: Likewise.
47885 * io/Makefile: Likewise.
47886 * argp/Makefile: Likewise.
47887 * inet/Makefile: Likewise.
47888 * hesiod/Makefile: Likewise.
47889 * grp/Makefile: Likewise.
47890 * csu/Makefile: Likewise.
47891 * wctype/Makefile: Likewise.
47892 * crypt/Makefile: Likewise.
47893 * libio/Makefile: Likewise.
47894 * string/Makefile: Likewise.
47895 * nis/Makefile: Likewise.
47896 * resolv/Makefile: Likewise.
47897 * stdio-common/Makefile: Likewise.
47898 * wcsmbs/Makefile: Likewise.
47899 * dlfcn/Makefile: Likewise.
47900 * posix/Makefile: Likewise.
47901
3b7c4e74 47902 [BZ #6959]
482ff4da
UD
47903 * timezone/Makefile: Don't install timezone files, just the programs
47904 and scripts.
47905
f72ed77d
UD
479062012-03-06 Ulrich Drepper <drepper@gmail.com>
47907
a000466f
UD
47908 * nss/databases.def: Add missing gshadow entry.
47909
f72ed77d
UD
47910 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47911
a53b7a4e
MP
479122012-03-06 Marek Polacek <polacek@redhat.com>
47913
47914 [BZ #13726]
47915 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47916 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47917 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47918 * stdio-common/tst-long-dbl-fphex.c: New file.
47919
e9258400
DM
479202012-03-06 David S. Miller <davem@davemloft.net>
47921
47922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47923 (set_obp_int): New function.
47924 (get_obp_int): New function.
47925 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47927 Avoid unused variable warnings on 'val' and use builtin_expect.
47928 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47929 __builtin_expect.
e9258400
DM
47930 (INLINE_CLONE_SYSCALL): Likewise.
47931
3bd2c723
DM
479322012-03-05 David S. Miller <davem@davemloft.net>
47933
47934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47935
bbb78d03
AS
479362012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47937
884c5db4
AS
47938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47939
bbb78d03
AS
47940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47941 only for |x| >= 40.
47942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47943
1c9f702a 479442012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47945
47946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47947 Replace gettimeofday with __vdso_gettimeofday.
47948
7be16f82
RM
47949 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47950 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47951 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47952
47953 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47954 time with __vdso_time.
47955
ed58a00f
JM
479562012-03-05 Joseph Myers <joseph@codesourcery.com>
47957
47958 * manual/lang.texi (size_t): Note types to which size_t may be
47959 equivalent with the GNU C Library, but do not describe when
47960 differences between them are significant.
47961
30ee4ced
AJ
479622012-03-05 Andreas Jaeger <aj@suse.de>
47963
47964 * sysdeps/i386/fpu/libm-test-ulps: Update.
47965
b7cd39e8
JM
479662012-03-05 Joseph Myers <joseph@codesourcery.com>
47967
47968 [BZ #3976]
47969 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47970 (__ieee754_pow): Save and restore rounding mode and use
47971 round-to-nearest for main computations.
47972 * math/libm-test.inc (pow_test_tonearest): New function.
47973 (pow_test_towardzero): Likewise.
47974 (pow_test_downward): Likewise.
47975 (pow_test_upward): Likewise.
47976 (main): Call the new functions.
47977 * sysdeps/i386/fpu/libm-test-ulps: Update.
47978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47979
47980 [BZ #3976]
47981 * math/libm-test.inc (cosh_test_tonearest): New function.
47982 (cosh_test_towardzero): Likewise.
47983 (cosh_test_downward): Likewise.
47984 (cosh_test_upward): Likewise.
47985 (sinh_test_tonearest): Likewise.
47986 (sinh_test_towardzero): Likewise.
47987 (sinh_test_downward): Likewise.
47988 (sinh_test_upward): Likewise.
47989 (main): Call the new functions.
47990 * sysdeps/i386/fpu/libm-test-ulps: Update.
47991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47992
6c6a98c9
TV
479932012-03-05 Tom de Vries <tom@codesourcery.com>
47994
47995 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47996 default stack guard is set in last bytes.
47997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47998
21bb2d2e 479992012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48000
21bb2d2e 48001 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48002
21bb2d2e
AJ
48003 [BZ #13656]
48004 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48005 possibly allocate from heap instead of stack.
48006 * stdio-common/bug-vfprintf-nargs.c: New file.
48007 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48008
c6922934
AS
480092012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48010
48011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48012
bc957d53
MP
480132012-03-03 Marek Polacek <polacek@redhat.com>
48014
48015 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48016 * math/math_private.h: Likewise.
48017 * stdlib/tst-strtod.c: Likewise.
48018 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48019 * sysdeps/x86_64/bits/atomic.h: Likewise.
48020
6358490d
DM
480212012-03-02 David S. Miller <davem@davemloft.net>
48022
48023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48027 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48028 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48029 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48030 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48031
01ae168d
RM
480322012-03-02 Roland McGrath <roland@hack.frob.com>
48033
d9a17c07
RM
48034 [BZ #13792]
48035 * manual/examples/README: New file, says the example source files
48036 can be used under GPL>=2.
48037 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48038 line containing just "*/".
48039 * manual/examples/add.c: Add copyright header (GPL>=2).
48040 * manual/examples/argp-ex1.c: Likewise.
48041 * manual/examples/argp-ex2.c: Likewise.
48042 * manual/examples/argp-ex3.c: Likewise.
48043 * manual/examples/argp-ex4.c: Likewise.
48044 * manual/examples/atexit.c: Likewise.
48045 * manual/examples/db.c: Likewise.
48046 * manual/examples/dir.c: Likewise.
48047 * manual/examples/dir2.c: Likewise.
48048 * manual/examples/execinfo.c: Likewise.
48049 * manual/examples/filecli.c: Likewise.
48050 * manual/examples/filesrv.c: Likewise.
48051 * manual/examples/fmtmsgexpl.c: Likewise.
48052 * manual/examples/genpass.c: Likewise.
48053 * manual/examples/inetcli.c: Likewise.
48054 * manual/examples/inetsrv.c: Likewise.
48055 * manual/examples/isockad.c: Likewise.
48056 * manual/examples/longopt.c: Likewise.
48057 * manual/examples/memopen.c: Likewise.
48058 * manual/examples/memstrm.c: Likewise.
48059 * manual/examples/mkfsock.c: Likewise.
48060 * manual/examples/mkisock.c: Likewise.
48061 * manual/examples/mygetpass.c: Likewise.
48062 * manual/examples/pipe.c: Likewise.
48063 * manual/examples/popen.c: Likewise.
48064 * manual/examples/rprintf.c: Likewise.
48065 * manual/examples/search.c: Likewise.
48066 * manual/examples/select.c: Likewise.
48067 * manual/examples/setjmp.c: Likewise.
48068 * manual/examples/sigh1.c: Likewise.
48069 * manual/examples/sigusr.c: Likewise.
48070 * manual/examples/stpcpy.c: Likewise.
48071 * manual/examples/strdupa.c: Likewise.
48072 * manual/examples/strftim.c: Likewise.
48073 * manual/examples/strncat.c: Likewise.
48074 * manual/examples/subopt.c: Likewise.
48075 * manual/examples/swapcontext.c: Likewise.
48076 * manual/examples/termios.c: Likewise.
48077 * manual/examples/testopt.c: Likewise.
48078 * manual/examples/testpass.c: Likewise.
48079 * manual/examples/timeval_subtract.c: Likewise.
48080
01ae168d
RM
48081 [BZ #13792]
48082 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48083 function to ...
48084 * manual/timeval_subtract.c.texi: ... here, new file.
48085
49efa33d
DM
480862012-03-02 David S. Miller <davem@davemloft.net>
48087
48088 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48089
28afd92d
JM
480902012-03-02 Joseph Myers <joseph@codesourcery.com>
48091
804360ed
JM
48092 [BZ #3976]
48093 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48094 (__sin): Save and restore rounding mode and use round-to-nearest
48095 for all computations.
48096 (__cos): Save and restore rounding mode and use round-to-nearest
48097 for all computations.
48098 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48099 <fenv.h>.
48100 (tan): Save and restore rounding mode and use round-to-nearest for
48101 all computations.
48102 * math/libm-test.inc (cos_test_tonearest): New function.
48103 (cos_test_towardzero): Likewise.
48104 (cos_test_downward): Likewise.
48105 (cos_test_upward): Likewise.
48106 (sin_test_tonearest): Likewise.
48107 (sin_test_towardzero): Likewise.
48108 (sin_test_downward): Likewise.
48109 (sin_test_upward): Likewise.
48110 (tan_test_tonearest): Likewise.
48111 (tan_test_towardzero): Likewise.
48112 (tan_test_downward): Likewise.
48113 (tan_test_upward): Likewise.
48114 (main): Call the new functions.
48115 * sysdeps/i386/fpu/libm-test-ulps: Update.
48116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48117
a6d06d7b
JM
48118 [BZ #10135]
48119 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48120 small n, then large n, before computing and testing k+n.
48121 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48123 Likewise.
48124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48125 Likewise.
48126 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48127 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48134 * math/libm-test.inc (scalbn_test): Add more tests.
48135 (scalbln_test): Likewise.
48136
07e12bb3
JM
48137 * manual/filesys.texi (mode_t): Describe constraints on size and
48138 signedness, not exact equivalence to a particular type.
48139 (ino_t): Likewise.
48140 (ino64_t): Likewise.
48141 (dev_t): Likewise.
48142 (nlink_t): Likewise.
48143 (blkcnt_t): Likewise.
48144 (blkcnt64_t): Likewise.
48145 * manual/llio.texi (off_t): Likewise.
48146
28afd92d
JM
48147 [BZ #3976]
48148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48149 (__ieee754_exp): Save and restore rounding mode and use
48150 round-to-nearest for all computations.
48151 * math/libm-test.inc (exp_test_tonearest): New function.
48152 (exp_test_towardzero): Likewise.
48153 (exp_test_downward): Likewise.
48154 (exp_test_upward): Likewise.
48155 (main): Call the new functions.
48156 * sysdeps/i386/fpu/libm-test-ulps: Update.
48157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48158
b1eeb65d
CD
481592012-03-01 Chris Demetriou <cgd@google.com>
48160
48161 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48162 have predictable order.
48163
53362a4b
DM
481642012-03-01 David S. Miller <davem@davemloft.net>
48165
3c969083
DM
48166 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48167
759707de
DM
48168 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48169 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48170 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48171 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48172
dfdb8ff2
DM
48173 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48174 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48175 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48177 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48178 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48179 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48180 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48181 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48182
ead89f96
DM
48183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48184
7f66bd07
DM
48185 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48186 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48187 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48188
53362a4b
DM
48189 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48190 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48191 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48192 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48193 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48196 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48198 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48199 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48205 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48206 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48207 * sysdeps/sparc/elf/configure: Regenerated.
48208
7b1902cb
JM
482092012-03-01 Joseph Myers <joseph@codesourcery.com>
48210
bec039bc
JM
48211 * configure.in (AS, LD): Require binutils 2.20 or later.
48212 * configure: Regenerated.
48213 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48214 as required minimum version.
48215 * INSTALL: Regenerated.
48216
7b1902cb
JM
48217 [BZ #2541]
48218 [BZ #4108]
48219 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48220 before squaring exponent.
48221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48222 bottom long double and 27 bits of top long double before squaring
48223 exponent.
48224 * math/libm-test.inc (erfc_test): Add more tests.
48225 * sysdeps/i386/fpu/libm-test-ulps: Update.
48226 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48228
f775c276
KT
482292012-03-01 Kai Tietz <ktietz@redhat.com>
48230
48231 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48232 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48233 containing bit-fields.
48234 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48235 * soft-fp/single.h (_FP_UNION_S): Likewise.
48236 * soft-fp/double.h (_FP_UNION_D): Likewise.
48237
5b8a4d4a
JM
482382012-02-29 Joseph Myers <joseph@codesourcery.com>
48239
0bab47b6
JM
48240 [BZ #13786]
48241 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48242 not include ../strcmp.S.
48243 [USE_AS_STRNCASECMP_L]: Likewise.
48244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48245 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48246 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48247 (__strncasecmp_l_ia32): Define as alias to
48248 __strncasecmp_l_nonascii.
48249
0fcad3e2
JM
48250 [BZ #5794]
48251 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48252 * sysdeps/i386/fpu/libm-test-ulps: Update.
48253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48254
5b8a4d4a
JM
48255 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48257
8fdceb2e
JL
482582012-02-29 Jeff Law <law@redhat.com>
48259
48260 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48261 out of bounds read.
48262
1f393a11
MP
482632012-02-29 Marek Polacek <polacek@redhat.com>
48264
48265 [BZ #13706]
48266 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48267 * elf/Makefile: Add rules to run tst-unused-dep.out.
48268
8847f037
DM
482692012-02-28 David S. Miller <davem@davemloft.net>
48270
48271 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48272 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48275 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48276 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48277
169d7f11
JM
482782012-02-29 Joseph Myers <joseph@codesourcery.com>
48279
48280 * math/libm-test.inc (llround_test): Move one test from
48281 lround_test. Use TEST_f_L in moved test.
48282 (lround_test): Move misplaced test to llround_test. Add testcase
48283 from bug 2561.
48284
39adf059
UD
482852012-02-28 Ulrich Drepper <drepper@gmail.com>
48286
48287 * sysdeps/x86_64/fpu/e_expf.S: New file.
48288 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48289
71b5d1c5
SB
482902012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48291
48292 [BZ #13637]
48293 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48294 of remain_len that may cause incomplete multi-byte character and
48295 false match.
48296 * posix/bug-regex33.c: New file.
48297 * posix/Makefile (tests): Add bug-regex33.
48298
1f77f049
JM
482992012-02-28 Joseph Myers <joseph@codesourcery.com>
48300
48301 * manual/macros.texi: New file.
48302 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48303 * manual/libc.texinfo: Include macros.texi.
48304 * manual/creatute.texi: Likewise.
48305 * manual/install.texi: Likewise.
48306 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48307 @glibcadj{} in references to the GNU C Library.
48308 * manual/charset.texi: Likewise.
48309 * manual/conf.texi: Likewise.
48310 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48311 when not using those macros.
48312 * manual/creature.texi: Likewise.
48313 * manual/crypt.texi: Likewise.
48314 * manual/errno.texi: Likewise.
48315 * manual/filesys.texi: Likewise.
48316 * manual/header.texi: Likewise.
48317 * manual/install.texi: Likewise.
48318 * manual/intro.texi: Likewise.
48319 * manual/io.texi: Likewise.
48320 * manual/job.texi: Likewise.
48321 * manual/lang.texi: Likewise.
48322 * manual/libc.texiinfo: Likewise.
48323 * manual/llio.texi: Likewise.
48324 * manual/locale.texi: Likewise.
48325 * manual/maint.texi: Likewise.
48326 * manual/math.texi: Likewise.
48327 * manual/memory.texi: Likewise.
48328 * manual/message.texi: Likewise.
48329 * manual/nss.texi: Likewise.
48330 * manual/pattern.texi: Likewise.
48331 * manual/process.texi: Likewise.
48332 * manual/resource.texi: Likewise.
48333 * manual/search.texi: Likewise.
48334 * manual/setjmp.texi: Likewise.
48335 * manual/signal.texi: Likewise.
48336 * manual/socket.texi: Likewise.
48337 * manual/startup.texi: Likewise.
48338 * manual/stdio.texi: Likewise.
48339 * manual/string.texi: Likewise.
48340 * manual/sysinfo.texi: Likewise.
48341 * manual/syslog.texi: Likewise.
48342 * manual/terminal.texi: Likewise.
48343 * manual/time.texi: Likewise.
48344 * manual/users.texi: Likewise.
48345 * INSTALL: Regenerated.
48346 * NOTES: Regenerated.
d40c5d54 48347 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48348
450bf206
AS
483492012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48350
48351 * include/dirent.h: Include <dirstream.h> before
48352 <dirent/dirent.h>.
48353
741a235b
DM
483542012-02-28 David S. Miller <davem@davemloft.net>
48355
48356 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48357 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48358 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48359 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48360
d6b5aa58
DM
483612012-02-27 David S. Miller <davem@davemloft.net>
48362
1aff59a3
DM
48363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48365 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48366 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48367
d6b5aa58
DM
48368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48369 frame pointer instead of stack pointer relative arg slot.
48370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48373
433f48bf
CD
483742012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48375
48376 [BZ #3992]
48377 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48378
d674b76d
DM
483792012-02-27 David S. Miller <davem@davemloft.net>
48380
48381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48385 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48386 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48387 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48388 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48389
0e7727f7
JM
483902012-02-27 Joseph Myers <joseph@codesourcery.com>
48391
48392 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48393 later. Allow versions 5-9.
43be4ca2 48394 * configure: Regenerated.
0e7727f7
JM
48395 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48396 required minimum version and 4.6 as recommended version. Do not
48397 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48398 * INSTALL: Regenerated.
0e7727f7 48399
a78bc654
DM
484002012-02-27 David S. Miller <davem@davemloft.net>
48401
428d5830
DM
48402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48406 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48407 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48408 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48409 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48410
a78bc654
DM
48411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48412 manipulate bits before adding and subtracting TWO112[sx].
48413 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48414
4579f81c
RM
484152012-02-27 Roland McGrath <roland@hack.frob.com>
48416
36c8acb4
RM
48417 [BZ #13775]
48418 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48419 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48420 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48421 being in POSIX, because they are in 1003.1-2008.
48422
84ad622b
RM
48423 * rt/tst-aio.c: Include <fcntl.h>.
48424 * rt/tst-aio7.c: Likewise.
48425 * rt/tst-aio64.c: Likewise.
48426
4579f81c
RM
48427 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48428
abd923db
JM
484292012-02-27 Joseph Myers <joseph@codesourcery.com>
48430
48431 * manual/install.texi (--with-headers): Describe headers as
48432 interface headers, not private headers.
48433 (Specific advice for GNU/Linux systems): Describe use of headers
48434 from "make headers_install", not private headers from older
48435 kernels.
43be4ca2 48436 * INSTALL: Regenerated.
abd923db
JM
48437 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48438 Change to 2.6.19.
48439 * sysdeps/unix/sysv/linux/configure: Regenerated.
48440
6664049b
JM
48441 * manual/llio.texi (fclean): Remove documentation.
48442
bb8b6697
JM
48443 * manual/Makefile (libc-texi-generated): New variable. Include
48444 version.texi.
48445 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48446 $(libc-texi-generated), not duplicated list of files.
48447 (version.texi, stamp-version): New rules.
48448 (realclean): Remove $(libc-texi-generated), not individual files
48449 from that list. Do not remove dir-add.texinfo.
48450 * manual/libc.texinfo: Comment out uses of edition numbers and
48451 references to printed manual. Remove last-updated dates.
48452 (EDITION): Comment out.
48453 (ISBN): Likewise.
48454 (VERSION, UPDATED): Remove.
48455 (version.texi): Include.
48456
12e5c3b9
AS
484572012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48458
48459 * sysdeps/posix/spawni.c: Include <signal.h>.
48460 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48461 * sysdeps/pthread/aio_fsync.c: Likewise.
48462
4efeffc1 484632012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48464
ba63ba08
UD
48465 * conform/Makefile (tests): Run only when not cross-compiling and
48466 when fast-check is not defined.
48467
d94a4670
UD
48468 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48469 * conform/data/limits.h-data: Fixes for POSIX2008.
48470 * conform/run-conformtest.sh: Run all tests.
48471 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48472 headers.
48473 * include/bits/dlfcn.h: Likewise.
48474 * include/langinfo.h: Likewise.
48475 * include/monetary.h: Likewise.
48476 * include/sys/poll.h: Likewise.
48477
48478 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48479 for __USE_GNU.
48480 * posix/spawn.h: Define __need_sigset_t.
48481 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48482 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48483 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48484 to get sigevent_t only.
48485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48486 only for __USE_GNU.
48487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48488 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48489 process_vm_writev only for __USE_GNU.
48490 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48491
48492 * conform/Makefile: For now ignore errors from run-conformtest.
48493 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48494 POSIX to avoid namespace pollution. Don't prepend headers.
48495 * conform/data/aio.h-data: Fixes for POSIX testing.
48496 * conform/data/fcntl.h-data: Likewise.
48497 * conform/data/glob.h-data: Likewise.
48498 * conform/data/grp.h-data: Likewise.
48499 * conform/data/pthread.h-data: Likewise.
48500 * conform/data/pwd.h-data: Likewise.
48501 * conform/data/signal.h-data: Likewise.
48502 * conform/data/spawn.h-data: Likewise.
48503 * conform/data/stdio.h-data: Likewise.
48504 * conform/data/stdlib.h-data: Likewise.
48505 * conform/data/stropts.h-data: Likewise.
48506 * conform/data/sys/mman.h-data: Likewise.
48507 * conform/data/sys/stat.h-data: Likewise.
48508 * conform/data/sys/types.h-data: Likewise.
48509 * conform/data/sys/wait.h-data: Likewise.
48510 * conform/data/time.h-data: Likewise.
48511 * conform/data/unistd.h-data: Likewise.
48512 * conform/data/utime.h-data: Likewise.
48513
48514 * io/sys/stat.h: fchmod was always in POSIX.
48515 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48516 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48517 * rt/aio.h: Define __need_timespec before including <time.h>.
48518 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48519 struct. Add forward declaration of pthread_attr_t and use it in
48520 sigevent.
48521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48523 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48524 always remove CLK_TCK definition.
48525
c20105c3
AS
485262012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48527
48528 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48529
7a270350
UD
485302012-02-25 Ulrich Drepper <drepper@gmail.com>
48531
31341567
UD
48532 * conform/run-conformtest.sh: New file.
48533 * conform/Makefile: Run run-conformtest for tests.
48534 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48535 support.
48536
48537 * conform/data/uchar.h-data: New file.
48538 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48539 * conform/data/arpa/inet.h-data: Likewise.
48540 * conform/data/assert.h-data: Likewise.
48541 * conform/data/complex.h-data: Likewise.
48542 * conform/data/cpio.h-data: Likewise.
48543 * conform/data/ctype.h-data: Likewise.
48544 * conform/data/dirent.h-data: Likewise.
48545 * conform/data/dlfcn.h-data: Likewise.
48546 * conform/data/errno.h-data: Likewise.
48547 * conform/data/fcntl.h-data: Likewise.
48548 * conform/data/float.h-data: Likewise.
48549 * conform/data/fmtmsg.h-data: Likewise.
48550 * conform/data/fnmatch.h-data: Likewise.
48551 * conform/data/ftw.h-data: Likewise.
48552 * conform/data/glob.h-data: Likewise.
48553 * conform/data/grp.h-data: Likewise.
48554 * conform/data/iconv.h-data: Likewise.
48555 * conform/data/inttypes.h-data: Likewise.
48556 * conform/data/langinfo.h-data: Likewise.
48557 * conform/data/libgen.h-data: Likewise.
48558 * conform/data/limits.h-data: Likewise.
48559 * conform/data/locale.h-data: Likewise.
48560 * conform/data/math.h-data: Likewise.
48561 * conform/data/monetary.h-data: Likewise.
48562 * conform/data/mqueue.h-data: Likewise.
48563 * conform/data/ndbm.h-data: Likewise.
48564 * conform/data/net/if.h-data: Likewise.
48565 * conform/data/netdb.h-data: Likewise.
48566 * conform/data/netinet/in.h-data: Likewise.
48567 * conform/data/nl_types.h-data: Likewise.
48568 * conform/data/poll.h-data: Likewise.
48569 * conform/data/pthread.h-data: Likewise.
48570 * conform/data/pwd.h-data: Likewise.
48571 * conform/data/regex.h-data: Likewise.
48572 * conform/data/sched.h-data: Likewise.
48573 * conform/data/search.h-data: Likewise.
48574 * conform/data/semaphore.h-data: Likewise.
48575 * conform/data/setjmp.h-data: Likewise.
48576 * conform/data/signal.h-data: Likewise.
48577 * conform/data/spawn.h-data: Likewise.
48578 * conform/data/stdarg.h-data: Likewise.
48579 * conform/data/stdio.h-data: Likewise.
48580 * conform/data/stdlib.h-data: Likewise.
48581 * conform/data/string.h-data: Likewise.
48582 * conform/data/strings.h-data: Likewise.
48583 * conform/data/stropts.h-data: Likewise.
48584 * conform/data/sys/ipc.h-data: Likewise.
48585 * conform/data/sys/mman.h-data: Likewise.
48586 * conform/data/sys/msg.h-data: Likewise.
48587 * conform/data/sys/resource.h-data: Likewise.
48588 * conform/data/sys/select.h-data: Likewise.
48589 * conform/data/sys/sem.h-data: Likewise.
48590 * conform/data/sys/shm.h-data: Likewise.
48591 * conform/data/sys/socket.h-data: Likewise.
48592 * conform/data/sys/stat.h-data: Likewise.
48593 * conform/data/sys/statvfs.h-data: Likewise.
48594 * conform/data/sys/time.h-data: Likewise.
48595 * conform/data/sys/timeb.h-data: Likewise.
48596 * conform/data/sys/times.h-data: Likewise.
48597 * conform/data/sys/types.h-data: Likewise.
48598 * conform/data/sys/uio.h-data: Likewise.
48599 * conform/data/sys/un.h-data: Likewise.
48600 * conform/data/sys/utsname.h-data: Likewise.
48601 * conform/data/sys/wait.h-data: Likewise.
48602 * conform/data/syslog.h-data: Likewise.
48603 * conform/data/tar.h-data: Likewise.
48604 * conform/data/termios.h-data: Likewise.
48605 * conform/data/utime.h-data: Likewise.
48606 * conform/data/utmpx.h-data: Likewise.
48607 * conform/data/varargs.h-data: Likewise.
48608 * conform/data/wchar.h-data: Likewise.
48609 * conform/data/wctype.h-data: Likewise.
48610 * conform/data/wordexp.h-data: Likewise.
48611
48612 * include/stropts.h: New file.
48613 * include/uchar.h: New file.
48614 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48615 * include/assert.h: Likewise.
48616 * include/ctype.h: Likewise.
48617 * include/dirent.h: Likewise.
48618 * include/dlfcn.h: Likewise.
48619 * include/fcntl.h: Likewise.
48620 * include/fnmatch.h: Likewise.
48621 * include/glob.h: Likewise.
48622 * include/grp.h: Likewise.
48623 * include/libio.h: Likewise.
48624 * include/locale.h: Likewise.
48625 * include/math.h: Likewise.
48626 * include/net/if.h: Likewise.
48627 * include/netdb.h: Likewise.
48628 * include/netinet/in.h: Likewise.
48629 * include/pthread.h: Likewise.
48630 * include/pwd.h: Likewise.
48631 * include/regex.h: Likewise.
48632 * include/sched.h: Likewise.
48633 * include/search.h: Likewise.
48634 * include/setjmp.h: Likewise.
48635 * include/signal.h: Likewise.
48636 * include/stdio.h: Likewise.
48637 * include/stdlib.h: Likewise.
48638 * include/string.h: Likewise.
48639 * include/sys/cdefs.h: Likewise.
48640 * include/sys/mman.h: Likewise.
48641 * include/sys/msg.h: Likewise.
48642 * include/sys/resource.h: Likewise.
48643 * include/sys/select.h: Likewise.
48644 * include/sys/socket.h: Likewise.
48645 * include/sys/stat.h: Likewise.
48646 * include/sys/statvfs.h: Likewise.
48647 * include/sys/time.h: Likewise.
48648 * include/sys/times.h: Likewise.
48649 * include/sys/uio.h: Likewise.
48650 * include/sys/utsname.h: Likewise.
48651 * include/sys/wait.h: Likewise.
48652 * include/termios.h: Likewise.
48653 * include/time.h: Likewise.
48654 * include/ulimit.h: Likewise.
48655 * include/unistd.h: Likewise.
48656 * include/utime.h: Likewise.
48657 * include/wchar.h: Likewise.
48658 * include/wctype.h: Likewise.
48659 * include/wordexp.h: Likewise.
48660
48661 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48662
7a270350
UD
48663 * time/time.h: TIME_UTC must be a macro.
48664 Make timespec_get available for ISO C11 only as well.
48665
7724defc
UD
486662012-02-24 Ulrich Drepper <drepper@gmail.com>
48667
48668 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48669 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48670
6b1d1d46
JM
486712012-02-24 Joseph Myers <joseph@codesourcery.com>
48672
48673 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48674
0f8bbd69
JM
486752012-02-24 Joseph Myers <joseph@codesourcery.com>
48676
48677 * manual/texinfo.tex: Update to version 2012-01-19.16.
48678
66ab80bc
JM
486792012-02-24 Joseph Myers <joseph@codesourcery.com>
48680
48681 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48682
74981cc5
RM
486832012-02-24 Roland McGrath <roland@hack.frob.com>
48684
ee968201
RM
48685 [BZ #13738]
48686 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48687 * manual/fdl-1.3.texi: New file.
48688 * manual/fdl-1.1.texi: File removed.
48689
74981cc5
RM
48690 [BZ #13738]
48691 * manual/libc.texinfo (FDL_VERSION): New @set.
48692 Use it for mention of FDL in cover text.
48693 (Documentation License): Use it in @include file name.
48694
7bb764bc
JM
486952012-02-22 Joseph Myers <joseph@codesourcery.com>
48696 Roland McGrath <roland@hack.frob.com>
48697
48698 [BZ #5461]
57f41c40
AS
48699 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48700 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48701 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48702 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48703 name.
48704 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48705
6cbeae47
JM
487062012-02-22 Joseph Myers <joseph@codesourcery.com>
48707
48708 [BZ #2547]
48709 [BZ #11365]
48710 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48711 manipulate bits before adding and subtracting TWO23[sx].
48712 * math/libm-test.inc (nearbyint_test): Add more tests.
48713
fe45ce09
JM
487142012-02-22 Joseph Myers <joseph@codesourcery.com>
48715
48716 [BZ #2548]
48717 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48718 bits before adding and subtracting TWO23[sx].
48719 * math/libm-test.inc (rint_test): Add more tests.
48720 (rint_test_tonearest): Likewise.
48721 (rint_test_towardzero): Likewise.
48722 (rint_test_downward): Likewise.
48723 (rint_test_upward: Likewise.
48724
ff3b3d82
JM
487252012-02-22 Joseph Myers <joseph@codesourcery.com>
48726
48727 [BZ #10110]
48728 * include/stdc-predef.h: New file. Extracted from features.h.
48729 * include/features.h: Include stdc-predef.h.
48730 * Makefile (headers): Add stdc-predef.h.
48731 * CONFORMANCE (Compiler limitations): Update.
48732
ef0aab35
JM
487332012-02-22 Joseph Myers <joseph@codesourcery.com>
48734
48735 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48736
58639409
DM
487372012-02-21 David S. Miller <davem@davemloft.net>
48738
48739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48741
c0e70b25
DM
487422012-02-20 David S. Miller <davem@davemloft.net>
48743
48744 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48745 using a normal save/restore sequence, rather than allocating a
48746 dummy stack frame just to store a frame pointer and restore.
48747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48748
fb06851d
JM
487492012-02-21 Joseph Myers <joseph@codesourcery.com>
48750
48751 * manual/install.texi: Fix stray word in line-wrapped comment.
48752
7a8b71c3
DM
487532012-02-20 David S. Miller <davem@davemloft.net>
48754
d510c123
DM
48755 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48756 both binutils and gcc support GOTDATA.
48757
0722d7c2
DM
48758 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48759 "rd %pc" in the PIC register setup sequences.
48760
3d2b3019
DM
48761 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48762 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48763 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48764 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48765 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48768 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48770 (SYSCALL_ERROR_HANDLER): Likewise.
48771 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48772 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48774 (SYSCALL_ERROR_HANDLER): Likewise.
48775
c80098a9
DM
48776 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48777 (HAVE_GCC_GOTDATA): New.
48778 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48779 relocation support in both binutils and gcc.
48780 * sysdeps/sparc/elf/configure: Regenerate.
48781
3a2545a0
DM
48782 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48783 * sysdeps/sparc/sparc32/elf/configure: Delete.
48784 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48785 * sysdeps/sparc/sparc64/elf/configure: Delete.
48786 * sysdeps/sparc/elf/configure.in: New file.
48787 * sysdeps/sparc/elf/configure: Generate.
48788
7a8b71c3
DM
48789 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48790 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48792 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48793 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48794
f1e86fca
JM
487952012-02-21 Joseph Myers <joseph@codesourcery.com>
48796
48797 * manual/install.texi: Do not mention specific glibc version
48798 numbers.
48799 * manual/libc.texinfo (VERSION, UPDATED): Update.
48800 (@copying): Use @copyright{} and range of years.
48801
0e7dfaef
JM
488022012-02-21 Joseph Myers <joseph@codesourcery.com>
48803
48804 [BZ #13695]
48805 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48806 [crti.S not in sysdirs] (generated): Do not append.
48807 [crti.S not in sysdirs] (omit-deps): Likewise.
48808 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48809 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48810 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48811 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48812 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48813 Likewise.
48814 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48815 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48816 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48817 * csu/defs.awk: Remove file.
48818 * sysdeps/generic/initfini.c: Likewise.
48819 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48820 variable.
48821 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48822 Likewise.
48823
599af3ca
JM
488242012-02-20 Joseph Myers <joseph@codesourcery.com>
48825
48826 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48827 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48828 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48831 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48832 <bits/epoll.h>.
48833 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48834 (__EPOLL_PACKED): Define to empty if not defined by
48835 <bits/epoll.h>.
48836 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48838 bits/epoll.h.
48839
0e499750
JM
488402012-02-20 Joseph Myers <joseph@codesourcery.com>
48841
48842 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48843 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48846 <bits/timerfd.h>.
48847 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48849 bits/timerfd.h.
48850
5ad91f6e
JM
488512012-02-20 Joseph Myers <joseph@codesourcery.com>
48852
48853 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48854 in C locale.
48855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48859
06b99b02
AJ
488602012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48861
48862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48864
7638c0fd
AS
488652012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48866
48867 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48868 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48869 defined.
48870 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48871 Likewise.
48872 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48873 entry for 2.16.
48874
92221550
AJ
488752012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48876
48877 * math/w_acos.c: Use non-signaling floating-point comparisons.
48878 * math/w_acosf.c: Likewise.
48879 * math/w_acosh.c: Likewise.
48880 * math/w_acoshf.c: Likewise.
48881 * math/w_acoshl.c: Likewise.
48882 * math/w_acosl.c: Likewise.
48883 * math/w_asin.c: Likewise.
48884 * math/w_asinf.c: Likewise.
48885 * math/w_asinl.c: Likewise.
48886 * math/w_atanh.c: Likewise.
48887 * math/w_atanhf.c: Likewise.
48888 * math/w_atanhl.c: Likewise.
48889 * math/w_exp2.c: Likewise.
48890 * math/w_exp2f.c: Likewise.
48891 * math/w_exp2l.c: Likewise.
48892 * math/w_j0.c: Likewise.
48893 * math/w_j0f.c: Likewise.
48894 * math/w_j0l.c: Likewise.
48895 * math/w_j1.c: Likewise.
48896 * math/w_j1f.c: Likewise.
48897 * math/w_j1l.c: Likewise.
48898 * math/w_jn.c: Likewise.
48899 * math/w_jnf.c: Likewise.
48900 * math/w_log.c: Likewise.
48901 * math/w_log10.c: Likewise.
48902 * math/w_log10f.c: Likewise.
48903 * math/w_log10l.c: Likewise.
48904 * math/w_log2.c: Likewise.
48905 * math/w_log2f.c: Likewise.
48906 * math/w_log2l.c: Likewise.
48907 * math/w_logf.c: Likewise.
48908 * math/w_logl.c: Likewise.
48909 * math/w_sqrt.c: Likewise.
48910 * math/w_sqrtf.c: Likewise.
48911 * math/w_sqrtl.c: Likewise.
48912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48913 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48917
ebaf36eb
JM
489182012-02-19 Joseph Myers <joseph@codesourcery.com>
48919
48920 [BZ #9739]
48921 * manual/string.texi (strnlen): Use correct parameter name in
48922 equivalent expression.
48923
71c254a6
JM
489242012-02-19 Joseph Myers <joseph@codesourcery.com>
48925
48926 [BZ #11174]
48927 * manual/users.texi (seteuid): Consistently use neweuid for
48928 argument name.
48929
16d2c631
JM
489302012-02-19 Joseph Myers <joseph@codesourcery.com>
48931
48932 [BZ #13704]
48933 * manual/nss.texi (Services in the NSS configuration): Correct
48934 list of services in example configuration file.
48935
cd837b09
NB
489362012-02-19 Nick Bowler <nbowler@draconx.ca>
48937
48938 [BZ #11322]
48939 * manual/arith.texi: Remove statements about negative zero
48940 behaving identically to zero.
48941
02c4bbad
JM
489422012-02-18 Joseph Myers <joseph@codesourcery.com>
48943
48944 [BZ #5993]
48945 * manual/install.texi: Do not document upgrading from libc5.
48946
366842e7
JM
489472012-02-18 Joseph Myers <joseph@codesourcery.com>
48948
48949 [BZ #4596]
48950 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48951
dd54084d
DM
489522012-02-18 David S. Miller <davem@davemloft.net>
48953
48954 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48955 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48956 %o7 across the call.
48957 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48958 instead.
48959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48960 SETUP_PIC_REG_LEAF.
48961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48962 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48963 * sysdeps/sparc/crtn.S: Likewise.
48964
2bcc53a3
UD
489652012-02-17 Ulrich Drepper <drepper@gmail.com>
48966
48967 * aout/Makefile: Remove.
48968
09c093b5
RK
489692012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48970
48971 [BZ #13058]
48972 * manual/examples/argp-ex1.c (main): Format definition in GNU
48973 style.
48974 * manual/examples/argp-ex2.c (main): Likewise.
48975 * manual/examples/argp-ex3.c (main): Likewise.
48976 * manual/examples/argp-ex4.c (main): Likewise.
48977 * manual/examples/longopt.c (main): Use new-style prototype
48978 definition.
48979 * manual/examples/strncat.c (main): Specify return type and use
48980 (void) for arguments.
48981 * manual/examples/subopt.c (main): Use char **argv argument.
48982
2ee633a2
JM
489832012-02-17 Joseph Myers <joseph@codesourcery.com>
48984
48985 [BZ #5077]
48986 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48987 rounding modes.
48988
0520adde
FB
489892012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48990
48991 [BZ #6907]
48992 * manual/string.texi (strchr): Change when strchrnul is
48993 recommended.
48994
3f4081cd
DGM
489952012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48996
48997 [BZ #174]
48998 * manual/locale.texi (setlocale): Document LOCPATH.
48999
d1b10e78
JM
490002012-02-17 Joseph Myers <joseph@codesourcery.com>
49001
49002 [BZ #10210]
49003 * manual/process.texi (execle): Move @dots{} before last argument.
49004
79c6869c
PB
490052012-02-17 Paul Bolle <pebolle@tiscali.nl>
49006
49007 [BZ #12047]
49008 * manual/charset.texi (Generic Charset Conversion): Fix typo
49009 (LC_TYPE -> LC_CTYPE).
49010
cc6e48bc
NB
490112012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49012
49013 [BZ #5805]
49014 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49015 (scalbnf): Likewise.
49016 (scalbnl): Likewise.
49017 (scalbln): Likewise.
49018 (scalblnf): Likewise.
49019 (scalblnl): Likewise.
49020 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49021 (vwarnx): Likewise.
49022 (verr): Likewise.
49023 (verrx): Likewise.
49024 * manual/filesys.texi (telldir): Use braces around return type.
49025 * manual/llio.texi (mmap): Add space after comma.
49026 (mmap64): Likewise.
49027 * manual/math.texi (jn): Use @var{} on parameter names.
49028 (jnf): Likewise.
49029 (jnl): Likewise.
49030 (yn): Likewise.
49031 (ynf): Likewise.
49032 (ynl): Likewise.
49033 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49034 line.
49035 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49036 "...".
49037 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49038 (sched_get_priority_max): Likewise.
49039 * manual/signal.texi (sigvec): Add space after comma.
49040 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49041 names.
49042 (if_indextoname): Likewise.
49043 (if_freenameindex): Likewise.
49044 (sendto): Use ',' instead of '.' in prototype.
49045 * manual/startup.texi (syscall): Use @dots{} instead of literal
49046 "...".
49047 * manual/stdio.texi (__fpending): Separate initial words of
49048 paragraph from @deftypefun line.
49049 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49050 "...".
49051 (vsyslog): Use @var{} on parameter names.
49052 * manual/terminal.texi (stty): Use @var{} on parameter names.
49053 * manual/users.texi (getutmp): Use @var{} on parameter names.
49054 (getutmpx): Likewise.
49055
5b23062f
JM
490562012-02-17 Joseph Myers <joseph@codesourcery.com>
49057
49058 [BZ #6884]
49059 * manual/stdio.texi (fopen): Fix typos in description of
49060 ",ccs=STRING".
49061
8dee4833
AJ
490622012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49063
49064 [BZ #4026]
49065 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49066 get clock_id definition.
49067
9078ce93
TS
490682012-02-17 Thomas Schwinge <thomas@schwinge.name>
49069
49070 [BZ #4822]
49071 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49072 (madvise): Cast every argument to void on its own.
49073
3835c55f
JM
490742012-02-17 Joseph Myers <joseph@codesourcery.com>
49075
49076 [BZ #9902]
49077 * manual/startup.texi (Exit Status): Fix typo.
49078
35c47e37
JM
490792012-02-17 Joseph Myers <joseph@codesourcery.com>
49080
49081 [BZ #10140]
49082 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49083 * manual/examples/argp-ex2.c: Likewise.
49084 * manual/examples/argp-ex3.c: Likewise.
49085
e3b69ca7
RH
490862012-02-16 Richard Henderson <rth@redhat.com>
49087
49088 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49089 * sysdeps/s390/s390-32/initfini.c: Remove.
49090 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49091 * sysdeps/s390/s390-64/initfini.c: Remove.
49092
df83af67
KK
490932012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49094
49095 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49096 compiler output for sysdeps/generic/initfini.c.
49097 * sysdeps/sh/elf/initfini.c: Remove file.
49098
f63f3380
DM
490992012-02-16 David S. Miller <davem@davemloft.net>
49100
fb59b3a4
DM
49101 [BZ #11494]
49102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49103
f63f3380
DM
49104 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49105 * sysdeps/sparc/crti.S: New file.
49106 * sysdeps/sparc/crtn.S: New file.
49107 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49108 * sysdeps/sparc/sparc64/Makefile: Likewise.
49109
df6a4a4a
MF
491102012-02-15 Mike Frysinger <vapier@gentoo.org>
49111
6dd8f3dc 49112 [BZ #3335]
df6a4a4a
MF
49113 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49114
1cac7236
RM
491152012-02-15 Roland McGrath <roland@hack.frob.com>
49116
d2c736f8
RM
49117 [BZ #4822]
49118 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49119
1cac7236
RM
49120 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49121 (write, read, close): Likewise.
49122 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49123
8e475601
JM
491242012-02-15 Joseph Myers <joseph@codesourcery.com>
49125
49126 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49127 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49128 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49129 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49130 <bits/signalfd.h>.
49131 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49133 bits/signalfd.h.
49134
ed656b40
MP
491352012-02-14 Marek Polacek <polacek@redhat.com>
49136
49137 * sysdeps/x86_64/crti.S: New file.
49138 * sysdeps/x86_64/crtn.S: New file.
49139 * sysdeps/x86_64/elf/initfini.c: Remove file.
49140
2a979d3a
JM
491412012-02-13 Joseph Myers <joseph@codesourcery.com>
49142
49143 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49144 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49145 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49146 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49147 <bits/inotify.h>.
49148 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49150 bits/inotify.h.
49151
2a418ac3
JM
491522012-02-13 Joseph Myers <joseph@codesourcery.com>
49153
49154 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49155 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49156 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49157 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49158 <bits/eventfd.h>.
49159 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49161 bits/eventfd.h.
49162
fb779be7
TS
491632012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49164
e19e83c5
RM
49165 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49166 __feraiseexcept instead of feraiseexcept.
7c35ffed 49167
fb779be7
TS
49168 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49169 nanosleep invocations.
49170 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49171 strings, and add error checking for a nanosleep invocations.
49172
59ba27a6
PE
491732012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49174
49175 Replace FSF snail mail address with URLs, as per GNU coding standards.
49176 Most of the snail mail addresses were wrong anyway, and omitting
49177 them makes the source code easier to maintain. Almost all of the
49178 changes are to license notices and to locale LC_IDENTIFICATION
49179 addresses, except for this one:
49180 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49181 not its snail mail address.
49182
57b957eb
RH
491832012-02-09 Richard Henderson <rth@twiddle.net>
49184
af850b1c
RH
49185 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49186 of kernel-features.h.
49187
57b957eb
RH
49188 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49189
6b73181a
MP
491902012-02-08 Marek Polacek <polacek@redhat.com>
49191
49192 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49193 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49194 * sysdeps/gnu/_G_config.h: Likewise.
49195 * sysdeps/generic/_G_config.h: Likewise.
49196
26ecc33a
AS
491972012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49198
6c6dbc63
AS
49199 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49200 tests.
49201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49202
e216c012
AS
49203 * sysdeps/powerpc/powerpc32/crti.S: New file.
49204 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49205 * sysdeps/powerpc/powerpc64/crti.S: New file.
49206 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49207
26ecc33a
AS
49208 * Makeconfig (have-initfini): Don't set.
49209 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49210 * configure.in (nopic_initfini): Don't substitute.
49211 * config.h.in (HAVE_INITFINI): Don't #undef.
49212 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49213 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49214
3add8e13
JM
492152012-02-08 Joseph Myers <joseph@codesourcery.com>
49216
49217 Support crti.S and crtn.S provided directly by architectures.
49218 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49219 [crti.S in sysdirs] (omit-deps): Likewise.
49220 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49221 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49222 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49223 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49224 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49225 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49226 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49227 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49228 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49229 compiler output for sysdeps/generic/initfini.c.
49230 * sysdeps/i386/elf/Makefile: Remove file.
49231 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49232
a22f12b4
MP
492332012-02-07 Marek Polacek <polacek@redhat.com>
49234
49235 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49236 * sysdeps/gnu/_G_config.h: Likewise.
49237 * sysdeps/mach/hurd/_G_config.h: Likewise.
49238
148cf100
MP
492392012-02-07 Marek Polacek <polacek@redhat.com>
49240
49241 * math/Makefile (tests): Add tst-CMPLX2.
49242 * math/tst-CMPLX2.c: New file.
49243
cfdc0dd7
AS
492442012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49245
84ba42c4
AS
49246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49247
cfdc0dd7
AS
49248 * math/libm-test.inc (jn_test): Add missing L suffix.
49249
622c86f4
MP
492502012-02-06 Marek Polacek <polacek@redhat.com>
49251
49252 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49253 * sysdeps/i386/fpu/e_powf.S: Likewise.
49254 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49255 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49257 * sysdeps/i386/fpu/e_pow.S: Likewise.
49258 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49260 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49261 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49262 * sysdeps/i386/fpu/e_log2.S: Likewise.
49263 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49265 * sysdeps/i386/fpu/e_powl.S: Likewise.
49266 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49268 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49269 * sysdeps/i386/fpu/e_logl.S: Likewise.
49270 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49271 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49272 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49273 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49274 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49275 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49276 * sysdeps/i386/fpu/e_log.S: Likewise.
49277 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49278 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49279 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49280 * sysdeps/i386/fpu/e_logf.S: Likewise.
49281 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49282 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49283 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49284 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49285 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49286 * sysdeps/i386/fpu/e_log10.S: Likewise.
49287 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49289 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49290 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49292 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49293 * sysdeps/i386/asm-syntax.h: Likewise.
49294 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49296 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49297 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49298 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49299 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49300 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49301 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49302 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49303 * sysdeps/powerpc/sysdep.h: Likewise.
49304 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49306
d4a54ac6
JM
493072012-02-06 Joseph Myers <joseph@codesourcery.com>
49308
49309 [BZ #411]
49310 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49311
314054ea
JM
493122012-02-06 Joseph Myers <joseph@codesourcery.com>
49313
49314 * sysdeps/i386/sysdep.h: Include <features.h>.
49315 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49316 version.
49317
d8e0ca50
JM
493182012-02-05 Joseph Myers <joseph@codesourcery.com>
49319
49320 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49321 Define.
49322 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49323 LOAD_PIC_REG_STR.
49324
b1da7dd9
JM
493252012-02-03 Joseph Myers <joseph@codesourcery.com>
49326
49327 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49328 (SETUP_PIC_REG): Use GET_PC_THUNK.
49329 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49330 macro.
49331
9a1d9254
JM
493322012-02-03 Joseph Myers <joseph@codesourcery.com>
49333
49334 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49335 for non-PIC compilation.
49336 (SETUP_PIC_REG): Add .p2align directive.
49337 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49338 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49339 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49340 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49342 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49343 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49345 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49346 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49347 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49348 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49349 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49350 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49351 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49352 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49353 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49357 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49359 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49360 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49364 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49365 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49366 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49367 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49369 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49370 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49371 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49372 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49373 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49374 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49375 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49376 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49377 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49378
65dc3b75
JM
493792012-02-03 Joseph Myers <joseph@codesourcery.com>
49380
49381 * math/tst-CMPLX.c: Include <stdio.h>.
49382
d55bf177
JM
493832012-01-31 Joseph Myers <joseph@codesourcery.com>
49384
49385 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49386 float.
49387 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49388 * sysdeps/sparc/bits/mathdef.h: Likewise.
49389
69db4f8f
MP
493902012-01-31 Marek Polacek <polacek@redhat.com>
49391
49392 * libio/libio.h: Don't define _PARAMS.
49393 * locale/programs/config.h: Don't define PARAMS.
49394 * stdlib/strtol_l.c: Likewise.
49395 (__strtol_l): Remove PARAMS from the prototype.
49396
41b81892
UD
493972012-01-31 Ulrich Drepper <drepper@gmail.com>
49398
3b49edc0
UD
49399 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49400 names. Just use the correct names. Remove unnecessary wrapper
49401 functions.
49402 * malloc/arena.c: Likewise.
49403 * malloc/hooks.c: Likewise.
49404
41b81892
UD
49405 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49406 ARENA_TEST says not to. Simplify test for creation of a new arena.
49407 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49408
27a25b6e
UD
494092012-01-30 Ulrich Drepper <drepper@gmail.com>
49410
49411 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49412 into tail calls.
49413 (update_get_addr): New function.
49414 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49415 GET_ADDR_MODULE parameter.
49416
c8a89e7d
JM
494172012-01-30 Joseph Myers <joseph@codesourcery.com>
49418
49419 * crypt/cert.c: Remove __STDC__ conditionals.
49420 * crypt/crypt-entry.c: Likewise.
49421 * crypt/crypt_util.c: Likewise.
49422 * libio/filedoalloc.c: Likewise.
49423 * libio/fileops.c: Likewise.
49424 * libio/genops.c: Likewise.
49425 * libio/iofclose.c: Likewise.
49426 * libio/iofdopen.c: Likewise.
49427 * libio/iofopen.c: Likewise.
49428 * libio/iofopen64.c: Likewise.
49429 * libio/iogetdelim.c: Likewise.
49430 * libio/iopopen.c: Likewise.
49431 * libio/obprintf.c: Likewise.
49432 * libio/oldfileops.c: Likewise.
49433 * libio/oldiofclose.c: Likewise.
49434 * libio/oldiofdopen.c: Likewise.
49435 * libio/oldiofopen.c: Likewise.
49436 * libio/oldiopopen.c: Likewise.
49437 * libio/wfiledoalloc.c: Likewise.
49438 * libio/wgenops.c: Likewise.
49439 * locale/programs/xmalloc.c: Likewise.
49440 * misc/syslog.c: Likewise.
49441 * stdio-common/xbug.c: Likewise.
49442 * string/memchr.c: Likewise.
49443 * string/memcmp.c: Likewise.
49444 * string/memrchr.c: Likewise.
49445 * string/rawmemchr.c: Likewise.
49446 * sysdeps/posix/getcwd.c: Likewise.
49447 * time/strftime_l.c: Likewise.
49448
3b100462
JM
494492012-01-30 Joseph Myers <joseph@codesourcery.com>
49450
49451 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49452 * config.make.in (config-cflags-sse2avx): Define.
49453 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49454 Fix typo.
49455
607998af
CM
494562012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49457
49458 * scripts/config.guess: Update from upstream config git repository.
49459 * scripts/config.sub: Likewise.
49460
3601428f
CM
494612012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49462
3ac8b282
CM
49463 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49464 (EM_NUM): Update.
49465 (R_TILEPRO_*, R_TILEGX_*): New macros.
49466
e034841e
CM
49467 * scripts/firstversions.awk: Fix bug in version range handling.
49468
540d7568
CM
49469 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49470
3601428f
CM
49471 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49472
463de862
CM
49473 * include/sys/epoll.h: New file.
49474 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49475 libc_hidden_def.
49476
73139a76
UD
494772012-01-28 Ulrich Drepper <drepper@gmail.com>
49478
96bc5b45
UD
49479 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49480 Avoid unnecessary __WORDSIZE == 64 test.
49481 (fmaxf): Use VEX format if possible.
49482 (fmax): Likewise.
49483 (fminf): Likewise.
49484 (fmin): Likewise.
49485
56f6f6a2
UD
49486 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49487 * math/math_private.h: Remove libc_fegetround* and
49488 libc_fesetround*.
49489 * sysdeps/i386/configure.in: Check for -msse2avx.
49490 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49491 also if SSE2AVX is defined.
49492 Remove libc_fegetround* and libc_fesetround*.
49493 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49494 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49496 of HAS_YMM_USABLE.
49497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49498 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49502
73139a76
UD
49503 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49504
d73f93a4
AZ
495052012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49506
49507 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49508 size is not set.
49509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49510
6ee65ed6
UD
495112012-01-27 Ulrich Drepper <drepper@gmail.com>
49512
49513 [BZ #13618]
49514 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49515 relocation.
49516 * Makeconfig (libm): Define.
49517 * elf/Makefile: Add rules to build and run tst-relsort1.
49518 * elf/tst-relsort1.c: New file.
49519 * elf/tst-relsort1mod1.c: New file.
49520 * elf/tst-relsort1mod2.c: New file.
49521
8db21882
JM
495222012-01-27 Joseph Myers <joseph@codesourcery.com>
49523
49524 * math/s_ldexp.c: Remove __STDC__ conditionals.
49525 * math/s_ldexpf.c: Likewise.
49526 * math/s_ldexpl.c: Likewise.
49527 * math/s_nextafter.c: Likewise.
49528 * math/s_nexttowardf.c: Likewise.
49529 * math/s_significand.c: Likewise.
49530 * math/s_significandf.c: Likewise.
49531 * math/s_significandl.c: Likewise.
49532 * math/w_jnl.c: Likewise.
49533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49539 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49540 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49541 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49550 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49552 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49553 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49558 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49559 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49560 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49561 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49562 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49563 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49564 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49567 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49569 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49570 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49571 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49572 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49573 * sysdeps/ieee754/k_standard.c: Likewise.
49574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49576 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49577 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49578 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49579 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49581 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49582 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49583 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49584 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49585 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49586 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49588 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49593 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49594 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49595 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49596 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49597 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49598 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49599 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49603 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49604 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49605 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49606 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49607 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49610 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49611 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49612 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49617 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49618 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49623 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49624 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49625 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49630 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49633 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49634 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49635 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49636 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49638 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49639 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49640 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49641 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49642 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49643 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49644 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49649 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49650 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49651 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49653 * sysdeps/ieee754/s_matherr.c: Likewise.
49654 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49655 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49658
965a54a4
JM
496592012-01-26 Joseph Myers <joseph@codesourcery.com>
49660
49661 * crypt/md5.h: Remove __STDC__ conditionals.
49662 * libio/libioP.h: Likewise.
49663 * locale/programs/config.h: Likewise.
49664 * sysdeps/generic/sysdep.h: Likewise.
49665 * sysdeps/i386/asm-syntax.h: Likewise.
49666 * sysdeps/s390/asm-syntax.h: Likewise.
49667 * sysdeps/unix/sysdep.h: Likewise.
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49670
7071ad79
JM
496712012-01-26 Joseph Myers <joseph@codesourcery.com>
49672
49673 * libio/libio.h: Remove __STDC__ conditionals.
49674 * malloc/obstack.h: Likewise.
49675 * math/complex.h: Likewise.
49676 * math/math.h: Likewise.
49677 * sysdeps/generic/_G_config.h: Likewise.
49678 * sysdeps/gnu/_G_config.h: Likewise.
49679 * sysdeps/mach/hurd/_G_config.h: Likewise.
49680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49681 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49682 * sysdeps/sparc/bits/mathdef.h: Likewise.
49683
afc5ed09
UD
496842012-01-26 Ulrich Drepper <drepper@gmail.com>
49685
49686 [BZ #13583]
49687 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49688 Clean up HAS_* macros.
afc5ed09 49689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49690 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49691 possible.
49692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49693 HAS_AVX.
49694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49699
bdb6de1d
JM
497002012-01-25 Joseph Myers <joseph@codesourcery.com>
49701
49702 * elf/tst-unique3.cc (gets): Remove declaration.
49703 * elf/tst-unique3lib.cc (gets): Likewise.
49704 * elf/tst-unique3lib2.cc (gets): Likewise.
49705 * elf/tst-unique4.cc (gets): Likewise.
49706
b15549e6
UD
497072012-01-24 Ulrich Drepper <drepper@gmail.com>
49708
49709 * include/stdio.h: Add C++ protection. Add gets declarations and
49710 definitions.
49711 * debug/tst-chk1.c: Don't declare gets here.
49712 * stdio-common/tst-gets.c: Likewise.
49713
a037381f
JM
497142012-01-24 Joseph Myers <joseph@codesourcery.com>
49715
49716 * posix/glob: Remove directory.
49717
f1d4aa75
JM
497182012-01-24 Joseph Myers <joseph@codesourcery.com>
49719
49720 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49721
81c0c964
PT
497222012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49723
49724 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49725 of the non-standard EPFNOSUPPORT.
49726
0ea698ae
ST
497272011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49728
49729 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49730 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49731 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49732
d220b117
UD
497332012-01-21 Ulrich Drepper <drepper@gmail.com>
49734
49735 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49736
3e1aa84e
UD
497372012-01-20 Ulrich Drepper <drepper@gmail.com>
49738
49739 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49740 transient errors.
49741 * nscd/grpcache.c (cache_addgr): Likewise.
49742 * nscd/hstcache.c (cache_addhst): Likewise.
49743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49744 * nscd/pwdcache.c (cache_addpw): Likewise.
49745 * nscd/servicescache.c (cache_addserv): Likewise.
49746
400aa020
UD
497472012-01-16 Ulrich Drepper <drepper@gmail.com>
49748
d77e7869
UD
49749 * malloc/malloc.c: Various cleanups.
49750 * malloc/hooks.c: Likewise.
49751
400aa020
UD
49752 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49753 * stdlib/bug-fmtmsg1.c: New file.
49754
49755 * stdlib/fmtmsg.c (init): Add missing unlock.
49756 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49757
e0a309cf
MP
497582012-01-12 Marek Polacek <polacek@redhat.com>
49759
49760 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49761 and _GNU_SOURCE.
49762
929d11c7
WS
497632012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49764
49765 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49766 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49767 macro to ensure uniqueness of label name.
49768 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49769 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49770
41d0e869
UD
497712012-01-11 Ulrich Drepper <drepper@gmail.com>
49772
0cc5ed3b
UD
49773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49774
41d0e869
UD
49775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49776 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49779
a47a831a
UD
497802012-01-10 Ulrich Drepper <drepper@gmail.com>
49781
daa891c0
UD
49782 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49783
49784 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49785 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49786 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49787
e58ef0f2
UD
49788 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49789
a47a831a 49790 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49791 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49794
49795 * math/bits/math-finite.h: Add ldexp support.
49796
a0bfc9c7
MP
497972012-01-10 Marek Polacek <polacek@redhat.com>
49798
49799 * locale/programs/localedef.h (show_archive_content): Add noreturn
49800 attribute.
49801
d6e97a1d
UD
498022012-01-09 Ulrich Drepper <drepper@gmail.com>
49803
49804 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49805
d5835c26
UD
498062012-01-08 Ulrich Drepper <drepper@gmail.com>
49807
e5f484c6
UD
49808 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49809
d5835c26
UD
49810 * io/Makefile (headers): Add bits/poll2.h.
49811
d1f741e9
WS
498122011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49813
49814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49815 typo #include statement.
49816
ec09c1c4
UD
498172012-01-08 Ulrich Drepper <drepper@gmail.com>
49818
49819 * include/sys/cdefs.h: Define __attribute_alloc_size.
49820 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49821 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49822 * elf/pldd.c: Likewise.
49823 * iconv/iconv_charmap.c: Likewise.
49824 * iconv/iconvconfig.c: Likewise.
49825 * iconv/strtab.c: Likewise.
49826 * locale/programs/locale.c: Likewise.
49827 * locale/programs/localedef.h: Likewise.
49828 * locale/programs/simple-hash.c: Likewise.
49829 * nscd/nscd.h: Likewise.
49830 * nss/makedb.c: Likewise.
49831 * sysdeps/generic/ldconfig.h: Likewise.
49832 * locale/programs/localedef.c: Remove xmalloc prototype.
49833 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49834
20b38e03
PP
498352012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49836
49837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49838 appropriate.
49839
a0da5fe1
UD
498402012-01-08 Ulrich Drepper <drepper@gmail.com>
49841
1d5a644a 49842 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49843 * math/tst-CMPLX.c: New file.
1d5a644a 49844
8784a6db
UD
49845 * math/complex.h (CMPLXL): Fix typo.
49846
d9a216c0
UD
49847 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49848 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49849 GLIBC_2.16.
49850 * debug/tst-chk1.c: Add poll and ppoll tests.
49851 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49852 * include/sys/poll.h: Add hidden proto for ppoll.
49853 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49854 * sysdeps/mach/hurd/ppoll.c: Likewise.
49855 * io/ppoll.c: Likewise.
49856 * debug/poll_chk.c: New file.
49857 * debug/ppoll_chk.c: New file.
49858 * include/bits/poll2.h: New file.
49859 * io/bits/poll2.h: New file.
49860
ac097f5c
UD
49861 [BZ #1350]
49862 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49863
2119dcfa
UD
49864 * configure.in: static is always set to yes. Remove.
49865 * config.make.in: Don't set build-static.
49866 * Makeconfig: Remove use of build-static.
49867 * dlfcn/Makefile: Likewise.
49868 * elf/Makefile: Likewise.
49869 * math/Makefile: Likewise.
49870 * misc/Makefile: Likewise.
49871 * nptl/Makefile: Likewise.
49872 * sysdeps/mach/hurd/Makefile: Likewise.
49873
121766a9
UD
49874 * configure.in: PWD_P is not used anymore.
49875 * config.make.in: Remove PWD_P entry.
49876
51a1d39c 49877 * configure.in: Remove last remnants of RANLIB.
8720d066 49878 No need to check for signed size_t anymore.
215f4bdc
UD
49879 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49880 and IA-64.
3857022a 49881 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49882 * aclocal.m4: Likewise.
49883
d3ed7225
UD
49884 * wcsmbs/mbrtoc16.c: Implement using towc function.
49885 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49886 * wcsmbs/wcsmbsload.c: Likewise.
49887 * iconv/gconv_simple.c: Likewise.
49888 * iconv/gconv_int.h: Likewise.
49889 * iconv/gconv_builtin.h: Likewise.
49890 * iconv/iconv_prog.c: Remove CHAR16 handling.
49891
49892 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49893
49894 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49895
a0da5fe1
UD
49896 * configure.in: Remove --with-elf and --enable-bounded options.
49897 Dont set base_machine for ia64. More non-ELF conditions removed.
49898 Remove testing and setting of leading underscore information.
49899 * config.make.in (build-bounded): Set to no.
49900 * config.h.in: Remove NO_UNDERSCORES entry.
49901 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49902 them.
49903 * csu/start.c: Remove !NO_UNDERSCORE code.
49904 * locale/localeinfo.h: Likewise.
49905 * sysdeps/generic/machine-gmon.h: Likewise.
49906 * sysdeps/generic/sysdep.h: Likewise.
49907 * sysdeps/i386/sysdep.h: Likewise.
49908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49909 * sysdeps/mach/sysdep.h: Likewise.
49910 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49912 * sysdeps/sh/sysdep.h: Likewise.
49913 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49914 * sysdeps/unix/i386/sysdep.S: Likewise.
49915 * sysdeps/unix/sparc/start.c: Likewise.
49916 * sysdeps/unix/sparc/sysdep.S: Likewise.
49917 * sysdeps/unix/sparc/sysdep.h: Likewise.
49918 * sysdeps/unix/start.c: Likewise.
49919 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49920 * sysdeps/x86_64/sysdep.h: Likewise.
49921
df78418a
UD
499222012-01-07 Ulrich Drepper <drepper@gmail.com>
49923
a784e502
UD
49924 [BZ #13553]
49925 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49926 for non-gcc.
49927 * argp/argp-fmtstream.h: Use const instead __const.
49928 * argp/argp.h: Likewise.
49929 * assert/assert.h: Likewise.
49930 * bits/fenv.h: Likewise.
49931 * bits/sched.h: Likewise.
49932 * bits/sigset.h: Likewise.
49933 * bits/sigthread.h: Likewise.
49934 * catgets/nl_types.h: Likewise.
49935 * conform/data/pthread.h-data: Likewise.
49936 * crypt/crypt-private.h: Likewise.
49937 * crypt/crypt.h: Likewise.
49938 * crypt/crypt_util.c: Likewise.
49939 * ctype/ctype.h: Likewise.
49940 * debug/execinfo.h: Likewise.
49941 * debug/mbsnrtowcs_chk.c: Likewise.
49942 * debug/mbsrtowcs_chk.c: Likewise.
49943 * debug/wcsnrtombs_chk.c: Likewise.
49944 * debug/wcsrtombs_chk.c: Likewise.
49945 * debug/wcstombs_chk.c: Likewise.
49946 * dirent/dirent.h: Likewise.
49947 * dlfcn/dlfcn.h: Likewise.
49948 * elf/neededtest4.c: Likewise.
49949 * grp/grp.h: Likewise.
49950 * gshadow/gshadow.h: Likewise.
49951 * iconv/gconv.h: Likewise.
49952 * iconv/gconv_int.h: Likewise.
49953 * iconv/gconv_simple.c: Likewise.
49954 * iconv/iconv.h: Likewise.
49955 * iconv/loop.c: Likewise.
49956 * iconv/skeleton.c: Likewise.
49957 * include/aio.h: Likewise.
49958 * include/aliases.h: Likewise.
49959 * include/argz.h: Likewise.
49960 * include/arpa/inet.h: Likewise.
49961 * include/assert.h: Likewise.
49962 * include/dirent.h: Likewise.
49963 * include/dlfcn.h: Likewise.
49964 * include/execinfo.h: Likewise.
49965 * include/fcntl.h: Likewise.
49966 * include/fenv.h: Likewise.
49967 * include/glob.h: Likewise.
49968 * include/grp.h: Likewise.
49969 * include/libintl.h: Likewise.
49970 * include/mntent.h: Likewise.
49971 * include/netdb.h: Likewise.
49972 * include/pwd.h: Likewise.
49973 * include/rpc/netdb.h: Likewise.
49974 * include/sched.h: Likewise.
49975 * include/search.h: Likewise.
49976 * include/shadow.h: Likewise.
49977 * include/signal.h: Likewise.
49978 * include/stdio.h: Likewise.
49979 * include/stdlib.h: Likewise.
49980 * include/string.h: Likewise.
49981 * include/sys/socket.h: Likewise.
49982 * include/sys/stat.h: Likewise.
49983 * include/sys/statfs.h: Likewise.
49984 * include/sys/statvfs.h: Likewise.
49985 * include/sys/syslog.h: Likewise.
49986 * include/sys/time.h: Likewise.
49987 * include/sys/uio.h: Likewise.
49988 * include/time.h: Likewise.
49989 * include/unistd.h: Likewise.
49990 * include/utmp.h: Likewise.
49991 * include/wchar.h: Likewise.
49992 * include/wctype.h: Likewise.
49993 * inet/aliases.h: Likewise.
49994 * inet/arpa/inet.h: Likewise.
49995 * inet/netinet/ether.h: Likewise.
49996 * inet/netinet/in.h: Likewise.
49997 * intl/libintl.h: Likewise.
49998 * io/bits/fcntl2.h: Likewise.
49999 * io/fcntl.h: Likewise.
50000 * io/ftw.h: Likewise.
50001 * io/sys/poll.h: Likewise.
50002 * io/sys/stat.h: Likewise.
50003 * io/sys/statfs.h: Likewise.
50004 * io/sys/statvfs.h: Likewise.
50005 * io/utime.h: Likewise.
50006 * libio/bits/stdio.h: Likewise.
50007 * libio/bits/stdio2.h: Likewise.
50008 * libio/libio.h: Likewise.
50009 * libio/libioP.h: Likewise.
50010 * libio/stdio.h: Likewise.
50011 * locale/lc-ctype.c: Likewise.
50012 * locale/locale.h: Likewise.
50013 * login/utmp.h: Likewise.
50014 * malloc/arena.c: Likewise.
50015 * malloc/malloc.c: Likewise.
50016 * malloc/malloc.h: Likewise.
50017 * malloc/mcheck.c: Likewise.
50018 * malloc/mtrace.c: Likewise.
50019 * math/bits/mathcalls.h: Likewise.
50020 * math/fenv.h: Likewise.
50021 * math/math_private.h: Likewise.
50022 * misc/bits/error.h: Likewise.
50023 * misc/bits/syslog.h: Likewise.
50024 * misc/err.h: Likewise.
50025 * misc/error.h: Likewise.
50026 * misc/fstab.h: Likewise.
50027 * misc/mntent.h: Likewise.
50028 * misc/regexp.h: Likewise.
50029 * misc/search.h: Likewise.
50030 * misc/sgtty.h: Likewise.
50031 * misc/sys/mman.h: Likewise.
50032 * misc/sys/syslog.h: Likewise.
50033 * misc/sys/uio.h: Likewise.
50034 * misc/sys/xattr.h: Likewise.
50035 * misc/ttyent.h: Likewise.
50036 * nis/rpcsvc/ypclnt.h: Likewise.
50037 * nss/nss.h: Likewise.
50038 * posix/bits/unistd.h: Likewise.
50039 * posix/fnmatch.h: Likewise.
50040 * posix/glob.h: Likewise.
50041 * posix/sched.h: Likewise.
50042 * posix/spawn.h: Likewise.
50043 * posix/sys/wait.h: Likewise.
50044 * posix/unistd.h: Likewise.
50045 * posix/wordexp.h: Likewise.
50046 * pwd/pwd.h: Likewise.
50047 * resolv/netdb.h: Likewise.
50048 * resource/sys/resource.h: Likewise.
50049 * rt/aio.h: Likewise.
50050 * rt/bits/mqueue2.h: Likewise.
50051 * rt/mqueue.h: Likewise.
50052 * shadow/shadow.h: Likewise.
50053 * signal/signal.h: Likewise.
50054 * socket/send.c: Likewise.
50055 * socket/sendto.c: Likewise.
50056 * socket/sys/socket.h: Likewise.
50057 * stdio-common/printf.h: Likewise.
50058 * stdlib/bits/stdlib.h: Likewise.
50059 * stdlib/fmtmsg.h: Likewise.
50060 * stdlib/monetary.h: Likewise.
50061 * stdlib/stdlib.h: Likewise.
50062 * stdlib/ucontext.h: Likewise.
50063 * streams/stropts.h: Likewise.
50064 * string/argz.h: Likewise.
50065 * string/bits/string2.h: Likewise.
50066 * string/string.h: Likewise.
50067 * string/strings.h: Likewise.
50068 * sunrpc/rpc/auth.h: Likewise.
50069 * sunrpc/rpc/auth_des.h: Likewise.
50070 * sunrpc/rpc/clnt.h: Likewise.
50071 * sunrpc/rpc/netdb.h: Likewise.
50072 * sunrpc/rpc/pmap_clnt.h: Likewise.
50073 * sunrpc/rpc/xdr.h: Likewise.
50074 * sysdeps/generic/inttypes.h: Likewise.
50075 * sysdeps/generic/net/if.h: Likewise.
50076 * sysdeps/generic/sys/swap.h: Likewise.
50077 * sysdeps/gnu/net/if.h: Likewise.
50078 * sysdeps/gnu/utmpx.h: Likewise.
50079 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50080 * sysdeps/i386/i486/bits/string.h: Likewise.
50081 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50082 * sysdeps/s390/bits/string.h: Likewise.
50083 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50084 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50085 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50086 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50087 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50088 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50089 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50090 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50091 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50092 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50093 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50094 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50095 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50096 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50097 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50098 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50099 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50101 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50104 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50105 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50106 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50107 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50108 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50109 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50111 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50112 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50113 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50114 * sysvipc/sys/ipc.h: Likewise.
50115 * sysvipc/sys/msg.h: Likewise.
50116 * sysvipc/sys/sem.h: Likewise.
50117 * sysvipc/sys/shm.h: Likewise.
50118 * termios/termios.h: Likewise.
50119 * time/sys/time.h: Likewise.
50120 * time/time.h: Likewise.
50121 * wcsmbs/bits/wchar2.h: Likewise.
50122 * wcsmbs/uchar.h: Likewise.
50123 * wcsmbs/wchar.h: Likewise.
50124 * wctype/wctype.h: Likewise.
50125
0269750c
UD
50126 [BZ #13551]
50127 * Makeconfig: Remove all but ELF support including AIX support.
50128 * Makerules: Likewise.
50129 * config.h.in: Likewise.
50130 * config.make.in: Likewise.
50131 * configure: Likewise.
50132 * configure.in: Likewise.
50133 * csu/Makefile: Likewise.
50134 * csu/version.c: Likewise.
50135 * debug/Makefile: Likewise.
50136 * dlfcn/Makefile: Likewise.
50137 * elf/Makefile: Likewise.
50138 * extra-lib.mk: Likewise.
50139 * iconv/Makefile: Likewise.
50140 * include/libc-symbols.h: Likewise.
50141 * include/shlib-compat.h: Likewise.
50142 * resolv/Makefile: Likewise.
50143 * resolv/res_libc.c: Likewise.
50144 * rt/Makefile: Likewise.
50145 * sysdeps/i386/asm-syntax.h: Likewise.
50146 * sysdeps/i386/sysdep.h: Likewise.
50147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50148 * sysdeps/mach/sysdep.h: Likewise.
50149 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50150 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50151 * sysdeps/s390/asm-syntax.h: Likewise.
50152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50154 * sysdeps/sh/sysdep.h: Likewise.
50155 * sysdeps/unix/sparc/sysdep.h: Likewise.
50156 * sysdeps/wordsize-32/divdi3.c: Likewise.
50157 * sysdeps/x86_64/sysdep.h: Likewise.
50158
00bbd29b
UD
50159 * argp/Versions: Remove _argp_unlock_xxx.
50160
50161 [BZ #13559]
50162 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50163 * abilist/libBrokenLocale.abilist: Likewise.
50164 * abilist/libanl.abilist: Likewise.
50165 * abilist/libc.abilist: Likewise.
50166 * abilist/libcrypt.abilist: Likewise.
50167 * abilist/libdl.abilist: Likewise.
50168 * abilist/libm.abilist: Likewise.
50169 * abilist/libnsl.abilist: Likewise.
50170 * abilist/libpthread.abilist: Likewise.
50171 * abilist/libresolv.abilist: Likewise.
50172 * abilist/librt.abilist: Likewise.
50173 * abilist/libthread_db.abilist: Likewise.
50174 * abilist/libutil.abilist: Likewise.
50175 * abilist/libnss_db.abilist: New file.
50176
50177 * scripts/abilist.awk: Add support for indirect functions.
50178
a2693a0e
UD
50179 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50180
3f05895f
UD
50181 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50182
ecb6fb48
UD
50183 * shlib-versions: Remove entries for ports architectures.
50184
664f8cb9
UD
50185 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50186 files in ports.
50187 * elf/stackguard-macros.h: Remove support for IA-64.
50188 * elf/tst-auditmod1.c: Likewise.
50189 * sysdeps/generic/ldsodefs.h: Likewise.
50190
7ae81d88
UD
50191 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50192 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50193 configure files.
50194
bdeba135
UD
50195 [BZ #13552]
50196 * configure.in: Remove --enable-omitfp support.
50197 * FAQ.in: Adjust.
50198 * config.make.in: Likewise.
50199 * Makeconfig: Likewise.
50200 * manual/install.texi: Likewise.
50201
d75a0a62
UD
50202 In case anyone cares, the IA-64 architecture could move to ports.
50203 * sysdeps/ia64/*: Removed.
50204 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50205 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50206
dcc9756b
UD
50207 [BZ #13555]
50208 * configure.in: Remove entries for unsupported architectures.
50209
d3761ebc 50210 [BZ #13533]
9954432e
UD
50211 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50212 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50213 routines.
50214 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50215 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50216 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50217 fall back to using wcrtomb.
50218 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50219 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50220 renaming.
50221 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50222 * wcsmbs/tst-c16c32-1.c: New file.
50223
50224 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50225 local variable.
50226
c3a87236
UD
50227 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50228
28926a1b
UD
50229 * elf/tst-unique3.cc: Add explicit declaration of gets.
50230 * elf/tst-unique3lib.cc: Likewise.
50231 * elf/tst-unique3lib2.cc: Likewise.
50232 * elf/tst-unique4.cc: Likewise.
50233
df78418a
UD
50234 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50235
8ecd6b2a
JM
502362012-01-06 Joseph Myers <joseph@codesourcery.com>
50237
50238 [BZ #13566]
50239 * assert/assert.h (static_assert): Don't define for C++.
50240 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50241 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50242
9f115170
UD
502432012-01-03 Ulrich Drepper <drepper@gmail.com>
50244
5e0d0300
UD
50245 * iconv/loop.c (single loop): Fix assertion in storing of
50246 remaining bytes.
50247
9f115170
UD
50248 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50249
81fb02b0
UD
502502012-01-01 Ulrich Drepper <drepper@gmail.com>
50251
50252 * posix/getconf.c: Update copyright year.
50253 * nss/getent.c: Likewise.
a316c1f6 50254 * nss/makedb.c: Likewise.
81fb02b0
UD
50255 * iconv/iconvconfig.c: Likewise.
50256 * iconv/iconv_prog.c: Likewise.
50257 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50258 * elf/pldd.c: Likewise.
50259 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50260 * catgets/gencat.c: Likewise.
50261 * csu/version.c: Likewise.
50262 * elf/ldd.bash.in: Likewise.
50263 * elf/sprof.c (print_version): Likewise.
50264 * locale/programs/locale.c: Likewise.
50265 * locale/programs/localedef.c: Likewise.
a316c1f6 50266 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50267 * nscd/nscd.c (print_version): Likewise.
50268 * debug/xtrace.sh: Likewise.
50269 * malloc/memusage.sh: Likewise.
50270 * malloc/mtrace.pl: Likewise.
50271 * debug/catchsegv.sh: Likewise.
50272
2ba92745
JJ
502732011-12-30 Jakub Jelinek <jakub@redhat.com>
50274
50275 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50276 pure attribute.
50277
dadebdae
UD
502782011-12-24 Ulrich Drepper <drepper@gmail.com>
50279
d3761ebc 50280 [BZ #13533]
db6af3eb
UD
50281 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50282 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50283 transformations.
50284 * iconv/gconv_int.h: Likewise.
50285 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50286 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50287 from libc for GLIBC_2.16.
50288 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50289 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50290 * wcsmbs/uchar.h: Really define mbstate_t.
50291 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50292 * wcsmbs/c16rtomb.c: New file.
50293 * wcsmbs/mbrtoc16.c: New file.
50294 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50295 for C/POSIX locale.
50296 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50297 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50298
dadebdae
UD
50299 * wcsmbs/wchar.h: Add missing __restrict.
50300
67371b56
UD
503012011-12-23 Ulrich Drepper <drepper@gmail.com>
50302
74033a25
UD
50303 [BZ #13532]
50304 * time/Makefile (routines): Add timespec_get.
50305 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50306 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50307 timespec for ISO C11.
50308 * time/timespec_get.c: New file.
50309 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50310 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50311
380d7e87
UD
50312 [BZ #13531]
50313 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50314 * stdlib/stdlib.h: Declare aligned_alloc.
50315 * Versions.def: Add GLIBC_2.16 for libc.
50316 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50317
4e9e7a35
UD
50318 [BZ 13527]
50319 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50320 ISO C11.
50321
380d7e87 50322 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50323 code.
50324
03a71829
UD
50325 [BZ #13528]
50326 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50327
839e283e
UD
50328 [BZ #13529]
50329 * assert/assert.h (static_assert): Define.
50330
ce5294e2 50331 * version.h: Update for 2.16 development version.
90fa7312 50332
8d44e150 50333 [BZ #13526]
d7809905
UD
50334 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50335 _ISOC11_SOURCE.
50336
c0da14cd
UD
50337 * version.h (RELEASE): Bump for 2.15 release.
50338 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50339
530a3249
MP
50340 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50341 Patch by Marek Polacek <mpolacek@redhat.com>.
50342
67371b56
UD
50343 * bits/byteswap.h: Protect long long constants with __extension__.
50344 * sysdeps/i386/bits/byteswap.h: Likewise.
50345 * sysdeps/ia64/bits/byteswap.h: Likewise.
50346 * sysdeps/s390/bits/byteswap.h: Likewise.
50347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50348
15db4de1
LD
503492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50350
50351 [BZ #13540]
bbe315ea
LD
50352 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50353 destination buffer.
15db4de1
LD
50354 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50355
2b2596b1
MP
503562011-12-23 Marek Polacek <polacek@redhat.com>
50357
50358 * elf/dl-addr.c (determine_info): Add inline keyword.
50359 * elf/tst-auditmod4b.c (check_avx): Likewise.
50360 * elf/tst-auditmod6b.c (check_avx): Likewise.
50361 * elf/tst-auditmod6c.c (check_avx): Likewise.
50362 * elf/tst-auditmod7b.c (check_avx): Likewise.
50363
70c6c246
UD
503642011-12-23 Ulrich Drepper <drepper@gmail.com>
50365
50366 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50367 !__SSE_MATH__.
50368
c044cf14
LD
503692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50370
15db4de1 50371 [BZ #13540]
c044cf14
LD
50372 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50373 processing for last bytes.
50374
6b13d9d9
BH
503752011-08-06 Bruno Haible <bruno@clisp.org>
50376
d455f537
BH
50377 [BZ #13061]
50378 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50379 U+0385, not to U+1FEE.
50380
6b13d9d9
BH
50381 [BZ #13062]
50382 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50383 entry for U+00A5 U+0301.
50384
db910efd
UD
503852011-12-22 Ulrich Drepper <drepper@gmail.com>
50386
27deeafc
UD
50387 [BZ #13166]
50388 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50389 buffer for the output is too small.
50390
aed9d171
UD
50391 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50392 optimization.
50393
db910efd
UD
50394 [BZ #13185]
50395 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50396 SSE flags if possible.
50397
2bd779ae
LD
503982011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50399
e7f9dac3 50400 [BZ #13540]
2bd779ae
LD
50401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50402 processing for last bytes.
50403
154bfc16
JM
504042011-12-22 Joseph Myers <joseph@codesourcery.com>
50405
50406 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50407 (syscall-list-default-options, syscall-list-default-condition)
50408 (syscall-list-includes): Define.
50409 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50410 list of ABIs and options and #if conditions for each ABI. Do not
50411 handle common syscalls between ABIs specially.
50412 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50413 Remove.
50414 (syscall-list-variants, syscall-list-32bit-options)
50415 (syscall-list-32bit-condition, syscall-list-64bit-options)
50416 (syscall-list-64bit-condition): Define.
50417 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50418 (syscall-list-variants, syscall-list-32bit-options)
50419 (syscall-list-32bit-condition, syscall-list-64bit-options)
50420 (syscall-list-64bit-condition): Define.
50421 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50422 Remove.
50423 (syscall-list-variants, syscall-list-32bit-options)
50424 (syscall-list-32bit-condition, syscall-list-64bit-options)
50425 (syscall-list-64bit-condition): Define.
50426 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50427 Remove.
50428 (syscall-list-variants, syscall-list-32bit-options)
50429 (syscall-list-32bit-condition, syscall-list-64bit-options)
50430 (syscall-list-64bit-condition): Define.
50431
21eaf3a5
UD
504322011-12-22 Ulrich Drepper <drepper@gmail.com>
50433
16c6f992
UD
50434 * locale/iso-639.def: Add brx entry.
50435
41043168
UD
50436 [BZ #13328]
50437 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50438 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50439
21eaf3a5
UD
50440 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50441 __feraiseexcept_renamed.
50442
e3a851a2
UD
504432011-12-21 Ulrich Drepper <drepper@gmail.com>
50444
4920765e
UD
50445 [BZ #13538]
50446 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50447 EPOLLET with unsigned values.
50448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50450
e3a851a2
UD
50451 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50452 to large cancellation.
50453 * math/s_cacoshf.c: Likewise.
50454 * math/s_cacoshl.c: Likewise.
50455
b27e24b8
RK
504562011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50457
50458 [BZ #13305]
aebefeee 50459 [BZ #12786]
b27e24b8
RK
50460 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50461 * math/s_cacoshf.c: Likewise.
50462 * math/s_cacoshl.c: Likewise.
50463
ee190f67
UD
504642011-12-21 Ulrich Drepper <drepper@gmail.com>
50465
50466 [BZ #13439]
50467 * iconv/gconv.h: Define __GCONV_SWAP.
50468 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50469 * iconvdata/utf-16.c: Likewise.
50470 * iconvdata/utf-32.c: Likewise.
50471
707f25df
AS
504722011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50473
50474 [BZ #13524]
50475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50476 numerator after shifting it by one limb.
50477
d2daaa1e
RÁE
504782011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50479
50480 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50481 under [__USE_EXTERN_INLINES].
50482
a4647e72
UD
504832011-12-17 Ulrich Drepper <drepper@gmail.com>
50484
50485 [BZ #13446]
50486 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50487
f0b264f1
AZ
504882011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50489
50490 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50491 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50492 optimized code.
50493 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50495 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50496 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50497 for strncasecmp/strncasecmp_l compilation.
50498 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50499 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50500
8ef4f244
MP
505012011-12-08 Marek Polacek <mpolacek@redhat.com>
50502
50503 [BZ #13484]
50504 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50505 of __asm__.
50506
97ac2654
UD
505072011-12-17 Ulrich Drepper <drepper@gmail.com>
50508
50509 [BZ #13506]
50510 * time/tzfile.c (__tzfile_read): Check values from file header.
50511
91d2a845
WS
505122011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50513
50514 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50515 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50516 * powerpc/powerpc32/dl-start.S: Likewise.
50517 * powerpc/powerpc32/elf/start.S: Likewise.
50518 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50519 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50520 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50521 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50522 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50523 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50524 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50525 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50526 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50527 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50528 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50529 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50530 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50531 * powerpc/powerpc32/memset.S: Likewise.
50532 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50533 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50534 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50535 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50536 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50537 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50538 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50539 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50540 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50541 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50542 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50543 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50544 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50545
a1267ba1
AZ
505462011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50547
50548 * math/libm-test.inc: Added more nearbyint tests.
50549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50553
ad8ac1bd
RL
505542011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50555
50556 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50557 FD_CLOEXEC.
50558
1d3e4b61
UD
505592011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50560
50561 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50562 Add wcscpy-ssse3 wcscpy-c.
50563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50564 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50565 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50566 * sysdeps/x86_64/wcschr.S: New file.
50567 * sysdeps/x86_64/wcsrchr.S: New file.
50568 * string/test-strcmp.c: Remove checking of wcscmp function for
50569 wrong alignments.
50570 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50571 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50572 wcsrchr-sse2 wcsrchr-c.
50573 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50574 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50575 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50576 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50577 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50578 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50579 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50580 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50582 * wcsmbc/wcschr.c (WCSCHR): New macro.
50583
5b330a2d
UD
505842011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50585
50586 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50587 * wcsmbs/test-wcsrchr.c: New file.
50588 * string/test-strrchr.c: Add wcsrchr support.
50589 (WIDE): New macro.
50590 * wcsmbs/test-wcscpy.c: New file.
50591 * string/test-strcpy.c: Add wcscpy support.
50592 (WIDE): New macro.
26428b7c 50593
f039c043
UD
505942011-12-10 Ulrich Drepper <drepper@gmail.com>
50595
50596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50597 the inner loop.
50598
850fb039
AS
505992011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50600
50601 [BZ #13472]
50602 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50603
4efbd5cb
UD
506042011-12-04 Ulrich Drepper <drepper@gmail.com>
50605
52ff5dd0 50606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50607 Minor optimizations.
52ff5dd0 50608
4efbd5cb
UD
50609 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50610 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50611 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50612
8a426e12
UD
506132011-12-03 Ulrich Drepper <drepper@gmail.com>
50614
aff2453d
UD
50615 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50616 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50617 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50618 for gcc to avoid warnings.
50619 * inet/Makefile (tests): Add tst-checks.
50620 * inet/tst-checks.c: New file.
50621
50622 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50623 warning.
50624
50625 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50626 __wmemcmp_sse2.
50627
50628 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50629 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50630
8a426e12
UD
50631 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50632
9bea3473
UD
506332011-12-02 Ulrich Drepper <drepper@gmail.com>
50634
3a965496
UD
50635 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50636 problem.
50637
9bea3473
UD
50638 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50639
f101631b
UD
506402011-11-29 Joseph Myers <joseph@codesourcery.com>
50641
50642 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50643 conditional on GCC version.
50644 (__arch_compare_and_exchange_val_8_acq)
50645 (__arch_compare_and_exchange_val_16_acq)
50646 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50647 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50648 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50649
a98275aa
UD
506502011-12-02 Joseph Myers <joseph@codesourcery.com>
50651
50652 * sysdeps/sh/backtrace.c: New file.
50653
d4cc29a2
AS
506542011-12-02 Andreas Schwab <schwab@redhat.com>
50655
50656 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50657 parenthesis.
50658
6257af2d
AS
506592011-12-01 Andreas Schwab <schwab@redhat.com>
50660
50661 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50662 falling back to utime.
50663
b5f44c1a
AS
506642011-11-30 Andreas Schwab <schwab@redhat.com>
50665
50666 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50667 expectations for float.
50668
f3a6cc0a
AS
506692011-11-29 Andreas Schwab <schwab@redhat.com>
50670
50671 * locale/weight.h (findidx): Add parameter len.
50672 * locale/weightwc.h (findidx): Likewise.
50673 * posix/fnmatch_loop.c (FCT): Adjust caller.
50674 * posix/regcomp.c (build_equiv_class): Likewise.
50675 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50676 * posix/regexec.c (check_node_accept_bytes): Likewise.
50677 * string/strcoll_l.c (STRCOLL): Likewise.
50678 * string/strxfrm_l.c (STRXFRM): Likewise.
50679
9d65ea3a
UD
506802011-11-17 Ulrich Drepper <drepper@gmail.com>
50681
50682 * Makefile.in: Remove CVSOPT handling.
50683 * configure.in: Remove use of AC_REVISION.
50684 * iconvdata/Makefile (distribute): No need to filter out CVS.
50685 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50686 handling.
50687
5583a086
AS
506882011-11-16 Andreas Schwab <schwab@redhat.com>
50689
50690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50691 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50692 [USE_AS_STRNCASECMP_L]: Likewise.
50693 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50694 NO_TLS_DIRECT_SEG_REFS.
50695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50696 Fix argument offsets for non-PIC.
50697 [USE_AS_STRNCASECMP_L]: Likewise.
50698 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50699 NO_TLS_DIRECT_SEG_REFS.
50700
d62a8200
UD
507012011-11-15 Ulrich Drepper <drepper@gmail.com>
50702
9d65ea3a 50703 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50704 O_CLOEXEC.
50705 * locale/loadlocale.c (_nl_load_locale): Likewise.
50706
09f93bd3
AS
507072011-11-15 Andreas Schwab <schwab@redhat.com>
50708
446514f9
AS
50709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50710 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50711 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50712 (SYSCALL_GETTIME): Set errno on error.
50713
09f93bd3
AS
50714 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50715 count references to noai6ai_cached.
50716
312be3f9
UD
507172011-11-15 Ulrich Drepper <drepper@gmail.com>
50718
50719 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50720
50721 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50722 FD_CLOEXEC for /proc/self/maps.
50723
50724 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50725 FD_CLOEXEC for /proc/meminfo.
50726
50727 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50728 gai.conf.
50729
50730 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50731 FD_CLOEXEC for given file.
50732
50733 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50734
50735 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50736 FD_CLOEXEC for /etc/hosts.
50737 (_gethtent): Likewise.
50738
50739 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50740
50741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50742 cancellation and set FD_CLOEXEC for /etc/netgroup.
50743
50744 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50745 reading /etc/publickey.
50746
50747 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50748 allow cancellation when reading /etc/group.
50749
50750 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50751 cancellation.
50752 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50753
50754 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50755 when using data file.
50756
50757 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50758
50759 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50760 (write_nis_obj): Use "c" and "e" in fopen.
50761
50762 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50763
50764 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50765
50766 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50767
50768 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50769
50770 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50771 locale.alias.
50772
50773 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50774
50775 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50776
50777 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50778
50779 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50780 file parsing and set FD_CLOEXEC.
50781
82af0fa8
UD
507822011-11-14 Ulrich Drepper <drepper@gmail.com>
50783
50784 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50785
a5fb313c
AS
507862011-11-14 Andreas Schwab <schwab@redhat.com>
50787
50788 * malloc/arena.c (arena_get2): Don't call reused_arena when
50789 _int_new_arena failed.
50790
6abf3465
UD
507912011-11-14 Ulrich Drepper <drepper@gmail.com>
50792
50793 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50794 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50795 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50796 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50799 to compile strcasecmp and strncasecmp.
50800 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50801 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50802
50803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50804
76e3966e
UD
508052011-11-13 Ulrich Drepper <drepper@gmail.com>
50806
50807 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50808 locale-defines.sym to gen-as-const-headers.
50809 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50810 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50812 to compile strcasecmp and strncasecmp.
50813 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50814 strcasecmp_l and strncasecmp_l.
50815 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50816 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50817 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50818 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50819 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50820 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50821 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50822 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50823 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50824 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50825 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50826
ab26144e
UD
508272011-11-12 Ulrich Drepper <drepper@gmail.com>
50828
7edb22ef
UD
50829 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50830 result of SYSDEP_GETTIME_CPU to retval.
50831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50832 parameter list to macro. Remove trailing semicolon. Adjust users.
50833
9694fc44
UD
50834 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50835 variable.
50836
8ad89ef8
UD
50837 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50838 mantissa words.
50839 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50840
0c822ef9
UD
50841 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50842 from unused variable.
50843
874e0564
UD
50844 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50845 DWARF definitions.
50846 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50847 for assembling.
50848
3a2edc79
UD
50849 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50850 over namespaces.
50851
f3c2577f
UD
50852 * sunrpc/rpc_prot.c (rejected): Fix case value.
50853
294ce126
UD
50854 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50855 unsigned long long int to avoid warnings in shift.
50856
5e2b63c6
UD
50857 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50858 of use of trans.
50859 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50860 variable tmp.
50861
e7f4b08e
UD
50862 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50863 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50864 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50865
ab26144e
UD
50866 * nis/nis_table.c (nis_list): Use variable of correct type for
50867 result of __follow_path call.
50868
8a6d5255
AZ
508692011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50870
50871 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50872 of math functions ceil, trunc, floor, round, and sqrt, when
50873 avaliable on the platform.
50874 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50875 name clash.
50876 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50877 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50878 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50879
aaddc98c
MP
508802011-10-30 Marek Polacek <mpolacek@redhat.com>
50881
50882 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50884
95b7042b
RM
508852011-11-11 Roland McGrath <roland@hack.frob.com>
50886
50887 * include/unistd.h: Fix __readlink return type.
50888 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50889
57769839
UD
508902011-11-11 Ulrich Drepper <drepper@gmail.com>
50891
50892 * stdlib/ucontext.h: Undo last change for makecontext.
50893
edc5984d
AS
508942011-11-11 Andreas Schwab <schwab@redhat.com>
50895
98591e58
AS
50896 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50897
edc5984d
AS
50898 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50899 * setjmp/setjmp.h: Mark functions as non-leaf.
50900 * setjmp/bits/setjmp2.h: Likewise.
50901 * stdlib/ucontext.h: Likewise.
50902
77cdc054
AS
509032011-11-10 Andreas Schwab <schwab@redhat.com>
50904
50905 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50906 (reused_arena): Don't check arena limit.
50907 (arena_get2): Atomically check arena limit.
50908
fe72eebd
UD
509092011-11-08 Ulrich Drepper <drepper@gmail.com>
50910
5f078c32
UD
50911 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50912 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50913
fe72eebd
UD
50914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50915 instructions.
50916
ae1bc2fa
AS
509172011-11-07 Andreas Schwab <schwab@redhat.com>
50918
7583a88d
AS
50919 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50920 handler when locking.
50921
ae1bc2fa
AS
50922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50923 Fix size of allocated buffer.
50924
10fb0bfa
AS
509252011-11-04 Andreas Schwab <schwab@redhat.com>
50926
998832a4
AS
50927 [BZ #10103]
50928 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50929 declarations for long double functions.
50930 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50931
10fb0bfa
AS
50932 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50933
3d7ba52b
AS
509342011-11-03 Andreas Schwab <schwab@redhat.com>
50935
a9ae54a1
AS
50936 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50937 installed.
50938
3d7ba52b
AS
50939 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50940 is disabled.
50941
bc8db248
ST
509422011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50943
50944 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50945
45b96dd6
AS
509462011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50947
647776f6
AS
50948 * include/alloca.h (stackinfo_alloca_round): Define.
50949 (extend_alloca): Use it.
50950 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50951 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50952 here.
50953
d91a8b93
AS
50954 * scripts/check-local-headers.sh: Ignore libaudit.h.
50955
45b96dd6
AS
50956 * nscd/Makefile (extra-objs): Make recursively expanded.
50957
432d41ce
UD
509582011-11-01 Ulrich Drepper <drepper@gmail.com>
50959
34372fc6
UD
50960 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50962
fadb59f8
UD
50963 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50964 * posix/tst-rfc3484-2.c: Likewise.
50965 * posix/tst-rfc3484-3.c: Likewise.
50966
78239589
UD
50967 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50968 process_vm_writev.
50969 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50970 process_vm_writev.
50971 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50972 process_vm_writev from libc using GLIBC_2.15 version.
50973
432d41ce
UD
50974 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50975
02f9c6cf
PP
509762011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50977
50978 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50979 stack usage.
50980
3a2c0242
UD
509812011-10-31 Ulrich Drepper <drepper@gmail.com>
50982
f4ec4833
UD
50983 [BZ #13367]
50984 * nss/getent.c (initgroups_keys): Show error message in case no group
50985 names are given.
50986
3a2c0242
UD
50987 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50988 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50989 __bump_nl_timestamp.
50990 * nscd/connections (nscd_init): When host database is served open
50991 netlink socket and request notification about configuration changes.
50992 (main_loop_poll): Track netlink file descriptor and bump timestamp
50993 in case data becomes available.
50994 (main_loop_epoll): Likewise.
50995 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50996 (database_pers_head): Add extra_data fileds.
50997 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50998 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50999 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51000 Adjust caller.
51001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51002 in6ai data, call __free_in6ai.
51003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51004 Add -DHAVE_NETLINK.
51005 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51006 interface information. Reuse previous data if netlink timestamp
51007 is not changed.
51008 (__bump_nl_timestamp): New function.
51009 (__free_in6ai): New function.
51010
636064eb
UD
510112011-10-30 Ulrich Drepper <drepper@gmail.com>
51012
51013 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51014 close_not_cancel_no_status here.
51015 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51016
9beb2334
UD
510172011-10-29 Ulrich Drepper <drepper@gmail.com>
51018
6ef76f3b
UD
51019 [BZ #13276]
51020 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51021 return value.
51022
0ffc4f3e 51023 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51024 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51025 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51026
cb95113e
UD
510272011-07-03 Andreas Jaeger <aj@suse.de>
51028
51029 [BZ #10709]
51030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51031 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51032 * math/libm-test.inc (sin_test): Add test case.
51033
a1b560ff
UD
510342011-10-29 Ulrich Drepper <drepper@gmail.com>
51035
c9aaface
UD
51036 [BZ #13337]
51037 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51038 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51039
d272e7f1
UD
51040 * elf/chroot_canon.c (chroot_canon): Cleanups.
51041
1bc33071
UD
51042 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51043
1760874d
TJ
51044 [BZ #13335]
51045 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51046 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51047
51d91b18
UD
51048 * string/test-strchr.c: Make usable for strchrnul testing.
51049 * string/test-strchrnul.c: New file.
51050 * string/Makefile (strop-tests): Add strchrnul.
51051
a1b560ff 51052 * po/it.po: Update from translation team.
b611fb81 51053 * po/es.po: Likewise.
a1b560ff 51054
a5b81e1f
UD
510552011-10-28 Ulrich Drepper <drepper@gmail.com>
51056
fd52bc6d
UD
51057 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51058 the three constants needed as parameters. Drop the others.
51059 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51060 __m128i_strloadu_tolower.
52e4b9eb
UD
51061 Create and initialize variable zero and use it in all the places
51062 where _mm_setzero_si128 was used.
fd52bc6d 51063
a5b81e1f
UD
51064 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51065 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51066 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51068 anymore.
51069 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51070 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51071 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51072 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51074 __mpranred, __mptan.
51075 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51076 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51077 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51078 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51079 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51080 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51082 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51083 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51084
b4343346
AS
510852011-10-28 Andreas Schwab <schwab@redhat.com>
51086
0c92d8a8
AS
51087 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51088 redefine if SHARED.
51089 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51090
b4343346
AS
51091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51092 wide char related routines to wcsmbs subdir.
51093
3871f58f
AS
510942011-10-27 Andreas Schwab <schwab@redhat.com>
51095
51096 [BZ #13344]
51097 * misc/sys/cdefs.h (__THROWNL): Define.
51098 * posix/unistd.h: Use __THREADNL instead of __THREAD
51099 for memory synchronization functions.
51100
94d44d9f
RM
511012011-10-26 Roland McGrath <roland@hack.frob.com>
51102
21b64b15 51103 [BZ #13349]
94d44d9f
RM
51104 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51105 doesn't exist.
51106 * manual/stdio.texi (Obstack Streams): Node removed.
51107
f6ce9294
AS
511082011-10-26 Andreas Schwab <schwab@redhat.com>
51109
80479147
AS
51110 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51111 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51113
f6ce9294
AS
51114 * math/math_private.h (math_force_eval): Allow non-addressable
51115 arguments.
51116 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51117
618280a1
UD
511182011-10-25 Ulrich Drepper <drepper@gmail.com>
51119
e0016b11
UD
51120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51121 file is not needed.
51122
51123 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51126 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51127 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51130 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51131 Add AVX variants.
51132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51137 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51138 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51139 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51142 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51143 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51145 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51146 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51147 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51148 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51149 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51150 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51151
51152 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51153 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51154
618280a1
UD
51155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51156 place. Use VEX encoding when compiling for AVX.
51157
37822576
AS
511582011-10-25 Andreas Schwab <schwab@redhat.com>
51159
1f1e1947
AS
51160 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51161 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51162
37822576
AS
51163 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51164
31ea014d
UD
511652011-10-25 Ulrich Drepper <drepper@gmail.com>
51166
d7826aa1 51167 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51168 useless if() expression.
d7826aa1
UD
51169 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51171 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51174 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51179 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51181 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51182 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51187 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51188
31ea014d
UD
51189 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51190
16437fec
AS
511912011-10-25 Andreas Schwab <schwab@redhat.com>
51192
51193 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51194 condition.
51195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51196
31d3cc00
UD
511972011-10-25 Ulrich Drepper <drepper@gmail.com>
51198
51199 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51200 .text section. Avoid duplicate constants.
51201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51210 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51215 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51224 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51225 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51226 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51227 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51228 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51231 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51232 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51233 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51234 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51235 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51236 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51237 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51239 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51240 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51242 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51243 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51244 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51245 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51246
58985aa9
UD
512472011-10-24 Ulrich Drepper <drepper@gmail.com>
51248
202c9deb
UD
51249 * sysdeps/x86_64/dla.h: Move to ...
51250 * sysdeps/x86_64/fpu/dla.h: ...here.
51251 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51252 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51253
af968f62
UD
51254 * config.make.in: Add have-mfma4 entry.
51255 * configure.in: Substitute libc_cv_cc_fma4.
51256 * math/Makefile (dbl-only-routines): Add sincostab.
51257 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51258 Use __sincostab not sincos.
51259 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51260 name is a macro.
51261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51265 using __copysign.
51266 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51267 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51268 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51269 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51270 and __inv.
51271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51272 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51273 __copysign.
51274 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51275 define aliases when function name is a macro.
51276 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51277 sysdeps/ieee754/dbl-64/sincos.tbl.
51278 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51279 fma4-enabled routines.
51280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51281 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51282 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51283 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51284 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51286 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51288 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51289 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51290 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51292 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51303 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51305 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51310
58985aa9
UD
51311 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51312 rename.
51313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51321
a201fbcf
AS
513222011-10-24 Andreas Schwab <schwab@redhat.com>
51323
51324 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51325
fc2ee42a
LD
513262011-10-23 Ulrich Drepper <drepper@gmail.com>
51327
bb3129bd
UD
51328 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51329
0275fff8
UD
51330 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51331 prediction.
51332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51333
2fa2ae85
UD
51334 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51335 Remove unused variable magic_bits.
51336 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51337
fc2ee42a
LD
51338 * string/strnlen.c: Define and use STRNLEN macro.
51339 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51340 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51342 * wcsmbs/wcslen.c: Define and use WCSLEN.
51343 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51344 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51345 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51346 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51347 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51348 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51350
ce7dd29f
LD
513512011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51352
51353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51354 strnlen-sse2-no-bsf.
51355 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51357 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51358 Add strnlen support.
51359 (USE_AS_STRNLEN): New macro.
51360 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51362 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51363 * sysdeps/x86_64/wcslen.S: New file.
51364
979c70a3
MZ
513652011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51366
51367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51368 XMM-moves are used for copying on small sizes.
51369
2d09f82f
LD
513702011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51371
51372 * wcsmbs/Makefile (strop-tests): Add wcschr.
51373 * wcsmbs/test-wcschr.c: New file.
51374 * string/test-strchr.c: Update.
51375 Add wcschr support.
51376 (WIDE): New macro.
51377
619fccca
LD
513782011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51379
2d09f82f 51380 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51381 * wcsmbs/test-wcslen.c: New file.
51382 * string/test-strlen.c: Update.
51383 Add wcslen support.
51384 (WIDE): New macro.
51385
09f699ea
UD
513862011-10-23 Ulrich Drepper <drepper@gmail.com>
51387
51388 * po/it.po: Update from translation team.
51389
95584d3b
LD
513902011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51391
51392 * sysdeps/x86_64/wcscmp.S: Update.
51393 Fix wrong comparison semantics.
51394 wcscmp shall use signed comparison not unsigned.
51395 Don't use substraction to avoid overflow bug.
51396 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51397 * wcsmbc/wcscmp.c: Likewise.
51398 * string/test-strcmp.c: Likewise.
51399 Add new tests to check cases with negative values.
51400
c8b3296b
UD
514012011-10-23 Ulrich Drepper <drepper@gmail.com>
51402
51403 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51404 * sysdeps/x86_64/dla.h: ...here. New file.
51405 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51410 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51414
246ad57a
AS
514152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51416
51417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51418 __ynl_finite aliases.
51419
a1a87169
UD
514202011-10-22 Ulrich Drepper <drepper@gmail.com>
51421
0d355eb7
UD
51422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51423
a1a87169
UD
51424 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51425 define DLA_FMA.
51426 [DLA_FMA] (EMULV): Use DLA_FMA.
51427 [DLA_FMA] (MUL12): Use EMULV.
51428 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51429 that are not needed.
51430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51437
ee2aafe0
AS
514382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51439
51440 * math/s_nan.c: Undef __nan.
51441 * math/s_nanf.c: Undef __nanf.
51442 * math/s_nanl.c: Undef __nanl.
51443 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51444 "math_private.h".
51445
bc62c2fb
UD
514462011-10-22 Ulrich Drepper <drepper@gmail.com>
51447
77425c63
UD
51448 * math/s_catan.c: Add branch predictions.
51449 * math/s_catanf.c: Likewise.
51450 * math/s_catanh.c: Likewise.
51451 * math/s_catanhf.c: Likewise.
51452 * math/s_catanhl.c: Likewise.
51453 * math/s_catanl.c: Likewise.
51454 * math/s_cexp.c: Likewise.
51455 * math/s_cexpf.c: Likewise.
51456 * math/s_cexpl.c: Likewise.
51457 * math/s_clog.c: Likewise.
51458 * math/s_clog10.c: Likewise.
51459 * math/s_clog10f.c: Likewise.
51460 * math/s_clog10l.c: Likewise.
51461 * math/s_clogf.c: Likewise.
51462 * math/s_clogl.c: Likewise.
51463 * math/s_csqrt.c: Likewise.
51464 * math/s_csqrtf.c: Likewise.
51465 * math/s_csqrtl.c: Likewise.
51466 * math/s_ctanf.c: Likewise.
51467 * math/s_ctanh.c: Likewise.
51468 * math/s_ctanhf.c: Likewise.
51469 * math/s_ctanhl.c: Likewise.
51470 * math/s_ctanl.c: Likewise.
51471
bc62c2fb
UD
51472 * math/math_private.h: Define __nan, __nanf, __nanl.
51473 * math/s_cacosh.c: Include <math_private.h>.
51474 * math/s_cacoshl.c: Likewise.
51475 * math/s_casinh.c: Likewise.
51476 * math/s_casinhf.c: Likewise.
51477 * math/s_casinhl.c: Likewise.
51478 * math/s_ccos.c: Rely entire on ccosh.
51479 * math/s_ccosf.c: Rely entire on ccoshf.
51480 * math/s_ccosl.c: Rely entirely on ccoshl.
51481 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51482 Remove tests for FE_INVALID.
51483 * math/s_ccoshf.c: Likewise.
51484 * math/s_ccoshl.c: Likewise.
51485 * math/s_csin.c: Likewise.
51486 * math/s_csinf.c: Likewise.
51487 * math/s_csinh.c Likewise.
51488 * math/s_csinhf.c: Likewise.
51489 * math/s_csinhl.c: Likewise.
51490 * math/s_csinl.c: Likewise.
51491 * math/s_ctan.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51493 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51495
8ec250a4
UD
514962011-10-21 Ulrich Drepper <drepper@gmail.com>
51497
c196fed8
UD
51498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51499 compilation problems.
51500
8ec250a4
UD
51501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51502 __builtin_expect.
51503
8d4f46c6
UD
515042011-10-20 Ulrich Drepper <drepper@gmail.com>
51505
ed72b654
UD
51506 * sysdeps/i386/configure.in: Test for -mfma4 option.
51507 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51508 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51509 COMMON_CPUID_INDEX_80000001.
51510 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51511 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51512 use it if FMA3 is not supported.
51513 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51514
8d4f46c6
UD
51515 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51516 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51517
d45c60c2
AS
515182011-10-20 Andreas Schwab <schwab@redhat.com>
51519
51520 [BZ #12892]
51521 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51522 it would create a cycle with a link time dependency.
51523
d9a4d2ab
UD
515242011-10-19 Ulrich Drepper <drepper@gmail.com>
51525
855d1560
UD
51526 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51527 instruction.
51528 * string/Makefile (strop-tests): Add rawmemchr.
51529 * string/test-rawmemchr.c: New file.
51530
d9a4d2ab
UD
51531 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51533 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51534 when compiling str{,n}casecmp and when AVX is available. Hook up
51535 new optimized code in initializers.
51536
8f3b1ffe
AS
515372011-10-19 Andreas Schwab <schwab@redhat.com>
51538
51539 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51540 __feraiseexcept instead of feraiseexcept.
51541
d38f1dba
UD
515422011-10-18 Ulrich Drepper <drepper@gmail.com>
51543
d9a8d0ab
UD
51544 * math/math_private.h: Define defaults for libc_fetestexcept and
51545 libc_feupdateenv.
51546 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51547 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51548 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51549 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51550 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51551 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51552 libc_fetestexcept and libc_feupdateenv.
51553
4855e3dd
UD
51554 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51555 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51556 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51557 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51558 libc_feholdexcept_setround.
51559
581d30e3
UD
51560 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51561 Add s_nearbyint-c and s_nearbyintf-c.
51562 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51563 nearbyintf inlines.
51564 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51566 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51568
d38f1dba
UD
51569 * math/math_private.h: Define defaults for libc_fegetround,
51570 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51571 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51572 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51574 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51575 standard functions.
51576 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51577 Remove comments and hacks for old compiler versions.
51578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51579 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51580 libc_feholdexceptl.
51581
caa6c9d8
AS
515822011-10-18 Andreas Schwab <schwab@redhat.com>
51583
51584 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51585 (__feraiseexcept_renamed): Add __NTH.
51586 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51587 namespace violations.
51588
97c066e6
UD
515892011-10-17 Ulrich Drepper <drepper@gmail.com>
51590
99ce7b04
UD
51591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51592
1004d182
UD
51593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51594
228a984d
UD
51595 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51596 recently added interfaces.
51597 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51598
c8553a6a
UD
51599 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51600 about macro parameter expansion.
51601
ed22dcf6
UD
51602 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51603 __NO_MATH_INLINES is defined. Cleanups.
51604
51605 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51606 and __floorf is target has SSE4.1.
51607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51608 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51609 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51610 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51611
b171c137
UD
51612 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51613 name.
51614 (floorf): Likewise.
51615
97c066e6
UD
51616 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51617
629f62ef
AS
516182011-10-17 Andreas Schwab <schwab@redhat.com>
51619
49a43d80
AS
51620 * misc/sys/cdefs.h: Fix last change.
51621
629f62ef
AS
51622 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51623 database lookup.
51624
e453f6cd
UD
516252011-10-16 Ulrich Drepper <drepper@gmail.com>
51626
aa78043a
UD
51627 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51628
ad0f5cad
UD
51629 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51633 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51634 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51637 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51638 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51639 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51640 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51641 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51642 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51643 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51644 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51645 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51646 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51647 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51648 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51649 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51650 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51651
51652 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51653 ceil, ceilf, floor, floorf.
51654
51655 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51656 Perform IRELATIVE relocations last.
51657
e453f6cd
UD
51658 * elf/do-rel.h: Add another parameter nrelative, replacing the
51659 local variable with the same name. Change name of the function
51660 to end in Rel or Rela (uppercase).
51661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51662 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51663 elf_dynamic_do_##reloc function.
51664
fd5bdc09
UD
516652011-10-15 Ulrich Drepper <drepper@gmail.com>
51666
79b195b5
UD
51667 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51668 is sufficient, at least on modern CPUs.
51669
d4a28569
UD
51670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51671
b61099b5
UD
51672 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51674
bcf01e6d
UD
51675 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51676 __expl_finite.
51677 * math/bits/math-finite.h: Add entries for exp.
51678 * math/e_expl.c: Add __*_finite alias.
51679 * sysdeps/i386/fpu/e_exp.S: Likewise.
51680 * sysdeps/i386/fpu/e_expf.S: Likewise.
51681 * sysdeps/i386/fpu/e_expl.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51684 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51686 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51689
ba1a0d59
UD
51690 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51691 is sufficient, at least on modern CPUs.
51692
fd5bdc09
UD
51693 * ctype/ctype-info.c (__ctype_init): Define.
51694 * include/ctype.h (__ctype_init): Declare.
51695 (__ctype_b_loc): The variable is always initialized.
51696 (__ctype_toupper_loc): Likewise.
51697 (__ctype_tolower_loc): Likewise.
51698 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51699 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51700
7872cfb0
AS
517012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51702
b468825a
AS
51703 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51704
7872cfb0
AS
51705 * configure.in: Also look in $cxxmachine/include for C++ system
51706 headers.
51707
be13f7bf
LD
517082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51709
51710 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51711 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51712 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51713 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51715 (USE_AS_WMEMCMP): New macro.
51716 Fixing indents.
51717 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51718 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51719 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51720 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51722 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51723 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51724 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51725 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51726 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51727 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51728 (USE_AS_WMEMCMP): New macro.
51729 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51730 * sysdeps/string/test-memcmp.c: Update.
51731 Fix simple_wmemcmp.
51732 Add new tests.
51733 * wcsmbs/wmemcmp.c: Update.
51734 (WMEMCMP): New macro.
51735 Fix overflow bug.
51736
556a2007
AJ
517372011-10-12 Andreas Jaeger <aj@suse.de>
51738
51739 [BZ #13268]
51740 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51741
538faaa7
UD
517422011-10-15 Ulrich Drepper <drepper@gmail.com>
51743
ab6737ff
UD
51744 * libio/iofwide.c (do_length): Avoid warning.
51745
538faaa7
UD
51746 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51747
396a21b1
UD
517482011-10-14 Ulrich Drepper <drepper@gmail.com>
51749
cdf2901f
UD
51750 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51751
38ad40ce
UD
51752 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51753 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51754 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51755 * sysdeps/i386/i686/fpu/e_log.S: New file.
51756 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51757 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51758
396a21b1
UD
51759 * ctype/ctype.h: Add support for inlined isXXX functions when
51760 compiling C++ code.
51761
6b1f68c9
AS
517622011-10-14 Andreas Schwab <schwab@redhat.com>
51763
349290c0
AS
51764 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51765
6b1f68c9
AS
51766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51767
f2282d42
RM
517682011-10-13 Roland McGrath <roland@hack.frob.com>
51769
51770 [BZ #13291]
51771 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51772
5298ffa8
AS
517732011-10-13 Andreas Schwab <schwab@redhat.com>
51774
714fad23
AS
51775 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51776 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51777 feraiseexcept.
51778
81dcc7fb
AS
51779 * sysdeps/x86_64/memrchr.S: Check for zero size.
51780
5298ffa8
AS
51781 * string/stratcliff.c: Add memrchr tests.
51782
951fbcec
LD
517832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51784
51785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51786 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51787 rawmemchr-sse2 rawmemchr-sse2-bsf.
51788 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51789 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51790 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51791 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51792 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51793 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51794 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51795 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51796 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51798 * string/memrchr.c (MEMRCHR): New macro.
51799
0ac5ae23
UD
518002011-10-12 Ulrich Drepper <drepper@gmail.com>
51801
51802 Add integration with gcc's -ffinite-math-only and optimize wrapper
51803 functions in libm.
51804 * Versions.def: Define GLIBC_2.15 version for libm.
51805 * math/Makefile (headers): Add bits/math-finite.h.
51806 * math/bits/math-finite.h: New file.
51807 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51808 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51809 * math/e_acoshl.c: Add __*_finite alias.
51810 * math/e_acosl.c: Likewise.
51811 * math/e_asinl.c: Likewise.
51812 * math/e_atan2l.c: Likewise.
51813 * math/e_atanhl.c: Likewise.
51814 * math/e_coshl.c: Likewise.
51815 * math/e_exp10.c: Likewise.
51816 * math/e_exp10f.c: Likewise.
51817 * math/e_exp10l.c: Likewise.
51818 * math/e_exp2l.c: Likewise.
51819 * math/e_fmodl.c: Likewise.
51820 * math/e_gammal_r.c: Likewise.
51821 * math/e_hypotl.c: Likewise.
51822 * math/e_j0l.c: Likewise.
51823 * math/e_j1l.c: Likewise.
51824 * math/e_jnl.c: Likewise.
51825 * math/e_lgammal_r.c: Likewise.
51826 * math/e_log10l.c: Likewise.
51827 * math/e_log2l.c: Likewise.
51828 * math/e_logl.c: Likewise.
51829 * math/e_powl.c: Likewise.
51830 * math/e_sinhl.c: Likewise.
51831 * math/e_sqrtl.c: Likewise.
51832 * math/e_scalb.c: Completely rewritten and optimized.
51833 * math/e_scalbf.c: Likewise.
51834 * math/e_scalbl.c: Likewise.
51835 * math/w_acos.c: Likewise.
51836 * math/w_acosf.c: Likewise.
51837 * math/w_acosl.c: Likewise.
51838 * math/w_acosh.c: Likewise.
51839 * math/w_acoshf.c: Likewise.
51840 * math/w_acoshl.c: Likewise.
51841 * math/w_asin.c: Likewise.
51842 * math/w_asinf.c: Likewise.
51843 * math/w_asinl.c: Likewise.
51844 * math/w_atan2.c: Likewise.
51845 * math/w_atan2f.c: Likewise.
51846 * math/w_atan2l.c: Likewise.
51847 * math/w_atanh.c: Likewise.
51848 * math/w_atanhf.c: Likewise.
51849 * math/w_atanhl.c: Likewise.
51850 * math/w_exp10.c: Likewise.
51851 * math/w_exp10f.c: Likewise.
51852 * math/w_exp10l.c: Likewise.
51853 * math/w_fmod.c: Likewise.
51854 * math/w_fmodf.c: Likewise.
51855 * math/w_fmodl.c: Likewise.
51856 * math/w_j0.c: Likewise.
51857 * math/w_j0f.c: Likewise.
51858 * math/w_j0l.c: Likewise.
51859 * math/w_j1.c: Likewise.
51860 * math/w_j1f.c: Likewise.
51861 * math/w_j1l.c: Likewise.
51862 * math/w_jn.c: Likewise.
51863 * math/w_jnf.c: Likewise.
51864 * math/w_log.c: Likewise.
51865 * math/w_logf.c: Likewise.
51866 * math/w_logl.c: Likewise.
51867 * math/w_log10.c: Likewise.
51868 * math/w_log10f.c: Likewise.
51869 * math/w_log10l.c: Likewise.
51870 * math/w_log2.c: Likewise.
51871 * math/w_log2f.c: Likewise.
51872 * math/w_log2l.c: Likewise.
51873 * math/w_pow.c: Likewise.
51874 * math/w_powf.c: Likewise.
51875 * math/w_powl.c: Likewise.
51876 * math/w_remainder.c: Likewise.
51877 * math/w_remainderf.c: Likewise.
51878 * math/w_remainderl.c: Likewise.
51879 * math/w_scalb.c: Likewise.
51880 * math/w_scalbf.c: Likewise.
51881 * math/w_scalbl.c: Likewise.
51882 * math/w_sqrt.c: Likewise.
51883 * math/w_sqrtf.c: Likewise.
51884 * math/w_sqrtl.c: Likewise.
51885 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51886 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51887 used.
51888 * math/math_private.h: Declare __kernel_standard_f.
51889 * math/w_cosh.c: Remove cruft and optimize a bit.
51890 * math/w_coshf.c: Likewise.
51891 * math/w_coshl.c: Likewise.
51892 * math/w_exp2.c: Likewise.
51893 * math/w_exp2f.c: Likewise.
51894 * math/w_exp2l.c: Likewise.
51895 * math/w_hypot.c: Likewise.
51896 * math/w_hypotf.c: Likewise.
51897 * math/w_hypotl.c: Likewise.
51898 * math/w_lgamma.c: Likewise.
51899 * math/w_lgamma_r.c: Likewise.
51900 * math/w_lgammaf.c: Likewise.
51901 * math/w_lgammaf_r.c: Likewise.
51902 * math/w_lgammal.c: Likewise.
51903 * math/w_lgammal_r.c: Likewise.
51904 * math/w_sinh.c: Likewise.
51905 * math/w_sinhf.c: Likewise.
51906 * math/w_sinhl.c: Likewise.
51907 * math/w_tgamma.c: Likewise.
51908 * math/w_tgammaf.c: Likewise.
51909 * math/w_tgammal.c: Likewise.
51910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51912 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51913 Minor optimizations. Pretty printing. Remove cruft.
51914 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51918 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51919 * sysdeps/i386/fpu/e_asin.S: Likewise.
51920 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51921 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51922 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51923 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51927 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51928 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51929 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51930 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51931 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51932 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51933 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51934 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51935 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51936 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51937 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51938 * sysdeps/i386/fpu/e_log.S: Likewise.
51939 * sysdeps/i386/fpu/e_log10.S: Likewise.
51940 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51942 * sysdeps/i386/fpu/e_log2.S: Likewise.
51943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51944 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51945 * sysdeps/i386/fpu/e_logf.S: Likewise.
51946 * sysdeps/i386/fpu/e_logl.S: Likewise.
51947 * sysdeps/i386/fpu/e_pow.S: Likewise.
51948 * sysdeps/i386/fpu/e_powf.S: Likewise.
51949 * sysdeps/i386/fpu/e_powl.S: Likewise.
51950 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51951 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51952 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51956 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51957 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51958 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51959 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51975 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51980 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51983 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51984 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51985 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51986 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51987 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51988 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51989 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51990 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51993 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51994 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51995 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51996 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51997 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51998 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51999 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52001 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52002 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52004 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52005 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52006 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52007 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52008 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52018 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52019 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52020 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52023 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52024 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52029 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52030 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52036 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52037 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52038 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52040 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52043 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52044 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52045 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52046 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52047 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52048 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52050 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52051 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52052 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52054 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52055 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52056 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52057 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52058 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52059 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52060 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52061 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52062 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52063 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52064 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52065 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52066 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52067 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52068 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52069 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52070 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52071 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52072 (__isnanf): Likewise.
52073 (__isinf_ns): Likewise.
52074 (__isinf_nsf): Likewise.
52075 (__finite): Likewise.
52076 (__finitef): Likewise.
52077 (__ieee754_sqrt): Define as macro.
52078 (__ieee754_sqrtf): Define as macro.
52079 (__ieee754_sqrtl): Define as macro.
52080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52081 inlined copy.
52082 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52083 __FINITE_MATH_ONLY__ consistent.
52084 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52085
12cc2fcd
AS
520862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52087
a843a204
AS
52088 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52089 of rawmemchr.
52090
12cc2fcd
AS
52091 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52092
c853acd5
UD
520932011-10-09 Ulrich Drepper <drepper@gmail.com>
52094
52095 * po/ja.po: Update from translation team.
52096
c658d255
RM
520972011-10-08 Roland McGrath <roland@hack.frob.com>
52098
110946e4
RM
52099 * locale/programs/locarchive.c (prepare_address_space): New function.
52100 (create_archive, enlarge_archive, open_archive): Use it.
52101
50604220
RM
52102 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52103 inside [SHARED], where it is used.
52104
c658d255
RM
52105 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52106
52107 * nss/getent.c (netgroup_keys): Remove unused variable.
52108 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52109
6a621eb7
UD
521102011-10-08 Ulrich Drepper <drepper@gmail.com>
52111
7edb55ce
UD
52112 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52115 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52116 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52118 * math/Makefile (libm-calls): Add s_isinf_ns.
52119 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52120 * math/multc3.c: Likewise.
52121 * math/s_casin.c: Likewise.
52122 * math/s_casinf.c: Likewise.
52123 * math/s_casinl.c: Likewise.
52124 * math/s_ccos.c: Likewise.
52125 * math/s_ccosf.c: Likewise.
52126 * math/s_ccosl.c: Likewise.
52127 * math/s_ctan.c: Likewise.
52128 * math/s_ctanf.c: Likewise.
52129 * math/s_ctanh.c: Likewise.
52130 * math/s_ctanhf.c: Likewise.
52131 * math/s_ctanhl.c: Likewise.
52132 * math/s_ctanl.c: Likewise.
52133 * math/w_fmod.c: Likewise.
52134 * math/w_fmodf.c: Likewise.
52135 * math/w_fmodl.c: Likewise.
52136 * math/w_remainder.c: Likewise.
52137 * math/w_remainderf.c: Likewise.
52138 * math/w_remainderl.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52140 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52143 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52144 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52145 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52146 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52147
187da0ae
UD
52148 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52149 of the number.
52150 * stdio-common/printf_fphex.c: Likewise.
52151 * stdio-common/printf_size.c: Likewise.
52152
9277c064
UD
52153 * math/e_exp10.c: Include math_private.h using <...> not "...".
52154 * math/e_exp10f.c: Likewise.
52155 * math/e_exp10l.c: Likewise.
52156 * math/e_exp2l.c: Likewise.
52157 * math/e_j0l.c: Likewise.
52158 * math/e_j1l.c: Likewise.
52159 * math/e_jnl.c: Likewise.
52160 * math/e_lgammal_r.c: Likewise.
52161 * math/e_rem_pio2l.c: Likewise.
52162 * math/e_scalb.c: Likewise.
52163 * math/e_scalbf.c: Likewise.
52164 * math/e_scalbl.c: Likewise.
52165 * math/k_cosl.c: Likewise.
52166 * math/k_sinl.c: Likewise.
52167 * math/k_tanl.c: Likewise.
52168 * math/s_cacoshf.c: Likewise.
52169 * math/s_catan.c: Likewise.
52170 * math/s_catanf.c: Likewise.
52171 * math/s_catanh.c: Likewise.
52172 * math/s_catanhf.c: Likewise.
52173 * math/s_catanhl.c: Likewise.
52174 * math/s_catanl.c: Likewise.
52175 * math/s_ccosh.c: Likewise.
52176 * math/s_ccoshf.c: Likewise.
52177 * math/s_ccoshl.c: Likewise.
52178 * math/s_cexp.c: Likewise.
52179 * math/s_cexpf.c: Likewise.
52180 * math/s_cexpl.c: Likewise.
52181 * math/s_clog.c: Likewise.
52182 * math/s_clog10.c: Likewise.
52183 * math/s_clog10f.c: Likewise.
52184 * math/s_clog10l.c: Likewise.
52185 * math/s_clogf.c: Likewise.
52186 * math/s_clogl.c: Likewise.
52187 * math/s_csin.c: Likewise.
52188 * math/s_csinf.c: Likewise.
52189 * math/s_csinh.c: Likewise.
52190 * math/s_csinhf.c: Likewise.
52191 * math/s_csinhl.c: Likewise.
52192 * math/s_csinl.c: Likewise.
52193 * math/s_csqrt.c: Likewise.
52194 * math/s_csqrtf.c: Likewise.
52195 * math/s_csqrtl.c: Likewise.
52196 * math/s_ctan.c: Likewise.
52197 * math/s_ctanf.c: Likewise.
52198 * math/s_ctanh.c: Likewise.
52199 * math/s_ctanhf.c: Likewise.
52200 * math/s_ctanhl.c: Likewise.
52201 * math/s_ctanl.c: Likewise.
52202 * math/s_ldexp.c: Likewise.
52203 * math/s_ldexpf.c: Likewise.
52204 * math/s_ldexpl.c: Likewise.
52205 * math/s_significand.c: Likewise.
52206 * math/s_significandf.c: Likewise.
52207 * math/s_significandl.c: Likewise.
52208 * math/w_acos.c: Likewise.
52209 * math/w_acosf.c: Likewise.
52210 * math/w_acosh.c: Likewise.
52211 * math/w_acoshf.c: Likewise.
52212 * math/w_acoshl.c: Likewise.
52213 * math/w_acosl.c: Likewise.
52214 * math/w_asin.c: Likewise.
52215 * math/w_asinf.c: Likewise.
52216 * math/w_asinl.c: Likewise.
52217 * math/w_atan2.c: Likewise.
52218 * math/w_atan2f.c: Likewise.
52219 * math/w_atan2l.c: Likewise.
52220 * math/w_atanh.c: Likewise.
52221 * math/w_atanhf.c: Likewise.
52222 * math/w_atanhl.c: Likewise.
52223 * math/w_cosh.c: Likewise.
52224 * math/w_coshf.c: Likewise.
52225 * math/w_coshl.c: Likewise.
52226 * math/w_dremf.c: Likewise.
52227 * math/w_exp10.c: Likewise.
52228 * math/w_exp10f.c: Likewise.
52229 * math/w_exp10l.c: Likewise.
52230 * math/w_exp2.c: Likewise.
52231 * math/w_exp2f.c: Likewise.
52232 * math/w_fmod.c: Likewise.
52233 * math/w_fmodf.c: Likewise.
52234 * math/w_fmodl.c: Likewise.
52235 * math/w_hypot.c: Likewise.
52236 * math/w_hypotf.c: Likewise.
52237 * math/w_hypotl.c: Likewise.
52238 * math/w_j0.c: Likewise.
52239 * math/w_j0f.c: Likewise.
52240 * math/w_j0l.c: Likewise.
52241 * math/w_j1.c: Likewise.
52242 * math/w_j1f.c: Likewise.
52243 * math/w_j1l.c: Likewise.
52244 * math/w_jn.c: Likewise.
52245 * math/w_jnf.c: Likewise.
52246 * math/w_jnl.c: Likewise.
52247 * math/w_lgamma.c: Likewise.
52248 * math/w_lgamma_r.c: Likewise.
52249 * math/w_lgammaf.c: Likewise.
52250 * math/w_lgammaf_r.c: Likewise.
52251 * math/w_lgammal.c: Likewise.
52252 * math/w_lgammal_r.c: Likewise.
52253 * math/w_log.c: Likewise.
52254 * math/w_log10.c: Likewise.
52255 * math/w_log10f.c: Likewise.
52256 * math/w_log10l.c: Likewise.
52257 * math/w_log2.c: Likewise.
52258 * math/w_log2f.c: Likewise.
52259 * math/w_log2l.c: Likewise.
52260 * math/w_logf.c: Likewise.
52261 * math/w_logl.c: Likewise.
52262 * math/w_pow.c: Likewise.
52263 * math/w_powf.c: Likewise.
52264 * math/w_powl.c: Likewise.
52265 * math/w_remainder.c: Likewise.
52266 * math/w_remainderf.c: Likewise.
52267 * math/w_remainderl.c: Likewise.
52268 * math/w_scalb.c: Likewise.
52269 * math/w_scalbf.c: Likewise.
52270 * math/w_scalbl.c: Likewise.
52271 * math/w_sinh.c: Likewise.
52272 * math/w_sinhf.c: Likewise.
52273 * math/w_sinhl.c: Likewise.
52274 * math/w_sqrt.c: Likewise.
52275 * math/w_sqrtf.c: Likewise.
52276 * math/w_sqrtl.c: Likewise.
52277 * math/w_tgamma.c: Likewise.
52278 * math/w_tgammaf.c: Likewise.
52279 * math/w_tgammal.c: Likewise.
52280
6a621eb7
UD
52281 * po/ja.po: Update from translation team.
52282
bf582445
AJ
522832011-09-29 Andreas Jaeger <aj@suse.de>
52284
f9efbf3a
AJ
52285 [BZ #13179]
52286 * sunrpc/netname.c (netname2host): Fix logic.
52287
bf582445
AJ
52288 [BZ #6779]
52289 [BZ #6783]
52290 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52291 correctly.
52292 * math/w_remainder.c (__remainder): Likewise.
52293 * math/w_remainderf.c (__remainderf): Likewise.
52294 * math/libm-test.inc (remainder_test): Add test cases.
52295
48693bea
AK
522962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52297
52298 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52299 sdiv_qrnnd.
52300
42622229
LD
523012011-10-07 Ulrich Drepper <drepper@gmail.com>
52302
52303 * string/test-memcmp.c: Avoid unncessary #defines.
52304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52305
093ecf92
LD
523062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52307
52308 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52309 Use new sse2 version for core i3 - i7 as it's faster
52310 than sse42 version.
52311 (bit_Prefer_PMINUB_for_stringop): New.
52312 * sysdeps/x86_64/rawmemchr.S: Update.
52313 Replace with faster SSE2 version.
52314 * sysdeps/x86_64/memrchr.S: New file.
52315 * sysdeps/x86_64/memchr.S: Update.
52316 Replace with faster SSE2 version.
52317
fde56e5c
MP
523182011-09-12 Marek Polacek <mpolacek@redhat.com>
52319
52320 * elf/dl-load.c (lose): Add cast to avoid warning.
52321
21fd49a9
UD
523222011-10-07 Ulrich Drepper <drepper@gmail.com>
52323
5a06e643
UD
52324 * po/ca.po: Update from translation team.
52325
684ae515
UD
52326 * inet/getnetgrent_r.c: Hook up nscd.
52327 * nscd/Makefile (routines): Add nscd_netgroup.
52328 (nscd-modules): Add netgroupcache.
52329 (CFLAGS-netgroupcache.c): Define.
52330 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52331 (cache_search): Add const to second parameter.
52332 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52333 INNETGR.
52334 (dbs): Add netgrdb entry.
52335 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52336 (verify_persistent_db): Handle netgrdb.
52337 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52338 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52339 GETFDNETGR.
52340 (netgroup_response_header): Define.
52341 (innetgroup_response_header): Define.
52342 (datahead): Add netgroup_response_header and innetgroup_response_header
52343 elements.
52344 * nscd/nscd.conf: Add entries for netgroup cache.
52345 * nscd/nscd.h (dbtype): Add netgrdb.
52346 (_PATH_NSCD_NETGROUP_DB): Define.
52347 (netgroup_iov_disabled): Declare.
52348 (xmalloc, xcalloc, xrealloc): Move declarations here.
52349 (cache_search): Adjust prototype.
52350 Add netgroup-related prototypes.
52351 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52352 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52353 (__nscd_innetgr): Declare.
52354 * nscd/selinux.c (perms): Use access_vector_t as element type and
52355 add netgroup-related initializers.
52356 * nscd/netgroupcache.c: New file.
52357 * nscd/nscd_netgroup.c: New file.
52358 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52359 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52360 For four parameters use innetgr.
52361 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52362 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52363 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52364 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52365
21fd49a9
UD
52366 * nscd/connections.c (register_traced_file): Don't register file
52367 for disabled databases.
52368
054c0457
UD
523692011-10-06 Ulrich Drepper <drepper@gmail.com>
52370
32b63198
UD
52371 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52372
054c0457
UD
52373 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52374 from tree and freeing node.
52375
64031225
JO
523762011-09-25 Jiri Olsa <jolsa@redhat.com>
52377
52378 * nss/nsswitch.c (__nss_database_lookup): Handle
52379 nss_parse_service_list out of memory case.
52380
0490345c
JO
523812011-09-15 Jiri Olsa <jolsa@redhat.com>
52382
52383 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52384 out of memory case.
52385
3a62d00d
AS
523862011-10-04 Andreas Schwab <schwab@redhat.com>
52387
52388 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52389 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52390 pass it down.
52391 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52392 elf_machine_rela, elf_machine_lazy_rel.
52393 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52394 (ELF_DYNAMIC_DO_REL): Likewise.
52395 (ELF_DYNAMIC_DO_RELA): Likewise.
52396 (ELF_DYNAMIC_RELOCATE): Likewise.
52397 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52398 to ELF_DYNAMIC_DO_REL.
52399 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52400 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52401 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52402 elf_machine_rela.
52403 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52404 skip_ifunc, don't call ifunc function if non-zero.
52405 (elf_machine_rela): Likewise.
52406 (elf_machine_lazy_rel): Likewise.
52407 (elf_machine_lazy_rela): Likewise.
52408 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52409 (elf_machine_lazy_rel): Likewise.
52410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52411 Likewise.
52412 (elf_machine_lazy_rel): Likewise.
52413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52414 Likewise.
52415 (elf_machine_lazy_rel): Likewise.
52416 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52417 (elf_machine_lazy_rel): Likewise.
52418 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52419 (elf_machine_lazy_rel): Likewise.
52420 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52421 (elf_machine_lazy_rel): Likewise.
52422 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52423 (elf_machine_lazy_rel): Likewise.
52424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52425 (elf_machine_lazy_rel): Likewise.
52426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52427 (elf_machine_lazy_rel): Likewise.
52428
68577918
UD
524292011-09-28 Ulrich Drepper <drepper@gmail.com>
52430
52431 * nss/nss_files/files-init.c (_nss_files_init): Use static
52432 initialization for all the *_traced_file variables.
52433
68822d74
AS
524342011-09-28 Andreas Schwab <schwab@redhat.com>
52435
52436 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52437
2056100b
RM
524382011-09-27 Roland McGrath <roland@hack.frob.com>
52439
52440 [BZ #13226]
52441 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52442
32c76b63
AS
524432011-09-27 Andreas Schwab <schwab@redhat.com>
52444
52445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52446 Reread the line before reparsing it.
52447
bf972c9d
AS
524482011-09-26 Andreas Schwab <schwab@redhat.com>
52449
52450 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52451
e057a1b5
JM
524522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52453 Maxim Kuvyrkov <maxim@codesourcery.com>
52454 Joseph Myers <joseph@codesourcery.com>
52455
52456 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52457 if needed for __stack_chk_guard.
52458
bc7e1c36
RM
524592011-09-19 Roland McGrath <roland@hack.frob.com>
52460
ecb1482f
RM
52461 * sysdeps/posix/spawni.c (script_execute): Always define it.
52462 It will be optimized away if unused.
52463 (maybe_script_execute): New function.
52464 (__spawni): Call it.
52465
bc7e1c36
RM
52466 * Makerules: Don't include tls.make.
52467 (config-tls): Always set to thread.
52468 * tls.make.c: File removed.
52469
1c3b002b
MF
524702011-09-19 Mike Frysinger <vapier@gentoo.org>
52471
52472 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52473 * config.make.in (CPPFLAGS-config): New substituted variable.
52474
2840865d
UD
524752011-09-15 Ulrich Drepper <drepper@gmail.com>
52476
88738eb6
UD
52477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52478
cbf645a6 52479 [BZ #13192]
2840865d
UD
52480 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52481 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52482
b402e91a
RM
524832011-09-15 Roland McGrath <roland@hack.frob.com>
52484
52485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52486 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52488 (CALL_FAIL): Likewise.
52489 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52490 (CALL_FAIL): Macro removed.
52491 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52492
4c1a1f71
UD
524932011-09-15 Ulrich Drepper <drepper@gmail.com>
52494
52495 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52496 for __FINITE_MATH_ONLY__ == 1.
52497
edc121be
AS
524982011-09-15 Andreas Schwab <schwab@redhat.com>
52499
52500 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52501 __ieee754_sqrt instead of sqrt.
52502 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52503 __ieee754_sqrtf instead of sqrtf.
52504 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52505 __floorf instead of floorf.
52506 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52507 __floorf, __truncf instead of floorf, truncf.
52508
cd205654
UD
525092011-09-14 Ulrich Drepper <drepper@gmail.com>
52510
ee4d0315
UD
52511 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52512
cd205654
UD
52513 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52514 __extern_always_inline.
52515 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52516 32-bit.
52517
48b67d71
AS
525182011-09-14 Andreas Schwab <schwab@redhat.com>
52519
52520 * elf/rtld.c (dl_main): Also relocate in dependency order when
52521 doing symbol dependency testing.
52522
1ae12c75
AS
525232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52524
52525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52526 Always define `refsym'.
52527
995a80df
AS
525282011-09-13 Andreas Schwab <schwab@redhat.com>
52529
e529793b
AS
52530 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52531 (__FD_ELT): Renamed from __FDELT.
52532 * misc/bits/select2.h (__FD_ELT): Likewise.
52533 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52534 __FD_MASK instead of __FDELT, __FDMASK.
52535 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52536 Likewise.
52537 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52538 Likewise.
52539
52d4fef8
AS
52540 * elf/Makefile (gen-ldd): Fix pattern.
52541
995a80df
AS
52542 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52543 (init_tls): Likewise.
52544
8682f8b0
UD
525452011-09-12 Ulrich Drepper <drepper@gmail.com>
52546
52547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52548
de82006d
AS
525492011-09-12 Andreas Schwab <schwab@redhat.com>
52550
a7c8e6a1
AS
52551 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52552 `struct cmsghdr *' instead of `void *'.
52553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52554 Likewise.
52555
0f31fe77
AS
525562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52557
52558 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52559 if non-absolute.
52560 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52561 ldd_rewrite_script.
0f31fe77 52562
32b4c839
UD
525632011-09-11 Ulrich Drepper <drepper@gmail.com>
52564
83cd1420
UD
52565 * configure.in: Remove --with-tls option.
52566 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52567 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52568 out in case it is missing.
52569 * sysdeps/ia64/elf/configure.in: Likewise.
52570 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52571 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52572 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52573 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52574 * sysdeps/sh/elf/configure.in: Likewise.
52575 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52576 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52577 * sysdeps/x86_64/elf/configure.in: Likewise.
52578 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52579 * sysdeps/mach/hurd/tls.h: Likewise.
52580
633f745d
UD
52581 [BZ #13067]
52582 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52583
f318beb8
UD
52584 [BZ #13090]
52585 * configure.in: Fix use of AC_INIT.
52586
32b4c839
UD
52587 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52588
3ce1f295
UD
525892011-09-10 Ulrich Drepper <drepper@gmail.com>
52590
bb016596
UD
52591 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52592 __set_errno.
8e58439c
UD
52593 * malloc/hooks.c: Likewise.
52594
aebae053 52595 [BZ #11929]
02d46fc4
UD
52596 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52597 variables statically.
52598 (narenas): Initialize.
52599 (list_lock): Initialize.
bb016596
UD
52600 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52601 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52602 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52603 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52604 Add initializers to main_arena and mp_.
52605 (malloc_state): Remove pagesize member. Change all users to use
52606 GLRO(dl_pagesize).
52607
52608 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52609 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52610 is always initialized.
52611
22a89187
UD
52612 * malloc/malloc.c: Removed unused configurations and dead code.
52613 * malloc/arena.c: Likewise.
52614 * malloc/hooks.c: Likewise.
02d46fc4 52615 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52616
d063d164
UD
52617 * include/tls.h: Removed. USE___THREAD must always be defined.
52618 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52619 * elf/dl-libc.c: Likewise.
52620 * elf/dl-tsd.c: Likewise.
52621 * include/errno.h: Likewise.
52622 * include/netdb.h: Likewise.
52623 * include/resolv.h: Likewise.
52624 * inet/herrno-loc.c: Likewise.
52625 * inet/herrno.c: Likewise.
52626 * malloc/arena.c: Likewise.
52627 * malloc/hooks.c: Likewise.
52628 * malloc/malloc.c: Likewise.
52629 * resolv/res-state.c: Likewise.
52630 * resolv/res_libc.c: Likewise.
52631 * sysdeps/i386/dl-machine.h: Likewise.
52632 * sysdeps/ia64/dl-machine.h: Likewise.
52633 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52634 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52635 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52636 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52637 * sysdeps/sh/dl-machine.h: Likewise.
52638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52639 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52640 * sysdeps/unix/i386/sysdep.S: Likewise.
52641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52642 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52647 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52652 * sysdeps/x86_64/dl-machine.h: Likewise.
52653 * tls.make.c: Likewise.
52654
3ce1f295
UD
52655 * configure.in: Remove --with-__thread option. Make tests for
52656 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52657 tls_model attribute fail if no support is available. Remove
52658 USE_IN_LIBIO.
52659 * Makeconfig: Adjust for dropped configure option. All features are
52660 now mandatory.
52661 * Makerules: Likewise.
52662 * Versions.def: Likewise.
52663 * argp/argp-fmtstream.c: Likewise.
52664 * argp/argp-fmtstream.h: Likewise.
52665 * argp/argp-help.c: Likewise.
52666 * assert/assert.c: Likewise.
52667 * config.h.in: Likewise.
52668 * config.make.in: Likewise.
52669 * configure: Likewise.
52670 * configure.in: Likewise.
52671 * csu/Versions: Likewise.
52672 * csu/init.c: Likewise.
52673 * elf/tst-audit2.c: Likewise.
52674 * elf/tst-tls10.c: Likewise.
52675 * elf/tst-tls10.h: Likewise.
52676 * elf/tst-tls11.c: Likewise.
52677 * elf/tst-tls12.c: Likewise.
52678 * elf/tst-tls14.c: Likewise.
52679 * elf/tst-tlsmod11.c: Likewise.
52680 * elf/tst-tlsmod12.c: Likewise.
52681 * elf/tst-tlsmod13.c: Likewise.
52682 * elf/tst-tlsmod13a.c: Likewise.
52683 * elf/tst-tlsmod14a.c: Likewise.
52684 * elf/tst-tlsmod15b.c: Likewise.
52685 * elf/tst-tlsmod16a.c: Likewise.
52686 * elf/tst-tlsmod16b.c: Likewise.
52687 * elf/tst-tlsmod7.c: Likewise.
52688 * elf/tst-tlsmod8.c: Likewise.
52689 * elf/tst-tlsmod9.c: Likewise.
52690 * gmon/gmon.c: Likewise.
52691 * grp/fgetgrent_r.c: Likewise.
52692 * grp/putgrent.c: Likewise.
52693 * hurd/fopenport.c: Likewise.
52694 * include/libc-symbols.h: Likewise.
52695 * include/tls.h: Likewise.
52696 * intl/gettextP.h: Likewise.
52697 * intl/loadinfo.h: Likewise.
52698 * locale/global-locale.c: Likewise.
52699 * locale/localeinfo.h: Likewise.
52700 * mach/devstream.c: Likewise.
52701 * malloc/arena.c: Likewise.
52702 * malloc/set-freeres.c: Likewise.
52703 * misc/err.c: Likewise.
52704 * misc/getttyent.c: Likewise.
52705 * misc/mntent_r.c: Likewise.
52706 * posix/getopt.c: Likewise.
52707 * posix/wordexp.c: Likewise.
52708 * pwd/fgetpwent_r.c: Likewise.
52709 * resolv/Versions: Likewise.
52710 * resolv/res_hconf.c: Likewise.
52711 * shadow/fgetspent_r.c: Likewise.
52712 * shadow/putspent.c: Likewise.
52713 * stdio-common/printf_fphex.c: Likewise.
52714 * stdio-common/tmpfile.c: Likewise.
52715 * stdlib/abort.c: Likewise.
52716 * stdlib/fmtmsg.c: Likewise.
52717 * sunrpc/auth_unix.c: Likewise.
52718 * sunrpc/clnt_perr.c: Likewise.
52719 * sunrpc/clnt_tcp.c: Likewise.
52720 * sunrpc/clnt_udp.c: Likewise.
52721 * sunrpc/clnt_unix.c: Likewise.
52722 * sunrpc/openchild.c: Likewise.
52723 * sunrpc/svc_simple.c: Likewise.
52724 * sunrpc/svc_tcp.c: Likewise.
52725 * sunrpc/svc_udp.c: Likewise.
52726 * sunrpc/svc_unix.c: Likewise.
52727 * sunrpc/xdr.c: Likewise.
52728 * sunrpc/xdr_array.c: Likewise.
52729 * sunrpc/xdr_rec.c: Likewise.
52730 * sunrpc/xdr_ref.c: Likewise.
52731 * sunrpc/xdr_stdio.c: Likewise.
52732
1248c1c4
PB
527332011-09-09 Ulrich Drepper <drepper@gmail.com>
52734
52735 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52736
527372011-07-03 Andreas Jaeger <aj@suse.de>
52738
52739 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52740 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52741 regenerate with gen-libm-tests.pl.
52742
527432010-05-12 Petr Baudis <pasky@suse.cz>
52744
52745 [BZ #11589]
52746 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52747 around j0() zero points by switching to j1().
52748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52752
f22e1074
UD
527532011-09-09 Ulrich Drepper <drepper@gmail.com>
52754
f19009c1
UD
52755 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52756 instead of 0.
52757 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52758 instead of 0.
f19009c1
UD
52759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52760 Patch in part by Pavel Roskin <proski@gnu.org>.
52761
3f8cc204
UD
52762 [BZ #13138]
52763 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52764 realloc.
52765 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52766 Free memory block if necessary.
52767
f22e1074
UD
52768 [BZ #12847]
52769 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52770 be NULL. Don't lock in this case.
52771
0a2349f9
RM
527722011-09-09 Roland McGrath <roland@hack.frob.com>
52773
52774 * elf/elf.h (ELFOSABI_GNU): New macro.
52775 (ELFOSABI_LINUX): Define to that.
52776
f3cdd467
DZ
527772011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52778
52779 * string/strncat.c (strncat): Undef the symbol in case it has been
52780 defined in bits/string.h.
52781
74718d13
UD
527822011-09-09 Ulrich Drepper <drepper@gmail.com>
52783
633e9e0f
UD
52784 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52785
0a2349f9 52786 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52787 link map.
52788
f9924780
AJ
527892011-08-17 Andreas Jaeger <aj@suse.de>
52790
52791 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52792
7f5517aa
PP
527932011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52794 Ian Lance Taylor <iant@google.com>
52795
52796 * math/libm-test.inc (lround_test): New testcase.
52797 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52798
762011fe
UD
527992011-09-08 Ulrich Drepper <drepper@gmail.com>
52800
92963737
UD
52801 * Makefile: Remove support for automatic cvs check-ins.
52802 * Makerules: Likewise.
52803 * config.make.in: Likewise.
52804 * configure.in: Likewise.
52805 * intl/Makefile: Likewise.
52806 * locale/Makefile: Likewise.
52807 * po/Makefile: Likewise.
52808 * posix/Makefile: Likewise.
52809 * sysdeps/gnu/Makefile: Likewise.
52810 * sysdeps/mach/hurd/Makefile: Likewise.
52811 * sysdeps/sparc/sparc32/Makefile: Likewise.
52812
b0727fd8
JS
52813 [BZ #13118]
52814 * posix/Makefile (bug-regex32-ENV): Define.
52815 Patch by John Stanley <jpsinthemix@verizon.net>.
52816
a0f33f99
UD
52817 * misc/Makefile (headers): Add bits/select2.h.
52818 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52819 * misc/bits/select2.h: New file.
52820 * include/bits/select2.h: New file.
52821 * debug/Makefile (routines): Add fdelt_chk.
52822 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52823 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52824 FD_ISSET.
52825 * debug/fdelt_chk.c: New file.
52826
762011fe
UD
52827 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52828 * wcsmbs/test-wmemcmp.c: Likewise.
52829 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52830 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52831
528322011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52833
52834 * string/Makefile (strop-tests): Add memcmp.
52835 * string/test-wmemcmp.c: New file.
52836 * string/test-memcmp.c: Add wmemcmp support.
52837
7f513ec8
RM
528382011-09-08 Roland McGrath <roland@hack.frob.com>
52839
0442afb4
RM
52840 [BZ #13153]
52841 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52842 2011-07-19 change.
52843
7f513ec8
RM
52844 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52845 garbage value in a __mach_port_mod_refs call in the cases of the
52846 task-self and thread-self ports.
52847
a12b2239
ST
528482011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52849
52850 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52851
610f9ab4
AS
528522011-09-08 Andreas Schwab <schwab@redhat.com>
52853
7f513ec8 52854 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52855
48882a1a
LD
528562011-09-07 Ulrich Drepper <drepper@gmail.com>
52857
b49865be
UD
52858 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52859
fdc86bc9
UD
52860 * elf/dl-libc.c (dlerror_run): Pass back error code from
52861 dl_catch_error.
52862
c966526a
UD
52863 [BZ #13123]
52864 * elf/dl-load.c (lose): Free l_origin if it is valid.
52865
48882a1a
LD
52866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52867 names.
52868 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52872 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52873 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52874
77a2a8b4
AZ
528752011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52876
52877 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52878 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52881 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52882 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52883 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52884 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52885 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52886 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52887
24f579d8
AM
528882011-08-15 Alan Modra <amodra@gmail.com>
52889
52890 [BZ #13092]
52891 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52892 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52893 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52894 ppc_mcount to static-only-routines.
52895 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52896 __mcount_internal.
52897 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52898 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52899
3d4837df
UD
529002011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52901
52902 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52903 for finite and infinity parameters.
52904
22700377
WS
529052011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52906
52907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52908 and add nop instructions for throughput optimization.
52909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52910
5025581e
WS
529112011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52912
52913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52914 aligned copy for power7 with vector-scalar instructions.
52915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52916
08a300c9
L
529172011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52918
52919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52920 AVX check.
52921
59178ef9
AS
529222011-09-07 Andreas Schwab <schwab@redhat.com>
52923
52924 [BZ #13144]
52925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52926 last change.
52927
e38ba7ab
UD
529282011-09-07 Ulrich Drepper <drepper@gmail.com>
52929
52930 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52931 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52932 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52933 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52934 clock_gettime.
52935
d53a73ac
UD
529362011-09-06 Ulrich Drepper <drepper@gmail.com>
52937
fc8bffcc
UD
52938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52939 Forgot to demangle the pointer.
52940
ceaa0c5d
UD
52941 * sysdeps/i386/sysdep.h: Define atom_text_section.
52942 * sysdeps/x86_64/sysdep.h: Likewise.
52943 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52944 section with atom_text_section.
52945 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52946 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52947 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52950
a77d3c17
UD
52951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52953 already be defined. Change to take two parameters and don't assign
52954 result to variable. Adjust all users.
52955 Define INTERNAL_GETTIME if not already defined.
52956 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52957 call.
52958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52959 HAVE_CLOCK_GETTIME_VSYSCALL.
52960 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52961
d53a73ac
UD
52962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52963 gettimeofday vsyscall, just use time.
52964
a8f84144
AS
529652011-09-06 Andreas Schwab <schwab@redhat.com>
52966
52967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52968 <errno.h>.
52969
ef606249
UD
529702011-09-06 Ulrich Drepper <drepper@gmail.com>
52971
52972 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52973 syscall on x86-64.
52974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52975 syscall.
52976 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52978 syscall if possible.
52979
6585cb60
UD
529802011-09-05 Ulrich Drepper <drepper@gmail.com>
52981
52982 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52983 e_ident. Don't pass to find_mapsXX.
52984 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52985
a5f524e4
LD
529862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52987
52988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52989 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52990 * sysdeps/x86_64/multiarch/strchr.S: Update.
52991 Check bit_slow_BSF bit.
52992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52993 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52995
554881ef
UD
529962011-09-05 Ulrich Drepper <drepper@gmail.com>
52997
d96de963
UD
52998 [BZ #13134]
52999 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53000 before glibc 2.15.
53001 (tryshell): Define.
53002 (__spawni): Change last parameter to be flag. Test
53003 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53004 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53005 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53006 * posix/spawni.c: Likewise.
53007 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53008 * posix/spawnp.c: Likewise. Change normal version to use
53009 SPAWN_XFLAGS_USE_PATH.
53010 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53011 SPAWN_XFLAGS_TRY_SHELL.
53012
d48e5868
UD
53013 [BZ #13150]
53014 * posix/glob.h: Remove gcc 1.x support.
53015
554881ef
UD
53016 [BZ #13068]
53017 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53018
693fb948
LD
530192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53020
53021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53022 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53023 strrchr-sse2-bsf
53024 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53025 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53026 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53028 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53030
1b48c537
UD
530312011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53032
49d42c37
UD
53033 * sysdeps/x86_64/wcscmp.S: New file.
53034
1b48c537
UD
53035 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53036 wcscmp-c wcscmp-sse2
53037 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53038 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53040 * wcsmbs/wcscmp.c: Allow renaming.
53041
15c95c5d
DM
530422011-09-05 David S. Miller <davem@davemloft.net>
53043
53044 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53045 stack slot, rather than the struct return pointer slot.
53046 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53047 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53049 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53050
2f0ad8f3
UD
530512011-09-05 Ulrich Drepper <drepper@gmail.com>
53052
d88ae418
UD
53053 * po/ja.po: Update from translation team.
53054
2f0ad8f3
UD
53055 [BZ #13144]
53056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53057 kernel in 64-bit binaries.
53058
5f4318d1
DM
530592011-09-01 David S. Miller <davem@davemloft.net>
53060
53061 * elf/elf.h (HWCAP_SPARC_*): Move to..
53062 * sysdeps/sparc/sysdep.h: this new file and add new values.
53063 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53064 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53065 _DL_HWCAP_COUNT to 24.
53066 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53067 entries.
53068 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53069 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53070 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53072 instead of magic constants.
53073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53074
3ba57516
DM
530752011-08-31 David S. Miller <davem@davemloft.net>
53076
53077 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53079 Reimplement to do errno handling inline.
53080 (SYSCALL_ERROR_HANDLER): New macro.
53081 (__SYSCALL_STRING): Do not do errno handling in asm.
53082 (__CLONE_SYSCALL_STRING): Delete.
53083 (__INTERNAL_SYSCALL_STRING): Delete.
53084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53085 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53086 (PSEUDO): Reimplement to do errno handling inline.
53087 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53088 (SYSCALL_ERROR_HANDLER): New macro.
53089 (__SYSCALL_STRING): Do not do errno handling in asm.
53090 (__CLONE_SYSCALL_STRING): Delete.
53091 (__INTERNAL_SYSCALL_STRING): Delete.
53092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53093 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53094 i386.
53095 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53096 (inline_syscall*): Add 'err' argument.
53097 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53098 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53099 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53100 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53101
53102 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53103 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53104
2bc17433
AS
531052011-08-30 Andreas Schwab <schwab@redhat.com>
53106
53107 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53108
fbeb5f4d
JO
531092011-08-29 Jiri Olsa <jolsa@redhat.com>
53110
53111 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53112 directive.
53113
ad69cc26
DM
531142011-08-24 David S. Miller <davem@davemloft.net>
53115
53116 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53117
39dd69df
AS
531182011-08-24 Andreas Schwab <schwab@redhat.com>
53119
53120 * elf/Makefile: Add rules to build and run unload8 test.
53121 * elf/unload8.c: New file.
53122 * elf/unload8mod1.c: New file.
53123 * elf/unload8mod1x.c: New file.
53124 * elf/unload8mod2.c: New file.
53125 * elf/unload8mod3.c: New file.
53126
53127 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53128 it wasn't used.
53129
2c0b250a
DM
531302011-08-23 David S. Miller <davem@davemloft.net>
53131
53132 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53133 subtract stack bias.
53134 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53135 %sp not %fp in calculations.
53136 (_JMPBUF_UNWINDS_ADJ): Likewise.
53137
22044b48
DM
53138 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53139 (aio_suspend): Call it to force an exception region around the
53140 AIO_MISC_WAIT() invocation.
53141
2cae4995
AS
531422011-08-23 Andreas Schwab <schwab@redhat.com>
53143
53144 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53145 backslash.
53146
873a772e
AJ
531472011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53148
53149 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53150 protection macro.
53151 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53152 and <dl-machine.h>.
53153 (Elf64_FuncDesc): Remove.
53154
25ad0df1
DM
531552011-08-22 David S. Miller <davem@davemloft.net>
53156
53157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53158 sigaltstack check, add missing cfi directives.
53159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53160 missing cfi directives, and sigaltstack handling.
53161
e888bcbe
AS
531622011-08-16 Andreas Schwab <schwab@redhat.com>
53163
53164 [BZ #11724]
53165 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53166 object is seen twice.
53167 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53168
53169 * elf/Makefile (distribute): Add tst-initorder2.c.
53170 (tests): Add tst-initorder2.
53171 (modules-names): Add tst-initorder2a tst-initorder2b
53172 tst-initorder2c tst-initorder2d. Add rules to build them.
53173 ($(objpfx)tst-initorder2.out): New rule.
53174 * elf/tst-initorder2.c: New file.
53175 * elf/tst-initorder2.exp: New file.
53176
87162f46
AS
531772011-08-22 Andreas Schwab <schwab@redhat.com>
53178
70538b7f
AS
53179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53180
f55ffe58
AS
53181 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53182 dependencies back to end of function.
53183
87162f46
AS
53184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53185 $(elfobjdir)/ld.so.
53186
91b392a4
UD
531872011-08-21 Ulrich Drepper <drepper@gmail.com>
53188
53189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53190 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53192 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53193 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53194 of __vdso_gettimeofday.
53195 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53196 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53197 attribute_hidden.
53198 (_libc_vdso_platform_setup): Remove initialization of
53199 __vdso_gettimeofday and __vdso_time.
53200
5c43483f
UD
532012011-08-20 Ulrich Drepper <drepper@gmail.com>
53202
775a77e7
UD
53203 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53204 and fgetc_unlocked.
53205 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53206 getc_unlocked.
89f447ed 53207
49c74ba9
UD
53208 * elf/dl-open.c (add_to_global): Report additions to the global scope
53209 for LD_DEBUG=scopes.
53210 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53211 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53212
5c43483f
UD
53213 [BZ #13114]
53214 * stdio-common/Makefile (tests): Add bug24.
53215 * stdio-common/bug24.c: New file.
53216
a101b025
AJ
532172011-08-19 Andreas Jaeger <aj@suse.de>
53218
53219 [BZ #13114]
53220 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53221 non-existant file when using close-on-exec mode.
53222
c88f1766
UD
532232011-08-20 Ulrich Drepper <drepper@gmail.com>
53224
0276a718
UD
53225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53226 the very first instruction.
53227
c88f1766
UD
53228 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53229 the CFI state in the end.
53230 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53231 inclusion of dl-trampoline.h.
53232 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53233
51ccffa0
AS
532342011-08-19 Andreas Schwab <schwab@redhat.com>
53235
94d7165f
AS
53236 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53237 expectations for long double.
53238
51ccffa0
AS
53239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53240 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53241
fd708658 532422011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53243
53244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53245 artificual limit depends upon the system page size.
53246
44f0a71e
UD
532472011-08-17 Ulrich Drepper <drepper@gmail.com>
53248
53249 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53250 * resolv/Makefile: Define CFLAGS-libresolv.
53251
8de79a24
AS
532522011-08-17 Andreas Schwab <schwab@redhat.com>
53253
53254 * nss/makedb.c (compute_tables): Make variables used in nested
53255 function static.
53256
27724598
UD
532572011-08-17 Ulrich Drepper <drepper@gmail.com>
53258
c5305d88
UD
53259 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53260 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53261 if buffer was too small.
53262
27724598
UD
53263 * elf/pldd.c (main): Attach to all threads in the process.
53264 Rewrite /proc handling to use *at functions.
53265
076fe015
UD
532662011-08-16 Ulrich Drepper <drepper@gmail.com>
53267
174baab3
UD
53268 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53269 specifies first scope to show.
53270 (dl_open_worker): Update callers. Move printing scope of new
53271 object to before the relocation.
44f0a71e 53272 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53273 * sysdeps/generic/ldsodefs.h: Update declaration.
53274
076fe015
UD
53275 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53276 string for the scope number.
53277
a60df2c3
UD
532782011-08-14 Ulrich Drepper <drepper@gmail.com>
53279
53280 * nscd/servicescache.c (cache_addserv): Make sure written is always
53281 initialized.
53282
5e4287d1
RM
532832011-08-14 Roland McGrath <roland@hack.frob.com>
53284
85ae0589
RM
53285 * sysdeps/i386/i486/bits/atomic.h
53286 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53287 statement expression, so as to suppress "set but not used" warning.
53288 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53289
69f63097
RM
53290 * string/strncat.c (STRNCAT): Use prototype definition.
53291
675456ef
RM
53292 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53293 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53294 -Iprograms here.
53295 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53296 (localedef-modules): Add localedef.
53297 (locale-modules): Add locale.
53298
5e4287d1
RM
53299 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53300 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53301 to avoid a warning.
53302
9c96ff23
DM
533032011-08-14 David S. Miller <davem@davemloft.net>
53304
53305 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53306 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53307
f9ddf089
UD
533082011-08-13 Ulrich Drepper <drepper@gmail.com>
53309
44f0a71e 53310 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53311 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53312 * elf/rtld.c (dl_main): Set l_name of vDSO.
53313 Call _dl_show_scope when DL_DEBUG_SCOPES.
53314 (process_dl_debug): Recognize scopes flag and also set it for all.
53315 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53316 Declare _dl_show_scope.
53317
1dc27704
UD
53318 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53319 (do_dlopen): Pass caller_dlopen to dl_open.
53320 (__libc_dlopen_mode): Initialize caller_dlopen.
53321
f9ddf089
UD
53322 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53323 of libc. Make tolower call locale-independent. Optimize a bit by
53324 using isdigit instead of isalnum.
53325 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53326
9ac533d3
UD
533272011-08-12 Ulrich Drepper <drepper@gmail.com>
53328
53329 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53330 was a dependency or dynamically loaded.
53331
89edf2e9
UD
533322011-08-11 Ulrich Drepper <drepper@gmail.com>
53333
8e999d29
UD
53334 * intl/l10nflist.c: Allow architecture-specific pop function.
53335 * sysdeps/x86_64/l10nflist.c: New file.
53336
89edf2e9
UD
53337 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53338 classification.
53339
14d96785
AS
533402011-08-10 Andreas Schwab <schwab@redhat.com>
53341
53342 * include/dirent.h: Add libc_hidden_proto for scandirat and
53343 scandirat64. Don't declare __scandirat64.
53344 * dirent/scandirat.c: Add libc_hidden_def.
53345 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53346 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53347
6761ac04
DM
533482011-08-10 David S. Miller <davem@davemloft.net>
53349
53350 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53351 enum.
53352 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53354 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53355
c55fbd1e
UD
533562011-08-09 Ulrich Drepper <drepper@gmail.com>
53357
53358 * Versions.def [libc]: Add GLIBC_2.15.
53359 * dirent/Makefile (routines): Add scandirat and scandirat64.
53360 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53361 GLIBC_2.15.
53362 * dirent/dirent.h: Declare scandirat and scandirat64.
53363 * dirent/scandirat.c: New file.
53364 * dirent/scandirat64.c: New file.
53365 * sysdeps/wordsize-64/scandirat.c: New file.
53366 * sysdeps/wordsize-64/scandirat64.c: New file.
53367 * dirent/opendir.c: Define opendirat.
53368 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53369 using scandirat.
53370 * dirent/scandir64.c: Adjust for scandir.c change.
53371 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53372 __scandirat64, and __scandir_cancel_handler.
53373 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53374 additional parameter and use openat instead of open (outside of ld.so).
53375 Add new __opendir as wrapper around __opendirat.
53376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53377 here without requiring old scandirat implementation.
53378
879165f2
UD
533792011-08-08 Ulrich Drepper <drepper@gmail.com>
53380
53381 * dirent/scandir.c (cancel_handler): Renamed to
53382 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53383 defined. Adjust users.
53384 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53386
cb7e923b
UD
533872011-08-04 Ulrich Drepper <drepper@gmail.com>
53388
16292edd
UD
53389 * string/test-string.h (IMPL): Use __STRING to expand name and then
53390 stringify it.
53391
cb7e923b
UD
53392 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53393 of cleanups.
53394
cff82933
LD
533952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53396
53397 * string/Makefile: Update.
53398 (strop-tests): Append strncat.
53399 * string/test-wcscmp.c: New file.
53400 New comprehensive test for wcscmp.
53401 * string/test-strcmp.c: Update.
53402 (WIDE): New define.
53403
9be9bfcc
AS
534042011-07-22 Andreas Schwab <schwab@redhat.com>
53405
53406 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53407 line.
53408
2e96f1c7
AS
534092011-07-26 Andreas Schwab <schwab@redhat.com>
53410
53411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53412 encoding to ACE if AI_IDN.
53413
85188888
JJ
534142011-08-01 Jakub Jelinek <jakub@redhat.com>
53415
53416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53417 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53418
5fa16e9b
LD
534192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53420
53421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53422 Fix overflow bug in strncat.
53423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53424
53425 * string/test-strncat.c: Update.
53426 Add new tests for checking overflow bugs.
53427
534282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53429
53430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53431 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53432 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53433 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53435 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53436 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53437 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53438 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53439
53440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53441 (USE_AS_STRCAT): Define.
53442 Add strcat and strncat support.
53443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53444
8c1a459f
AS
534452011-07-25 Andreas Schwab <schwab@redhat.com>
53446
53447 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53448 __n bigger than INT_MAX+1.
53449 (__strncmp_g): Likewise.
53450
bba33c28
UD
534512011-07-23 Ulrich Drepper <drepper@gmail.com>
53452
798be72d
UD
53453 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53454 * libio/stido.h: Likewise.
53455
8accd4dc
UD
53456 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53457 (AF_NFC): Define.
53458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53459 (AF_NFC): Define.
53460
cbff0d96
UD
53461 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53464 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53465 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53466
9191c04a
UD
53467 [BZ #13021]
53468 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53469 installed.
53470
bba33c28
UD
53471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53472 typo.
53473 (_dl_x86_64_save_sse): Likewise.
53474
90f139dd
UD
534752011-07-22 Ulrich Drepper <drepper@gmail.com>
53476
1aae088a
UD
53477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53478 OSXSAVE.
53479 (_dl_x86_64_save_sse): Likewise.
53480
8e2045f5
UD
53481 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53482
90f139dd
UD
53483 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53484
1d002f25
AS
534852011-07-21 Andreas Schwab <schwab@redhat.com>
53486
53487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53488 change.
53489 (_dl_x86_64_save_sse): Use correct AVX check.
53490
21137f89
UD
534912011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53492
53493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53494 bug in strncpy/strncat.
53495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53496
a65c0b7a
UD
534972011-07-21 Ulrich Drepper <drepper@gmail.com>
53498
53499 * string/tester.c (test_strcat): Add tests for different alignments
53500 of source and destination.
53501 (test_strncat): Likewise.
53502
6986b98a
UD
535032011-07-20 Ulrich Drepper <drepper@gmail.com>
53504
90bb2039
UD
53505 [BZ #12852]
53506 * posix/glob.c (glob): Check passed in values before using them in
53507 expressions to avoid some overflows.
53508 (glob_in_dir): Likewise.
53509
5644ef54
UD
53510 [BZ #13007]
53511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53512 check for AVX enablement so that we don't crash with old kernels and
53513 new hardware.
53514 * elf/tst-audit4.c: Add same checks here.
53515 * elf/tst-audit6.c: Likewise.
53516
53517 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53518
bfc9dc9b
AS
535192011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53520
53521 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53522
702e64bb
UD
535232011-07-20 Ulrich Drepper <drepper@gmail.com>
53524
53525 * po/cs.po: Update from translation team.
53526 * po/bg.po: Likewise.
53527
295e904f
MP
535282011-07-12 Marek Polacek <mpolacek@redhat.com>
53529
53530 * misc/sys/cdefs.h: Add support for const attribute.
53531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53532 to gnu_dev_{major,minor,makedev} functions.
53533
3ff94596
MP
535342011-07-20 Marek Polacek <mpolacek@redhat.com>
53535
53536 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53537
28b59fca
AS
535382011-07-20 Andreas Schwab <schwab@redhat.com>
53539
53540 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53541 strlen results.
53542
19df733e
AK
535432011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53544
53545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53546 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53547 register in order to avoid conflicts with the soft frame pointer
53548 being held in r11 when necessary.
53549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53550 (INTERNAL_VSYSCALL_NCS): Likewise.
53551
c8835729
MP
535522011-07-14 Marek Polacek <mpolacek@redhat.com>
53553
53554 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53555 * elf/dl-fini.c (_dl_fini): Adjust caller.
53556 * elf/dl-close.c (_dl_close_worker): Likewise.
53557 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53558
b902330c
MP
535592011-07-15 Marek Polacek <mpolacek@redhat.com>
53560
8991e135
MP
53561 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53562 "aux_cache->nlibs < 0".
53563
b902330c
MP
53564 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53565 in the reload-count case.
53566
99710781
LD
535672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53568
53569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53570 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53571 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53572 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53573 * sysdeps/x86_64/multiarch/strcat.S: New file.
53574 * sysdeps/x86_64/multiarch/strncat.S: New file.
53575 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53577 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53578 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53580 (USE_AS_STRCAT): Define.
53581 Add strcat and strncat support.
53582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53584 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53585 * string/strncat.c: Update.
53586 (USE_AS_STRNCAT): Define.
53587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53588 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53589 and i7.
53590 * sysdeps/x86_64/multiarch/init-arch.h
53591 (bit_Prefer_PMINUB_for_stringop): New.
53592 (index_Prefer_PMINUB_for_stringop): Likewise.
53593 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53594 bit_Prefer_PMINUB_for_stringop.
53595
7dc6bd90
UD
535962011-07-19 Ulrich Drepper <drepper@gmail.com>
53597
53598 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53599 buffer64.
53600 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53601 of casting of buffer.
53602 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53603 buffer32 and buffer64.
53604 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53605 writes instead of casting of buffer.
53606 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53607 buffer32.
53608 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53609 casting of buffer.
53610
e0e72284
AS
536112011-07-19 Andreas Schwab <schwab@redhat.com>
53612
53613 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53614
feb1eb0b
UD
536152011-07-19 Ulrich Drepper <drepper@gmail.com>
53616
53617 * nscd/nscd.c (termination_handler): Don't do anything for a database
53618 if it has not yet been initialized.
53619
298711ff
UD
536202011-07-18 Ulrich Drepper <drepper@gmail.com>
53621
53622 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53623
536242011-07-15 Marek Polacek <mpolacek@redhat.com>
53625
53626 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53627
f9d68389
UD
536282011-07-18 Ulrich Drepper <drepper@gmail.com>
53629
53630 * po/nl.po: Update from translation team.
53631 * po/sv.po: Likewise.
53632
db290cf5
RM
536332011-07-16 Roland McGrath <roland@hack.frob.com>
53634
53635 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53636 now disallowed by GCC.
5c550700 53637
fd5e21c7
RM
53638 * configure.in (use-default-link): Default to yes if a test -shared
53639 link meets our qualifications.
53640 * configure: Regenerated.
53641
5c550700
RM
53642 * config.make.in (output-format): New variable.
53643 * configure.in: Check for ld --print-output-format support.
53644 * configure: Regenerated.
53645 * Makerules ($(common-objpfx)format.lds)
53646 [$(output-format) != unknown]: Just use $(output-format),
53647 instead of the linker-script munging.
53648
9fa2c032
RM
536492011-07-14 Roland McGrath <roland@hack.frob.com>
53650
a6928d51
RM
53651 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53652 of $(common-objpfx)shlib.lds.
53653 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53654
661607b3
RM
53655 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53656 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53657
9fa2c032
RM
53658 * configure.in (-z relro check): Adjust test code to add a large
53659 writable data section after it.
53660 * configure: Regenerated.
53661
defe9061
RM
536622011-07-11 Roland McGrath <roland@hack.frob.com>
53663
53664 * configure.in (-z relro check): Fix test code to make the variable
53665 truly const.
53666 * configure: Regenerated.
53667
319b9ad4
UD
536682011-07-11 Ulrich Drepper <drepper@gmail.com>
53669
53670 * nscd/nscd.h (struct traced_file): Define.
53671 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53672 elements. Add traced_files.
53673 (inotify_fd): Declare.
53674 (register_traced_file): Declare.
53675 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53676 (inotify_fd): Export.
53677 (resolv_conf_descr): Remove.
53678 (nscd_init): Move inotify descriptor creation to main.
53679 Don't register files for notification here.
53680 (register_traced_file): New function.
53681 (invalidate_cache): Don't use reset_res to determine whether to call
53682 res_init, go through the list of registered files.
53683 (main_loop_poll): The inotify descriptors are now stored in the
53684 structures for the traced files.
53685 (main_loop_epoll): Likewise
53686 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53687 to __nss_disable_nscd.
53688 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53689 for a database anymore. Check the records for all the registered
53690 files instead.
53691 * nss/Makefile (libnss_files-routines): Add files-init.
53692 (libnss_db-routines): Add db-init.
53693 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53694 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53695 * nss/nss_db/db-init.c: New file.
53696 * nss/nss_files/files-init.c: New file.
53697 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53698 __nss_lookup_function.
53699 (__nss_lookup_function): Call nss_load_library.
53700 (nss_load_all_libraries): New function.
53701 (__nss_disable_nscd): Take parameter with callback function for files
53702 to register. Set is_nscd. Load all the DSOs for the NSS modules
53703 used for the cached services.
53704 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53706 options for features to all the files in nscd.
53707
53708 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53709
23bee3e8
RM
537102011-07-10 Roland McGrath <roland@hack.frob.com>
53711
53712 * csu/elf-init.c (__libc_csu_init): Comment typo.
53713
46a5b7f0
UD
537142011-07-09 Ulrich Drepper <drepper@gmail.com>
53715
53716 * po/pl.po: Update from translation team.
53717 * po/ja.po: Likewise.
53718 * po/ru.po: Likewise.
53719 * po/ko.po: Likewise.
53720 * po/fr.po: Likewise.
53721
d30cf5bb
RM
537222011-07-09 Roland McGrath <roland@hack.frob.com>
53723
113ddea4
RM
53724 * configure.in (.ctors/.dtors header and trailer check):
53725 Use an empirical test on a built program.
53726 * configure: Regenerated.
53727
574920b4
RM
53728 * configure.in (-z relro check): Use an empirical test on a built DSO.
53729 Detect, but do not require, on ia64.
53730 * configure: Regenerated.
53731
d30cf5bb
RM
53732 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53733 Update tests that use readelf to use $READELF instead.
53734 * configure: Regenerated.
53735
8538fdb3
UD
537362011-07-08 Ulrich Drepper <drepper@gmail.com>
53737
53738 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53739 if the result is not used.
53740
04d08991
AJ
537412011-07-05 Andreas Jaeger <aj@suse.de>
53742
53743 [BZ#9696]
53744 * stdlib/tst-strtod.c: Add testcase.
53745
de283087
AD
537462011-07-07 Ulrich Drepper <drepper@gmail.com>
53747
4e5f31c8 53748 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53749 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53750 The latter has a higher limit. Take additional parameter to pass to
53751 the new function.
53752 (__pathconf): Pass file to __statfs_link_max.
53753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53754 __statfs_link_max.
53755 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53756 __statfs_link_max.
53757
de283087
AD
53758 [BZ #12868]
53759 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53760 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53761 Handle Lustre.
53762 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53763 (__statfs_filesize_max): Likewise.
53764 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53765
c75fa153
AJ
537662011-07-05 Andreas Jaeger <aj@suse.de>
53767
53768 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53769
1a544854
UD
537702011-07-06 Marek Polacek <mpolacek@redhat.com>
53771
53772 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53773 `status' variable.
53774 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53775 Likewise.
53776
6f0eec67
UD
537772011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53778
53779 * Makefile (strop-tests): Add strncat.
53780 * string/test-strncat.c: New file.
53781
aae30307
UD
537822011-06-30 Marek Polacek <mpolacek@redhat.com>
53783
53784 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53785
c0cfb5eb
UD
537862011-06-21 Andreas Jaeger <aj@suse.de>
53787
53788 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53789 Copy rule from iconvdata/Makefile.
53790
01636b21
UD
537912011-07-06 Ulrich Drepper <drepper@gmail.com>
53792
53793 [BZ #12922]
53794 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53795 but no long options are defined, just return 'W'.
53796
9895c8bc
UD
537972011-06-22 Marek Polacek <mpolacek@redhat.com>
53798
53799 [BZ #9696]
53800 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53801
5d4cf042
UD
538022011-07-06 Ulrich Drepper <drepper@gmail.com>
53803
53804 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53805 netgroups to read.
960e5535 53806 (innetgr): Likewise.
5d4cf042 53807
751eb97e
RM
538082011-07-05 Roland McGrath <roland@hack.frob.com>
53809
53810 * config.make.in (install_root): Default to $(DESTDIR).
53811
f15f1e45
UD
538122011-07-05 Ulrich Drepper <drepper@gmail.com>
53813
53814 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53815
4e34ac6a
RM
538162011-07-02 Roland McGrath <roland@hack.frob.com>
53817
5e9b6af4
RM
53818 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53819
84f9ea0f
RM
53820 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53821 containing directory rather than embedding absolute directory names.
53822
ea5ee9f7
RM
53823 * scripts/check-local-headers.sh: Rewritten using awk.
53824 Match by word, not by line. Print error messages for matches.
53825 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53826
1b74661a
RM
53827 * Makerules [shlib-lds-flags empty]:
53828 ($(common-objpfx)libc_pic.opts): New target.
53829 ($(common-objpfx)libc_pic.os.clean): New target.
53830 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53831
53832 * config.make.in (OBJCOPY): New variable.
53833 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53834 * configure: Regenerated.
53835
f781ef40
RM
53836 * config.make.in (use-default-link): New variable.
53837 * configure.in (use_default_link): Grok --with-default-link to set it.
53838 * configure: Regenerated.
53839 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53840 (shlib-lds, shlib-lds-flags): Define to empty.
53841
2d4fa81e
RM
53842 * Makerules (shlib-lds): New variable.
53843 (shlib-lds-flags): New variable.
53844 (build-shlib, build-moduile, build-module-asneeded): Use it.
53845 ($(common-objpfx)libc.so): Use $(shlib-lds).
53846 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53847 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53848
31fffa6b
RM
53849 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53850 DT_FLAGS/DT_FLAGS_1 with zero flags.
53851
4e34ac6a
RM
53852 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53853 linker script munging.
53854
fcfc776b
UD
538552011-07-02 Ulrich Drepper <drepper@gmail.com>
53856
53857 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53858 as 128-bit value.
53859 * crypt/sha512.c (sha512_process_block): Perform total addition using
53860 128-bit if possible.
53861 (__sha512_finish_ctx): Likewise.
53862 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53863 as 64-bit value.
53864 * crypt/sha256.c (SWAP64): Define.
53865 (sha256_process_block): Perform total addition using 64-bit if
53866 possible.
53867 (__sha256_finish_ctx): Likewise.
53868
99231d9a
UD
538692011-07-01 Ulrich Drepper <drepper@gmail.com>
53870
53871 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53873 * nscd/hstcache.c (cache_addhst): Likewise.
53874 * nscd/grpcache.c (cache_addgr): Likewise.
53875 * nscd/aicache.c (addhstaiX): Likewise
53876 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53877
445b4a53
TK
538782011-07-01 Thorsten Kukuk <kukuk@suse.de>
53879
53880 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53882 * nscd/hstcache.c (cache_addhst): Likewise.
53883 * nscd/grpcache.c (cache_addgr): Likewise.
53884 * nscd/aicache.c (addhstaiX): Likewise
53885
6d4d8e8e
AS
538862011-07-01 Andreas Schwab <schwab@redhat.com>
53887
53888 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53889 domain only when needed.
53890
89f654c5
AS
538912011-06-30 Andreas Schwab <schwab@redhat.com>
53892
53893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53894 is always restored.
53895
cf3b23ff
UD
538962011-06-29 Ulrich Drepper <drepper@gmail.com>
53897
53898 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53899 are re-adding the entry.
53900 * nscd/servicescache.c (cache_addserv): Likewise.
53901
751626f9
AJ
539022011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53903
53904 * sysdeps/generic/dl-irel.h: fix protection against multiple
53905 inclusions.
53906 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53907
9113ea1f
UD
539082011-06-28 Ulrich Drepper <drepper@gmail.com>
53909
5c0b8d90
UD
53910 [BZ #12935]
53911 * malloc/memusage.sh: Fix quoting in message.
53912 * debug/xtrace.sh: Likewise.
53913
9113ea1f
UD
53914 * configure.in: Remove support for --experimental-malloc option, make
53915 it the default.
53916 * config.make.in: Likewise.
53917 * malloc/Makefile: Likewise.
53918
a4172181
AS
539192011-06-27 Andreas Schwab <schwab@redhat.com>
53920
53921 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53922 two-byte characters.
53923
78a7eee7
RM
539242011-06-27 Roland McGrath <roland@hack.frob.com>
53925
62bede13
RM
53926 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53927 AC_CACHE_CHECK invocation.
53928 * configure: Regenerated.
53929
78a7eee7
RM
53930 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53931
5ce33a62
UD
539322011-06-27 Ulrich Drepper <drepper@gmail.com>
53933
034807a9
UD
53934 [BZ #12350]
53935 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53936 bit from old_res_options.
53937
4902da17
UD
53938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53939
5ce33a62
UD
53940 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53941 value type for setfct.
53942
c2344f56
L
539432011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53944
53945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53946 __gettimeofday instead of gettimeofday.
53947
68468076
UD
539482011-06-26 Ulrich Drepper <drepper@gmail.com>
53949
53950 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53951
acb0d739
L
539522011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53953
53954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53955
53956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53957 info.
53958
8912479f
L
539592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53960
53961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53962 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53963 strcpy-sse2-unaligned strncpy-sse2-unaligned
53964 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53965 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53966 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53967 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53968 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53969 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53971 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53972 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53973 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53974 (STRCPY): Support SSE2 and SSSE3 versions.
53975
d5495a11
UD
539762011-06-24 Ulrich Drepper <drepper@gmail.com>
53977
53978 [BZ #12874]
53979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53980 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53981 kernels which artificially limit size of requests.
53982
0b1cbaae
L
539832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53984
53985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53986 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53987 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53988 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53989 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53990 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53991 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53992 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53993 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53995 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53996 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53997 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53998 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53999 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54001 Enable unaligned load optimization for Intel Core i3, i5 and i7
54002 processors.
54003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54004 Define.
54005 (index_Fast_Unaligned_Load): Define.
54006 (HAS_FAST_UNALIGNED_LOAD): Define.
54007
07f494a0
MP
540082011-06-23 Marek Polacek <mpolacek@redhat.com>
54009
54010 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54011
fa3fc0fe
UD
540122011-06-22 Ulrich Drepper <drepper@gmail.com>
54013
54014 [BZ #12907]
54015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54016 until it is clear that the information is realy needed.
54017 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54018
e12df166
AS
540192011-06-22 Andreas Schwab <schwab@redhat.com>
54020
54021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54022
852eb34d
UD
540232011-06-22 Ulrich Drepper <drepper@gmail.com>
54024
84e2a551
UD
54025 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54026 /sys/devices/system/cpu/online if it is usable.
54027
852eb34d
UD
54028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54029 reading the information from the /proc filesystem to once a second.
54030
6e502e19
UD
540312011-06-21 Andreas Jaeger <aj@suse.de>
54032
54033 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54034 NULL after inclusion of kernel headers.
54035
75d39ff2
UD
540362011-06-21 Ulrich Drepper <drepper@gmail.com>
54037
51f9aa6a
UD
54038 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54039 calls to internal_setent.
54040
c0244a9d
UD
54041 [BZ #12885]
54042 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54043 addresses using gethostbyname4_r ignore IPv4 addresses.
54044
c5e3c2ae
UD
54045 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54046 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54047
75d39ff2
UD
54048 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54049
42675c6f
DM
540502011-06-20 David S. Miller <davem@davemloft.net>
54051
54052 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54053 inclusions.
54054 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54055
54056 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54057 (elf_irel): Use it.
54058 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54059 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54060 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54061 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54062 * sysdeps/x86_64/dl-irel.h: Likewise.
54063
54064 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54065 * elf/dl-sym.c: Likewise.
54066
57912a71
UD
540672011-06-15 Ulrich Drepper <drepper@gmail.com>
54068
54069 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54070 need to dereference resplen2.
54071
ee22793d
AS
540722011-06-14 Andreas Schwab <schwab@redhat.com>
54073
54074 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54075
a9e836b0
UD
540762011-06-15 Ulrich Drepper <drepper@gmail.com>
54077
77fb9117
UD
54078 * Makeconfig: Define vardbdir and inst_vardbdir.
54079 * nss/Makefile: Add rules to install db-Makefile.
54080
40c1b22c
UD
54081 * nss/nss_db/db-XXX.c: Cleanup.
54082
9f2da732
UD
54083 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54084 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54085 GLIBC_PRIVATE.
54086 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54087 * nss/makedb.c: Implement -g option to specify that value strings
54088 are generated and should not be added to table iterated over for
54089 get*ent calls.
54090 * nss/nss_db/db-initgroups.c: New file.
54091
82e9a1f7
UD
54092 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54093 interface.
54094
c41af17e
UD
54095 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54096 (internal_getgrouplist): Adjust to name change.
54097 Update use_initgroups_entry if this is not the first call.
54098 * nss/databases.def: Add initgroups entry.
54099
a9e836b0
UD
54100 * nss/makedb.c (compute_tables): Check result of multiple hash table
54101 sizes to minimize maximum chain length.
54102
2666d441
UD
541032011-06-14 Ulrich Drepper <drepper@gmail.com>
54104
54105 * Versions.def: Add entry for libnss_db.
54106 * shlib-versions: Likewise.
54107 * nss/Makefile: Add rules to build libnss_db.
54108 * nss/Versions: Add libnss_db information. Organize libnss_files
54109 entries better.
54110 * nss/db-Makefile: Add gshadow support. Change rules for the new
54111 makedb progra. Some minor improvements to generate smaller files.
54112 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54113 here from...
54114 * nss/makedb.c: ...here.
54115 Improve database format to be smaller and require less memory at
54116 runtime.
54117 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54118 db anymore.
54119 * nss/nss_db/db-netgrp.c: Likewise.
54120 * nss/nss_db/db-open.c: Likewise.
54121 * nss/nss_files/flies-XXX.x: Adjust comments.
54122 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54123 * nss/nss_files/files-grp.c: Likewise.
54124 * nss/nss_files/files-hosts.c: Likewise.
54125 * nss/nss_files/files-network.c: Likewise.
54126 * nss/nss_files/files-proto.c: Likewise.
54127 * nss/nss_files/files-pwd.c: Likewise.
54128 * nss/nss_files/files-rpc.c: Likewise.
54129 * nss/nss_files/files-service.c: Likewise.
54130 * nss/nss_files/files-sgrp.c: Likewise.
54131 * nss/nss_files/files-spwd.c: Likewise.
54132 * nss/nss_db/db-alias.c: Removed.
54133 * nss/nss_db/dummy-db.h: Removed.
54134
9ee76b5a
UD
541352011-06-02 Ulrich Drepper <drepper@gmail.com>
54136
54137 * nss/makedb.c: Rewritten to not use database library.
54138 * nss/Makefile: Update to build new makedb program.
54139
c71ca1f8
AJ
541402011-06-14 Andreas Jaeger <aj@suse.de>
54141
54142 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54143 memset declaration.
54144
3154bfb8
UD
541452011-06-10 Andreas Schwab <schwab@redhat.com>
54146
54147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54148 tmpbuf.
54149
b350afab
RM
541502011-06-10 Roland McGrath <roland@hack.frob.com>
54151
decd4e50
RM
54152 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54153 * elf/Makefile ($(objpfx)ld.so): Likewise.
54154
5615eaf2
RM
54155 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54156 Don't list ld.so twice in dependencies.
54157
54158 * posix/bug-regex31.c: Include <stdlib.h>.
54159
54160 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54161
54162 * nis/nss_compat/compat-spwd.c
54163 (getspent_next_nss_netgr): Remove unused variable.
54164 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54165
54166 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54167 nonmembers" output to use the right array.
54168
54169 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54170
54171 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54172
54173 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54174 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54175 * catgets/gencat.c (read_input_file): Likewise.
54176 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54177
54178 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54179 variable definition inside #if's controlling its use.
54180
54181 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54182
54183 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54184
54185 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54186
54187 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54188 unreachable code.
54189
54190 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54191
b68e08db
RM
54192 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54193 * configure: Regenerated.
54194
b350afab
RM
54195 * Makerules: Revert last change.
54196 * elf/Makefile: Likewise.
54197
28368601
RM
541982011-06-09 Roland McGrath <roland@hack.frob.com>
54199
54200 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54201 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54202 (reloc-link): Likewise.
54203
11988f8f
UD
542042011-06-09 Ulrich Drepper <drepper@gmail.com>
54205
54206 * elf/Makefile: Add rules to build pldd.
54207 * elf/pldd.c: New file.
54208 * elf/pldd-xx.c: New file.
54209
e80fab37
UD
542102011-06-07 Ulrich Drepper <drepper@gmail.com>
54211
54212 * version.h: Update for 2.15 development version.
54213
9b849836
DM
542142011-06-07 David S. Miller <davem@davemloft.net>
54215
54216 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54217 ifuncs.
54218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54219 elf_machine_lazy_rel): Likewise.
54220 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54221 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54222 elf_machine_lazy_rel): Likewise.
54223 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54224 dl_hwcap via passed in argument.
54225 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54226 Likewise.
54227
5a31b283
AK
542282011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54229
54230 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54231
069e52f8
RM
542322011-06-06 Roland McGrath <roland@hack.frob.com>
54233
54234 [BZ #12849]
54235 * manual/fdl-1.1.texi: New file, verbatim from:
54236 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54237 * manual/lgpl-2.1.texi: New file, verbatim from:
54238 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54239 * manual/Makefile (licenses): New variable, list those new file names.
54240 (texis): Use it.
54241 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54242
54243 * manual/fdl.texi: File removed.
54244 * manual/lesser.texi: File removed.
54245 * manual/libc.texinfo (Copying, Documentation License):
54246 Use new @include file names, put @appendix directive before @include.
54247
f16846a5
JJ
542482011-06-04 Jakub Jelinek <jakub@redhat.com>
54249
54250 [BZ #12841]
54251 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54252 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54253 (mq_open): Add __NTH.
54254
3d29045b
L
542552011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54256
54257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54258 Assume Intel Core i3/i5/i7 processor if AVX is available.
54259
8c297311
UD
542602011-05-31 Ulrich Drepper <drepper@gmail.com>
54261
54262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54263 typo.
54264
c8fc0c91
UD
542652011-05-31 Andreas Schwab <schwab@redhat.com>
54266
54267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54268 memory. Use alloca_account. Fix memory leak when retrying.
54269
5b27a807
UD
542702011-05-31 Ulrich Drepper <drepper@gmail.com>
54271
356f8bc6
UD
54272 * version.h (RELEASE): Bump for 2.14 release.
54273 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54274
5b27a807
UD
54275 * config.make.in (RANLIB): Remove entry.
54276
01f16ab0
UD
542772011-05-30 Ulrich Drepper <drepper@gmail.com>
54278
41fce8bd
UD
54279 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54280 (libc.pot): Work around missing support for .ksh extension in xgettext.
54281
4769ae77
UD
54282 [BZ #12684]
54283 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54284 if both request failed.
54285 (send_dg): In case of server errors clear resplen or *resplen2.
54286
6b1e7d19
UD
54287 [BZ #12454]
54288 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54289 when there are multiple maps.
54290 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54291 (_dl_fini): Remove test here.
54292
01f16ab0
UD
54293 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54294
b1ebd700
UD
542952011-05-29 Ulrich Drepper <drepper@gmail.com>
54296
7ae22829
UD
54297 [BZ #12350]
54298 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54299 bit from old_res_options.
54300 (gaih_inet): Likewise.
54301
553149f6 54302 [BZ #11099]
18a84741 54303 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54304 as signed.
54305
652ffab1
UD
54306 * resolv/res_init.c (res_setoptions): Make the code more compact.
54307
16985fd0
UD
54308 [BZ #11558]
54309 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54310 set RES_USEVC.
54311
0464f746
UD
54312 [BZ #11634]
54313 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54314
7d17596c
UD
54315 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54316
cf6bbbd7
UD
54317 [BZ #11781]
54318 * malloc/malloc.h: Declare malloc hook variables as volatile.
54319
13f1ab36
UD
54320 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54321 in last patch.
54322
b1ebd700
UD
54323 [BZ #11799]
54324 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54325 raise in the comment.
80e2212d
UD
54326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54328 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54329
ce67228d
UD
543302011-05-28 Ulrich Drepper <drepper@gmail.com>
54331
8887a920
UD
54332 [BZ #12811]
54333 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54334 grow the buffers more if it already has to be sufficient.
54335 (build_wcs_upper_buffer): Likewise.
54336 * posix/regexec.c (check_matching): Likewise.
54337 (clean_state_log_if_needed): Likewise.
54338 (extend_buffers): Don't enlarge buffers beyond size of the input
54339 buffer.
54340 Patches mostly by Emil Wojak <emil@wojak.eu>.
54341 * posix/bug-regex32.c: New file.
54342 * posix/Makefile (tests): Add bug-regex32.
54343
4f031072
UD
54344 * locale/findlocale.c (_nl_find_locale): Return right away if
54345 _nl_explode_name failed.
54346 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54347
d0478f0c
UD
54348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54349
de81b246
UD
54350 * debug/xtrace.sh: Unify messages.
54351 * malloc/memusage.sh: Likewise.
54352
c738465a
UD
54353 [BZ #12813]
54354 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54355 time symbol from vDSO. Substitute with vsyscall if not available.
54356 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54357 __vdso_time.
54358
f1f929d7
UD
54359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54360 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54361 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54362 Add sendmmsg and internal_sendmmsg.
54363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54364 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54366
ce67228d
UD
54367 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54368 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54370
e57420c6
UD
543712011-05-27 Ulrich Drepper <drepper@gmail.com>
54372
a8509ca5
UD
54373 [BZ #12813]
54374 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54375 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54376 available.
54377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54378 __vdso_getcpu.
54379
e57420c6
UD
54380 [BZ #12814]
54381 * iconvdata/Makefile (tests): Add bug-iconv9.
54382 * iconvdata/bug-iconv9.c: New file.
54383
4d07db15
AS
543842011-05-27 Andreas Schwab <schwab@redhat.com>
54385
54386 [BZ #12814]
54387 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54388
ea486f69
JJ
543892011-05-25 Jakub Jelinek <jakub@redhat.com>
54390
54391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54392 (struct user_regs_struct): Change intcs field back to cs.
54393
6f038433
UD
543942011-05-25 Ulrich Drepper <drepper@gmail.com>
54395
54396 * po/ja.po: Update from translation team.
54397
67f86a25
UD
543982011-05-23 Ulrich Drepper <drepper@gmail.com>
54399
54400 [BZ #12795]
54401 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54402 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54403
def7fbd6
AS
544042011-05-20 Andreas Schwab <schwab@redhat.com>
54405
54406 * stdlib/longlong.h: Update from GCC.
54407
f50ef8f1
AS
544082011-05-23 Andreas Schwab <schwab@redhat.com>
54409
54410 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54411 parameter name.
54412 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54413 Add parameter name.
54414 (__sysconf): Pass it down.
54415
de7ce8f1
UD
544162011-05-22 Ulrich Drepper <drepper@gmail.com>
54417
f2962a71
UD
54418 [BZ #12671]
54419 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54420 some situations.
54421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54422 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54423 add in in __libc_use_alloca calls. Adjust callers.
54424 (glob): Use malloc in some situations.
54425
de7ce8f1
UD
54426 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54427 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54428 pltexit.
54429
aec84f53
UD
544302011-05-21 Ulrich Drepper <drepper@gmail.com>
54431
05bb4a68
UD
54432 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54433 and CLOCK_BOOTTIME_ALARM.
54434
7ea72f99
UD
54435 [BZ #12782]
54436 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54437 is returned.
54438
7e4afad5
UD
54439 * string/_strerror.c (__strerror_r): Print negative errors as signed
54440 numbers.
54441
8e211fec
UD
54442 [BZ #12777]
54443 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54444 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54445 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54446
f7d82dc9
UD
54447 * configure.in: Fix typo in redirection and correct removal of test
54448 files in two cases.
54449
cc9e536d
UD
54450 [BZ #12788]
54451 * locale/setlocale.c (new_composite_name): Fix test to check for
54452 identical name of all categories.
54453
aec84f53
UD
54454 [BZ #12792]
54455 * libio/filedoalloc.c (local_isatty): New function.
54456 (_IO_file_doallocate): Use local_isatty.
54457 * stdio-common/perror.c (perror): In case a new stream is used
54458 forward the stream error.
54459 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54460 error flag.
54461
78e64fdc
RT
544622011-05-20 Ulrich Drepper <drepper@gmail.com>
54463
34a9094f
UD
54464 [BZ #11869]
54465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54466 alloca.
54467 * include/alloca.h (extend_alloca_account): Define.
54468
78e64fdc
RT
54469 [BZ #11857]
54470 * posix/regex.h: Fix comments with documentation of user-accessible
54471 fields after compilation and describe correct free'ing of pattern
54472 after re_compile_pattern.
54473 Patch by Reuben Thomas <rrt@sc3d.org>.
54474
457bddfc
RA
544752011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54476
54477 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54478 and -mno-altivec to prevent the compiler from using Altivec and/or
54479 VSX instructions when the corresponding registers are not available.
54480
a4527b51
AS
544812011-05-19 Andreas Schwab <schwab@redhat.com>
54482
54483 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54484
ed690b2f
UD
544852011-05-19 Ulrich Drepper <drepper@gmail.com>
54486
54487 * libio/freopen.c (freopen): Use __dup2, not dup2.
54488 * libio/freopen64.c (freopen64): Likewise.
54489
8db73634
L
544902011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54491
54492 [BZ #12775]
54493 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54494 * math/Makefile (tests): Add test-powl.
54495 (CFLAGS-test-powl.c): Define.
54496 * math/test-powl.c: New file.
54497
0a197a9d
L
544982011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54499
54500 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54501
ee30c380
UD
545022011-05-17 Ulrich Drepper <drepper@gmail.com>
54503
54504 [BZ #11837]
54505 * iconvdata/gb18030.c: Update to GB18020-2005.
54506
6ce75379
UD
545072011-05-16 Ulrich Drepper <drepper@gmail.com>
54508
a4b89fd8
AR
54509 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54510 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54511 Patch by Aharon Robbins <arnold@skeeve.com>.
54512
ea389b12
UD
54513 [BZ #11892]
54514 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54515 on the stack.
54516
68a3f91f
UD
54517 [BZ #11895]
54518 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54519 through underflows.
54520
15cc7dd1
UD
54521 [BZ #12766]
54522 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54523 point to strings before performing equality test for error_one_per_line
54524 mode.
54525
f3799213
UD
54526 [BZ #11697]
54527 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54528
d79a9c94
UD
54529 [BZ #11820]
54530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54531 (struct user_fpregs_struct): Avoid __uint*_t types.
54532
56e5eb46
UD
54533 [BZ #6420]
54534 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54535 symbol info. Use it instead of calling _dl_addr locally.
54536 (lock_and_info): New function.
54537 (tr_freehook): Call lock_and_info and pass symbol info as additional
54538 parameter to tr_where.
54539 (tr_mallochook): Likewise.
54540 (tr_reallochook): Likewise.
54541 (tr_memalignhook): Likewise.
54542
6ce75379
UD
54543 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54544 used and couldn't be at all thread-safe.
54545
f8a3b5bf
UD
545462011-05-15 Ulrich Drepper <drepper@gmail.com>
54547
94b7cc37
UD
54548 * libio/freopen.c (freopen): Don't close old file descriptor
54549 before the new one is opened. Instead dup the new file descriptor
54550 to the old one after the new stream is created.
54551 * libio/freopen64.c (freopen64): Likewise.
54552 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54553 * libio/fileops.c (_IO_new_file_close_it): Handle new
54554 _IO_FLAGS2_NOCLOSE flag.
54555 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54556 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54557 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54558 _IO_FLAGS2_NOCLOSE flag.
54559 * include/unistd.h: Add hidden_proto for dup3.
54560 Define __have_dup3.
54561 * io/dup3.c: Define hidden symbol.
54562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54563
bd25564e
UD
54564 [BZ #7101]
54565 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54566 when an incomplete long option is used.
54567 * posix/tst-getopt_long1.c: New file.
54568 * posix/Makefile (tests): Add tst-getopt_long1.
54569
c84cfef4
UD
54570 [BZ #10138]
54571 * scripts/config.guess: Update from autoconf-2.68.
54572 * scripts/config.sub: Likewise.
54573
3b85df27
UD
54574 [BZ #10157]
54575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54576 tests into ...
54577 (has_cpuclock): ...this. New function.
54578 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54579 macro here based on has_cpuclock code.
54580
15a856b1
UD
54581 [BZ #10149]
54582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54583 First byte (not low byte) is now always NUL.
54584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54585
05f399e6
UD
54586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54587 Use non-cancelable interfaces.
54588
10a52685 54589 [BZ #9809]
94ecc67d
UD
54590 * locale/iso-639.def: Add entry for Sorani.
54591
f8a3b5bf
UD
54592 [BZ #11901]
54593 * include/stdlib.h: Move include protection to the right place.
54594 Define abort_msg_s. Declare __abort_msg with it.
54595 * stdlib/abort.c (__abort_msg): Adjust type.
54596 * assert/assert.c (__assert_fail_base): New function. Majority
54597 of code from __assert_fail. Allocate memory for __abort_msg with
54598 mmap.
54599 (__assert_fail): Now call __assert_fail_base.
54600 * assert/assert-perr.c: Remove bulk of implementation. Use
54601 __assert_fail_base.
54602 * include/assert.hL Declare __assert_fail_base.
54603 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54604 mmap.
54605 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54606
1af4e298
UD
546072011-05-14 Ulrich Drepper <drepper@gmail.com>
54608
f8a3b5bf 54609 [BZ #11952]
d26dfc60
MG
54610 [BZ #12453]
54611 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54612 until all modules are registered in the DTV.
54613 * elf/Makefile: Add rules to build and run tst-tls19.
54614 * elf/tst-tls19.c: New file.
54615 * elf/tst-tls19mod1.c: New file.
54616 * elf/tst-tls19mod2.c: New file.
54617 * elf/tst-tls19mod3.c: New file.
54618 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54619
2fc54d6f
UD
54620 [BZ #12083]
54621 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54622 correctly.
54623
98d76b46
UD
54624 [BZ #12601]
54625 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54626 two-byte sequence errors.
54627 * iconvdata/Makefile (tests): Add bug-iconv8.
54628 * iconvdata/bug-iconv8.c: New file.
54629
da3c19ef
UD
54630 [BZ #12626]
54631 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54632 buf2 definition.
54633
ca408c15
UD
54634 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54635
d6f67f7d
UD
54636 [BZ #12432]
54637 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54638 (dummy_getcfa): New function.
54639 (init): Get _Unwind_GetCFA address, use dummy if not found.
54640 (backtrace_helper): In recursion check, also check whether CFA changes.
54641 (__backtrace): Completely initialize arg.
54642
1af4e298 54643 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54644 storing incomplete byte sequence in state object. Avoid testing for
54645 guaranteed too small input if we know there is enough data available.
1af4e298 54646
da62f81b
AS
546472011-05-11 Andreas Schwab <schwab@redhat.com>
54648
54649 * Makeconfig (+link-pie): Indent.
54650 * Rules (binaries-pie): Define if $(have-fpie) and
54651 $(build-shared).
54652 (binaries-shared): Also filter out $(binaries-pie).
54653 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54654 * nscd/Makefile (others-pie): Add nscd.
54655 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54656 ($(objpfx)nscd): Remove command override.
54657 * login/Makefile (others-pie): Add pt_chown.
54658 ($(objpfx)pt_chown): Remove command override.
54659 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54660 remove command overrides.
54661
fcabc0f8
UD
546622011-05-13 Ulrich Drepper <drepper@gmail.com>
54663
20030ae6
UD
54664 * libio/tst_putwc.c: Fix error messages.
54665
fcabc0f8
UD
54666 [BZ #12724]
54667 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54668 currently writing and seek to current position when not.
54669 * libio/Makefile (tests): Add bug-fclose1.
54670 * libio/bug-fclose1.c: New file.
54671
320a5dc0
PB
546722011-05-12 Ulrich Drepper <drepper@gmail.com>
54673
54674 [BZ #12511]
54675 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54676 don't set DF_1_NODELETE here.
54677 (do_lookup_x): When entering new entry test for copy relocation
54678 and if necessary set DF_1_NODELETE flag.
54679 * elf/tst-unique4.cc: New file.
54680 * elf/tst-unique4.h: New file.
54681 * elf/tst-unique4lib.cc: New file.
54682 * elf/Makefile: Add rules to build and run tst-unique4.
54683 Patch by Piotr Bury <pbury@goahead.com>.
54684
22836f52
UD
546852011-05-11 Ulrich Drepper <drepper@gmail.com>
54686
f574184a
UD
54687 [BZ #12052]
54688 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54689
e1fb097f
UD
54690 [BZ #12625]
54691 * misc/mntent_r.c (addmntent): Flush the stream after the output
54692
22836f52
UD
54693 [BZ #12393]
54694 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54695 (is_trusted_path_normalize): Skip initial colon. Append slash
54696 to empty buffer. Duplicate is_trusted_path code but allow
54697 constructed patch to be prefix.
54698 (is_dst): Allow $ORIGIN followed by /.
54699 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54700 Correct testing of result of is_trusted_path_normalize
54701 (decompose_rpath): Fix warning.
54702
7b3b0b2a
UD
547032011-05-10 Ulrich Drepper <drepper@gmail.com>
54704
54705 [BZ #11257]
54706 * grp/initgroups.c (internal_getgrouplist): When we found the service
54707 list through the initgroups entry in nsswitch.conf do not always
54708 continue on a successful lookup. Don't always use the
eac80ce2 54709 __nss_group_database value if it is set.
7b3b0b2a
UD
54710 * nss/nsswitch.conf (initgroups): Change action for successful db
54711 lookup to continue for compatibility.
54712
2a81eaa5
UD
547132011-05-09 Ulrich Drepper <drepper@gmail.com>
54714
be97a69e
UD
54715 [BZ #11532]
54716 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54717 and CP774 modules.
54718 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54719 and CP774 modules.
54720 * iconvdata/tst-tables.sh: Likewise.
54721 * iconvdata/cp770.c: New file.
54722 * iconvdata/cp771.c: New file.
54723 * iconvdata/cp772.c: New file.
54724 * iconvdata/cp773.c: New file.
54725 * iconvdata/cp774.c: New file.
54726 * iconvdata/testdata/CP770: New file.
54727 * iconvdata/testdata/CP770..UTF8: New file.
54728 * iconvdata/testdata/CP771: New file.
54729 * iconvdata/testdata/CP771..UTF8: New file.
54730 * iconvdata/testdata/CP772: New file.
54731 * iconvdata/testdata/CP772..UTF8: New file.
54732 * iconvdata/testdata/CP773: New file.
54733 * iconvdata/testdata/CP773..UTF8: New file.
54734 * iconvdata/testdata/CP774: New file.
54735 * iconvdata/testdata/CP774..UTF8: New file.
54736
54737 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54738 END CHARMAP line.
54739 * iconvdata/gen-8bit-gap.sh: Likewise.
54740 * iconvdata/gen-8bit.sh: Likewise.
54741
c1e9e399
UD
54742 * locale/iso-639.def: Add ary entry.
54743
24c55fb3 54744 [BZ #11258]
96b4b1b0
UD
54745 * locale/C-translit.h.in: Add U20A1 transliteration.
54746
bdc2f971
KB
54747 [BZ #12178]
54748 * locale/iso-639.def: Add wae entry.
54749 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54750
2952b117
UD
54751 [BZ #12545]
54752 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54753 for n.
54754
2a81eaa5
UD
54755 [BZ #12711]
54756 * locale/C-translit.h.in: Add entry for U20B9.
54757 Patch by pravin.d.s@gmail.com.
54758
28377d1b
UD
547592011-05-08 Ulrich Drepper <drepper@gmail.com>
54760
7fb90fb8
UD
54761 [BZ #12713]
54762 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54763 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54764 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54765 in rtld. Use *stat64.
7fb90fb8 54766 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54767 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54768 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54769 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54770 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54771 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54772 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54773 __fstatat64 macros.
7fb90fb8
UD
54774 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54775 * dirent/rewinddir.c: Add libc_hidden_def.
54776 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54777 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54778
28377d1b
UD
54779 * include/dirent.h (__alloc_dir): Add flags parameter.
54780 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54781 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54782 __alloc_dir.
54783 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54784 from fdopendir if O_CLOEXEC is already set.
54785
66bdbaa4
AM
547862011-03-15 Alan Modra <amodra@gmail.com>
54787
54788 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54789 l_tls_firstbyte_offset non-zero. Save padding offset in
54790 l_tls_firstbyte_offset for later use.
54791 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54792 freeing static tls block.
54793
95721191
JN
547942011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54795
54796 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54797 where #ifdef was intended. The intent is to prevent ARG_MAX from
54798 being defined by the kernel headers.
54799
f87dfb1f
UD
548002011-05-07 Ulrich Drepper <drepper@gmail.com>
54801
54802 [BZ #12734]
54803 * resolv/resolv.h: Define RES_NOTLDQUERY.
54804 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54805 no-tld-query and set RES_NOTLDQUERY.
54806 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54807 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54808 modern BIND to search name as TLD unless forbidden.
54809
47c3cd7a
UD
548102011-05-07 Petr Baudis <pasky@suse.cz>
54811 Ulrich Drepper <drepper@gmail.com>
54812
54813 [BZ #12393]
54814 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54815 (is_trusted_path): ...to here.
c1e9ea35 54816 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54817 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54818 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54819
8a35c912
PP
548202011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54821
54822 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54823 __BEGIN/__END_DECLS.
54824
acd41f47
UD
548252011-05-06 Ulrich Drepper <drepper@gmail.com>
54826
54827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54828 NSS_STATUS_NOTFOUND if no record was found.
54829
597df647
AS
548302011-05-05 Andreas Schwab <schwab@redhat.com>
54831
54832 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54833 (headers-not-in-tirpc): Remove rpc/netdb.h
54834 * resolv/netdb.h: Revert last change.
54835
b9af1301
PP
548362011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54837
54838 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54839 circular dependency between libgcc.a and libc.a.
54840
4e34d5f5
AS
548412011-05-05 Andreas Schwab <schwab@redhat.com>
54842
54843 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54844 * nis/Makefile: Don't install rpcsvc/*.
54845 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54846 instead of <rpc/types.h>.
54847 (MAXHOSTNAMELEN): Define.
54848
00ee369c
AS
548492011-05-03 Andreas Schwab <schwab@redhat.com>
54850
54851 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54852
0b592a30
MB
548532011-04-28 Maciej Babinski <mbabinski@google.com>
54854
54855 [BZ #12714]
54856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54857 gethostbyname4_r when IPv6 results are possible.
54858
6e04cbbe
UD
548592011-05-02 Ulrich Drepper <drepper@gmail.com>
54860
54861 [BZ #12723]
54862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54863 _PC_PIPE_BUF handling.
54864
e4ecafe0
BH
548652011-04-30 Bruno Haible <bruno@clisp.org>
54866
54867 [BZ #12717]
54868 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54869 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54870 to 'int'.
54871 * inet/getnameinfo.c (getnameinfo): Likewise.
54872
125ee683
UD
548732011-04-29 Ulrich Drepper <drepper@gmail.com>
54874
54875 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54876 to groups setting in database lookup.
54877 * nss/nsswitch.conf: Add initgroups entry.
54878
b722481a
EB
548792011-04-22 Ulrich Drepper <drepper@gmail.com>
54880
54881 [BZ #12685]
54882 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54883 mode string.
54884 Patch by Eric Blake <eblake@redhat.com>.
54885
4df46dbd
L
548862011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54887
54888 * sunrpc/Makefile (need-export-routines): Add svc_run.
54889 (routines): Remove svc_run.
54890 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54891 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54892 * sunrpc/svc_run.c (svc_run): Likewise.
54893 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54894
e84142d2
UD
548952011-04-21 Ulrich Drepper <drepper@gmail.com>
54896
54897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54898 problem in reallocation in last patch.
54899
877175d8
UD
549002011-04-20 Ulrich Drepper <drepper@gmail.com>
54901
54902 * sunrpc/Makefile: Move inclusion of Rules.
54903
ab8eed78
UD
549042011-04-19 Ulrich Drepper <drepper@gmail.com>
54905
54906 * nss/nss_files/files-initgroups.c: New file.
54907 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54908 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54909 _nss_files_initgroups_dyn.
54910
e3d8f584
RS
549112011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54912
54913 * elf/elf.h (R_ARM_IRELATIVE): Define.
54914
af190f45
UD
549152011-04-19 Ulrich Drepper <drepper@gmail.com>
54916
54917 * po/ru.po: Update from translation team.
54918
53cf59ef
UD
549192011-04-17 Ulrich Drepper <drepper@gmail.com>
54920
54921 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54922 dependencies.
54923
4c559bcd
MF
549242011-02-06 Mike Frysinger <vapier@gentoo.org>
54925
54926 [BZ #12653]
54927 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54928 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54932
4420675c
AS
549332011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54934
54935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54936 differing bytes.
54937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54940
75ea32ab
UD
549412011-04-17 Ulrich Drepper <drepper@gmail.com>
54942
54943 [BZ #12420]
54944 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54945 storing it.
54946 * stdlib/bug-getcontext.c: New file.
54947 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54948
27390476
AK
549492011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54950
54951 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54952 instructions into .machine "z9-109".
54953 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54954 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54955
10442705
AK
549562011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54957
54958 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54959 between environment variables and auxiliary vector.
54960
7b57bfe5
UD
549612011-04-16 Ulrich Drepper <drepper@gmail.com>
54962
54963 * Makefile: Add rules to build linkobj/libc.so.
54964 * include/libc-symbols.h: Define libc_hidden_nolink.
54965 * include/rpc/auth.h: Mark functions which are to be hidden.
54966 * include/rpc/auth_des.h: Likewise.
54967 * include/rpc/auth_unix.h: Likewise.
54968 * include/rpc/clnt.h: Likewise.
54969 * include/rpc/des_crypt.h: Likewise.
54970 * include/rpc/key_prot.h: Likewise.
54971 * include/rpc/pmap_clnt.h: Likewise.
54972 * include/rpc/pmap_prot.h: Likewise.
54973 * include/rpc/pmap_rmt.h: Likewise.
54974 * include/rpc/rpc_msg.h: Likewise.
54975 * include/rpc/svc.h: Likewise.
54976 * include/rpc/svc_auth.h: Likewise.
54977 * include/rpc/xdr.h: Likewise.
54978 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54979 * nss/Makefile: Likewise.
54980 * sunrpc/Makefile: Don't install headers. Build library with normal
54981 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54982 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54983 for the compat linking library. Remove use of INTDEF/INTUSE.
54984 * sunrpc/auth_none.c: Likewise.
54985 * sunrpc/auth_unix.c: Likewise.
54986 * sunrpc/authdes_prot.c: Likewise.
54987 * sunrpc/authuxprot.c: Likewise.
54988 * sunrpc/clnt_gen.c: Likewise.
54989 * sunrpc/clnt_perr.c: Likewise.
54990 * sunrpc/clnt_raw.c: Likewise.
54991 * sunrpc/clnt_simp.c: Likewise.
54992 * sunrpc/clnt_tcp.c: Likewise.
54993 * sunrpc/clnt_udp.c: Likewise.
54994 * sunrpc/clnt_unix.c: Likewise.
54995 * sunrpc/des_crypt.c: Likewise.
54996 * sunrpc/des_soft.c: Likewise.
54997 * sunrpc/get_myaddr.c: Likewise.
54998 * sunrpc/key_call.c: Likewise.
54999 * sunrpc/key_prot.c: Likewise.
55000 * sunrpc/netname.c: Likewise.
55001 * sunrpc/pm_getmaps.c: Likewise.
55002 * sunrpc/pm_getport.c: Likewise.
55003 * sunrpc/pmap_clnt.c: Likewise.
55004 * sunrpc/pmap_prot.c: Likewise.
55005 * sunrpc/pmap_prot2.c: Likewise.
55006 * sunrpc/pmap_rmt.c: Likewise.
55007 * sunrpc/publickey.c: Likewise.
55008 * sunrpc/rpc_cmsg.c: Likewise.
55009 * sunrpc/rpc_common.c: Likewise.
55010 * sunrpc/rpc_dtable.c: Likewise.
55011 * sunrpc/rpc_prot.c: Likewise.
55012 * sunrpc/rpc_thread.c: Likewise.
55013 * sunrpc/rtime.c: Likewise.
55014 * sunrpc/svc.c: Likewise.
55015 * sunrpc/svc_auth.c: Likewise.
55016 * sunrpc/svc_authux.c: Likewise.
55017 * sunrpc/svc_raw.c: Likewise.
55018 * sunrpc/svc_run.c: Likewise.
55019 * sunrpc/svc_simple.c: Likewise.
55020 * sunrpc/svc_tcp.c: Likewise.
55021 * sunrpc/svc_udp.c: Likewise.
55022 * sunrpc/svc_unix.c: Likewise.
55023 * sunrpc/svcauth_des.c: Likewise.
55024 * sunrpc/xcrypt.c: Likewise.
55025 * sunrpc/xdr.c: Likewise.
55026 * sunrpc/xdr_array.c: Likewise.
55027 * sunrpc/xdr_float.c: Likewise.
55028 * sunrpc/xdr_intXX_t.c: Likewise.
55029 * sunrpc/xdr_mem.c: Likewise.
55030 * sunrpc/xdr_rec.c: Likewise.
55031 * sunrpc/xdr_ref.c: Likewise.
55032 * sunrpc/xdr_sizeof.c: Likewise.
55033 * sunrpc/xdr_stdio.c: Likewise.
55034
e6c61494
UD
550352011-04-10 Ulrich Drepper <drepper@gmail.com>
55036
55037 [BZ #12650]
55038 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55039 * sysdeps/ia64/dl-tls.h: Likewise.
55040 * sysdeps/powerpc/dl-tls.h: Likewise.
55041 * sysdeps/s390/dl-tls.h: Likewise.
55042 * sysdeps/sh/dl-tls.h: Likewise.
55043 * sysdeps/sparc/dl-tls.h: Likewise.
55044 * sysdeps/x86_64/dl-tls.h: Likewise.
55045 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55046
34fe483e
AS
550472011-03-14 Andreas Schwab <schwab@redhat.com>
55048
55049 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55050 rpath element also skip the following colon.
55051 (expand_dynamic_string_token): Add is_path parameter and pass
55052 down to DL_DST_REQUIRED and _dl_dst_substitute.
55053 (decompose_rpath): Call expand_dynamic_string_token with
55054 non-zero is_path. Ignore empty rpaths.
55055 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55056 with zero is_path.
55057
f12a32e6
AS
550582011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55059
55060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55061 Make cancelable.
55062
38a7d692
UD
550632011-04-09 Ulrich Drepper <drepper@gmail.com>
55064
55065 [BZ #12655]
55066 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55067 Patch by Filipe David Manana <fdmanana@apache.org>.
55068
e451d22b
AS
550692011-04-07 Andreas Schwab <schwab@redhat.com>
55070
55071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55072 Maintain aligned stack.
55073 (CHECK_RSP): Remove unused macro.
55074
dedc7c7b
UD
550752011-04-03 Ulrich Drepper <drepper@gmail.com>
55076
55077 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55078 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55079
94521213
UD
550802011-04-02 Ulrich Drepper <drepper@gmail.com>
55081
55082 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55083
8cb700c0 55084 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55085
0354e355
L
550862011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55087
55088 [BZ #12518]
55089 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55090 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55091 * sysdeps/x86_64/memmove.c: New file.
55092 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55093 (memcpy): Renamed to ...
55094 (__new_memcpy): This.
55095 (memcpy): Provide GLIBC_2_14 memcpy.
55096 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55097 (memcpy): Provide GLIBC_2_2_5 memcpy.
55098
8593482f
UD
550992011-04-01 Ulrich Drepper <drepper@gmail.com>
55100
55101 [BZ #12631]
55102 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55103
81a5726b
AS
551042011-03-30 Andreas Schwab <schwab@redhat.com>
55105
55106 * misc/syncfs.c: New file.
55107 * misc/Makefile (routines): Add syncfs.
55108 * posix/unistd.h: Declare syncfs.
55109 * sysdeps/unix/syscalls.list: Add syncfs.
55110
00e5419f
AS
551112011-04-01 Andreas Schwab <schwab@redhat.com>
55112
55113 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55114 open_by_handle_at.
55115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55120 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55122
748876bf
UD
551232011-04-01 Ulrich Drepper <drepper@gmail.com>
55124
658e451d
UD
55125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55126 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55127 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55132
748876bf
UD
55133 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55134 sync_file_range.c with -fexceptions.
55135 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55136 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55137 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55138 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55139 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55140 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55142 sync_file_range as cancellation point
55143 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55144 now a wrapper around __call_sync_file_range with cancellation handling.
55145 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55146 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55147 function name to __call_sync_file_range.
55148 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55149 Add call_sync_file_range.
748876bf 55150
6e63d5e1
AS
551512011-04-01 Andreas Schwab <schwab@redhat.com>
55152
55153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55154 bits/timex.h.
6e63d5e1 55155
46998f74
UD
551562011-04-01 Ulrich Drepper <drepper@gmail.com>
55157
4c1423ed
UD
55158 * iconv/iconv.h: Fix typo in comment.
55159 * io/fcntl.h: Likewise.
55160 * libio/stdio.h: Likewise.
55161 * posix/spawn.h: Likewise.
55162 * posix/unistd.h: Likewise.
55163 * stdlib/stdlib.h: Likewise.
55164 * time/time.h: Likewise.
55165 * wcsmbs/wchar.h: Likewise.
55166
158648c0
UD
55167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55168 open_by_handle): Add.
55169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55170 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55171 Augment a few comments.
55172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55177 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55178 open_by_handle.
55179
46998f74
UD
55180 * io/fcntl.h (AT_EMPTY_PATH): Define.
55181
83fe108b
UD
551822011-03-30 Ulrich Drepper <drepper@gmail.com>
55183
55184 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55185 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55186 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55187 to...
55188 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55189 * Versions.def: Add GLIBC_2.14.
55190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55191 Export.
83fe108b 55192
bb242059
UD
551932011-03-22 Ulrich Drepper <drepper@gmail.com>
55194
55195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55196 round counter.
55197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55198
c97a1282
L
551992011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55200
55201 [BZ #12597]
55202 * string/test-strncmp.c (do_page_test): New function.
55203 (check2): Likewise.
55204 (test_main): Call check2.
55205 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55206
2a115601
UD
552072011-03-20 Ulrich Drepper <drepper@gmail.com>
55208
55209 [BZ #12587]
55210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55211 Handle cache information in CPU leaf 4.
55212 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55213
8126d904
UD
552142011-03-18 Ulrich Drepper <drepper@gmail.com>
55215
042c49c6 55216 [BZ #12583]
8126d904
UD
55217 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55218 character representation.
55219 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55220
ccfe366e
RA
552212011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55222
55223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55224 END(__isnan) to END(__isnanf) to match function entry point/label
55225 EALIGN(__isnanf,...).
55226
c6e13027
JJ
552272011-03-10 Jakub Jelinek <jakub@redhat.com>
55228
55229 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55230
33f85a3f
UD
552312011-03-10 Ulrich Drepper <drepper@gmail.com>
55232
028478fa
UD
55233 [BZ #12510]
55234 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55235 copy from the symbol referenced in the relocation to initialize the
55236 used variable.
55237 Patch by Piotr Bury <pbury@goahead.com>.
55238 * elf/Makefile: Add rules to build and tst-unique3.
55239 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55240 * elf/tst-unique3.cc: New file.
55241 * elf/tst-unique3.h: New file.
55242 * elf/tst-unique3lib.cc: New file.
55243 * elf/tst-unique3lib2.cc: New file.
55244
33f85a3f
UD
55245 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55246
03592fc7
MF
552472011-03-10 Mike Frysinger <vapier@gentoo.org>
55248
55249 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55250 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55251 to _start.
03592fc7 55252
6a5ee102
UD
552532011-03-06 Ulrich Drepper <drepper@gmail.com>
55254
55255 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55256 to-be-loaded object along a path to loader is ld.so.
55257
7e4ba49c
HJ
552582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55259 Ulrich Drepper <drepper@gmail.com>
55260
55261 * sysdeps/x86_64/memset.S: After aligning destination, code
55262 branches to different locations depending on the value of
55263 misalignment, when multiarch is enabled. Fix this.
55264
552652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55266
55267 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55268 Set _x86_64_preferred_memory_instruction for AMD processsors.
55269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55270 Set bit_Prefer_SSE_for_memop for AMD processors.
55271
13a804de
UD
552722011-03-04 Ulrich Drepper <drepper@gmail.com>
55273
55274 * libio/fmemopen.c (fmemopen): Optimize a bit.
55275
9d25c392
AS
552762011-03-03 Andreas Schwab <schwab@redhat.com>
55277
55278 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55279
a5543c6a
RM
552802011-03-03 Roland McGrath <roland@redhat.com>
55281
55282 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55283
012d35f7
DM
552842011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55285
7e4ba49c 55286 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55287 __bzero_ultra1 instead of __memset_ultra1.
55288
4bff6e01
AS
552892011-02-23 Andreas Schwab <schwab@redhat.com>
55290 Ulrich Drepper <drepper@gmail.com>
55291
55292 [BZ #12509]
55293 * include/link.h (struct link_map): Add l_orig_initfini.
55294 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55295 returning unsuccessfully.
55296 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55297 close of a file loaded at startup, restore the original l_initfini
55298 list.
55299 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55300 list, store the pointer.
55301 * elf/Makefile ($(objpfx)noload-mem): New rule.
55302 (noload-ENV): Define.
55303 (tests): Add $(objpfx)noload-mem.
55304 * elf/noload.c: Include <memcheck.h>.
55305 (main): Call mtrace. Close all opened handles.
55306
f2092faf
AS
553072011-02-17 Andreas Schwab <schwab@redhat.com>
55308
55309 [BZ #12454]
55310 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55311 dependencies are missing.
55312
6c8a2e88
ST
553132011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55314
f2092faf 55315 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55316 Hurd needs munmap.
55317 * sysdeps/mach/hurd/ifreq.h: New file.
55318
84a42118
PB
553192011-01-27 Petr Baudis <pasky@suse.cz>
55320 Ulrich Drepper <drepper@gmail.com>
55321
071f805e 55322 [BZ 12445]#
84a42118
PB
55323 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55324 to extend_alloca().
55325 * stdio-common/bug23.c: New file.
55326 * stdio-common/Makefile (tests): Add bug23.
55327
e23fe25b
AS
553282010-09-28 Andreas Schwab <schwab@redhat.com>
55329 Ulrich Drepper <drepper@gmail.com>
55330
55331 [BZ #12489]
55332 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55333 before performing relro protection. At old place add assertion
55334 to make sure nothing changed.
55335
d3f02e10
NS
553362011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55337 Glauber de Oliveira Costa <glommer@gmail.com>
55338
55339 * elf/elf.h: Add new ARM TLS relocs.
55340
d55fd7a5
RA
553412011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55342
55343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55344 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55345 cast from r3.
55346 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55347 'tests' variable.
55348 * sysdeps/wordsize-64/tst-writev.c: New file.
55349
2206397e
RA
553502011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55351
55352 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55353 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55354 insns in _dl_start to prevent a TOC reference before relocs are
55355 resolved.
55356
e9433893
UD
553572011-02-15 Ulrich Drepper <drepper@gmail.com>
55358
55359 [BZ #12469]
55360 * Makeconfig: Remove RANLIB definition.
55361 * Makerules: Don't use RANLIB.
55362 * aclocal.m4: Remove ranlib test.
55363 * configure.in: No need to check for ranlib.
55364 * elf/rtld-Rules: Don't use RANLIB.
55365
f75286c6
ST
553662011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55367
8e31c82d
ST
55368 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55369 protection macro.
55370 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55371 inclusion protection macro.
55372
f75286c6
ST
55373 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55374 SIGRTMIN and SIGRTMAX and print information in that case only when
55375 SIGRTMIN is defined.
55376
c1d0e639
JJ
553772011-02-11 Jakub Jelinek <jakub@redhat.com>
55378
55379 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55380 arginfo fn returning -1.
55381
55382 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55383 and thousands string is zero terminated.
55384
edf9294e
AS
553852011-02-03 Andreas Schwab <schwab@redhat.com>
55386
55387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55388 sysdeps/unix/sysv/linux/bits/socket.h.
55389
2b7e92df
ST
553902011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55391
edf9294e
AS
55392 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55393 (__CPU_COUNT): Remove old macros.
55394 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55395 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55396 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55397 (__sched_cpualloc, __sched_cpufree): Add declarations.
55398
a4c7ea7b
UD
553992011-02-05 Ulrich Drepper <drepper@gmail.com>
55400
55401 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55402 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55403 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55404 (readdhstai): Return value of addhstaiX call.
55405 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55406 (addgrbyX): Return value returned by cache_addgr.
55407 (readdgrbyname): Return value returned by addgrbyX.
55408 (readdgrbygid): Likewise.
55409 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55410 (addpwbyX): Return value returned by cache_addpw.
55411 (readdpwbyname): Return value returned by addhstbyX.
55412 (readdpwbyuid): Likewise.
55413 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55414 (addservbyX): Return value returned by cache_addserv.
55415 (readdservbyname): Return value returned by addservbyX:
55416 (readdservbyport): Likewise.
55417 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55418 (addhstbyX): Return value returned by cache_addhst.
55419 (readdhstbyname): Return value returned by addhstbyX.
55420 (readdhstbyaddr): Likewise.
55421 (readdhstbynamev6): Likewise.
55422 (readdhstbyaddrv6): Likewise.
55423 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55424 (readdinitgroups): Return value returned by addinitgroupsX.
55425 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55426 (prune_cache): Keep track of timeout value of re-added entries.
55427 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55428 * nscd/nscd.h: Adjust prototypes of readd* functions.
55429
a0bf67cc
RM
554302011-02-04 Roland McGrath <roland@redhat.com>
55431
55432 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55433 (nis_stats): Likewise.
55434 * nis/nis_modify.c (nis_modify): Likewise.
55435 * nis/nis_remove.c (nis_remove): Likewise.
55436 * nis/nis_add.c (nis_add): Likewise.
55437
55438 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55439
55440 * posix/fnmatch_loop.c: Add some consts.
55441
55442 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55443
435b95eb
L
554442011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 [BZ #12460]
55447 * config.make.in (config-cflags-novzeroupper): Define.
55448 * configure.in: Substitute libc_cv_cc_novzeroupper.
55449 * elf/Makefile (AVX-CFLAGS): Define.
55450 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55451 (CFLAGS-tst-auditmod4a.c): Likewise.
55452 (CFLAGS-tst-auditmod4b.c): Likewise.
55453 (CFLAGS-tst-auditmod6b.c): Likewise.
55454 (CFLAGS-tst-auditmod6c.c): Likewise.
55455 (CFLAGS-tst-auditmod7b.c): Likewise.
55456 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55457
8517b15e
UD
554582011-02-02 Ulrich Drepper <drepper@gmail.com>
55459
55460 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55461 function to the callback.
55462 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55463
10a656fe
AS
554642011-02-02 Andreas Schwab <schwab@redhat.com>
55465
55466 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55467 of errno.
55468
968dad0a
UD
554692011-01-19 Ulrich Drepper <drepper@gmail.com>
55470
9f94d2ea 55471 [BZ #11724]
968dad0a
UD
55472 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55473 of constructors.
55474 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55475 of destructors.
55476 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55477
55478 [BZ #11724]
55479 * elf/Makefile: Add rules to build and run new test.
55480 * elf/tst-initorder.c: New file.
55481 * elf/tst-initorder.exp: New file.
55482 * elf/tst-initordera1.c: New file.
55483 * elf/tst-initordera2.c: New file.
55484 * elf/tst-initordera3.c: New file.
55485 * elf/tst-initordera4.c: New file.
55486 * elf/tst-initorderb1.c: New file.
55487 * elf/tst-initorderb2.c: New file.
55488 * elf/tst-order-a1.c: New file.
55489 * elf/tst-order-a2.c: New file.
55490 * elf/tst-order-a3.c: New file.
55491 * elf/tst-order-a4.c: New file.
55492 * elf/tst-order-b1.c: New file.
55493 * elf/tst-order-b2.c: New file.
55494 * elf/tst-order-main.c: New file.
55495 New test case by George Gensure <werkt0@gmail.com>.
55496
86e92359
UD
554972010-10-01 Andreas Schwab <schwab@redhat.com>
55498
55499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55500 decoding ACE if AI_CANONIDN.
55501
5d5732b0
UD
555022011-01-18 Ulrich Drepper <drepper@gmail.com>
55503
55504 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55505
a77e8cbc
UD
555062011-01-17 Ulrich Drepper <drepper@gmail.com>
55507
6392473f
UD
55508 * version.h (RELEASE): Bump for 2.13 release.
55509 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55510
620a0529
UD
55511 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55512
18ba70a5
UD
55513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55514 MADV_NOHUGEPAGE.
32465c3e
UD
55515 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55516 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55521
c0dafcf1
UD
55522 * posix/getconf.c: Update copyright year.
55523 * catgets/gencat.c: Likewise.
55524 * csu/version.c: Likewise.
55525 * debug/catchsegv.sh: Likewise.
55526 * debug/xtrace.sh: Likewise.
55527 * elf/ldconfig.c: Likewise.
55528 * elf/ldd.bash.in: Likewise.
55529 * elf/sprof.c (print_version): Likewise.
55530 * iconv/iconv_prog.c: Likewise.
55531 * iconv/iconvconfig.c: Likewise.
55532 * locale/programs/locale.c: Likewise.
55533 * locale/programs/localedef.c: Likewise.
55534 * malloc/memusage.sh: Likewise.
55535 * malloc/mtrace.pl: Likewise.
55536 * nscd/nscd.c (print_version): Likewise.
55537 * nss/getent.c: Likewise.
55538
a77e8cbc
UD
55539 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55540 PF_CAIF, and PF_ALG.
55541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55542
77e8bddf
AS
555432011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55544
1f20b93a
AS
55545 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55546 (modules-names): Use them.
55547 (ifunc-test-modules, ifunc-pie-tests): Define.
55548 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55549 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55550 (test-extras): Likewise.
55551 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55552 $(compile-command.c).
55553 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55554 (all-built-dso): Define.
55555 (check-textrel.out, check-execstack.out): Depend on it.
55556
77e8bddf
AS
55557 * configure.in: Don't override --enable-multi-arch.
55558
bc425b33
UD
555592011-01-15 Ulrich Drepper <drepper@gmail.com>
55560
55561 [BZ #6812]
55562 * nscd/hstcache.c (tryagain): Define.
55563 (cache_addhst): Return tryagain not notfound for temporary errors.
55564 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55565 failed.
55566
794c3ad3
UD
555672011-01-14 Ulrich Drepper <drepper@gmail.com>
55568
70181fdd
UD
55569 [BZ #10563]
55570 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55571 to make the syscall.
55572 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55573
794c3ad3
UD
55574 [BZ #12378]
55575 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55576 and fall back to matching as normal character if the string ends before
55577 the matching ']' is found. This is what POSIX requires.
55578 * posix/testfnm.c: Adjust test result.
55579 * posix/globtest.sh: Adjust test result. Add new test.
55580 * posix/tst-fnmatch.input: Likewise.
55581 * posix/tst-fnmatch2.c: Add new test.
55582
68dc9497
AS
555832010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55584
55585 * elf/Makefile (check-execstack): Revert last change. Depend on
55586 check-execstack.h.
55587 (check-execstack.h): New target.
55588 (generated): Add check-execstack.h.
55589 * elf/check-execstack.c: Include "check-execstack.h".
55590 (main): Revert last change.
55591 (handle_file): Return zero if GNU_STACK is absent and
55592 DEFAULT_STACK_PERMS doesn't include PF_X.
55593
451f001b
UD
555942011-01-13 Ulrich Drepper <drepper@gmail.com>
55595
cfa28e56
UD
55596 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55597 in child fails because the descriptor is already closed.
8cf8ce17
UD
55598 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55599 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55600 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55601
1086d70d
UD
55602 [BZ #12397]
55603 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55604 syscall.
55605
451f001b
UD
55606 [BZ #10484]
55607 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55608 temporary buffer used to handle multi lookups locally.
a85b5cb4 55609 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55610
08769175
UD
556112011-01-12 Ulrich Drepper <drepper@gmail.com>
55612
55613 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55614 loader is ld.so.
55615
5e49c52e
UD
556162011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55617
55618 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55619 alignment for SSE2.
55620
60522a5f
UD
556212011-01-12 Ulrich Drepper <drepper@gmail.com>
55622
55623 [BZ #12394]
55624 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55625 characters. When rounding increased number of integer digits recompute
55626 number of groups.
55627 * stdio-common/tst-grouping.c: New file.
55628 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55629
f257bbd7
UD
556302011-01-09 Ulrich Drepper <drepper@gmail.com>
55631
55632 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55633 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55634
55635 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55636 void.
55637 * bits/select.h: Likewise.
55638
fa9c15cb
UD
556392011-01-08 Ulrich Drepper <drepper@gmail.com>
55640
55641 * po/ja.po: Update from translation team.
55642
16c2895f
DM
556432011-01-04 David S. Miller <davem@sunset.davemloft.net>
55644
55645 [BZ #11155]
55646 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55647 implementation just like for lxstat, fxstatat, et al.
55648
2543fef2
JM
556492010-12-27 Jim Meyering <meyering@redhat.com>
55650
55651 [BZ #12348]
55652 * posix/regexec.c (build_trtable): Return failure indication upon
55653 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55654
98727dbe
UD
556552010-12-25 Ulrich Drepper <drepper@gmail.com>
55656
5bd6dc5c
UD
55657 [BZ #12201]
55658 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55659 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55662
97983464
UD
55663 [BZ #12207]
55664 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55665
98727dbe
UD
55666 [BZ #12204]
55667 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55668 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55669
4a531bb0
L
556702010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55671
55672 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55673 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55674 script has SORT_BY_INIT_PRIORITY.
55675 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55676 NO_CTORS_DTORS_SECTIONS is defined.
55677 * elf/soinit.c: Likewise.
55678 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55679 NO_CTORS_DTORS_SECTIONS is defined.
55680 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55681 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55682 * sysdeps/sh/init-first.c: Likewise.
55683 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55684
07eb4b71
UD
556852010-12-24 Ulrich Drepper <drepper@gmail.com>
55686
55687 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55688 always use the slow path.
55689
30950a5f
RA
556902010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55691
55692 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55693 similar rule which adds the sysdep directories to the header search in
55694 order to pick up the correct platform stackinfo.h.
55695 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55696 perform test if it is, otherwise return successfully without testing.
55697 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55698 DEFAULT_STACK_PERMS define in stackinfo.h.
55699 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55700 defined in stackinfo.h.
55701 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55702 DEFAULT_STACK_PERMS defined in stackinfo.h.
55703 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55704 * sysdeps/ia64/stackinfo.h: Likewise.
55705 * sysdeps/s390/stackinfo.h: Likewise.
55706 * sysdeps/sh/stackinfo.h: Likewise.
55707 * sysdeps/sparc/stackinfo.h: Likewise.
55708 * sysdeps/x86_64/stackinfo.h: Likewise.
55709 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55710 PF_X for powerpc64. Retain PF_X for powerpc32.
55711
db753e2c
UD
557122010-12-19 Ulrich Drepper <drepper@gmail.com>
55713
14b697f7
UD
55714 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55715 accurately.
db753e2c
UD
55716 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55717 GETDENTS_64BIT_ALIGNED.
55718
28300719
UD
557192010-12-14 Ulrich Drepper <dreper@gmail.com>
55720
14b697f7 55721 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55722
4f197237
AS
557232010-12-10 Andreas Schwab <schwab@redhat.com>
55724
dbb0472f
AS
55725 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55726 _GNU_SOURCE.
55727
4f197237
AS
55728 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55729 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55730 Remove __restrict.
55731 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55732 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55733
fb88ac72
UD
557342010-12-09 Ulrich Drepper <drepper@gmail.com>
55735
55736 [BZ #11655]
55737 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55738 are initialized.
55739
42acbb92
JJ
557402010-12-09 Jakub Jelinek <jakub@redhat.com>
55741
55742 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55743
c038d98d
UD
557442010-12-03 Ulrich Drepper <drepper@gmail.com>
55745
55746 * po/it.po: Update from translation team.
55747
3a4a2499
L
557482010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55749
55750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55751 unused codes.
55752
1e24cf6e
UD
557532010-11-30 Ulrich Drepper <drepper@gmail.com>
55754
55755 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55756
a7690819
AS
557572010-11-24 Andreas Schwab <schwab@redhat.com>
55758
55759 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55760 specially.
55761 (gaih_getanswer_slice): Likewise.
55762
3bf8d1b1
JJ
557632010-10-20 Jakub Jelinek <jakub@redhat.com>
55764
55765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55766
6db52fbb
PB
557672010-05-31 Petr Baudis <pasky@suse.cz>
55768
55769 [BZ #11149]
55770 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55771 silently even in the chroot mode.
55772
eaca7569
UD
557732010-11-22 Ulrich Drepper <drepper@gmail.com>
55774
55775 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55776 last patch a bit. Pretty printing
55777
3056dcdb
UD
557782010-05-31 Petr Baudis <pasky@suse.cz>
55779
55780 [BZ #10085]
55781 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55782 initialization of skip_initgroups_dyn.
55783
cf7c9078
UD
557842010-11-19 Ulrich Drepper <drepper@gmail.com>
55785
55786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55788
a1fb5e3e
UD
557892010-11-16 Ulrich Drepper <drepper@gmail.com>
55790
55791 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55792
3540d66b
AS
557932010-11-11 Andreas Schwab <schwab@redhat.com>
55794
55795 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55796 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55797 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55798 ($(objpfx)tst-fnmatch-mem): New rule.
55799 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55800 * posix/tst-fnmatch.c (main): Call mtrace.
55801
13b69574
L
558022010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55803
55804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55805 Support Intel processor model 6 and model 0x2c.
55806
da93d214
LM
558072010-11-10 Luis Machado <luisgpm@br.ibm.com>
55808
55809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55810 signed comparison.
55811
8ca52c6e
L
558122010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55813
55814 [BZ #12205]
55815 * string/test-strncasecmp.c (check_result): New function.
55816 (do_one_test): Use it.
55817 (check1): New function.
55818 (test_main): Use it.
55819 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55820 Support strcasecmp and strncasecmp.
55821
69da074d
UD
558222010-11-08 Ulrich Drepper <drepper@gmail.com>
55823
55824 [BZ #12194]
55825 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55827
ff02d528
L
558282010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55829
55830 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55831 IFUNC support.
55832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55833 memset-x86-64.
55834 * sysdeps/x86_64/multiarch/bzero.S: New file.
55835 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55836 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55837 * sysdeps/x86_64/multiarch/memset.S: New file.
55838 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55840 Set bit_Prefer_SSE_for_memop for Intel processors.
55841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55842 Define.
55843 (index_Prefer_SSE_for_memop): Define.
55844 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55845
344d0b54
LM
558462010-11-04 Luis Machado <luisgpm@br.ibm.com>
55847
55848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55849 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55850
c0dde15b
UD
558512010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55852
55853 [BZ #12191]
55854 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55855 (__x86_64_raw_data_cache_size_half): Likewise.
55856 (__x86_64_raw_shared_cache_size): Likewise.
55857 (__x86_64_raw_shared_cache_size_half): Likewise.
55858
55859 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55860 (__x86_64_raw_data_cache_size_half): Likewise.
55861 (__x86_64_raw_shared_cache_size): Likewise.
55862 (__x86_64_raw_shared_cache_size_half): Likewise.
55863 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55864 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55865 and __x86_64_raw_shared_cache_size_half. Round
55866 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55867 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55868 to multiple of 256 bytes.
55869
0e516e0e
MS
558702010-11-03 Ulrich Drepper <drepper@gmail.com>
55871
55872 [BZ #12167]
55873 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55874 of inacessible symlinks. Verify result of symlink before returning it.
55875 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55876 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55877
0e012e87
ER
558782010-10-28 Erich Ritz <erichritz@gmail.com>
55879
55880 * math/math.h (isinf): Fix typo in comment.
55881
de0ff7bc
UD
558822010-11-01 Ulrich Drepper <drepper@gmail.com>
55883
55884 * po/da.po: Update from translation team.
55885
fa41c84d
UD
558862010-10-26 Ulrich Drepper <drepper@gmail.com>
55887
55888 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55889 is added to the list.
55890
f0967738
AK
558912010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55892 Ulrich Drepper <drepper@gmail.com>
55893
55894 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55895 the global list here. Move code to...
55896 (_dl_add_to_namespace_list): ...here. New function.
55897 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55898 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55899 * elf/dl-load.c (lose): Don't remove the element from the list.
55900 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55901 (_dl_map_object): Likewise.
55902
559032010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55904
55905 [BZ #12159]
55906 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55907 into all bytes of SSE register.
55908 Patch by Richard Li <richardpku@gmail.com>.
55909
f0967738 559102010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55911
55912 [BZ #12140]
55913 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55914 perturbing.
55915
d0b9e94f
MB
559162010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55917
55918 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55919 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55920 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55921 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55923 submachine.
55924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55925
8e9f92e9
AS
559262010-10-22 Andreas Schwab <schwab@redhat.com>
55927
55928 * include/dlfcn.h (__RTLD_SECURE): Define.
55929 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55930 mode & __RTLD_SECURE instead.
55931 (open_path): Rename preloaded parameter to secure.
55932 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55933 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55934 * elf/dl-deps.c (openaux): Likewise.
55935 * elf/rtld.c (struct map_args): Remove is_preloaded.
55936 (map_doit): Don't use it.
55937 (dl_main): Likewise.
55938 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55939 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55940
bc96fbda
AS
559412010-09-09 Andreas Schwab <schwab@redhat.com>
55942
55943 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55944 (sysd-rules-targets): Remove duplicates.
55945 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55946 rtld-%.$o dependency.
55947
22cd1c9b
AS
559482010-10-18 Andreas Schwab <schwab@redhat.com>
55949
55950 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55951 _dl_map_object do it.
55952
18edac48
UD
559532010-10-19 Ulrich Drepper <drepper@gmail.com>
55954
55955 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55956 fast fma builtins, define the macros in the C99 standard.
55957 (FP_FAST_FMAF): Likewise.
55958 (FP_FAST_FMAL): Likewise.
55959 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55960
55961 * bits/mathdef.h: Update copyright year.
55962 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55963
d2050124
MM
559642010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55965
55966 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55967 builtins, define the macros in the C99 standard.
55968 (FP_FAST_FMAF): Likewise.
55969 (FP_FAST_FMAL): Likewise.
55970 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55971 multiply/add.
55972 (FP_FAST_FMAF): Likewise.
55973
475facd1
JJ
559742010-10-15 Jakub Jelinek <jakub@redhat.com>
55975
55976 [BZ #3268]
55977 * math/libm-test.inc (fma_test): Some new testcases.
55978 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55980 y and infinite z. Do multiplication by C already in long double.
55981 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55983 y and infinite z. Do bitwise or of inexact bit into u.d.
55984 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55985 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55986 * sysdeps/i386/fpu/s_fma.S: Removed.
55987 * sysdeps/i386/fpu/s_fmal.S: Removed.
55988
7c08a05c
JJ
559892010-10-16 Jakub Jelinek <jakub@redhat.com>
55990
55991 [BZ #3268]
55992 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55994 computation is not scheduled after fetestexcept. Fix value
55995 of minimum denormal long double.
55996
f3f7372d
JJ
559972010-10-14 Jakub Jelinek <jakub@redhat.com>
55998
55999 [BZ #3268]
56000 * math/libm-test.inc (fma_test): Add some more tests.
56001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56002 correctly.
56003
14d43591
AS
560042010-10-15 Andreas Schwab <schwab@redhat.com>
56005
56006 * scripts/data/localplt-s390-linux-gnu.data: New file.
56007 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56008
5e908464
JJ
560092010-10-13 Jakub Jelinek <jakub@redhat.com>
56010
56011 [BZ #3268]
56012 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56013 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56014 instead of dbl-64.
56015 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56016 inlines.
56017 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56019 if one of x and y is very large and the other is subnormal.
56020 * sysdeps/s390/fpu/s_fmaf.c: New file.
56021 * sysdeps/s390/fpu/s_fma.c: New file.
56022 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56023 * sysdeps/powerpc/fpu/s_fma.S: New file.
56024 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56025 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56026 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56027
560282010-10-12 Jakub Jelinek <jakub@redhat.com>
56029
56030 [BZ #3268]
56031 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56032 fma tests.
56033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56034 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56035 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56036 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56037 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56038 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56039 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56040
b833d51f
UD
560412010-10-12 Ulrich Drepper <drepper@redhat.com>
56042
56043 [BZ #12078]
56044 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56045 * posix/bug-regex31.input: Add test case.
56046
1751705d
UD
560472010-10-11 Ulrich Drepper <drepper@gmail.com>
56048
e9b9cbf5
UD
56049 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56050 * posix/bug-regex31.input: New file.
56051
56052 [BZ #12078]
56053 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56054 (parse_sub_exp): Fix last change, use postorder.
56055
ef06edbe
UD
56056 * posix/bug-regex31.c: New file.
56057 * posix/Makefile: Add rules to build and run bug-regex31.
56058
a129c80d
UD
56059 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56060
56061 [BZ #12078]
56062 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56063
b76b818e
UD
56064 [BZ #12108]
56065 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56066 to have entries in sys_siglist.
56067
1751705d
UD
56068 [BZ #12093]
56069 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56070 be NULL.
56071
9ff8d36f
JJ
560722010-10-07 Jakub Jelinek <jakub@redhat.com>
56073
56074 [BZ #3268]
56075 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56076 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56077 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56078 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56079 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56080 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56081 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56082 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56083 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56084 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56085 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56086 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56087 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56088 * math/ftestexcept.c (fetestexcept): Likewise.
56089 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56090 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56091 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56092 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56093 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56094 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56096
af325969
UD
560972010-10-11 Ulrich Drepper <drepper@gmail.com>
56098
c579b202 56099 [BZ #12107]
af325969
UD
56100 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56101 newline.
56102
67a67b95
UD
561032010-10-06 Ulrich Drepper <drepper@gmail.com>
56104
56105 * string/bug-strstr1.c: New file.
56106 * string/Makefile: Add rules to build and run bug-strstr1.
56107
5fb308bc
EB
561082010-10-05 Eric Blake <eblake@redhat.com>
56109
56110 [BZ #12092]
56111 * string/str-two-way.h (two_way_long_needle): Always clear memory
56112 when skipping input due to the shift table.
56113
45db99c7
UD
561142010-10-03 Ulrich Drepper <drepper@gmail.com>
56115
3b111893
UD
56116 [BZ #12005]
56117 * malloc/mcheck.c: Handle large requests.
56118
45db99c7
UD
56119 [BZ #12077]
56120 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56121 for strncmp and strncasecmp.
56122 * string/stratcliff.c: Add tests for strcmp and strncmp.
56123 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56124
cf7a1eb8
NI
561252010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56126
56127 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56128 __set_fpscr.
56129
6484ba5e
AJ
561302010-09-30 Andreas Jaeger <aj@suse.de>
56131
56132 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56133 (CGROUP_SUPER_MAGIC): Define.
56134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56135 Handle btrfs and cgroup file systems.
56136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56137 Likewise.
56138
91c42559
LM
561392010-09-27 Luis Machado <luisgpm@br.ibm.com>
56140
56141 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56142 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56143
87a97932
AK
561442010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56145
56146 [BZ #12067]
56147 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56148 trying to locate the ELF header.
56149
c21cc9bc
AS
561502010-09-27 Andreas Schwab <schwab@redhat.com>
56151
56152 [BZ #11611]
56153 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56154 Mask out sign-bit copies when constructing f_fsid.
56155
315970f6
PB
561562010-09-24 Petr Baudis <pasky@suse.cz>
56157
56158 * debug/stack_chk_fail_local.c: Add missing licence exception.
56159 * debug/warning-nop.c: Likewise.
56160
1ac7a2c7
JM
561612010-09-15 Joseph Myers <joseph@codesourcery.com>
56162
56163 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56164 implementing getdents64 using getdents syscall, set d_type if
56165 __ASSUME_GETDENTS32_D_TYPE.
56166
56801c50
AS
561672010-09-16 Andreas Schwab <schwab@redhat.com>
56168
56169 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56170 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56171
dda51327
UD
561722010-09-21 Ulrich Drepper <drepper@redhat.com>
56173
56174 [BZ #12037]
56175 * posix/unistd.h: Undo change of feature selection for ftruncate from
56176 2010-01-11.
56177
8ffcee4a
UD
561782010-09-20 Ulrich Drepper <drepper@redhat.com>
56179
a545ecd9 56180 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56181 detection.
56182
e24f0a8b
AS
561832010-09-20 Andreas Schwab <schwab@redhat.com>
56184
56185 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56186 fanotify_mark.
56187 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56188
7291c56f
AS
561892010-09-14 Andreas Schwab <schwab@redhat.com>
56190
56191 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56192 variables after CHECK_SP call.
56193 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56194
bc5fb037
AS
561952010-09-13 Andreas Schwab <schwab@redhat.com>
56196 Ulrich Drepper <drepper@redhat.com>
56197
56198 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56199 re-relocationg ld.so.
56200 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56201 _dl_init_paths call.
56202 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56203 here anymore.
56204
e66e7419
UD
562052010-09-14 Ulrich Drepper <drepper@redhat.com>
56206
56207 * resolv/res_init.c (__res_vinit): Count the default server we added.
56208
c044aa75
CLT
562092010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56210 Ulrich Drepper <drepper@redhat.com>
56211
56212 [BZ #11968]
56213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56214 (____longjmp_chk): Use %ebx for saving value across system call.
56215 Add unwind info.
56216
32cf4069
AS
562172010-09-06 Andreas Schwab <schwab@redhat.com>
56218
56219 * manual/Makefile: Don't mix pattern rules with normal rules.
56220
817328ee
AS
562212010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56222
56223 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56224 operation.
56225 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56226 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56227 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56228 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56230 Likewise.
56231
29fddf61
UD
562322010-09-04 Ulrich Drepper <drepper@redhat.com>
56233
56234 [BZ #11979]
56235 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56236 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56237
0959ffc9
UD
562382010-09-02 Ulrich Drepper <drepper@redhat.com>
56239
56240 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56241 * sysdeps/x86_64/addmul_1.S: Likewise.
56242 * sysdeps/x86_64/lshift.S: Likewise.
56243 * sysdeps/x86_64/mul_1.S: Likewise.
56244 * sysdeps/x86_64/rshift.S: Likewise.
56245 * sysdeps/x86_64/sub_n.S: Likewise.
56246 * sysdeps/x86_64/submul_1.S: Likewise.
56247
ece29840
ST
562482010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56249
0959ffc9
UD
56250 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56251 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56252 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56253 * bits/sched.h [__need_schedparam]
ece29840 56254 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56255 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56256 (__defined_schedparam): Define to 1.
ece29840
ST
56257 (__sched_param): New structure, identical to sched_param.
56258 (__need_schedparam): Undefine.
56259
e53a31fe
MF
562602010-08-31 Mike Frysinger <vapier@gentoo.org>
56261
fdc0c10d
MF
56262 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56263 (epoll_create1): Declare.
56264
e53a31fe
MF
56265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56266
a726d796
AS
562672010-08-31 Andreas Schwab <schwab@redhat.com>
56268
56269 [BZ #7066]
56270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56271 shifting retval into place.
56272
2f3e3dc7
UD
562732010-09-01 Ulrich Drepper <drepper@redhat.com>
56274
f2933da9
UD
56275 * nis/rpcsvc/nis.h: Update copyright notice.
56276 * nis/rpcsvc/nis.x: Likewise.
56277 * nis/rpcsvc/nis_callback.h: Likewise.
56278 * nis/rpcsvc/nis_callback.x: Likewise.
56279 * nis/rpcsvc/nis_object.x: Likewise.
56280 * nis/rpcsvc/nis_tags.h: Likewise.
56281 * nis/rpcsvc/yp.h: Likewise.
56282 * nis/rpcsvc/yp.x: Likewise.
56283 * nis/rpcsvc/ypupd.h: Likewise.
56284 * nis/yp_xdr.c: Likewise.
56285 * nis/ypupdate_xdr.c: Likewise.
56286
2f3e3dc7
UD
56287 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56288 mainly the body of pmap_getport. Add parameters to specify timeouts.
56289 (pmap_getport): Use __libc_rpc_getport.
56290 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56291 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56292 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56293
f3dcc2f9
AS
562942010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56295
56296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56297 fanotify_mark.
56298
6d34eb5b
RM
562992010-08-27 Roland McGrath <roland@redhat.com>
56300
56301 * sysdeps/i386/i686/multiarch/Makefile
56302 (CFLAGS-varshift.c): New variable.
56303
9ea3de11
UD
563042010-08-27 Ulrich Drepper <drepper@redhat.com>
56305
c96d23fc
UD
56306 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56307 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56308
9ea3de11
UD
56309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56310
56311 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56312
623aac7f
L
563132010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56314
56315 * sysdeps/x86_64/strlen.S: Unroll the loop.
56316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56317 strlen-sse2 strlen-sse2-bsf.
56318 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56319 __strlen_no_bsf if bit_Slow_BSF is set.
56320 (__strlen_sse42): Removed.
56321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56322 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56323
8b2b7715
RM
563242010-08-25 Roland McGrath <roland@redhat.com>
56325
56326 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56327 * sysdeps/x86_64/multiarch/varshift.c: New file.
56328 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56329 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56330 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56331 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56332
e73015f2
L
563332010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56334
56335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56336 strlen-sse2 strlen-sse2-bsf.
56337 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56338 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56339 (__strlen_sse2): Removed.
56340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56343 bit_Slow_BSF for Atom.
56344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56345 (index_Slow_BSF): Define.
56346 (HAS_SLOW_BSF): Define.
56347
df24a73e
UD
563482010-08-25 Ulrich Drepper <drepper@redhat.com>
56349
56350 [BZ #10851]
56351 * resolv/res_init.c (__res_vinit): When no server address at all
56352 is given default to loopback.
56353
f2ac4868
RM
563542010-08-24 Roland McGrath <roland@redhat.com>
56355
09055553
RM
56356 * configure.in: Remove config-name.h generation.
56357 * configure: Regenerated.
56358 * config-name.in: File removed.
56359 * scripts/config-uname.sh: New file.
56360 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56361 ($(objdir)config-name.h): New target.
56362
f2ac4868
RM
56363 * sunrpc/rpc_parse.h: Avoid nested comment.
56364
73f27d5e
RH
563652010-08-24 Richard Henderson <rth@redhat.com>
56366 Ulrich Drepper <drepper@redhat.com>
56367 H.J. Lu <hongjiu.lu@intel.com>
56368
56369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56371 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56372 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56373 _mm_alignr_epi8 with _mm_loadu_si128.
56374 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56375 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56376 (__m128i_shift_right): Removed.
56377 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56378 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56379 * sysdeps/x86_64/multiarch/varshift.h: New file.
56380 * sysdeps/x86_64/multiarch/varshift.S: New file.
56381
84b9230c
MF
563822010-08-21 Mike Frysinger <vapier@gentoo.org>
56383
56384 * configure.in: Move assembler checks to before sysdep dir checking.
56385
9bbd0ddc
PB
563862010-08-20 Petr Baudis <pasky@suse.cz>
56387
56388 * LICENSES: Sync the sunrpc license.
56389
9da4bb31
UD
563902010-08-19 Ulrich Drepper <drepper@redhat.com>
56391
a7ab6ec8
UD
56392 * sunrpc/auth_des.c: Update copyright notice once again.
56393 * sunrpc/auth_none.c: Likewise.
56394 * sunrpc/auth_unix.c: Likewise.
56395 * sunrpc/authdes_prot.c: Likewise.
56396 * sunrpc/authuxprot.c: Likewise.
56397 * sunrpc/bindrsvprt.c: Likewise.
56398 * sunrpc/clnt_gen.c: Likewise.
56399 * sunrpc/clnt_perr.c: Likewise.
56400 * sunrpc/clnt_raw.c: Likewise.
56401 * sunrpc/clnt_simp.c: Likewise.
56402 * sunrpc/clnt_tcp.c: Likewise.
56403 * sunrpc/clnt_udp.c: Likewise.
56404 * sunrpc/clnt_unix.c: Likewise.
56405 * sunrpc/des_crypt.c: Likewise.
56406 * sunrpc/des_soft.c: Likewise.
56407 * sunrpc/get_myaddr.c: Likewise.
56408 * sunrpc/getrpcport.c: Likewise.
56409 * sunrpc/key_call.c: Likewise.
56410 * sunrpc/key_prot.c: Likewise.
56411 * sunrpc/openchild.c: Likewise.
56412 * sunrpc/pm_getmaps.c: Likewise.
56413 * sunrpc/pm_getport.c: Likewise.
56414 * sunrpc/pmap_clnt.c: Likewise.
56415 * sunrpc/pmap_prot.c: Likewise.
56416 * sunrpc/pmap_prot2.c: Likewise.
56417 * sunrpc/pmap_rmt.c: Likewise.
56418 * sunrpc/rpc/auth.h: Likewise.
56419 * sunrpc/rpc/auth_unix.h: Likewise.
56420 * sunrpc/rpc/clnt.h: Likewise.
56421 * sunrpc/rpc/des_crypt.h: Likewise.
56422 * sunrpc/rpc/key_prot.h: Likewise.
56423 * sunrpc/rpc/netdb.h: Likewise.
56424 * sunrpc/rpc/pmap_clnt.h: Likewise.
56425 * sunrpc/rpc/pmap_prot.h: Likewise.
56426 * sunrpc/rpc/pmap_rmt.h: Likewise.
56427 * sunrpc/rpc/rpc.h: Likewise.
56428 * sunrpc/rpc/rpc_des.h: Likewise.
56429 * sunrpc/rpc/rpc_msg.h: Likewise.
56430 * sunrpc/rpc/svc.h: Likewise.
56431 * sunrpc/rpc/svc_auth.h: Likewise.
56432 * sunrpc/rpc/types.h: Likewise.
56433 * sunrpc/rpc/xdr.h: Likewise.
56434 * sunrpc/rpc_clntout.c: Likewise.
56435 * sunrpc/rpc_cmsg.c: Likewise.
56436 * sunrpc/rpc_common.c: Likewise.
56437 * sunrpc/rpc_cout.c: Likewise.
56438 * sunrpc/rpc_dtable.c: Likewise.
56439 * sunrpc/rpc_hout.c: Likewise.
56440 * sunrpc/rpc_main.c: Likewise.
56441 * sunrpc/rpc_parse.c: Likewise.
56442 * sunrpc/rpc_parse.h: Likewise.
56443 * sunrpc/rpc_prot.c: Likewise.
56444 * sunrpc/rpc_sample.c: Likewise.
56445 * sunrpc/rpc_scan.c: Likewise.
56446 * sunrpc/rpc_scan.h: Likewise.
56447 * sunrpc/rpc_svcout.c: Likewise.
56448 * sunrpc/rpc_tblout.c: Likewise.
56449 * sunrpc/rpc_util.c: Likewise.
56450 * sunrpc/rpc_util.h: Likewise.
56451 * sunrpc/rpcinfo.c: Likewise.
56452 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56453 * sunrpc/rpcsvc/key_prot.x: Likewise.
56454 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56455 * sunrpc/rpcsvc/mount.x: Likewise.
56456 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56457 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56458 * sunrpc/rpcsvc/rex.x: Likewise.
56459 * sunrpc/rpcsvc/rstat.x: Likewise.
56460 * sunrpc/rpcsvc/rusers.x: Likewise.
56461 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56462 * sunrpc/rpcsvc/spray.x: Likewise.
56463 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56464 * sunrpc/rtime.c: Likewise.
56465 * sunrpc/svc.c: Likewise.
56466 * sunrpc/svc_auth.c: Likewise.
56467 * sunrpc/svc_authux.c: Likewise.
56468 * sunrpc/svc_raw.c: Likewise.
56469 * sunrpc/svc_run.c: Likewise.
56470 * sunrpc/svc_simple.c: Likewise.
56471 * sunrpc/svc_tcp.c: Likewise.
56472 * sunrpc/svc_udp.c: Likewise.
56473 * sunrpc/svc_unix.c: Likewise.
56474 * sunrpc/svcauth_des.c: Likewise.
56475 * sunrpc/xcrypt.c: Likewise.
56476 * sunrpc/xdr.c: Likewise.
56477 * sunrpc/xdr_array.c: Likewise.
56478 * sunrpc/xdr_float.c: Likewise.
56479 * sunrpc/xdr_mem.c: Likewise.
56480 * sunrpc/xdr_rec.c: Likewise.
56481 * sunrpc/xdr_ref.c: Likewise.
56482 * sunrpc/xdr_sizeof.c: Likewise.
56483 * sunrpc/xdr_stdio.c: Likewise.
56484
9da4bb31
UD
56485 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56486 handling.
56487
bdaa77bc
AS
564882010-08-19 Andreas Schwab <schwab@redhat.com>
56489
56490 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56491
fe2f79db
LM
564922010-08-19 Luis Machado <luisgpm@br.ibm.com>
56493
56494 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56497 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56498 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56499 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56501 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56503 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56504 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56506 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56508
b9b42ee0
AB
565092010-07-26 Anton Blanchard <anton@samba.org>
56510
56511 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56512 * malloc/arena.c (heap_trim): Likewise.
56513
1c06ba31
UD
565142010-08-16 Ulrich Drepper <drepper@redhat.com>
56515
56516 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56517 here. Not...
56518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56519 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56520
f8392f40
L
565212010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56522
56523 * sysdeps/i386/elf/Makefile: New file.
56524
3162f12e
AS
565252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56526
56527 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56528 from fanotify_init.
56529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56531
28c90b2c
UD
565322010-08-15 Ulrich Drepper <drepper@redhat.com>
56533
56534 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56535 of strncasecmp_l.
1feccb6c 56536 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56537
ca6bb004
UD
565382010-08-14 Ulrich Drepper <drepper@redhat.com>
56539
e9f82e0d
UD
56540 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56541 strncase_l-nonascii.
56542 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56543 Add strncase_l-ssse3.
56544 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56545 * sysdeps/x86_64/strcmp.S: Likewise.
56546 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56547 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56548 * sysdeps/x86_64/strncase.S: New file.
56549 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56550 * sysdeps/x86_64/strncase_l.S: New file.
56551 * string/Makefile (strop-tests): Add strncasecmp.
56552 * string/test-strncasecmp.c: New file.
56553
56554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56555 warning.
56556
ca6bb004
UD
56557 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56558 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56559
052fa7b3
AS
565602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56561
56562 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56563
962dba78
UD
565642010-08-12 Ulrich Drepper <drepper@redhat.com>
56565
56566 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56569
bebff237
AM
565702010-05-01 Alan Modra <amodra@gmail.com>
56571
56572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56573 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56574 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56575 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56576 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56577 tidying. Don't tail-call __sigjmp_save for static lib.
56578 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56579 save location.
56580 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56581 (CALL_MCOUNT): Add eh info, and nop after bl.
56582 (TAIL_CALL_SYSCALL_ERROR): New macro.
56583 (PSEUDO_RET): Use it.
56584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56585 Correct save location of integer regs and cr.
56586 (_dl_profile_resolve): Correct cr save location. Delete nops
56587 after bl when SHARED. Reduce cfi size a little by better
56588 placement of cfi directives.
56589 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56590 make a stack frame. Instead use parm save area as a temp.
56591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56592 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56594 Don't make a stack frame for parent, use parm save area.
56595 Increase child stack frame to 112 bytes. Don't save unused reg,
56596 and adjust reg usage. Set up cfi on error recovery and
56597 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56599 (__makecontext): Add dummy nop after jump to exit.
56600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56601 Use correct parm save area and cr save, reduce stack frame.
56602 Correct cfi for possible PSEUDO_RET frame setup.
56603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56604 Branch to local label emitted by PSEUDO_RET rather than
56605 __syscall_error.
56606
02637374
AS
566072010-08-12 Andreas Schwab <schwab@redhat.com>
56608
56609 [BZ #11904]
56610 * locale/programs/locale.c (print_assignment): New function.
56611 (show_locale_vars): Use it.
56612
c3e2f19b
UD
566132010-08-11 Ulrich Drepper <drepper@redhat.com>
56614
3cdaa6ad
UD
56615 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56616 field.
56617 (struct statfs64): Likewise.
56618 (_STATFS_F_FLAGS): Define.
56619 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56621 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56622 (ST_VALID): Define locally.
56623 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56624 __statvfs_getflags, use the provided value.
56625 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56626 __ASSUME_STATFS_F_FLAGS.
56627
754f7da3
UD
56628 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56629
10b3bedc
UD
56630 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56631 Add sys/fanotify.h.
56632 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56633 fanotify_mask for GLIBC_2.13.
56634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56635 fanotify_init and fanotify_mark.
56636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56637 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56638
c08fb0d7
UD
56639 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56640 Add prlimit.
56641 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56642 prlimit64 for GLIBC_2.13.
56643 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56644 prlimit64.
56645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56646 syscall.
56647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56648 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56649 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56650 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56652 add prlimit alias.
56653 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56654
15bac72b
UD
56655 [BZ #11903]
56656 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56657 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56658
c3e2f19b
UD
56659 * nss/Makefile: Add rules to build and run tst-nss-test1.
56660 * shlib-versions: Add entry for libnss_test1.
56661 * nss/nss_test1.c: New file.
56662 * nss/tst-nss-test1.c: New file.
56663
56664 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56665 (__nss_configure_lookup): Set appropriate entry in
56666 __nss_configure_lookup to true.
56667 * nss/nsswitch.h: Define enum with indeces of databases in
56668 databases and __nss_database_custom arrays. Declare
56669 __nss_database_custom.
56670 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56671 to avoid using nscd when custom rules are installed.
56672 * nss/getXXbyYY_r.c: Likewise.
56673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56674
56675 * nss/nss_files/files-parse.c: Whitespace fixes.
56676
f15ce4d8
UD
566772010-08-09 Ulrich Drepper <drepper@redhat.com>
56678
56679 [BZ #11883]
56680 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56681 * posix/fnmatch_loop.c: Likewise.
56682
d22e4cc9
AK
566832010-07-17 Andi Kleen <ak@linux.intel.com>
56684
56685 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56686 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56687 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56688 * Versions.def [GLIBC_2.13]: Add.
56689
805bc17d
UD
566902010-08-06 Ulrich Drepper <drepper@redhat.com>
56691
56692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56693 Also fail if tpwd after pwuid call is NULL.
56694
5a42321d
ST
566952010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56696
56697 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56698 when converting to ms.
56699
fd3ebeda
ST
567002010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56701
56702 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56703 EOPNOTSUPP errors with ENOTTY.
56704 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56705 EOPNOTSUPP errors with ENOTTY.
56706
73507d3a
UD
567072010-07-31 Ulrich Drepper <drepper@redhat.com>
56708
56709 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56710 Add strcasecmp_l-ssse3.
56711 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56712 strcasecmp.
56713 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56714 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56715 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56716
fe36dd02
UD
567172010-07-30 Ulrich Drepper <drepper@redhat.com>
56718
66f6765a
UD
56719 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56720
42e08a54
UD
56721 * string/Makefile (strop-tests): Add strcasecmp.
56722 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56723 strcasecmp_l-nonascii.
56724 (gen-as-const-headers): Add locale-defines.sym.
56725 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56726 * sysdeps/x86_64/strcasecmp.S: New file.
56727 * sysdeps/x86_64/strcasecmp_l.S: New file.
56728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56729 * sysdeps/x86_64/locale-defines.sym: New file.
56730 * string/test-strcasecmp.c: New file.
56731
fe36dd02
UD
56732 * string/test-strcasestr.c: Test both ends of the range of characters.
56733 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56734
48cbc0d6
RM
567352010-07-29 Roland McGrath <roland@redhat.com>
56736
76e6d6bc 56737 [BZ #11856]
48cbc0d6
RM
56738 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56739
880113d9
UD
567402010-07-27 Ulrich Drepper <drepper@redhat.com>
56741
56742 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56743 for ld.so.
56744
deb9cabb
AS
567452010-07-27 Andreas Schwab <schwab@redhat.com>
56746
56747 * manual/memory.texi (Malloc Tunable Parameters): Document
56748 M_PERTURB.
56749
1c7570ff
RM
567502010-07-26 Roland McGrath <roland@redhat.com>
56751
56752 [BZ #11840]
56753 * configure.in (-fgnu89-inline check): Set and substitute
56754 gnu89_inline, not libc_cv_gnu89_inline.
56755 * configure: Regenerated.
56756 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56757
24fb0f88
UD
567582010-07-26 Ulrich Drepper <drepper@redhat.com>
56759
56760 * string/test-strnlen.c: New file.
56761 * string/Makefile (strop-tests): Add strnlen.
56762 * string/tester.c (test_strnlen): Add a few more test cases.
56763 * string/tst-strlen.c: Better error reporting.
56764
56765 * sysdeps/x86_64/strnlen.S: New file.
56766
8e96b93a
UD
567672010-07-24 Ulrich Drepper <drepper@redhat.com>
56768
56769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56770 lower-latency instructions.
56771
dbc676d4
UD
567722010-07-23 Ulrich Drepper <drepper@redhat.com>
56773
56774 * string/test-strcasestr.c: New file.
56775 * string/test-strstr.c: New file.
56776 * string/Makefile (strop-tests): Add strstr and strcasestr.
56777 * string/str-two-way.h: Don't undefine MAX.
56778 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56779
f6a31e0e
AS
567802010-07-21 Andreas Schwab <schwab@redhat.com>
56781
56782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56783 strcasestr-nonascii.
56784 (CFLAGS-strcasestr-nonascii.c): Define.
56785 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56787 Remove unused attribute.
56788
5dbc3b6c
RM
567892010-07-20 Roland McGrath <roland@redhat.com>
56790
56791 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56792 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56793 ld.so.cache was broken. With it, there is no way to disable dsocaps
56794 like LD_HWCAP_MASK can disable hwcaps.
56795
23d101d8
EPM
567962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56797
56798 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56799
cc9f2e47
UD
568002010-07-16 Ulrich Drepper <drepper@redhat.com>
56801
56802 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56803 call in strcasestr.
56804 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56805 __strcasestr_sse42_nonascii.
56806 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56807 strcasestr-nonascii.c.
56808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56809
77c1b069
LM
568102010-06-15 Luis Machado <luisgpm@br.ibm.com>
56811
56812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56814 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56816
440566c3
UD
568172010-07-09 Ulrich Drepper <drepper@redhat.com>
56818
56819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56820 fcntl.
56821
5be9d05d
AS
568222010-07-06 Andreas Schwab <schwab@redhat.com>
56823
c30b7ee2 56824 [BZ #11577]
5be9d05d
AS
56825 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56826 dl_signal_cerror.
56827
8a492a67
UD
568282010-07-06 Ulrich Drepper <drepper@redhat.com>
56829
56830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56831 _PC_PIPE_BUF using F_GETPIPE_SZ.
56832
713df3d5
RM
568332010-07-05 Roland McGrath <roland@redhat.com>
56834
56835 * manual/arith.texi (Rounding Functions): Fix rint description
56836 implicit in round description.
56837
702e8f14
UD
568382010-07-02 Ulrich Drepper <drepper@redhat.com>
56839
56840 * elf/Makefile: Fix linking for a few tests to make recent linker
56841 happy.
56842
52ed8be9
AS
568432010-06-30 Andreas Schwab <schwab@redhat.com>
56844
56845 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56846 $(common-objpfx)libc_nonshared.a.
56847
f47c9a11
LM
568482010-06-21 Luis Machado <luisgpm@br.ibm.com>
56849
56850 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56851 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56852 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56853 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56854 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56855 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56856 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56857 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56872 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56873 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56874 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56875 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56876 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56877 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56878 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56879 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56880 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56881 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56882 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56883 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56898
6fb8cbcb
L
568992010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56900
56901 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56902 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56903 * string/memmove.c (memmove): Renamed to ...
56904 (MEMMOVE): ...this. Default to memmove.
56905 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56906 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56907 (END_CHK): Define.
56908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56909 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56910 mempcpy-ssse3-back memmove-ssse3-back.
56911 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56914 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56915 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56916 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56917 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56918 * sysdeps/x86_64/multiarch/memmove.c: New file.
56919 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56920 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56921 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56922 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56923 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56925 Define.
56926 (index_Fast_Copy_Backward): Define.
56927 (HAS_ARCH_FEATURE): Define.
56928 (HAS_FAST_REP_STRING): Define.
56929 (HAS_FAST_COPY_BACKWARD): Define.
56930
4e733bac 569312010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56932
56933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56934 Restore proper fallback handling.
56935
63c4ed22
UD
569362010-06-19 Ulrich Drepper <drepper@redhat.com>
56937
ac2b484c
UD
56938 [BZ #11701]
56939 * posix/group_member.c (__group_member): Correct checking loop.
56940
63c4ed22
UD
56941 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56942 OOM in getpwuid_r correctly. Return error number when the caller
56943 should return, otherwise -1.
56944 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56945 call returning > 0 value.
56946 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56947
765ade4b
AS
569482010-06-07 Andreas Schwab <schwab@redhat.com>
56949
56950 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56951 libc_nonshared.a from targets in modules-names.
56952
80da2e09
KS
569532010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56954
56955 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56956 requires it.
56957
158db122
LM
569582010-06-10 Luis Machado <luisgpm@br.ibm.com>
56959
56960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56964
caa78cf8
AS
569652010-06-02 Andreas Schwab <schwab@redhat.com>
56966
56967 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56968
b2ef2c01
UD
569692010-06-14 Ulrich Drepper <drepper@redhat.com>
56970
56971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56972 and F_GETPIPE_SZ.
56973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56979
fbd643b6
RM
569802010-06-14 Roland McGrath <roland@redhat.com>
56981
56982 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56983
f32f2869
JJ
569842010-06-07 Jakub Jelinek <jakub@redhat.com>
56985
56986 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56987 __REDIRECT followed by __THROW.
56988 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56989 * posix/getopt.h (getopt): Likewise.
56990
2a50c078
EPM
569912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56992
56993 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56994 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56995 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56996 in AT_FLAGS.
56997 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56998 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56999
eb5ad2eb
LM
570002010-05-28 Luis Machado <luisgpm@br.ibm.com>
57001
57002 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57003
3c88fe1e
L
570042010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57005
57006 [BZ #11640]
57007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57008 Properly check family and model.
57009
d2f73151
TY
570102010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57011
57012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57013
ebd2e13d
LM
570142010-05-24 Luis Machado <luisgpm@br.ibm.com>
57015
57016 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57017
b32b8b45
UD
570182010-05-21 Ulrich Drepper <drepper@redhat.com>
57019
57020 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57021 symbol reference.
57022
9acbe24d
AS
570232010-05-19 Andreas Schwab <schwab@redhat.com>
57024
57025 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57026 symbol reference.
57027
f0ccf6ea
AS
570282010-05-21 Andreas Schwab <schwab@redhat.com>
57029
3d04ff3a
AS
57030 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57031 and internal_recvmmsg.
57032 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57033 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57034 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57035 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57036
f0ccf6ea
AS
57037 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57040
5b08ac57
AS
570412010-05-20 Andreas Schwab <schwab@redhat.com>
57042
57043 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57044
4828935d
LM
570452010-05-17 Luis Machado <luisgpm@br.ibm.com>
57046
57047 POWER7 optimizations.
57048 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57049 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57050
373d545e
UD
570512010-05-19 Ulrich Drepper <drepper@redhat.com>
57052
57053 * version.h: Update for 2.13 development version.
57054
21a2b1ae
AS
570552010-05-12 Andrew Stubbs <ams@codesourcery.com>
57056
57057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57058 exceptions. Return 0.
57059
3f7dcb2b
RM
570602010-05-07 Roland McGrath <roland@redhat.com>
57061
57062 * elf/ldconfig.c (main): Add a const.
57063
5f24d53a 570642010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57065
a160f8d8
UD
57066 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57067 (args_options): Add no-idn option.
57068 (ahosts_keys_int): Add idn_flags to ai_flags.
57069 (parse_option): Handle 'i' option to clear idn_flags.
57070
5f24d53a
UD
57071 * malloc/malloc.c (_int_free): Possible race in the most recently
57072 added check. Only act on the data if no current modification
57073 happened.
265bb1ce
UD
57074
57075See ChangeLog.17 for earlier changes.