]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix ldbl-128ibm asinhl inaccuracy (bug 18020).
[glibc.git] / ChangeLog
CommitLineData
137cef7d
JM
12015-02-25 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18020]
4 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6 * math/auto-libm-test-in: Add more tests of asinh.
7 * math/auto-libm-test-out: Regenerated.
8 * sysdeps/i386/fpu/libm-test-ulps: Update.
9 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10
cb43bb0d
CW
112015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
12
13 [BZ #15850]
14 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15 and ip6_mtuinfo definitions here.
16 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17 in this define too. Update comment.
18
9be1052b
BS
192015-02-24 Benno Schulenberg <bensberg@justemail.net>
20
21 * elf/sprof.c (load_shobj): Tweak error message to match others.
22
6807b1db
KE
232015-02-24 Kevin Easton <kevin@guarana.org>
24
25 [BZ #16145] (partial fix)
26 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
27 to reduce lock contention.
28
b433df00
ML
292015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
30
31 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32 (struct timex): Update time comment.
33 (ADJ_SETOFFSET): Define.
34
440169d6
JM
352015-02-24 Joseph Myers <joseph@codesourcery.com>
36
37 [BZ #18019]
38 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39 2**56 not 2**28 as threshold for log (2x) formula.
40 * math/auto-libm-test-in: Add more tests of acosh.
41 * math/auto-libm-test-out: Regenerated.
42 * sysdeps/i386/fpu/libm-test-ulps: Update.
43 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44
ba7d2c54
MF
452015-02-24 Mike Frysinger <vapier@gentoo.org>
46
47 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
48 parenthesis around the buf assignment.
49 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
50
9438b237
JM
512015-02-24 Joseph Myers <joseph@codesourcery.com>
52
53 [BZ #16783]
54 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
55 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
56 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
57 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
58 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
59 * math/libm-test.inc (scalb_test_data): Add more tests.
60
6909d276
PP
612015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
62
63 [BZ #17916]
64 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
65 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
66
65f6f938
ER
672015-02-24 Eric Rannaud <e@nanocritical.com>
68
69 [BZ #17523]
70 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
71 * io/bits/fcntl2.h (open): Use it.
72 (openat): Likewise.
73 * io/open.c (__libc_open): Likewise.
74 * io/open64.c (__libc_open64): Likewise.
75 * io/open64_2.c (__open64_2): Likewise.
76 * io/open_2.c (__open_2): Likewise.
77 * io/openat.c (__openat): Likewise.
78 * io/openat64.c (__openat64): Likewise.
79 * io/openat64_2.c (__openat64_2): Likewise.
80 * io/openat_2.c (__openat_2): Likewise.
81 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
82 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
83 * sysdeps/posix/open64.c (__libc_open64): Likewise.
84 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
85 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
86 (__open_nocancel): Likewise.
87 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
88 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
89 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
90
3e3002ff
SP
912015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
92
93 [BZ #14841]
94 * resolv/gethnamaddr.c (getanswer): Skip logging if
95 RES_USE_DNSSEC is set.
96 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
97
9813dd58
MF
982015-02-24 Mike Frysinger <vapier@gentoo.org>
99
100 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
101
7b1ec6a0
AO
1022015-02-23 Alexandre Oliva <aoliva@redhat.com>
103
104 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
105 201304L, for Unicode 7.
106
d49499c1
L
1072015-02-23 H.J. Lu <hongjiu.lu@intel.com>
108
109 [BZ #17836]
110 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
111 shared library. Add gmon-start.os otherwise.
112 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
113 $(objpfx)gmon-start.os if builing shared library.
114 ($(objpfx)g$(static-start-installed-name)): Likewise.
115
51225803
AS
1162015-02-23 Andreas Schwab <schwab@suse.de>
117
118 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
119
bdf1ff05
PP
1202015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
121
122 [BZ #17269]
123 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
124 (enlarge_userbuf): Likewise.
125
95296112
CLT
1262015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
127
128 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
129 * math/atest-exp.c (TIMEOUT): Adjust to 200.
130 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
131 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
132
e4a399dc
JM
1332015-02-20 Joseph Myers <joseph@codesourcery.com>
134
135 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
136 expression inside statement expression.
137
7133957f
SL
1382015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
139
140 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
141 <sysdeps/nptl/lowlevellock.h> and remove macros and
142 functions that are now defined there.
143 (SYS_futex): Remove.
144 (lll_compare_and_swap): Remove.
145 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
146
40176158
JM
1472015-02-19 Joseph Myers <joseph@codesourcery.com>
148
149 [BZ #17999]
150 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
151 instead of scandirat.
152 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
153 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
154 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
155 __scandirat.
156 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
157 (__scandirat): Declare. Use libc_hidden_proto.
158 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
159 Remove variable.
160 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
161
4629c866
JM
1622015-02-18 Joseph Myers <joseph@codesourcery.com>
163
164 [BZ #15319]
165 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
166 (MO): New macro.
167 (__ieee754_atan2): For results with small absolute value, force
168 underflow exception and remove excess range and precision from
169 return value.
170 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
171 (MO): New macro.
172 (__ieee754_atan2f): For results with small absolute value, force
173 underflow exception and remove excess range and precision from
174 return value.
175 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
176 (MO): New macro.
177 (__atan): For results with small absolute value, force underflow
178 exception and remove excess range and precision from return value.
179 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
180 (MO): New macro.
181 (__atanf): For results with small absolute value, force underflow
182 exception and remove excess range and precision from return value.
183 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
184 <math.h>.
185 (__ieee754_atan2): Force underflow exception for results with
186 small absolute value.
187 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
188 <math_private.h>.
189 (atan): Force underflow exception for results with small absolute
190 value.
191 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
192 (__atanf): Force underflow exception for results with small
193 absolute value.
194 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
195 <math.h>.
196 (__atanl): Force underflow exception for results with small
197 absolute value.
198 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
199 (__atanl): Force underflow exception for results with small
200 absolute value.
201 * sysdeps/x86/fpu/bits/mathinline.h
202 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
203 (__ieee754_atan2): Only define inline for long double.
204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
205 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
206 * math/auto-libm-test-in: Do not mark underflow exceptions as
207 possibly missing for bug 15319. Add more tests of atan2.
208 * math/auto-libm-test-out: Regenerated.
209 * math/libm-test.inc (casin_test_data): Do not mark underflow
210 exceptions as possibly missing for bug 15319.
211 (casinh_test_data): Likewise.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213
9ee16d8b
SE
2142015-02-18 Steve Ellcey <sellcey@imgtec.com>
215
216 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
217 * sysdeps/mips/bits/endian.h: Fix comments.
218
4ffb1771
JM
2192015-02-18 Joseph Myers <joseph@codesourcery.com>
220
221 [BZ #17996]
222 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
223 (hdestroy_r): Likewise.
224 (hsearch_r): Likewise.
225 (__hcreate_r): Declare and use libc_hidden_proto.
226 (__hdestroy_r): Likewise.
227 (__hsearch_r): Likewise.
228 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
229 (hcreate): Call __hcreate_r instead of hcreate_r.
230 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
231 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
232 as weak alias of __hcreate_r.
233 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
234 __hdestroy_r.
235 (hsearch_r): Rename to __hsearch_r and define as weak alias of
236 __hsearch_r.
237 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
238 Remove variable.
239 (test-xfail-XPG4/search.h/linknamespace): Likewise.
240 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
241 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
242 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
243
94c5a52a
SP
2442015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
245
246 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
247 arena_lock into a single arena_get.
248
8a35c3fe
CD
2492015-02-17 Carlos O'Donell <carlos@redhat.com>
250
251 * dl-reloc.c: Inlucde libc-internal.h.
252 (_dl_try_allocate_static_tls): Call ALIGN_UP.
253 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
254 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
255 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
256 (grow_heap): Likewise.
257 * malloc/malloc.c: Include libc-internal.h.
258 (do_check_malloc): Call powerof2.
259 (sysmalloc): Use pagesize. Call ALIGN_UP.
260 (systrim): Use pagesize.
261 (mremap_chunk): Use pagesize. Call ALIGN_UP.
262 (__libc_valloc): Use pagesize.
263 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
264
1a2325c0
JM
2652015-02-17 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #17991]
268 * include/sys/resource.h (__getrlimit64): Declare. Use
269 libc_hidden_proto.
270 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
271 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
272 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
273 getrlimit64.
274 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
275 __getrlimit64.
276 [!getrlimit64] (getrlimit64): Define as weak alias of
277 __getrlimit64. Use libc_hidden_weak.
278 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
279 using __getrlimit64 not __new_getrlimit64.
280 (__GI_getrlimit64): Likewise.
281 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
282 Likewise.
283 (__GI_getrlimit64): Likewise.
284 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
286 (getrlimit): Add __getrlimit64 alias.
287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
288 Likewise.
289 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
290 Remove variable.
291 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
292 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
293
8ae4bb5a
PP
2942015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
295
296 * libio/fileops.c: Add missing sys/mman.h
297 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
298
18a218b7
JM
2992015-02-17 Joseph Myers <joseph@codesourcery.com>
300
301 * manual/math.texi (Errors in Math Functions): Clarify goals
302 regarding inexact and underflow exceptions.
303
e72ad0ef
SE
3042015-02-17 Steve Ellcey <sellcey@imgtec.com>
305
306 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
307 * sysdeps/mips/memset.S: Ditto.
308
2caa4099
SE
3092015-02-17 Steve Ellcey <sellcey@imgtec.com>
310
311 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
312
f20bfc9b
SL
3132015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
314
315 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
316 (__v1longjmp): Remove versioned symbol.
317 (__v1siglongjmp): Remove alias and versioned symbol.
318 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
319 (__v2siglongjmp): Likewise.
320
71c06b69
TR
3212015-02-16 Torvald Riegel <triegel@redhat.com>
322
323 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
324
a9a05adb
MF
3252015-02-16 Mike Frysinger <vapier@gentoo.org>
326
327 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
328
ce8fc784
JM
3292015-02-16 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #17987]
332 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
333 zero result does not depend on the sign resulting from
334 subtraction.
335 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
336 Likewise.
337 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
338 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
339 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
340 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
341 * math/libm-test.inc (remquo_test_data): Add more tests.
342
0d7036bd
PE
3432015-02-16 Paul Eggert <eggert@cs.ucla.edu>
344
345 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
346 Problem reported by J William Piggott.
347
86c56b16
JM
3482015-02-16 Joseph Myers <joseph@codesourcery.com>
349
a820f9b3
JM
350 [BZ #17978]
351 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
352 products 4 * y and 2 * y where those would overflow.
353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
354 Likewise.
355 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
356 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
358 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
359 * math/libm-test.inc (remquo_test_data): Add more tests.
360
be802953
JM
361 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
362
e5e72fe9
JM
363 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
364 [defined _COMPILING_NEWLIB].
365 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
366 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
367
86c56b16
JM
368 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
369 [!defined __mips_isa_rev || __mips_isa_rev < 6].
370
35264d14
TR
3712015-02-16 Torvald Riegel <triegel@redhat.com>
372
373 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
374 acquired.
375
6f49e32a
MF
3762015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
377
378 [BZ #17792]
379 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
380 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
381 HOST_STACK_END_ADDR): Likewise.
382
e525154e
SE
3832015-02-13 Steve Ellcey <sellcey@imgtec.com>
384
385 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
386 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
387 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
388
4ab770b7
RM
3892015-02-13 Roland McGrath <roland@hack.frob.com>
390
391 * sysdeps/generic/c++-types.data: New file.
392 * sysdeps/generic/ld.abilist: New file.
393 * sysdeps/generic/libBrokenLocale.abilist: New file.
394 * sysdeps/generic/libanl.abilist: New file.
395 * sysdeps/generic/libc.abilist: New file.
396 * sysdeps/generic/libcrypt.abilist: New file.
397 * sysdeps/generic/libdl.abilist: New file.
398 * sysdeps/generic/libm.abilist: New file.
399 * sysdeps/generic/libpthread.abilist: New file.
400 * sysdeps/generic/libresolv.abilist: New file.
401 * sysdeps/generic/librt.abilist: New file.
402
d9afe48d
JM
4032015-02-13 Joseph Myers <joseph@codesourcery.com>
404
405 [BZ #17569]
406 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
407 Compute absolute value of x as modified by fmod, not original
408 value of x.
409 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
410 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
411 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
412 RUN_TEST_ffI_f1_mod8.
413 (remquo_test_data): Add more tests.
414
3846188b
RM
4152015-02-13 Roland McGrath <roland@hack.frob.com>
416
417 * sysdeps/init_array/pt-crti.S: New file.
418
95c26233
JM
4192015-02-13 Joseph Myers <joseph@codesourcery.com>
420
421 [BZ #17967]
422 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
423 __builtin_fmaf instead of relying on contraction of a * b + c.
424
3f293d61
WP
4252015-02-12 J William Piggott <elseifthen@gmx.com>
426
427 [BZ #17969]
428 * manual/time.texi: correct the zoneinfo path in the TZ Variable
429 node.
430
e8bd5286
JM
4312015-02-12 Joseph Myers <joseph@codesourcery.com>
432
433 [BZ #17964]
434 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
435 __builtin_fma instead of relying on contraction of a * b + c.
436
04f5a636
RM
4372015-02-12 Roland McGrath <roland@hack.frob.com>
438
96a15749
RM
439 * Makeconfig (ASFLAGS): Add -Werror=undef.
440 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
441 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
442 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
443
04f5a636
RM
444 * Makeconfig (after-link): New variable.
445 (+link-pie, +link-pie-tests): Use it.
446 (+link-static, +link-static-tests): Likewise.
447 (+link, +link-tests): Likewise.
448 * Makerules (build-module, build-module-asneeded): Likewise.
449 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
450 Likewise.
451 * elf/Makefile ($(objpfx)ld.so): Likewise.
452
87a629c5
RS
4532015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
454
455 [BZ #17965]
456 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
457 both struct timeval and struct timespec.
458
03d95bd4
JM
4592015-02-12 Joseph Myers <joseph@codesourcery.com>
460
461 [BZ #16560]
462 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
463 and redefine.
464 (__ieee754_exp2l): Do not multiply small fractional parts by
465 M_LN2l.
466 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
467 small argument.
468 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
469 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
470 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
471 * math/auto-libm-test-in: Add more tests of exp2.
472 * math/auto-libm-test-out: Regenerated.
473
98408b95
RS
4742015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
475
476 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
477 unaligned path.
478
6f741503
AZ
4792015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480
481 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
482 little endian.
483
2868e070
AS
4842015-02-12 Andreas Schwab <schwab@suse.de>
485
486 [BZ #15790]
487 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
488 Filter out elision flags from value returned in kind.
489 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
490 * nptl/tst-pthread-mutexattr.c: New file.
491
ebf27d12
ST
4922015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
493
494 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
495 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
496 into gnu-gnu, and update comment to refer to abi-tags.
497
d435569c
JM
4982015-02-11 Joseph Myers <joseph@codesourcery.com>
499
500 [BZ #15467]
501 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
502 (__sincos): Set errno to EDOM for infinite argument.
503 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
504 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
505 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
506 (__sincosl): Set errno to EDOM for infinite argument.
507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
508 (__sincosl): Set errno to EDOM for infinite argument.
509 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
510 (__sincosl): Set errno to EDOM for infinite argument.
511 * math/libm-test.inc (sincos_test_data): Test errno setting.
512
d35273f2
LH
5132015-02-11 Leonhard Holz <leonhard.holz@web.de>
514
515 * string/strxfrm_l.c: Remove #define STRCMP.
516 * string/strcoll_l.c: Remove #define STRLEN.
517 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
518 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
519
306bc0d1
JM
5202015-02-10 Joseph Myers <joseph@codesourcery.com>
521
522 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
523 * sysdeps/mips/mips32/sfp-machine.h: ... here.
524 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
525 * sysdeps/mips/mips64/Makefile: ... here.
526 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
527 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
528 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
529 * sysdeps/mips/mips64/sfp-machine.h: ... here.
530 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
531 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
532 * sysdeps/mips/mips64/n64/Implies: Likewise.
533
92b67e8d
RM
5342015-02-10 Roland McGrath <roland@hack.frob.com>
535
536 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
537 <sys/time.h>, <string.h>, and <errno.h>.
538 (dest_offset, dest_address, value, zero): Remove unused variables.
539 (ldouble): Remove typedef.
540 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
541 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
542 1). Fix code style.
543 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
544 (check): Function removed.
545 (CHECK): New macro.
546 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
547 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
548 Don't call set_sigaction_FP and remove_sigaction_FP here.
549 (ldouble_test): Just use 'long double' as macro argument, no need for
550 the 'ldouble' typedef.
551 (do_test): Set up SIGFPE handler at start, using plain signal rather
552 than sigaction. Fix code style.
553
132a1328
EF
5542015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
555
556 [BZ #17949]
557 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
558 jump label.
559
3001e54c
AZ
5602015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
561
bc0cdc49
AZ
562 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
563 * sysdeps/powerpc/powerpc32/configure: Regenerated.
564
83658961
AZ
565 * sysdeps/powerpc/configure.ac: Remove file.
566 * sysdeps/powerpc/configure: Likewise.
567
10169938
AZ
568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
569 [sysdep_routines]: Remove wordcopy-power6 object.
570 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
571 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
572 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
573 (__memmove_ppc32): Likewise.
574 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
575 file.
576 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
577 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
578 Remove preprocessor.
579
8548a53d
AZ
580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
581 [sysdep_routines]: Remove wide chars objects.
582 [wcsmbs]: New rule for wide char objects.
583
b2692114
AZ
584 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
585 Remove wordcopy-power6 obejct.
586 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
587 Use local call for wordcopy and memcpy symbols.
588 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
590 implementation for loader.
591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
592
18e270aa
AZ
593 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
594 Remove wordcopy-power7 object.
595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
597 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
598 (_wordcopy_fwd_dest_aligned): Likewise.
599 (_wordcopy_bwd_aligned): Likewise.
600 (_wordcopy_bwd_dest_aligned): Likewise.
601
6f0993a6
AZ
602 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
603 Rewrite to call __memmove_ppc instead of include default
604 implementation.
605
3001e54c
AZ
606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
607 Remove wide chars objects.
608 [wcsmbs]: New rule for wide char objects.
609
59b61c82
AS
6102015-02-09 Andreas Schwab <schwab@suse.de>
611
612 [BZ #17912]
613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
614 in terms of __O_DIRECTORY.
615
ebd7aede
ST
6162015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
617
618 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
619 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
620 call PTR_MANGLE.
621 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
622 PTR_DEMANGLE.
ebd7aede 623
3999d26e
PE
6242015-02-07 Paul Eggert <eggert@cs.ucla.edu>
625
626 Add ersatz _Static_assert on older C hosts
627 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
628 pre-C11 C platform that is not known to support _Static_assert.
629
e9a5bc1c
ST
6302015-02-07 Richard Braun <rbraun@sceen.net>
631
632 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
633 sigstate.
e86c5b64 634 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 635
e2049d17
ST
6362015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
637
638 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
639 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
640 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
641 instead of int.
642 * misc/fchflags.c (fchflags): Likewise.
643 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
644 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
645 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
646 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
647 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
648 Declare macros.
649 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
650 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
651 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
652 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
653 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
654 45.
a9a002fb
ST
655 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
656 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
657 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
658 MACH_RCV_TIMED_OUT.
f96ec27a
ST
659 * hurd/hurd/signal.h (_hurd_self_sigstate,
660 _hurd_critical_section_lock, _hurd_critical_section_unlock):
661 Explicit casts from void *.
4fc81a77 662 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 663 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 664
f05826f0
ST
665 [BZ #4719]
666 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
667 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
668 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
669 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
670 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
671 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
672
a5eb23de
ST
673 [BZ #17944]
674 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
675 duplicates ADDR->sun_path with sockaddr LEN limitation.
676 * sysdeps/mach/hurd/connect.c: Include <string.h>
677 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
678 * sysdeps/mach/hurd/sendmsg.c: Likewise.
679 * sysdeps/mach/hurd/sendto.c: Likewise.
680 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
681 implementing it by hand.
682
ac9e0e5e
RM
6832015-02-06 Roland McGrath <roland@hack.frob.com>
684
f8d1bb4c
RM
685 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
686 Use sfi_breg on ldr.
687 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
688 Likewise.
689
022f4812
RM
690 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
691 it's defined.
692 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
693 Test SIGSETXID only if it's defined.
694
1ac074e6
RM
695 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
696
f50ad78b
RM
697 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
698 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
699
9e7265f4
RM
700 * nptl/tst-align2.c: Moved ...
701 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
702 * nptl/Makefile (tests): Remove tst-align2.
703 * sysdeps/unix/sysv/linux/Makefile
704 [$(subdir) = nptl] (tests): Add tst-align-clone.
705 * nptl/tst-getpid1.c: Moved ...
706 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
707 * nptl/tst-getpid2.c: Moved ...
708 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
709 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
710 * sysdeps/unix/sysv/linux/Makefile
711 [$(subdir) = nptl] (tests): ... here.
712 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
713 * sysdeps/unix/sysv/linux/Makefile
714 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
715
62ad2abc
RM
716 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
717 Drop trailing \n from perror argument. Use return rather than exit.
718
cfa69b0b
RM
719 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
720 on [SA_SIGINFO].
721 * nptl/tst-cancel21.c (do_test): Likewise.
722 * debug/tst-backtrace6.c: Include <signal.h> first thing.
723 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
724 [!SA_SIGINFO]: Make it a stub test.
725
82727806
RM
726 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
727 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
728
da3a1594
RM
729 * posix/tst-getlogin.c: Move to ...
730 * login/tst-getlogin.c: ... here.
731 * posix/Makefile (tests): Move tst-getlogin to ...
732 * login/Makefile (tests): ... here.
733
b65c0ff9
RM
734 * libio/tst-atime.c (do_test): Move local variables SV and E
735 inside [ST_NOATIME] conditional.
736
56606ab3
RM
737 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
738
ebf7d6ee
RM
739 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
740
ca0e0675
RM
741 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
742 (wait_code): New function replaces macro.
743 Call nanosleep rather than syscall.
744
8c28bbc6
RM
745 * nptl/pt-system.c: Rewritten. Put everything under
746 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
747 Use IFUNC to redirect when possible.
748
ec2a88b3
RM
749 * nptl/pt-longjmp.c: Rewritten. Put everything under
750 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
751 Use IFUNC to redirect when possible.
752
beff1d13
RM
753 * nptl/pt-fork.c: Rewritten. Put everything under
754 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
755 Use IFUNC to redirect when possible.
756 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
757
ea02c6b8
RM
758 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
759 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
760 unconditionally nowadays. This included the only reference to
761 __vdso_clock_gettime that appears outside libc proper.
762 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
763 Remove version set (containing only __vdso_clock_gettime).
764 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
765 Add attribute_hidden.
766 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
767 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
768 libc_hidden_data_def.
769 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
770 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
771
a1309c2b
RM
772 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
773 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
774 setrpcent, and getrpcport to ...
775 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
776 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
777 getrpcbynumber_r, and getrpcent_r to ...
778 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
779 * inet/getrpcbyname.c: Moved ...
780 * sunrpc/getrpcbyname.c: ... here.
781 * inet/getrpcbyname_r.c: Moved ...
782 * sunrpc/getrpcbyname_r.c: ... here.
783 * inet/getrpcbynumber.c: Moved ...
784 * sunrpc/getrpcbynumber.c: ... here.
785 * inet/getrpcbynumber_r.c: Moved ...
786 * sunrpc/getrpcbynumber_r.c: ... here.
787 * inet/getrpcent.c: Moved ...
788 * sunrpc/getrpcent.c: ... here.
789 * inet/getrpcent_r.c: Moved ...
790 * sunrpc/getrpcent_r.c: ... here.
791 * inet/Makefile (routines): Move those to ...
792 * sunrpc/Makefile (routines): ... here.
793 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
794 the $(subdirs) list.
795 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
796 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
797 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
798 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
799
ac9e0e5e
RM
800 * elf/Makefile (routines): Include $(all-dl-routines), not just
801 $(dl-routines).
802 (rtld-routines): Likewise. Use = rather than :=.
803 * sysdeps/aarch64/Makefile [$(subdir) = elf]
804 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
805 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
806 * sysdeps/arm/Makefile: Likewise.
807 * sysdeps/i386/Makefile: Likewise.
808 * sysdeps/x86_64/Makefile: Likewise.
809 * sysdeps/hppa/Makefile [$(subdir) = elf]
810 (sysdep_routines, sysdep-rtld-routines): Don't add
811 $(sysdep-dl-routines) to these.
812 * sysdeps/ia64/Makefile: Likewise.
813 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
814 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
815 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
816 Don't add dl-static to these; sysdep-dl-routines alone is enough.
817 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
818 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
820 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
821 * sysdeps/powerpc/Makefile [$(subdir) = elf]
822 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
823 these; sysdep-dl-routines alone is enough.
824
639e42eb
JM
8252015-02-06 Joseph Myers <joseph@codesourcery.com>
826
1c7a4a51
JM
827 [BZ #17932]
828 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
829 where multiplication results in zero and third argument is finite
830 and nonzero.
831 * math/auto-libm-test-in: Add more tests of fma.
832 * math/auto-libm-test-out: Regenerated.
833
61f006c1
JM
834 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
835 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
836 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
837 (_FP_CMP_EQ): Likewise.
838 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
839
639e42eb
JM
840 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
841 extra argument CHECK_NAN. Redefine as wrapper around
842 _FP_EXTEND_CNAN.
843
3c0c543b
CD
8442015-02-06 Carlos O'Donell <carlos@systemhalted.org>
845
4e42b5b8
CD
846 * version.h (RELEASE): Set to "stable".
847 (VERSION): Set to "2.21"
848 * include/features.h (__GLIBC_MINOR__): Set to 21.
849
3c0c543b
CD
850 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
851
5bd80bfe 8522015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 853 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
854
855 [BZ #16618]
856 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
857 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
858 size in bytes. Store needed elements in wpmax. Use needed size
859 in bytes for extend_alloca.
860
3f823f48
CD
8612015-02-05 Carlos O'Donell <carlos@systemhalted.org>
862
04cb913d
CD
863 * manual/install.texi: Latest tested versions are GCC 4.9.2,
864 binutls 2.25, and texinfo 5.2.
865 * INSTALL: Regenerate.
866 * sysdeps/nios2/configure: Regenerate.
867 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
868 * manual/contrib.texi: Update.
869 * po/be.po: Update.
870 * po/bg.po: Update.
871 * po/ca.po: Update.
872 * po/cs.po: Update.
873 * po/da.po: Update.
874 * po/de.po: Update.
875 * po/el.po: Update.
876 * po/eo.po: Update.
877 * po/es.po: Update.
878 * po/fi.po: Update.
879 * po/fr.po: Update.
880 * po/gl.po: Update.
881 * po/hr.po: Update.
882 * po/hu.po: Update.
883 * po/ia.po: Update.
884 * po/id.po: Update.
885 * po/it.po: Update.
886 * po/ja.po: Update.
887 * po/ko.po: Update.
888 * po/lt.po: Update.
889 * po/nb.po: Update.
890 * po/nl.po: Update.
891 * po/pl.po: Update.
892 * po/pt_BR.po: Update.
893 * po/ru.po: Update.
894 * po/rw.po: Update.
895 * po/sk.po: Update.
896 * po/sl.po: Update.
897 * po/sv.po: Update.
898 * po/tr.po: Update.
899 * po/uk.po: Update.
900 * po/vi.po: Update.
901 * po/zh_CN.po: Update.
902 * po/zh_TW.po: Update.
903
3f823f48
CD
904 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
905 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
906 * sysdeps/hppa/dl-irel.h: Remove #warning.
907 * sysdeps/hppa/entry.h: Provide prototype for
908 __canonicalize_funcptr_for_compare and cast argument.
909 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
910 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
911 * sysdeps/hppa/sotruss-lib.c: New file.
912 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
913 (atomic_compare_and_exchange_val_acq): Use __typeof__.
914 (atomic_compare_and_exchange_bool_acq): Likewise.
915 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
916 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
917
918 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
919 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
920 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
921
34c56048
CLT
9222015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
923
924 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
925 called function in non-PIC case.
926
d4abeca5
DM
9272015-01-31 David S. Miller <davem@davemloft.net>
928
edac0a60
DM
929 * sysdeps/sparc/sparc32/bits/atomic.h
930 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
931 unlock not after it.
932 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
933 volatile register usage warnings from the compiler.
934
d4abeca5
DM
935 * sysdeps/sparc/nptl/sem_init.c: Delete.
936 * sysdeps/sparc/nptl/sem_post.c: Delete.
937 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
938 * sysdeps/sparc/nptl/sem_wait.c: Delete.
939 * sysdeps/sparc/sparc32/sem_init.c: New file.
940 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
941 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
942 padding explicitly initialized.
943 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
944 padding for in-semaphore spinlock.
945 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
946 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
947 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
948 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
949 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
950 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
951 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
952 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
953 version.
954 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
955 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
956
5f3d0b78
L
9572015-01-30 H.J. Lu <hongjiu.lu@intel.com>
958
959 [BZ #17801]
960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
961 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
962 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
963 New.
964 (index_AVX_Fast_Unaligned_Load): Likewise.
965 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
966 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
967 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
968 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
969 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
970 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
971 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
972 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
973 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
974
b658fdd8
AS
9752015-01-29 Andreas Schwab <schwab@suse.de>
976
977 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
978
3cb26316
SP
9792015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
980
981 [BZ #17892]
982 * nscd/nscd_stat.c (send_stats): Initialize DATA.
983
527de9e4
MS
9842015-01-28 Martin Sebor <msebor@redhat.com>
985
986 * math/README.libm-test: Clarify. Add "How to read the test output."
987
06991eb8
CM
9882015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
989
990 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
991 Define to 0.
992
df341342
JM
9932015-01-28 Joseph Myers <joseph@codesourcery.com>
994
995 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
996 (__HAVE_64B_ATOMICS): Define to 0.
997
08cee2a4
AZ
9982015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
999
d4d0ecb2
AZ
1000 [BZ #17885]
1001 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1002 value to set as new flag.
1003
08cee2a4
AZ
1004 [BZ #16576]
1005 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1006 and use _ARCH_PPCSQ instead.
1007 (__ieee754_sqrt): Likewise.
1008 (__ieee754_sqrtf): Likewise.
1009 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1010 _ARCH_PPCSQ is defined.
1011 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1012 fsqrt instruction.
1013 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1014 _ARCH_PPCSQ is defined.
1015 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1016 fsqrts instruction.
1017 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1018
5fe8e359
AK
10192015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1020
1021 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1022 bug (GCC BZ #64739).
1023
24bb7432
AS
10242015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1025
fa20da31
AS
1026 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1027 Mark _retval as used.
1028 (lll_futex_wake_unlock): Likewise.
1029 (lll_futex_timed_wait_requeue_pi): Likewise.
1030
45819cbc
AS
1031 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1032 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1033 register variables.
1034
403cc231
AS
1035 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1036 libm_hidden_def.
1037
24bb7432
AS
1038 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1039 (__bswap_64): Mark as __always_inline.
1040
9317ea65
B
10412015-01-25 Bram <bug_rh@spam.wizbit.be>
1042
1043 [BZ #15378]
1044 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1045 when none of the search directories exist.
1046
0e87343e
AZ
10472015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1048
bea58013
AZ
1049 [BZ #17869]
1050 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1051 power8 in .machine directive.
1052
0e87343e
AZ
1053 [BZ #17868]
1054 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1055 set dependency from opd value.
1056
ede0236c
L
10572015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1058
1059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1060 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1061 architecture.
ede0236c 1062
22971c35
L
10632015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 [BZ #17870]
1066 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1067 with uint64_t.
1068 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1069 (uint64_t) 1.
e0da28a1 1070 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1071 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1072 Replace 1UL with (uint64_t) 1.
1073 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1074 int with uint64_t.
1075
da5bf245
RM
10762015-01-23 Roland McGrath <roland@hack.frob.com>
1077
2ec2d703
RM
1078 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1079 (if_freenameindex): Likewise.
1080
da5bf245
RM
1081 * resource/getrlimit64.c: Add missing libc_hidden_def.
1082
d7423856
JM
10832015-01-22 Joseph Myers <joseph@codesourcery.com>
1084
1085 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1086 __label__.
1087 (_FP_FMA): Likewise.
1088 (_FP_TO_INT_ROUND): Likewise.
1089 (_FP_FROM_INT): Likewise.
1090
6b2ba95b
AZ
10912015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092
1093 [BZ #16418]
1094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1095 Make code racy and cancel safe.
1096
ccdb048d
CD
10972015-01-21 Carlos O'Donell <carlos@redhat.com>
1098
191220b3
CD
1099 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1100 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1101 attribution.
1102
0897c551
CD
1103 * pwd/tst-getpw.c: Rewrite.
1104
ccdb048d
CD
1105 [BZ #17702]
1106 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1107 (modules-names): Add moddummy1 and moddummy2.
1108 ($(objpfx)tst-rec-dlopen): Define.
1109 * dlfcn/moddummy1.c: New file.
1110 * dlfcn/moddummy2.c: New file.
1111 * dlfcn/tst-rec-dlopen.c: New file.
1112 * elf/dl-cache.c (_dl_load_cache_lookup):
1113 Return char*. Copy result with alloca/strcpy/strdup.
1114 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1115 returns char*. Free cached. If not saving realname
1116 free cached.
1117 * elf/dl-open.c (dl_open_worker): Do not assert that
1118 _r_debug->r_state is RT_CONSISTENT.
1119 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1120 returns char*.
1121
042e1521
CD
11222015-01-21 Torvald Riegel <triegel@redhat.com>
1123 Carlos O'Donell <carlos@redhat.com>
1124
1125 [BZ #12674]
1126 * nptl/sem_waitcommon.c: New file.
1127 * nptl/sem_wait.c: Include sem_waitcommon.c.
1128 (__sem_wait_cleanup, do_futex_wait): Remove.
1129 (__new_sem_wait): Adapt.
1130 (__new_sem_trywait): New function.
1131 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1132 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1133 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1134 (sem_timedwait): Adapt.
1135 * nptl/sem_post.c (__new_sem_post): Adapt.
1136 (futex_wake): New function.
1137 (__old_sem_post): Add release MO fence.
1138 * nptl/sem_open.c (sem_open): Adapt.
1139 * nptl/sem_init.c (__new_sem_init): Adapt.
1140 (futex_private_if_supported): New function.
1141 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1142 (__old_sem_getvalue): Add using previous code.
1143 * sysdeps/nptl/internaltypes.h: Adapt.
1144 * nptl/tst-sem13.c (do_test): Adapt.
1145 * nptl/tst-sem11.c (main): Adapt.
1146 * nptl/sem_trywait.c: Remove.
1147 * nptl/DESIGN-sem.txt: Remove.
1148 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1149 (gen-as-const-headers): Remove structsem.sym.
1150 * nptl/structsem.sym: Remove.
1151 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1152 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1153 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1154 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1155 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1156 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1157 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1158 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1159 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1160 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1161 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1162 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1163 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1164 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1165 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1166 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1167 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1168 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1169 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1170 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1171 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1172 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1173
fe0e85af
CD
11742015-01-20 Carlos O'Donell <carlos@redhat.com>
1175
a8db092e
CD
1176 * INSTALL: Regenerated.
1177
fe0e85af
CD
1178 * po/libc.pot: Regenerated.
1179
522e6ee3
CLT
11802015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1181 Sandra Loosemore <sandra@codesourcery.com>
1182 Andrew Jenner <andrew@codesourcery.com>
1183 Joseph Myers <joseph@codesourcery.com>
1184 Nathan Sidwell <nathan@codesourcery.com>
1185
1186 * NEWS: Mention new Nios II port.
1187 * sysdeps/nios2/Implies: New file.
1188 * sysdeps/nios2/Makefile: New file.
1189 * sysdeps/nios2/Subdirs: New file.
1190 * sysdeps/nios2/Versions: New file.
1191 * sysdeps/nios2/__longjmp.S: New file.
1192 * sysdeps/nios2/abort-instr.h: New file.
1193 * sysdeps/nios2/backtrace.c: New file.
1194 * sysdeps/nios2/bits/endian.h: New file.
1195 * sysdeps/nios2/bits/fenv.h: New file.
1196 * sysdeps/nios2/bits/link.h: New file.
1197 * sysdeps/nios2/bits/setjmp.h: New file.
1198 * sysdeps/nios2/bsd-_setjmp.S: New file.
1199 * sysdeps/nios2/bsd-setjmp.S: New file.
1200 * sysdeps/nios2/configure: New generated file.
1201 * sysdeps/nios2/configure.ac: New file.
1202 * sysdeps/nios2/crti.S: New file.
1203 * sysdeps/nios2/crtn.S: New file.
1204 * sysdeps/nios2/dl-init.c: New file.
1205 * sysdeps/nios2/dl-machine.h: New file.
1206 * sysdeps/nios2/dl-sysdep.h: New file.
1207 * sysdeps/nios2/dl-tls.h: New file.
1208 * sysdeps/nios2/dl-trampoline.S: New file.
1209 * sysdeps/nios2/gccframe.h: New file.
1210 * sysdeps/nios2/gmp-mparam.h: New file.
1211 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1212 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1213 * sysdeps/nios2/ldsodefs.h: New file.
1214 * sysdeps/nios2/libc-tls.c: New file.
1215 * sysdeps/nios2/libm-test-ulps: New file.
1216 * sysdeps/nios2/machine-gmon.h: New file.
1217 * sysdeps/nios2/math-tests.h: New file.
1218 * sysdeps/nios2/math_private.h: New file.
1219 * sysdeps/nios2/memusage.h: New file.
1220 * sysdeps/nios2/nptl/Makefile: New file.
1221 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1222 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1223 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1224 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1225 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1226 * sysdeps/nios2/nptl/tls.h: New file.
1227 * sysdeps/nios2/preconfigure: New file.
1228 * sysdeps/nios2/s_fma.c: New file.
1229 * sysdeps/nios2/s_fmaf.c: New file.
1230 * sysdeps/nios2/setjmp.S: New file.
1231 * sysdeps/nios2/sfp-machine.h: New file.
1232 * sysdeps/nios2/sotruss-lib.c: New file.
1233 * sysdeps/nios2/stackguard-macros.h: New file.
1234 * sysdeps/nios2/stackinfo.h: New file.
1235 * sysdeps/nios2/start.S: New file.
1236 * sysdeps/nios2/sysdep.h: New file.
1237 * sysdeps/nios2/tls-macros.h: New file.
1238 * sysdeps/nios2/tst-audit.h: New file.
1239 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1240 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1241 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1242 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1243 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1244 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1245 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1246 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1247 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1248 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1249 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1250 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1251 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1252 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1253 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1254 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1255 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1256 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1257 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1258 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1259 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1260 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1261 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1262 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1263 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1264 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1265 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1266 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1267 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1268 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1269 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1270 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1271 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1272 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1273 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1274 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1276 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1277 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1278 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1279 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1280 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1281 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1282 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1283
026eb207
SL
12842015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1285
1286 [BZ #17844]
1287 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1288 (getutent): Use weak_alias in non SHARED case
1289 and default_symbol_version in SHARED case.
1290 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1291 (getutent_r, pututline): Likewise.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1293 (getutid): Likewise.
1294 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1295 (getutid_r): Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1297 (getutline): Likewise.
1298 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1299 (getutline_r): Likewise.
1300 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1301 (updwtmp): Likewise.
1302
1d532483
SL
13032015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1304
1305 [BZ #17848]
1306 * sysdeps/s390/s390-32/memcmp.S
1307 (memcmp_g5): Rename to __memcmp_g5.
1308 * sysdeps/s390/s390-32/memcpy.S
1309 (memcpy_g5): Rename to __memcpy_g5.
1310 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1311 (memcpy_mvcle) Rename to __memcpy_mvcle.
1312 * sysdeps/s390/s390-32/memset.S
1313 (memset_g5): Rename to __memset_g5.
1314 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1315 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1316 and use prefixed functions.
1317 * sysdeps/s390/s390-32/multiarch/memcmp.S
1318 (memcmp_z196): Rename to __memcmp_z196.
1319 (memcmp_z10): Rename to __memcmp_z10.
1320 (memcmp): Set alias to __memcmp_g5.
1321 (bcmp): Set alias to __memcmp_g5.
1322 * sysdeps/s390/s390-32/multiarch/memcpy.S
1323 (memcpy_z196): Rename to __memcpy_z196.
1324 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1325 (memcpy_z10): Rename to __memcpy_z10.
1326 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1327 (memcpy): Set alias to __memcpy_g5.
1328 * sysdeps/s390/s390-32/multiarch/memset.S
1329 (memset_z196): Rename to __memset_z196.
1330 Jump to __memset_mvcle instead of memset_mvcle.
1331 (memset_z10): Rename to __memset_z10.
1332 Jump to __memset_mvcle instead of memset_mvcle.
1333 (memset_mvcle) Rename to __memset_mvcle.
1334 (memset): Set alias to __memset_g5.
1335 * sysdeps/s390/s390-64/memcmp.S
1336 (memcmp_z900): Rename to __memcmp_z900.
1337 * sysdeps/s390/s390-64/memcpy.S
1338 (memcpy_z900): Rename to __memcpy_z900.
1339 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1340 (memcpy_mvcle) Rename to __memcpy_mvcle.
1341 * sysdeps/s390/s390-64/memset.S
1342 (memset_z900): Rename to __memset_z900.
1343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1344 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1345 and use prefixed functions.
1346 * sysdeps/s390/s390-64/multiarch/memcmp.S
1347 (memcmp_z196): Rename to __memcmp_z196.
1348 (memcmp_z10): Rename to __memcmp_z10.
1349 (memcmp): Set alias to __memcmp_z900.
1350 (bcmp): Set alias to __memcmp_z900.
1351 * sysdeps/s390/s390-64/multiarch/memcpy.S
1352 (memcpy_z196): Rename to __memcpy_z196.
1353 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1354 (memcpy_z10): Rename to __memcpy_z10.
1355 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1356 (memcpy): Set alias to __memcpy_z900.
1357 * sysdeps/s390/s390-64/multiarch/memset.S
1358 (memset_z196): Rename to __memset_z196.
1359 Jump to __memset_mvcle instead of memset_mvcle.
1360 (memset_z10): Rename to __memset_z10.
1361 Jump to __memset_mvcle instead of memset_mvcle.
1362 (memset_mvcle) Rename to __memset_mvcle.
1363 (memset): Set alias to __memset_z900.
1364
53fbd169
JM
13652015-01-14 Joseph Myers <joseph@codesourcery.com>
1366
1367 [BZ #17748]
1368 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1369 __fesetenv instead of fesetenv.
1370
d639a363
SP
13712015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
1373 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1374 macro.
1375
d3b00f46
AZ
13762015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
ce6615c9
AZ
1378 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1379 regression on LE.
1380
d3b00f46
AZ
1381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1382 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1383 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1384 strncmp-power8 object.
1385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1387 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1388 * NEWS: Update.
1389
72607db0
RS
13902015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1391 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
1393 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1394 trailing byte check.
1395
54dc5461
DM
13962015-01-13 David S. Miller <davem@davemloft.net>
1397
1398 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1399
1c6e6f23
RM
14002015-01-13 Roland McGrath <roland@hack.frob.com>
1401
1402 * login/logout.c (logout): Use memset rather than bzero.
1403 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1404 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1405 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1406 (_gethtbyaddr): Likewise.
1407 * locale/programs/simple-hash.c (bcopy): Macro removed.
1408
96d6fd6c
AZ
14092015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
8bedcb5f
AZ
1411 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1412 Add strcmp-power8 object.
1413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1414 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1415 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1416 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1417 __strcmp_power8 implementation.
1418 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1419 * NEWS: Update.
1420
f06a4faf
AZ
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1422 Add strncpy-power8 and stpncpy-power8 objects.
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1425 implementations.
1426 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1428 __stpncpy_power8 implementation.
1429 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1430 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1431 __strncpy_power8 implementation.
1432 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1433 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1434 * NEWS: Update.
1435
9f2f36e5
AZ
1436 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1437 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1438 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1439
96d6fd6c 1440 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1441 strncat-power8 object.
1442 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1443 __strcat_power8 implementation.
1444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1445 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1446 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1447 optimized strcat for power8.
1448
1449 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1450 strcpy-power8 and stpcpy-power8 objects.
1451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1452 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1453 implementations.
1454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1455 multiarch stpcpy implementation for POWER8.
1456 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1457 multiarch strcpy implementation for POWER8.
1458 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1459 __strcpy_power8 function.
1460 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1461 stpcpy for POWER8.
1462 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1463 strcpy for POWER8.
1464 * NEWS: Update.
1465
0f9e5854
LH
14662015-01-13 Leonhard Holz <leonhard.holz@web.de>
1467
1468 [BZ #16009]
1469 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1470 weights and rules. Use do_xfrm_cached if data fits in cache,
1471 do_xfrm otherwise. Moved former main loop to...
1472 * (do_xfrm_cached): New function.
1473 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1474 find_idx, find_position and stack_push.
1475 * (find_idx): New function.
1476 * (find_position): Likewise.
1477 * localedata/sort-test.sh: Added test run for do_xfrm.
1478 * localedata/xfrm-test.c (main): Added command line option
1479 -nocache to run the test with strings that are too large for
1480 the STRXFRM cache.
1481
c60ec0e0
TR
14822015-01-13 Torvald Riegel <triegel@redhat.com>
1483
1484 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1485 variable to lll_futex_wake call, not the value itself.
1486
34e93d6c
JM
14872015-01-12 Joseph Myers <joseph@codesourcery.com>
1488
5a9e4c09
JM
1489 [BZ #17803]
1490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1491 twom64. Adjust value to 0x1p-64L.
1492 (__scalblnl): Only return standard underflowing result for K <=
1493 -64 not K <= -63; adjust exponent for underflowing result by 64
1494 not 63.
1495 * math/libm-test.inc (scalbn_test_data): Add more tests.
1496 (scalbln_test_data): Likewise.
1497
34e93d6c
JM
1498 [BZ #17834]
1499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1500 0x1p63L.
1501 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1502 not HX.
1503 * math/libm-test.inc (scalbn_test_data): Add more tests.
1504 (scalbln_test_data): Likewise.
1505
ca677d3c
AZ
15062015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507 Stefani Seibold <stefani@seibold.net>
1508
1509 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1510 (sysdep_routines): Add dl-vdso here, ...
1511 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1512 (sysdep_routines): ... not here.
1513 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1514 fallback when vDSO is not presented.
1515 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1516 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1517 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1518 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1519 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1520 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1521 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1522 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1523 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1525 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1526 fallback configurable symbol when vDSO is not available.
1527 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1528 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1529 be able to redefine fallback symbol when vDSO is not available.
1530 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1531 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1532
49a9f6ab 15332015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1534
56cf2763
AZ
1535 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1536 (TLS_INIT_TP): Add tm_capable initialization.
1537 (TLS_DEFINE_INIT_TP): Likewise.
1538 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1539 TCB.
1540 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1541 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1542 calculation.
1543 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1544 transactoion is lock elision is built and TCB tm_capable is set.
1545 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1547 (INTERNAL_SYSCALL_NCS): Likewise.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1549 (INTERNAL_SYSCALL_NCS): Likewise.
1550 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1551
4b45943a
AZ
1552 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1553 for powerpc.
1554 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1555 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1556 and remove it for 32 bits case.
1557 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1559 initialization.
1560 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1561 Disable lock elision with rdlocks if elision is not available.
1562
8d2c0a59
AZ
1563 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1564 (sysdep_routines): Add lock elision objects.
1565 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1566 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1567 [pthread_mutex_t] (__elision): Add field.
1568 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1569 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1570 elision definitions for powerpc.
1571 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1572 implementation of lock elision for powerpc.
1573 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1574 implementation of timed lock elision for powerpc.
1575 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1576 implementation of trylock with lock elision for powerpc.
1577 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1578 implementaion of unlock for lock elision for powerpc.
1579 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1580 automatic enable lock elision for mutexes.
1581 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1582 transaction execution definitions for powerpc.
1583 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1584 definitions.
1585 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1586 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1589 * NEWS: Update.
1590
bc0ed9f7
RM
15912015-01-09 Roland McGrath <roland@hack.frob.com>
1592
1593 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1594 for #include of <shm-directory.h>.
1595
585d9c18
CLT
15962015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1597
1598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1599 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1600
aee6626c
MF
16012015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1602
1603 [BZ #17791]
1604 * NEWS: Mention bug fix.
1605 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1606 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1607 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1608
9e560f48
TR
16092015-01-09 Torvald Riegel <triegel@redhat.com>
1610
1611 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1612
e1cfbd0c
TR
16132015-01-09 Torvald Riegel <triegel@redhat.com>
1614
1615 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1616
cf71e44f
DH
16172015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1618
1619 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1620 pointer and cast to uintptr_t.
1621
b360ee62
DH
16222015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1623
1624 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1625 removed.
1626 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1627
caff764e
DH
16282015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1629
1630 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1631 of 0.
1632
59ff172f
RM
16332015-01-08 Roland McGrath <roland@hack.frob.com>
1634
c97d27f1
RM
1635 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1636 <nptl/pthreadP.h> instead.
1637 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1638
08734ccd
RM
1639 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1640 already defined.
1641 [__SIGRTMIN] (init): Function removed.
1642 [__SIGRTMIN] (initialized): Variable removed.
1643 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1644 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1645 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1646 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1647 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1648 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1649 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1650 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1651 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1652 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1653 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1654 * sysdeps/nptl/allocrtsig.c: New file.
1655 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1656 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1657 * sysdeps/generic/testrtsig.h: File removed.
1658
7b052e33
RM
1659 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1660 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1661
cc40d25e
RM
1662 * nptl/nptl-init.c (pthread_functions): Conditionalize
1663 .ptr__nptl_setxid initialization on [SIGSETXID].
1664
9287adf0
RM
1665 * sysdeps/nptl/sys/procfs.h: New file.
1666 * nptl_db/Makefile (headers): Add it.
1667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1668
59ff172f
RM
1669 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1670 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1671 * nptl/pthread_attr_setaffinity.c: Include it.
1672 * nptl/pthread_setattr_default_np.c: Likewise.
1673 * nptl/check-cpuset.h: New file.
1674
b9205857
RH
16752015-01-08 Richard Henderson <rth@redhat.com>
1676
1677 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1678 (CFLAGS-tst-execstack-prog.c): Likewise.
1679 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1680
1a0a8d15
CLT
16812015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1682 Sandra Loosemore <sandra@codesourcery.com>
1683 Andrew Jenner <andrew@codesourcery.com>
1684 Joseph Myers <joseph@codesourcery.com>
1685 Nathan Sidwell <nathan@codesourcery.com>
1686
1687 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1688 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1689 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1690 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1691 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1692 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1693 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1694 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1695 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1696 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1697 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1698 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1699 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1700 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1701 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1702 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1703 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1704
dd6e8af6
AZ
17052015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1708 timespec struct member in syscall macro.
1709 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1710 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1711 first timeval struct member in syscall macro.
1712 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1713
8116321f
JM
17142015-01-07 Joseph Myers <joseph@codesourcery.com>
1715
1716 [BZ #17748]
1717 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1718 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1719 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1720 __feupdateenv and define as weak alias of __feupdateenv. Use
1721 libm_hidden_weak.
1722 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1723 libm_hidden_def.
1724 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1725 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1726 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1727 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1728 libm_hidden_def.
1729 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1730 __feupdateenv and define as weak alias of __feupdateenv. Use
1731 libm_hidden_weak.
1732 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1733 libm_hidden_def.
1734 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1735 __feupdateenv and define as weak alias of __feupdateenv. Use
1736 libm_hidden_weak.
1737 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1738 libm_hidden_def.
1739 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1740 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1741 (__feupdateenv): Likewise.
1742 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1743 __feupdateenv and define as weak alias of __feupdateenv. Use
1744 libm_hidden_weak.
1745 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1746 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1747 libm_hidden_def.
1748 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1749 function.
1750 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1751 libm_hidden_def.
1752 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1753 __feupdateenv instead of feupdateenv.
1754 (default_libc_feupdateenv_test): Likewise.
1755 (libc_feresetround_ctx): Likewise.
1756
882dfe18
AZ
17572015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1760 prototype.
1761
39a12f8d
CM
17622015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1763
1764 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1765 COLL_SYM in a couple of places to avoid uninitialized variable
1766 wanings on tilegx gcc 4.8.2.
1767
dc400d7b
RE
17682015-01-07 Richard Earnshaw <rearnsha@arm.com>
1769
1770 * sysdeps/aarch64/strcpy.S: New file.
1771 * sysdeps/aarch64/stpcpy.S: New file.
1772 * NEWS: Updated.
1773
ec582ca0
RE
17742015-01-07 Richard Earnshaw <rearnsha@arm.com>
1775
1776 * sysdeps/aarch64/strrchr.S: New file.
1777 * NEWS: Updated.
1778
d5b1c5ed
EB
17792015-01-07 Eric Biggers <ebiggers3@gmail.com>
1780
1781 [BZ #17658]
1782 * stdlib/setenv.c: Fix memory leak when setting large,
1783 duplicate string.
1784
fb87ee96
VN
17852015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1786
60f046a8 1787 [BZ #17273]
fb87ee96
VN
1788 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1789 and tabs from buffer before parsing fstab entry.
1790 * misc/tst-mntent.c (main): Add test for mount entry with
1791 trailing spaces and tabs.
1792
cd42798a
JM
17932015-01-06 Joseph Myers <joseph@codesourcery.com>
1794
01238691
JM
1795 [BZ #17748]
1796 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1797 * math/fesetround.c (fesetround): Rename to __fesetround and
1798 define as weak alias of __fesetround. Use libm_hidden_weak.
1799 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1800 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1801 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1802 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1803 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1804 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1805 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1806 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1807 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1808 __fesetround_inline.
1809 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1810 __fesetround_inline instead of __fesetround.
1811 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1812 __fesetround and define as weak alias of __fesetround. Use
1813 libm_hidden_weak. Call __fesetround_inline instead of
1814 __fesetround.
1815 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1816 __fesetround and define as weak alias of __fesetround. Use
1817 libm_hidden_weak.
1818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1819 Likewise.
1820 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1822 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1823 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1824 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1825 __fesetround and define as weak alias of __fesetround. Use
1826 libm_hidden_weak.
1827 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1828 __fesetround instead of fesetround.
1829 (default_libc_feholdexcept_setround): Likewise.
1830 (libc_feholdsetround_ctx): Likewise.
1831 (libc_feholdsetround_noex_ctx): Likewise.
1832
cd42798a
JM
1833 [BZ #17748]
1834 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1835 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1836 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1837 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1838 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1839 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1840 define as weak alias of __fesetenv. Use libm_hidden_weak.
1841 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1842 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1843 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1844 define as weak alias of __fesetenv. Use libm_hidden_weak.
1845 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1846 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1847 define as weak alias of __fesetenv. Use libm_hidden_weak.
1848 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1849 libm_hidden_def.
1850 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1851 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1852 Likewise.
1853 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1854 define as weak alias of __fesetenv. Use libm_hidden_weak.
1855 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1856 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1857 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1858 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1859 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1860 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1861 __fesetenv instead of fesetenv.
1862 (libc_feresetround_noex_ctx): Likewise.
1863 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1864 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1865 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1866 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1867 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1868 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1869 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1870 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1871 (__feupdateenv): Likewise.
1872 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1873 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1874 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1875 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1876
38949026
AJ
18772015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1878
1cf98e27 1879 [BZ #17806]
38949026
AJ
1880 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1881 addresses have been freed.
1882
5fe55e9c
AJ
18832015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1884
1885 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1886 and nservall.
1887
dc8ab018
OB
18882015-01-06 Ondřej Bílka <neleai@seznam.cz>
1889
1890 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1891 Clean up check_pf allocation pattern. addresses
1892
14bb4e57
AZ
18932015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1894
1895 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1896 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1897 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1898 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1899 * nptl/pthread_join.c (pthread_join): Likewise.
1900 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1901 * sysdeps/posix/waitid.c (__waitid): Likewise.
1902 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1903 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1904 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1905 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1907 Likewise.
1908 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1909 (__libc_pread64): Likewise.
1910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1911 (__libc_pwrite): Likewise.
1912 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1913 (__libc_pwrite64): Likewsie.
1914 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1915 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1916 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1917 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1918 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1919 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1920 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1922 Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1924 (__libc_pread64): Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1928 (__libc_pwrite64): Likewise.
1929 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1930 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1931 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1932 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1933 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1934 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1935 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1936 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1937 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1938 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1939 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1940 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1941 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1942 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1943 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1945 Likewise.
1946
10a5e112
AS
19472015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1948
1949 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1950 (CFLAGS-test-double.c): Likewise.
1951 (CFLAGS-test-ldouble.c): Likewise.
1952 (CPPFLAGS-test-ifloat.c): Likewise.
1953 (CPPFLAGS-test-idouble.c): Likewise.
1954 (CPPFLAGS-test-ildoubl.c): Likewise.
1955 (CFLAGS-test-test-fenv.c): Remove variable.
1956 (CFLAGS-test-misc.c): Likewise.
1957
57ada0e7
L
19582015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 [BZ #17797]
1961 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1962 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1963 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1964 CLOCKS_PER_SEC == 1000000.
1965 * time/clocktest.c (main): Replace %ld with %jd and cast to
1966 intmax_t.
1967
46abb64d
RM
19682015-01-05 Roland McGrath <roland@hack.frob.com>
1969
1970 * sysdeps/generic/unwind-resume.h: New file.
1971 * sysdeps/gnu/unwind-resume.c: Include it.
1972 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1973 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1974 argument list.
1975 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1976 global rather than static.
1977 (_Unwind_Resume): Update user.
1978 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1979 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1980 rather than static. Add __attribute__ ((cold)).
1981 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1982 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1983 * sysdeps/arm/arm-unwind-resume.S: New file.
1984 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1985 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1986 * sysdeps/arm/Makefile [$(subdir) = csu]
1987 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1988 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1989 Add rt-arm-unwind-resume.
1990 [$(subdir) = nptl]
1991 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1992 Add pt-arm-unwind-resume.
1993 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1994 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1995
ef9faf13
JM
19962015-01-05 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #17748]
1999 * include/fenv.h (__feholdexcept): Declare. Use
2000 libm_hidden_proto.
2001 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2002 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2003 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2004 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2005 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2006 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2007 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2008 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2009 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2010 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2011 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2012 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2013 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2014 (feholdexcept): Likewise.
2015 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2016 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2017 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2018 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2019 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2020 __feholdexcept instead of feholdexcept.
2021 (default_libc_feholdexcept_setround): Likewise.
2022
295a453e
SE
20232015-01-05 Steve Ellcey <sellcey@imgtec.com>
2024
2025 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2026 to avoid using stl/str to align destination.
2027
882c4b9f
SE
20282015-01-05 Steve Ellcey <sellcey@imgtec.com>
2029
2030 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2031
ac4c11f5
JM
20322015-01-05 Joseph Myers <joseph@codesourcery.com>
2033
2034 [BZ #17796]
2035 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2036 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2037 Define as weak alias not strong alias.
2038
03403e30
SE
20392015-01-05 Steve Ellcey <sellcey@imgtec.com>
2040
2041 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2042 bltzal with addiupc.
2043 (RTLD_START): Ditto.
2044
1dca195e
CM
20452015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2046
00b8b9ba
SP
2047 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2048 for __vdso_* functions in declarations.
2049 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2050 definitions.
2051 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2052 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2053
1dca195e
CM
2054 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2055 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2056 function with cast from llround().
2057 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2058 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2059 Define.
2060
a287953a
JM
20612015-01-05 Joseph Myers <joseph@codesourcery.com>
2062
ab70da77
JM
2063 [BZ #17793]
2064 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2065 Define as weak alias not strong alias.
2066
b8986484
JM
2067 [BZ #17635]
2068 * ctype/ctype-c99.c: New file. isblank implementation moved from
2069 ...
2070 * ctype/ctype-extn.c: ... here.
2071 (__isblank_l): Move to ...
2072 * ctype/ctype-c99_l.c: ... here. New file.
2073 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2074 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2075 Remove variable.
2076 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2077 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2078 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2079 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2080 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2081
a287953a
JM
2082 [BZ #17777]
2083 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2084 (posix_fadvise64): Define as weak alias not strong alias.
2085 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2086 (posix_fallocate64): Likewise.
2087 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2088 Remove variable.
2089 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2090 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2091 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2092 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2093 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2094
b1efe3bb
MF
20952015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2096
2097 [BZ #16191]
2098 * NEWS: Mention bug fix.
2099 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2100 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2101 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2102 (HOST_STACK_END_ADDR): Likewise.
2103
9706dc5f
JM
21042015-01-02 Joseph Myers <joseph@codesourcery.com>
2105
b93c2205
JM
2106 [BZ #17748]
2107 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2108 * math/fegetround.c (fegetround): Rename to __fegetround and
2109 define as weak alias of __fegetround. Use libm_hidden_weak.
2110 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2111 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2112 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2113 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2114 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2115 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2116 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2117 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2118 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2119 Undefine after rather than before function definition; use
2120 parentheses around function name in definition.
2121 (__fegetround): Also undefine macro after function definition.
2122 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2123 __fegetround and define as weak alias of __fegetround. Use
2124 libm_hidden_weak. Do not undefine as macro.
2125 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2126 Likewise.
2127 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2128 __fegetround and define as weak alias of __fegetround. Use
2129 libm_hidden_weak.
2130 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2131 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2132 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2133 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2134 __fegetround and define as weak alias of __fegetround. Use
2135 libm_hidden_weak.
2136 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2137 __fegetround instead of fegetround.
2138
253a59cc
JM
2139 [BZ #17782]
2140 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2141 Condition macro definition on [__USE_MISC].
2142
27dae011
JM
2143 [BZ #17781]
2144 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2145 (struct sigaction): Change type of sa_flags field to int.
2146
172019c0
JM
2147 [BZ #17780]
2148 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2149 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2150 __glibc_reserved0.
2151
522ad1d6
JM
2152 * nptl/version.c (banner): Use single year in copyright notice.
2153
9706dc5f
JM
2154 * NEWS: Update copyright dates.
2155 * catgets/gencat.c (print_version): Likewise.
2156 * csu/version.c (banner): Likewise.
2157 * debug/catchsegv.sh: Likewise.
2158 * debug/pcprofiledump.c (print_version): Likewise.
2159 * debug/xtrace.sh (do_version): Likewise.
2160 * elf/ldconfig.c (print_version): Likewise.
2161 * elf/ldd.bash.in: Likewise.
2162 * elf/pldd.c (print_version): Likewise.
2163 * elf/sotruss.sh: Likewise.
2164 * elf/sprof.c (print_version): Likewise.
2165 * iconv/iconv_prog.c (print_version): Likewise.
2166 * iconv/iconvconfig.c (print_version): Likewise.
2167 * locale/programs/locale.c (print_version): Likewise.
2168 * locale/programs/localedef.c (print_version): Likewise.
2169 * login/programs/pt_chown.c (print_version): Likewise.
2170 * malloc/memusage.sh (do_version): Likewise.
2171 * malloc/memusagestat.c (print_version): Likewise.
2172 * malloc/mtrace.pl: Likewise.
2173 * manual/libc.texinfo: Likewise.
2174 * nptl/version.c (banner): Likewise.
2175 * nscd/nscd.c (print_version): Likewise.
2176 * nss/getent.c (print_version): Likewise.
2177 * nss/makedb.c (print_version): Likewise.
2178 * posix/getconf.c (main): Likewise.
2179 * scripts/test-installation.pl: Likewise.
2180 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2181
b8607aac
WN
21822015-01-02 Will Newton <will.newton@linaro.org>
2183
2184 * sysdeps/arm/armv7/configure: Removed.
2185 * sysdeps/arm/armv7/configure.ac: Likewise.
2186
b168057a
JM
21872015-01-02 Joseph Myers <joseph@codesourcery.com>
2188
2189 * All files with FSF copyright notices: Update copyright dates
2190 using scripts/update-copyrights.
2191 * intl/plural.c: Regenerated.
2192 * locale/programs/charmap-kw.h: Likewise.
2193 * locale/programs/locfile-kw.h: Likewise.
2194
b217c15f
SP
21952015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2196
2197 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2198
73a268c7
JM
21992014-12-31 Joseph Myers <joseph@codesourcery.com>
2200
2201 [BZ #17748]
2202 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2203 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2204 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2205 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2206 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2207 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2208 define as weak alias of __fegetenv. Use libm_hidden_weak.
2209 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2210 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2211 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2212 define as weak alias of __fegetenv. Use libm_hidden_weak.
2213 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2214 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2215 define as weak alias of __fegetenv. Use libm_hidden_weak.
2216 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2217 libm_hidden_def.
2218 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2219 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2220 Likewise.
2221 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2222 define as weak alias of __fegetenv. Use libm_hidden_weak.
2223 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2224 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2225 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2226 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2227 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2228 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2229 __fegetenv instead of fegetenv.
2230 (libc_feholdsetround_noex_ctx): Likewise.
2231
0bd95672
MF
22322014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2233
2234 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2235 (Elf_MIPS_ABIFlags_v0): New structure.
2236 (EF_MIPS_FP64): Define.
2237 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2238 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2239 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2240 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2241 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2242 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2243 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2244 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2245 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2246 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2247 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2248 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2249 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2250 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2251 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2252 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2253 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2254 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2255 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2256 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2257 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2258 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2259 field.
2260 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2261 EF_MIPS_FP64.
2262 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2263 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2264 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2265 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2266 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2267 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2268 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2269 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2270 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2271 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2272 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2273 record the current FP ABI extension.
2274 (mips-mode-switch): Define to show if kernel headers support mode
2275 switching.
2276 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2277 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2278 supported SYSV ABI version to 3.
2279 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2280 feature.
2281
f59ad976
RS
22822014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2283 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2284
2285 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2286 path.
2287 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2288
4a3d3999
JM
22892014-12-31 Joseph Myers <joseph@codesourcery.com>
2290
2291 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2292 __fegetround and redefine to call __fegetround. Remove condition
2293 on [!__NO_MATH_INLINES].
2294 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2295 function.
2296 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2297 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2298 Remove macro.
2299 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2300 instead of <fenv_libc.h>.
2301 (__llrintl): Call fegetround instead of __fegetround.
2302 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2303 instead of <fenv_libc.h>.
2304 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2305 (__lrintl): Call fegetround instead of __fegetround.
2306 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2307 instead of <fenv_libc.h>.
2308 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2309 (__rintl): Call fegetround instead of __fegetround.
2310
195f3afc
SP
23112014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
2313 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2314 arrays.
2315
7062bd42
L
23162014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 [BZ #17775]
2319 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2320 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2321 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2322
07256e18
AS
23232014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2324
2325 * sysdeps/i386/tls-macros.h: Include <features.h>.
2326 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2327 (TLS_IE): Likewise.
2328 (TLS_LD): Likewise.
2329 (TLS_GD): Likewise.
2330 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2331 define for GCC >= 5.0.
2332
1ff950ad
CM
23332014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2334
2335 * math/test-fenv.c (test_single_exception, set_single_exc,
2336 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2337 feexcp_mask_test, feenable_test, fe_single_test): Add
2338 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2339 case where they are not used.
2340 * math/libm-test.inc: Likewise.
2341 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2342 unused in the absence of FP rounding/exception support.
2343 * stdio-common/tst-printf-round.c: Likewise.
2344 * stdlib/tst-strtod-round.c: Likewise.
2345 * stdlib/tst-strtod-underflow.c: Likewise.
2346
0747f818
JM
23472014-12-30 Joseph Myers <joseph@codesourcery.com>
2348
2349 [BZ #17723]
2350 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2351 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2352 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2353 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2354 libm_hidden_weak.
2355 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2356 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2357 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2358 libm_hidden_def.
2359 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2360 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2361 libm_hidden_weak.
2362 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2363 Likewise.
2364 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2365 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2366 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2367 libm_hidden_weak.
2368 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2369 libm_hidden_def.
2370 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2371 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2372 (__feraiseexcept): Likewise.
2373 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2374 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2375 libm_hidden_weak.
2376 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2377 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2378 libm_hidden_def.
2379 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2380 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2381 Use libm_hidden_def.
2382 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2383 libm_hidden_def.
2384 (feraiseexcept): Define as weak not strong alias. Use
2385 libm_hidden_weak.
2386 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2387 New inline function. Factored out of ...
2388 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2389 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2390 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2391 feraiseexcept.
2392 * math/w_acos.c (__acos): Likewise.
2393 * math/w_asin.c (__asin): Likewise.
2394 * math/w_ilogb.c (__ilogb): Likewise.
2395 * math/w_j0.c (y0): Likewise.
2396 * math/w_j1.c (y1): Likewise.
2397 * math/w_jn.c (yn): Likewise.
2398 * math/w_log.c (__log): Likewise.
2399 * math/w_log10.c (__log10): Likewise.
2400 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2401 * sysdeps/aarch64/fpu/math_private.h
2402 (libc_feupdateenv_test_aarch64): Likewise.
2403 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2404 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2405 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2406 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2407 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2408 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2409 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2410 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2411 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2412 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2413
8d2b2763
L
24142014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 [BZ #17732]
2417 * io/test-utime.c (main): Replace %ld with %jd and cast to
2418 intmax_t.
41fad830 2419 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2420 * nptl/tst-mutex5.c: Include <stdint.h>.
2421 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2422 * posix/tst-regex.c (run_test): Likewise.
2423 (run_test_backwards): Likewise.
5d619de4
L
2424 * rt/tst-clock.c: Include <stdint.h>.
2425 (clock_test): Replace %ld with %jd and cast to intmax_t.
2426 * rt/tst-cpuclock1.c: Include <stdint.h>.
2427 (do_test): Replace %lu with %ju and cast to uintmax_t.
2428 * rt/tst-cpuclock2.c: Include <stdint.h>.
2429 (do_test): Replace %lu with %ju and cast to uintmax_t.
2430 * rt/tst-mqueue1.c: Include <stdint.h>.
2431 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2432 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2433 intmax_t.
2434 * rt/tst-mqueue4.c (do_test): Likewise.
2435 * rt/tst-timer4.c: Include <stdint.h>.
2436 (check_ts): Replace %ld with %jd and cast to intmax_t.
2437 (do_test): Likewise.
ad86fbc3
L
2438 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2439 and cast to intmax_t.
37f46900 2440 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2441 * time/clocktest.c (main): Likewise.
2442 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2443 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2444
8b4416d8
AS
24452014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2446 H.J. Lu <hongjiu.lu@intel.com>
2447
2448 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2449 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2453 version if bit_Fast_Unaligned_Load is set.
2454 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2456 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2461 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2462 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2463 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2464 to 4.
2465 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2466 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2467 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2468 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2469
e47b8d3b
CM
24702014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2471
6d6d7fde
CM
2472 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2473 instead of #if to avoid a Wundef warning.
2474 * stdlib/tst-limits.c (do_test): Likewise.
2475
cd2c37c9
CM
2476 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2477 parallel other exception macros.
2478 (fegetenv): Convert from macro to extern inline so that it applies
2479 retroactively to inline functions already seen by the compiler.
2480 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2481
e47b8d3b
CM
2482 * posix/Makefile (before-compile): Use $(objpfx) for
2483 posix-conf-vars-def.h.
2484
4a6aca7b
SP
24852014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
7910c2ae
SP
2487 * posix/getconf.c (main): Use size_t for type of I.
2488 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2489 NSPEC.
2490
50cbbaa9
SP
2491 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2492 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2493 * posix/posix-envs.def: Likewise.
2494 * sysdeps/posix/sysconf.c: Likewise.
2495 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2496 (specs): Remove array.
2497 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2498 array.
2499
3b566046
SP
2500 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2501 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2502 (__sysconf): Use CONF_IS_* macros.
2503
4a6aca7b
SP
2504 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2505 ($(objpfx)posix-conf-vars-def.h): New target.
2506 * posix/posix-conf-vars.list: New file.
2507 * posix/posix-conf-vars.h: New file.
2508 * posix/confstr.c: Include posix-conf-vars.h.
2509 (confstr): Use CONF_IS_* macros.
2510 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2511 CONF_IS_* macros.
2512 * scripts/gen-posix-conf-vars.awk: New file.
2513
7c1395a7
CM
25142014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2515
0025b4cc
CM
2516 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2517 fegetround): Add no-op macros to avoid linknamespace issues.
2518
d8aaf74b
CM
2519 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2520 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2521
5d24aa60
CM
2522 * sysdeps/unix/sysv/linux/tile/sysdep.h
2523 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2524 assembly-specific section to avoid a redefinition warning.
2525
7c1395a7
CM
2526 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2527 long before casting to pointer to avoid a cast warning.
2528
3c87c616
CM
25292014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2530
2531 * sysdeps/tile/tilegx/Implies: New file.
2532
f559d8cf
RE
25332014-12-23 Richard Earnshaw <rearnsha@arm.com>
2534
2535 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2536
7d81e8d6
FW
25372014-12-23 Florian Weimer <fweimer@redhat.com>
2538
2539 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2540
90aa3d09
JM
25412014-12-22 Joseph Myers <joseph@codesourcery.com>
2542
2543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2544 not define.
2545 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2546 <kernel-features.h>.
2547 (__utimes) [__NR_utimes]: Make code unconditional.
2548 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2550 (__ASSUME_UTIMES): Do not undefine.
2551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2552 (__ASSUME_UTIMES): Likewise.
2553 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2554 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2555 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2556 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2557
4c0c0e2a
SE
25582014-12-22 Steve Ellcey <sellcey@imgtec.com>
2559
2560 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2561
0dacd7a3
CM
25622014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2563
b638f96a
CM
2564 [BZ #17747]
2565 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2566 alias to weak alias for j0l, y0l.
2567 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2568 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2569
0dacd7a3
CM
2570 [BZ #17746]
2571 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2572 conversion.
2573
528479c4
SE
25742014-12-22 Steve Ellcey <sellcey@imgtec.com>
2575
2576 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2577 to zero if not already defined.
2578
f56f9124
JM
25792014-12-22 Joseph Myers <joseph@codesourcery.com>
2580
2581 [BZ #17724]
2582 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2583 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2584 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2585 (char *) casts added.
2586 * sysdeps/ieee754/k_standardf.c: New file.
2587 * sysdeps/ieee754/k_standardl.c: Likewise.
2588 * math/Makefile (libm-support): Remove k_standard.
2589 (libm-calls): Add k_standard.
2590
8622d556
WD
25912014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2592
2593 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2594 Optimize to avoid an unnecessary FPCR read.
2595
f3806bdb
WD
25962014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2597
2598 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2599 Optimize to reduce FPCR/FPSR accesses.
2600
9b47df58
WD
26012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2602
2603 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2604 Call libc_fetestexcept_aarch64.
2605
97be3cac
WD
26062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2607
2608 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2609 Call libc_fesetround_aarch64.
2610
935ab817
JM
26112014-12-22 Joseph Myers <joseph@codesourcery.com>
2612
2613 [BZ #17733]
2614 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2615 (__bind): Do not define as weak alias.
2616 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2617 define.
2618 (__getsockname): Do not define as weak alias.
2619
cc8623f1
WN
26202014-12-22 Will Newton <will.newton@linaro.org>
2621
2622 * manual/install.texi: Document that we require bison 2.7
2623 or above.
2624 * INSTALL: Regenerate.
2625 * configure.ac: Use AC_CHECK_PROG_VER instead of
2626 AC_PATH_PROG when checking for bison and check for
2627 version 2.7 or above.
2628 * configure: Regenerate.
2629
a19ca65a
CM
26302014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2631
92901170 2632 [BZ #17745]
e969965a
CM
2633 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2634 * sysdeps/tile/ffsll.c (ffsll): To here.
2635
a19ca65a
CM
2636 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2637
050f7298
L
26382014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2641 if not defined.
2642 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2643 definition.
2644 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2645 hidden ___tls_get_addr.
2646 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2647 hidden __tls_get_addr.
2648 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2649 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2650 Likewise.
2651
6df5547e
AS
26522014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2653
2654 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2655 _dl_init call.
2656
7432d613
L
26572014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2660 from "call _dl_init@PLT".
2661 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2662
98fe149e
AK
26632014-12-21 Anders Kaseorg <andersk@mit.edu>
2664
2665 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2666 guarantees.
2667
d12455f5
CM
26682014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2669
2670 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2671
95dee05f
CM
26722014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2673
92901170 2674 [BZ #17744]
95dee05f
CM
2675 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2676 strnlen.
2677
2ef4b74a
SE
26782014-12-19 Steve Ellcey <sellcey@imgtec.com>
2679
2680 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2681 of multu on MIPSr6.
2682 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2683 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2684 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2685 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2686 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2687
26882014-12-19 Steve Ellcey <sellcey@imgtec.com>
2689
2690 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2691 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2692 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2693 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2694 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2695 mips32r6/mips64r6.
2696 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2697
3eb38795
OB
26982014-12-19 Ondřej Bílka <neleai@seznam.cz>
2699
2700 * string/strncat.c (STRNCAT): Simplify implementation.
2701
6d4188dd
DM
27022014-12-19 David S. Miller <davem@davemloft.net>
2703
0d4ba8be
DM
2704 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2705 access the quad as both a long double and as a series of 4 words.
2706
6d4188dd
DM
2707 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2708 link_map->l_info array access.
2709
4ef91cdc
CM
27102014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2711
804c54f7
CM
2712 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2713
4ef91cdc
CM
2714 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2715 * math/atest-exp2.c (TIMEOUT): Likewise.
2716 * math/atest-sincos.c (TIMEOUT): Likewise.
2717
afd176d6
L
27182014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2721 -Wno-error with -fno-builtin-lround.
2722
a4a43a90
TR
27232014-12-19 Torvald Riegel <triegel@redhat.com>
2724
2725 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2726 Contains futex constants and functions moved over from ...
2727 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2728 <lowlevellock-futex.h>.
2729 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2730 (lll_timedwait_tid): Add comments and parentheses around macro
2731 arguments.
2732
76f71081
TR
27332014-12-19 Torvald Riegel <triegel@redhat.com>
2734
2735 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2736 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2737 (__lll_private_flag): Remove.
2738 (lll_futex_wait): Likewise.
2739 (lll_futex_timed_wait): Likewise.
2740 (lll_futex_wake): Likewise.
2741 (lll_futex_requeue): Likewise.
2742 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2743 (__lll_timedwait_tid): Spell out argument names.
2744 (lll_timedwait_tid): Add comments and parentheses around macro
2745 arguments.
2746 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2747 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2748
6b814909
TR
27492014-12-19 Torvald Riegel <triegel@redhat.com>
2750
2751 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2752 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2753 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2755 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2756 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2757 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2758 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2759 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2760 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2761 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2765 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2766 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2767 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2768 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2769 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2770
9cd4d4ab
L
27712014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2772
2773 * sysdeps/x86_64/x32/Makefile: New file.
2774
c9c1a2d0
L
27752014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2778 1L with (mp_limb_t) 1.
2779
af102d95
RM
27802014-12-17 Roland McGrath <roland@hack.frob.com>
2781
dd690454
RM
2782 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2783 * nptl/libc_pthread_init.c: ... here.
2784 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2785 * nptl/register-atfork.c: ... here.
2786
74eb826c
RM
2787 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2788 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2789 Use assert_perror to check its return value.
2790 (__gai_create_helper_thread): Likewise.
2791
c9ce306b
RM
2792 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2793
af102d95
RM
2794 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2795
8ac5a76a
JM
27962014-12-17 Joseph Myers <joseph@codesourcery.com>
2797
ea41469b
JM
2798 [BZ #17725]
2799 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2800 __profil_counter.
2801 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2802 Likewise.
2803 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2804 Likewise.
2805 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2806 Likewise.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2808 (profil_counter): Likewise.
2809 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2810 (profil_counter): Likewise.
2811 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2812 Likewise.
2813 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2814 Likewise.
2815 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2816 (profil_counter): Likewise.
2817 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2818 Likewise.
2819 [!__profil_counter] (profil_counter): Define as weak alias of
2820 __profil_counter.
2821 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2822 (profil_counter): Rename to __profil_counter.
2823 [!__profil_counter] (profil_counter): Define as weak alias of
2824 __profil_counter.
2825 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2826 (profil_counter): Rename to __profil_counter.
2827 [!__profil_counter] (profil_counter): Define as weak alias of
2828 __profil_counter.
2829 * sysdeps/posix/profil.c: Update comment referring to
2830 profil_counter.
2831 (__profil): Use __profil_counter instead of profil_counter.
2832 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2833 __profil_counter. Use __profil_counter_ushort and
2834 __profil_counter_uint in definitions.
2835 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2836 instead of profil_counter_uint and profil_counter_ushort.
2837
8ac5a76a
JM
2838 [BZ #17722]
2839 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2840 define as weak alias of __inet_makeaddr.
2841 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2842 as weak alias of __inet_addr.
2843 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2844 as weak alias of __inet_pton. Use libc_hidden_weak.
2845 * include/arpa/inet.h (__inet_pton): Declare. Use
2846 libc_hidden_proto.
2847 (inet_makeaddr): Don't use libc_hidden_proto.
2848 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2849 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2850 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2851 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2852 Remove variable.
2853 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2854 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2855
66ce3cb1
SE
28562014-12-17 Steve Ellcey <sellcey@imgtec.com>
2857
2858 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2859
d22ce01b
SL
28602014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2861
2862 * stdio-common/bug-vfprintf-nargs.c (do_test):
2863 Cast value to intptr_t to avoid format warning
2864 for usage with PRIdPTR printing macro.
2865
eca2772b
SL
28662014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2867
2868 * libio/tst-widetext.c (do_test):
2869 Use format type %td instead of %Zd for ptrdiff_t
2870 in order to avoid format warning.
2871
bdf079da
AS
28722014-12-17 Andreas Schwab <schwab@suse.de>
2873
2874 * nscd/mem.c (gc): Add size_t cast to match printf format.
2875
3eb5d2fc
RM
28762014-12-16 Roland McGrath <roland@hack.frob.com>
2877
2878 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2879 (init): Apply PTR_MANGLE to pointers before storing them.
2880 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2881 before using them.
2882
d003ada2
JM
28832014-12-16 Joseph Myers <joseph@codesourcery.com>
2884
380292ba
JM
2885 [BZ #17719]
2886 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2887 define as weak alias of __memrchr.
2888 (__memrchr): Do not define as strong alias of memrchr.
2889 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2890 Remove variable.
2891 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2893 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2894
9a44d530
JM
2895 [BZ #17717]
2896 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2897 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2898 (if_indextoname): Rename to __if_indextoname and define as weak
2899 alias of __if_indextoname. Use libc_hidden_weak.
2900 (if_freenameindex): Rename to __if_freenameindex and define as
2901 weak alias of __if_freenameindex.
2902 (if_nameindex): Rename to __if_nameindex and define as weak alias
2903 of __if_nameindex.
2904 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2905 __if_nametoindex and define as weak alias of __if_nametoindex.
2906 Use libc_hidden_weak.
2907 (if_freenameindex): Rename to __if_freenameindex and define as
2908 weak alias of __if_freenameindex.
2909 (if_nameindex): Rename to __if_nameindex and define as weak alias
2910 of __if_nameindex.
2911 (if_indextoname): Rename to __if_indextoname and define as weak
2912 alias of __if_indextoname. Use libc_hidden_weak.
2913 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2914 __if_nametoindex and define as weak alias of __if_nametoindex.
2915 Use libc_hidden_weak.
2916 (if_freenameindex): Rename to __if_freenameindex and define as
2917 weak alias of __if_freenameindex. Use libc_hidden_weak.
2918 (if_nameindex_netlink): Use __if_freenameindex instead of
2919 if_freenameindex.
2920 (if_nameindex): Rename to __if_nameindex and define as weak alias
2921 of __if_nameindex. Use libc_hidden_weak.
2922 (if_indextoname): Rename to __if_indextoname and define as weak
2923 alias of __if_indextoname. Use libc_hidden_weak.
2924 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2925 libc_hidden_proto.
2926 [!_ISOMAC] (__if_freenameindex): Likewise.
2927 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2928 if_nametoindex.
2929 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2930 variable.
2931 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2932 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2933 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2934 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2935 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2936 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2937 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2938
d003ada2
JM
2939 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2940 Remove variable.
2941 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2942 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2943
a0d424ef
SP
29442014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2945
0cd85520
SP
2946 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2947 subscript above bounds'
2948
a0d424ef
SP
2949 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2950 bounds.
2951
0e426475
AS
29522014-12-16 Arjun Shankar <arjun.is@lostca.se>
2953
8b460906
AS
2954 * libio/tst-fopenloc.c: Use test-skeleton.c.
2955
fa13e15b
AS
2956 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2957 (entry): Rename to ITEM.
2958 (do_test, comp): Adjust.
2959
0e426475
AS
2960 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2961
4f646bce
TR
29622014-12-16 Torvald Riegel <triegel@redhat.com>
2963
2964 * string/tester.c: Include <libc-internal.h>.
2965 (test_memset): Ignore -Wmemset-transposed-args.
2966
a07c4427
TR
29672014-12-16 Torvald Riegel <triegel@redhat.com>
2968
2969 * misc/tst-mntent2.c (do_test): Fix warning.
2970
1469f466
TR
29712014-12-16 Torvald Riegel <triegel@redhat.com>
2972
2973 * elf/tst-unique4lib.cc(a): Mark as used.
2974
11e3417a
FW
29752014-12-16 Florian Weimer <fweimer@redhat.com>
2976
2977 [BZ #17630]
2978 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2979 names.
2980
ae61fc7b
AM
29812014-12-16 Allan McRae <allan@archlinux.org>
2982
2983 * stdio-common/Makefile (tests): Re-add bug26.
2984
363a9899
OB
29852014-12-15 Ondřej Bílka <neleai@seznam.cz>
2986
2987 [BZ #17657]
2988 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2989 static array.
2990
d52c62df
TR
29912014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2992
2993 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2994 (__lll_lock_wait): Likewise.
2995 (__lll_timedlock_wait): Likewise.
2996 (__lll_timedwait_tid): Likewise.
2997 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2998 (__lll_robust_timedlock_wait): Likewise.
2999 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3000 (lll_cond_trylock): Likewise.
3001 (__lll_lock): Likewise.
3002 (__lll_robust_lock): Likewise.
3003 (__lll_cond_lock): Likewise.
3004 (lll_robust_cond_lock): Likewise.
3005 (__lll_timedlock): Likewise.
3006 (__lll_robust_timedlock): Likewise.
3007 (__lll_unlock): Likewise.
3008 (__lll_robust_unlock): Likewise.
3009 (lll_wait_tid): Likewise.
3010 (lll_timedwait_tid): Likewise.
3011
045a6bcd
TR
30122014-12-15 Torvald Riegel <triegel@redhat.com>
3013
3014 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3015
7f786dc1
TR
30162014-12-15 Torvald Riegel <triegel@redhat.com>
3017
3018 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3019
e7e21cba
AZ
30202014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3021
3022 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3023 * stdio-common/tst-sprintf.c: Likewise.
3024
bc89c0fc
TR
30252014-12-15 Torvald Riegel <triegel@redhat.com>
3026
3027 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3028
a5357b7c
JL
30292014-12-15 Jeff Law <law@redhat.com>
3030
3031 [BZ #16617]
3032 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3033 on the heap. (CVE-2012-3406)
3034 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3035 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3036 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3037
3a12c70f
WN
30382014-12-15 Will Newton <will.newton@linaro.org>
3039
3040 * manual/install.texi: Bump required version of texinfo
3041 to 4.7 from 4.5.
3042 * INSTALL: Regenerated.
3043 * configure.ac: Check for makeinfo version 4.7 and above.
3044 * configure: Regenerated.
3045
e4f639e4
RM
30462014-12-12 Roland McGrath <roland@hack.frob.com>
3047
3048 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3049 PREFIX, string constant to insert between directory and name.
3050 * sysdeps/posix/shm_open.c: Update caller.
3051 * sysdeps/posix/shm_unlink.c: Likewise.
3052 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3053 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3054 (SEM_SHM_PREFIX): New macro.
3055 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3056 [$(have-thread-library) = no].
3057 * nptl/Makefile (libpthread-routines): Add shm-directory.
3058 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3059 * sysdeps/nptl/shm-directory.h: New file.
3060 * sysdeps/posix/shm-directory.c
3061 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3062 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3063 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3064 INTERNAL_SYSCALL.
3065 (__where_is_shmfs): Function removed.
3066 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3067 Variables removed.
3068 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3069 Use SHM_GET_NAME.
3070 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3071
3072 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3073 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3074 unconditional for use inside libpthread.
3075 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3076
439c43f6
RM
30772014-12-12 Roland McGrath <roland@hack.frob.com>
3078
c76d1ff5
RM
3079 * nptl/pthread_getaffinity.c: New file.
3080 * nptl/pthread_setaffinity.c: New file.
3081 * nptl/pthread_getname.c: New file.
3082 * nptl/pthread_setname.c: New file.
3083
439c43f6
RM
3084 * nptl/pthread_create.c (START_THREAD_DEFN)
3085 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3086
48e435cd
SL
30872014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3088 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3089
3090 * resolv/res_send.c (send_vc): Disable warning resplen may
3091 be used uninitialized.
3092
9d9c0019
SL
30932014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3094
3095 * nptl/tst-mutex6.c
3096 (ATTR_NULL): New define checks ATTR against NULL.
3097 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3098 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3099
9173840b
JL
31002014-12-11 James Lemke <jwlemke@codesourcery.com>
3101
3102 [BZ #17581]
3103 * malloc/hooks.c
3104 (mem2mem_check): Revert my previous change.
3105 (malloc_check_get_size): Revert my previous change.
3106 (mem2chunk_check): Revert my previous change.
3107
78e21c5d
RM
31082014-12-11 Roland McGrath <roland@hack.frob.com>
3109
3110 * sysdeps/posix/shm-directory.c: New file.
3111 * sysdeps/posix/shm-directory.h: New file.
3112 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3113 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3114 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3115 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3116 Transmute EPERM to EACCES.
3117 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3118 from ...
3119 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3120 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3121
f82c43af
KK
31222014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3123
3124 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3125 pointer and cast to uintptr_t.
3126 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3127 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3128 Add cast to avoid warning.
3129 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3130
fc00cf7b
JM
31312014-12-11 Joseph Myers <joseph@codesourcery.com>
3132
3133 * nptl/semaphore.h: Move to ...
3134 * sysdeps/pthread/semaphore.h: ... here.
3135 * Makefile (installed-headers): Change nptl/semaphore.h to
3136 sysdeps/pthread/semaphore.h.
3137
1c4053db
RM
31382014-12-11 Roland McGrath <roland@hack.frob.com>
3139
73b0c1a1
RM
3140 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3141 generated error format strings.
3142
1c4053db
RM
3143 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3144 -Wformat-extra-args warnings for scanf formats.
3145 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3146 test of zero-length format (duh).
3147 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3148 corner-case scanf format test.
3149 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3150 generated fprintf format string.
3151 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3152 corner-case sprintf format tests.
3153 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3154 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3155 -Wformat-extra-args warnings throughout.
3156 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3157 (CFLAGS-scanf4.c): Likewise.
3158 (CFLAGS-scanf7.c): Likewise.
3159 (CFLAGS-tst-sprintf.c): Likewise.
3160 (CFLAGS-tst-printf.c): Likewise.
3161 (CFLAGS-tst-printfsz.c): Likewise.
3162
47d51f4f
JM
31632014-12-11 Joseph Myers <joseph@codesourcery.com>
3164
a1edbf3c
JM
3165 * include/cpio.h: New file.
3166 * include/fmtmsg.h: Likewise.
3167
47d51f4f
JM
3168 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3169 corresponding format argument to size_t.
3170 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3171 arguments.
3172 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3173 corresponding format argument to size_t.
3174 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3175 arguments.
3176 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3177 corresponding format argument to size_t.
3178 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3179 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3180 (CFLAGS-tst-mbswcs2.c): Likewise.
3181 (CFLAGS-tst-mbswcs3.c): Likewise.
3182 (CFLAGS-tst-mbswcs4.c): Likewise.
3183 (CFLAGS-tst-mbswcs5.c): Likewise.
3184 (CFLAGS-tst-trans.c): Likewise
3185
e9813cfb
RM
31862014-12-11 Roland McGrath <roland@hack.frob.com>
3187
3188 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3189 rather than assuming they won't contain any '%'s.
3190
f627ca82
CM
31912014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3192
3193 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3194 inhibit_loop_to_libcall to avoid recursive calls.
3195 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3196 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3197
7f296942
AZ
31982014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3199
3200 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3201 prototype.
3202
d0276e18
SE
32032014-12-11 Steve Ellcey <sellcey@imgtec.com>
3204
3205 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3206 integer value instead of boolean.
3207
fc56e970
SE
32082014-12-11 Steve Ellcey <sellcey@imgtec.com>
3209
3210 * malloc/malloc.c: Fix powerof2 check.
3211
40e53917
SL
32122014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3213
3214 * locale/programs/locfile.h (maybe_swap_uint32):
3215 Remove inline and add unused attribute.
3216
1ea166df
SL
32172014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3218
9d9c0019 3219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3220 Truncating assembler expression to a .long expression.
3221
acf869f4
AS
32222014-12-11 Andreas Schwab <schwab@suse.de>
3223
3224 * elf/rtld.c (struct map_args): Constify str member.
3225 (do_preload): Constify fname argument.
3226
9d969099
AZ
32272014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3228
3229 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3230 constants definition.
3231
da5bcaa4
AS
32322014-12-11 Andreas Schwab <schwab@suse.de>
3233
b0a3c164
AS
3234 [BZ #16657]
3235 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3236 FORCE_ELISION instead of DO_ELISION.
3237 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3238 Remove.
3239 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3240 Likewise.
3241
da5bcaa4
AS
3242 * iconvdata/gconv-modules: Remove duplicate entry.
3243
6d248857
WN
32442014-12-11 Will Newton <will.newton@linaro.org>
3245
3246 Merge gettext 0.19.3 into intl/.
3247
3248 This involves a number of cosmetic changes to comments
3249 and ANSI function definitions and prototypes throughout
3250 all the files. The gettext copyright header is used but
3251 with the date ranges taken from the glibc copy.
3252
3253 * NEWS: Add gettext merge to 2.21.
3254 * intl/bindtextdom.c: Switch to gettext copyright.
3255 Use ANSI definitions and prototypes.
3256 Use gl_* locking primitives rather than __libc_* ones.
3257 Use __builtin_expect rather than __glibc_likely/unlikely.
3258 * intl/dcgettext.c: Switch to gettext copyright.
3259 Use ANSI definitions and prototypes.
3260 * intl/dcigettext.c: Switch to gettext copyright.
3261 Use ANSI definitions and prototypes.
3262 (INTDIV0_RAISES_SIGFPE): New define.
3263 Use gl_* locking primitives rather than __libc_* ones.
3264 Include eval-plural.h instead of plural-eval.c.
3265 Use __builtin_expect rather than __glibc_likely/unlikely.
3266 * intl/dcngettext.c: Switch to gettext copyright.
3267 Use ANSI definitions and prototypes.
3268 * intl/dgettext.c: Likewise.
3269 * intl/dngettext.c: Likewise.
3270 * intl/plural-eval.c: Renamed to...
3271 * intl/eval-plural.h: ...this.
3272 * intl/explodename.c: Switch to gettext copyright.
3273 Use ANSI definitions and prototypes.
3274 (_nl_explode_name): Use strchr instead of __rawmemchr.
3275 * intl/finddomain.c: Switch to gettext copyright.
3276 Use ANSI definitions and prototypes.
3277 Use gl_* locking primitives rather than __libc_* ones.
3278 (_nl_find_domain): Use malloc rather than alloca for
3279 allocation of temporary locale name.
3280 * intl/gettext.c: Switch to gettext copyright.
3281 Use ANSI definitions and prototypes.
3282 * intl/gettextP.h: Switch to gettext copyright.
3283 Use ANSI definitions and prototypes.
3284 Use gl_* locking primitives rather than __libc_* ones.
3285 * intl/gmo.h: Switch to gettext copyright.
3286 (struct sysdep_string): Move struct segment_pair outside of
3287 struct definition.
3288 * intl/hash-string.c: Use ANSI definitions and prototypes.
3289 * intl/hash-string.h: Switch to gettext copyright.
3290 Use ANSI definitions and prototypes.
3291 * intl/l10nflist.c: Switch to gettext copyright.
3292 Use ANSI definitions and prototypes.
3293 (_nl_normalize_codeset): Avoid integer overflow.
3294 * intl/loadinfo.h: Switch to gettext copyright.
3295 Use ANSI definitions and prototypes.
3296 (LIBINTL_DLL_EXPORTED): New define.
3297 (PATH_SEPARATOR): New define.
3298 * intl/loadmsgcat.c: Switch to gettext copyright.
3299 * intl/localealias.c: Switch to gettext copyright.
3300 Use ANSI definitions and prototypes.
3301 (_nl_expand_alias): Use PATH_SEPARATOR.
3302 * intl/ngettext.c: Switch to gettext copyright.
3303 Use ANSI definitions and prototypes.
3304 * intl/plural-exp.c: Likewise.
3305 * intl/plural-exp.h: Switch to gettext copyright.
3306 Use ANSI definitions and prototypes.
3307 (struct expression): Move definition of enum operator outside
3308 of struct definition.
3309 * intl/plural.c: Regenerate.
3310 * intl/plural.y: Switch to gettext copyright.
3311 Use ANSI definitions and prototypes.
3312 Port to bison 3.0.
3313 * intl/textdomain.c: Switch to gettext copyright.
3314 Use ANSI definitions and prototypes.
3315 Use gl_* locking primitives rather than __libc_* ones.
3316
48c43298
SE
33172014-12-10 Steve Ellcey <sellcey@imgtec.com>
3318
3319 * debug/warning-nop.c: Add used atrribute.
3320
2b89bce9
JM
33212014-12-10 Joseph Myers <joseph@codesourcery.com>
3322
c153ac9f
JM
3323 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3324
2b89bce9
JM
3325 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3326 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3327 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3328
2cfbdb9a
JM
33292014-12-10 Joseph Myers <joseph@codesourcery.com>
3330 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331
3332 [BZ #17634]
3333 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3334 Undefine after defining function. Define as weak alias of
3335 __wcschr. Use libc_hidden_weak.
3336 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3337 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3338 (libc_hidden_def): Also define __GI___wcschr alias.
3339 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3340 __wcschr and define as weak alias of __wcschr.
3341 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3342 __wcschr.
3343 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3344 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3345 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3346 libc_hidden_weak. Do not use libc_hidden_def.
3347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3348 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3349 __GI___wcschr alias.
3350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3351 [IS_IN (libc)] (wcschr): Define as macro expanding to
3352 __redirect_wcschr.
3353 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3354 [IS_IN (libc)] (__wcschr_power6): Likewise.
3355 [IS_IN (libc)] (__wcschr_power7): Likewise.
3356 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3357 instead of wcschr.
3358 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3359 __libc_wcschr.
3360 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3361 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3362 __wcschr and define as weak alias of __wcschr. Use
3363 libc_hidden_builtin_def.
3364 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3365 as weak alias of __wcschr. Use libc_hidden_weak.
3366 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3367 wcschr.
3368 * time/era.c (_nl_init_era_entries): Likewise.
3369 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3370 variable.
3371 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3372 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3373
1b8bf351
JM
33742014-12-10 Joseph Myers <joseph@codesourcery.com>
3375
3376 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3377 format for long int variable.
3378
f5f46d51
AK
33792014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3380
3381 [BZ #10672]
07008f7d 3382 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3383 qsort stable.
3384
217a74a8
AS
33852014-12-10 Andreas Schwab <schwab@suse.de>
3386
3387 [BZ #12847]
3388 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3389 user-controlled locks.
3390
aa76a5c7
RE
33912014-12-10 Richard Earnshaw <rearnsha@arm.com>
3392
3393 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3394 register.
3395
2084e7ca
JM
33962014-12-10 Joseph Myers <joseph@codesourcery.com>
3397
a4ecc9eb
JM
3398 * configure.ac (--disable-werror): New configure option.
3399 (enable_werror): New AC_SUBST.
3400 * configure: Regenerated.
3401 * config.make.in (enable-werror): New variable.
3402 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3403 -Wno-error=undef.
3404 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3405 * manual/install.texi (Configuring and compiling): Document
3406 --disable-werror.
3407 * INSTALL: Regenerated.
3408 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3409 (CFLAGS-tst-chk2.c): Likewise.
3410 (CFLAGS-tst-chk3.c): Likewise.
3411 (CFLAGS-tst-chk4.cc): Likewise.
3412 (CFLAGS-tst-chk5.cc): Likewise.
3413 (CFLAGS-tst-chk6.cc): Likewise.
3414 (CFLAGS-tst-lfschk1.c): Likewise.
3415 (CFLAGS-tst-lfschk2.c): Likewise.
3416 (CFLAGS-tst-lfschk3.c): Likewise.
3417 (CFLAGS-tst-lfschk4.cc): Likewise.
3418 (CFLAGS-tst-lfschk5.cc): Likewise.
3419 (CFLAGS-tst-lfschk6.cc): Likewise.
3420
0f88636c
JM
3421 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3422 (main): Disable -Wdeprecated-declarations around calls to
3423 register_printf_function.
3424
c81e9deb
JM
3425 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3426 (do_test): Disable -Wdiv-by-zero around some calls to
3427 fwrite_unlocked and fread_unlocked.
3428
2084e7ca
JM
3429 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3430 (DIAG_POP_NEEDS_COMMENT): Likewise.
3431 (_DIAG_STR1): Likewise.
3432 (_DIAG_STR): Likewise.
3433 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3434 * stdio-common/bug21.c: Include <libc-internal.h>.
3435 (do_test): Disable -Wformat around call to sscanf.
3436 * stdio-common/scanf14.c: Include <libc-internal.h>.
3437 (main): Disable -Wformat around some calls to scanf functions.
3438
df7ecc6b
TR
34392014-12-09 Torvald Riegel <triegel@redhat.com>
3440
3441 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3442
2aa3862e
AZ
34432014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444
3445 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3446 stack variable alignment.
3447
c5c2b7c3
JM
34482014-12-06 Joseph Myers <joseph@codesourcery.com>
3449
3450 [BZ #17682]
3451 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3452 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3453 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3454 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3455 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3456 __getrlimit instead of getrlimit.
3457 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3458 __gettimeofday instead of gettimeofday.
3459 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3460 Likewise.
3461 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3462 Likewise.
3463 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3464 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3465 Remove variable.
3466 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3467 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3468
9752c3cd
AZ
34692014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3470
3471 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3472 for wide-character tests.
3473
4bee4cd9
RM
34742014-12-04 Roland McGrath <roland@hack.frob.com>
3475
3476 * io/openat64.c: #include <libc-internal.h>
3477 (__openat64): Prototypify. Use ignore_value on MODE.
3478 * io/openat.c: Likewise.
3479 * misc/reboot.c: #include <libc-internal.h>
3480 (reboot): Prototypify. Use ignore_value on HOWTO.
3481 * misc/ptrace.c: #include <libc-internal.h>
3482 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3483
84dbedb6
JM
34842014-12-04 Joseph Myers <joseph@codesourcery.com>
3485
3486 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3487 XPG4, UNIX98 and XOPEN2K.
3488 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3489 Remove variable.
3490 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3491
b7a3e1c4 34922014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3493
af50dfc1 3494 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3495 * libio/iofopen.c: Likewise.
3496 * libio/wfileops.c: Likewise.
3497
fe8b4d98
SP
3498 [BZ #17653]
3499 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3500 offset on EOF.
3501 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3502 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3503 (fgets_func): Function pointer to fgets and fgetws.
3504 (do_ftell_test): Add test to verify ftell value after read
3505 EOF.
3506 (do_test): Set fgets_func.
3507
61b4f792
SP
3508 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3509 O_TRUNC flag for w and w+ modes.
3510 (do_rewind_test): Likewise.
3511 (do_ftell_test): Likewise.
3512 (do_write_test): Likewise.
3513
be349d70
SP
3514 [BZ #17647]
3515 * libio/fileops.c (do_ftell): Seek only when there are
3516 unflushed writes.
3517 * libio/wfileops.c (do_ftell_wide): Likewise.
3518 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3519 test case.
3520 (do_one_test): Call it.
3521
e3d6dba5
JM
35222014-12-03 Joseph Myers <joseph@codesourcery.com>
3523
3524 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3525 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3526 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3527 Remove variable.
3528 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3529 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3530 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3531
7f994279
JM
35322014-12-02 Joseph Myers <joseph@codesourcery.com>
3533
28a91e8f
JM
3534 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3535 Remove variable.
3536 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3537
7f994279
JM
3538 [BZ #17668]
3539 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3540 as weak alias of __getifaddrs. Use libc_hidden_weak.
3541 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3542 __freeifaddrs. Use libc_hidden_weak.
3543 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3544 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3545 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3546 __freeifaddrs. Use libc_hidden_weak.
3547 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3548 __getifaddrs and define as weak alias of __getifaddrs. Use
3549 libc_hidden_weak.
3550 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3551 __freeifaddrs. Use libc_hidden_weak.
3552 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3553 Remove variable.
3554 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3555 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3556
bbe4c142
PJ
35572014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3558
3559 [BZ #17601]
3560 * sysdeps/mips/start.S (__start): Use indirect jump to call
3561 __libc_start_main.
3562
66cadc05
JM
35632014-12-02 Joseph Myers <joseph@codesourcery.com>
3564
909e16d9
JM
3565 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3566
4e0b9016
JM
3567 * nptl/tst-mutex1.c: Include <stdbool.h>.
3568 [!ATTR] (ATTR_NULL): New macro.
3569 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3570 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3571 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3572
b1aff6a4
JM
3573 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3574 to char *.
3575
266865c0
JM
3576 [BZ #17665]
3577 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3578 Change conditional to [__USE_MISC].
3579
84e5e756
JM
3580 [BZ #17664]
3581 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3582 fgets_unlocked.
3583 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3584 __fgets_unlocked.
3585 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3586 fgets_unlocked.
3587 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3588 Remove variable.
3589 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3590 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3591 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3592 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3593 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3594 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3595 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3596 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3597 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3598
66cadc05
JM
3599 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3600
2e8a2de2 36012014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3602
3603 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3604 Remove strpbrk objects.
3605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3606 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3607 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3608 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3609 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3610 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3611
bb2542e0
AZ
3612 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3613 Remove strcspn objects.
3614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3615 (__libc_ifunc_impl_list): Remove strcspn implementation.
3616 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3617 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3618 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3619 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3620
3621 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3622 Remove strspn objetcs.
3623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3624 (__libc_ifunc_impl_list): Remove strspn implementation.
3625 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3626 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3628 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3629
08f1e1d2
JL
36302014-12-01 James Lemke <jwlemke@codesourcery.com>
3631
3632 [BZ #17581]
3633 * malloc/hooks.c
3634 (mem2mem_check): Add a terminator to the chain of checking blocks.
3635 (malloc_check_get_size): Use it here.
3636 (mem2chunk_check): Ditto.
3637
a8a7d7d2
RS
36382014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3639
3640 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3641 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3642
97114a38
CD
36432014-11-29 Carlos O'Donell <carlos@redhat.com>
3644
c8dc1727
CD
3645 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3646
6d03458e
CD
3647 * nptl/nptl-init.c: Include libc-internal.h.
3648 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3649
97114a38
CD
3650 * elf/ldconfig.c (search_dir): Expand comment.
3651
0e7e69ba
JM
36522014-11-29 Joseph Myers <joseph@codesourcery.com>
3653
3654 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3655 variable.
3656 (linknamespace-symlist-stdlibs-tests): Likewise.
3657 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3658 instead of $(objpfx)symlist-stdlibs.
3659 (linknamespace-libs-isoc): New variable.
3660 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3661 (linknamespace-libs-ISO): New variable.
3662 (linknamespace-libs-ISO99): Likewise.
3663 (linknamespace-libs-ISO11): Likewise.
3664 (linknamespace-libs-XPG3): Likewise.
3665 (linknamespace-libs-XPG4): Likewise.
3666 (linknamespace-libs-POSIX): Likewise.
3667 (linknamespace-libs-UNIX98): Likewise.
3668 (linknamespace-libs-XOPEN2K): Likewise.
3669 (linknamespace-libs-POSIX2008): Likewise.
3670 (linknamespace-libs-XOPEN2K8): Likewise.
3671 ($(objpfx)symlist-stdlibs): Replace by
3672 $(linknamespace-symlist-stdlibs-tests). Use
3673 $(linknamespace-libs-$*) as set of libraries.
3674 ($(linknamespace-header-tests)): Update dependencies. Use
3675 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3676 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3677 * conform/linknamespace.pl: Remove comment about considering
3678 definitions of symbols from irrelevant libraries.
3679
d8dd0080
L
36802014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 [BZ #13862]
3683 * elf/dl-tls.c: Include <atomic.h>.
3684 (oom): Remove #ifdef SHARED/#endif.
3685 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3686 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3687 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3688 big enough.
3689 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3690 * nptl/Makefile (tests): Add tst-stack4.
3691 (modules-names): Add tst-stack4mod.
3692 ($(objpfx)tst-stack4): New.
3693 (tst-stack4mod.sos): Likewise.
3694 ($(objpfx)tst-stack4.out): Likewise.
3695 ($(tst-stack4mod.sos)): Likewise.
3696 (clean): Likewise.
3697 * nptl/tst-stack4.c: New file.
3698 * nptl/tst-stack4mod.c: Likewise.
3699
167da422
B
37002014-11-27 J. Brown <jb999@gmx.de>
3701
3702 * sysdeps/x86/bits/string.h: Add recent CPUs.
3703
9114625b
JM
37042014-11-27 Joseph Myers <joseph@codesourcery.com>
3705
6b5189eb
JM
3706 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3707 sigblock.
3708
49051f8e
JM
3709 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3710 feof.
3711
9114625b
JM
3712 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3713 variable.
3714
e7300fef
SL
37152014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3716
3717 * nscd/connections.c: Include libc-internal.h because of macro
3718 usage ignore_value.
3719
1721f0a4
SP
37202014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3721
3722 * string/bits/string3.h (__warn_memset_zero_len): Don't
3723 declare for gcc newer than 5.0.
3724 (memset): Don't test for zero-length __LEN for gcc newer than
3725 5.0.
3726
be970916
JM
37272014-11-27 Joseph Myers <joseph@codesourcery.com>
3728
d88548f4
JM
3729 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3730 size_t for %zu format.
3731
be970916
JM
3732 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3733 difference, not %ju.
3734
3b20fd5c
JM
37352014-11-26 Joseph Myers <joseph@codesourcery.com>
3736
8915eace
JM
3737 * include/libc-internal.h (ignore_value): New macro.
3738 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3739 with ignore_value.
3740
f1a5a0e3
JM
3741 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3742 definition.
3743
59ef1715
JM
3744 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3745 pthread_cleanup_push to void *.
3746
a6f3079b
JM
3747 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3748 Undefine.
3749
706688aa
JM
3750 [BZ #16619]
3751 [BZ #16740]
3752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3753 instead of 1L << 52.
3754
12da14a5
JM
3755 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3756 * libio/bug-rewind2.c (do_test): Likewise.
3757
bd5dadac
JM
3758 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3759 * debug/test-strcpy_chk-ifunc.c: Likewise.
3760 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3761 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3762 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3763 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3764 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3765 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3766 * Rules [$(multi-arch) = no] (tests): Do not filter out
3767 $(tests-ifunc).
3768 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3769 * debug/Makefile (tests-ifunc): Remove variable.
3770 (tests): Do not add $(tests-ifunc).
3771 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3772 (tests): Do not add $(tests-ifunc).
3773 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3774 [TEST_IFUNC]: Remove conditionals.
3775 * string/test-string.h (TEST_IFUNC): Remove macro.
3776 [TEST_IFUNC]: Remove conditionals.
3777
3b20fd5c
JM
3778 * string/test-strchr.c [!WIDE] (L): New macro.
3779 [WIDE] (L): Likewise.
3780 (check1): Use CHAR instead of char. Use L on string and character
3781 constants.
3782
704f7947
AZ
37832014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3784
3785 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3786 tests.
3787 * sysdeps/powerpc/bits/atomic.h
3788 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3789 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3790 (atomic_exchange_and_add_acq): Likewise.
3791 (atomic_exchange_and_add_rel): Likewise.
3792 * sysdeps/powerpc/powerpc32/bits/atomic.h
3793 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3794 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3795 * sysdeps/powerpc/powerpc64/bits/atomic.h
3796 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3797 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3798
cdcb42d7
TR
37992014-11-26 Torvald Riegel <triegel@redhat.com>
3800
3801 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3802 Change synchronization of __sched_fifo_min_prio and
3803 __sched_fifo_max_prio.
3804 * nptl/pthread_mutexattr_getprioceiling.c
3805 (pthread_mutexattr_getprioceiling): Likewise.
3806 * nptl/pthread_mutexattr_setprioceiling.c
3807 (pthread_mutexattr_setprioceiling): Likewise.
3808 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3809 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3810 Likewise.
3811
c82f5c0c
JM
38122014-11-26 Joseph Myers <joseph@codesourcery.com>
3813
3814 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3815 void.
3816
439e1ad6
JM
38172014-11-25 Joseph Myers <joseph@codesourcery.com>
3818
3819 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3820 third argument const.
3821
b1eda10e
PE
38222014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3823
3824 fnmatch: work around GCC compiler warning bug with uninit var
3825 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3826 This works around a bug with x86-64 GCC 4.9.2 and earlier
3827 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3828 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3829 used uninitialized in this function [-Wmaybe-uninitialized]".
3830
bde2667a
JM
38312014-11-25 Joseph Myers <joseph@codesourcery.com>
3832
3833 * posix/bug-regex31.c (main): Return RES not 0.
3834
5fbb5691
AB
38352014-11-25 Anton Blanchard <anton@samba.org>
3836
3837 * sysdeps/powerpc/bits/atomic.h
3838 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3839
467fec0b
BM
38402014-11-24 Sterling Augustine <saugustine@google.com>
3841
3842 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3843
e9ff8efb
RC
38442014-11-24 Ryan Cumming <etaoins@gmail.com>
3845
3846 [BZ #17608]
3847 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3848
9744496f
JM
38492014-11-24 Joseph Myers <joseph@codesourcery.com>
3850
3851 [BZ #17633]
3852 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3853 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3854 variable.
3855 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3856 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3857
6423d475
WD
38582014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3859
3860 * string/strncpy.c (strncpy): Improve performance by using memset.
3861
38622014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3863
3864 * string/strcpy.c (strcpy):
3865 Improve performance by using strlen and memcpy.
3866
5d178c37
LH
38672014-11-24 Leonhard Holz <leonhard.holz@web.de>
3868
3869 * string/strcoll_l.c (get_next_seq): __always_inline.
3870 * string/strcoll_l.c (do_compare): __always_inline.
3871
279bc5b3
SP
38722014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3873
7a9ebfa1
SP
3874 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3875 defined.
3876 * include/mqueue.h: Likewise.
3877 * include/stdlib.h: Likewise.
3878
4f41c682
SP
3879 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3880 (get_null_defines): Adjust.
3881 * sunrpc/Makefile: Adjust comment.
3882 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3883 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3884 (CFLAGS-interp.c): Likewise.
3885 (CFLAGS-ldconfig.c): Likewise.
3886 (CPPFLAGS-.os): Likewise.
3887 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3888 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3889 * extra-modules.mk (extra-modules.mk): Likewise.
3890 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3891 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3892 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3893 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3894 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3895 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3896 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3897 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3898 * iconvdata/Makefile (CPPFLAGS): Likewise.
3899 (cpp-srcs-left): Add libof for all iconvdata routines.
3900 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3901 * include/assert.h: Likewise.
3902 * include/ctype.h: Likewise.
3903 * include/errno.h: Likewise.
3904 * include/libc-symbols.h: Likewise.
3905 * include/math.h: Likewise.
3906 * include/netdb.h: Likewise.
3907 * include/resolv.h: Likewise.
3908 * include/stdio.h: Likewise.
3909 * include/stdlib.h: Likewise.
3910 * include/string.h: Likewise.
3911 * include/sys/stat.h: Likewise.
3912 * include/wctype.h: Likewise.
3913 * intl/l10nflist.c: Likewise.
3914 * libidn/idn-stub.c: Likewise.
3915 * libio/libioP.h: Likewise.
3916 * nptl/libc_multiple_threads.c: Likewise.
3917 * nptl/pthreadP.h: Likewise.
3918 * posix/regex_internal.h: Likewise.
3919 * resolv/res_hconf.c: Likewise.
3920 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3921 * sysdeps/arm/memmove.S: Likewise.
3922 * sysdeps/arm/sysdep.h: Likewise.
3923 * sysdeps/generic/_itoa.h: Likewise.
3924 * sysdeps/generic/symbol-hacks.h: Likewise.
3925 * sysdeps/gnu/errlist.awk: Likewise.
3926 * sysdeps/gnu/errlist.c: Likewise.
3927 * sysdeps/i386/i586/memcpy.S: Likewise.
3928 * sysdeps/i386/i586/memset.S: Likewise.
3929 * sysdeps/i386/i686/memcpy.S: Likewise.
3930 * sysdeps/i386/i686/memmove.S: Likewise.
3931 * sysdeps/i386/i686/mempcpy.S: Likewise.
3932 * sysdeps/i386/i686/memset.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3936 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3938 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3949 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3950 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3951 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3956 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3957 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3959 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3960 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3962 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3969 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3970 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3971 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3972 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3980 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3985 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3988 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3991 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3994 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3995 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3996 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3997 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3998 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3999 * sysdeps/posix/closedir.c: Likewise.
4000 * sysdeps/posix/opendir.c: Likewise.
4001 * sysdeps/posix/readdir.c: Likewise.
4002 * sysdeps/posix/rewinddir.c: Likewise.
4003 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4004 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4007 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4009 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4014 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4015 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4017 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4018 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4021 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4025 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4026 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4031 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4039 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4043 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4044 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4045 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4047 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4048 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4049 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4050 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4051 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4052 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4053 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4054 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4055 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4056 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4058 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4060 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4061 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4062 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4063 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4065 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4066 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4067 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4068 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4069 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4070 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4071 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4072 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4073 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4075 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4076 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4077 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4078 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4079 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4080 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4081 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4082 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4083 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4087 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4092 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4093 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4094 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4095 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4099 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4101 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4102 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4104 * sysdeps/unix/alpha/sysdep.S: Likewise.
4105 * sysdeps/unix/alpha/sysdep.h: Likewise.
4106 * sysdeps/unix/make-syscalls.sh: Likewise.
4107 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4109 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4110 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4111 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4112 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4113 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4114 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4115 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4116 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4117 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4118 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4120 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4121 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4122 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4123 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4124 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4125 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4126 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4127 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4128 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4129 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4130 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4131 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4132 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4133 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4136 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4137 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4141 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4145 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4146 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4147 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4148 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4149 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4157 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4158 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4159 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4160 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4165 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4166 * sysdeps/x86_64/memcpy.S: Likewise.
4167 * sysdeps/x86_64/memmove.c: Likewise.
4168 * sysdeps/x86_64/memset.S: Likewise.
4169 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4171 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4172 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4173 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4175 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4176 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4177 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4178 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4179 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4180 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4181 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4182 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4183 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4184 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4186 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4187 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4188 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4189 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4190 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4192 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4193 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4194 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4195 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4196 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4197 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4198 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4199 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4200 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4201 * sysdeps/x86_64/strcmp.S: Likewise.
4202
76ca86a5
SP
4203 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4204
a3848485
SP
4205 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4206 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4207 * elf/rtld-Rules: Likewise.
4208 * elf/setup-vdso.h: Likewise.
4209 * include/assert.h: Likewise.
4210 * include/bits/stdlib-float.h: Likewise.
4211 * include/errno.h: Likewise.
4212 * include/sys/stat.h: Likewise.
4213 * include/unistd.h: Likewise.
4214 * sysdeps/aarch64/setjmp.S: Likewise.
4215 * sysdeps/alpha/setjmp.S: Likewise.
4216 * sysdeps/arm/__longjmp.S: Likewise.
4217 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4218 * sysdeps/arm/setjmp.S: Likewise.
4219 * sysdeps/arm/sysdep.h: Likewise.
4220 * sysdeps/generic/_itoa.h: Likewise.
4221 * sysdeps/generic/dl-sysdep.h: Likewise.
4222 * sysdeps/generic/ldsodefs.h: Likewise.
4223 * sysdeps/i386/dl-tls.h: Likewise.
4224 * sysdeps/i386/setjmp.S: Likewise.
4225 * sysdeps/m68k/setjmp.c: Likewise.
4226 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4227 * sysdeps/mach/hurd/opendir.c: Likewise.
4228 * sysdeps/posix/getcwd.c: Likewise.
4229 * sysdeps/posix/opendir.c: Likewise.
4230 * sysdeps/posix/profil.c: Likewise.
4231 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4232 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4233 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4235 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4236 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4237 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4238 * sysdeps/s390/dl-tls.h: Likewise.
4239 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4240 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4241 * sysdeps/sh/sh3/setjmp.S: Likewise.
4242 * sysdeps/sh/sh4/setjmp.S: Likewise.
4243 * sysdeps/unix/alpha/sysdep.h: Likewise.
4244 * sysdeps/unix/arm/sysdep.S: Likewise.
4245 * sysdeps/unix/i386/sysdep.S: Likewise.
4246 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4247 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4248 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4249 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4252 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4253 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4254 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4255 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4256 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4257 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4261 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4264 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4265 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4266 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4269 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4270 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4274 * sysdeps/x86_64/setjmp.S: Likewise.
4275
a109996e
SP
4276 * include/math.h: Use IS_IN instead of IS_IN_libm.
4277 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4289 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4297 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4298 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4299 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4300 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4301 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4302 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4304 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4305 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4306 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4307 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4308 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4311 Likewise.
4312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4313 Likewise.
4314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4315 Likewise.
4316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4317 Likewise.
4318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4319 Likewise.
4320 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4322 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4323 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4324 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4325 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4331 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4332 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4333 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4334 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4336 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4339 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4340 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4341 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4344 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4346 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4347
ce9f10f7
SP
4348 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4349 * nptl/pthreadP.h: Likewise.
4350 * nptl_db/structs.def: Likewise.
4351 * sysdeps/arm/sysdep.h: Likewise.
4352 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4353 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4354 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4355 * sysdeps/unix/alpha/sysdep.h: Likewise.
4356 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4359 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4360 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4362 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4363 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4364 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4365 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4366 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4367 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4368 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4369 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4374 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4377 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4378 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4379 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4382
016afc75
SP
4383 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4384 * nptl/pthreadP.h: Likewise.
4385 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4386 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4387 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4388 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4389 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4390 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4391 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4392 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4393 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4394 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4395 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4396 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4398 Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4400 Likewise.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4403 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4406 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4407 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4409
9b42a0b3
SP
4410 * dlfcn/dladdr.c: Use IS_IN.
4411 * dlfcn/dladdr1.c: Likewise.
4412 * dlfcn/dlclose.c: Likewise.
4413 * dlfcn/dlerror.c: Likewise.
4414 * dlfcn/dlinfo.c: Likewise.
4415 * dlfcn/dlmopen.c: Likewise.
4416 * dlfcn/dlopen.c: Likewise.
4417 * dlfcn/dlsym.c: Likewise.
4418 * dlfcn/dlvsym.c: Likewise.
4419
85f36372
SP
4420 * include/ifaddrs.h: Use IS_IN.
4421 * inet/check_pf.c: Likewise.
4422 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4423 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4424
fb6784e3
SP
4425 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4426 IS_IN_ldconfig.
4427 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4428 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4429
2886d2d1
SP
4430 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4431 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4432 IS_IN (libc).
4433
9a484857
SP
4434 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4435
a10178bd
SP
4436 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4437 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4438 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4439 * include/libc-symbols.h (IS_IN_LIB): New macro.
4440 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4441 * include/netdb.h: Likewise.
4442 * include/stap-probe.h: Remove all uses of IN_LIB.
4443
279bc5b3
SP
4444 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4445 instead of IN_MODULE.
4446 * include/libc-symbols.h (IN_MODULE): Define using
4447 MODULE_NAME.
4448 (PASTE_NAME, PASTE_NAME1): New macros.
4449 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4450 of IN_LIB.
4451 (STAP_PROBE_ASM): Likewise.
4452
e0cfa510
ST
44532014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4454
4455 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4456 __mach_init in dlopened libc.
4457
34d97d87
MF
44582014-11-22 Mike Frysinger <vapier@gentoo.org>
4459
4460 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4461 * sysdeps/arm/preconfigure: Regenerate.
4462
33cd1f74
RM
44632014-11-21 Roland McGrath <roland@hack.frob.com>
4464
4465 * nptl/pthread_create.c (__pthread_create_2_1): Set
4466 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4467 when copying values from IATTR into PD.
4468
8c230039
WN
44692014-11-21 Will Newton <will.newton@linaro.org>
4470 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4471
6d3db89b
AP
4472 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4473 Refactor inline-asm. Also add comment.
4474
01194ba1
WN
4475 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4476 ElfW macro instead of hardcoded Elf64 types.
4477 (la_aarch64_gnu_pltenter): Likewise.
4478 * sysdeps/aarch64/dl-machine.h
4479 (elf_machine_runtime_setup): Use ElfW(Addr).
4480
8c230039
WN
4481 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4482 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4483 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4484 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4485 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4486 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4487 (R_AARCH64_TLS_DTPMOD): This.
4488 (R_AARCH64_TLS_DTPREL64): Rename to ...
4489 (R_AARCH64_TLS_DTPREL): This.
4490 (R_AARCH64_TLS_TPREL64): Rename to ...
4491 (R_AARCH64_TLS_TPREL): This.
4492 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4493 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4494 R_AARCH64_TLS_TPREL64.
4495 (elf_machine_rela): Likewise.
4496
0d79fa53
TR
44972014-11-21 Torvald Riegel <triegel@redhat.com>
4498
4499 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4500 by setting it to 0. 64b atomics are not supported currently.
4501
b59d114b
AO
45022014-11-21 Alexandre Oliva <aoliva@redhat.com>
4503
4504 [BZ #16469]
4505 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4506 search domain names.
4507
f3d945d5
AO
45082014-11-21 Alexandre Oliva <aoliva@redhat.com>
4509
4510 [BZ #16469]
4511 * NEWS: Update.
4512 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4513 trailing dot.
4514 * posix/tst-getaddrinfo5.c: New.
4515 * posix/Makefile (tests): Add it.
4516
49698902
AO
45172014-11-21 Alexandre Oliva <aoliva@redhat.com>
4518
4519 [BZ #14498]
4520 * NEWS: Fixed.
4521 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4522 after parsing line but before break_if_match.
4523 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4524 if there is a protocol mismatch.
4525
81959214
MS
45262014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4527
4528 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4529 because the potential race is on the user-supplied stream.
4530
7729e0e9
AO
45312014-11-21 Alexandre Oliva <aoliva@redhat.com>
4532
4533 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4534 string literal if not passed a buffer.
4535 * manual/job.texi (ctermid): Update reasoning, note deviation
4536 from posix, suggest mtasurace when not passed a buffer, for
4537 future non-preliminary safety notes.
4538
a4ea5e28
AO
45392014-11-21 Alexandre Oliva <aoliva@redhat.com>
4540
4541 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4542 of not passing it a buffer.
4543 Reported by Peng Haitao.
4544
a2b581cb
AO
45452014-11-21 Alexandre Oliva <aoliva@redhat.com>
4546
4547 * manual/Makefile ($(objpfx)stamp-summary): Require
4548 check-safety.sh to pass.
4549 * manual/check-safety.sh: Wish for verification that every
4550 @deftypefn and @deftypefun is followed by a @safety remark.
4551
f214ff74
RM
45522014-11-20 Roland McGrath <roland@hack.frob.com>
4553
7f0dfae0
RM
4554 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4555
2f531bbb
RM
4556 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4557 PTHREAD_CANCEL_ASYNCHRONOUS.
4558 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4559 send SIGCANCEL.
4560
f214ff74
RM
4561 * nptl/default-sched.h: New file.
4562 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4563 * nptl/pthread_create.c: Include it.
4564 (__pthread_create_2_1): Use collect_default_sched instead of making
4565 Linux syscalls here directly.
4566
e37c91d4
TR
45672014-11-20 Torvald Riegel <triegel@redhat.com>
4568
4569 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4570 __pthread_once): Use C11 atomics.
4571
1eccfecd
TR
45722014-11-20 Torvald Riegel <triegel@redhat.com>
4573
4574 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4575
ff871426
TR
45762014-11-20 Torvald Riegel <triegel@redhat.com>
4577
4578 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4579 atomic_thread_fence_acquire, atomic_thread_fence_release,
4580 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4581 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4582 atomic_compare_exchange_weak_relaxed,
4583 atomic_compare_exchange_weak_acquire,
4584 atomic_compare_exchange_weak_release,
4585 atomic_exchange_acquire, atomic_exchange_release,
4586 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4587 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4588 atomic_fetch_and_acquire,
4589 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4590
1ea339b6
TR
45912014-11-20 Torvald Riegel <triegel@redhat.com>
4592
4593 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4594 USE_ATOMIC_COMPILER_BUILTINS): Define.
4595 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4597 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4599 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4601 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4603 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4605 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4607 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4609 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4611 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4613 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4615 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4617 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4619 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4621 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4623 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4625 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4627 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4629 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4630 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4633 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4635
cbd463e2
RM
46362014-11-19 Roland McGrath <roland@hack.frob.com>
4637
d960211f
RM
4638 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4639 the sched_priority value here. It was already checked when the user
4640 called pthread_attr_setschedparam.
4641
cbd463e2
RM
4642 * nptl/tst-bad-schedattr.c: New file.
4643 * nptl/Makefile (tests): Add it.
4644
a39208bd
CD
46452014-11-19 Carlos O'Donell <carlos@redhat.com>
4646 Florian Weimer <fweimer@redhat.com>
4647 Joseph Myers <joseph@codesourcery.com>
4648 Adam Conrad <adconrad@0c3.net>
4649 Andreas Schwab <schwab@suse.de>
4650 Brooks <bmoses@google.com>
4651
4652 [BZ #17625]
4653 * wordexp-test.c (__dso_handle): Add prototype.
4654 (__register_atfork): Likewise.
4655 (__app_register_atfork): New function.
4656 (registered_forks): New global.
4657 (register_fork): New function.
4658 (test_case): Add 3 new tests for WRDE_CMDSUB.
4659 (main): Call __app_register_atfork.
4660 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4661 fork count is non-zero fail the test.
4662 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4663 is set.
4664 (parse_dollars): Remove check for WRDE_NOCMD.
4665 (parse_dquote): Likewise.
4666
9cd47470
SP
46672014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4668
130ac68c
SP
4669 * Makeconfig (built-modules): List non-library modules to be
4670 built.
4671 (module-cppflags): Include libc-modules.h for
4672 everything except shlib-versions.v.i.
4673 (CPPFLAGS): Use it.
4674 (before-compile): Add libc-modules.h.
4675 ($(common-objpfx)libc-modules.h,
4676 $(common-objpfx)libc-modules.stmp): New targets.
4677 (common-generated): Add libc-modules.h and libc-modules.stmp.
4678 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4679 * include/libc-symbols.h: Don't include libc-modules.h.
4680 * include/libc-modules.h: Remove file.
4681 * scripts/gen-libc-modules.awk: New script to generate
4682 libc-modules.h.
4683 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4684 Depend on libc-modules.stmp.
4685
286663c3
SP
4686 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4687
9cd47470
SP
4688 * Makeconfig (in-module): Get value of libof set for the
4689 translation unit.
4690 (CPPFLAGS): Use $(in-module).
4691 * Makerules: Don't suffix routine names for nonlib.
4692 * include/libc-modules.h: New file.
4693 * include/libc-symbols.h: Include libc-modules.h
4694 (IS_IN): New macro to replace IS_IN_* macros.
4695 * elf/Makefile: Set libof-* for each routine.
4696 * elf/rtld-Rules: Likewise.
4697 * extra-modules.mk: Likewise.
4698 * iconv/Makefile: Likewise.
4699 * iconvdata/Makefile: Likewise.
4700 * locale/Makefile: Likewise.
4701 * malloc/Makefile: Likewise.
4702 * nss/Makefile: Likewise.
4703 * sysdeps/gnu/Makefile: Likewise.
4704 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4705 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4706 * sysdeps/s390/s390-64/Makefile: Likewise.
4707 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4708 CPPFLAGS for nscd instead of nonlib.
4709
32fed10f
RM
47102014-11-18 Roland McGrath <roland@hack.frob.com>
4711
d71035bd
RM
4712 * nptl/createthread.c: New file.
4713
6540b991
RM
4714 * nptl/createthread.c: Moved ...
4715 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4716
32fed10f
RM
4717 * nptl/createthread.c: Add proper top-line comment.
4718 (do_clone): Folded into ...
4719 (create_thread): ... here. Take new arguments STOPPED_START and
4720 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4721 increment __nptl_threads, do event-reporting logic, do
4722 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4723 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4724 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4725 just send SIGCANCEL.
4726 * nptl/pthread_create.c: Forward-declare create_thread before
4727 including createthread.c.
4728 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4729 declaration, and new macro START_THREAD_SELF to replace argument.
4730 Remove return statement.
4731 (report_thread_creation): New function.
4732 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4733 synchronization logic, and __nptl_nthreads increment here, around
4734 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4735 PD->parent_cancelhandling here, before create_thread. When
4736 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4737 __deallocate_stack, and ENOMEM translation here.
4738
107a5bf0
JM
47392014-11-18 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #17616]
4742 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4743 (mptwo): Rename to __mptwo.
4744 (__inv): Use __mptwo instead of mptwo.
4745 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4746 (mptwo): Rename to __mptwo.
4747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4748 of mpone and __mptwo instead of mptwo.
4749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4750 instead of mpone.
4751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4752 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4753 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4754 of mpone and __mptwo instead of mptwo.
4755 (__mpranred): Use __mpone instead of mpone.
4756 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4757 variable.
4758 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4759 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4760 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4761 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4762 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4763 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4764 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4765 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4766 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4767 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4768 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4769 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4770 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4771 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4772 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4773 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4774 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4775 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4776 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4777
3b679ab3
TV
47782014-11-18 Tom de Vries <tom@codesoucery.com>
4779
4780 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4781 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4782
47832014-11-17 Richard Henderson <rth@redhat.com>
4784
4785 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4786 (_FP_PACK_RAW_2): Remove.
4787 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4788 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4789 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4790 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4791 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4792 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4793 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4794 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4795 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4796 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4797 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4798 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4799 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4800 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4801 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4802 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4803
0781a777
RM
48042014-11-14 Roland McGrath <roland@hack.frob.com>
4805
4806 * signal/signal.h [__USE_MISC]
4807 (struct sigvec): Remove type.
4808 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4809 (sigvec): Remove declaration.
4810 * sysdeps/posix/sigvec.c: Moved ...
4811 * signal/sigvec.c: ... here, replacing old file.
4812 (struct sigvec): New type, copied from old signal.h definition.
4813 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4814 (__sigvec): Convert definition to prototype.
4815 (sigvec): Replace weak_alias with compat_symbol.
4816 * signal/Versions (libc: GLIBC_2.21): New version set.
4817 * include/signal.h: Remove __sigvec declaration.
4818 * sysdeps/unix/bsd/sigvec.c: Remove file.
4819 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4820 * manual/signal.texi (BSD Handler): Remove subsection.
4821 Move siginterrupt up to ...
4822 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4823 (Blocking in BSD): Fold subsection into its parent.
4824 * NEWS: Mention sigvec removal.
4825
a4733812
JM
48262014-11-14 Joseph Myers <joseph@codesourcery.com>
4827
5ae4fe60
JM
4828 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4829 (DLA_FMS): Make definition conditional only on [__FMA4__].
4830 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4831 definition.
4832
6a0dd472
JM
4833 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4834 Make definition conditional only on [PROF].
4835 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4836 definition.
4837 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4838 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4839
a4733812
JM
4840 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4841 !__GNUC__].
4842 * include/signal.h (__sigpause): Move declaration above call to
4843 libc_hidden_proto.
4844 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4845 variable.
4846 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4847 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4848
cf7246dd
DM
48492014-11-14 David S. Miller <davem@davemloft.net>
4850
4851 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4852 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4853
c1b0aadc
JM
48542014-11-14 Joseph Myers <joseph@codesourcery.com>
4855
4863355a
JM
4856 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4857 * configure: Regenerated.
4858 * manual/install.texi (Tools for Compilation): Document a
4859 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4860 compiler verified to work.
4861 * INSTALL: Regenerated.
4862
c1b0aadc
JM
4863 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4864 redeclare with asm name.
4865 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4866 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4867 including <string.h>.
4868 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4869 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4870 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4872 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4873 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4874 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4875
2a1cfd94
JM
48762014-11-13 Joseph Myers <joseph@codesourcery.com>
4877
bf438382
JM
4878 * stdlib/strtol.c (__strtol): Use prototype definition.
4879
2a1cfd94
JM
4880 [BZ #17594]
4881 * stdlib/strtol.c (SYM__): New macro.
4882 (SYM__1): Likewise.
4883 (__strtol): Likewise.
4884 (strtol): Rename to __strtol and define as weak alias of
4885 __strtol. Use libc_hidden_weak.
4886
20ed0d26
SL
48872014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4888
4889 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4890 Use numbered labels in inline assembly.
4891
53244a4e
SL
48922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4893
4894 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4895 Add setjmp LIBC_PROBE.
4896 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4897 Likewise.
4898 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4899 Add longjmp, longjmp_target LIBC_PROBE.
4900 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4901 Likewise.
4902
47df8251
SL
49032014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4904
4905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4906 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4907 to get rid of unused variable warning.
4908
618cebef
SL
49092014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4910
4911 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4912 Check for unwind_backtrace == NULL only in SHARED case.
4913 (__backchain_backtrace): Compile only in SHARED case.
4914 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4915 Likewise.
4916 (__backchain_backtrace): Declare as static.
4917
c6aab2cb
RM
49182014-11-12 Roland McGrath <roland@hack.frob.com>
4919
4920 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4921 (__libc_multiple_threads_ptr): Variable moved ...
4922 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4923
5a6fa4d7
JM
49242014-11-12 Joseph Myers <joseph@codesourcery.com>
4925
24f4f825
JM
4926 * conform/GlibcConform.pm: New file.
4927 * conform/conformtest.pl: Use GlibcConform module.
4928 * conform/linknamespace.pl: New file.
4929 * conform/list-header-symbols.pl: Likewise.
4930 * conform/Makefile (linknamespace-symlists-base): New variable.
4931 (linknamespace-symlists-tests): Likewise.
4932 (linknamespace-header-base): Likewise.
4933 (linknamespace-header-tests): Likewise.
4934 (tests-special): Add new tests.
4935 ($(linknamespace-symlists-tests)): New rule.
4936 (linknamespace-libs): New variable.
4937 ($(objpfx)symlist-stdlibs): New rule.
4938 ($(linknamespace-header-tests)): Likewise.
4939 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4940 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4941 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4942 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4943 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4944 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4945 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4946 (test-xfail-ISO/math.h/linknamespace): Likewise.
4947 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4948 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4949 (test-xfail-ISO/time.h/linknamespace): Likewise.
4950 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4951 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4952 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4953 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4954 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4955 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4956 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4957 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4958 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4959 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4960 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4961 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4962 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4963 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4964 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4965 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4966 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4967 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4968 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4969 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4970 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4971 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4972 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4973 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4974 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4975 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4976 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4977 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4978 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4979 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4980 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4981 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4982 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4983 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4984 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4985 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4986 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4987 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4988 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4989 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4990 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4991 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4992 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4993 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4994 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4995 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4996 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4997 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4998 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4999 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5000 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5001 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5002 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5003 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5004 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5005 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5006 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5007 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5008 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5009 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5010 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5011 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5012 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5013 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5014 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5015 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5016 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5017 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5018 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5019 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5020 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5021 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5022 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5023 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5024 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5025 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5026 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5027 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5028 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5029 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5030 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5031 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5032 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5033 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5034 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5035 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5036 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5037 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5038 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5039 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5040 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5041 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5042 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5043 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5044 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5045 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5046 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5047 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5048 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5049 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5050 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5051 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5052 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5053 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5054 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5055 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5056 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5057 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5058 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5059 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5060 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5061 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5062 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5063 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5064 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5065 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5066 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5067 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5068 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5069 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5070 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5071 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5072 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5073 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5074 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5075 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5076 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5077 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5078 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5079 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5080 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5081 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5082 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5083 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5084 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5085 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5086 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5087 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5088 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5089 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5090 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5091 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5092 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5093 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5094 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5095 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5096 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5097 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5098 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5099 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5100
cc67478e
JM
5101 [BZ #17589]
5102 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5103 of fgets_unlocked.
5104
9975e3d3
JM
5105 [BZ #17585]
5106 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5107 (memmem): Rename to __memmem and define as weak alias of
5108 __memmem. Use libc_hidden_weak.
5109 (__memmem): Use libc_hidden_def.
5110 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5111 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5112 memmem.
5113
c4eae752
JM
5114 [BZ #17582]
5115 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5116 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5117 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5118 and define as weak alias of __fgets_unlocked. Use
5119 libc_hidden_weak.
5120 (__fgets_unlocked): Use libc_hidden_def.
5121 * include/stdio.h (__fgets_unlocked): Declare. Use
5122 libc_hidden_proto.
5123 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5124 __fgets_unlocked instead of fgets_unlocked.
5125 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5126 (GET_NPROCS_CONF_PARSER): Likewise.
5127 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5128 (GET_NPROCS_CONF_PARSER): Likewise.
5129
01cad84e
JM
5130 [BZ #17574]
5131 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5132 weak alias of __wmemset. Use libc_hidden_weak.
5133 (__wmemset): Use libc_hidden_def.
5134 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5135 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5136 of wmemset.
5137
939da411
JM
5138 [BZ #17573]
5139 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5140 with asm name __mempcpy.
5141 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5142
293d9a41
JM
5143 [BZ #17572]
5144 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5145 and define as weak alias of __rawmemchr.
5146 (__rawmemchr): Do not define as strong alias of rawmemchr.
5147
bef8fd60
JM
5148 [BZ #17571]
5149 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5150 alias of __qsort_r.
5151 (qsort): Call __qsort_r instead of qsort_r.
5152 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5153 (__qsort_r): Declare. Call libc_hidden_proto.
5154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5155 instead of qsort_r.
5156 * nscd/gai.c (__qsort_r): Define to qsort_r.
5157 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5158 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5159 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5160
c52ff39e
JM
5161 [BZ #17570]
5162 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5163 define as weak alias of __malloc_info.
5164
2f5c1b00
JM
5165 [BZ #17584]
5166 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5167 as weak alias of __rewinddir. Don't use libc_hidden_def.
5168 (__rewinddir): Use libc_hidden_def.
5169 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5170 as weak alias of __rewinddir. Don't use libc_hidden_def.
5171 (__rewinddir): Use libc_hidden_def.
5172 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5173 weak alias of __rewinddir. Don't use libc_hidden_def.
5174 (__rewinddir): Use libc_hidden_def.
5175 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5176 (__rewinddir): Use libc_hidden_proto.
5177 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5178 rewinddir.
5179 (__getcwd): Use __rewinddir instead of rewinddir.
5180
5a6fa4d7
JM
5181 [BZ #17583]
5182 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5183 alias of __fileno. Use libc_hidden_weak.
5184 (__fileno): Use libc_hidden_def.
5185 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5186 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5187 alias of __ftello.
5188 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5189 __ftello.
5190 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5191 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5192 libc_hidden_def.
5193 (fread_unlocked): Don't use libc_hidden_ver.
5194 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5195 and define as weak alias of __fread_unlocked. Don't use
5196 libc_hidden_def.
5197 (__fread_unlocked): Use libc_hidden_def.
5198 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5199 (ftello): Don't use libc_hidden_proto.
5200 (__ftello): Declare. Use libc_hidden_proto.
5201 (fread_unlocked): Don't use libc_hidden_proto.
5202 (__fread_unlocked): Declare. Use libc_hidden_proto.
5203 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5204 and __ftello instead of fileno, fread_unlocked and ftello.
5205
2581b98e
SP
52062012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
5208 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5209 GOT12.
5210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5211 Likewise.
5212 (_dl_start_user): Likewise.
5213 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5214
533bb7c2
SP
52152014-11-12 Carlos O'Donell <carlos@redhat.com>
5216 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5219 Move argv and envp down instead of moving argc up.
5220 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5221
fffa1cf8
LH
52222014-11-12 Leonhard Holz <leonhard.holz@web.de>
5223
5224 [BZ #17506]
5225 * test-skeleton.c (main): Return successful if one of
5226 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5227 * string/tst-strcoll-overflow.c: Define expected status.
5228
fb89b46d
TU
52292014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5230
5231 [BZ #17475]
5232 * locale/iso-639.def: Define Bhili and Tulu language codes.
5233
5c40c3ba
AH
52342014-11-11 Alan Hayward <alan.hayward@arm.com>
5235
5236 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5237
b17fe01b 52382014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5239
5240 [BZ #17555]
5241 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5242
bd805071
AS
52432014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5244
5245 * configure.ac: Updated check of minimal required version to
5246 2.22.
5247 * manual/install.texi (Tools for Compilation): Updated version
5248 number.
5249 * configure: Regenerated.
5250 * INSTALL: Likewise.
5251
1400983e
AS
52522014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5253
5254 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5255 __tls_get_addr.
5256
2c46a66a
JM
52572014-11-07 Joseph Myers <joseph@codesourcery.com>
5258
5259 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5260 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5261 (__waitpid): Don't define as alias. Use libc_hidden_def not
5262 libc_hidden_weak.
5263 (waitpid): Define as alias of __waitpid.
5264 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5265 __waitpid.
5266 (__waitpid): Don't define as alias. Use libc_hidden_def not
5267 libc_hidden_weak.
5268 (waitpid): Define as alias of __waitpid.
5269 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5270 __libc_waitpid alias.
5271 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5273 Likewise.
5274 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5276 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5277 alias.
5278 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5279 __waitpid.
5280 (__waitpid): Don't define as alias. Use libc_hidden_def not
5281 libc_hidden_weak.
5282 (waitpid): Define as alias of __waitpid.
5283
da53d6db
CD
52842014-11-06 Carlos O'Donell <carlos@redhat.com>
5285
a2887bdb
CD
5286 * manual/llio.texi: Add comment that write safety has been
5287 fixed in Linux.
5288
da53d6db
CD
5289 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5290 (localplt-build-dso): Add elf/ld.so.
5291 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5292 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5293 and free for ld.so.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5295 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5297 Likewise.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5299 Likewise.
5300 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5301 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5302 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5303 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5304 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5305 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5306 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5307 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5308 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5311
9cf27b8d
JM
53122014-11-05 Joseph Myers <joseph@codesourcery.com>
5313
5314 [BZ #14132]
5315 * include/libc-symbols.h (INTUSE): Remove macro.
5316 (INTDEF): Likewise.
5317 (INTVARDEF): Likewise.
5318 (_INTVARDEF): Likewise.
5319 (INTDEF2): Likewise.
5320 (INTVARDEF2): Likewise.
5321 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5322 rtld_hidden_def instead of INTVARDEF.
5323 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5324 (_dl_starting_up_internal): Remove declaration.
5325 (_dl_starting_up): Use rtld_hidden_proto.
5326 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5327 declaration.
5328 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5329 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5330 _dl_starting_up.
5331 * elf/dl-writev.h (_dl_writev): Likewise.
5332 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5333 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5334 _dl_starting_up_internal.
5335
af83568d
AZ
53362014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337
5338 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5339 test-skeleton.c.
5340
b01ee67c
WN
53412014-11-05 Will Newton <will.newton@linaro.org>
5342
5343 * benchtests/Makefile: (bench-malloc): Add malloc thread
5344 scalability benchmark.
5345 * benchtests/bench-malloc-threads.c: New file.
5346
be9d4ccc
RE
53472014-11-05 Richard Earnshaw <rearnsha@arm.com>
5348
5349 * sysdeps/aarch64/strchrnul.S: New file.
5350
7110166d
AZ
53512014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5352
5353 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5354 definition.
5355 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5356 Likwise.
5357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5358 Likewise.
5359 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5360 Likewise.
5361 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5362 Likewise.
5363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5364 Likewise.
5365
53662014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5367
5368 * catgets/test-gencat.c: Use test-skeleton.c.
5369 * catgets/tst-catgets.c: Likewise.
5370 * csu/tst-empty.c: Likewise.
5371 * elf/tst-audit2.c: Likewise.
5372 * elf/tst-global1.c: Likewise.
5373 * elf/tst-pathopt.c: Likewise.
5374 * elf/tst-piemod1.c: Likewise.
5375 * elf/tst-tls10.c: Likewise.
5376 * elf/tst-tls11.c: Likewise.
5377 * elf/tst-tls12.c: Likewise.
5378 * gnulib/tst-gcc.c: Likewise.
5379 * iconvdata/tst-e2big.c: Likewise.
5380 * iconvdata/tst-loading.c: Likewise.
5381 * iconv/tst-iconv1.c: Likewise.
5382 * iconv/tst-iconv2.c: Likewise.
5383 * inet/test-inet6_opt.c: Likewise.
5384 * inet/tst-gethnm.c: Likewise.
5385 * inet/tst-network.c: Likewise.
5386 * inet/tst-ntoa.c: Likewise.
5387 * intl/tst-codeset.c: Likewise.
5388 * intl/tst-gettext2.c: Likewise.
5389 * intl/tst-gettext3.c: Likewise.
5390 * intl/tst-ngettext.c: Likewise.
5391 * intl/tst-translit.c: Likewise.
5392 * io/test-stat.c: Likewise.
5393 * libio/test-fmemopen.c: Likewise.
5394 * libio/tst-freopen.c: Likewise.
5395 * libio/tst-sscanf.c: Likewise.
5396 * libio/tst-ungetwc1.c: Likewise.
5397 * libio/tst-ungetwc2.c: Likewise.
5398 * libio/tst-widetext.c: Likewise.
5399 * localedata/tst-ctype.c: Likewise.
5400 * localedata/tst-digits.c: Likewise.
5401 * localedata/tst-leaks.c: Likewise.
5402 * localedata/tst-mbswcs1.c: Likewise.
5403 * localedata/tst-mbswcs2.c: Likewise.
5404 * localedata/tst-mbswcs3.c: Likewise.
5405 * localedata/tst-mbswcs4.c: Likewise.
5406 * localedata/tst-mbswcs5.c: Likewise.
5407 * localedata/tst-setlocale.c: Likewise.
5408 * localedata/tst-trans.c: Likewise.
5409 * localedata/tst-wctype.c: Likewise.
5410 * localedata/tst-xlocale1.c: Likewise.
5411 * login/tst-grantpt.c: Likewise.
5412 * malloc/tst-calloc.c: Likewise.
5413 * malloc/tst-malloc.c: Likewise.
5414 * malloc/tst-mallocstate.c: Likewise.
5415 * malloc/tst-mcheck.c: Likewise.
5416 * malloc/tst-mtrace.c: Likewise.
5417 * malloc/tst-obstack.c: Likewise.
5418 * math/atest-exp2.c: Likewise.
5419 * math/atest-exp.c: Likewise.
5420 * math/atest-sincos.c: Likewise.
5421 * math/test-matherr.c: Likewise.
5422 * math/test-misc.c: Likewise.
5423 * math/test-powl.c: Likewise.
5424 * math/tst-definitions.c: Likewise.
5425 * misc/tst-dirname.c: Likewise.
5426 * misc/tst-efgcvt.c: Likewise.
5427 * misc/tst-fdset.c: Likewise.
5428 * misc/tst-hsearch.c: Likewise.
5429 * misc/tst-mntent2.c: Likewise.
5430 * nptl/tst-sem7.c: Likewise.
5431 * nptl/tst-sem8.c: Likewise.
5432 * nptl/tst-sem9.c: Likewise.
5433 * nss/test-netdb.c: Likewise.
5434 * posix/tst-fnmatch.c: Likewise.
5435 * posix/tst-getlogin.c: Likewise.
5436 * posix/tst-gnuglob.c: Likewise.
5437 * posix/tst-mmap.c: Likewise.
5438 * pwd/tst-getpw.c: Likewise.
5439 * resolv/tst-inet_ntop.c: Likewise.
5440 * rt/tst-timer.c: Likewise.
5441 * stdio-common/test-fseek.c: Likewise.
5442 * stdio-common/test-popen.c: Likewise.
5443 * stdio-common/test-vfprintf.c: Likewise.
5444 * stdio-common/tst-cookie.c: Likewise.
5445 * stdio-common/tst-fileno.c: Likewise.
5446 * stdio-common/tst-gets.c: Likewise.
5447 * stdio-common/tst-obprintf.c: Likewise.
5448 * stdio-common/tst-perror.c: Likewise.
5449 * stdio-common/tst-sprintf2.c: Likewise.
5450 * stdio-common/tst-sprintf3.c: Likewise.
5451 * stdio-common/tst-sprintf.c: Likewise.
5452 * stdio-common/tst-swprintf.c: Likewise.
5453 * stdio-common/tst-tmpnam.c: Likewise.
5454 * stdio-common/tst-unbputc.c: Likewise.
5455 * stdio-common/tst-wc-printf.c: Likewise.
5456 * stdlib/tst-environ.c: Likewise.
5457 * stdlib/tst-fmtmsg.c: Likewise.
5458 * stdlib/tst-limits.c: Likewise.
5459 * stdlib/tst-rand48-2.c: Likewise.
5460 * stdlib/tst-rand48.c: Likewise.
5461 * stdlib/tst-random2.c: Likewise.
5462 * stdlib/tst-random.c: Likewise.
5463 * stdlib/tst-strtol.c: Likewise.
5464 * stdlib/tst-strtoll.c: Likewise.
5465 * stdlib/tst-tls-atexit.c: Likewise.
5466 * stdlib/tst-xpg-basename.c: Likewise.
5467 * string/test-ffs.c: Likewise.
5468 * string/tst-bswap.c: Likewise.
5469 * string/tst-inlcall.c: Likewise.
5470 * string/tst-strtok.c: Likewise.
5471 * string/tst-strxfrm.c: Likewise.
5472 * sysdeps/x86_64/tst-audit10.c: Likewise.
5473 * sysdeps/x86_64/tst-audit3.c: Likewise.
5474 * sysdeps/x86_64/tst-audit4.c: Likewise.
5475 * sysdeps/x86_64/tst-audit5.c: Likewise.
5476 * time/tst-ftime_l.c: Likewise.
5477 * time/tst-getdate.c: Likewise.
5478 * time/tst-mktime3.c: Likewise.
5479 * time/tst-mktime.c: Likewise.
5480 * time/tst-posixtz.c: Likewise.
5481 * time/tst-strptime2.c: Likewise.
5482 * time/tst-strptime3.c: Likewise.
5483 * wcsmbs/tst-btowc.c: Likewise.
5484 * wcsmbs/tst-mbrtowc.c: Likewise.
5485 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5486 * wcsmbs/tst-wchar-h.c: Likewise.
5487 * wcsmbs/tst-wcpncpy.c: Likewise.
5488 * wcsmbs/tst-wcrtomb.c: Likewise.
5489 * wcsmbs/tst-wcsnlen.c: Likewise.
5490 * wcsmbs/tst-wcstof.c: Likewise.
5491
2004e7fb
JM
54922014-11-04 Joseph Myers <joseph@codesourcery.com>
5493
ab97ee8f
JM
5494 [BZ #14132]
5495 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5496 INTDEF.
5497 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5498 declaration.
5499 (_dl_mcount): Use rtld_hidden_proto.
5500 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5501 _dl_mcount.
5502 * elf/rtld.c (_rtld_global_ro): Likewise.
5503
c5684fdb
JM
5504 [BZ #14132]
5505 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5506 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5507 of _dl_init_internal.
5508 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5509 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5510 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5511 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5512 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5513 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5514 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5515 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5516 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5517 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5518 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5519 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5520 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5521 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5522 * sysdeps/tile/dl-start.S (_start): Likewise.
5523 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5524 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5525
4243cbea
JM
5526 [BZ #14132]
5527 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5528 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5529 (rtld_progname): Make macro definition unconditional.
5530 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5531 INTDEF.
5532 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5533 (dl_main): Likewise.
5534 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5535 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5536 instead of _dl_argv_internal.
5537 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5538 __GI__dl_argv instead of INTUSE(_dl_argv).
5539 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5540 __GI__dl_argv instead of _dl_argv_internal.
5541
2004e7fb
JM
5542 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5543 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5544 macro.
5545 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5546 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5547 New macro.
5548 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5549 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5550 macro.
5551 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5552 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5553
97827bfc
AS
55542014-11-04 Andreas Schwab <schwab@suse.de>
5555
5556 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5557
5e4df284
AZ
55582014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559
5560 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5561 mtvsrd instruction in binary form.
5562
04b76b5a
AS
55632014-11-03 Andreas Schwab <schwab@suse.de>
5564
5565 [BZ #17522]
5566 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5567 for less than MB_LEN_MAX use a local buffer of that size.
5568 * libio/tst-fputws.c: New file.
5569 * libio/Makefile (tests): Add tst-fputws.
5570
4c6da7da
JM
55712014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5572
5573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5574 the size of the fpu_fr.fpu_dregs[] array.
5575
1679ba8e
JM
55762014-11-01 Joseph Myers <joseph@codesourcery.com>
5577
5578 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5579 (__nanosleep): Do not define as alias.
5580 (nanosleep): Define as alias of __nanosleep.
5581 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5582 __libc_nanosleep name.
5583
2626c183
JM
55842014-10-31 Joseph Myers <joseph@codesourcery.com>
5585
5586 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5587 install.texi in comment.
5588
7f981fc2
TR
55892014-10-31 Torvald Riegel <triegel@redhat.com>
5590
5591 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5592 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5593 ... add here and use lwsync or sync ...
5594 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5595 ... and add here using lwsync.
5596
d6f373d2
MF
55972014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5598
5599 * elf/dl-machine-reject-phdr.h: New file.
5600 * elf/dl-load.c: #include that.
5601 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5602 if that returned true.
5603
67c37987
RM
56042014-10-31 Roland McGrath <roland@hack.frob.com>
5605
5606 [BZ #17496]
5607 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5608 gen-as-const-headers chunk. Add a big scare comment after the last
5609 safe place to touch before-compile.
5610
94a42455 56112014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5612
f3f5d895
JM
5613 * manual/install.texi (Tools for Compilation): Update autoconf
5614 version requirements.
5615 * INSTALL: Regenerated.
5616
f62ff286
JM
5617 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5618 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5619 (__libc_pselect): Likewise.
94a42455
JM
5620
5621 [BZ #14138]
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5626
ff9dbdc0
TR
56272014-10-31 Torvald Riegel <triegel@redhat.com>
5628
5629 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5630 correct barrier instruction.
5631 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5632 Likewise.
5633 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5634 Likewise.
5635
b4f66884
RM
56362014-10-30 Roland McGrath <roland@hack.frob.com>
5637
5638 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5639 after defining inlines. Instead, just use parens to defeat macro
5640 expansion of __isctype in its declaration.
5641
e19c95fd
JM
56422014-10-30 Joseph Myers <joseph@codesourcery.com>
5643
5644 * include/sys/uio.h (__libc_readv): Remove declaration.
5645 (__libc_writev): Likewise.
5646 * misc/readv.c (__libc_readv): Rename to __readv.
5647 (__readv): Do not define as alias.
5648 (readv): Define as alias of __readv.
5649 * misc/writev.c (__libc_writev): Rename to __writev.
5650 (__writev): Do not define as alias.
5651 (writev): Define as alias of __writev.
5652 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5653 (__readv): Do not define as alias.
5654 (readv): Define unconditionally as alias of __readv.
5655 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5656 (__writev): Do not define as alias.
5657 (writev): Define unconditionally as alias of __writev.
5658 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5659 name.
5660 (writev): Do not define __libc_writev name.
5661
65b00b6c
RM
56622014-10-30 Roland McGrath <roland@hack.frob.com>
5663
5664 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5665 (convert_charseq): New function, broken out of ...
5666 (use_from_charmap): ... here. Call it.
5667 (use_to_charmap): Use convert_charseq and free instead of duplicating
5668 its code with a variable-length stack struct.
5669
d4e157aa
JM
56702014-10-30 Joseph Myers <joseph@codesourcery.com>
5671
5672 * include/fcntl.h (__libc_creat): Remove declaration.
5673 * io/creat.c (__libc_creat): Rename to creat.
5674 (creat): Do not define as alias.
5675 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5676 of creat instead of __libc_creat.
5677 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5678 to creat.
5679 (creat): Do not define as alias.
5680 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5681 __libc_creat.
5682 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5683 __libc_creat name.
5684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5685 Likewise.
5686
0c6891a0
CD
56872014-10-29 Carlos O'Donell <carlos@redhat.com>
5688
5689 * manual/llio.texi: Add comments discussing why write() may be
5690 considered MT-unsafe on Linux.
5691
cc00cece
CD
56922014-10-28 Carlos O'Donell <carlos@redhat.com>
5693
5694 * dl-load.c (local_strdup): Remove.
5695 (expand_dynamic_string_token): Use __strdup.
5696 (decompose_rpath): Likewise.
5697 (_dl_map_object): Likewise.
5698
51e623f2
JM
56992014-10-28 Joseph Myers <joseph@codesourcery.com>
5700
5701 [BZ #14132]
5702 * sysdeps/generic/unwind-dw2-fde.c
5703 (__register_frame_info_bases_internal): Do not declare.
5704 (__register_frame_info_table_bases_internal): Likewise.
5705 (__deregister_frame_info_bases_internal): Likewise.
5706 (__register_frame_info_bases): Declare and use hidden_proto before
5707 definition. Use hidden_def instead of INTDEF.
5708 (__register_frame_info_table_bases): Likewise.
5709 (__deregister_frame_info_bases): Likewise.
5710 (__register_frame_info): Do not use INTUSE.
5711 (__register_frame): Likewise.
5712 (__register_frame_info_table): Likewise.
5713 (__register_frame_table): Likewise.
5714 (__deregister_frame_info): Likewise.
5715 (__deregister_frame): Likewise.
5716
03d41216
GC
57172014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5718
5719 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5720 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5721 not undefine.
5722 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5723 Likewise.
5724 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5725 Likewise.
5726
a4b3624d
JM
57272014-10-27 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #14138]
5730 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5731 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5732 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5733 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5734 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5735 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5736 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5737 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5738 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5739 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5741 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5742 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5743 syscall.
5744 (setfsuid): Likewise.
5745 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5746 (setfsuid): Likewise.
5747 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5748 (setfsuid): Likewise.
5749 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5750 Likewise.
5751 (setfsuid): Likewise.
5752 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5753 (setfsuid): Likewise.
5754 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5755 Likewise.
5756 (setfsuid): Likewise.
5757
3574f2fd
AS
57582014-10-27 Andreas Schwab <schwab@suse.de>
5759
5760 [BZ #17501]
5761 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5762 check for Slow_SSE4_2 feature bit.
5763 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5764 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5765 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5766 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5767
70996a37
RM
57682014-10-24 Roland McGrath <roland@hack.frob.com>
5769
461a7b1e
RM
5770 * configure.ac: Validate compiler version with a empirical test of
5771 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5772 $CC -v output.
5773 * configure: Regenerated.
5774
70996a37
RM
5775 * inet/htons.c (htons): Prototypify.
5776 * inet/htonl.c (htonl): Likewise.
5777
e80514b5
WD
57782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5779
5780 * string/strncat.c (strncat): Improve performance by using strlen.
5781
6e46de42
WD
57822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5783
5784 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5785
6a9ad2fa
WD
57862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5787
5788 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5789 Call libc_fetestexcept_aarch64.
5790
1c8810ed
WD
57912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5792
5793 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5794 Call libc_feholdexcept_aarch64.
5795
8b1af712
WD
57962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5797
5798 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5799 Call get_rounding_mode.
5800
a7b00c11
WD
58012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5802
5803 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5804 Simplify logic.
5805
3a84f1a6
WD
58062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5807
5808 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5809 Simplify logic.
5810
48eb7a94
JM
58112014-10-24 Joseph Myers <joseph@codesourcery.com>
5812
c8bc4038
JM
5813 [BZ #14138]
5814 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5815 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5816 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5817 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5818 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5819 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5820 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5821 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5822 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5823 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5824 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5825 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5826 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5828 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5830 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5831 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5832 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5833 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5834 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5835 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5836 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5837 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5838 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5839 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5840 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5841 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5842 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5843 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5844 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5845 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5846 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5847 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5848 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5850 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5852 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5853 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5854 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5855 syscall.
5856 (geteuid): Likewise.
5857 (getgid): Likewise.
5858 (getuid): Likewise.
5859 (getresgid): Likewise.
5860 (getresuid): Likewise.
5861 (getgroups): Likewise.
5862 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5863 (geteuid): Likewise.
5864 (getgid): Likewise.
5865 (getuid): Likewise.
5866 (getresgid): Likewise.
5867 (getresuid): Likewise.
5868 (getgroups): Likewise.
5869 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5870 (geteuid): Likewise.
5871 (getgid): Likewise.
5872 (getuid): Likewise.
5873 (getresgid): Likewise.
5874 (getresuid): Likewise.
5875 (getgroups): Likewise.
5876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5877 Likewise.
5878 (geteuid): Likewise.
5879 (getgid): Likewise.
5880 (getuid): Likewise.
5881 (getresgid): Likewise.
5882 (getresuid): Likewise.
5883 (getgroups): Likewise.
5884 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5885 (geteuid): Likewise.
5886 (getgid): Likewise.
5887 (getuid): Likewise.
5888 (getresgid): Likewise.
5889 (getresuid): Likewise.
5890 (getgroups): Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5892 Likewise.
5893 (geteuid): Likewise.
5894 (getgid): Likewise.
5895 (getuid): Likewise.
5896 (getgroups): Likewise.
5897
48eb7a94
JM
5898 [BZ #14138]
5899 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5900 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5903 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5904 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5905 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5906 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5907 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5912 __chown.
5913 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5914 (lchown): Likewise.
5915 (fchown): Likewise.
5916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5917 Likewise.
5918 (lchown): Likewise.
5919 (fchown): Likewise.
5920 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5921 (lchown): Likewise.
5922 (fchown): Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5924 Likewise.
5925 (lchown): Likewise.
5926 (fchown): Likewise.
5927
ea9a7c8b
WD
59282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5929
5930 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5931 Simplify logic.
5932
e226de33
WD
59332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5934
5935 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5936 Cleanup logic.
5937
6e3d8ed3
WD
59382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5939
5940 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5941 Remove unused include.
5942
eb04247d
WD
59432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5944
5945 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5946 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5947 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5948 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5949
13d84554
CD
59502014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5951 Helge Deller <deller@gmx.de>
5952
5953 [BZ #17508]
5954 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5955 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5956 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5957
15f9c5df
JM
59582014-10-23 Joseph Myers <joseph@codesourcery.com>
5959
5960 [BZ #14132]
5961 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5962 Remove macro definition.
5963 (__ashrdi3_v_glibc20): Likewise.
5964 (__lshrdi3_v_glibc20): Likewise.
5965 (__cmpdi2_v_glibc20): Likewise.
5966 (__ucmpdi2_v_glibc20): Likewise.
5967 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5968 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5969 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5970 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5971 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5972 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5973
c6dfed24
RM
59742014-10-22 Roland McGrath <roland@hack.frob.com>
5975
5976 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5977 old GNU extension [0] syntax.
5978 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5979 alloca rather than an array member with variable length.
5980 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5981 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5982 (parse_opt): ... here. Likewise use alloca there.
5983 Validate the -i argument before checking for rootness.
5984 (send_shutdown): New function, broken out of ...
5985 (parse_opt): ... here.
5986
8c2b1ed8
RM
59872014-10-22 Roland McGrath <roland@hack.frob.com>
5988
5989 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5990 macro to get at the _rt_local_ro field.
5991 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5992 ([PIC] case) or _dl_hwcap ([!PIC] case).
5993 * sysdeps/arm/setjmp.S: Likewise.
5994
5995 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5996 * sysdeps/arm/configure.ac: New check to define it.
5997 * sysdeps/arm/configure: Regenerated.
5998 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5999 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6000 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6001 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6002 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6003 Use move/movt pair instead of a load.
6004 (LDST_GLOBAL): Macro removed.
6005 (LDR_GLOBAL): New macro replaces it.
6006 (LDR_HIDDEN): New macro.
6007 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6008 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6009
6010 * setjmp/tst-setjmp-static.c: New file.
6011 * setjmp/Makefile (tests): Add it.
6012 (tests-static): New variable.
6013
b5af9297
MR
60142014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6015
6016 [BZ #17485]
6017 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6018
a13d0d74
JM
60192014-10-21 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #14132]
6022 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6023
f05e73f6
RM
60242014-10-21 Roland McGrath <roland@hack.frob.com>
6025
6026 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6027
6ab1d1ea
RM
60282014-10-20 Roland McGrath <roland@hack.frob.com>
6029
6030 * io/fts.c (dirent_not_directory): New function.
6031 (fts_build): Call it.
6032
ab49e763
RM
60332014-10-20 Roland McGrath <roland@hack.frob.com>
6034
e436eb79
RM
6035 * nptl/version.c (__nptl_main): Use normal __write rather than
6036 INTERNAL_SYSCALL.
6037 (banner): Update copyright years.
6038
6af246cf
RM
6039 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6040 gettimeofday.
6041 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6042 * nptl/pthread_cond_timedwait.c: Likewise.
6043 * nptl/pthread_mutex_timedlock.c: Likewise.
6044 * nptl/sem_timedwait.c: Likewise.
6045
ab49e763
RM
6046 * sysdeps/nptl/bits/libc-lock.h
6047 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6048 (__libc_lock_init_recursive): Return void, not 0.
6049 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6050 (__libc_rwlock_init): Likewise.
6051 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6052
f50277c1
TR
60532014-10-20 Torvald Riegel <triegel@redhat.com>
6054
6055 [BZ #15215]
6056 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6057 (__pthread_once_slow): ... here.
6058 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6059 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6060
63668b70
TR
60612014-10-20 Torvald Riegel <triegel@redhat.com>
6062
6063 [BZ #15215]
6064 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6065 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6066 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6067 * nptl/pthread_once.c (__pthread_once): Likewise.
6068 Update comments.
6069
42b7f5d4
JM
60702014-10-20 Joseph Myers <joseph@codesourcery.com>
6071
6072 [BZ #14138]
6073 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6074 name.
6075 (writev): Use __libc_writev as strong name.
6076 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6077 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6078
b0643088
RM
60792014-10-17 Roland McGrath <roland@hack.frob.com>
6080
114c4e09
RM
6081 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6082
674b8978
RM
6083 * sysdeps/i386/nptl/tls.h
6084 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6085 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6086 New macros.
6087 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6088 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6089 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6090 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6091 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6092 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6093
184ee940
RM
6094 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6095 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6096 on [__NR_futex].
6097 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6098 broken out of ...
6099 (__pthread_mutex_init): ... here. Call it.
6100 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6101 Conditionalize PI cases on [__NR_futex].
6102 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6103 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6104 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6105
327ae257
RM
6106 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6107 conditional on [SIGSETXID].
6108 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6109 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6110 is defined. Likewise for SIGSETXID.
6111 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6112 Conditionalize definitions on [SIGSETXID].
6113 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6114 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6115 unblocking on [SIGCANCEL].
6116
b0643088
RM
6117 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6118 [__NR_set_robust_list].
6119
33cc770b
SP
61202014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6121
6122 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6123 (do_compare): Likewise.
6124
0742aef6
LH
61252014-10-17 Leonhard Holz <leonhard.holz@web.de>
6126
6127 [BZ #15884]
6128 * string/strcoll_l.c: Don't include stdio.h.
6129 (coll_seq): Remove members idxarr and rulearr.
6130 (get_next_seq_cached): Remove function.
6131 (get_next_seq): Likewise.
6132 (get_next_seq_nocache): Rename to get_next_seq.
6133 (do_compare): Remove function.
6134 (do_compare_nocache): Rename to do_compare.
6135 (STRCOLL): Remove weight and rules cache.
6136
ee54ce44
RM
61372014-10-16 Roland McGrath <roland@hack.frob.com>
6138
6139 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6140 * sysdeps/arm/sfp-machine.h: ... to here.
6141 * sysdeps/arm/Implies: Remove arm/soft-fp.
6142
a75d3b02
JM
61432014-10-14 Joseph Myers <joseph@codesourcery.com>
6144
6145 * conform/data/sys/utsname.h-data (*_t): Allow.
6146 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6147 [POSIX] (WEXITED): Do not expect constant.
6148 [POSIX] (WSTOPPED): Likewise.
6149 [POSIX] (WNOHANG): Likewise.
6150 [POSIX] (WNOWAIT): Likewise.
6151 [POSIX] (siginfo_t): Do not expect type or elements.
6152 [POSIX] (pid_t): Do not expect type.
6153 [POSIX] (signal.h): Do not allow header.
6154 [POSIX] (sys/resource.h): Likewise.
6155 [POSIX] (si_*): Do not allow pattern.
6156 [POSIX] (W*): Likewise.
6157 [POSIX] (P_*): Likewise.
6158 [POSIX] (BUS_*): Likewise.
6159 [POSIX] (CLD_*): Likewise.
6160 [POSIX] (FPE_*): Likewise.
6161 [POSIX] (ILL_*): Likewise.
6162 [POSIX] (POLL_*): Likewise.
6163 [POSIX] (SEGV_*): Likewise.
6164 [POSIX] (SI_*): Likewise.
6165 [POSIX] (TRAP_*): Likewise.
6166 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6167 variable.
6168
fda389c8
SP
61692014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6170
6171 [BZ #12926]
6172 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6173 infinite loop when __recvmsg returns 0.
6174
6bc6bd3b
JM
61752014-10-10 Joseph Myers <joseph@codesourcery.com>
6176
fcb32af1
JM
6177 * CANCEL-FCT-WAIVE: Remove file.
6178 * CANCEL-FILE-WAIVE: Likewise.
6179
6bc6bd3b
JM
6180 [BZ #14132]
6181 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6182 instead of INTVARDEF.
6183 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6184 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6185 rtld_hidden_data_def instead of INTVARDEF.
6186 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6187 * elf/dl-deps.c (expand_dst): Likewise.
6188 * elf/dl-load.c (_dl_dst_count): Likewise.
6189 (_dl_dst_substitute): Likewise.
6190 (decompose_rpath): Likewise.
6191 (_dl_init_paths): Likewise.
6192 (open_path): Likewise.
6193 (_dl_map_object): Likewise.
6194 * elf/rtld.c (dl_main): Likewise.
6195 (process_dl_audit): Likewise.
6196 (process_envvars): Likewise.
6197 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6198 Remove declaration.
6199 (__libc_enable_secure): Use rtld_hidden_proto.
6200
b8c80a7e
KS
62012014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6202
6203 * elf/dl-load.c
6204 (add_path): New function broken out of _dl_rtld_di_serinfo.
6205 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6206
ff12c11f
JM
62072014-10-09 Joseph Myers <joseph@codesourcery.com>
6208
5c0508a3
JM
6209 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6210 parentheses around macro arguments.
6211 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6222 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6225 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6226 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6227 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6236 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6240 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6241 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6242 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6243 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6244 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6245 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6246 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6247 Likewise.
6248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6249 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6250 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6255 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6256 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6257 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6258 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6259 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6260 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6261 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6265 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6266 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6269 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6270 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6271 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6272 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6273 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6274 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6275 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6276 (_FP_FRAC_SRS_1): Likewise.
6277 (_FP_FRAC_CLZ_1): Likewise.
6278 (_FP_MUL_MEAT_1_imm): Likewise.
6279 (_FP_MUL_MEAT_1_wide): Likewise.
6280 (_FP_MUL_MEAT_1_hard): Likewise.
6281 (_FP_SQRT_MEAT_1): Likewise.
6282 (_FP_FRAC_ASSEMBLE_1): Likewise.
6283 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6284 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6285 (__FP_CLZ_2): Likewise.
6286 (_FP_MUL_MEAT_2_wide): Likewise.
6287 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6288 (_FP_MUL_MEAT_2_gmp): Likewise.
6289 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6290 (_FP_SQRT_MEAT_2): Likewise.
6291 (_FP_FRAC_ASSEMBLE_2): Likewise.
6292 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6293 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6294 (_FP_FRAC_CLZ_4): Likewise.
6295 (_FP_MUL_MEAT_4_wide): Likewise.
6296 (_FP_MUL_MEAT_4_gmp): Likewise.
6297 (_FP_SQRT_MEAT_4): Likewise.
6298 (_FP_FRAC_ASSEMBLE_4): Likewise.
6299 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6300 * soft-fp/op-common.h (_FP_CMP): Likewise.
6301 (_FP_CMP_EQ): Likewise.
6302 (_FP_CMP_UNORD): Likewise.
6303 (_FP_TO_INT): Likewise.
6304 (_FP_FROM_INT): Likewise.
6305 [!__FP_CLZ] (__FP_CLZ): Likewise.
6306 (_FP_DIV_HELP_imm): Likewise.
6307 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6308 Likewise.
6309 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6316 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6320 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6321 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6323 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6324 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6325 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6326 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6328 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6330 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6331 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6332 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6334 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6335 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6338 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6339 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6340 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6341 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6342 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6343 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6344 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6345 (FP_UNPACK_RAW_SP): Likewise.
6346 (FP_PACK_RAW_S): Likewise.
6347 (FP_PACK_RAW_SP): Likewise.
6348 (FP_UNPACK_S): Likewise.
6349 (FP_UNPACK_SP): Likewise.
6350 (FP_UNPACK_SEMIRAW_S): Likewise.
6351 (FP_UNPACK_SEMIRAW_SP): Likewise.
6352 (FP_PACK_S): Likewise.
6353 (FP_PACK_SP): Likewise.
6354 (FP_PACK_SEMIRAW_S): Likewise.
6355 (FP_PACK_SEMIRAW_SP): Likewise.
6356 (_FP_SQRT_MEAT_S): Likewise.
6357 (FP_CMP_S): Likewise.
6358 (FP_CMP_EQ_S): Likewise.
6359 (FP_CMP_UNORD_S): Likewise.
6360 (FP_TO_INT_S): Likewise.
6361 (FP_FROM_INT_S): Likewise.
6362
a736ec37
JM
6363 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6364
ff12c11f
JM
6365 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6366 (FP_EX_INVALID_IMZ): Likewise.
6367 (FP_EX_INVALID_IMZ_FMA): Likewise.
6368 (FP_EX_INVALID_ISI): Likewise.
6369 (FP_EX_INVALID_ZDZ): Likewise.
6370 (FP_EX_INVALID_IDI): Likewise.
6371 (FP_EX_INVALID_SQRT): Likewise.
6372 (FP_EX_INVALID_CVI): Likewise.
6373 (FP_EX_INVALID_VC): Likewise.
6374 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6375 "invalid" exceptions.
6376 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6377 (_FP_ADD_INTERNAL): Likewise.
6378 (_FP_MUL): Likewise.
6379 (_FP_FMA): Likewise.
6380 (_FP_DIV): Likewise.
6381 (_FP_CMP_CHECK_NAN): Likewise.
6382 (_FP_SQRT): Likewise.
6383 (_FP_TO_INT): Likewise.
6384 (FP_EXTEND): Likewise.
6385
b6dcfe8c
AM
63862014-10-09 Allan McRae <allan@archlinux.org>
6387
6388 * po/fr.po: Update French translation from translation project.
6389
2d6a47ba
JM
63902014-10-09 Joseph Myers <joseph@codesourcery.com>
6391
cb831245
JM
6392 [BZ #14132]
6393 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6394 of INTDEF.
6395 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6396 (__cxa_atexit): Use libc_hidden_proto.
6397 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6398
5deeb190
JM
6399 [BZ #14132]
6400 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6401 declaration.
6402 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6403 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6404 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6405 [!_ISOMAC] (__iswctype_internal): Likewise.
6406 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6407 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6408 alias.
6409 (fcntl): Remove __fcntl_internal alias.
6410 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6411 __connect_internal alias.
6412 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6413 Likewise.
6414
454ac701
JM
6415 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6416 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6417 FP_DENORM_ZERO.
6418 (_FP_CHECK_FLUSH_ZERO): New macro.
6419 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6420 (_FP_CMP): Likewise.
6421 (_FP_CMP_EQ): Likewise.
6422 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6423 FP_DENORM_ZERO.
6424 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6425 (FP_TRUNC): Likewise.
6426
0022e688
JM
6427 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6428 treated as invalid conversion, not as normal exponent.
6429
73e28d9c
JM
6430 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6431 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6432 (_FP_CMP_EQ): Likewise.
6433 (_FP_CMP_UNORD): Likewise.
6434 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6435 (FP_CMP_EQ_D): Likewise.
6436 (FP_CMP_UNORD_D): Likewise.
6437 * soft-fp/extended.h (FP_CMP_E): Likewise.
6438 (FP_CMP_EQ_E): Likewise.
6439 (FP_CMP_UNORD_E): Likewise.
6440 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6441 (FP_CMP_EQ_Q): Likewise.
6442 (FP_CMP_UNORD_Q): Likewise.
6443 * soft-fp/single.h (FP_CMP_S): Likewise.
6444 (FP_CMP_EQ_S): Likewise.
6445 (FP_CMP_UNORD_S): Likewise.
6446 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6447 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6448 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6449 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6450 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6451 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6452 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6453 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6454 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6455 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6456 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6457 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6458 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6459 to FP_CMP_Q.
6460 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6461 FP_CMP_Q.
6462 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6463 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6464 FP_CMP_EQ_Q.
6465 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6466 FP_CMP_Q.
6467 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6468 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6469 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6470 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6471 FP_CMP_EQ_Q.
6472 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6473 FP_CMP_Q.
6474 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6475 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6476 FP_CMP_EQ_Q.
6477 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6478 FP_CMP_Q.
6479 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6480 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6481 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6482 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6483 FP_CMP_EQ_Q.
6484
43059f42
JM
6485 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6486 a subnormal result, set the underflow exception if trapping on
6487 underflow is enabled.
6488 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6489 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6490 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6491 redefine to 0.
6492 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6493 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6494 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6495 * soft-fp/extendxftf2.c (__extendxftf2): Use
6496 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6497
2d6a47ba
JM
6498 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6499 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6500 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6501 FP_HANDLE_EXCEPTIONS.
6502 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6503 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6504 FP_HANDLE_EXCEPTIONS.
6505 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6506 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6507 FP_HANDLE_EXCEPTIONS.
6508 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6509 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6510 FP_HANDLE_EXCEPTIONS.
6511
620f462e
JM
65122014-10-08 Joseph Myers <joseph@codesourcery.com>
6513
6514 [BZ #14132]
6515 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6516 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6517 use INTUSE.
6518 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6519 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6520 Remove alias.
6521 (__adjtimex): Define using libc_hidden_ver.
6522 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6523 Remove declaration.
6524 (ntp_gettime): Call __adjtimex directly.
6525 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6526 Remove declaration.
6527 (ntp_gettimex): Call __adjtimex directly.
6528 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6529 __adjtimex_internal alias.
6530
c763c5d2
RM
65312014-10-08 Roland McGrath <roland@hack.frob.com>
6532
6533 [BZ #17460]
6534 * nscd/nscd.c (more_help): Rewrite list of tables collection
6535 using xstrdup and asprintf.
6536
6537 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6538
7b8fb2b8
RM
65392014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6540 Roland McGrath <roland@hack.frob.com>
6541
6542 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6543 (do_lookup_unique): ... local function 'enter' here; update callers.
6544
abb280f7
JM
65452014-10-06 Joseph Myers <joseph@codesourcery.com>
6546
f7b42517
JM
6547 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6548 compat_symbol calls on [SHARED].
6549 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6550 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6551 Remove.
6552 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6553 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6554 (oldsetrlimit): Remove.
6555 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6557 (lchown): New syscall entry.
6558 (oldsetrlimit): Remove.
6559 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6561 (oldsetrlimit): Remove.
6562 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6563
abb280f7
JM
6564 [BZ #14138]
6565 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6566 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6567 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6568 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6569 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6570 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6571 (fchown): Likewise.
6572 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6573 (fchown): Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6575 Likewise.
6576
47d46237
AZ
65772014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578
6579 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6580 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6581 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6582 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6583 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6584 Likewise.
6585 (__old_sem_post): Likewise.
6586
65872014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6588
845a7343
CM
6589 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6590 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6591 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6592 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6593 Use INLINE_VSYSCALL macro.
6594 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6595 __vdso_clock_gettime.
6596 * sysdeps/unix/sysv/linux/tile/init-first.c
6597 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6598 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6599 __vdso_clock_gettime.
6600
83d641ef
CM
6601 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6602 to set up frame more cleanly.
6603
d9cd52e6
CM
6604 * sysdeps/tile/memcmp.c: New file.
6605
4b68ea11
CM
6606 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6607
c86f7b80
CM
6608 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6609 * sysdeps/tile/tilegx/strcasestr.c: New file.
6610 * sysdeps/tile/tilegx/strnlen.c: New file.
6611 * sysdeps/tile/tilegx/strstr.c: New file.
6612
1c4c1a6f
CM
6613 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6614
99d86ea3
AS
66152014-10-06 Arjun Shankar <arjun.is@lostca.se>
6616
6617 * nptl/tst-setuid3.c: Write errors to stdout.
6618
06210a44
KS
66192014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6620
6621 * elf/dl-deps.c
6622 (preload): New functions broken out of _dl_map_object_deps.
6623 (_dl_map_object_deps): Remove a nested function. Update call sites.
6624
6268f532
JM
66252014-10-01 Joseph Myers <joseph@codesourcery.com>
6626
6627 [BZ #14138]
6628 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6629 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6630
b925285f
SE
66312014-10-01 Steve Ellcey <sellcey@mips.com>
6632
6633 * sysdeps/mips/strcmp.S: New.
6634
754a15c6
JM
66352014-09-30 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #14138]
6638 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6639 (linkat): Likewise.
6640 (mkdirat): Likewise.
6641 (readlinkat): Likewise.
6642 (renameat): Likewise.
6643 (symlinkat): Likewise.
6644 (unlinkat): Likewise.
6645 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6646 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6647 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6648 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6649 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6650 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6651 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6652
85bb81c9
WN
66532014-09-30 Will Newton <will.newton@linaro.org>
6654
dc6fe23b
WN
6655 * math/math.h: Define long double math functions if
6656 _LIBC_TEST is defined.
6657 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6658
85bb81c9
WN
6659 * localedata/Makefile: Move assignment to tests-special
6660 into an ifdef testing run-built-tests.
6661 * timezone/Makefile: Likewise.
6662
b7e02da4
JM
66632014-09-29 Joseph Myers <joseph@codesourcery.com>
6664
6665 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6666 with $(BASH) not $(SHELL).
6667
62058ce6
CD
66682014-09-29 Carlos O'Donell <carlos@redhat.com>
6669 Matthew LeGendre <legendre1@llnl.gov>
6670
6671 [BZ #17411]
6672 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6673 l_reloc_result.
6674
8e257a29
KS
66752014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6676
6677 * stdio-common/printf_fp.c
6678 (hack_digit): New function, broken out of ...
6679 (__printf_fp): ... local function here. Update call sites.
6680 hack_digit now takes an additional parameter that is a pointer
6681 to a struct of the referenced locals. Those locals moved inside
6682 the struct and references updated.
6683
f4a58f0d
L
66842014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6685
6686 * aclocal.m4: Require autoconf 2.69.
6687 * configure: Regenerated.
6688 * sysdeps/aarch64/configure: Likewise.
6689 * sysdeps/alpha/configure: Likewise.
6690 * sysdeps/arm/armv7/configure: Likewise.
6691 * sysdeps/arm/configure: Likewise.
6692 * sysdeps/ia64/configure: Likewise.
6693 * sysdeps/mach/configure: Likewise.
6694 * sysdeps/mips/configure: Likewise.
6695 * sysdeps/s390/configure: Likewise.
6696 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6698
6699 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6700 file.
6701 * sysdeps/ia64/configure.ac: Likewise.
6702
93ae1eba
JM
67032014-09-26 Joseph Myers <joseph@codesourcery.com>
6704
1810d3ab
JM
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6706 specify symbol version for ld.so. Do not include entry for
6707 libpthread.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6709 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6710 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6711
93ae1eba
JM
6712 [BZ #14171]
6713 * Makeconfig [$(build-shared) = yes]
6714 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6715 makefiles.
6716 [$(build-shared) = yes && $(soversions.mk-done) = t]
6717 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6718 [$(build-shared) = yes && $(soversions.mk-done) = t]
6719 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6720 to Makerules.
6721 [$(build-shared) = yes && $(soversions.mk-done) = t]
6722 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6723 here.
6724 [$(build-shared) = yes && $(soversions.mk-done) = t]
6725 (common-generated): Don't append gnu/lib-names.h and
6726 gnu/lib-names.stmp here.
6727 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6728 (lib-names-h-abi): New variable.
6729 [$(build-shared) = yes && $(soversions.mk-done) = t]
6730 (lib-names-stmp-abi): Likewise.
6731 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6732 abi-variants] (before-compile): Append
6733 $(common-objpfx)$(lib-names-h-abi).
6734 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6735 abi-variants] (common-generated): Append gnu/lib-names.h.
6736 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6737 abi-variants] (install-others-nosubdir): Depend on
6738 $(inst_includedir)/$(lib-names-h-abi).
6739 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6740 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6741 [$(build-shared) = yes && $(soversions.mk-done) = t]
6742 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6743 [$(build-shared) = yes && $(soversions.mk-done) = t]
6744 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6745 [$(build-shared) = yes && $(soversions.mk-done) = t]
6746 (common-generated): Append $(lib-names-h-abi) and
6747 $(lib-names-stmp-abi).
6748 * scripts/lib-names.awk: Do not handle multi being set.
6749 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6750 Remove variable.
6751 (abi-lp64_be-ld-soname): Likewise.
6752 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6753 Likewise.
6754 (abi-hard-ld-soname): Likewise.
6755 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6756 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6757 Remove variable.
6758 (abi-o32_hard-ld-soname): Likewise.
6759 (abi-o32_soft_2008-ld-soname): Likewise.
6760 (abi-o32_hard_2008-ld-soname): Likewise.
6761 (abi-n32_soft-ld-soname): Likewise.
6762 (abi-n32_hard-ld-soname): Likewise.
6763 (abi-n32_soft_2008-ld-soname): Likewise.
6764 (abi-n32_hard_2008-ld-soname): Likewise.
6765 (abi-n64_soft-ld-soname): Likewise.
6766 (abi-n64_hard-ld-soname): Likewise.
6767 (abi-n64_soft_2008-ld-soname): Likewise.
6768 (abi-n64_hard_2008-ld-soname): Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6770 Likewise.
6771 (abi-64-v2-ld-soname): Likewise.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6773 ld.so entries.
6774 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6775 variable.
6776 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6777 entry.
6778 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6779 variable.
6780 (abi-64-ld-soname): Likewise.
6781 (abi-x32-ld-soname): Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6783 entry.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6785
68870f12
JM
67862014-09-23 Joseph Myers <joseph@codesourcery.com>
6787
6788 [BZ #14138]
6789 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6790 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6791 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6794 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6795 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6796 syscall entry for GLIBC_2.2 symbol version.
6797 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6798 Likewise.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6800 (setrlimit): Likewise.
6801 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6802 Likewise.
6803
ea58f202
WN
68042014-09-23 Will Newton <will.newton@linaro.org>
6805
6806 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6807 _LINUX_ARM_SYSDEP_H include guard too.
6808 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6809 define.
6810
69eb9a18
RV
68112014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6812
6813 * sysdeps/unix/sysv/linux/eventfd.c:
6814 Make first argument unsigned.
6815 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6816 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6817
20e5a5f7
OB
68182014-09-20 Ondřej Bílka <neleai@seznam.cz>
6819
6820 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6821 * socket/sys/socket.h: Likewise
6822 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6823
d3c827e7
AK
68242014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6825
6826 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6827
fe1cc35a
AS
68282014-09-17 Arjun Shankar <arjun.is@lostca.se>
6829
6830 * time/tst-ftime.c: New test.
6831 * time/Makefile (tests): Add tst-ftime.
6832
4e8afe69
JM
68332014-09-17 Joseph Myers <joseph@codesourcery.com>
6834
c4fe3ea7
JM
6835 * soft-fp/extended.h: Fix comment formatting.
6836 * soft-fp/op-1.h: Likewise.
6837 * soft-fp/op-2.h: Likewise.
6838 * soft-fp/op-4.h: Likewise.
6839 * soft-fp/op-8.h: Likewise.
6840 * soft-fp/op-common.h: Likewise.
6841 * soft-fp/soft-fp.h: Likewise.
6842
4e8afe69
JM
6843 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6844
af296fcd
JM
68452014-09-16 Joseph Myers <joseph@codesourcery.com>
6846
6847 [BZ #6652]
6848 * Makeconfig (soversions-default-setname): Remove variable.
6849 ($(common-objpfx)soversions.i): Don't pass default_setname to
6850 soversions.awk.
6851 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6852 oldest_abi to abi-versions.awk.
6853 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6854 * config.make.in (oldest-abi): Remove variable.
6855 * configure.ac (--enable-oldest-abi): Remove configure option.
6856 * configure: Regenerated.
6857 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6858 text.
6859 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6860 * scripts/soversions.awk: Do not handle default_setname variable.
6861 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6862 variable.
6863 * sysdeps/mach/hurd/configure: Regenerated.
6864 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6865 variable.
6866 * sysdeps/unix/sysv/linux/configure: Regenerated.
6867
545583d6
SP
68682014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6869
d330b980
SP
6870 * elf/Makefile (CFLAGS-interp.c): Remove.
6871 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6872 path string.
6873 * elf/interp.c: Include generated runtime-linker.h
6874
02657da2
SP
6875 * Makerules (lib%.so): Don't include $(+interp) in
6876 prerequisites.
6877 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6878 * dlfcn/eval.c: Remove file.
6879
653b1080
SP
6880 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6881 macros.
6882
602f80ec
SP
6883 [BZ #17266]
6884 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6885 4.2 and newer.
6886
545583d6
SP
6887 [BZ #17370]
6888 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6889
884ddc50
SP
68902014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 Jakub Jelinek <jakub@redhat.com>
6892
6893 [BZ #17266]
6894 * libio/stdio.h: Check definition of __fortify_function
6895 instead of __extern_always_inline to include bits/stdio2.h.
6896 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6897 check if __extern_always_inline is defined.
6898 [__USE_MISC || __USE_XOPEN]: Likewise.
6899 [__USE_ISOC99] Likewise.
6900 * misc/sys/cdefs.h (__fortify_function): Define only if
6901 __extern_always_inline is defined.
6902 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6903 __extern_always_inline and __extern_inline only for g++-4.3
6904 and newer or a compatible gcc.
6905
a7b87268
AS
69062014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6907
6908 [BZ #17371]
6909 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6910 last change to handle zero prefix length.
6911
3f41521d
SP
69122014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6913
61fe374a
SP
6914 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6915 _SC_REGEX_VERSION.
6916
3f41521d
SP
6917 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6918 _POSIX_RAW_SOCKETS.
6919
d8f879ee
AM
69202014-09-13 Allan McRae <allan@archlinux.org>
6921
6922 * po/ru.po: Update Russian translation from translation project.
6923
c079afb7
RM
69242014-09-12 Roland McGrath <roland@hack.frob.com>
6925
a62b3c15
RM
6926 * locale/programs/locale.c (show_locale_vars): Inline local function
6927 into its sole call site. Clean up some style nits.
6928 (print_item): New function, broken out of ...
6929 (show_info): ... local function here. Clean up style nits.
6930
d7e49b19
RM
6931 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6932 out of ...
6933 (set_class_defaults): ... local function set_default here.
6934 Define set_default as a macro locally to pass constant parameters.
6935 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6936 rather than a shared local.
6937
c079afb7
RM
6938 * stdlib/rpmatch.c (try): New function, broken out of ...
6939 (rpmatch): ... local function here. Also, prototypify definition.
6940
0bd72468
JM
69412014-09-12 Joseph Myers <joseph@codesourcery.com>
6942
ba90e050
JM
6943 * scripts/soversions.awk: Do not handle configuration names.
6944 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6945 vendor and os variables to soversions.awk.
6946 * configure.ac: Do not modify gnu-* host_os.
6947 * configure: Regenerated
6948 * shlib-versions: Remove first column with configuration names.
6949 * nptl/shlib-versions: Likewise.
6950 * nptl_db/shlib-versions: Likewise.
6951 * sysdeps/hppa/shlib-versions: Likewise.
6952 * sysdeps/m68k/shlib-versions: Likewise.
6953 * sysdeps/mach/hurd/shlib-versions: Likewise.
6954 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6955 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6956 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6957 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6958 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6959 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6960 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6961 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6963 Likewise.
6964 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6965 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6966 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6968 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6969 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6970 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6971 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6972
73a39112
JM
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6974 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6976 Regenerated.
6977 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6979 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6980
c729e7c1
JM
6981 * shlib-versions: Remove OS-specific entries. Moved to files in
6982 sysdeps.
6983 * sysdeps/mach/hurd/shlib-versions: New file.
6984 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6985
dc932a24
JM
6986 * nptl/shlib-versions: Remove architecture-specific entries.
6987 Moved to files in sysdeps.
6988 * shlib-versions: Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6990 file.
6991 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6992 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6995
0bd72468
JM
6996 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6997 (UDP_NO_CHECK6_RX): Likewise.
6998
920238e0
SP
69992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7000
7001 * sysdeps/posix/sysconf.c (__sysconf): Spell
7002 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7003
ba7b4d29
FW
70042014-08-12 Florian Weimer <fweimer@redhat.com>
7005
7006 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7007 loading.
7008 * iconv/Versions (__gconv_transliterate): Export for use from
7009 gconv modules.
7010 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7011 (struct __gconv_trans_data, __gconv_trans_fct,
7012 __gconv_trans_context_fct, __gconv_trans_query_fct,
7013 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7014 definitions.
7015 (struct __gconv_step_data): Remove __trans member.
7016 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7017 longer hidden. Remove unused trans_data argument.
7018 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7019 (__gconv_translit_find): Remove declaration.
7020 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7021 prototype.
7022 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7023 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7024 trans_data argument. Add hidden definition.
7025 (__gconv_translit_find): Remove.
7026 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7027 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7028 * iconv/skeleton.c: Remove transliteration initialization.
7029 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7030 __gconv_step_data initialization.
7031 * libio/iofwide.c (__libio_translit_): Remove.
7032 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7033 * wcsmbs/btowc.c (__btowc): Likewise.
7034 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7035 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7036 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7037 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7038 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7039 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7040 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7041 * wcsmbs/wctob.c (wctob): Likewise.
7042
5379aebd
SP
70432014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7044
7045 [BZ #16194]
7046 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7047 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7048 register usage.
7049 * sysdeps/x86/Makefile: Adjust.
7050
8c0ab919
RM
70512014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7052 Roland McGrath <roland@hack.frob.com>
7053
7054 * locale/weight.h: Add include guard.
7055 (findidx): Make static rather than auto; take new parameters
7056 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7057 * locale/weightwc.h: Likewise.
7058 * posix/fnmatch_loop.c
7059 (FCT): Change type of EXTRA from int32_t to wint_t.
7060 Don't include either header inside the function.
7061 Call FINDIDX rather than findidx, and pass new arguments.
7062 #undef FINDIDX at the end of the file.
7063 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7064 FINDIDX before including fnmatch_loop.c for the non-wide version.
7065 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7066 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7067 for the wide version.
7068 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7069 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7070 Pass new arguments to findidx.
7071 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7072 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7073 Don't #include it inside the function. Pass new arguments to findidx.
7074 * posix/regex_internal.h
7075 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7076 (re_string_elem_size_at): Don't #include it inside the function.
7077 Pass new arguments to findidx.
7078 * string/strcoll_l.c: #include WEIGHT_H at top level.
7079 (get_next_seq): Don't #include it inside the function.
7080 Pass new arguments to findidx.
7081 (get_next_seq_nocache): Likewise.
7082 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7083 (STRXFRM): Don't #include it inside the function.
7084 Pass new arguments to findidx.
7085
52ffbdf2
FW
70862014-09-11 Florian Weimer <fweimer@redhat.com>
7087
7088 [BZ #17344]
7089 * malloc/malloc.c (unlink): Turn asserts into a call to
7090 malloc_printerr.
7091
984c0ea9
TL
70922014-09-11 Tim Lammens <tim.lammens@gmail.com>
7093
7094 [BZ #17370]
7095 * libio/wfileops (do_ftell_wide): Free OUT.
7096
3daee107
CM
70972014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7098
7099 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7100
58b930ae
SP
71012014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7102
7103 [BZ #17363]
7104 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7105 group if the current group is empty.
7106
3b473fec
AZ
71072014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7108
71ae8647
AZ
7109 * benchtests/bench-memset.c (test_main): Add more test from size
7110 from 32 to 512 bytes.
7111 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7112 Add POWER8 memset object.
7113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7114 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7115 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7116 implementation.
7117 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7118 Likewise.
7119 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7120 multiarch POWER8 memset optimization.
7121 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7122 POWER8 memset optimization.
7123
3b473fec
AZ
7124 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7125 Remove bzero multiarch objects.
7126 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7127 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7128 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7129 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7130 Remove define.
7131 [__bzero]: Redefine to specific name.
7132 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7133 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7134 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7135 define.
7136 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7137 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7138
e6fb9587
FW
71392014-09-10 Florian Weimer <fweimer@redhat.com>
7140
7141 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7142 warnings into errors.
7143
7144 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7145 __cxa_thread_atexit_impl prototype.
7146
9d3a350b
SE
71472014-09-09 Steve Ellcey <sellcey@mips.com>
7148
7149 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7150 Fix capitalization of error message.
7151
0febba23
SE
71522014-09-09 Steve Ellcey <sellcey@mips.com>
7153
7154 * sysdeps/mips/preconfigure: Modify ABI tests.
7155
645a0e9c
CD
71562014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7157
7158 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7159
d83f0734
CD
71602014-09-07 Roland McGrath <roland@hack.frob.com>
7161 Carlos O'Donell <carlos@systemhalted.org>
7162
7163 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7164 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7165 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7166 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7167 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7168 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7169 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7170 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7171 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7172 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7173 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7174 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7175 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7176 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7177 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7178 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7179 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7180 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7181 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7182 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7183 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7184 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7185 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7186 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7187 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7188 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7189 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7190 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7191 Deconditionalize the code that was previously under [RESET_PID].
7192 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7193 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7194 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7195 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7196 include sysdep.h.
7197
21c83793
AM
71982014-09-08 Allan McRae <allan@archlinux.org>
7199
7200 * version.h (RELEASE): Set to "development".
7201 (VERSION): Set to "2.20.90"
7202
1cd9b65c
AM
72032014-09-07 Allan McRae <allan@archlinux.org
7204
b8079dd0
AM
7205 * version.h (RELEASE): Set to "stable".
7206 (VERSION): Set to "2.20"
7207 * include/features.h (__GLIBC_MINOR__): Set to 20.
7208
c46303ef
AM
7209 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7210 Liebler.
7211
1cd9b65c
AM
7212 * po/ko.po: Update Korean translation from translation project.
7213
8622092d
CM
72142014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7215
7216 [BZ #17354]
7217 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7218 macro for handling signed relocations.
7219
41488498
FW
72202014-09-03 Florian Weimer <fweimer@redhat.com>
7221
7222 [BZ #17325]
7223 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7224 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7225 assert.
7226 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7227 * iconvdata/ibm935.c (BODY): Likewise.
7228 * iconvdata/ibm937.c (BODY): Likewise.
7229 * iconvdata/ibm939.c (BODY): Likewise.
7230 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7231 assert.
7232 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7233 script.
7234 * iconvdata/run-iconv-test.sh: New test loop for checking for
7235 decoder crashers.
7236
a78b712d
KR
72372014-09-02 Khem Raj <raj.khem@gmail.com>
7238
7239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7240 libm_hidden_ver.
7241
cb08abc6
AM
72422014-09-01 Allan McRae <allan@archlinux.org>
7243
2c31e102
AM
7244 * po/eo.po: Update Esperanto translation from translation project.
7245
cb08abc6
AM
7246 * po/ca.po: Update Catalan translation from translation project.
7247
17a62de1
ST
72482014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7249
7250 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7251 __proc_dostop call.
7252
9570bc53
MW
72532014-08-27 Mark Wielaard <mjw@redhat.com>
7254
7255 [BZ #17319]
7256 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7257 to call set_thread_area instead of hand written asm.
7258 (__NR_set_thread_area): Removed define.
7259 (TLS_FLAG_WRITABLE): Likewise.
7260 (__ASSUME_SET_THREAD_AREA): Remove check.
7261 (TLS_EBX_ARG): Remove define.
7262 (TLS_LOAD_EBX): Likewise.
7263
b0f955c9
ST
72642014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7265
7266 Simplify atomicity of socket creation in bind.
7267
7268 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7269 looking up the name after linking the file.
7270
529bf515
AM
72712014-08-27 Allan McRae <allan@archlinux.org>
7272
7273 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7274
a1a6a401
FW
72752014-08-26 Florian Weimer <fweimer@redhat.com>
7276
7277 [BZ #17187]
7278 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7279 trans_compare, open_translit, __gconv_translit_find):
7280 Remove module loading code.
7281
686ab290
AM
72822014-08-26 Allan McRae <allan@archlinux.org>
7283
e4e7cfd2
AM
7284 * po/vi.po: Update Vietnamese translation from translation project.
7285
6aa09f71
AM
7286 * po/uk.po: Update Ukrainian translation from translation project.
7287
edc0660e
AM
7288 * po/fr.po: Update French translation from translation project.
7289
7eea72ac
AM
7290 * po/ru.po: Update Russian translation from translation project.
7291
93c49eff
AM
7292 * po/pl.po: Update Polish translation from translation project.
7293
46acaf63
AM
7294 * po/cs.po: Update Czech translation from translation project.
7295
a9f5ce98
AM
7296 * po/de.po: Update German translation from translation project.
7297
373f2b78
AM
7298 * po/bg.po: Update Bulgarian translation from translation project.
7299
e7548bd8
AM
7300 * po/sv.po: Update Sweedish translation from translation project.
7301
c526bf4d
AM
7302 * po/nl.po: Update Dutch translation from translation project.
7303
686ab290
AM
7304 * po/es.po: Update Spanish translation from translation project.
7305
eb72478a
SP
73062014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
dd763fdb
SP
7308 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7309
318c7a58
SP
7310 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7311 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7312 (CPPFLAGS-iconvconfig): Likewise.
7313 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7314
eb72478a
SP
7315 * include/libc-symbols.h: Remove unnecessary check for
7316 NOT_IN_libc.
7317 * nptl/pthreadP.h: Likewise.
7318 * sysdeps/aarch64/setjmp.S: Likewise.
7319 * sysdeps/alpha/setjmp.S: Likewise.
7320 * sysdeps/arm/sysdep.h: Likewise.
7321 * sysdeps/i386/setjmp.S: Likewise.
7322 * sysdeps/m68k/setjmp.c: Likewise.
7323 * sysdeps/posix/getcwd.c: Likewise.
7324 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7325 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7326 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7327 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7328 * sysdeps/sh/sh3/setjmp.S: Likewise.
7329 * sysdeps/sh/sh4/setjmp.S: Likewise.
7330 * sysdeps/unix/alpha/sysdep.h: Likewise.
7331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7332 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7333 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7334 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7339 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7342 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7344 * sysdeps/x86_64/setjmp.S: Likewise.
7345
d44a052c
JM
73462014-08-13 Joseph Myers <joseph@codesourcery.com>
7347
7348 [BZ #17263]
7349 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7350 <stdint.h>.
7351 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7352 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7353
508ce3ac
SP
73542014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
e44c8b0e
SP
7356 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7357
508ce3ac
SP
7358 [BZ #17262]
7359 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7360 and __x86_64__ when disabling x87 inline functions.
7361
b4acef1f
L
73622014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7363
7364 [BZ #17259]
7365 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7366 asm statement with __cpuid_count.
7367
61b1ef6e
MF
73682014-08-12 Mike Frysinger <vapier@gentoo.org>
7369
7370 * configure.ac: Change __ehdr_start code to dereference the struct.
7371 Run readelf on the output to look for relocations.
7372 * configure: Regenerated.
7373
898c62f4
JM
73742014-08-12 Joseph Myers <joseph@codesourcery.com>
7375
7376 [BZ #17261]
7377 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7378 value to 0.
7379 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7380
9a8a5720
RM
73812014-08-12 Roland McGrath <roland@hack.frob.com>
7382
7383 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7384
4e75751c
BO
73852014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7386
7387 [BZ #16892]
7388 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7389 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7390
bb2ce416
SA
73912014-08-12 Sean Anderson <seanga2@gmail.com>
7392
7393 * malloc/malloc.c: Fix typo in comment.
7394
7950a4ee
AM
73952014-08-09 Allan McRae <allan@archlinux.org>
7396
7397 * Regenerate libc.po.
7398
f469c49f
MF
73992014-08-08 Mike Frysinger <vapier@gentoo.org>
7400
7401 * intl/tst-gettext2.sh: Check every lang file for creation.
7402
656b84c2
WD
74032014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7404
7405 * sysdeps/aarch64/fpu/math_private.h
7406 (libc_feholdsetround_noex_aarch64_ctx): New function.
7407
538e9e45
W
74082014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7409
7410 * sysdeps/arm/armv6/strcpy.S (strcpy):
7411 Fix performance issue in misaligned cases.
7412
d4795e4a
AZ
74132014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7414
7415 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7416 Move definition from termios.h.
7417 (struct termio): Likewise.
7418 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7419 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7420 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7421 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7422 Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7424 Move definition to ioctl-types.h
7425 (struct termio): Likewise.
7426 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7427 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7428 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7429 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7430 Likewise.
7431
64accb62
RH
74322014-08-05 Richard Henderson <rth@redhat.com>
7433
27bb6dc0
RH
7434 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7435 exceptions.
7436 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7437 Add fraiseexcpt.
7438 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7439 Use __feraiseexcept.
7440 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7441 Protect libm symbols with IS_IN_libm.
7442
64accb62
RH
7443 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7444
e5292691
BO
74452014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7446
7447 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7448
5b4bd2d4
WN
74492014-08-04 Will Newton <will.newton@linaro.org>
7450
7451 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7452 file.
7453
fcadaeef
MF
74542014-08-04 Mike Frysinger <vapier@gentoo.org>
7455
7456 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7457 variants for each function.
7458
43a94c64
RM
74592014-08-04 Roland McGrath <roland@hack.frob.com>
7460
7461 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7462 appended ...
7463 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7464 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7465 appended ...
7466 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7467 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7468 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7469 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7470 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7471 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7472 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7473 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7474 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7475 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7476 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7482 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7484 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7502 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7503 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7504 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7505 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7506 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7508 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7509 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7510 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7512 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7514 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7516 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7517 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7518 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7519 Update #include.
7520 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7521 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7522
8f3c1fa4
RM
75232014-08-04 Roland McGrath <roland@hack.frob.com>
7524
7525 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7526 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7527 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7528 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7529 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7530 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7531
ca08746f
RM
75322014-08-04 Roland McGrath <roland@hack.frob.com>
7533
7534 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7535 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7536 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7537 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7538
9c925ff9
RM
75392014-08-04 Roland McGrath <roland@hack.frob.com>
7540
7541 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7542 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7543 (__libc_vfork): Define function under this name.
7544 (__vfork): Define as an alias.
7545 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7546 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7547
e641054c
RM
75482014-08-04 Roland McGrath <roland@hack.frob.com>
7549
7550 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7551 that was previously under [RESET_PID].
7552 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7553
dacdc867
AS
75542014-08-04 Andreas Schwab <schwab@suse.de>
7555
7556 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7557
41f725ff
MF
75582014-08-03 Mike Frysinger <vapier@gentoo.org>
7559
7560 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7561 (main): Likewise.
7562
277cfb31
RM
75632014-08-01 Roland McGrath <roland@hack.frob.com>
7564
7565 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7566
4896f049
RH
75672014-08-01 Richard Henderon <rth@redhat.com>
7568
7569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7570 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7571 typo in exact zero test.
7572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7573 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7575
6f64e7d7
RM
75762014-08-01 Roland McGrath <roland@hack.frob.com>
7577
7578 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7579 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7580 * sysdeps/arm/sysdep.h: ... here.
7581 [!__ASSEMBLER__]: Include <stdint.h>.
7582
3f3dd810
SP
75832014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7584
a476ac4b
SP
7585 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7586 (HAVE_WCTYPE_H): Likewise.
7587 (HAVE_ISWCTYPE): Likewise.
7588 (ENABLE_NLS): Likewise.
7589 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7590 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7591
78dd658a
SP
7592 * posix/regex_internal.c: Check if DEBUG is defined and is
7593 set.
7594
3f3dd810
SP
7595 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7596 (HAVE_MBSRTOWCS): Likewise.
7597 * posix/fnmatch.c: Include string.h unconditionally.
7598
95ee7fb1
SL
75992014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7600
7601 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7602 reversal.
7603
23fe486b
RM
76042014-07-31 Roland McGrath <roland@hack.frob.com>
7605
f61a113f
RM
7606 * sysdeps/generic/safe-fatal.h: New file.
7607 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7608 * nptl/forward.c: Include it.
7609 (__pthread_unwind): Use __safe_fatal as default action, rather
7610 than a bogus use of INTERNAL_SYSCALL that could never work.
7611
9fe7e787
RM
7612 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7613 * configure.ac (libc_cv_builtin_trap): New test.
7614 * configure: Regenerated.
7615 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7616 (ABORT_INSTRUCTION): Define using __builtin_trap.
7617
23fe486b
RM
7618 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7619 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7620 * sysdeps/nptl/nptl-signals.h: New file.
7621 * nptl/pthreadP.h: Include <nptl-signals.h>.
7622
f349489e
SL
76232014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7624
7625 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7626 (ONE_DIRECTION): Define.
7627 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7628 (ONE_DIRECTION): Define.
7629 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7630 (ONE_DIRECTION): Define.
7631
2f438e20
SL
76322014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7633
7634 * sysdeps/s390/Makefile: Delete file.
7635 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7636 * sysdeps/s390/__longjmp.c: Delete file.
7637 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7638 Remove fields __flags and __reserved.
7639 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7640 and add versioning.
7641 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7642 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7643 * sysdeps/s390/rtld-setjmp.S: Likewise.
7644 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7645 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7646 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7647 * sysdeps/s390/s390-32/setjmp.S: ... here.
7648 Add versioning.
7649 (__sigsetjmp): Remove setting __flags field.
7650 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7651 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7652 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7653 * sysdeps/s390/s390-64/setjmp.S: ... here.
7654 Add versioning.
7655 (__sigsetjmp): Remove setting __flags field.
7656 * sysdeps/s390/setjmp.S: Delete file.
7657 * sysdeps/s390/sigjmp.c: Likewise.
7658 * sysdeps/s390/v1-longjmp.c: Likewise.
7659 * sysdeps/s390/v1-setjmp.h: Likewise.
7660 * sysdeps/s390/v1-sigjmp.c: Likewise.
7661 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7662 Remove v1-longjmp_chk.
7663 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7664 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7665 Include debug/longjmp_chk.c and add versioning.
7666 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7667 Include nptl/pt-longjmp.c and add versioning.
7668 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7669 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7670 Include __longjmp.c.
7671 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7672 Move to ...
7673 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7674 (__getcontext): Remove setting __flags field.
7675 Add versioning.
7676 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7677 Don't restore upper high grps.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7679 Likewise.
7680 (__swapcontext): Remove setting uc_flags field.
7681 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7682 Delete file.
7683 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7684 Include __longjmp.c.
7685 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7686 Move to ...
7687 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7688 (__getcontext): Remove setting __flags field.
7689 Add versioning.
7690 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7691 (__swapcontext): Remove setting uc_flags field.
7692 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7693 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7694 Remove fields uc_high_gprs and __reserved.
7695 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7696 New file with reverted content.
7697 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7698 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7699 Regenerated.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7701 Regenerated.
7702
6c9578a2
AS
77032014-07-31 Andreas Schwab <schwab@suse.de>
7704
7705 * config.h.in (HAVE_IFUNC): Define to 0.
7706 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7707 definedness.
7708
05f3633d
LM
77092014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7710
7711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7712 memmove-avx-unaligned, memcpy-avx-unaligned and
7713 mempcpy-avx-unaligned.
7714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7715 Add tests for AVX memcpy functions.
7716 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7717 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7718 memcpy_chk.
7719 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7720 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7721 memmove_chk.
7722 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7723 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7724 mempcpy_chk.
7725 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7726 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7727 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7728
a53fbd8e
AZ
77292013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7730
7731 [BZ #17213]
7732 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7733 powerpc64le.
7734
0961f7e1
JL
77352014-07-29 Jeff Layton <jlayton@poochiereds.net>
7736
7737 [BZ #16839]
7738 * manual/llio.texi: Add section about open file description locks.
7739 * manual/examples/ofdlocks.c: Example of open file description
7740 lock usage.
7741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7742 F_OFD_SETLK, and F_OFD_SETLKW.
7743
cc5fb300
AM
77442014-07-23 Allan McRae <allan@archlinux.org>
7745
7746 * po/es.po: Update Spanish translation from translation project.
7747
23329dca
AS
77482014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7749
7750 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7751
9c82da17
MR
77522014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7753
7754 [BZ #17078]
7755 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7756 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7757 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7758
29c4f53e
JM
77592014-07-17 Joseph Myers <joseph@codesourcery.com>
7760
831b9896
JM
7761 [BZ #17088]
7762 * math/fesetenv.c (__fesetenv)
7763 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7764 * math/feupdateenv.c (__feupdateenv)
7765 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7766
b21c2d50
JM
7767 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7768 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7769 (__ASSUME_SOCKETCALL): Do not define.
7770
067764ef
JM
7771 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7772 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7773 (__ASSUME_SOCKETCALL): Do not define.
7774 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7775 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7776 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7777 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7778 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7779 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7780 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7781 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7782
642530c1
JM
7783 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7784 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7785 (__ASSUME_SOCKETCALL): Do not define.
7786 (__ASSUME_IPC64): Define unconditionally.
7787 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7788 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7789 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7790 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7791 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7792 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7793 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7794 Likewise.
7795
03f77315
JM
7796 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7797 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7798 (__ASSUME_SOCKETCALL): Do not define.
7799 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7800 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7801 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7802 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7803 (__ASSUME_REQUEUE_PI): Define unconditionally.
7804 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7805 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7806 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7807 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7808 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7809 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7810
083b1f7c
JM
7811 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7812 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7813 (__ASSUME_SOCKETCALL): Do not define.
7814 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7815 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7816 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7817 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7818 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7819 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7820
5be44ea6
JM
7821 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7822 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7823 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7824 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7825 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7826 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7827 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7828 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7829 (__ASSUME_GETCPU_SYSCALL): Likewise.
7830
d95ffd4c
JM
7831 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7832 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7833 cases for individual architectures.
7834 * sysdeps/gnu/configure: Regenerated.
7835 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7836 LIBC_SLIBDIR_RTLDDIR.
7837 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7838 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7839 LIBC_SLIBDIR_RTLDDIR.
7840 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7842 LIBC_SLIBDIR_RTLDDIR.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7844 Regenerated.
7845 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7846 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7847 file.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7849 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7850 file.
7851 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7852 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7853 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7854 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7855
29c4f53e
JM
7856 * sysdeps/aarch64/shlib-versions: Move to ...
7857 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7858 * sysdeps/alpha/shlib-versions: Move to ...
7859 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7860 * sysdeps/arm/shlib-versions: Move to ...
7861 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7862 * sysdeps/hppa/shlib-versions: Move all contents except for
7863 libgcc_s entry to ...
7864 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7865 entry from ...
7866 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7867 * sysdeps/ia64/shlib-versions: Move to ...
7868 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7869 entry from ...
7870 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7871 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7872 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7873 * sysdeps/microblaze/shlib-versions: Move to ...
7874 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7875 * sysdeps/mips/shlib-versions: Move to ...
7876 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7877 entry from ...
7878 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7879 * sysdeps/tile/shlib-versions: Move to ...
7880 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7881 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7882 from ...
7883 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7884 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7885 entry from ...
7886 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7887
32bead5b
WN
78882014-07-17 Will Newton <will.newton@linaro.org>
7889
57977c4b
WN
7890 * sysdeps/arm/bits/atomic.h
7891 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7892 (__arch_compare_and_exchange_bool_16_int): Likewise.
7893 (__arch_compare_and_exchange_bool_64_int): Likewise.
7894
32bead5b
WN
7895 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7896 into an #else block.
7897
37fccd41
RM
78982014-07-16 Roland McGrath <roland@hack.frob.com>
7899
7900 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7901 just Linux configurations. Test empirically that the compiler sets
7902 __ARM_EABI__, rather than using the tuple to decide.
7903 * sysdeps/arm/preconfigure: Regenerated.
7904 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7905 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7906 contents appended ...
7907 * sysdeps/arm/configure.ac: ... here.
7908 * sysdeps/arm/configure: Regenerated.
7909
b365f3ec
RM
79102014-07-15 Roland McGrath <roland@hack.frob.com>
7911
8badf496
RM
7912 * nptl/pthread_kill.c: New file.
7913 * nptl/pthread_sigmask.c: New file.
7914 * nptl/pthread_sigqueue.c: New file.
7915
3df6f22e
RM
7916 * sysdeps/nptl/lowlevellock.h: New file.
7917 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7918 * sysdeps/nptl/lowlevellock-futex.h: New file.
7919
b365f3ec
RM
7920 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7921 Remove dead declarations.
7922
f2fef657
L
79232014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7924
7925 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7926 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7927 config-cflags-avx2.
7928 * sysdeps/x86_64/configure.ac: Likewise.
7929 * sysdeps/i386/configure: Regenerated.
7930 * sysdeps/x86_64/configure: Likewise.
7931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7932 memset-avx2 only if config-cflags-avx2 is yes.
7933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7934 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7935 defined.
7936 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7937 only if HAVE_AVX2_SUPPORT is defined.
7938 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7939
f6c44d47
AM
79402014-07-14 Alan Modra <amodra@gmail.com>
7941
7942 [BZ #17153]
7943 * elf/elf.h (DT_PPC64_NUM): Correct value.
7944 * NEWS: Add to fixed bug list.
7945
7ee03f00
JM
79462014-07-13 Jim Meyering <meyering@fb.com>
7947
7948 [BZ 17150]
7949 regex: don't deref NULL upon heap allocation failure
7950 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7951 failure in one more place.
7952 To trigger the segfault, configure grep -with-included-regex,
7953 build it, and run these commands:
7954 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7955
9d39d517
AS
79562014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7957
7958 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7959
a75b89b7
RH
79602014-07-11 Richard Henderson <rth@redhat.com>
7961
7962 * sysdeps/aarch64/libm-test-ulps: Update.
7963
771eb141
FW
79642014-07-10 Florian Weimer <fweimer@redhat.com>
7965
7966 [BZ #17135]
7967 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7968 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7969 (__nptl_setxid): Initialize error member. Call
7970 __nptl_setxid_error.
7971 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7972 * nptl/descr.h (struct xid_command): Add error member.
7973 * nptl/tst-setuid3.c: New file.
7974 * nptl/Makefile (tests): Add it.
7975
bc1da176
AZ
79762014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977
7978 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7979 New define.
7980 (__lll_trylock): Use __lll_base_trylock.
7981 (__lll_cond_trylock): Likewise.
7982
887865fc
RM
79832014-07-10 Roland McGrath <roland@hack.frob.com>
7984
c0c6bac9
RM
7985 * nptl/pthread_create.c (start_thread): Use atomic_or and
7986 lll_futex_wake directly rather than lll_robust_dead.
7987 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7988 (lll_robust_dead): Macro removed.
6a42be57 7989 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7990 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7991 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7992 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7994 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7995 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7996 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7997 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7999 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8001 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8002 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8003 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8004
887865fc
RM
8005 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8006 Use atomic_compare_and_exchange_val_acq directly rather than
8007 lll_robust_trylock.
8008 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8009 (__lll_robust_trylock, lll_robust_trylock): Removed.
8010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8011 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8012 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8013 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8014 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8016 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8017 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8019 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8020 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8024
58536726
FW
80252014-07-02 Florian Weimer <fweimer@redhat.com>
8026
8027 * manual/locale.texi (Locale Names): New section documenting
8028 locale name syntax. Adjust menu and node chaining accordingly.
8029 (Choosing Locale): Reference Locale Names, Locale Categories.
8030 Mention setting LC_ALL=C. Reflect that name syntax is now
8031 documented.
8032 (Locale Categories): New section title. Reference Locale Names.
8033 LC_ALL is an environment variable, but not a category.
8034 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8035 description, now in Locale Name. Reference that section. Locale
8036 name syntax is now documented.
8037
4e8f95a0
FW
80382014-07-02 Florian Weimer <fweimer@redhat.com>
8039
8040 [BZ #17137]
8041 * locale/findlocale.c (name_present, valid_locale_name): New
8042 functions.
8043 (_nl_find_locale): Use the loc_name variable to store name
8044 candidates. Call name_present and valid_locale_name to check and
8045 validate locale names. Return an error if the locale is invalid.
8046
d1836456
FW
80472014-07-02 Florian Weimer <fweimer@redhat.com>
8048
8049 * locale/setlocale.c (setlocale): Use strdup for allocating
8050 composite name copy.
8051
d69b7f5a
SP
80522014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8053
888c679b
SP
8054 Sync up with gnulib.
8055 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8056 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8057 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8058 and _GL_ARG_NONNULL.
8059 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8060 [!_LIBC]: Include code for Windows and Cygwin.
8061 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8062 Include prototype for int strerror_r.
8063 [!_LIBC] (is_open): New function.
8064 (flush_stdout): New function.
8065 (print_errno_message): Use it.
8066 (error): Likewise.
8067 (error_at_line): Likewise.
8068 (error_tail) Add function attribute macros. Use
8069 __builtin_expect.
8070
180e0e4b
SP
8071 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8072
d22f1fe2
SP
8073 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8074
12f2254b
SP
8075 * io/ftw.c: Include sys/param.h unconditionally.
8076
c3c7c360
SP
8077 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8078
d62aa75a
SP
8079 [BZ #17125]
8080 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8081 libc_freeres_ptr.
8082 (freecache): New function to free CACHE on exit.
8083
d69b7f5a
SP
8084 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8085 initialization.
8086
5efe06a1
DM
80872014-07-09 David S. Miller <davem@davemloft.net>
8088
8089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8090
7000d82e
DM
8091 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8092 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8093 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8094 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8095 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8096 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8097 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8098 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8099 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8100 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8101 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8102 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8103 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8104
c213442d
AS
81052014-07-09 Andreas Schwab <schwab@suse.de>
8106
4a2552c3
AS
8107 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8108 output.
8109 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8110 (do_test): Likewise.
8111
c213442d
AS
8112 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8113
82374e65
WN
81142014-07-09 Will Newton <will.newton@linaro.org>
8115
8116 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8117 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8118 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8119 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8120 * sysdeps/hppa/start.S (_start): Likewise.
8121
6680738a
SP
81222014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8123
6ee3eab4
SP
8124 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8125
6680738a
SP
8126 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8127 defined.
8128
80b5c505
SP
81292014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8130
e35c53e3
SP
8131 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8132 after checking that it is non-NULL.
8133
80b5c505
SP
8134 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8135
91f4b564
AZ
81362014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8137
27b75f56
AZ
8138 * sysdeps/powerpc/memmove.c: Remove file.
8139 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8140 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8141 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8142 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8143 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8144 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8145 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8146 string memmove instead of removed powerpc one.
8147
e7f95bb5
AZ
8148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8149 [weak_alias]: Fix compiler warning due trailing data.
8150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8151 [weak_alias]: Likewise.
8152 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8153 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8154
91f4b564
AZ
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8156 (__libc_ifunc_impl_list): Add memmove functions.
8157
7c33f1e5
SP
81582014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
8160 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8161 Remove code.
8162 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8163 Likewise
8164 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8165 Likewise
8166 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8167 Likewise
8168 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8169 Likewise
8170 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8171 Likewise
8172 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8173 Likewise
8174 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8175 Likewise
8176 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8177 Likewise
8178 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8179 Likewise
8180 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8181 Likewise
8182 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8183 Likewise
8184 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8185 Likewise
8186 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8187 Likewise
8188 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8189 Likewise
8190 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8191 Likewise
8192 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8193 Likewise
8194
3f17b03b
AZ
81952014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
87868c24
AZ
8197 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8198 to avoid alignment traps in non-cacheable memory.
8199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8200
07aedd78
AZ
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8202 multiarch objects.
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8204 file: multiarch power7 memmove.
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8206 multiarch default memmove.
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8208 multiarch memove for powerpc32/power4.
8209
17762f66
AZ
8210 * string/bcopy.c: Use full path to include memmove.c.
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8212 multiarch objects.
8213 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8214 bcopy for powerpc64.
8215 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8216 bcopy for powerpc64.
8217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8218 and memmove implementations.
8219 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8220 optimized multiarch memmove for POWER7/powerpc64.
8221 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8222 default multiarch memmove for powerpc64.
8223 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8224 multiarch for powerpc64.
8225 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8226 for POWER7/powerpc64.
8227 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8228 memmove for POWER7/powerpc64.
8229
d6f68bbe
AZ
8230 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8231 glibc default one.
8232
3f17b03b
AZ
8233 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8234 __ELF_NATIVE_CLASS equal to 64.
8235
08192659
RM
82362014-07-07 Roland McGrath <roland@hack.frob.com>
8237
f4c4021b
RM
8238 * sysdeps/nptl/lowlevellock.h: File removed.
8239
f083450f
RM
8240 * NEWS: NPTL is no longer an add-on!
8241 * nptl/internaltypes.h: Moved ...
8242 * sysdeps/nptl/internaltypes.h: ... here.
8243 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8244 * sysdeps/nptl/fork.c: Likewise.
8245 * sysdeps/nptl/gai_misc.h: Likewise.
8246 * sysdeps/nptl/librt-cancellation.c: Likewise.
8247 * sysdeps/nptl/jmp-unwind.c: Likewise.
8248 * sysdeps/nptl/setxid.h: Likewise.
8249 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8250 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8251 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8252 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8253 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8254 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8255 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8256 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8257 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8258 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8259 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8260 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8261 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8262 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8263 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8264 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8266 * nptl/Makeconfig: Moved ...
8267 * sysdeps/nptl/Makeconfig: ... here.
8268 * nptl/configure: File removed.
8269 * nptl/ANNOUNCE: File removed.
8270 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8271 * sysdeps/unix/sysv/linux/configure: Regenerated.
8272
08192659
RM
8273 * nptl/Makefile (routines): Add libc_pthread_init,
8274 libc_multiple_threads, register-atfork and unregister-atfork.
8275 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8276 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8277 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8278 pthread-pi-defines.sym, structsem.sym.
8279 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8280 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8281 [$(subdir) = nptl] (tests): Add tst-setgetname.
8282 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8283 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8284 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8285 [!LIBC_SIGACTION]: Remove aliases.
8286 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8287 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8289 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8290 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8291 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8294 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8295 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8296 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8297 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8298 __libc_allocate_rtsig_private.
8299 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8300 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8301 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8302 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8303 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8304 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8305 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8306 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8307 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8308 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8309 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8310 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8311 * nptl/internaltypes.h: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8313 * sysdeps/nptl/jmp-unwind.c: ... here.
8314 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8315 * nptl/libc-lowlevellock.c: ... here.
8316 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8317 * nptl/libc_multiple_threads.c: ... here.
8318 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8319 * nptl/libc_pthread_init.c: ... here.
8320 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8321 * nptl/lowlevelbarrier.sym: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8323 * nptl/lowlevelcond.sym: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8325 * nptl/lowlevellock.c: ... here.
8326 * nptl/lowlevellock.h: Moved ...
8327 * sysdeps/nptl/lowlevellock.h: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8329 * nptl/lowlevelrobustlock.c: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8331 * nptl/lowlevelrobustlock.sym: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8333 * nptl/lowlevelrwlock.sym: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8335 * nptl/pt-fork.c: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8337 * nptl/pthread-pi-defines.sym: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8339 * nptl/pthread_attr_getaffinity.c: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8341 * nptl/pthread_attr_setaffinity.c: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8343 * nptl/pthread_mutex_cond_lock.c: ... here.
8344 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8345 Update #include.
8346 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8347 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8348 * nptl/pthread_once.c: ... here, replacing old file.
8349 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8350 * nptl/pthread_yield.c: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8352 * nptl/register-atfork.c: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8354 * nptl/sem_post.c: ... here.
8355 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8356 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8357 * nptl/sem_timedwait.c: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8359 * nptl/sem_trywait.c: ... here.
8360 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8361 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8362 * nptl/sem_wait.c: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8364 * nptl/structsem.sym: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8366 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8367 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8368 * nptl/unregister-atfork.c: ... here.
8369 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8370 * nptl/unwindbuf.sym: ... here.
8371 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8372 * sysdeps/nptl/fork.c: ... here.
8373 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8374 * sysdeps/nptl/fork.h: ... here.
8375 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8376 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8377 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8379 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8381 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8383 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8385 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8387 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8389 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8391 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8393 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8395 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8397 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8399 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8401 * sysdeps/unix/sysv/linux/raise.c: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8403 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8405 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8407 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8408 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8409 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8411 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8413 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8415 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8416 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8417
96baf6ff
SP
84182014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8419
8420 * sysdeps/generic/memcopy.h: Add comment for
8421 MEMCPY_OK_FOR_FWD_MEMMOVE.
8422
6b7b14b2
WN
84232014-07-04 Will Newton <will.newton@linaro.org>
8424
1570a72b
WN
8425 * string/memchr.c: Merge from gnulib.
8426 [_LIBC]: Remove conditionals.
8427 (__ptr_t): Remove define.
8428 (LONG_MAX_32_BITS): Likewise.
8429 (LONG_MAX): Likewise.
8430 (MEMCHR): Use ANSI prototype and optimize algorithm.
8431
6b7b14b2
WN
8432 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8433
38851324
SP
84342014-07-03 Roland McGrath <roland@hack.frob.com>
8435
3d9eb57c
RM
8436 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8437 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8438
78b984ae
RM
8439 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8440 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8441 in a bare environment with no <stdlib.h> installed.
8442 * sysdeps/nptl/configure: Regenerated.
8443
2d5976a5
RM
8444 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8445
c1f5acd4
RM
8446 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8447 AC_EGREP_CPP for kernel header checks, so they only succeed if
8448 including <linux/version.h> actually works right.
8449 * sysdeps/unix/sysv/linux/configure: Regenerated.
8450
4d614fe5
RM
8451 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8452 value so it's not diagnosed as unused.
8453
38851324
SP
8454 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8455 thing) with "ifeq ($(subdir),rt)".
8456
b3ec00e5
RH
84572014-07-03 Richard Henderson <rth@redhat.com>
8458
69862e25
RH
8459 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8460 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8461 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8462
d5e16ade
RH
8463 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8464 (math_force_eval): New.
8465
ca7b945c
RH
8466 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8467 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8468
cd1175a3
RH
8469 * sysdeps/alpha/fpu/s_round.c: Remove file.
8470 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8471
b3ec00e5
RH
8472 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8473 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8474 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8475 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8476 (_dl_start, print_statistics): Likewise.
8477 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8478 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8479
8480 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8481 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8482 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8483 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8485 (HP_SMALL_TIMING_AVAIL): Define.
8486 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8487 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8488 (HP_SMALL_TIMING_AVAIL): Define.
8489 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8490 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8491
8492 * sysdeps/aarch64/hp-timing.h: New file.
8493
8494 * sysdeps/generic/hp-timing.h: Remove dead comment.
8495 * sysdeps/generic/hp-timing-common.h: New file.
8496 * sysdeps/alpha/hp-timing.h: Include it.
8497 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8498 * sysdeps/i386/i686/hp-timing.h: Likewise.
8499 * sysdeps/ia64/hp-timing.h: Likewise.
8500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8501 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8502 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8503 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8504 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8505 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8506 (hp_timing_t): New.
8507
8508 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8509 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8510 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8511 * elf/rtld.c (_dl_start_final): Likewise.
8512 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8513 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8514 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8515 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8516 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8518 (HP_TIMING_DIFF_INIT): Remove.
8519 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8521 (HP_TIMING_DIFF_INIT): Remove.
8522 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8523 * sysdeps/i386/i686/hp-timing.c: Remove file.
8524 * sysdeps/x86_64/hp-timing.c: Remove file.
8525 * sysdeps/ia64/hp-timing.c: Remove file.
8526 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8527 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8528 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8529 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8530
8531 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8532 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8533 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8534 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8535 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8536 (HP_TIMING_ACCUM): Remove.
8537 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8539 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8540
8541 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8542 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8543 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8544 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8545 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8546 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8548 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8549
8550 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8551
225f410f
MR
85522014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8553
8554 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8555
3247f285
SP
85562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8557
8558 Sync up with gettext.
8559 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8560 [_MSC_VER]: Include malloc.h
8561 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8562 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8563 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8564 TEMP_FAILURE_RETRY. Cast return of alloca.
8565 [!_LIBC] Call gl_rwlock_init.
8566 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8567
d12704c7
SP
85682014-07-02 Roland McGrath <roland@hack.frob.com>
8569
8570 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8571 before checking its value.
8572
99f8dc92
SP
85732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8574
05fdac77
SP
8575 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8576
99f8dc92
SP
8577 * debug/memcpy_chk.c: Don't include pagecopy.h.
8578 * debug/mempcpy_chk.c: Likewise.
8579 * string/memcpy.c: Likewise.
8580 * string/memmove.c: Likewise.
8581 * sysdeps/powerpc/memmove.c: Likewise.
8582 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8583 definition of PAGE_COPY_FWD_MAYBE here...
8584 * sysdeps/generic/pagecopy.h: ... from here.
8585 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8586
bc8ea385
VR
85872014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8588 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8589
8590 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8592 optimizations.
8593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8594 (__libc_ifunc_impl_list): Likewise.
8595 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8596 multiarch strcat for PPC64.
8597 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8598 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8599
fe5f34e4
RM
86002014-07-02 Roland McGrath <roland@hack.frob.com>
8601
8602 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8603
256aa665
SP
86042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8605
d4eb8195
SP
8606 * intl/loadmsgcat.c: Remove declaration of
8607 get_sysdep_segment_value.
8608 (get_sysdep_segment_value): Use ISO C style.
8609 (_nl_load_domain): Use ISO C style. Get rid of redundant
8610 semicolon. Fix typo and formatting in comment.
8611 (_nl_unload_domain): Use ISO C style.
8612
256aa665
SP
8613 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8614
b100f9aa
WN
86152014-07-02 Will Newton <will.newton@linaro.org>
8616
8617 * malloc/obstack.c: Merge from gnulib master.
8618 [HAVE_CONFIG_H]: Remove conditional code.
8619 [!_LIBC]: Include config.h.
8620 [!ELIDE_CODE]: Don't include inttypes.h, include
8621 stdint.h unconditionally.
8622 (print_and_abort): Mark as _Noreturn.
8623 (_obstack_allocated_p): Mark as __attribute_pure__.
8624 (obstack_free): Rename to __obstack_free.
8625 [!__attribute__]: Remove conditional code.
8626 * malloc/obstack.h: Merge from gnulib master.
8627 [__cplusplus]: Move conditional down.
8628 [!__attribute_pure__]: Define __attribute_pure__ here
8629 if it is not already defined.
8630 (_obstack_memory_used): Mark as __attribute_pure__.
8631 [!__obstack_free]: Define as obstack_free.
8632 [__GNUC__]: Remove check for ancient NeXT gcc.
8633
c4c41244
PE
86342014-07-02 Will Newton <will.newton@linaro.org>
8635 Paul Eggert <eggert@cs.ucla.edu>
8636
8637 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8638
e1e041c4
SP
86392014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
8641 * resolv/gethnamaddr.c: Add comment warning that the file is
8642 not maintained.
8643
ccf431ff
CD
86442014-07-01 Carlos O'Donell <carlos@redhat.com>
8645
d34570a6
CD
8646 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8647 entries.
8648
ccf431ff
CD
8649 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8650 entry for aio_cancel and aio_cancel64.
8651 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8652 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8653 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8654 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8655 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8656 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8657 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8658 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8659 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8660 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8661 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8662 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8663 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8664
ca06321d
RM
86652014-07-01 Roland McGrath <roland@hack.frob.com>
8666
8667 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8668 * nptl/pthread_mutex_lock.c: Likewise.
8669 * nptl/pthread_mutex_timedlock.c: Likewise.
8670 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8671
a1ac3184
RH
86722014-07-01 Richard henderson <rth@redhat.com>
8673
631021e0
RH
8674 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8675 (__isnan, __isnanl): Remove.
8676 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8677
a1ac3184
RH
8678 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8679
0c1d731f
SL
86802014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8681
8682 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8683
76985d3e
SP
86842014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8685
8686 * resolv/nss_dns/dns-host.c (getanswer_r)
8687 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8688
b0cb3096
JM
86892014-07-01 Joseph Myers <joseph@codesourcery.com>
8690
8691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8692 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8693 undefine.
8694 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8695 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8696
4d76cb39
RM
86972014-07-01 Roland McGrath <roland@hack.frob.com>
8698
8699 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8700 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8701
8702 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8703 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8704
8705 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8706 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8707 ... here.
8708 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8709 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8710
8711 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8712 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8713 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8714 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8715
8716 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8717 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8718 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8721 Moved ...
8722 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8723 ... here.
8724 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8739 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8741 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8744 ... here.
8745 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8748 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8749 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8750 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8751 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8752 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8753
0cdcad17
DH
87542014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8755
8756 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8757 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8758 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8759 Add sysdep.
8760
9b71d0e3
AZ
87612014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8762
8763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8764
665390c2
JM
87652014-06-30 Joseph Myers <joseph@codesourcery.com>
8766
ae05a9d7
JM
8767 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8768 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8769
a7672a2f
JM
8770 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8771
665390c2
JM
8772 * sysdeps/arm/libm-test-ulps: Regenerated.
8773
d7a05d07
MR
87742014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8775 Roland McGrath <roland@hack.frob.com>
8776
8777 * test-skeleton.c (signal_handler): Kill the whole process group
8778 before killing the child individually.
8779 (main): Report any failure on `setpgid'.
8780
46f1d8a6
RM
87812014-06-30 Roland McGrath <roland@hack.frob.com>
8782
8783 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8784 from _TLS_H to _ARM_NPTL_TLS_H.
8785 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8786 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8787
9c37ec0b
JM
87882014-06-30 Joseph Myers <joseph@codesourcery.com>
8789
ce9c5b3e
JM
8790 [BZ #16539]
8791 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8792 (__expm1l): Return argument unchanged when small but not
8793 subnormal.
8794
3a6e9887
JM
8795 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8796 include macro name.
8797 (_FP_UNPACK_RAW_1_P): Likewise.
8798 (_FP_PACK_RAW_1): Likewise.
8799 (_FP_PACK_RAW_1_P): Likewise.
8800 (_FP_MUL_MEAT_1_wide): Likewise.
8801 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8802 (_FP_MUL_MEAT_1_hard): Likewise.
8803 (_FP_DIV_MEAT_1_imm): Likewise.
8804 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8805 (_FP_DIV_MEAT_1_udiv): Likewise.
8806 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8807 (_FP_UNPACK_RAW_2): Likewise.
8808 (_FP_UNPACK_RAW_2_P): Likewise.
8809 (_FP_PACK_RAW_2): Likewise.
8810 (_FP_PACK_RAW_2_P): Likewise.
8811 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8812 (_FP_MUL_MEAT_2_wide): Likewise.
8813 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8814 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8815 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8816 (_FP_MUL_MEAT_2_gmp): Likewise.
8817 (_FP_DIV_MEAT_2_udiv): Likewise.
8818 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8819 (_FP_FRAC_SRL_4): Likewise.
8820 (_FP_FRAC_SRST_4): Likewise.
8821 (_FP_FRAC_SRS_4): Likewise.
8822 (_FP_UNPACK_RAW_4): Likewise.
8823 (_FP_UNPACK_RAW_4_P): Likewise.
8824 (_FP_PACK_RAW_4): Likewise.
8825 (_FP_PACK_RAW_4_P): Likewise.
8826 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8827 (_FP_MUL_MEAT_4_wide): Likewise.
8828 (_FP_MUL_MEAT_4_gmp): Likewise.
8829 (umul_ppppmnnn): Likewise.
8830 (_FP_DIV_MEAT_4_udiv): Likewise.
8831 (__FP_FRAC_ADD_4): Likewise.
8832 (__FP_FRAC_SUB_3): Likewise.
8833 (__FP_FRAC_SUB_4): Likewise.
8834 (__FP_FRAC_DEC_3): Likewise.
8835 (__FP_FRAC_DEC_4): Likewise.
8836 (__FP_FRAC_ADDI_4): Likewise.
8837 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8838 (_FP_FRAC_SRL_8): Likewise.
8839 (_FP_FRAC_SRS_8): Likewise.
8840
9c37ec0b
JM
8841 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8842 include macro name.
8843 (FP_UNPACK_RAW_EP): Likewise.
8844 (FP_PACK_RAW_E): Likewise.
8845 (FP_PACK_RAW_EP): Likewise.
8846 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8847 (_FP_ISSIGNAN): Likewise.
8848 (_FP_ADD_INTERNAL): Likewise.
8849 (_FP_FMA): Likewise.
8850 (_FP_CMP): Likewise.
8851 (_FP_SQRT): Likewise.
8852 (_FP_TO_INT): Likewise.
8853 (_FP_FROM_INT): Likewise.
8854 (FP_EXTEND): Likewise.
8855 (_FP_DIV_MEAT_N_loop): Likewise.
8856
2125f674
MR
88572014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8858
8859 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8860 throughout.
8861
edea4028
JM
88622014-06-29 Joseph Myers <joseph@codesourcery.com>
8863
8864 [BZ #17097]
8865 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8866 result with correct sign in case of exponents that produce
8867 overflow except for X very close to 1.
8868
dd0ba018
PE
88692014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8870
8871 mktime: merge #if/#ifdef usage from glibc
8872 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8873 as that works with both Glibc's and Gnulib's style.
8874 See thread starting at Siddhesh Poyarekar's bug report at:
8875 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8876
64df73c2
SP
88772014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8878
8879 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8880 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8881 * sysdeps/tile/tilegx/memmove.c: Remove file.
8882
f1eafb41
JM
88832014-06-27 Joseph Myers <joseph@codesourcery.com>
8884
8885 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8886 abi-name definition.
8887 * scripts/soversions.awk: Do not handle or generate ABI lines.
8888 * shlib-versions: Remove ABI entries.
8889 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8890 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8891
58eb0862
RM
88922014-06-27 Roland McGrath <roland@hack.frob.com>
8893
37caf178
RM
8894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8895 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8896 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8897 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8899 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8901 Moved ...
8902 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8903 ... here.
8904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8905 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8907 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8909 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8911 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8913 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8917 Moved ...
8918 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8924 Moved ...
8925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8927 Moved ...
8928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8930 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8932 Moved ...
8933 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8935 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8937 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8939 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8941 Moved ...
8942 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8946 Moved ...
8947 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8949 Moved ...
8950 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8954 Moved ...
8955 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8956 ... here.
8957 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8958 Identical file removed.
8959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8960 Moved ...
8961 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8963 Identical file removed.
8964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8967 Moved ...
8968 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8970 Identical file removed.
8971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8972 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8974 Identical file removed.
8975 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8976 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8978 Identical file removed.
8979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8980 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8981 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8982 Identical file removed.
8983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8984 Moved ...
8985 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8987 Identical file removed.
8988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8989 Moved ...
8990 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8994 Identical file removed.
8995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8996 Moved ...
8997 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8998 ... here.
8999 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9000 Identical file removed.
9001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9005 Identical file removed.
9006 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9007 Moved ...
9008 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9010 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9014 Moved ...
9015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9017 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9018
58eb0862
RM
9019 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9020 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9021 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9022 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9023 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9024
6f12d062
AS
90252014-06-27 Arjun Shankar <arjun.is@lostca.se>
9026
9027 [BZ #17092]
9028 * nscd/nscd.c (monitor_child): Return exit status of child
9029 instead of return value from wait syscall.
9030
be254932
JM
90312014-06-27 Joseph Myers <joseph@codesourcery.com>
9032
cb403c34
JM
9033 * configure.ac (libc_commonpagesize): Remove variable.
9034 (libc_relro_required): Likewise.
9035 (libc_cv_z_relro): Remove configure test.
9036 * configure: Regenerated.
9037 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9038 variable.
9039 (libc_relro_required): Likewise.
9040 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9041 (libc_relro_required): Likewise.
9042 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9043 (libc_relro_required): Likewise.
9044 * sysdeps/arm/preconfigure: Regenerated.
9045 * sysdeps/ia64/preconfigure: Remove file.
9046 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9047 variable.
9048 (libc_relro_required): Likewise.
9049
be254932
JM
9050 [BZ #16561]
9051 [BZ #16562]
9052 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9053 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9054 recompute overflowing results in original rounding mode.
9055 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9056 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9057 recompute overflowing results in original rounding mode.
9058 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9059 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9060 recompute overflowing results in original rounding mode.
9061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9062 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9063 recompute overflowing results in original rounding mode.
9064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9065 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9066 recompute overflowing results in original rounding mode.
9067 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9068 (libc_feholdsetround_ctx): New macro.
9069 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9070 * sysdeps/i386/fpu/libm-test-ulps: Update.
9071 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9072
b351d85a
JM
90732014-06-26 Joseph Myers <joseph@codesourcery.com>
9074
9075 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9076 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9077 corresponding .cpsetup call.
9078
3cb4de47
RM
90792014-06-26 Roland McGrath <roland@hack.frob.com>
9080
9081 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9082 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9083 * sysdeps/arm/Makefile [$(subdir) = csu]
9084 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9085 (static-only-routines): Add aeabi_read_tp here.
9086 (shared-only-routines): Add libc-aeabi_read_tp here.
9087 (CFLAGS-libc-start.c): Add -fexceptions here.
9088 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9089 (sysdep_routines, static-only-routines, shared-only-routines):
9090 Don't add to these here.
9091 (CFLAGS-libc-start.c): Likewise.
9092
9093 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9094 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9095 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9096 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9097 * sysdeps/arm/Makefile [$(subdir) = rt]
9098 (librt-sysdep_routines, librt-shared-only-routines):
9099 Append rt-aeabi_unwind_cpp_pr1 here.
9100 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9101 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9102 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9103 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9104 Append nptl-aeabi_unwind_cpp_pr1 here.
9105 (tests): Filter out tst-cleanupx4 here.
9106 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9107 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9108 Don't do those here.
9109
354426bb
JM
91102014-06-26 Joseph Myers <joseph@codesourcery.com>
9111
9112 * scripts/list-sources.sh: Do not handle ports specially.
9113
28b0a8c9
RM
91142014-06-26 Roland McGrath <roland@hack.frob.com>
9115
a3dd035d
RM
9116 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9117 * sysdeps/arm/feupdateenv.c: Likewise.
9118
28b0a8c9
RM
9119 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9120
e66a8203
JM
91212014-06-26 Joseph Myers <joseph@codesourcery.com>
9122
9123 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9124 trailing whitespace removed.
9125 * scripts/config.guess: Update to version 2014-03-23.
9126 * scripts/config.sub: Update to version 2014-05-01
9127 * scripts/install-sh: Update to version 2013-12-25.23.
9128 * scripts/move-if-change: Update from gnulib.
9129
74171115
SP
91302014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9131
b97c9ce5
SP
9132 * debug/memmove_chk.c: Remove pagecopy.h include.
9133
4000f892
SP
91342014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9135
74171115
SP
9136 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9137 identical to gnulib mktime.
9138
a8779c28
JM
91392014-06-26 Joseph Myers <joseph@codesourcery.com>
9140
e64708de
JM
9141 * configure.ac: Do not test for machine being rs6000. Do not test
9142 for powerpc*-*soft.
9143 * configure: Regenerated.
9144
a8779c28
JM
9145 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9146 test.
9147 * configure: Regenerated.
9148 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9149 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9150 Remove configure test.
9151 * sysdeps/arm/configure: Regenerated.
9152 * sysdeps/nptl/configure.ac: Do not check
9153 libc_cv_asm_cfi_directives.
9154 * sysdeps/nptl/configure: Regenerated.
9155 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9156 * sysdeps/x86_64/nptl/configure: Remove generated file.
9157 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9158 unconditional.
9159 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9160
2aac0a86
SP
91612014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9162
059bf913
SP
9163 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9164 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9165 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9166 it is defined.
9167
4cf5b6d0
SP
9168 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9169 instead of whether it is defined.
9170 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9171 * sysdeps/hppa/dl-machine.h: Likewise.
9172 * sysdeps/ia64/dl-machine.h: Likewise.
9173 * sysdeps/m68k/dl-machine.h: Likewise.
9174 * sysdeps/microblaze/dl-machine.h: Likewise.
9175 * sysdeps/mips/dl-machine.: Likewise.
9176 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9177 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9178 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9179 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9180 * sysdeps/sh/dl-machine.h: Likewise.
9181 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9182 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9183 * sysdeps/tile/dl-machine.h: Likewise.
9184 * sysdeps/x86_64/dl-machine.h: Likewise.
9185
2aac0a86
SP
9186 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9187 code.
9188 (verify_persistent_db): Likewise.
9189
6ad2df0b
RM
91902014-06-26 Roland McGrath <roland@hack.frob.com>
9191
d8a483f3
RM
9192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9193 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9195 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9197 Moved ...
9198 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9199 ... here.
9200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9201 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9203 Identical file removed.
9204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9207 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9211 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9213 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9215 Moved ...
9216 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9222 Moved ...
9223 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9227 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9229 Identical file removed.
9230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9231 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9237 ... here.
9238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9239 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9249 Moved ...
9250 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9252 Moved ...
9253 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9257 Moved ...
9258 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9260 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9261
52ae23b4
RM
9262 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9263 folded into ...
9264 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9265 * sysdeps/unix/sysv/linux/s390/Versions
9266 (libpthread: GLIBC_2.19): New version set.
9267 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9268 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9269 (librt: GLIBC_2.3.3): New version set.
9270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9271 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9272 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9274 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9275 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9276 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9278 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9280 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9282 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9284 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9286 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9288 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9290 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9292 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9294 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9296 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9298 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9300 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9306 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9308 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9310 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9312 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9314 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9315
39507e4a
RM
9316 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9317 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9318 (__libc_vfork): Define the function under this name.
9319 [!NOT_IN_libc] (__vfork): Make this an alias.
9320 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9322 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9323 (__libc_vfork): Define the function under this name.
9324 [!NOT_IN_libc] (__vfork): Make this an alias.
9325 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9326 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9327 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9330 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9331
e549ee56
RM
9332 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9333 code that was previously under [RESET_PID].
9334 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9335 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9337
6ad2df0b
RM
9338 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9339 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9341 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9342 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9343 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9344 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9345 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9346 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9347 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9348 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9349 Moved ...
9350 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9352 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9353 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9354 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9355 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9356 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9357 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9358 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9359 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9360 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9361 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9362 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9363 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9364 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9366 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9368 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9372 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9373 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9374 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9375 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9376 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9377 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9378 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9379
7c1c1d8e
RM
93802014-06-25 Roland McGrath <roland@hack.frob.com>
9381
9382 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9383 that was previously under [RESET_PID].
9384 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9385
3e239be6
JM
93862014-06-25 Joseph Myers <joseph@codesourcery.com>
9387
74385da5
JM
9388 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9389 not undefine and redefine.
9390 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9391 [O_CLOEXEC]: Make code unconditional.
9392 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9393 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9394 <kernel-features.h>.
9395 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9396 conditional variable definition.
9397 (shm_open) [O_CLOEXEC]: Make code unconditional.
9398 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9399 code.
9400
c2570a0b
JM
9401 * configure.ac (USE_REGPARMS): Don't define here.
9402 * configure: Regenerated.
9403 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9404 * sysdeps/i386/configure: Regenerated.
9405
11b076bb
JM
9406 * nptl/createthread.c: Don't include kernel-features.h.
9407 * nptl/pthread_cancel.c: Likewise.
9408 * nptl/pthread_condattr_setclock.c: Likewise.
9409 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9410 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9411 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9412 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9413 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9414 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9415 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9417 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9418 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9419 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9420 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9421 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9422 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9423 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9424 * nscd/gai.c: Likewise.
9425 * nss/nss_db/db-open.c: Likewise.
9426 * sysdeps/generic/ldsodefs.h: Likewise.
9427 * sysdeps/sh/nptl/tls.h: Likewise.
9428 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9429 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9430 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9431 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9432 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9433 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9434 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9435 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9437 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9438 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9439 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9440 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9441 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9442 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9443 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9444 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9445 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9446 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9447 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9449 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9450 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9451 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9456 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9457 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9458 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9459 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9460 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9463 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9464 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9465 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9466 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9467 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9468 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9469 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9470 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9471 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9472 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9473 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9474 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9475 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9476 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9477 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9478 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9479 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9480 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9481 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9482 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9483 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9484 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9485 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9508 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9509 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9510 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9511 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9512 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9513 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9514 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9516 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9517 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9518 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9520 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9521 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9522 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9523 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9526 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9527 * sysdeps/unix/sysv/linux/system.c: Likewise.
9528 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9529 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9530 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9531 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9532 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9534 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9535
92072d57
JM
9536 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9537 * configure: Regenerated.
9538 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9539
3e239be6
JM
9540 * configure.ac (base_machine): Do not set specially for particular
9541 machines here.
9542 * configure: Regenerated.
9543 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9544 settings from configure.ac.
9545 * sysdeps/i386/preconfigure: New file.
9546 * sysdeps/s390/preconfigure: Likewise.
9547 * sysdeps/sh/preconfigure: Likewise.
9548 * sysdeps/sparc/preconfigure: Likewise.
9549
06d50baa
RM
95502014-06-25 Roland McGrath <roland@hack.frob.com>
9551
74836003
RM
9552 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9553 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9554 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9555 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9556 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9557 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9558 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9559 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9560 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9561 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9562 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9563 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9564 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9565 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9566 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9567 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9569 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9570 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9571
9572 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9573 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9574 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9575 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9576 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9577 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9578 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9579 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9580 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9581 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9582 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9583 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9584 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9585 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9586 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9587 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9588 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9589 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9590 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9591 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9593 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9595 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9597 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9601 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9603 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9605 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9607 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9609 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9610
06d50baa
RM
9611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9612 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9616 Moved ...
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9618 ... here.
9619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9620 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9624 Moved ...
9625 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9627 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9633 Moved ...
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9636 Moved ...
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9641 Moved ...
9642 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9646 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9648 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9650 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9652 Moved ...
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9654 ... here.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9660 Moved ...
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9669 Moved ...
9670 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9672 Moved ...
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9682 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9683
a4ccbc9b
JM
96842014-06-25 Joseph Myers <joseph@codesourcery.com>
9685
0828edbf
JM
9686 * timezone/checktab.awk: Update from tzcode 2014e.
9687 * timezone/private.h: Likewise.
9688 * timezone/tzfile.h: Likewise.
9689 * timezone/zdump.c: Likewise.
9690 * timezone/zic.c: Likewise.
9691
a4ccbc9b
JM
9692 * sysdeps/unix/sysv/linux/kernel-features.h
9693 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9694 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9695 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9696 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9697 Remove conditional code.
9698
9aea0cb8
WN
96992014-06-25 Will Newton <will.newton@linaro.org>
9700
9701 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9702 (_dl_arm_cap_flags): Add HWCAP2 values.
9703 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9704 (_DL_HWCAP_COUNT): Increase to 37.
9705 (_DL_HWCAP_LAST): New define.
9706 (_DL_HWCAP2_LAST): New define.
9707 (_dl_procinfo): Add support for printing
9708 AT_HWCAP2 entries.
9709 (_dl_string_hwcap): Use _dl_hwcap_string.
9710
6eaa65ce
AZ
97112014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9712
9713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9714
0f5b7185
JM
97152014-06-25 Joseph Myers <joseph@codesourcery.com>
9716
cfd2ea50
JM
9717 * README: Do not mention ports directory.
9718
cecf2ed4
JM
9719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9720 Remove macro.
9721 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9722 <kernel-features.h>.
9723 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9724 conditional variable definition.
9725 (__futimes): Update comment.
9726 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9727 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9728
a638de82
JM
9729 [BZ #16560]
9730 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9731 arguments close to 0.
9732 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9733 Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9735 Likewise.
9736 * math/auto-libm-test-in: Add more tests of exp10.
9737 * math/auto-libm-test-out: Regenerated.
9738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9739
0f5b7185
JM
9740 * sysdeps/unix/sysv/linux/kernel-features.h
9741 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9742 * sysdeps/unix/sysv/linux/readv.c: Do not include
9743 <kernel-features.h>.
9744 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9745 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9746 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9747 unconditional.
9748 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9749 conditional code.
9750 * sysdeps/unix/sysv/linux/writev.c: Do not include
9751 <kernel-features.h>.
9752 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9753 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9754 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9755 unconditional.
9756 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9757 conditional code.
9758
c7aec4be
WN
97592014-06-25 Will Newton <will.newton@linaro.org>
9760
9761 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9762 comment changes throughout the file. Remove checks
9763 for HAVE_*_H definitions that are not required.
9764 (__gen_tempname): Call abort if an unknown kind value is
9765 passed.
9766
c5241f95
AS
97672014-06-25 Andreas Schwab <schwab@suse.de>
9768
9769 [BZ #17086]
9770 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9771 scalbln, scalblnf, scalblnl in libc.
9772
911422da
SP
97732014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9774
9775 [BZ #17086]
9776 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9777 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9778 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9779
0d749bbe
RM
97802014-06-24 Roland McGrath <roland@hack.frob.com>
9781
9782 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9783 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9784 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9785 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9786 Update #include.
9787 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9788 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9789 Update #include.
9790 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9791 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9792 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9793 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9794 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9795 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9796 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9797 * sysdeps/x86/bits/semaphore.h: ... here.
9798 * sysdeps/x86/nptl/elide.h: Moved ...
9799 * sysdeps/x86/elide.h: ... here.
9800 * sysdeps/x86_64/nptl/Implies: File removed.
9801 * sysdeps/i386/nptl/Implies: File removed.
9802
0ea5d373
JM
98032014-06-24 Joseph Myers <joseph@codesourcery.com>
9804
4060283d
JM
9805 [BZ #16539]
9806 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9807 return the argument for normal arguments with exponent below -64.
9808 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9809 Likewise.
9810 * math/auto-libm-test-in: Add another test of expm1.
9811 * math/auto-libm-test-out: Regenerated.
9812
e7dd3c8c
JM
9813 [BZ #16287]
9814 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9815 calling __erfcl for arguments at least 16.
9816 * math/auto-libm-test-in: Add more tests of erf.
9817 * math/auto-libm-test-out: Regenerated.
9818
0ea5d373
JM
9819 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9820 individual architectures.
9821 * sysdeps/unix/sysv/linux/configure: Regenerated.
9822 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9823 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9824 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9825 (ldd_rewrite_script): Define variable.
9826 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9828 file.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9830 generated file.
9831 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9832 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9833 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9834 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9835 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9836 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9837 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9838 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9839
2307e126
SP
98402014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9841
9842 [BZ #17084]
9843 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9844 Rename member __data.d to __data.__elision_data.
9845
c0a4ed77
W
98462014-06-24 Wilco <wdijkstr@arm.com>
9847
9848 * NEWS: Add 16918 to fixed bug list.
9849
b8c00573
W
98502014-06-24 Wilco <wdijkstr@arm.com>
9851
9852 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9853
b5570d92
W
98542014-06-24 Wilco <wdijkstr@arm.com>
9855
9856 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9857 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9858 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9859 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9860 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9861 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9862 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9863 Use _FPU_MASK_RM.
9864
947bdca2
W
98652014-06-24 Wilco <wdijkstr@arm.com>
9866
9867 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9868
00f669ed
W
98692014-06-24 Wilco <wdijkstr@arm.com>
9870
9871 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9872 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9873 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9874 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9875
db59bad3
W
98762014-06-24 Wilco <wdijkstr@arm.com>
9877
9878 [BZ #16918]
9879 * sysdeps/arm/feupdateenv.c (feupdateenv):
9880 Rewrite to reduce FPSCR accesses and fix return value.
9881
001f7b77
W
98822014-06-24 Wilco <wdijkstr@arm.com>
9883
9884 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9885 Optimize to avoid unnecessary FPSCR writes.
9886 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9887 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9888 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9889 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9890
4841e6a6
W
98912014-06-24 Wilco <wdijkstr@arm.com>
9892
9893 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9894 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9895 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9896 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9897 Call libc_fetestexcept_vfp.
9898 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9899 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9900 __SOFTFP__ ifdef so that they can be built for softfp.
9901
0813022c
SP
99022014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
08e5862f
SP
9904 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9905 argument type signed char.
9906
0813022c
SP
9907 * Makerules (check-abi): Dump diff of symlist if the test
9908 fails.
9909
3fc7236a
RM
99102014-06-23 Roland McGrath <roland@hack.frob.com>
9911
aba8ef95
RM
9912 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9913 using abort.
9914
3fc7236a
RM
9915 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9916 Remove unused variable ST.
9917
4da6db51
JM
99182014-06-23 Joseph Myers <joseph@codesourcery.com>
9919
4648909d
JM
9920 [BZ #16354]
9921 [BZ #17061]
9922 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9923 small arguments before calling __expm1.
9924 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9925 small arguments before calling __expm1f.
9926 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9927 small arguments before calling __expm1l.
9928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9929 Likewise.
9930 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9931 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9932 spurious underflow for some cosh tests.
9933 * math/auto-libm-test-out: Regenerated.
9934 * sysdeps/i386/fpu/libm-test-ulps: Update.
9935
46a3d3c7
JM
9936 [BZ #17050]
9937 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9938 (__ieee754_y1): Set errno if return value overflows.
9939 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9940 (__ieee754_y1f): Set errno if return value overflows.
9941 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9942 (__ieee754_y1l): Set errno if return value overflows.
9943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9944 (__ieee754_y1l): Set errno if return value overflows.
9945 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9946 * math/auto-libm-test-out: Regenerated.
9947
863893ec
JM
9948 * math/gen-auto-libm-tests.c: Document use of
9949 ignore-zero-inf-sign.
9950 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9951 (input_flags): Add ignore-zero-inf-sign.
9952 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9953 * math/gen-libm-test.pl (generate_testfile): Handle
9954 ignore-zero-inf-sign.
9955 * math/auto-libm-test-in: Mark some cpow tests with
9956 ignore-zero-inf-sign and some with xfail-rounding.
9957 * math/auto-libm-test-out: Regenerated.
9958 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9961
4da6db51
JM
9962 [BZ #16315]
9963 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9964 overflowing or underflowing operations take place with sign of
9965 result.
9966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9967 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9968 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9969 (__ieee754_pow): Recompute overflowing and underflowing results in
9970 original rounding mode.
9971 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9972 (__powl_helper): Allow negative argument X and scale negated value
9973 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9974 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9975 overflowing or underflowing operations take place with sign of
9976 result.
9977 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9978 Include <math.h>.
9979 * math/auto-libm-test-in: Add more tests of pow.
9980 * math/auto-libm-test-out: Regenerated.
9981 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9982 (pow_tonearest_test_data): Remove.
9983 (pow_test_tonearest): Likewise.
9984 (pow_towardzero_test_data): Likewise.
9985 (pow_test_towardzero): Likewise.
9986 (pow_downward_test_data): Likewise.
9987 (pow_test_downward): Likewise.
9988 (pow_upward_test_data): Likewise.
9989 (pow_test_upward): Likewise.
9990 (main): Don't call removed functions.
9991 * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9993
5686b236
RM
99942014-06-23 Roland McGrath <roland@hack.frob.com>
9995
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9997 Moved ...
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10000 Moved ...
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10003 Moved ...
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10006 Moved ...
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10009 File removed.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10011 File removed.
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10013 File removed.
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10015 File removed.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10017 File removed.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10019 File removed.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10021 File removed.
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10023 File removed.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10025 File removed.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10027 File removed.
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10029 File removed.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10031 File removed.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10033 Moved ...
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10036 Moved ...
10037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10038 ... here.
10039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10040 Moved ...
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10043 Moved ...
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10046 Moved ...
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10049 Moved ...
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10052 Moved ...
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10055 Moved ...
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10058 Moved ...
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10062 ... here.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10064 Moved ...
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10067 Moved ...
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10069 ... here.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10071 Moved ...
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10073 ... here.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10075 Moved ...
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10077 ... here.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10079 Moved ...
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10087 Moved ...
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10089 ... here.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10091 Moved ...
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10093 ... here.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10095 Moved ...
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10098 Moved ...
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10101 Moved ...
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10104 Moved ...
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10107 Moved ...
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10109 ... here.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10111 Moved ...
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10114 Moved ...
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10117 Moved ...
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10120 Moved ...
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10125 Moved ...
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10128 Moved ...
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10131 Moved ...
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10133 ... here.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10135 Moved ...
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10137 ... here.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10139 Moved ...
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10141 ... here.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10143 Moved ...
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10146 Moved ...
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10149 Moved ...
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10152 Moved ...
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10154 ... here.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10156 Moved ...
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10158 ... here.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10160 Moved ...
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10162 ... here.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10164 Moved ...
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10167 Moved ...
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10169
e6d90d67
WD
101702014-06-23 Will Newton <will.newton@linaro.org>
10171 Wilco <wdijkstr@arm.com>
10172
10173 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10174 implementation. Include get-rounding-mode.h.
10175 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10176 [!libc_feholdsetround_noex_ctx]: Define
10177 libc_feholdsetround_noex_ctx.
10178 [!libc_feholdsetround_noexf_ctx]: Define
10179 libc_feholdsetround_noexf_ctx.
10180 [!libc_feholdsetround_noexl_ctx]: Define
10181 libc_feholdsetround_noexl_ctx.
10182 (libc_feholdsetround_ctx): New function.
10183 (libc_feresetround_ctx): New function.
10184 (libc_feholdsetround_noex_ctx): New function.
10185 (libc_feresetround_noex_ctx): New function.
10186
d42df555
RM
101872014-06-23 Roland McGrath <roland@hack.frob.com>
10188
88a46474
RM
10189 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10190 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10191 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10192 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10193 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10194 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10195
15bed472
RM
10196 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10197 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10198 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10199 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10200 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10201 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10203 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10205 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10207 Moved ...
10208 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10209 ... here.
10210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10215 Moved ...
10216 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10218 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10220 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10224 Moved ...
10225 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10227 Moved ...
10228 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10232 Moved ...
10233 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10235 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10236 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10237 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10238 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10239 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10240 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10241 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10243 Moved ...
10244 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10245 ... here.
10246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10247 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10249 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10251 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10257 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10259 Moved ...
10260 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10262 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10264 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10266 Moved ...
10267 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10269 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10271 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10272
d42df555
RM
10273 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10274 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10275 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10276 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10278 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10279 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10280 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10281 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10282 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10283 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10284 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10285 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10286 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10288 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10290 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10294 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10295 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10300 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10301
76e5216e
JM
103022014-06-23 Joseph Myers <joseph@codesourcery.com>
10303
10304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10305 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10306 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10307 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10308 (IPV6_PMTUDISC_INTERFACE): Likewise.
10309 (IPV6_PMTUDISC_OMIT): Likewise.
10310
7a81cbcc
AS
103112014-06-23 Andreas Schwab <schwab@suse.de>
10312
10313 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10314 Remove unused errout label.
10315
db224009
AZ
103162014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10317
10318 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10319 macro: hardware supports Vector Crypto instructions.
10320
f393b4aa
WN
103212014-06-23 Will Newton <will.newton@linaro.org>
10322
cc7d0447
WN
10323 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10324 rather than __builtin_expect.
10325
d6d06225
WN
10326 * elf/dl-lookup.c (undefined_msg): Remove variable.
10327 (_dl_lookup_symbol_x): Replace undefined_msg with string
10328 literal.
10329
f393b4aa
WN
10330 * elf/dl-lookup.c (do_lookup_unique): New function.
10331 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10332 to a separate function.
10333
ac60763e
AS
103342014-06-23 Andreas Schwab <schwab@suse.de>
10335
10336 [BZ #17079]
10337 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10338 before reading the next line.
10339
c5c13355
WN
103402014-06-23 Will Newton <will.newton@linaro.org>
10341
10342 * test-skeleton.c (signal_handler): Use printf and %m
10343 rather than perror. Use printf rather than fprintf to
10344 stderr. Use puts rather than fputs to stderr.
10345 (main): Likewise.
10346
bd3675f9
LC
103472014-06-22 Ludovic Courtès <ludo@gnu.org>
10348
10349 * nscd/nscd.c (thread_info_t): Remove typedef.
10350 (thread_info): Remove variable.
10351
d03efb2f
AM
103522014-06-21 Allan McRae <allan@archlinux.org>
10353
10354 * NEWS: Mention CVE-2014-4043.
10355
bc4a86fa
RM
103562014-06-20 Roland McGrath <roland@hack.frob.com>
10357
dc9a54f8
RM
10358 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10359 * nptl/smp.h: ... here.
10360
bd7022c4
RM
10361 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10362
26ffd5e6
RM
10363 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10364 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10365 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10366 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10367
93a6d082
RM
10368 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10369 * nptl/stack-aliasing.h: New file.
10370 * sysdeps/i386/i686/stack-aliasing.h: New file.
10371 * sysdeps/i386/i686/nptl/Makefile: File removed.
10372 * sysdeps/x86_64/stack-aliasing.h: New file.
10373 * sysdeps/x86_64/nptl/Makefile
10374 (CFLAGS-pthread_create.c): Variable removed.
10375
bc4a86fa
RM
10376 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10377 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10378 old file.
10379 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10380 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10381 old file.
10382
2272ffc1
JM
103832014-06-21 Joseph Myers <joseph@codesourcery.com>
10384
10385 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10386 (__ASSUME_SIGFRAME_V2): Remove macro.
10387 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10388 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10389 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10390 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10391 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10392 Declare as function. Remove conditional macro definitions.
10393 (__default_rt_sa_restorer): Likewise.
10394 (__default_sa_restorer_v1): Remove declaration.
10395 (__default_sa_restorer_v2): Likewise.
10396 (__default_rt_sa_restorer_v1): Likewise.
10397 (__default_rt_sa_restorer_v2): Likewise.
10398 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10399 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10400 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10401
4b88139b
RM
104022014-06-20 Roland McGrath <roland@hack.frob.com>
10403
10404 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10405 (libpthread-routines): Add sysdep.
10406 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10407 * sysdeps/unix/sysv/linux/sparc/Versions
10408 (libpthread: GLIBC_2.3.3): New version set.
10409 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10410 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10411 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10413 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10414 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10415 Moved ...
10416 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10417 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10418 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10419 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10420 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10421 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10422 * sysdeps/sparc/nptl/sem_init.c: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10424 * sysdeps/sparc/nptl/sem_post.c: ... here.
10425 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10426 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10428 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10430 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10431 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10432 (libpthread-routines): Add cpu_relax.
10433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10434 File removed.
10435 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10436 (librt: GLIBC_2.3.3): New version set.
10437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10438 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10440 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10443 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10445 Moved ...
10446 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10448 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10450 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10452 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10454 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10456 Moved ...
10457 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10458 Update #include.
10459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10460 Moved ...
10461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10462 Update #include.
10463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10464 Moved ...
10465 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10466 Update #include.
10467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10468 Moved ...
10469 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10470 Update #include.
10471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10472 Moved ...
10473 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10474 Update #include.
10475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10476 Moved ...
10477 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10478 Update #include.
10479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10480 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10486 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10488 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10490 Moved ...
10491 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10496
d7109027
JM
104972014-06-20 Joseph Myers <joseph@codesourcery.com>
10498
9bc6103d
JM
10499 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10500 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10501 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10502 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10503 * nscd/nscd.c: Likewise.
10504 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10505 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10506 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10507 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10508
d7109027
JM
10509 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10510 <kernel-features.h>.
10511 (init_mq_netlink): Remove conditional have_sock_cloexec
10512 definitions. Remove code conditional on have_sock_cloexec < 0.
10513 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10514 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10515 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10516 <kernel-features.h>.
10517 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10518 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10519
d92d8f8a
L
105202014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10523 Add tests for memset_chk and memset.
10524
10525 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10526 with AVX2_Usable.
10527
4e6d2347
MR
105282014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10529
257ce712
MR
10530 [BZ #16046]
10531 * elf/tst-dl-iter-static.c: New file.
10532 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10533
4e6d2347
MR
10534 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10535 error.
10536
a2a76afe
JM
105372014-06-20 Joseph Myers <joseph@codesourcery.com>
10538
7fd00f99
JM
10539 * sysdeps/unix/sysv/linux/kernel-features.h
10540 (__ASSUME_F_GETOWN_EX): Remove macro.
10541 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10542 <kernel-features.h>.
10543 (miss_F_GETOWN_EX): Remove variable or macro.
10544 (do_fcntl): Do not check miss_F_GETOWN_EX.
10545 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10546
4a103975
JM
10547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10548 Remove macro.
10549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10550 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10551 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10552
a2a76afe
JM
10553 * sysdeps/unix/sysv/linux/kernel-features.h
10554 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10555 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10556 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10557 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10558
90e5dd48
MR
105592014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10560
10561 [BZ #17075]
10562 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10563 Fix calculation of the symbol's value.
10564 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10565 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10566 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10567 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10568 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10569 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10570 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10571 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10572 (modules-names): Add `tst-armtlsdescmod',
10573 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10574 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10575 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10576 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10577 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10578 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10579 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10580 ($(objpfx)tst-armtlsdescloc): New dependency.
10581 ($(objpfx)tst-armtlsdescextnow): Likewise.
10582 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10583 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10584 TLS scheme support.
10585 * sysdeps/arm/configure: Regenerate.
10586
809fdf0d
JM
105872014-06-20 Joseph Myers <joseph@codesourcery.com>
10588
10589 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10590 (__atfct_seterrno_2): Likewise.
10591 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10592 <kernel-features.h>.
10593 (__ASSUME_ATFCTS): Do not undefine and redefine.
10594 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10595 (__have_atfcts): Remove conditional definition.
10596 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10597 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10598 unreachable if [__ASSUME_ATFCTS].
10599 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10600 not undefine and redefine.
10601 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10602 <kernel-features.h>.
10603 (faccessat) [__NR_faccessat]: Make code unconditional.
10604 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10605 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10606 <kernel-features.h>.
10607 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10608 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10609 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10610 <kernel-features.h>.
10611 (fchownat) [__NR_fchownat]: Make code unconditional.
10612 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10613 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10614 <kernel-features.h>.
10615 (futimesat) [__NR_futimesat]: Make code unconditional.
10616 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10617 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10618 <kernel-features.h>.
10619 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10620 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10621 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10622 <kernel-features.h>.
10623 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10624 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10625 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10626 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10627 <kernel-features.h>.
10628 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10629 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10631 <kernel-features.h>.
10632 (linkat) [__NR_linkat]: Make code unconditional.
10633 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10634 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10635 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10636 <kernel-features.h>.
10637 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10638 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10639 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10640 <kernel-features.h>.
10641 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10642 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10643 * sysdeps/unix/sysv/linux/openat.c: Do not include
10644 <kernel-features.h>.
10645 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10646 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10647 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10648 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10649 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10650 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10651 <kernel-features.h>.
10652 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10653 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10654 result of INLINE_SYSCALL directly, not via int variable.
10655 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10656 <kernel-features.h>.
10657 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10658 (renameat) [__NR_renameat]: Make code unconditional.
10659 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10661 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10664 (__ASSUME_ATFCTS): Do not undefine and redefine.
10665 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10666 <kernel-features.h>.
10667 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10668 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10670 <kernel-features.h>.
10671 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10672 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10674 (__ASSUME_ATFCTS): Do not undefine and redefine.
10675 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10676 <kernel-features.h>.
10677 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10678 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10679 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10680 <kernel-features.h>.
10681 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10682 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10683
224c6c51
L
106842014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10685
10686 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10687
aa6ec754
AS
106882014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 [BZ #17069]
10691 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10692 constructed tree before returning error.
10693 * posix/bug-regexp36.c: Expand test case.
10694
d8c2869d
SL
106952014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10696
3ef6b850
SL
10697 [BZ #6803]
10698 * math/libm-test.inc (scalbln_test_date):
10699 Add errno expectations.
10700 * math/w_scalblnf.c: New File.
10701 Add wrapper which checks for setting errno to ERANGE.
10702 Add weak_alias for corresponding scalbln function.
10703 * math/w_scalbln.c: Likewise.
10704 * math/w_scalblnl.c: Likewise.
10705 * math/Makefile (libm-calls): Add w_scalbln.
10706 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10707 Remove weak_alias for corresponding scalbln function.
10708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10710 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10712 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10713 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10714 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10715 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10716 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10717 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10718 Remove long_double_symbol for scalblnl function in libm, libc.
10719 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10720 Add wrapper which checks for setting errno to ERANGE.
10721 Add long_double_symbol for scalblnl function in libm, libc.
10722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10723 Remove long_double_symbol for scalblnl in libm.
10724 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10725 Add wrapper which checks for setting errno to ERANGE.
10726 Add long_double_symbol for scalblnl function in libm.
10727 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10728 Do not use wrapper because of own implementation.
10729
c8daec5c
L
107302014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10733 3 bytes for __pad1 for x32.
10734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10735
5c74e47c
LM
107362014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10737 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10740 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10741 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10742 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10743 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10744
4d43ef1e
AS
107452014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 [BZ #17069]
10748 * posix/regcomp.c (parse_expression): Deallocate partially
10749 constructed tree before returning error.
10750 * posix/Makefile.c (tests): Add bug-regex36.
10751 (generated): Add bug-regex36.mtrace.
10752 (tests-special): Add $(objpfx)bug-regex36-mem.out
10753 (bug-regex36-ENV): New variable.
10754 ($(objpfx)bug-regex36-mem.out): New rule.
10755 * posix/bug-regex36.c: New file.
10756
51a7380b
WN
107572014-06-19 Will Newton <will.newton@linaro.org>
10758
10759 * malloc/malloc.c (systrim): If extra is zero then return
10760 early.
10761
91b84fe5
SP
107622014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10763
10764 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10765
f940b965
RE
107662014-06-19 Richard Earnshaw <rearnsha@arm.com>
10767
10768 * sysdeps/aarch64/strchr.S: New file.
10769
4ba7a00f
JM
107702014-06-18 Joseph Myers <joseph@codesourcery.com>
10771
10772 [BZ #17022]
10773 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10774 from arguments -2 or below.
10775 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10776 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10777
b3a9f56b
AS
107782014-06-18 Andreas Schwab <schwab@suse.de>
10779
10780 [BZ #17062]
10781 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10782 of a bracket expr not to run off the end of the string.
10783 * posix/Makefile (tests): Add tst-fnmatch3.
10784 * posix/tst-fnmatch3.c: New file.
10785
85d89278
JM
107862014-06-18 Joseph Myers <joseph@codesourcery.com>
10787
10788 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10789 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10790 [$(cross-compiling) = no]: Likewise.
10791 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10792 [$(cross-compiling) = no]: Likewise.
10793
754c5a08
RS
107942014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10795
10796 [BZ #17031]
10797 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10798 double, adjusted for any remainder from the high double.
10799 * math/libm-test.inc (nearbyint): Add tests.
10800 (rint): Likewise.
10801
556f529d
AZ
108022014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10803
10804 * nptl/sysdeps/powerpc/Makefile: Moved ...
10805 * sysdeps/powerpc/nptl/Makefile: ... here.
10806 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10807 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10808 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10809 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10810 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10811 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10812 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10813 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10814 * nptl/sysdeps/powerpc/tls.h: Moved ...
10815 * sysdeps/powerpc/nptl/tls.h: ... here.
10816
91c03c53
JM
108172014-06-16 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #16681]
10820 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10821 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10822 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10823 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10824 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10825 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10826 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10827 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10828 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10829
a76e63c5
AS
108302014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10831
10832 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10833
f2f6d82f
AS
108342014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10835
ea8a15f6
AS
10836 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10837 defined operator.
10838
f2f6d82f
AS
10839 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10840 $TIMEOUTFACTOR.
10841
a7291117
FW
108422014-06-16 Florian Weimer <fweimer@redhat.com>
10843
10844 [BZ #17058]
10845 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10846 non-executed part of the test.
10847
3d7c00e3
AS
108482014-06-16 Andreas Schwab <schwab@suse.de>
10849
10850 * string/bits/string2.h (strdup, strndup): Update feature guard.
10851
6957fb31
DM
108522014-06-14 David S. Miller <davem@davemloft.net>
10853
10854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10855
11b9e55b
AS
108562014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10857
1d2a0492
AS
10858 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10859 that was previously under [RESET_PID].
10860 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10861
11b9e55b
AS
10862 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10863 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10864 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10865 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10866 (__libc_vfork): New strong alias.
10867 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10868
0f6901d0
AK
108692014-06-14 Andi Kleen <ak@linux.intel.com>
10870
10871 * sysdeps/generic/elide.h: New file.
10872
38bbbb9f
SL
108732014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10874
10875 * Makefile (installed-headers): Adjust path of pthread.h header.
10876
45193bb8
RM
108772014-06-13 Roland McGrath <roland@hack.frob.com>
10878
9a25fd1e
RM
10879 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10880 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10881 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10882 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10883
4004f7e4
RM
10884 * nptl/sysdeps/s390/Makefile: Moved ...
10885 * sysdeps/s390/nptl/Makefile: ... here.
10886 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10887 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10888 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10889 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10890 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10891 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10892 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10893 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10894 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10895 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10896 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10897 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10898 * nptl/sysdeps/s390/tls.h: Moved ...
10899 * sysdeps/s390/nptl/tls.h: ... here.
10900
45193bb8
RM
10901 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10902 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10903
f6fdf533
DM
109042014-06-13 David S. Miller <davem@davemloft.net>
10905
10906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10914 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10915 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10916 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10917 Remove RESET_PID cpp guards.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10919 Remove RESET_PID cpp guards.
10920 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10921
f5d71e14
AS
109222014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10923
10924 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10925 __sp to uintptr_t.
10926
b7aa8caa
AK
109272014-06-13 Andi Kleen <ak@linux.intel.com>
10928
4b266200
AZ
10929 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10930 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10939 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10948 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10949
10950 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10951 (pthread_rwlock_rdlock): Add elision.
10952 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10953 (pthread_rwlock_wrlock): Add elision.
10954 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10955 (pthread_rwlock_trywrlock): Add elision.
10956 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10957 (pthread_rwlock_tryrdlock): Add elision.
10958 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10959 (pthread_rwlock_tryrdlock): Add elision unlock.
10960 * nptl/sysdeps/pthread/pthread.h:
10961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10962 (PTHREAD_RWLOCK_INITIALIZER,
10963 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10964 Handle new elision field.
10965 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10966 * sysdeps/arm/nptl/bits/pthreadtypes.h
10967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10968 * sysdeps/sh/nptl/bits/pthreadtypes.h
10969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10970 * sysdeps/tile/nptl/bits/pthreadtypes.h
10971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10972 * sysdeps/a/nptl/bits/pthreadtypes.h
10973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10974 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10976 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10978 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10980 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10982 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10984 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10986 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10988 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10990 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10991 (elision_init): Set try_xbegin to zero when no RTM.
10992 * sysdeps/x86/nptl/bits/pthreadtypes.h
10993 (pthread_rwlock_t): Change __pad1 to __rwelision.
10994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10995
a832bdd3
AK
109962014-06-13 Andi Kleen <ak@linux.intel.com>
10997
10998 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10999 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11000 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11001 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11002
995a46bb
MI
110032014-06-13 Meador Inge <meadori@codesourcery.com>
11004
11005 [BZ #16996]
03ed7738 11006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11007 that the cached result has been set before returning it.
11008
45262aee
RM
110092014-06-12 Roland McGrath <roland@hack.frob.com>
11010
febf6cc5
RM
11011 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11012 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11014 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11016 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11017
e2682246
RM
11018 * nptl/sysdeps/sparc/Makefile: Moved ...
11019 * sysdeps/sparc/nptl/Makefile: ... here.
11020 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11021 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11022 * nptl/sysdeps/sparc/tls.h: Moved ...
11023 * sysdeps/sparc/nptl/tls.h: ... here.
11024 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11025 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11026 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11027 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11028 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11029 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11030 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11031 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11032 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11033 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11034 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11035 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11036 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11037 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11038 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11039 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11040 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11042 Update #include.
11043 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11044 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11045 Update #include.
11046 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11048 Update #include.
11049 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11051 Update #include.
11052
b0725f43
RM
11053 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11054
b14368b8
RM
11055 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11056 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11057
c5620eb3
RM
11058 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11059 (struct list_links): Type removed.
11060 (struct thread_node, struct timer_node): Replace struct list_links
11061 with struct list_head.
11062 (list_unlink_ip): Likewise.
11063 * sysdeps/pthread/timer_routines.c
11064 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11065 (list_append, list_insbefore): Likewise.
11066 (list_init): Function removed.
11067 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11068 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11069 * sysdeps/pthread/Makefile: ... here, new file.
11070
11071 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11072 * sysdeps/nptl/Implies: ... here.
11073 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11074 * nptl/sysdeps/pthread/list.h: Moved ...
11075 * include/list.h: ... here.
11076 * nptl/sysdeps/pthread/createthread.c: Moved ...
11077 * nptl/createthread.c: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11079 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11080 * nptl/pt-longjmp.c: ... here.
11081 * nptl/sysdeps/pthread/Makefile: Moved ...
11082 * sysdeps/nptl/Makefile: ... here.
11083 * nptl/sysdeps/pthread/Subdirs: Moved ...
11084 * sysdeps/nptl/Subdirs: ... here.
11085 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11086 * sysdeps/nptl/aio_misc.h: ... here.
11087 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11088 * sysdeps/nptl/bits/libc-lock.h: ... here.
11089 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11090 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11091 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11092 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11093 * nptl/sysdeps/pthread/configure: Moved ...
11094 * sysdeps/nptl/configure: ... here.
11095 * nptl/sysdeps/pthread/configure.ac: Moved ...
11096 * sysdeps/nptl/configure.ac: ... here.
11097 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11098 * sysdeps/nptl/gai_misc.h: ... here.
11099 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11100 * sysdeps/nptl/librt-cancellation.c: ... here.
11101 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11102 * sysdeps/nptl/malloc-machine.h: ... here.
11103 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11104 * sysdeps/nptl/pthread-functions.h: ... here.
11105 * nptl/sysdeps/pthread/pthread.h: Moved ...
11106 * sysdeps/nptl/pthread.h: ... here.
11107 * nptl/sysdeps/pthread/setxid.h: Moved ...
11108 * sysdeps/nptl/setxid.h: ... here.
11109 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11110 * sysdeps/nptl/sigfillset.c: ... here.
11111 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11112 * sysdeps/nptl/tcb-offsets.h: ... here.
11113 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11114 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11115 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11116 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11117 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11118 * sysdeps/pthread/allocalim.h: ... here.
11119 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11120 * sysdeps/pthread/bits/sigthread.h: ... here.
11121 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11122 * sysdeps/pthread/flockfile.c: ... here.
11123 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11124 * sysdeps/pthread/ftrylockfile.c: ... here.
11125 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11126 * sysdeps/pthread/funlockfile.c: ... here.
11127 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11128 * sysdeps/pthread/posix-timer.h: ... here.
11129 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11130 * sysdeps/pthread/timer_create.c: ... here.
11131 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11132 * sysdeps/pthread/timer_delete.c: ... here.
11133 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11134 * sysdeps/pthread/timer_getoverr.c: ... here.
11135 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11136 * sysdeps/pthread/timer_gettime.c: ... here.
11137 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11138 * sysdeps/pthread/timer_routines.c: ... here.
11139 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11140 * sysdeps/pthread/timer_settime.c: ... here.
11141 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11142 * sysdeps/pthread/tst-timer.c: ... here.
11143 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11144 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11145
e876b090
RM
11146 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11147 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11148
f6b07b3d
RM
11149 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11150 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11151 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11152 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11153 Update #include target.
11154 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11155 * sysdeps/i386/i686/nptl/Makefile: ... here.
11156 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11157 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11158 Update #include target.
11159 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11160 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11161 * nptl/sysdeps/i386/Makefile: Moved ...
11162 * sysdeps/i386/nptl/Makefile: ... here.
11163 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11164 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11165 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11166 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11167 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11168 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11169 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11170 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11171 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11172 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11173 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11174 * nptl/sysdeps/i386/tls.h: Moved ...
11175 * sysdeps/i386/nptl/tls.h: ... here.
11176
45262aee
RM
11177 * sysdeps/sh/Makefile [$(subdir) = csu]
11178 (gen-as-const-headers): Add tcb-offsets.sym.
11179 * nptl/sysdeps/sh/Makefile: File removed.
11180 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11181 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11182 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11183 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11184 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11185 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11186 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11187 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11188 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11189 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11190 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11191 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11192 * nptl/sysdeps/sh/tls.h: Moved ...
11193 * sysdeps/sh/nptl/tls.h: ... here.
11194 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11195 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11196 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11197 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11198 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11199 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11200 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11201 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11202 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11203 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11205 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11207 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11209 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11211 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11213 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11215 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11217 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11219 Moved ...
11220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11222 Moved ...
11223 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11225 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11229 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11230 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11231 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11233 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11234 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11235 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11237 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11239 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11241 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11242
35a5e3e3
SL
112432014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11244
11245 * posix/spawn_faction_addopen.c: Include string.h.
11246
14642b85
RM
112472014-06-11 Roland McGrath <roland@hack.frob.com>
11248
11249 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11250 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11251 * nptl/sysdeps/x86_64/Makefile: Moved ...
11252 * sysdeps/x86_64/nptl/Makefile: ... here.
11253 * nptl/sysdeps/x86_64/configure: Moved ...
11254 * sysdeps/x86_64/nptl/configure: ... here.
11255 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11256 * sysdeps/x86_64/nptl/configure.ac: ... here.
11257 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11258 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11259 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11260 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11261 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11262 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11263 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11264 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11265 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11266 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11267 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11268 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11269 * nptl/sysdeps/x86_64/tls.h: Moved ...
11270 * sysdeps/x86_64/nptl/tls.h: ... here.
11271 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11272 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11273 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11274 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11275
11276 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11277
31c44fea
AZ
112782014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11279
11280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11281
e81a4f9a
JM
112822014-06-11 Joseph Myers <joseph@codesourcery.com>
11283
11284 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11285 type.
11286 [POSIX] (off_t): Likewise.
11287 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11288 [POSIX] (S_ISBLK): Require macro.
11289 [POSIX] (S_ISCHR): Likewise.
11290 [POSIX] (S_ISDIR): Likewise.
11291 [POSIX] (S_ISFIFO): Likewise.
11292 [POSIX] (S_ISREG): Likewise.
11293 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11294 optional-macro.
11295 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11296 type.
11297 [POSIX] (time_t): Likewise.
11298 [POSIX] (timer_t): Likewise.
11299
89e435f3
FW
113002014-06-11 Florian Weimer <fweimer@redhat.com>
11301
11302 [BZ #17048]
11303 * posix/spawn_int.h (struct __spawn_action): Make the path string
11304 non-const to support deallocation.
11305 * posix/spawn_faction_addopen.c
11306 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11307 * posix/spawn_faction_destroy.c
11308 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11309 path in all spawn_do_open actions.
11310 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11311 posix_spawn_file_actions_addopen.
11312
c3a2ebe1
CM
113132014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11314
11315 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11316 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11317 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11318 conditional code always true.
11319 (__libc_vfork): New alias.
11320
9503784a
RM
113212014-06-11 Roland McGrath <roland@hack.frob.com>
11322
c9cab3d2
RM
11323 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11324 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11325
d3996c79
RM
11326 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11327
ba5ec611
RM
11328 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11329 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11330
f12b4814
RM
11331 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11332 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11333
9503784a
RM
11334 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11335 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11336
e23d3d26
VR
113372014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11338
11339 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11340 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11341 multiarch strcmp for PPC64.
11342 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11345 multiarch optimizations.
11346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11347 (__libc_ifunc_impl_list): Likewise.
11348
42b1161e
SP
113492014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11350
11351 * benchtests/scripts/validate_benchout.py: New script.
11352 * benchtests/Makefile (bench-func): Call it.
11353 * benchtests/scripts/benchout.schema.json: New file.
11354
2d0fc4dc
CM
113552014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11356
4a594c34
AZ
11357 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11358 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11359 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11360 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11361 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11362 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11363 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11364 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11365 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11366 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11367 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11368 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11369 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11370 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11371 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11372 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11374 Moved ...
4a594c34 11375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11376 ... here.
4a594c34 11377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11378 Moved ...
4a594c34
AZ
11379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11381 Moved ...
4a594c34 11382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11383 ... here.
4a594c34 11384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11385 Moved ...
4a594c34 11386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11387 ... here.
4a594c34 11388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11389 Moved ...
4a594c34
AZ
11390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11392 Moved ...
4a594c34 11393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11394 ... here.
4a594c34 11395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11396 Moved ...
4a594c34 11397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11398 ... here.
4a594c34 11399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11400 Moved ...
4a594c34
AZ
11401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11403 Moved ...
4a594c34 11404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11405 ... here.
4a594c34 11406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11407 Moved ...
4a594c34 11408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11409 ... here.
4a594c34 11410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11411 Moved ...
4a594c34 11412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11413 ... here.
4a594c34 11414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11415 Moved ...
4a594c34
AZ
11416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11418 Moved ...
4a594c34 11419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11420 ... here.
4a594c34 11421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11422 Moved ...
4a594c34 11423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11424 ... here.
4a594c34 11425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11426 Moved ...
4a594c34 11427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11428 ... here.
4a594c34 11429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11430 Moved ...
4a594c34
AZ
11431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11433 Moved ...
4a594c34 11434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11435 ... here.
4a594c34 11436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11437 Moved ...
4a594c34 11438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11439 ... here.
4a594c34 11440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11441 Moved ...
4a594c34
AZ
11442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11444 Moved ...
4a594c34 11445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11446 ... here.
4a594c34 11447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11448 Moved ...
4a594c34
AZ
11449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11451 Moved ...
4a594c34
AZ
11452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11454 Moved ...
4a594c34 11455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11456 ... here.
4a594c34 11457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11458 Moved ...
4a594c34 11459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11460 ... here.
4a594c34 11461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11462 Moved ...
4a594c34 11463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11464 ... here.
4a594c34 11465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11466 Moved ...
4a594c34
AZ
11467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11469 Moved ...
4a594c34 11470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11471 ... here.
4a594c34 11472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11473 Moved ...
4a594c34 11474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11475 ... here.
4a594c34
AZ
11476 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11477 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11479 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11481 Moved ...
4a594c34 11482 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11483 ... here.
4a594c34
AZ
11484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11485 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11491 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11493 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11495 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11497 Moved ...
4a594c34
AZ
11498 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11500 Moved ...
4a594c34
AZ
11501 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11503 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11505 Moved ...
4a594c34
AZ
11506 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11508 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11509 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11510 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11511 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11512 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11513
0570cfed
W
115142014-06-10 Wilco <wdijkstr@arm.com>
11515
11516 * math/test-fenv-return.c: New file.
11517 * math/Makefile: Add new test test-fenv-return.
11518
f8ba1b56
JM
115192014-06-10 Joseph Myers <joseph@codesourcery.com>
11520
11521 [BZ #17042]
11522 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11523 when x - 1 is zero.
11524 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11525 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11526 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11527 0.0L for an argument of 1.0L.
11528 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11529 Likewise.
11530 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11531 value when x - 1 is zero.
11532 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11533 * sysdeps/i386/fpu/libm-test-ulps: Update.
11534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11535
2c3520d9
BO
115362014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11537
11538 [BZ #15119]
11539 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11540
acaa4d24
RM
115412014-06-09 Roland McGrath <roland@hack.frob.com>
11542
11543 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11544 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11545
962b744d
RM
115462014-06-09 Roland McGrath <roland@hack.frob.com>
11547
d752f0cc
RM
11548 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11549 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11550
34eda6d1
RM
11551 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11552 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11553
50f0a637
RM
11554 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11555 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11556
08f41f04
RM
11557 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11558 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11559
962b744d
RM
11560 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11561 if not already defined.
11562 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11563 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11564 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11565 (TLS_INIT_TP): Use it.
11566 (TLS_DEFINE_INIT_TP): New macro.
11567 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11568
09f19b05
JM
115692014-06-09 Joseph Myers <joseph@codesourcery.com>
11570
11571 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11572 constant.
11573 [POSIX] (IXANY): Likewise.
11574 [POSIX] (OLCUC): Likewise.
11575 [POSIX || POSIX2008] (CBAUD): Do not allow.
11576 [POSIX || POSIX2008] (DEFECHO): Likewise.
11577 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11578 [POSIX || POSIX2008] (ECHOKE): Likewise.
11579 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11580 [POSIX || POSIX2008] (EXTA): Likewise.
11581 [POSIX || POSIX2008] (EXTB): Likewise.
11582 [POSIX || POSIX2008] (FLUSHO): Likewise.
11583 [POSIX || POSIX2008] (LOBLK): Likewise.
11584 [POSIX || POSIX2008] (PENDIN): Likewise.
11585 [POSIX || POSIX2008] (SWTCH): Likewise.
11586 [POSIX || POSIX2008] (VDISCARD): Likewise.
11587 [POSIX || POSIX2008] (VDSUSP): Likewise.
11588 [POSIX || POSIX2008] (VLNEXT): Likewise.
11589 [POSIX || POSIX2008] (VREPRINT): Likewise.
11590 [POSIX || POSIX2008] (VSTATUS): Likewise.
11591 [POSIX || POSIX2008] (VWERASE): Likewise.
11592 (B*): Change to B[0123456789]*.
11593 * conform/data/time.h-data [POSIX || UNIX98]
11594 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11595 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11596 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11597 [POSIX] (tm_*): Do not allow.
11598
686554bf
JM
115992014-06-07 Joseph Myers <joseph@codesourcery.com>
11600
11601 * Makefile (install): Don't set LANGUAGE.
11602 * Makefile.in (install): Likewise.
11603 * assert/Makefile (test-assert-ENV): Remove variable.
11604 (test-assert-perr-ENV): Likewise.
11605 * elf/Makefile (neededtest4-ENV): Likewise.
11606 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11607 [$(cross-compiling) = no]: Don't set LANGUAGE.
11608 * io/ftwtest-sh (LANG): Remove variable.
11609 * libio/Makefile (tst-widetext-ENV): Likewise.
11610 * manual/install.texi (Running make install): Don't refer to
11611 environment settings for make install.
11612 * INSTALL: Regenerated.
11613 * nptl/tst-tls6.sh: Don't set LANG.
11614 * posix/globtest.sh (LANG): Remove variable.
11615 * string/Makefile (tester-ENV): Likewise.
11616 (inl-tester-ENV): Likewise.
11617 (noinl-tester-ENV): Likewise.
11618 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11619 [$(cross-compiling) = no]: Don't set LANGUAGE.
11620 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11621 without explicit environment settings.
11622
68e6b6b1
RM
116232014-06-06 Roland McGrath <roland@hack.frob.com>
11624
11625 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11626 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11627 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11628 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11629
4d3ae034
CM
116302014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11631
11632 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11633 other files in the crypt directory.
11634 * crypt/crypt.c: Remove duplicate includes.
11635 * crypt/crypt-entry.c: Likewise.
11636 * crypt/crypt_util.c: Likewise.
11637
8540f6d2
JM
116382014-06-06 Joseph Myers <joseph@codesourcery.com>
11639
11640 * Makeconfig (run-program-env): New variable.
11641 (run-program-prefix-before-env): Likewise.
11642 (run-program-prefix-after-env): Likewise.
11643 (run-program-prefix): Define in terms of new variables.
11644 (built-program-cmd-before-env): New variable.
11645 (built-program-cmd-after-env): Likewise.
11646 (built-program-cmd): Define in terms of new variables.
11647 (test-program-prefix-before-env): New variable.
11648 (test-program-prefix-after-env): Likewise.
11649 (test-program-prefix): Define in terms of new variables.
11650 (test-program-cmd-before-env): New variable.
11651 (test-program-cmd-after-env): Likewise.
11652 (test-program-cmd): Define in terms of new variables.
11653 * Rules (make-test-out): Use $(run-program-env).
11654 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11655 (help): Do not mention environment variables. Mention
11656 --timeoutfactor option.
11657 (timeoutfactor): New variable.
11658 (blacklist_exports): Remove function.
11659 (exports): Remove variable.
11660 (command): Do not include ${exports}.
11661 * manual/install.texi (Configuring and compiling): Do not mention
11662 test wrappers preserving environment variables. Mention that last
11663 assignment to a variable must take precedence.
11664 * INSTALL: Regenerated.
11665 * benchtests/Makefile (run-bench): Use $(run-program-env).
11666 * catgets/Makefile ($(objpfx)test1.cat): Use
11667 $(built-program-cmd-before-env), $(run-program-env) and
11668 $(built-program-cmd-after-env).
11669 ($(objpfx)test2.cat): Do not specify environment variables
11670 explicitly.
11671 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11672 $(run-program-env) and $(built-program-cmd-after-env).
11673 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11674 $(run-program-env) and $(test-program-cmd-after-env).
11675 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11676 explicitly.
11677 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11678 run_program_env and test_program_cmd_after_env arguments.
11679 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11680 * elf/tst-pathopt.sh: Use run_program_env argument.
11681 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11682 $(test-wrapper-env) and $(run-program-env).
11683 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11684 run_program_env arguments.
11685 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11686 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11687 $(test-program-prefix-before-env), $(run-program-env) and
11688 $(test-program-prefix-after-env).
11689 ($(objpfx)tst-gettext2.out): Likewise.
11690 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11691 run_program_env and test_program_prefix_after_env arguments.
11692 * intl/tst-gettext2.sh: Likewise.
11693 * intl/tst-gettext4.sh: Do not set environment variables
11694 explicitly.
11695 * intl/tst-gettext6.sh: Likewise.
11696 * intl/tst-translit.sh: Likewise.
11697 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11698 $(test-program-prefix-before-env), $(run-program-env) and
11699 $(test-program-prefix-after-env).
11700 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11701 run_program_env and test_program_prefix_after_env arguments.
11702 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11703 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11704 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11705 explicitly with each use of ${test_wrapper_env}.
11706 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11707 $(test-program-prefix-before-env), $(run-program-env) and
11708 $(test-program-prefix-after-env).
11709 * posix/tst-getconf.sh: Do not set environment variables
11710 explicitly.
11711 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11712 run_program_env and test_program_prefix_after_env arguments.
11713 * stdio-common/tst-printf.sh: Do not set environment variables
11714 explicitly.
11715 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11716 $(test-program-prefix-before-env), $(run-program-env) and
11717 $(test-program-prefix-after-env).
11718 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11719 run_program_env and test_program_prefix_after_env arguments.
11720 Split $test calls into $test_pre and $test.
11721 * timezone/Makefile (build-testdata): Use
11722 $(built-program-cmd-before-env), $(run-program-env) and
11723 $(built-program-cmd-after-env).
11724
ed36bfa1
AZ
117252014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11726
11727 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11728 strlen for non SHARED builds.
11729
fc75bf46
SP
117302014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11731
11732 * nptl/allocatestack.c (check_list): Inlined function...
11733 (__reclaim_stacks): ... here.
11734
d89b3d80
OB
117352014-06-05 Ondřej Bílka <neleai@seznam.cz>
11736
11737 [BZ #15698]
11738 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11739 memory overrun.
11740
2bf18041
JM
117412014-06-05 Joseph Myers <joseph@codesourcery.com>
11742
11743 * Rules (make-test-out): Include
11744 LOCPATH=$(common-objpfx)localedata in default environment.
11745 * debug/Makefile (tst-chk1-ENV): Remove variable.
11746 (tst-chk2-ENV): Likewise.
11747 (tst-chk3-ENV): Likewise.
11748 (tst-chk4-ENV): Likewise.
11749 (tst-chk5-ENV): Likewise.
11750 (tst-chk6-ENV): Likewise.
11751 (tst-lfschk1-ENV): Likewise.
11752 (tst-lfschk2-ENV): Likewise.
11753 (tst-lfschk3-ENV): Likewise.
11754 (tst-lfschk4-ENV): Likewise.
11755 (tst-lfschk5-ENV): Likewise.
11756 (tst-lfschk6-ENV): Likewise.
11757 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11758 (tst-iconv7-ENV): Likewise.
11759 * intl/Makefile (LOCPATH-ENV): Likewise.
11760 (tst-codeset-ENV): Likewise.
11761 (tst-gettext3-ENV): Likewise.
11762 (tst-gettext5-ENV): Likewise.
11763 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11764 (tst-fopenloc-ENV): Likewise.
11765 (tst-fgetws-ENV): Remove variable.
11766 (tst-ungetwc1-ENV): Likewise.
11767 (tst-ungetwc2-ENV): Likewise.
11768 (bug-ungetwc2-ENV): Likewise.
11769 (tst-swscanf-ENV): Likewise.
11770 (bug-ftell-ENV): Likewise.
11771 (tst-fgetwc-ENV): Likewise.
11772 (tst-fseek-ENV): Likewise.
11773 (tst-ftell-partial-wide-ENV): Likewise.
11774 (tst-ftell-active-handler-ENV): Likewise.
11775 (tst-ftell-append-ENV): Likewise.
11776 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11777 (tst-regexloc-ENV): Likewise.
11778 (bug-regex1-ENV): Likewise.
11779 (tst-regex-ENV): Likewise.
11780 (tst-regex2-ENV): Likewise.
11781 (bug-regex5-ENV): Likewise.
11782 (bug-regex6-ENV): Likewise.
11783 (bug-regex17-ENV): Likewise.
11784 (bug-regex18-ENV): Likewise.
11785 (bug-regex19-ENV): Likewise.
11786 (bug-regex20-ENV): Likewise.
11787 (bug-regex22-ENV): Likewise.
11788 (bug-regex23-ENV): Likewise.
11789 (bug-regex25-ENV): Likewise.
11790 (bug-regex26-ENV): Likewise.
11791 (bug-regex30-ENV): Likewise.
11792 (bug-regex32-ENV): Likewise.
11793 (bug-regex33-ENV): Likewise.
11794 (bug-regex34-ENV): Likewise.
11795 (bug-regex35-ENV): Likewise.
11796 (tst-rxspencer-ENV): Likewise.
11797 (tst-rxspencer-no-utf8-ENV): Likewise.
11798 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11799 (tst-sscanf-ENV): Likewise.
11800 (tst-swprintf-ENV): Likewise.
11801 (tst-swscanf-ENV): Likewise.
11802 (test-vfprintf-ENV): Likewise.
11803 (scanf13-ENV): Likewise.
11804 (bug14-ENV): Likewise.
11805 (tst-grouping-ENV): Likewise.
11806 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11807 (tst-strtod3-ENV): Likewise.
11808 (tst-strtod4-ENV): Likewise.
11809 (tst-strtod5-ENV): Likewise.
11810 (testmb2-ENV): Likewise./
11811 * string/Makefile (tst-strxfrm-ENV): Likewise.
11812 (tst-strxfrm2-ENV): Likewise.
11813 (bug-strcoll1-ENV): Likewise.
11814 (test-strcasecmp-ENV): Likewise.
11815 (test-strncasecmp-ENV): Likewise.
11816 * time/Makefile (tst-strptime-ENV): Likewise.
11817 (tst-ftime_l-ENV): Likewise.
11818 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11819 (tst-mbrtowc-ENV): Likewise.
11820 (tst-wcrtomb-ENV): Likewise.
11821 (tst-mbrtowc2-ENV): Likewise.
11822 (tst-c16c32-1-ENV): Likewise.
11823 (tst-mbsnrtowcs-ENV): Likewise.
11824
cd1fb604
OB
118252014-06-05 Ondřej Bílka <neleai@seznam.cz>
11826
11827 * manual/resource.texi (How to get information about the memory
11828 subsystem?): Fix typo.
11829 Reported by Peon de la Parra Ivan <peon@keba.com>
11830
b42eca7d
GY
118312014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11832
11833 [BZ #16882]
11834 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11835 (pthread_spin_lock): Branch out of spin loop to proper location.
11836 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11837 (pthread_spin_lock): Likewise.
11838
902b71f9
DM
11839 * nptl/tst-spin4.c: New test.
11840 * nptl/Makefile (tests): Add tst-spin4.
11841
f9d2d032
AS
118422014-06-03 Andreas Schwab <schwab@suse.de>
11843
11844 [BZ #15946]
11845 * resolv/res_send.c (send_dg): Reload file descriptor after
11846 calling reopen.
11847
cf7bfd28
SL
118482014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11849
11850 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11851
111cc714
RH
118522014-06-03 Richard Henderson <rth@redhat.com>
11853
89b4bd6b
RH
11854 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11855 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11856 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11857 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11858 in the SAVE_PID block.
11859 (__libc_vfork): New alias.
71840409 11860 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11861
111cc714
RH
11862 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11863 child in registers, not on the stack. Remove RESET_PID conditionals.
11864 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11865
ccc39911
MS
118662014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11867
11868 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11869
693096cc
W
118702014-06-03 Wilco <wdijkstr@arm.com>
11871
11872 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11873 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11874 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11875 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11876 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11877 Likewise.
11878
0b4366bc
W
118792014-06-03 Wilco <wdijkstr@arm.com>
11880
11881 * sysdeps/aarch64/fpu/math_private.h
11882 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11883 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11884 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11885 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11886 Fix declarations.
11887
8747cd03
KS
118882014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11889
11890 * crypt/crypt-private.h: Include ufc-crypt.h.
11891 (__b64_from_24bit): Declare extern.
11892 * crypt/crypt_util.c(__b64_from_24bit): New function.
11893 (b64t): New static const variable.
11894 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11895 (b64t): Remove variable.
11896 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11897 * crypt/sha256-crypt.c: Include crypt-private.h.
11898 (b64t): Remove variable.
11899 (__sha256_crypt_r): Remove b64_from_24bit and replace
11900 with __b64_from_24bit.
11901 * crypt/sha512-crypt.c: Likewise.
11902
d936d379
RM
119032014-06-02 Roland McGrath <roland@hack.frob.com>
11904
11905 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11906 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11907 Label the code __libc_vfork rather than __vfork.
11908 [!NOT_IN_libc] (vfork): Define as weak alias.
11909 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11910 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11911 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11912
9fa76613
SP
119132014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11914
11915 * malloc/malloc.c (malloc_info): Fix format specifier for
11916 n_mmaps.
11917
a88dadbe
W
119182014-06-02 Wilco <wdijkstr@arm.com>
11919
11920 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11921 FPCR write.
11922
c95b3011
W
119232014-06-02 Wilco <wdijkstr@arm.com>
11924
11925 [BZ #17009]
11926 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11927 Rewrite to reduce FPCR/FPSR accesses.
11928
6b4d7a90
DM
119292014-06-01 David S. Miller <davem@davemloft.net>
11930
11931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11932
30f3d07c
DM
119332014-05-31 David S. Miller <davem@davemloft.net>
11934
11935 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11936 to occur in round to nearest mode when |x| >= 2.0
11937
74f31c18
RH
119382014-05-30 Richard Henderson <rth@twiddle.net>
11939
f0712b54
RH
11940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11941 (PSEUDO_RET_NOERRNO): Remove.
11942 (ret): Don't redefine.
11943 (ret_NOERRNO): Define in terms of ret.
11944 (ret_ERRVAL): Likewise.
11945
74f31c18
RH
11946 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11947 use of PSEUDO_RET; perform the error check directly.
11948
30477995
MM
119492014-05-30 Marko Myllynen <myllynen@redhat.com>
11950
11951 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11952 with __int128_t.
11953
62a58816
SP
119542014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11955
11956 * malloc/malloc (malloc_info): Fix formatting.
11957
4d653a59
SP
119582014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 Roland McGrath <roland@hack.frob.com>
11960
11961 * malloc/malloc (malloc_info): Also print mmapped statistics.
11962
5190c17f
RM
119632014-05-30 Roland McGrath <roland@hack.frob.com>
11964
11965 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11966 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11967
987c0269
OB
119682014-05-30 Ondřej Bílka <neleai@seznam.cz>
11969
11970 * malloc/malloc.c (malloc_info): Inline mi_arena.
11971
af4e8ef9
RH
119722014-05-29 Richard Henderson <rth@twiddle.net>
11973
1670e207
RH
11974 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11975 Remove comma before expanding ASM_ARGS_##nr.
11976 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11977 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11978 of ASM_ARGS_##nr.
11979 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11980 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11981 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11982 (ASM_ARGS_1): Add leading comma.
11983
11a28aee
RH
11984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11985 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11986 to __errno_location.
11987 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11988 Remove the expected plt for __errno_location.
11989
a17e5ffb 11990 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11991 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11992 call to __read_tp.
11993
b5be4597
RH
11994 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11995 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11996 it and break it down.
11997 (DOCARGS_0, DOCARGS_1): Do nothing.
11998 (DOCARGS_2): Update to store into the new stack frame.
11999 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12000 (UNDOCARGS_1): Update to restore from the new stack frame.
12001 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12002 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12003
645d44ab
RH
12004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12005 (SINGLE_THREAD_P): New parameter for result regno.
12006 (PSEUDO): Update to match; use cbz instead of beq.
12007
a8b4f04a
RH
12008 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12009 Use ENTRY to define the _nocancel entry point. Share the syscall
12010 and syscall error check paths with the cancel path.
12011 (PSEUDO_END): New.
12012
af4e8ef9
RH
12013 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12014 whitespace; tabs before and after asm mnemonics.
12015
26b0d2e1
EW
120162014-05-29 Eric Wong <normalperson@yhbt.net>
12017
12018 [BZ #15132]
12019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12020 Call fstat64 or stat64 internally, depending on arguments passed.
12021 Replace stat buffer argument with file descriptor argument.
12022 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12023 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12024 Pass fd to __internal_statvfs instead of calling fstat64.
12025 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12026 Pass fd to __internal_statvfs64 instead of calling fstat64.
12027 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12028 Pass -1 to __internal_statvfs instead of calling stat64.
12029 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12030 Pass -1 to __internal_statvfs64 instead of calling stat64.
12031
1efe2bd9
RM
120322014-05-28 Roland McGrath <roland@hack.frob.com>
12033
0d3b7a19
RM
12034 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12035 that was previously under [RESET_PID].
12036 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12037
1efe2bd9
RM
12038 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12039 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12040
a6bea3ca
RM
120412014-05-27 Roland McGrath <roland@hack.frob.com>
12042
30b6629e
RM
12043 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12044
a6bea3ca
RM
12045 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12046 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12047
3dfb9a5c
OB
120482014-05-27 Ondřej Bílka <neleai@seznam.cz>
12049
12050 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12051
774f9285
AS
120522014-05-27 Andreas Schwab <schwab@suse.de>
12053
12054 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12055 TLS_INIT_TP macro.
12056 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12057 * elf/rtld.c (init_tls, dl_main): Likewise.
12058 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12059 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12060 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12061 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12062 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12063 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12064 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12065 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12066 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12067 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12068 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12069 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12070 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12071 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12072 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12073 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12074 * sysdeps/generic/tls.h: Update description.
12075
36ffe739
WN
120762014-05-27 Will Newton <will.newton@linaro.org>
12077
12078 [BZ #16990]
12079 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12080 and restore r2 rather than just restoring.
12081
2482ae43
SP
120822014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
12084 [BZ #16724]
12085 * libio/tst-ftell-append.c: New test case.
12086 * libio/Makefile (tests): Add test case.
12087 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12088 append mode.
12089 * libio/wfileops.c (do_ftell_wide): Likewise.
12090
3d1024e8
AZ
120912014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092
bab90016
AZ
12093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12094
c7a8d667
AZ
12095 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12096 ...
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12099 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12100 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12101 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12102 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12103 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12104 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12106 Moved ...
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12109 Moved ...
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12111 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12112 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12113 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12114 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12115 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12116 ...
12117 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12119 Moved ...
12120 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12121 here.
12122 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12123 ...
12124 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12126 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12127
daee7851
AZ
12128 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12129 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12131 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12132
50a40819
AZ
12133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12134 merge into ...
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12137 ...
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12140 ...
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12143 Moved ...
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12145 here.
12146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12147 Moved ...
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12150 Moved ...
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12152
8464c2a1
AZ
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12154 conditional [RESET_PID].
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12157 removed.
12158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12159 removed.
12160
3d1024e8
AZ
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12162 <tcb-offsets.h>.
12163 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12164 (__libc_vfork): New strong alias.
12165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12166 removed.
12167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12168 Removed.
12169
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12171 <tcb-offsets.h>.
12172 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12173 (__libc_vfork): New strong alias.
12174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12175 removed.
12176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12177 removed.
12178
fdfd175d
CD
121792014-05-26 Carlos O'Donell <carlos@redhat.com>
12180
12181 * malloc/malloc.c (mi_arena): New function.
12182 (malloc_info): Remove nested function mi_arena. Call non-nosted
12183 function mi_arena.
12184
d298c416
AZ
121852014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12186
12187 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12188 by insrwi.
12189 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12190 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12191 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12192 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12193 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12194 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12195 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12196
b60ea6ff
AS
121972014-05-26 Andreas Schwab <schwab@suse.de>
12198
12199 [BZ #16984]
12200 * locale/programs/repertoire.c (repertoire_read): Add slash
12201 between I18NPATH element and file name.
12202 * locale/programs/locfile.c (locfile_read): Likewise.
12203
67365926
SL
122042014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12205
12206 * nptl/pthread_mutexattr_settype.c
12207 (__pthread_mutexattr_settype):
12208 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12209
f8bdf1f0
SL
122102014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12211
12212 * nptl/tst-mutex5 (do_test):
12213 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12214
15eaf6ff
SP
122152014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
12217 * benchtests/README: Document 'init' directive.
12218 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12219 BENCH_INIT.
12220 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12221 (parse_file): Recognize 'init' directive.
12222
75f11331
KM
122232014-05-26 Kyle McMartin <kyle@redhat.com>
12224
12225 [BZ #16796]
12226 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12227 alignment of struct pthread.
12228
c3ec475c
SP
122292014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12230
12231 [BZ #16878]
12232 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12233 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12234 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12235 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12236
82aab97c
RH
122372014-05-25 Richard Henderson <rth@twiddle.net>
12238
aa2f176d
RH
12239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12240 (SINGLE_THREAD_P_PIC): Remove.
12241 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12242 (SINGLE_THREAD_P_PIC): Remove.
12243
ca3cfa40
RH
12244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12245 branch to syscall error ...
12246 (PSEUDO): ... here.
12247 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12248 from __local_syscall_error to .Lsyscall_error.
12249 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12250 (SYSCALL_ERROR): Update label name.
12251
6e6c2d01
RH
12252 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12253 Do not use DOARGS/UNDOARGS.
12254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12255 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12256 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12257 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12258 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12259
c69abcee
RH
12260 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12261 block comment.
12262
82aab97c
RH
12263 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12264 define if !NOT_IN_libc.
12265 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12266 define with non-default symbol versions.
12267
8820e3ac
RH
122682014-05-23 Richard Henderson <rth@twiddle.net>
12269
900e445f
RH
12270 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12271 (vfork, __vfork): Define via compat_symbol.
12272
8820e3ac
RH
12273 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12274 [!HAVE_IFUNC] (vfork_compat): Remove.
12275 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12276
e59252a5
JM
122772014-05-23 Joseph Myers <joseph@codesourcery.com>
12278
12279 [BZ #16978]
12280 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12281 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12282 variable.
12283
132c7f5f
RH
122842014-05-23 Richard Henderson <rth@twiddle.net>
12285
bc89e962
RH
12286 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12287 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12288 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12289 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12290
12291 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12292 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12293 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12294 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12295 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12296 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12297 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12298 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12299 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12300 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12301 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12302 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12303 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12306 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12312 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12313 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12316 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12317 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12318 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12319 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12324 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12325 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12326 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12327 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12328 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12330 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12331 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12332 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12333 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12334 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12335 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12336 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12337 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12338 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12339 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12340 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12342 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12344 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12345 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12346 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12347
e2fa4bc2
RH
12348 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12349 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12350 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12351 before exiting on error.
12352 (__libc_vfork): New strong alias.
12353 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12354 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12355
279b24e2
RH
12356 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12357 that was previously under [RESET_PID].
12358 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12359
132c7f5f
RH
12360 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12361
b72592e7
JM
123622014-05-23 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #16977]
12365 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12366 value when x - 1 is zero.
12367 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12368 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12369 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12370 0.0L for an argument of 1.0L.
12371 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12372 Likewise.
12373 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12374 value when x - 1 is zero.
12375 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12376 * sysdeps/i386/fpu/libm-test-ulps: Update.
12377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12378
2302d679
RV
123792014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12380
12381 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12382 alphasort and versionsort.
12383
32999d63
AZ
123842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12385
12386 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12387 macro.
12388 [copysignf]: Likewise.
12389
019324d0
SP
123902014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12391
12392 * crypt/md5-crypt.c: Fix formatting.
12393
34fff5c2
KS
123942014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12395
12396 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12397 (b64_from_24bit): New function.
12398
3d2badac
AZ
123992014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12400
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12402 libc_hidden_builtin_def to ifunc.
12403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12404 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12405
f7bb179f 124062014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12407
12408 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12409 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12410
4134b50d
JM
124112014-05-21 Joseph Myers <joseph@codesourcery.com>
12412
bb7d0337
JM
12413 * nscd/Depend (linuxthreads): Remove.
12414 (nptl): Add.
12415 * resolv/Depend (linuxthreads): Remove.
12416 * rt/Depend (linuxthreads): Remove.
12417
4134b50d
JM
12418 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12419 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12420 $(common-objpfx)elf/.
12421 (link-libc-before-gnulib): Likewise.
12422 (elfobjdir): Remove variable.
12423 * Makefile (install): Use $(elf-objpfx) instead of
12424 $(common-objpfx)elf/.
12425 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12426 $(elfobjdir)/.
12427 (link-libc-deps): Likewise.
12428 ($(common-objpfx)libc.so): Likewise.
12429 ($(common-objpfx)linkobj/libc.so): Likewise.
12430 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12431 instead of $(common-objpfx)elf/.
12432 (symbolic-link-list): Likewise.
12433 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12434 [$(cross-compiling) = no]: Likewise.
12435 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12436 $(elfobjdir)/.
12437 (static-gnulib-arch): Likewise.
12438 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12439 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12440 $(common-objpfx)elf/.
12441
3612eb8f
RH
124422014-05-21 Richard Henderson <rth@redhat.com>
12443
a6b3657b
RH
12444 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12445 (SINGLE_THREAD_P): Use the correct width load. Fold
12446 into the ldr offset.
12447
3612eb8f
RH
12448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12449 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12450
175cef41
JM
124512014-05-20 Joseph Myers <joseph@codesourcery.com>
12452
12453 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12454 (libgcc_s_resume): Use __attribute_used__.
12455 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12456 Likewise.
12457
e13bccd3
AZ
124582014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12459
12460 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12461 optimization when used with float constants.
12462
7c112a38
AZ
12463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12464
ae75a883
AJ
124652014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12466
12467 [BZ #16915]
12468 * locale/nl_langinfo_l.c: Make direct reference to every
12469 _nl_current_CATEGORY symbol.
12470 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12471 (tests-static): Add tst-langinfo-static.
12472 (tests-special): Add tst-langinfo-static.out.
12473 ($(objpfx)tst-langinfo.out): Redirect output.
12474 ($(objpfx)tst-langinfo-static.out): New.
12475 * localedata/tst-langinfo.sh: Send output to stdout.
12476 * localedata/tst-langinfo-static.c: New file.
12477
4406c41c
AJ
12478 [BZ #16965]
12479 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12480 when the shift amount is modulo the limb size.
12481
4c0a1e63
RH
124822014-05-20 Richard Henderson <rth@redhat.com>
12483
de9d8f20
RH
12484 [BZ #16967]
12485 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12486 Change type of sa_flags from unsigned int to int.
12487
4c0a1e63
RH
12488 [BZ #16966]
12489 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12490
12491 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12492
a60339aa
WN
124932014-05-20 Will Newton <will.newton@linaro.org>
12494
12495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12496 Test the return value of the system call in the nocancel case.
12497
7d05a816
YR
124982014-05-20 Will Newton <will.newton@linaro.org>
12499 Yvan Roux <yvan.roux@linaro.org>
12500
12501 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12502 #include of asm/ptrace.h.
12503 (PTRACE_GET_THREAD_AREA): Remove #undef.
12504 (PTRACE_GETHBPREGS): Likewise.
12505 (PTRACE_SETHBPREGS): Likewise.
12506 (struct user_regs_struct): New structure.
12507 (struct user_fpsimd_struct): New structure.
12508 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12509 #include of asm/ptrace.h and second #include of sys/user.h.
12510 (PTRACE_GET_THREAD_AREA): Remove #undef.
12511 (PTRACE_GETHBPREGS): Likewise.
12512 (PTRACE_SETHBPREGS): Likewise.
12513 (ELF_NGREG): Use new struct user_regs_struct.
12514 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12515
af121e37
AZ
125162014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517
12518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12520
834caf06
JM
125212014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12522
12523 [BZ #16958]
12524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12525 membar to avoid block loads/stores to overlap previous stores.
12526
e184a918
RH
125272014-05-17 Richard Henderson <rth@redhat.com>
12528
12529 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12530 Create the __##syscall_name##_nocancel entry point.
12531 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12532 Remove; let the sysdep-cancel.h code create it.
12533
f56c7a6a
DM
125342014-05-17 David S. Miller <davem@davemloft.net>
12535
12536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12537 Protect with __USE_GNU.
12538 (TIOCSET_TEMPT): Likewise.
12539 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12540 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12541 these are already provided in bits/ioctl-types.h
12542
f75616b2
RM
125432014-05-16 Roland McGrath <roland@hack.frob.com>
12544
3edeca86
RM
12545 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12546 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12547
f75616b2
RM
12548 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12549 Use wait4 regardless of [__NR_waitpid].
12550
deb0f7f6
MR
125512014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12552
12553 PR libgcc/60166
12554 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12555 (_FP_NANSIGN_Q): Set the quiet bit.
12556
79520f4b
JM
125572014-05-16 Joseph Myers <joseph@codesourcery.com>
12558
12559 * benchtests/Makefile
12560 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12561 not $(common-objpfx)math/libm.so.
12562 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12563 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12564 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12565 $(common-objpfx)dlfcn/libdl.so.
12566 ($(objpfx)tst-audit8): Depend on $(libm), not
12567 $(common-objpfx)math/libm.so.
12568 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12569 not $(common-objpfx)dlfcn/libdl.so.
12570 * math/Makefile
12571 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12572 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12573 [$(build-shared) = yes].
12574 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12575 $(common-objpfx)nptl/libpthread.so.
12576 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12577 $(common-objpfx)math/libm.so$(libm.so-version) or
12578 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12579 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12580 $(common-objpfx)dlfcn/libdl.so.
12581 * setjmp/Makefile (link-libm): Remove variable.
12582 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12583 * stdio-common/Makefile (link-libm): Remove variable.
12584 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12585 * stdlib/Makefile (link-libm): Remove variable.
12586 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12587 ($(objpfx)tst-strtod-round): Likewise.
12588 ($(objpfx)tst-tininess): Likewise.
12589 ($(objpfx)tst-strtod-underflow): Likewise.
12590 ($(objpfx)tst-strtod6): Likewise.
12591 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12592 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12593 $(common-objpfx)dlfcn/libdl.so.
12594
026b0fe4
AZ
125952014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12596
12597 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12598 BSD terminal modes definitions.
12599
def4bcb2
RM
126002014-05-16 Roland McGrath <roland@hack.frob.com>
12601
fe39b021
RM
12602 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12603 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12604
1d1fc46e 12605 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12606 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12607 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12608 Don't do #include_next.
12609 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12610 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12611 Don't do #include_next.
12612 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12613 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12614 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12615 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12616
c72399fb
AM
126172014-05-16 Allan McRae <allan@archlinux.org>
12618
d51d659d
AM
12619 * po/sv.po: Update Swedish translation from translation project.
12620
c72399fb
AM
12621 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12622 in sed expression.
12623
d0583c40
AJ
126242014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12625
12626 [BZ #16917]
12627 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12628 errno if the TIOCGPTN ioctl fails with an error different than
12629 EINVAL.
12630 * login/tst-ptsname.c: New file.
12631 * login/Makefile (tests): Add tst-ptsname.
12632
d16e6ec7
AJ
12633 [BZ #16943]
12634 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12635 and prlimit64.
12636
cf26a0cb
SP
126372014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12638
12639 [BZ #16849]
12640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12641 herrno to return EAI_AGAIN.
12642
5675da1e
RM
126432014-05-14 Roland McGrath <roland@hack.frob.com>
12644
a5d87b3d
RM
12645 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12646 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12647 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12648 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12649 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12650 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12651 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12652 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12653 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12654 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12655 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12656 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12657 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12658 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12659 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12660 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12661 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12662 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12663 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12664 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12665 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12666 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12667 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12668 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12669 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12670 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12671 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12672 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12673 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12674 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12676 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12678 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12680 Moved ...
12681 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12683 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12685 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12687 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12689 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12691 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12693 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12695 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12697 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12699 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12701 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12703 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12705 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12707 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12709 Moved ...
12710 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12712 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12714 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12716 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12718 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12720 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12722 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12724 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12728 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12730 Moved ...
12731 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12733 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12734
039890a6
RM
12735 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12736 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12737 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12738 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12739 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12740 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12741 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12742 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12743 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12744 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12745 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12746 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12747 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12748 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12749 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12750 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12751 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12752 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12753 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12754 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12755 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12756 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12757 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12758 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12759 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12761 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12762 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12763 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12764 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12765 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12766
65c89320
RM
12767 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12768 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12769
348f8e8c
RM
12770 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12771 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12772 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12773 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12774 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12775 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12776 Moved ...
12777 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12778 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12779 Moved ...
12780 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12781 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12782 Moved ...
12783 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12785 Moved ...
12786 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12787 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12788 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12789 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12790 Moved ...
12791 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12792 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12793 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12795 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12796 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12797 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12799 Moved ...
12800 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12802 Moved ...
12803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12804 ... here.
12805 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12806 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12807 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12808 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12809 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12810 Moved ...
12811 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12812 ... here.
12813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12814 Moved ...
12815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12816 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12817 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12818 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12819 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12820 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12821 Moved ...
12822 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12823 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12824 Moved ...
12825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12827 Moved ...
12828 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12830 Moved ...
12831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12833 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12835 Moved ...
12836 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12837 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12838 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12840 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12841 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12842 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12844 Moved ...
12845 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12847 Moved ...
12848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12849 ... here.
12850 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12851 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12852 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12853 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12854 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12855 Moved ...
12856 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12857 ... here.
12858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12859 Moved ...
12860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12861 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12862 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12863 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12864 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12865 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12866 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12867 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12868 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12869 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12870 Moved ...
12871 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12873 Moved ...
12874 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12876 Moved ...
12877 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12879 Moved ...
12880 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12881 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12882 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12883 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12884 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12886 Moved ...
12887 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12889 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12891 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12893 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12895 Moved ...
12896 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12898 Moved ...
12899 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12900 ... here.
12901 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12902 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12903 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12904 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12905 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12906 Moved ...
12907 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12908 ... here.
12909 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12910 Moved ...
12911 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12913 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12915 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12917 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12919 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12921 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12922
5085af05
RM
12923 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12924 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12925
708f0813
RM
12926 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12927 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12928
c96067bc
RM
12929 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12930 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12931 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12932 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12933 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12934 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12935 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12936 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12937 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12938 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12943 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12945 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12947 Moved ...
12948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12949 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12950 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12952 Moved ...
12953 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12955 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12957 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12959 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12961 Moved ...
12962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12964 Moved ...
12965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12971 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12972 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12973 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12975 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12977 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12979 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12981 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12982
ec136444
RM
12983 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12984 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12985 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12986 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12987 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12988
2fbdf533
RM
12989 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12990 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12992 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12993 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12994 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12995 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12996 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12997 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12998 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12999
4c68138b
RM
13000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13001 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13002
4eaae765
RM
13003 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13004 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13005 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13006 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13008 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13009 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13010 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13011 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13012 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13013 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13014 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13015 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13016 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13017 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13018 Update #include.
13019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13020 Likewise.
13021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13022 Likewise.
13023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13024 Likewise.
13025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13026 Likewise.
13027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13028 Likewise.
13029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13030 Likewise.
13031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13032 Likewise.
13033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13034 Likewise.
13035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13036 Likewise.
4ef6befa
RM
13037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13043 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13048 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13052
941d7dfd
RM
13053 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13054 that was previously under [RESET_PID].
13055 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13056 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13057 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13058
1b731c35
RM
13059 * sysdeps/i386/nptl/Implies: New file.
13060 * sysdeps/x86_64/nptl/Implies: New file.
13061 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13062 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13063 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13064 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13065
e2787137
RM
13066 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13067 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13068 (__libc_vfork): New strong alias.
13069 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13070 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13071
13072 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13073 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13074 (__libc_vfork): New strong alias.
13075 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13076 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13077
5675da1e
RM
13078 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13079 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13080 (__libc_vfork): New strong alias.
13081 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13082 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13083 * nptl/pt-vfork.c: New file.
13084 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13085 (libpthread: GLIBC_2.20): New version set (empty).
13086
4f02e2b8
WN
130872014-05-14 Will Newton <will.newton@linaro.org>
13088
13089 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13090 rather than #if.
13091
0bf061d3
JM
130922014-05-14 Joseph Myers <joseph@codesourcery.com>
13093
1a84c3d6
JM
13094 [BZ #16564]
13095 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13096 arguments with exponent 65 or above.
13097 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13098 arguments 0x1p113L or above.
13099 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13100 to arguments 0x1p107L or above.
13101 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13102 positive arguments with exponent 65 or above.
13103 * math/auto-libm-test-in: Add more tests of log1p.
13104 * math/auto-libm-test-out: Regenerated.
13105
01dbacd2
JM
13106 [BZ #16928]
13107 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13108 non-finite arguments is +0.
13109 * math/s_cacosf.c (__cacosf): Likewise.
13110 * math/s_cacosl.c (__cacosl): Likewise.
13111 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13112 * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13114
913d03c8
JM
13115 [BZ #16927]
13116 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13117 value.
13118 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13119 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13120 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13121 for explicit high bit of mantissa when testing for argument equal
13122 to 1.
13123 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13124 * sysdeps/i386/fpu/libm-test-ulps: Update.
13125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13126
0bf061d3
JM
13127 [BZ #16516]
13128 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13129 (__erf): Scale by 16 instead of 8 in potentially underflowing
13130 case. Ensure exception if result actually underflows.
13131 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13132 (__erff): Scale by 16 instead of 8 in potentially underflowing
13133 case. Ensure exception if result actually underflows.
13134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13135 (efx8): Remove variable.
13136 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13137 case. Ensure exception if result actually underflows.
13138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13139 (efx8): Remove variable.
13140 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13141 case. Ensure exception if result actually underflows.
13142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13143 (efx8): Remove variable.
13144 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13145 case. Ensure exception if result actually underflows.
13146 * math/auto-libm-test-in: Add more tests of erf.
13147 * math/auto-libm-test-out: Regenerated.
13148
73ba67cb
AS
131492014-05-14 Andreas Schwab <schwab@suse.de>
13150
3d8c8bff
AS
13151 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13152 Remove code conditionalized on USE___THREAD.
13153
73ba67cb
AS
13154 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13155 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13156 not definedness.
13157
5c521ecd
JM
131582014-05-14 Joseph Myers <joseph@codesourcery.com>
13159
5e7698c6
JM
13160 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13161 Define unconditionally.
13162 (__ASSUME_O_CLOEXEC): Likewise.
13163 (__ASSUME_SOCK_CLOEXEC): Likewise.
13164 (__ASSUME_IN_NONBLOCK): Likewise.
13165 (__ASSUME_PIPE2): Likewise.
13166 (__ASSUME_EVENTFD2): Likewise.
13167 (__ASSUME_SIGNALFD4): Likewise.
13168 (__ASSUME_DUP3): Likewise.
13169 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13170 (__ASSUME_DUP3): Do not define.
13171 (__ASSUME_EVENTFD2): Likewise.
13172 (__ASSUME_IN_NONBLOCK): Likewise.
13173 (__ASSUME_O_CLOEXEC): Likewise.
13174 (__ASSUME_PIPE2): Likewise.
13175 (__ASSUME_SIGNALFD4): Likewise.
13176 (__ASSUME_SOCK_CLOEXEC): Likewise.
13177 (__ASSUME_UTIMES): Undefine.
13178 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13179 (__ASSUME_UTIMES): Do not define.
13180 (__ASSUME_O_CLOEXEC): Likewise.
13181 (__ASSUME_SOCK_CLOEXEC): Likewise.
13182 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13183 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13184 0x020621].
13185 (__ASSUME_PIPE2): Likewise.
13186 (__ASSUME_EVENTFD2): Likewise.
13187 (__ASSUME_SIGNALFD4): Likewise.
13188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13189 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13190 Do not define.
13191 (__ASSUME_EVENTFD2): Likewise.
13192 (__ASSUME_SIGNALFD4): Likewise.
13193 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13194 (__ASSUME_32BITUIDS): Likewise.
13195 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13196 (__ASSUME_IPC64): Likewise.
13197 (__ASSUME_ST_INO_64_BIT): Likewise.
13198 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13199 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13200 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13201 (__ASSUME_UTIMES): Do not define.
13202 (__ASSUME_PSELECT): Likewise.
13203 (__ASSUME_PPOLL): Likewise.
13204 (__ASSUME_O_CLOEXEC): Likewise.
13205 (__ASSUME_SOCK_CLOEXEC): Likewise.
13206 (__ASSUME_IN_NONBLOCK): Likewise.
13207 (__ASSUME_PIPE2): Likewise.
13208 (__ASSUME_EVENTFD2): Likewise.
13209 (__ASSUME_SIGNALFD4): Likewise.
13210 (__ASSUME_DUP3): Likewise.
13211 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13212 (__ASSUME_UTIMES): Likewise.
13213 (__ASSUME_O_CLOEXEC): Likewise.
13214 (__ASSUME_SOCK_CLOEXEC): Likewise.
13215 (__ASSUME_IN_NONBLOCK): Likewise.
13216 (__ASSUME_PIPE2): Likewise.
13217 (__ASSUME_EVENTFD2): Likewise.
13218 (__ASSUME_SIGNALFD4): Likewise.
13219 (__ASSUME_DUP3): Likewise.
13220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13221 (__ASSUME_UTIMES): Likewise.
13222 (__ASSUME_O_CLOEXEC): Likewise.
13223 (__ASSUME_SOCK_CLOEXEC): Likewise.
13224 (__ASSUME_IN_NONBLOCK): Likewise.
13225 (__ASSUME_PIPE2): Likewise.
13226 (__ASSUME_EVENTFD2): Likewise.
13227 (__ASSUME_SIGNALFD4): Likewise.
13228 (__ASSUME_DUP3): Likewise.
13229 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13230 Likewise.
13231 (__ASSUME_UTIMES): Likewise.
13232 (__ASSUME_EVENTFD2): Likewise.
13233 (__ASSUME_SIGNALFD4): Likewise.
13234 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13235 (__ASSUME_O_CLOEXEC): Likewise.
13236 (__ASSUME_SOCK_CLOEXEC): Likewise.
13237 (__ASSUME_IN_NONBLOCK): Likewise.
13238 (__ASSUME_PIPE2): Likewise.
13239 (__ASSUME_EVENTFD2): Likewise.
13240 (__ASSUME_SIGNALFD4): Likewise.
13241 (__ASSUME_DUP3): Likewise.
13242 (__ASSUME_UTIMES): Undefine.
13243
5c521ecd
JM
13244 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13245 feclearexcept. Remove symbol versioning code.
13246 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13247 symbol versioning code.
13248 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13249 symbol versioning code.
13250 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13251 feupdateenv. Remove symbol versioning code.
13252 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13253 fegetexceptflag. Remove symbol versioning code.
13254 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13255 fesetexceptflag. Remove symbol versioning code.
13256 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13257 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13258 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13259 (__posix_fadvise64_l32): Remove prototype.
13260 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13261 code.
13262
5da9dfad
RM
132632014-05-13 Roland McGrath <roland@hack.frob.com>
13264
13265 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13266 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13267 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13268 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13269
893b4f37
SK
132702014-05-13 Sami Kerola <kerolasa@iki.fi>
13271
13272 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13273 current working directory
13274
e0db6517
RM
132752014-05-13 Roland McGrath <roland@hack.frob.com>
13276
58aa195d
RM
13277 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13278 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13279 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13280 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13281 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13282 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13283 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13284 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13286 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13287 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13288 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13289 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13290 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13291 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13292 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13293 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13294 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13296 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13298 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13299 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13300 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13301 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13302 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13306 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13307 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13308 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13309 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13310 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13311 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13312 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13313 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13314 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13315 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13316 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13317 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13318 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13319
8c6d01f0
RM
13320 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13321 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13322
13323 * sysdeps/unix/sysv/linux/arm/Makefile
13324 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13325 Add rt-aeabi_unwind_cpp_pr1.
13326 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13327 Add nptl-aeabi_unwind_cpp_pr1.
13328 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13329 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13330 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13331 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13332 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13333 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13334
13335 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13336 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13337 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13338 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13339
bba6da4e
RM
13340 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13341 Deconditionalize the code that was previously under [RESET_PID].
13342 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13343
e0db6517
RM
13344 * sysdeps/generic/exit-thread.h: New file.
13345 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13346 * include/unistd.h (__exit_thread): Remove declaration.
13347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13348 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13349 * csu/libc-start.c: Include <exit-thread.h>.
13350 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13351 * nptl/pthread_create.c: Include <exit-thread.h>.
13352 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13353 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13354 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13355 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13356 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13357 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13358 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13359 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13360 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13361 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13362 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13363 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13364 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13365 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13366 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13367 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13368 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13369
01eb16fd
AS
133702014-05-13 Andreas Schwab <schwab@suse.de>
13371
13372 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13373
637461d9
JM
133742014-05-12 Joseph Myers <joseph@codesourcery.com>
13375
13376 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13377 (__ASSUME_UTIMES): Do not condition on kernel version.
13378 (__ASSUME_PSELECT): Define unconditionally.
13379 (__ASSUME_PPOLL): Likewise.
13380 (__ASSUME_ATFCTS): Likewise.
13381 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13382 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13383 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13384 (__ASSUME_UTIMENSAT): Define unconditionally.
13385 (__ASSUME_PRIVATE_FUTEX): Likewise.
13386 (__ASSUME_FALLOCATE): Likewise.
13387 (__ASSUME_O_CLOEXEC): Likewise.
13388 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13389 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13390 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13391 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13392 (__ASSUME_IN_NONBLOCK): Likewise.
13393 (__ASSUME_PIPE2): Likewise.
13394 (__ASSUME_EVENTFD2): Likewise.
13395 (__ASSUME_SIGNALFD4): Likewise.
13396 (__ASSUME_DUP3): Likewise.
13397 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13398 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13399 (__ASSUME_AT_RANDOM): Likewise.
13400 (__ASSUME_PREADV): Likewise.
13401 (__ASSUME_PWRITEV): Likewise.
13402 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13403 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13404 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13405 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13406 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13407 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13408 (__ASSUME_O_CLOEXEC): Define unconditionally.
13409 (__ASSUME_PSELECT): Do not undefine conditionally.
13410 (__ASSUME_PPOLL): Likewise.
13411 (__ASSUME_ATFCTS): Likewise.
13412 (__ASSUME_SET_ROBUST_LIST): Likewise.
13413 (__ASSUME_UTIMENSAT): Likewise.
13414 (__ASSUME_FDATASYNC): Define unconditionally.
13415 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13416 (__ASSUME_SIGFRAME_V2): Likewise.
13417 )__ASSUME_EVENTFD2): Likewise.
13418 (__ASSUME_SIGNALFD4): Likewise.
13419 (__ASSUME_PSELECT): Do not undefine conditionally.
13420 (__ASSUME_PPOLL): Likewise.
13421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13422 (__ASSUME_PSELECT): Define unconditionally.
13423 (__ASSUME_PPOLL): Likewise.
13424 (__ASSUME_O_CLOEXEC): Likewise.
13425 (__ASSUME_SOCK_CLOEXEC): Likewise.
13426 (__ASSUME_IN_NONBLOCK): Likewise.
13427 (__ASSUME_PIPE2): Likewise.
13428 (__ASSUME_EVENTFD2): Likewise.
13429 (__ASSUME_SIGNALFD4): Likewise.
13430 (__ASSUME_DUP3): Likewise.
13431 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13432 (__ASSUME_O_CLOEXEC): Likewise.
13433 (__ASSUME_SOCK_CLOEXEC): Likewise.
13434 (__ASSUME_IN_NONBLOCK): Likewise.
13435 (__ASSUME_PIPE2): Likewise.
13436 (__ASSUME_EVENTFD2): Likewise.
13437 (__ASSUME_SIGNALFD4): Likewise.
13438 (__ASSUME_DUP3): Likewise.
13439 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13440 (__ASSUME_EVENTFD2): Likewise.
13441 (__ASSUME_SIGNALFD4): Likewise.
13442 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13443
315eb1d8
AS
134442014-05-12 Andreas Schwab <schwab@suse.de>
13445
13446 [BZ #16932]
13447 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13448 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13449 than maximum RPC packet size.
13450 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13451 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13452 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13453 (_nss_nis_getservbyport_r): Likewise.
13454
91df99f7
WN
134552014-05-12 Will Newton <will.newton@linaro.org>
13456
13457 * malloc/Makefile (tests): Add tst-mallopt.
13458 * malloc/tst-mallopt.c: New file.
13459
0a982a29
RM
134602014-05-09 Roland McGrath <roland@hack.frob.com>
13461
13462 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13463 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13464
0ded08a5
AZ
134652014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466
13467 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13468 (tst-tlsmod6.so): Likewise.
13469
55d4d550
RM
134702014-05-09 Roland McGrath <roland@hack.frob.com>
13471
13472 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13473
77d08aca
JM
134742014-05-09 Joseph Myers <joseph@codesourcery.com>
13475
13476 [BZ #16064]
13477 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13478 and <dl-procinfo.h>.
13479 (__fegetenv): Save SSE state in envp->__eip if supported.
13480 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13481 envp->__eip if supported.
13482 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13483 and <dl-procinfo.h>.
13484 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13485 __data_offset and __data_selector in environment to 0. Set SSE
13486 state if supported.
13487 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13488 test-fenv-sse.
13489 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13490 -mfpmath=sse.
13491 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13492
28162f4d
WN
134932014-05-09 Will Newton <will.newton@linaro.org>
13494
13495 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13496 and libc_relro_required for ARM.
13497 * sysdeps/arm/preconfigure: Regenerate.
13498
5a414ff7
DV
134992014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13500 Stefan Liebler <stli@linux.vnet.ibm.com>
13501
13502 * config.make.in (enable-lock-elision): New Makefile variable.
13503 * configure.ac: Likewise.
13504 * configure: Regenerate.
13505 * sysdeps/s390/configure.ac:
13506 Add check for gcc transactions support.
13507 * sysdeps/s390/configure: Regenerate.
13508 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13509 Build elision files if enabled.
13510 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13511 Add lock elision support for s390.
13512 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13513 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13514 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13515 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13516 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13517 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13518 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13519 Likewise.
13520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13521 Likewise.
13522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13523 Likewise.
13524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13525 Likewise.
13526 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13527 (__lll_timedlock_elision, __lll_lock_elision)
13528 (__lll_unlock_elision, __lll_trylock_elision)
13529 (lll_timedlock_elision, lll_lock_elision)
13530 (lll_unlock_elision, lll_trylock_elision): Add.
13531 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13532 (pthread_mutex_t): Add lock elision support for s390.
13533
1a2f40e5
W
135342014-05-14 Wilco <wdijkstr@arm.com>
13535
13536 * sysdeps/arm/fclrexcpt.c: Cleanup.
13537 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13538 * sysdeps/arm/feenablxcpt.c: Cleanup.
13539 * sysdeps/arm/fegetenv.c: Cleanup.
13540 * sysdeps/arm/fegetexcept.c: Cleanup.
13541 * sysdeps/arm/fegetround.c: Cleanup.
13542 * sysdeps/arm/feholdexcpt.c: Cleanup.
13543 * sysdeps/arm/fesetenv.c: Cleanup.
13544 * sysdeps/arm/fesetround.c: Cleanup.
13545 * sysdeps/arm/feupdateenv.c: Cleanup.
13546 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13547 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13548 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13549 * sysdeps/arm/ftestexcept.c: Cleanup.
13550 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13551 * sysdeps/arm/setfpucw.c: Cleanup.
13552
f63c86fe
WN
135532014-05-09 Will Newton <will.newton@linaro.org>
13554
13555 * sysdeps/arm/armv7/strcmp.S: New file.
13556 * NEWS: Mention addition of ARMv7 optimized strcmp.
13557
7a1a51b5
RM
135582014-05-08 Roland McGrath <roland@hack.frob.com>
13559
95afbbe5
RM
13560 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13561 look for %.ac rather than %.in.
13562
13563 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13564 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13565 * sysdeps/mach/hurd/configure: Regenerated.
13566 * sysdeps/unix/sysv/linux/configure: Regenerated.
13567
7a1a51b5
RM
13568 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13569
5057ad3b
SE
135702014-05-07 Steve Ellcey <sellcey@mips.com>
13571
13572 [BZ# 16922]
13573 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13574 (LONG_SUB): Ditto.
13575 (PTR_SUB): Ditto.
13576
8dc97517
AS
135772014-05-07 Andreas Schwab <schwab@suse.de>
13578
13579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13580 when skipping over non-matching result from nscd.
13581
ce0c5b8f
OB
135822014-05-07 Ondřej Bílka <neleai@seznam.cz>
13583
13584 [BZ #16876]
13585 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13586
a1189263
OB
13587 [BZ #16877]
13588 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13589 nscd security class.
ce0c5b8f 13590
0f58d252
RM
135912014-05-06 Roland McGrath <roland@hack.frob.com>
13592
13593 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13594 * sysdeps/arm/unwind.h: ... here.
13595
83df9ad0
AJ
135962014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13597
ce0c5b8f
OB
13598 [BZ# 16916]
13599 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13600 Define.
83df9ad0 13601
f360f94a
VR
136022014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13603
13604 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13605 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13606 multiarch strncpy for PPC64.
13607 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13608 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13610 multiarch optimizations.
13611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13612 (__libc_ifunc_impl_list): Likewise.
13613 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13614 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13615 multiarch stpncpy for PPC64.
13616 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13617 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13618
978a41c3
AS
136192014-05-06 Andreas Schwab <schwab@suse.de>
13620
13621 [BZ #16912]
13622 * gmon/mcount.c (_MCOUNT_DECL): Use
13623 atomic_compare_and_exchange_bool_acq instead of
13624 catomic_compare_and_exchange_bool_acq.
13625
eb1ed03d
RM
136262014-05-05 Roland McGrath <roland@hack.frob.com>
13627
fe658845
RM
13628 * elf/Makefile (others, install-bin): Remove pldd.
13629 (pldd-modules): Variable removed.
13630 ($(objpfx)pldd): Target removed.
13631 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13632 (others, install-bin): Append pldd here.
13633 ($(objpfx)pldd): New target.
13634
eb1ed03d
RM
13635 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13636 to 0, so the first #if test emitted later doesn't see it undefined.
13637 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13638 * sysdeps/gnu/errlist.c: Regenerated.
13639
19c4bec0
AZ
136402014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13641
13642 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13643 [libc_hidden_builtin_def]: Define to empty value.
13644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13645 [libc_hidden_builtin_def]: Likewise.
13646 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13647 [libc_hidden_builtin_def]: Likewise.
13648 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13649 [libc_hidden_builtin_def]: Likewise.
13650 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13651 __redirect_memcpy and define ifunc as default hidden symbol.
13652 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13653 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13654
7776e669
AC
136552014-05-04 Adam Conrad <adconrad@0c3.net>
13656
13657 * locale/iso-4217.def: Reintroduce XDR currency.
13658
d69aeb12
AM
136592014-05-04 Allan McRae <allan@archlinux.org>
13660
13661 * po/eo.po: Update Esperanto translation from translation project.
13662
8f1df5cf
CD
136632014-05-02 Carlos O'Donell <carlos@redhat.com>
13664
13665 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13666 and FEATURE_INDEX_MAX to 1.
13667 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13668
13e402e7
SE
136692014-05-01 Steve Ellcey <sellcey@mips.com>
13670
13671 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13672 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13673 * iconvdata/big5.c (ONE_DIRECTION): Define.
13674 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13675 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13676 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13677 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13678 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13679 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13680 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13681 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13682 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13683 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13684 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13685 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13686 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13687 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13688 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13689 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13690 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13691 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13692 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13693 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13694 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13695 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13696 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13697 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13698 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13699 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13700 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13701 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13702 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13703 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13704 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13705 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13706 * iconvdata/johab.c (ONE_DIRECTION): Define.
13707 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13708 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13709 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13710 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13711 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13712 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13713 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13714 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13715 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13716 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13717
c727f032
RM
137182014-05-01 Roland McGrath <roland@hack.frob.com>
13719
8f2f08d0
RM
13720 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13721 (_IO_JUMPS_OFFSET): Define to 0.
13722
c727f032
RM
13723 * nptl/sysdeps/pthread/bits/libc-lock.h
13724 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13725 (__libc_lock_define_initialized_recursive): Always define using
13726 initializer. Modern compilers treat uninitialized (implicit zero) and
13727 explicit zero initializers the same (i.e. put the datum in bss).
13728
a849e800
AS
137292014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 * nscd/nscd-client.h: Include <string.h>.
13732
5331255b
DM
137332014-05-01 David S. Miller <davem@davemloft.net>
13734
13735 [BZ #16885]
13736 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13737 multiple zero bytes exist at the end of a string.
13738 Reported by Aurelien Jarno <aurelien@aurel32.net>
13739
13740 * string/test-strcmp.c (check): Add explicit test for situations where
13741 there are multiple zero bytes after the first.
13742
4fdfe821
AS
137432014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13744
13745 [BZ #16890]
13746 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13747 when compiling wprintf.
13748 * stdio-common/tstdiomisc.c (t3): New function.
13749 (main): Call it.
13750
0cdddc25
SE
137512014-05-01 Steve Ellcey <sellcey@mips.com>
13752
13753 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13754 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13755 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13756 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13757
6426d77e
SE
137582014-05-01 Steve Ellcey <sellcey@mips.com>
13759
13760 * stdlib/longlong.h: Updated from GCC.
13761
6d96f5e4
WN
137622014-05-01 Will Newton <will.newton@linaro.org>
13763 Bernard Ogden <bernie.ogden@linaro.org>
13764
7470db0c
WN
13765 * NEWS: Update fixed bug list.
13766
6d96f5e4
WN
13767 [BZ #15119]
13768 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13769
211d653c
DM
137702014-04-30 David S. Miller <davem@davemloft.net>
13771
4fa262fa
DM
13772 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13773 (libc_feholdexcept_setround_sparc_ctx): New function.
13774 (libc_fesetenv_sparc_ctx): Likewise.
13775 (libc_feupdateenv_sparc_ctx): Likewise.
13776 (libc_feholdsetround_sparc_ctx): Likewise.
13777 (libc_feholdexcept_setround_ctx): Define.
13778 (libc_feholdexcept_setroundf_ctx): Likewise.
13779 (libc_feholdexcept_setroundl_ctx): Likewise.
13780 (libc_fesetenv_ctx): Likewise.
13781 (libc_fesetenvf_ctx): Likewise.
13782 (libc_fesetenvl_ctx): Likewise.
13783 (libc_feupdateenv_ctx): Likewise.
13784 (libc_feupdateenvf_ctx): Likewise.
13785 (libc_feupdateenvl_ctx): Likewise.
13786 (libc_feresetround_ctx): Likewise.
13787 (libc_feresetroundf_ctx): Likewise.
13788 (libc_feresetroundl_ctx): Likewise.
13789 (libc_feholdsetround_ctx): Likewise.
13790 (libc_feholdsetroundf_ctx): Likewise.
13791 (libc_feholdsetroundl_ctx): Likewise.
13792
1d3d93ef
DM
13793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13794 with __USE_GNU instead of XOPEN cpp guards.
13795
8aa583c3
DM
13796 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13797 0.
13798
211d653c
DM
13799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13800 with XOPEN cpp guards.
13801
60c8f1f6
JB
138022014-04-30 Julian Brown <julian@codesourcery.com>
13803
13804 [BZ #16888]
13805 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13806 handling.
13807
9a461d46
JM
138082014-04-30 Joseph Myers <joseph@codesourcery.com>
13809
d0f5b3f8
JM
13810 [BZ #9894]
13811 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13812 Change to 2.6.32.
13813 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13814 * sysdeps/unix/sysv/linux/configure: Regenerated.
13815 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13816 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13817 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13818 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13819 * README: Update reference to required Linux kernel version.
13820 * manual/install.texi (Linux): Update reference to required Linux
13821 kernel headers version.
13822 * INSTALL: Regenerated.
13823
9a461d46
JM
13824 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13825 header inclusion.
13826 [POSIX] (limits.h): Likewise.
13827 [POSIX] (math.h): Likewise.
13828 [POSIX] (sys/wait.h): Likewise.
13829 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13830 function.
13831 [POSIX] (stddef.h): Do not allow header inclusion.
13832
1775babf
AZ
138332014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13834
57f41c40 13835 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13836
8f630cca
YY
138372014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13838
13839 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13840 Return immediately after lll_futex_wake.
13841
1cdeb237
SP
138422014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
bc8f194c
SP
13844 [BZ #16791]
13845 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13846 structure.
13847 (datahead_init_pos): Call datahead_init_common early.
13848 (datahead_init_neg): Likewise.
13849
1cdeb237
SP
13850 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13851 datahead_init_neg): New functions.
13852 * nscd/aicache.c (addhstaiX): Use them.
13853 * nscd/grpcache.c (cache_addgr): Likewise.
13854 * nscd/hstcache.c (cache_addhst): Likewise.
13855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13856 * nscd/netgroupcache.c (do_notfound): Likewise.
13857 (addgetnetgrentX): Likewise.
13858 (addinnetgrX): Likewise.
13859 * nscd/pwdcache.c (cache_addpw): Likewise.
13860 * nscd/servicescache.c (cache_addserv): Likewise.
13861
16b293a7
SP
138622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13863 Atsushi Onoe <atsushi@onoe.org>
13864
13865 [BZ #14308]
13866 [BZ #12994]
13867 [BZ #13651]
13868 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13869 one response is valid.
13870 * resolv/res_send.c (send_dg): Check for validity of other
13871 response if the current response is a referral.
13872
a28a9b94
SE
138732014-04-29 Steve Ellcey <sellcey@mips.com>
13874
13875 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13876
2ca180e9
SL
138772014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13878
13879 [BZ #16823]
13880 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13881 Always divide by positive zero when computing -Inf result.
13882 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13883 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13884
18f2945a
AZ
138852014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13886
13887 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13888 FPSCR if value do not change.
13889 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13890 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13891 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13892 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13893 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13894 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13895 function.
13896
5abebba4
CD
138972014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13898
13899 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13900 * sysdeps/unix/sysv/linux/hppa: Move directory from
13901 ports/systeps/unix/sysv/linux/hppa.
13902 * README: Update listing for hppa-*-linux-gnu.
13903
f7ed60c2
OB
139042014-04-28 Ondřej Bílka <neleai@seznam.cz>
13905
fff763a5
OB
13906 [BZ #16754]
13907 * manual/stdio.texi (Hook functions): Fix types of stream hook
13908 functions.
f7ed60c2
OB
13909 [BZ #16854]
13910 * socket/sys/socket.h: Fix typo in comment.
13911
df639d73
WD
139122014-04-28 Wilco <wdijkstr@arm.com>
13913
f7ed60c2 13914 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13915 * sysdeps/arm/math_private.h: New file.
13916 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13917
48332d82
L
139182014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13921 with __int128_t.
13922 (La_x86_64_retval): Likewise.
13923
e5e0d9a4
IB
139242014-04-24 Ian Bolton <ian.bolton@arm.com>
13925
13926 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13927 fpsr if value didn't change.
13928 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13929 to fpcr if value didn't change.
13930 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13931 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13932 fpsr or fpcr if value didn't change.
13933 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13934 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13935 fpcr if value didn't change.
13936 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13937 to fpsr if value didn't change.
13938
bacc75f7
SP
139392014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13940
13941 * nptl/tst-sem3.c: Use test-skeleton.c
13942 (main): Rename to do_test. Use return instead of
13943 exit.
13944 * nptl/tst-sem4.c: Use test-skeleton.c
13945 (main): Rename to do_test.
13946
a059d359
DM
139472014-04-22 David S. Miller <davem@davemloft.net>
13948
13949 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13950 (struct sigaction): New struct member __glibc_reserved0, change
13951 type of sa_flags to int.
13952
ea6c92f3
YZ
139532014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13954
13955 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13956 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13957
766c4a36
SP
139582014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13959
13960 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13961 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13962
140cc7ab
VK
139632014-04-22 Will Newton <will.newton@linaro.org>
13964 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13965
13966 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13967 (__longjmp): Add longjmp and longjmp_target SystemTap
13968 probes.
13969 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13970 (__sigsetjmp): Add setjmp SystemTap probe.
13971
c54e5cf7
CD
139722014-04-17 Carlos O'Donell <carlos@redhat.com>
13973
13974 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13975 match manual order.
13976
75ffb047
AZ
139772014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13978
13979 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13980
2cd925f7
AZ
13981 * sysdeps/powerpc/fpu/fenv_private.h
13982 (libc_feholdexcept_setroundl_ctx): Define to
13983 libc_feholdexcept_setround_ppc_ctx.
13984 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13985 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13986 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13987 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13988
39e6cd8d
IB
139892014-04-17 Ian Bolton <ian.bolton@arm.com>
13990
13991 * sysdeps/aarch64/math-tests.h: New file.
13992
f9281df9
SY
139932014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13994
13995 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13996 New.
13997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13998 Check and set bit_AVX2_Usable.
13999 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14000 macro.
14001 (bit_AVX2): Likewise.
14002 (index_AVX2_Usable): Likewise.
14003 (CPUID_AVX2): Likewise.
14004 (HAS_AVX2): Likewise.
14005
37d35007
WN
140062014-04-17 Will Newton <will.newton@linaro.org>
14007
7c677662
WN
14008 * manual/setjmp.texi (System V contexts): Add note that
14009 calling setcontext on a context created by a call to a
14010 signal handler is undefined. Update text to note that
14011 setcontext from a signal handler is possible but not
14012 recommended.
14013
37d35007 14014 [BZ #16629]
e04a4e9d
WN
14015 * stdlib/tst-setcontext.c: Include signal.h.
14016 (main): Check that the signal stack before and
14017 after swapcontext is the same.
14018
37d35007
WN
14019 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14020 Re-implement to restore registers in user code and avoid
14021 rt_sigreturn system call.
14022
423a7160
W
140232014-04-17 Wilco <wdijkstr@arm.com>
14024
14025 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14026 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14027 * math/test-fenv.c: Skip exception trap tests on targets which only
14028 support non-stop mode.
14029
bc93ab29
IB
140302014-04-17 Ian Bolton <ian.bolton@arm.com>
14031 Wilco Dijkstra <wilco.dijkstra@arm.com>
14032
14033 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14034 (libc_feholdsetround_aarch64_ctx)
14035 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14036 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14037 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14038 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14039 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14040 (libc_feresetround_noexl_ctx): Define.
14041
95fc5fa3
RH
140422014-04-16 Richard Henderson <rth@redhat.com>
14043
ddb04724
RH
14044 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14045
d77c0899
RH
14046 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14047 unwind tables.
14048
a3df56fc
RH
14049 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14050 const from the non-libc, non-ldso copy.
14051
95fc5fa3
RH
14052 * sysdeps/alpha/libm-test-ulps: Regenerate.
14053
7e0b6763
IB
140542014-04-16 Ian Bolton <ian.bolton@arm.com>
14055 Wilco Dijkstra <wilco.dijkstra@arm.com>
14056
14057 * sysdeps/aarch64/fpu/math_private.h: New file.
14058
a9ea2e0c
MS
140592014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14060
14061 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14062
ea8ba7cd
IZ
140632014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14064
7e54fd04 14065 [BZ #16275]
ea8ba7cd
IZ
14066 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14067 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14069 Intel MPX bound registers before _dl_profile_fixup.
14070 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14071 registers after _dl_profile_fixup. Save and restore bound
14072 registers bnd0/bnd1 when calling _dl_call_pltexit.
14073 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14074 (LR_BND_OFFSET): Likewise.
14075 (LRV_BND0_OFFSET): Likewise.
14076 (LRV_BND1_OFFSET): Likewise.
14077
9f2a4fbc
ST
140782014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14079
14080 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14081 to...
14082 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14083 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14084 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14085 fields.
9f2a4fbc 14086
fd15a59b
ST
140872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14088
14089 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14090
f19dfa0a
SL
140912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14092
14093 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14094
4fa8bc3b
SL
140952014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14096
14097 [BZ #14770]
14098 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14099 * sysdeps/s390/configure: Regenerate.
14100
8ea587db
SL
14101 [BZ #16824]
14102 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14103 Set round-to-nearest internally to reduce error accumulation.
14104
aa5f0ff1
AM
141052014-04-16 Alan Modra <amodra@gmail.com>
14106
14107 [BZ #16740]
14108 [BZ #16619]
14109 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14110 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14111 * NEWS: Update fixed bug list.
aa5f0ff1 14112
bb9c256f
SP
141132014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14114
14115 * benchtests/Makefile: Depend on libraries in build directory.
14116 (bench-math): Separate out math tests.
14117 (bench-pthread): Separate out pthread tests.
14118 (bench): Include math and pthread tests.
14119
f737dfd0
CD
141202014-04-14 Carlos O'Donell <carlos@redhat.com>
14121
14122 [BZ #16831]
14123 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14124 _dl_debug_initialize.
14125
0699f766
CD
14126 * configure.ac: Remove SELinux header check.
14127 * configure: Regenerate.
14128 * nscd/selinux.c (perms): Array of const char* to permission names.
14129 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14130 default policy. Call string_to_security_class and string_to_av_perm to
14131 translate strings. Enforce default policy and call avs_has_perm with
14132 results of translated strings.
14133
809bd45f
DM
141342014-04-13 David S. Miller <davem@davemloft.net>
14135
14136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14137
89e691f2
AM
141382014-04-12 Allan McRae <allan@archlinux.org>
14139
14140 [BZ #16838]
14141 * manual/string.texi (Collation Functions): Fix qsort argument
14142 order in example.
14143 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14144
9c9daaeb
CM
141452014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14146
14147 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14148 Make the test a no-op if there are no exceptions defined.
14149
95561fb9
PP
141502014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14151
fe8d072c 14152 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14153 enable-hardcoded-path-in-tests
14154
970c602a
WN
141552014-04-11 Will Newton <will.newton@linaro.org>
14156
14157 * benchtests/Makefile (extra-objs): Add json-lib.o.
14158 (bench-func): Tidy up JSON output.
14159 * benchtests/bench-skeleton.c: Include json-lib.h.
14160 (main): Use JSON library functions to do output of
14161 benchmark results.
14162 * benchtests/bench-timing-type.c (main): Output the
14163 timing type simply, leaving formatting to the user.
14164 * benchtests/json-lib.c: New file.
14165 * benchtests/json-lib.h: Likewise.
14166
36875b06
TR
141672014-04-11 Torvald Riegel <triegel@redhat.com>
14168
14169 [BZ #15215]
14170 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14171 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14172 memory barriers. Add comments.
14173 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14174 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14175 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14176 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14177 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14178 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14179
579db35a
SL
141802014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14181
14182 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14183 * sysdeps/s390/s390-64/configure.ac: ... this ...
14184 * sysdeps/s390/configure.ac: ... to here.
14185 * sysdeps/s390/s390-32/configure: Delete file.
14186 * sysdeps/s390/s390-64/configure: Delete file.
14187 * sysdeps/s390/configure: Regenerate.
14188
c12e9f37
JAPH
141892014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14190
14191 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14192
439bda32
WN
141932014-04-11 Will Newton <will.newton@linaro.org>
14194
14195 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14196 to zero if it is not defined elsewhere. (mtrim): Test
14197 the value of MALLOC_DEBUG with #if rather than #ifdef.
14198
6a5d6ea1
TR
141992014-04-10 Torvald Riegel <triegel@redhat.com>
14200
14201 * benchtests/pthread_once-inputs: New file.
14202 * benchtests/pthread_once-source.c: New file.
14203 * benchtests/README: Update documentation.
14204
a4c75cfd
IZ
142052014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14206 H.J. Lu <hongjiu.lu@intel.com>
14207
7e54fd04 14208 [BZ #16275]
a4c75cfd
IZ
14209 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14210 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14211 * sysdeps/x86_64/configure: Regenerated.
14212 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14213 macro.
14214 (REGISTER_SAVE_RAX): Likewise.
14215 (REGISTER_SAVE_RCX): Likewise.
14216 (REGISTER_SAVE_RDX): Likewise.
14217 (REGISTER_SAVE_RSI): Likewise.
14218 (REGISTER_SAVE_RDI): Likewise.
14219 (REGISTER_SAVE_R8): Likewise.
14220 (REGISTER_SAVE_R9): Likewise.
14221 (REGISTER_SAVE_BND0): Likewise.
14222 (REGISTER_SAVE_BND1): Likewise.
14223 (REGISTER_SAVE_BND2): Likewise.
14224 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14225 bound registers when calling _dl_fixup.
14226
27822ce6
AZ
142272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14228
14229 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14230 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14231 of its definition.
27822ce6
AZ
14232 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14233 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14234 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14235 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14236 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14237 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14238 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14239
a88ddc90
PTB
142402014-04-09 Peter Brett <peter@peter-b.co.uk>
14241
14242 [BZ #15514]
14243 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14244 pathconf(_PC_NAME_MAX).
14245
01f8eac2
AZ
142462014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14247
14248 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14249 Remove macro usage.
14250 (__PTHREAD_SPINS): Move definition to ...
14251 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14252 (__PTHREAD_SPINS): ... here.
14253 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14254 (__PTHREAD_SPIN): Likewise.
14255 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14256 (__PTHREAD_SPIN): Likewise.
14257 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14258 (__PTHREAD_SPIN): Likewise.
14259 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14260 (__PTHREAD_SPIN): Likewise.
14261 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14262 (__PTHREAD_SPIN): Likewise.
14263 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14264 (__PTHREAD_SPIN): Likewise.
14265 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14266 (__PTHREAD_SPIN): Likewise.
14267 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14268 (__PTHREAD_SPIN): Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14270 (__PTHREAD_SPIN): Likewise.
14271 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14272 (__PTHREAD_SPIN): Likewise.
14273 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14274 (__PTHREAD_SPIN): Likewise.
14275 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14276 (__PTHREAD_SPIN): Likewise.
14277
de21c33c
AZ
14278 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14279 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14280 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14281 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14282 imply folder.
14283 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14284 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14285 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14286 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14287 correct imply path.
14288 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14289 strlen symbol for non multi-arch builds.
14290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14291 missing hidden_def and weak_alias.
14292
862c472e
CD
142932014-04-08 Carlos O'Donell <carlos@redhat.com>
14294
14295 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14296
8667f90e
WN
142972014-04-07 Will Newton <will.newton@linaro.org>
14298
14299 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14300 and contents. [!_LIBC] Remove #ifndef and contents.
14301 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14302 * string/memccpy.c (__memccpy): Use ANSI prototype.
14303 * string/memfrob.c (memfrob): Likewise.
14304 * string/strcoll.c (STRCOLL): Likewise.
14305 * string/strlen.c (strlen): Likewise.
14306 * string/strtok.c (STRTOK): Likewise.
14307 * string/strcat.c: Remove unused #include of memcopy.h.
14308 (strcat): Use ANSI prototype.
14309 * string/strchr.c: Remove unused #include of memcopy.h.
14310 (strchr): Use ANSI prototype.
14311 * string/strcmp.c: Remove unused #include of memcopy.h.
14312 (strcmp): Use ANSI prototype.
14313 * string/strcpy.c: Remove unused #include of memcopy.h.
14314 (strcpy): Use ANSI prototype.
14315
7ffa9423
AZ
143162014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14317
14318 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14319 * config.make.in (config-extra-cppflags): Set it from
14320 libc_extra_cppflags.
14321 * configure.ac (libc_extra_cflags): Make it accumulate over
14322 configure fragments.
14323 (libc_extra_cppflags): New flag.
14324 * configure. Regenerate.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14326 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14327 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14329
8bd70862
AZ
14330 [BZ #16815]
14331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14332 result for FE_DOWNWARD rounding mode.
14333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14334 Likewise.
14335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14336
d42f3448
CM
143372014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14338
14339 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14340 in function argument name.
14341
1c21d115
DS
143422014-04-03 David Svoboda <svoboda@cert.org>
14343
14344 [BZ #5666]
14345 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14346 explicitly.
14347
fcccd512
RM
143482014-04-03 Roland McGrath <roland@hack.frob.com>
14349
14350 * elf/dl-unmap-segments.h: New file.
14351 * sysdeps/generic/ldsodefs.h
14352 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14353 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14354 * elf/dl-fptr.c: Likewise.
14355 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14356 * sysdeps/aarch64/tlsdesc.c: Likewise.
14357 * sysdeps/arm/tlsdesc.c: Likewise.
14358 * sysdeps/i386/tlsdesc.c: Likewise.
14359 * sysdeps/tile/dl-runtime.c: Likewise.
14360 * sysdeps/x86_64/tlsdesc.c: Likewise.
14361 * elf/dl-load.h: New file.
14362 * elf/dl-load.c: Include it.
14363 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14364 Macros moved to dl-load.h.
14365 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14366 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14367 Use _dl_unmap_segments in place of __munmap.
14368 Break out segment-mapping loop into ...
14369 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14370
f6488e2b
WN
143712014-04-03 Will Newton <will.newton@linaro.org>
14372
14373 * elf/dl-lookup.c (do_lookup_x): Remove comment
14374 referring to nested function and move variable
14375 declarations down to before first use.
14376
6f05bafe
JM
143772014-04-02 Joseph Myers <joseph@codesourcery.com>
14378
a84e78c8
JM
14379 [BZ #16799]
14380 [BZ #16800]
14381 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14382 with 0 numerator.
14383 * math/s_catanf.c (__catanf): Likewise.
14384 * math/s_catanh.c (__catanh): Likewise.
14385 * math/s_catanhf.c (__catanhf): Likewise.
14386 * math/s_catanhl.c (__catanhl): Likewise.
14387 * math/s_catanl.c (__catanl): Likewise.
14388 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14389 by positive zero when computing -Inf result.
14390 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14391 (catanh_test): Likewise.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
6f05bafe
JM
14395 [BZ #16789]
14396 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14397 instead of using underflowing value in computing result.
14398 * math/s_clog10.c (__clog10): Likewise.
14399 * math/s_clog10f.c (__clog10f): Likewise.
14400 * math/s_clog10l.c (__clog10l): Likewise.
14401 * math/s_clogf.c (__clogf): Likewise.
14402 * math/s_clogl.c (__clogl): Likewise.
14403 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14404 (clog10_test): Likewise.
14405 * sysdeps/i386/fpu/libm-test-ulps: Update.
14406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407
b0abbc21
AM
144082014-04-02 Alan Modra <amodra@gmail.com>
14409
14410 [BZ #16739]
14411 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14412 output when value is near a power of two. Use int64_t for lx and
14413 remove casts. Use decimal rather than hex exponent constants.
14414 Don't use long double multiplication when double will suffice.
14415 * math/libm-test.inc (nextafter_test_data): Add tests.
14416 * NEWS: Add 16739 and 16786 to bug list.
14417
af6b1797
AM
14418 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14419
483818d7
AM
14420 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14421
f6c55796
WN
144222014-04-01 Will Newton <will.newton@linaro.org>
14423
14424 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14425 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14426
13f7fe35
FW
144272014-04-01 Florian Weimer <fweimer@redhat.com>
14428
14429 [BZ #13347]
14430 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14431 * nptl/tst-setuid2.c: New file.
14432 * nptl/Makefile (xtests): Add tst-setuid2.
14433
c859b32e
AM
144342014-04-01 Alan Modra <amodra@gmail.com>
14435
14436 [BZ #16786]
14437 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14438
54fa2475
JM
144392014-03-31 Joseph Myers <joseph@codesourcery.com>
14440
8795b4a4
JM
14441 [BZ #6803]
14442 [BZ #6804]
14443 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14444 set errno as appropriate.
14445 * math/w_scalbf.c (__scalbf): Likewise.
14446 * math/w_scalbl.c (__scalbl): Likewise.
14447 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14448 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14449 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14450 Add more NaN tests.
14451
54fa2475
JM
14452 [BZ #16349]
14453 * math/w_atan2.c: Include <errno.h>.
14454 (__atan2): Set errno for result underflowing to zero.
14455 * math/w_atan2f.c: Include <errno.h>.
14456 (__atan2f): Set errno for result underflowing to zero.
14457 * math/w_atan2l.c: Include <errno.h>.
14458 (__atan2l): Set errno for result underflowing to zero.
14459 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14460 tests.
14461 * math/auto-libm-test-out: Regenerated.
14462
757d9dd5
AZ
144632014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464
14465 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14466 Encode instruction correctly in little endian.
14467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14468 Likewise.
14469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14470 Likewise.
14471 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14472 Likewise.
14473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14474 Likewise.
14475
d7a68734
JM
144762014-03-31 Joseph Myers <joseph@codesourcery.com>
14477
47c5adeb
JM
14478 [BZ #9894]
14479 * sysdeps/unix/sysv/linux/kernel-features.h
14480 [__sparc__ && !__arch64__ && !__sparc_v9__]
14481 (__ASSUME_SET_ROBUST_LIST): Do not define.
14482 [__sparc__ && !__arch64__ && !__sparc_v9__]
14483 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14484 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14485 Likewise.
14486 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14487 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14488 (__ASSUME_REQUEUE_PI): Likewise.
14489 (__ASSUME_SET_ROBUST_LIST): Likewise.
14490 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14491 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14492 Undefine.
14493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14494 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14495 Likewise.
14496 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14497 Likewise.
14498 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14499 Likewise.
14500 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14501 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14502 Undefine.
14503 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14504 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14505 Likewise.
14506
d7a68734
JM
14507 [BZ #16648]
14508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14510 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14511
c760f5c2
WN
145122014-03-31 Will Newton <will.newton@linaro.org>
14513
14514 * benchtests/Makefile (bench): Add ffs and ffsll to list
14515 of tests.
14516 * benchtests/ffs-inputs: New file.
14517 * benchtests/ffsll-inputs: Likewise.
14518
ea6029b1
JM
145192014-03-29 Joseph Myers <joseph@codesourcery.com>
14520
14521 [BZ #16770]
14522 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14523 too large before casting to int.
14524 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14525 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14526 * math/libm-test.inc (scalb_test_data): Add more tests.
14527
cf806aff
SP
145282014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14529
56737508
SP
14530 * benchtests/Makefile (DETAILED_OPT): New make option.
14531 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14532 set.
14533 * benchtests/bench-skeleton.c: Include stdbool.h.
14534 (main): Store and print timings per input.
14535 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14536 member to each argument value.
14537 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14538 (_print_arg_data): Initialize per-input timing to 0.
14539
cb5e4aad
SP
14540 * benchtests/Makefile (timing-type): New binary.
14541 (bench-clean): Also remove bench-timing-type.
14542 (bench): New target for timing-type.
14543 (bench-func): Print output in JSON format.
14544 * benchtests/bench-skeleton.c (main): Print output in JSON
14545 format.
14546 * benchtests/bench-timing-type.c: New file.
14547 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14548 (TIMING_PRINT_STATS): Remove.
14549 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14550 name separately.
14551
cf806aff
SP
14552 * benchtests/bench-modf.c: Remove.
14553 * benchtests/modf-inputs: New inputs file.
14554
289e0779
JM
145552014-03-28 Joseph Myers <joseph@codesourcery.com>
14556
14557 [BZ #16362]
14558 * math/s_clog10.c (M_PI_LOG10E): New macro.
14559 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14560 imaginary parts are 0.
14561 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14562 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14563 imaginary parts are 0.
14564 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14565 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14566 imaginary parts are 0.
14567 * math/libm-test.inc (clog10_test_data): Update expected results
14568 for when real and imaginary parts are 0.
14569
277ae3f1
PP
145702014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14571
14572 * elf/dl-load.c: Finish conversion of __builtin_expect into
14573 __glibc_{un}likely.
14574
03a7091f
JM
145752014-03-27 Joseph Myers <joseph@codesourcery.com>
14576
14577 [BZ #16348]
14578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14579 1+x for argument with exponent below -67.
14580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14581 Likewise.
14582 * math/auto-libm-test-in: Add more tests of exp.
14583 * math/auto-libm-test-out: Regenerated.
14584
ea7d8b95
SP
145852014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14586
dd3022d7
SP
14587 [BZ #16759]
14588 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14589 (nscd_getnetgrent): Use it.
14590
ea7d8b95
SP
14591 [BZ #16760]
14592 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14593 of stpcpy.
14594
df5b85da
AK
145952014-03-27 Andi Kleen <ak@linux.intel.com>
14596
57f41c40
AS
14597 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14598 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14599 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14600 (lll_robust_unlock): Remove out of line section. Use cfi
14601 intrinsics.
df5b85da 14602 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14603 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14604 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14605 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14606 (lll_robust_unlock): Remove out of line section. Use cfi
14607 intrinsics.
df5b85da
AK
14608 (LLL_STUB_UNWIND_INFO*): Remove.
14609
fbd6b5a4
SP
146102014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14611
14612 [BZ #16758]
14613 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14614 blank values.
14615
1b26b855
PP
146162014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14617
14618 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14619
9be36fb8
JM
146202014-03-26 Joseph Myers <joseph@codesourcery.com>
14621
14622 [BZ #16198]
14623 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14624 fnstenv.
14625 * math/test-fenv-preserve.c: New file.
14626 * math/Makefile (tests): Add test-fenv-preserve.
14627
60a2f3c1
WN
146282014-03-26 Will Newton <will.newton@linaro.org>
14629
14630 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14631
a5e5f1e2
RM
146322014-03-25 Roland McGrath <roland@hack.frob.com>
14633
14634 * scripts/versionlist.awk: Partition the version sets and emit all
14635 GLIBC_* (sorted) before all others (sorted).
14636
00f4012a
JM
146372014-03-25 Joseph Myers <joseph@codesourcery.com>
14638
14639 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14640 GLIBC_2.2.5 version.
14641
7bc5a741
AZ
146422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14643
14644 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14645 calls.
14646
7578473b
AZ
14647 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14648 previous change.
14649
f3f1dab3
AZ
14650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14651
6da36183
AS
146522014-03-25 Andreas Schwab <schwab@suse.de>
14653
14654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14655 label to be used after in6ailist is initialized.
14656
f3f1dab3 146572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14658
7578473b 14659 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14660 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14661
046651c1
JM
146622014-03-25 Joseph Myers <joseph@codesourcery.com>
14663
14664 [BZ #16357]
14665 [BZ #16599]
14666 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14667 min_plus_half.
14668 (fp_formats): Update initializers.
14669 (init_fp_formats): Initialize new field.
14670 (output_for_one_input_case): Allow underflow for results up to
14671 min_plus_half.
14672 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14673 * math/auto-libm-test-in: Don't mark some underflows from asin and
14674 atanh as spurious.
14675 * math/auto-libm-test-out: Regenerated.
14676 * sysdeps/i386/fpu/libm-test-ulps: Update.
14677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678
003e49ed
AS
146792014-03-25 Andreas Schwab <schwab@suse.de>
14680
14681 * libio/Makefile (tst-ftell-partial-wide-ENV)
14682 (tst-ftell-active-handler-ENV): Define.
14683
de031874
SL
146842014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14685
14686 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14687
55a81e3b
PP
146882014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14689
14690 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14691
f3426898
JM
146922014-03-24 Joseph Myers <joseph@codesourcery.com>
14693
14694 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14695 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14696 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14697
a42faf59
PP
146982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14699
14700 [BZ #16634]
a42faf59 14701 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14702 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14703 (open_path): Change from boolean 'secure' to complete flag 'mode'
14704 (_dl_map_object): Adjust.
a42faf59
PP
14705 * elf/Makefile (tests): Add tst-dlopen-aout.
14706 * elf/tst-dlopen-aout.c: New test.
14707
50936127
SL
147082014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14709
14710 [BZ #16714]
14711 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14712 (struct stat): Rename member pad0 to __glibc_reserved0.
14713
26011b5c
SL
14714 [BZ #16712]
14715 * sysdeps/s390/s390-32/bits/wordsize.h
14716 (__WORDSIZE32_SIZE_ULONG): New define.
14717 * sysdeps/s390/s390-64/bits/wordsize.h
14718 (__WORDSIZE32_SIZE_ULONG): Likewise.
14719 * sysdeps/generic/stdint.h (SIZE_MAX):
14720 Define as UL if __WORDSIZE32_SIZE_ULONG.
14721
a2d86bf1
SL
14722 [BZ #16713]
14723 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14724 (__glibc_reserved0): New variable.
14725 (sa_flags): Change type to int.
14726
78b6eebc
SL
14727 * posix/Makefile (before-compile): Use += before-compile instead
14728 of a :=.
14729
f1399b5a
SL
14730 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14731 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14732
a071766e
AS
147332014-03-20 Andreas Schwab <schwab@suse.de>
14734
14735 [BZ #16743]
14736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14737 non-matching result from nscd.
14738
27c673b8
SP
147392014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14740
14741 * scripts/bench.py: Moved to ...
14742 * benchtests/scripts/bench.py: ... here.
14743 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14744
44152e4b
AS
147452014-03-24 Andreas Schwab <schwab@suse.de>
14746
14747 [BZ #16002]
14748 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14749 alloca_account and account alloca use for struct in6ailist.
14750
b376a11a
JM
147512014-03-24 Joseph Myers <joseph@codesourcery.com>
14752
14753 [BZ #16284]
14754 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14755 rounding mode to recompute results that overflow to infinity or
14756 underflow to zero.
14757 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14758 bug 16284.
14759 * math/auto-libm-test-out: Regenerated.
14760 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14761 (ccosh_test): Likewise.
14762 (csin_test_data): Use plus_oflow.
14763 (csin_test): Use ALL_RM_TEST.
14764 (csinh_test_data): Use plus_oflow.
14765 (csinh_test): Use ALL_RM_TEST.
14766 * sysdeps/i386/fpu/libm-test-ulps: Update.
14767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768
f7be7376
JM
147692014-03-21 Joseph Myers <joseph@codesourcery.com>
14770
1ca2d03e
JM
14771 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14772 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14773 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14774
f7be7376
JM
14775 [BZ #16731]
14776 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14777 when x - 1 is zero.
14778 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14779 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14780 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14781 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14782 argument is 1.
14783 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14784 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14785 zero.
14786 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14787 * sysdeps/i386/fpu/libm-test-ulps: Update.
14788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14789
fdf4534d
SP
147902014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14791
df26ea53
SP
14792 * scripts/bench.pl: Remove file.
14793 * scripts/bench.py: New benchmark script.
14794 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14795 * benchtests/README: Mention python dependency.
14796 * scripts/pylintrc: New file.
14797 * scripts/pylint: New file.
14798
fdf4534d
SP
14799 * bits/mathdef.h: Use #ifdef instead of #if.
14800 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14801 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14802 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14803 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14804 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14805 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14806
6f23d093
AZ
148072014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14808 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14809
14810 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14812 and strpbrk-ppc64 objects.
14813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14814 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14815 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14816 multiarch strpbrk for POWER7.
14817 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14818 multiarch strpbrk for PPC64.
14819 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14820 ifunc selector.
14821 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14822 strpbrk for POWER7.
14823
8c92dfff
JM
148242014-03-20 Joseph Myers <joseph@codesourcery.com>
14825
14826 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14827 (atan_test): Likewise.
14828 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14829 (atanh_test): Use ALL_RM_TEST.
14830 (atan2_test_data): Likewise.
14831 (cabs_test): Likewise.
14832 (cacosh_test): Likewise.
14833 (carg_test): Likewise.
14834 (casin_test): Likewise.
14835 (casinh_test): Likewise.
14836 (cbrt_test): Likewise.
14837 (csqrt_test): Likewise.
14838 (erf_test): Likewise.
14839 (erfc_test): Likewise.
14840 (pow10_test): Likewise.
14841 (exp2_test): Likewise.
14842 (hypot_test): Likewise.
14843 (j0_test): Likewise.
14844 (j1_test): Likewise.
14845 (lgamma_test): Likewise.
14846 (gamma_test): Likewise.
14847 (sincos_test): Likewise.
14848 (tanh_test): Likewise.
14849 (y0_test): Likewise.
14850 (y1_test): Likewise.
14851 * sysdeps/i386/fpu/libm-test-ulps: Update.
14852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14853
6eaf95cb
AZ
148542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855
a387428c
SP
14856 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14858 and strcspn-ppc64 objects.
14859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14860 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14861 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14862 multiarch strcspn for POWER7.
14863 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14864 multiarch strcspn for PPC64.
14865 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14866 ifunc selector.
14867 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14868 strcspn for POWER7.
14869
ae3a5dff
JM
148702014-03-20 Joseph Myers <joseph@codesourcery.com>
14871
14872 * math/gen-libm-test.pl (generate_testfile): Expect only function
14873 name as argument to AUTO_TESTS_* and pass results for all rounding
14874 modes to parse_args.
14875 (parse_auto_input): Separate inputs of automatic tests from
14876 outputs before storing in %auto_tests.
14877 * math/libm-test.inc (acos_test_data): Update call to
14878 AUTO_TESTS_f_f.
14879 (acos_test): Use ALL_RM_TEST.
14880 (acos_tonearest_test_data): Remove.
14881 (acos_test_tonearest): Likewise.
14882 (acos_towardzero_test_data): Likewise.
14883 (acos_test_towardzero): Likewise.
14884 (acos_downward_test_data): Likewise.
14885 (acos_test_downward): Likewise.
14886 (acos_upward_test_data): Likewise.
14887 (acos_test_upward): Likewise.
14888 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14889 (asin_test_data): Likewise.
14890 (asin_test): Use ALL_RM_TEST.
14891 (asin_tonearest_test_data): Remove.
14892 (asin_test_tonearest): Likewise.
14893 (asin_towardzero_test_data): Likewise.
14894 (asin_test_towardzero): Likewise.
14895 (asin_downward_test_data): Likewise.
14896 (asin_test_downward): Likewise.
14897 (asin_upward_test_data): Likewise.
14898 (asin_test_upward): Likewise.
14899 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14900 (atan_test_data): Likewise.
14901 (atanh_test_data): Likewise.
14902 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14903 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14904 (carg_test_data): Likewise.
14905 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14906 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14907 (ccosh_test_data): Likewise.
14908 (cexp_test_data): Likewise.
14909 (clog_test_data): Likewise.
14910 (clog10_test_data): Likewise.
14911 (cos_test_data): Update call to AUTO_TESTS_f_f.
14912 (cos_test): Use ALL_RM_TEST.
14913 (cos_tonearest_test_data): Remove.
14914 (cos_test_tonearest): Likewise.
14915 (cos_towardzero_test_data): Likewise.
14916 (cos_test_towardzero): Likewise.
14917 (cos_downward_test_data): Likewise.
14918 (cos_test_downward): Likewise.
14919 (cos_upward_test_data): Likewise.
14920 (cos_test_upward): Likewise.
14921 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14922 (cosh_test): Use ALL_RM_TEST.
14923 (cosh_tonearest_test_data): Remove.
14924 (cosh_test_tonearest): Likewise.
14925 (cosh_towardzero_test_data): Likewise.
14926 (cosh_test_towardzero): Likewise.
14927 (cosh_downward_test_data): Likewise.
14928 (cosh_test_downward): Likewise.
14929 (cosh_upward_test_data): Likewise.
14930 (cosh_test_upward): Likewise.
14931 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14932 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14933 (ctan_test_data): Likewise.
14934 (ctan_test): Use ALL_RM_TEST.
14935 (ctan_tonearest_test_data): Remove.
14936 (ctan_test_tonearest): Likewise.
14937 (ctan_towardzero_test_data): Likewise.
14938 (ctan_test_towardzero): Likewise.
14939 (ctan_downward_test_data): Likewise.
14940 (ctan_test_downward): Likewise.
14941 (ctan_upward_test_data): Likewise.
14942 (ctan_test_upward): Likewise.
14943 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14944 (ctanh_test): Use ALL_RM_TEST.
14945 (ctanh_tonearest_test_data): Remove.
14946 (ctanh_test_tonearest): Likewise.
14947 (ctanh_towardzero_test_data): Likewise.
14948 (ctanh_test_towardzero): Likewise.
14949 (ctanh_downward_test_data): Likewise.
14950 (ctanh_test_downward): Likewise.
14951 (ctanh_upward_test_data): Likewise.
14952 (ctanh_test_upward): Likewise.
14953 (erf_test_data): Update call to AUTO_TESTS_f_f.
14954 (erfc_test_data): Likewise.
14955 (exp_test_data): Likewise.
14956 (exp_test): Use ALL_RM_TEST.
14957 (exp_tonearest_test_data): Remove.
14958 (exp_test_tonearest): Likewise.
14959 (exp_towardzero_test_data): Likewise.
14960 (exp_test_towardzero): Likewise.
14961 (exp_downward_test_data): Likewise.
14962 (exp_test_downward): Likewise.
14963 (exp_upward_test_data): Likewise.
14964 (exp_test_upward): Likewise.
14965 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14966 (exp10_test): Use ALL_RM_TEST.
14967 (exp10_tonearest_test_data): Remove.
14968 (exp10_test_tonearest): Likewise.
14969 (exp10_towardzero_test_data): Likewise.
14970 (exp10_test_towardzero): Likewise.
14971 (exp10_downward_test_data): Likewise.
14972 (exp10_test_downward): Likewise.
14973 (exp10_upward_test_data): Likewise.
14974 (exp10_test_upward): Likewise.
14975 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14976 (expm1_test_data): Likewise.
14977 (expm1_test): Use ALL_RM_TEST.
14978 (expm1_tonearest_test_data): Remove.
14979 (expm1_test_tonearest): Likewise.
14980 (expm1_towardzero_test_data): Likewise.
14981 (expm1_test_towardzero): Likewise.
14982 (expm1_downward_test_data): Likewise.
14983 (expm1_test_downward): Likewise.
14984 (expm1_upward_test_data): Likewise.
14985 (expm1_test_upward): Likewise.
14986 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14987 (fma_test): Use ALL_RM_TEST.
14988 (fma_towardzero_test_data): Remove.
14989 (fma_test_towardzero): Likewise.
14990 (fma_downward_test_data): Likewise.
14991 (fma_test_downward): Likewise.
14992 (fma_upward_test_data): Likewise.
14993 (fma_test_upward): Likewise.
14994 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14995 (j0_test_data): Update call to AUTO_TESTS_f_f.
14996 (j1_test_data): Likewise.
14997 (jn_test_data): Update call to AUTO_TESTS_if_f.
14998 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14999 (log_test_data): Update call to AUTO_TESTS_f_f.
15000 (log10_test_data): Likewise.
15001 (log1p_test_data): Likewise.
15002 (log2_test_data): Likewise.
15003 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15004 (pow_tonearest_test_data): Likewise.
15005 (sin_test_data): Update call to AUTO_TESTS_f_f.
15006 (sin_test): Use ALL_RM_TEST.
15007 (sin_tonearest_test_data): Remove.
15008 (sin_test_tonearest): Likewise.
15009 (sin_towardzero_test_data): Likewise.
15010 (sin_test_towardzero): Likewise.
15011 (sin_downward_test_data): Likewise.
15012 (sin_test_downward): Likewise.
15013 (sin_upward_test_data): Likewise.
15014 (sin_test_upward): Likewise.
15015 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15016 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15017 (sinh_test): Use ALL_RM_TEST.
15018 (sinh_tonearest_test_data): Remove.
15019 (sinh_test_tonearest): Likewise.
15020 (sinh_towardzero_test_data): Likewise.
15021 (sinh_test_towardzero): Likewise.
15022 (sinh_downward_test_data): Likewise.
15023 (sinh_test_downward): Likewise.
15024 (sinh_upward_test_data): Likewise.
15025 (sinh_test_upward): Likewise.
15026 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15027 (sqrt_test): Use ALL_RM_TEST.
15028 (sqrt_tonearest_test_data): Remove.
15029 (sqrt_test_tonearest): Likewise.
15030 (sqrt_towardzero_test_data): Likewise.
15031 (sqrt_test_towardzero): Likewise.
15032 (sqrt_downward_test_data): Likewise.
15033 (sqrt_test_downward): Likewise.
15034 (sqrt_upward_test_data): Likewise.
15035 (sqrt_test_upward): Likewise.
15036 (tan_test_data): Update call to AUTO_TESTS_f_f.
15037 (tan_test): Use ALL_RM_TEST.
15038 (tan_tonearest_test_data): Remove.
15039 (tan_test_tonearest): Likewise.
15040 (tan_towardzero_test_data): Likewise.
15041 (tan_test_towardzero): Likewise.
15042 (tan_downward_test_data): Likewise.
15043 (tan_test_downward): Likewise.
15044 (tan_upward_test_data): Likewise.
15045 (tan_test_upward): Likewise.
15046 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15047 (tgamma_test_data): Likewise.
15048 (y0_test_data): Likewise.
15049 (y1_test_data): Likewise.
15050 (yn_test_data): Update call to AUTO_TESTS_if_f.
15051 (main): Do not call removed functions.
15052
d71aeee8
JM
150532014-03-19 Joseph Myers <joseph@codesourcery.com>
15054
15055 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15056 (ldexp_test_data): Remove.
15057 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15058 scalbn_test_data.
15059 (scalb_test): Use ALL_RM_TEST.
15060
baaf1ded
AS
150612014-03-19 Andreas Schwab <schwab@suse.de>
15062
15063 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15064
b1115e91
JM
150652014-03-19 Joseph Myers <joseph@codesourcery.com>
15066
15067 [BZ #16649]
15068 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15069 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15070 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15071 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15072 (__ASSUME_PREADV): Undefine.
15073 (__ASSUME_PWRITEV): Likewise.
15074
0283ecca
RM
150752014-03-18 Roland McGrath <roland@hack.frob.com>
15076
7d375303
RM
15077 * bits/mman-linux.h: Add comment about non-Linux use.
15078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15079 bits/mman-linux.h resting place.
15080
0283ecca
RM
15081 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15082 * bits/mman-linux.h: ... here.
15083
aebe1003
AZ
150842014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15085
15086 * conform/conformtest.pl: Add standard definition when calling C
15087 preprocessor on data files.
15088 (checknamespace): Remove unused variable.
15089
b29b6bb8
JM
150902014-03-18 Joseph Myers <joseph@codesourcery.com>
15091
15092 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15093 minus_oflow, plus_uflow and minus_uflow in expected results.
15094 * math/libm-test.inc (scalbn_test_data): Add more tests of
15095 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15096 minus_uflow.
15097 (scalbn_test): Use ALL_RM_TEST.
15098 (scalbln_test_data): Add more tests of negative arguments. Use
15099 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15100 (scalbln_test): Use ALL_RM_TEST.
15101
c8f8fa15
RM
151022014-03-18 Roland McGrath <roland@hack.frob.com>
15103
15104 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15105
fede7a5f
WN
151062014-03-18 Will Newton <will.newton@linaro.org>
15107
15108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15109 inaccurate comment.
15110
80cf0a58
JM
151112014-03-18 Joseph Myers <joseph@codesourcery.com>
15112
15113 * Makerules [!subdir] (check-abi): Exit with error status if a
15114 test failed.
15115
b3620862
JM
151162014-03-17 Joseph Myers <joseph@codesourcery.com>
15117
15118 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15119 for rint. Include results for all rounding modes.
15120 (nearbyint_test): Use ALL_RM_TEST.
15121 (rint_test_data): Include all tests used for nearbyint.
15122
788bba36
WN
151232014-03-17 Will Newton <will.newton@linaro.org>
15124
04ec140a
WN
15125 * nptl/sysdeps/pthread/pthread.h: Revert previous
15126 change.
15127
7579d8d5
WN
15128 * sysdeps/generic/ldsodefs.h: Revert previous
15129 change.
15130
c15cf13a
WN
15131 * libio/genops.c: Revert previous change.
15132 * libio/libioP.h: Likewise.
15133 * stdio-common/vfprintf.c: Likewise.
15134
d0ac1324
WN
15135 * sysdeps/generic/math_private.h: Revert previous
15136 change.
15137
9290130a
WN
15138 * sysdeps/generic/math_private.h: Check whether
15139 HAVE_RM_CTX is defined with #ifdef rather
15140 than #if.
15141
afb466fc
WN
15142 * argp/argp-fmtstream.h: Check whether
15143 __STRICT_ANSI__ is defined with #ifdef rather
15144 than #if.
15145 * argp/argp.h: Likewise.
15146
f7efd7c3
WN
15147 * libio/genops.c: Check whether
15148 _IO_JUMPS_OFFSET is defined with #ifdef rather
15149 than #if.
15150 * libio/libioP.h: Likewise.
15151 * stdio-common/vfprintf.c: Likewise.
15152
53f1bed3
WN
15153 * sysdeps/generic/ldsodefs.h: Check whether
15154 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15155 than #if.
15156
788bba36
WN
15157 * nptl/sysdeps/pthread/pthread.h: Check
15158 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15159 its value.
15160
fcd89ebe
SP
151612014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15162
ae42bbc5
SP
15163 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15164 setting O_APPEND.
15165 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15166 test case.
15167
ea33158c
SP
15168 [BZ #16680]
15169 * libio/fileops.c (_IO_file_open): Seek to end of file but
15170 don't cache the offset.
15171 (get_file_offset): Remove function.
15172 (do_ftell): Use cached offset when available.
15173 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15174 don't cache the offset.
15175 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15176 case.
15177 (do_one_test): Call it.
15178 (do_ftell_test): Fix up expected old offset for a+ mode.
15179 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15180 available.
15181
b1dbb426
SP
15182 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15183 up test status with function return status.
15184 (do_write_test): Likewise.
15185 (do_append_test): Likewise.
15186
fcd89ebe
SP
15187 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15188 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15189 Remove.
15190
9962a2d3
JM
151912014-03-17 Joseph Myers <joseph@codesourcery.com>
15192
15193 * math/gen-libm-test.pl (parse_args): Handle results specified for
15194 each rounding mode separately.
15195 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15196 tests and results from lrint_tonearest_test_data,
15197 lrint_towardzero_test_data, lrint_downward_test_data and
15198 lrint_upward_test_data.
15199 (lrint_test): Use ALL_RM_TEST.
15200 (lrint_tonearest_test_data): Remove.
15201 (lrint_test_tonearest): Likewise.
15202 (lrint_towardzero_test_data): Likewise.
15203 (lrint_test_towardzero): Likewise.
15204 (lrint_downward_test_data): Likewise.
15205 (lrint_test_downward): Likewise.
15206 (lrint_upward_test_data): Likewise.
15207 (lrint_test_upward): Likewise.
15208 (llrint_test_data): Merge in per-rounding-mode tests and results
15209 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15210 llrint_downward_test_data and llrint_upward_test_data.
15211 (llrint_test): Use ALL_RM_TEST.
15212 (llrint_tonearest_test_data): Remove.
15213 (llrint_test_tonearest): Likewise.
15214 (llrint_towardzero_test_data): Likewise.
15215 (llrint_test_towardzero): Likewise.
15216 (llrint_downward_test_data): Likewise.
15217 (llrint_test_downward): Likewise.
15218 (llrint_upward_test_data): Likewise.
15219 (llrint_test_upward): Likewise.
15220 (rint_test_data): Merge in per-rounding-mode tests and results
15221 from rint_tonearest_test_data, rint_towardzero_test_data,
15222 rint_downward_test_data and rint_upward_test_data. Add
15223 per-rounding-mode results for tests not in those arrays.
15224 (rint_test): Use ALL_RM_TEST.
15225 (rint_tonearest_test_data): Remove.
15226 (rint_test_tonearest): Likewise.
15227 (rint_towardzero_test_data): Likewise.
15228 (rint_test_towardzero): Likewise.
15229 (rint_downward_test_data): Likewise.
15230 (rint_test_downward): Likewise.
15231 (rint_upward_test_data): Likewise.
15232 (rint_test_upward): Likewise.
15233 (main): Don't call removed functions.
15234
5006148e
RM
152352014-03-14 Roland McGrath <roland@hack.frob.com>
15236
15237 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15238 "Compiled on ..." crapola. It is anti-useful.
15239
d6fe5e58
JM
152402014-03-14 Joseph Myers <joseph@codesourcery.com>
15241
15242 * scripts/evaluate-test.sh: Handle fourth argument to determine
15243 whether test run should stop on failure.
15244 * Makeconfig (stop-on-test-failure): New variable.
15245 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15246 $(stop-on-test-failure).
15247 * Makefile (tests): Give a summary of results from testing and
15248 exit with failure status if they include an ERROR or FAIL.
15249 (xtests): Likewise.
15250 * manual/install.texi (Configuring and compiling): Mention
15251 stop-on-test-failure=y.
15252 * INSTALL: Regenerated.
15253
498a2233
RM
152542014-03-14 Roland McGrath <roland@hack.frob.com>
15255
22dbc19d
RM
15256 * scripts/versionlist.awk: New file.
15257 * Makerules [$(build-shared) = yes]
15258 (postclean-generated): Add Versions.def, not Versions.def.v and
15259 Versions.def.v.i.
15260 ($(common-objpfx)Versions.def.v.i): Target removed.
15261 ($(common-objpfx)Versions.def): New target.
15262 ($(common-objpfx)Versions.all): Depend on that rather that
15263 $(common-objpfx)Versions.def.v.
15264 * Versions.def: File removed.
15265
498a2233
RM
15266 * Makeconfig (+gccwarn): Add -Wundef.
15267 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15268 a dl-sysdep.h breaking its contract.
15269 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15270 * include/stackinfo.h: New file.
15271 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15272 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15273 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15274 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15275 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15276 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15277 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15278 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15279 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15280 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15281 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15282 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15283 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15284 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15285 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15286
c7de5025
AZ
152872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15288
15289 [BZ #16707]
15290 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15291 implementation.
15292 * math/libm-test.inc (round_test_data): Add more tests.
15293
98fb27a3
AZ
15294 [BZ #16706]
15295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15296 implementation.
15297 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15298
374f7f61
AZ
15299 [BZ #16701]
15300 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15301 implementation.
15302 * math/libm-test.inc (ceil_test_data): Add more tests.
15303
4655c291
AZ
15304 * math/libm-test.inc (trunc_test_data): Add more tests related to
15305 BZ#16414.
15306
d7329d4b
RM
153072014-03-14 Roland McGrath <roland@hack.frob.com>
15308
15309 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15310 with #if rather than #ifdef.
15311 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15312
aa4de9ce
L
153132014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15314
15315 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15316 first. Disable AVX-512 GCC support if assembler doesn't support
15317 it.
15318 * sysdeps/x86_64/configure: Regenerated.
15319
2e03fae7
CD
153202014-03-13 Carlos O'Donell <carlos@redhat.com>
15321
15322 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15323 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15324 (__old_pthread_attr_setstack): Likewise.
15325 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15326 [!_STACK_GROWS_DOWN]: Likewise.
15327
43ca83ec
MF
153282014-03-13 Mike Frysinger <vapier@gentoo.org>
15329
15330 * config.make.in (have-bash2): Delete.
15331 * configure.ac (libc_cv_have_bash2): Delete.
15332 * configure: Regenerate.
15333 * elf/Makefile (common-ldd-rewrite): Rename to ...
15334 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15335 (sh-ldd-rewrite): Delete.
15336 (bash-ldd-rewrite): Delete.
15337 (have-bash2): Delete checks.
57f41c40
AS
15338 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15339 ldd-rewrite.
c66e48b4
MF
15340
15341 * config.make.in (have-ksh): Delete.
15342 (KSH): Delete.
15343 * configure.ac (libc_cv_have_ksh): Delete.
15344 * configure: Regenerate.
15345
b93834ef
MF
15346 * elf/Makefile: Delete $(have-ksh) check.
15347 ($(objpfx)sotruss): Change KSH to BASH.
15348 * elf/sotruss.ksh: Rename to ...
15349 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15350 function style to match POSIX. Drop ksh vim mode setting.
15351
f3a4632a
MF
15352 * manual/time.texi (Specifying the Time Zone with TZ): Change
15353 Tuesday to Thursday.
15354
5896c8bd
MF
15355 * debug/tst-longjmp_chk2.c: Update header comment.
15356 (stackoverflow_handler): Add comment. Call assert on pass value.
15357
2d63a517
IZ
153582014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15359
7e54fd04 15360 [BZ #16194]
2d63a517
IZ
15361 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15362 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15363 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15364 (La_x86_64_vector): Add zmm.
15365 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15366 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15367 ($(objpfx)tst-audit10): New target.
15368 ($(objpfx)tst-audit10.out): Likewise.
15369 (tst-audit10-ENV): New.
15370 (AVX512-CFLAGS): Likewise.
15371 (CFLAGS-tst-audit10.c): Likewise.
15372 (CFLAGS-tst-auditmod10a.c): Likewise.
15373 (CFLAGS-tst-auditmod10b.c): Likewise.
15374 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15375 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15376 * sysdeps/x86_64/configure: Regenerated.
15377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15378 AVX-512 zmm register support.
15379 (_dl_x86_64_save_sse): Likewise.
15380 (_dl_x86_64_restore_sse): Likewise.
15381 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15382 size vector registers.
15383 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15384 (ZMM_SIZE): Likewise.
15385 * sysdeps/x86_64/tst-audit10.c: New file.
15386 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15387 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15388
44c4e5d5
RM
153892014-03-13 Roland McGrath <roland@hack.frob.com>
15390
15391 * configure.ac (HAVE_EHDR_START): New check.
15392 * configure: Regenerated.
15393 * config.h.in (HAVE_EHDR_START): New #undef.
15394 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15395 assuming the lowest-addressed segment maps the start of the file.
15396
acd6e389
JM
153972014-03-13 Joseph Myers <joseph@codesourcery.com>
15398
15399 * INSTALL: Regenerated.
15400
6f918f36
WN
154012014-03-13 Will Newton <will.newton@linaro.org>
15402
15403 * manual/setjmp.texi (System V contexts): Improve
15404 clarity and grammar of documentation.
15405
798212a0
PP
154062014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15407
15408 [BZ #16381]
798212a0 15409 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15410 (tests-pie): Add tst-pie2.
798212a0
PP
15411 * elf/tst-pie2.c: New file.
15412 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15413 for ET_EXEC.
15414 * elf/rtld.c (map_doit): Load executable as lt_executable.
15415 (dl_main): Likewise.
15416
abe6d90c
JM
154172014-03-12 Joseph Myers <joseph@codesourcery.com>
15418
15419 [BZ #16642]
15420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15421 (__ASSUME_PSELECT): Undefine.
15422
dd3946c6
AZ
154232014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15424
15425 [BZ #16689]
15426 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15427 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15428 static build.
15429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15430 selector for static builds.
15431
c44496df
SP
154322014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 [BZ #16695]
15435 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15436 key in the buffer.
15437
27c7220a
AZ
154382014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15439
57f41c40
AS
15440 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15441 IFUNC selector for static builds.
27c7220a 15442
600fa361
JM
154432014-03-11 Joseph Myers <joseph@codesourcery.com>
15444
76c96cf7
JM
15445 * sysdeps/mips/math_private.h [__mips_hard_float]
15446 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15447 libc_feresetround_mips_ctx.
15448 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15449 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15450 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15451
600fa361
JM
15452 [BZ #16677]
15453 * math/s_nextafter.c (__nextafter): Do not return value from
15454 overflowing computation.
15455 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15456 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15458 Likewise.
15459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15460 Likewise.
15461 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15462 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15463
d7706c32
RM
154642014-03-11 Roland McGrath <roland@hack.frob.com>
15465
15466 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15467 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15468 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15469 the new mov targetting sp.
15470
4facea47
AZ
154712014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15472
15473 [BZ #16683]
15474 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15475 Define it for static builds as well.
15476 (NO_BZERO_IMPL): Likewise.
15477
e65caf1f
VR
154782014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15479
15480 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15481 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15482 multiarch strspn for PPC64.
15483 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15484 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15486 (__libc_ifunc_impl_list): Likewise.
15487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15488 multiarch optimizations
15489 * string/strspn.c (strspn): Using macro to redefine symbol name.
15490
ba9cc071
AZ
154912014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15492 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15493
15494 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15495 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15496 multiarch strncat for PPC64.
15497 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15498 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15500 (__libc_ifunc_impl_list): Likewise.
15501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15502 multiarch optimizations
15503
8b4ff974
SP
155042014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15505
15506 [BZ #16639]
15507 * nscd/nscd.service: Make service type forking.
15508
54b46a4b
AZ
155092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15510
15511 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15512 sign in non default rounding modes.
15513 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15514
e9996ef7
JM
155152014-03-08 Joseph Myers <joseph@codesourcery.com>
15516
15517 * math/libm-test.inc (ALL_RM_TEST): New macro.
15518 (ceil_test): Use ALL_RM_TEST.
15519 (cimag_test): Likewise.
15520 (conj_test): Likewise.
15521 (copysign_test): Likewise.
15522 (cproj_test): Likewise.
15523 (creal_test): Likewise.
15524 (fabs_test): Likewise.
15525 (floor_test): Likewise.
15526 (fmax_test): Likewise.
15527 (fmin_test): Likewise.
15528 (fmod_test): Likewise.
15529 (fpclassify_test): Likewise.
15530 (frexp_test): Likewise.
15531 (ilogb_test): Likewise.
15532 (isfinite_test): Likewise.
15533 (finite_test): Likewise.
15534 (isgreater_test): Likewise.
15535 (isgreaterequal_test): Likewise.
15536 (isinf_test): Likewise.
15537 (isless_test): Likewise.
15538 (islessequal_test): Likewise.
15539 (islessgreater_test): Likewise.
15540 (isnan_test): Likewise.
15541 (isnormal_test): Likewise.
15542 (issignaling_test): Likewise.
15543 (isunordered_test): Likewise.
15544 (logb_test): Likewise.
15545 (logb_downward_test_data): Remove.
15546 (logb_test_downward): Likewise.
15547 (lround_test): Use ALL_RM_TEST.
15548 (llround_test): Likewise.
15549 (modf_test): Likewise.
15550 (nexttoward_test): Likewise.
15551 (remainder_test): Likewise.
15552 (drem_test): Likewise.
15553 (remainder_tonearest_test_data): Likewise.
15554 (remainder_test_tonearest): Likewise.
15555 (drem_test_tonearest): Likewise.
15556 (remainder_towardzero_test_data): Likewise.
15557 (remainder_test_towardzero): Likewise.
15558 (drem_test_towardzero): Likewise.
15559 (remainder_downward_test_data): Likewise.
15560 (remainder_test_downward): Likewise.
15561 (drem_test_downward): Likewise.
15562 (remainder_upward_test_data): Likewise.
15563 (remainder_test_upward): Likewise.
15564 (drem_test_upward): Likewise.
15565 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15566 (round_test): Use ALL_RM_TEST.
15567 (signbit_test): Likewise.
15568 (trunc_test): Likewise.
15569 (significand_test): Likewise.
15570 (main): Don't call removed functions.
15571
bc61d27c
JM
155722014-03-07 Joseph Myers <joseph@codesourcery.com>
15573
5c780849
JM
15574 [BZ #16674]
15575 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15576 || __USE_XOPEN2K8].
15577 (ILL_ILLOPN): Likewise.
15578 (ILL_ILLADR): Likewise.
15579 (ILL_ILLTRP): Likewise.
15580 (ILL_PRVOPC): Likewise.
15581 (ILL_PRVREG): Likewise.
15582 (ILL_COPROC): Likewise.
15583 (ILL_BADSTK): Likewise.
15584 (FPE_INTDIV): Likewise.
15585 (FPE_INTOVF): Likewise.
15586 (FPE_FLTDIV): Likewise.
15587 (FPE_FLTOVF): Likewise.
15588 (FPE_FLTUND): Likewise.
15589 (FPE_FLTRES): Likewise.
15590 (FPE_FLTINV): Likewise.
15591 (FPE_FLTSUB): Likewise.
15592 (SEGV_MAPERR): Likewise.
15593 (SEGV_ACCERR): Likewise.
15594 (BUS_ADRALN): Likewise.
15595 (BUS_ADRERR): Likewise.
15596 (BUS_OBJERR): Likewise.
15597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15598 (TRAP_TRACE): Likewise.
15599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15600 __USE_XOPEN2K8].
15601 (CLD_KILLED): Likewise.
15602 (CLD_DUMPED): Likewise.
15603 (CLD_TRAPPED): Likewise.
15604 (CLD_STOPPED): Likewise.
15605 (CLD_CONTINUED): Likewise.
15606 (POLL_IN): Likewise.
15607 (POLL_OUT): Likewise.
15608 (POLL_MSG): Likewise.
15609 (POLL_ERR): Likewise.
15610 (POLL_PRI): Likewise.
15611 (POLL_HUP): Likewise.
15612 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15613 Likewise.
15614 (ILL_ILLOPN): Likewise.
15615 (ILL_ILLADR): Likewise.
15616 (ILL_ILLTRP): Likewise.
15617 (ILL_PRVOPC): Likewise.
15618 (ILL_PRVREG): Likewise.
15619 (ILL_COPROC): Likewise.
15620 (ILL_BADSTK): Likewise.
15621 (FPE_INTDIV): Likewise.
15622 (FPE_INTOVF): Likewise.
15623 (FPE_FLTDIV): Likewise.
15624 (FPE_FLTOVF): Likewise.
15625 (FPE_FLTUND): Likewise.
15626 (FPE_FLTRES): Likewise.
15627 (FPE_FLTINV): Likewise.
15628 (FPE_FLTSUB): Likewise.
15629 (SEGV_MAPERR): Likewise.
15630 (SEGV_ACCERR): Likewise.
15631 (BUS_ADRALN): Likewise.
15632 (BUS_ADRERR): Likewise.
15633 (BUS_OBJERR): Likewise.
15634 (BUS_MCEERR_AR): Likewise.
15635 (BUS_MCEERR_AO): Likewise.
15636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15637 (TRAP_TRACE): Likewise.
15638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15639 __USE_XOPEN2K8].
15640 (CLD_KILLED): Likewise.
15641 (CLD_DUMPED): Likewise.
15642 (CLD_TRAPPED): Likewise.
15643 (CLD_STOPPED): Likewise.
15644 (CLD_CONTINUED): Likewise.
15645 (POLL_IN): Likewise.
15646 (POLL_OUT): Likewise.
15647 (POLL_MSG): Likewise.
15648 (POLL_ERR): Likewise.
15649 (POLL_PRI): Likewise.
15650 (POLL_HUP): Likewise.
15651 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15652 (ILL_ILLOPN): Likewise.
15653 (ILL_ILLADR): Likewise.
15654 (ILL_ILLTRP): Likewise.
15655 (ILL_PRVOPC): Likewise.
15656 (ILL_PRVREG): Likewise.
15657 (ILL_COPROC): Likewise.
15658 (ILL_BADSTK): Likewise.
15659 (FPE_INTDIV): Likewise.
15660 (FPE_INTOVF): Likewise.
15661 (FPE_FLTDIV): Likewise.
15662 (FPE_FLTOVF): Likewise.
15663 (FPE_FLTUND): Likewise.
15664 (FPE_FLTRES): Likewise.
15665 (FPE_FLTINV): Likewise.
15666 (FPE_FLTSUB): Likewise.
15667 (SEGV_MAPERR): Likewise.
15668 (SEGV_ACCERR): Likewise.
15669 (BUS_ADRALN): Likewise.
15670 (BUS_ADRERR): Likewise.
15671 (BUS_OBJERR): Likewise.
15672 (BUS_MCEERR_AR): Likewise.
15673 (BUS_MCEERR_AO): Likewise.
15674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15675 (TRAP_TRACE): Likewise.
15676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15677 __USE_XOPEN2K8].
15678 (CLD_KILLED): Likewise.
15679 (CLD_DUMPED): Likewise.
15680 (CLD_TRAPPED): Likewise.
15681 (CLD_STOPPED): Likewise.
15682 (CLD_CONTINUED): Likewise.
15683 (POLL_IN): Likewise.
15684 (POLL_OUT): Likewise.
15685 (POLL_MSG): Likewise.
15686 (POLL_ERR): Likewise.
15687 (POLL_PRI): Likewise.
15688 (POLL_HUP): Likewise.
15689 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15690 Likewise.
15691 (ILL_ILLOPN): Likewise.
15692 (ILL_ILLADR): Likewise.
15693 (ILL_ILLTRP): Likewise.
15694 (ILL_PRVOPC): Likewise.
15695 (ILL_PRVREG): Likewise.
15696 (ILL_COPROC): Likewise.
15697 (ILL_BADSTK): Likewise.
15698 (ILL_BADIADDR): Likewise.
15699 (ILL_BREAK): Likewise.
15700 (FPE_INTDIV): Likewise.
15701 (FPE_INTOVF): Likewise.
15702 (FPE_FLTDIV): Likewise.
15703 (FPE_FLTOVF): Likewise.
15704 (FPE_FLTUND): Likewise.
15705 (FPE_FLTRES): Likewise.
15706 (FPE_FLTINV): Likewise.
15707 (FPE_FLTSUB): Likewise.
15708 (FPE_DECOVF): Likewise.
15709 (FPE_DECDIV): Likewise.
15710 (FPE_DECERR): Likewise.
15711 (FPE_INVASC): Likewise.
15712 (FPE_INVDEC): Likewise.
15713 (SEGV_MAPERR): Likewise.
15714 (SEGV_ACCERR): Likewise.
15715 (SEGV_PSTKOVF): Likewise.
15716 (BUS_ADRALN): Likewise.
15717 (BUS_ADRERR): Likewise.
15718 (BUS_OBJERR): Likewise.
15719 (BUS_MCEERR_AR): Likewise.
15720 (BUS_MCEERR_AO): Likewise.
15721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15722 (TRAP_TRACE): Likewise.
15723 (TRAP_BRANCH): Likewise.
15724 (TRAP_HWBKPT): Likewise.
15725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15726 __USE_XOPEN2K8].
15727 (CLD_KILLED): Likewise.
15728 (CLD_DUMPED): Likewise.
15729 (CLD_TRAPPED): Likewise.
15730 (CLD_STOPPED): Likewise.
15731 (CLD_CONTINUED): Likewise.
15732 (POLL_IN): Likewise.
15733 (POLL_OUT): Likewise.
15734 (POLL_MSG): Likewise.
15735 (POLL_ERR): Likewise.
15736 (POLL_PRI): Likewise.
15737 (POLL_HUP): Likewise.
15738 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15739 (ILL_ILLOPN): Likewise.
15740 (ILL_ILLADR): Likewise.
15741 (ILL_ILLTRP): Likewise.
15742 (ILL_PRVOPC): Likewise.
15743 (ILL_PRVREG): Likewise.
15744 (ILL_COPROC): Likewise.
15745 (ILL_BADSTK): Likewise.
15746 (FPE_INTDIV): Likewise.
15747 (FPE_INTOVF): Likewise.
15748 (FPE_FLTDIV): Likewise.
15749 (FPE_FLTOVF): Likewise.
15750 (FPE_FLTUND): Likewise.
15751 (FPE_FLTRES): Likewise.
15752 (FPE_FLTINV): Likewise.
15753 (FPE_FLTSUB): Likewise.
15754 (SEGV_MAPERR): Likewise.
15755 (SEGV_ACCERR): Likewise.
15756 (BUS_ADRALN): Likewise.
15757 (BUS_ADRERR): Likewise.
15758 (BUS_OBJERR): Likewise.
15759 (BUS_MCEERR_AR): Likewise.
15760 (BUS_MCEERR_AO): Likewise.
15761 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15762 (TRAP_TRACE): Likewise.
15763 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15764 __USE_XOPEN2K8].
15765 (CLD_KILLED): Likewise.
15766 (CLD_DUMPED): Likewise.
15767 (CLD_TRAPPED): Likewise.
15768 (CLD_STOPPED): Likewise.
15769 (CLD_CONTINUED): Likewise.
15770 (POLL_IN): Likewise.
15771 (POLL_OUT): Likewise.
15772 (POLL_MSG): Likewise.
15773 (POLL_ERR): Likewise.
15774 (POLL_PRI): Likewise.
15775 (POLL_HUP): Likewise.
15776 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15777 (ILL_ILLOPN): Likewise.
15778 (ILL_ILLADR): Likewise.
15779 (ILL_ILLTRP): Likewise.
15780 (ILL_PRVOPC): Likewise.
15781 (ILL_PRVREG): Likewise.
15782 (ILL_COPROC): Likewise.
15783 (ILL_BADSTK): Likewise.
15784 (FPE_INTDIV): Likewise.
15785 (FPE_INTOVF): Likewise.
15786 (FPE_FLTDIV): Likewise.
15787 (FPE_FLTOVF): Likewise.
15788 (FPE_FLTUND): Likewise.
15789 (FPE_FLTRES): Likewise.
15790 (FPE_FLTINV): Likewise.
15791 (FPE_FLTSUB): Likewise.
15792 (SEGV_MAPERR): Likewise.
15793 (SEGV_ACCERR): Likewise.
15794 (BUS_ADRALN): Likewise.
15795 (BUS_ADRERR): Likewise.
15796 (BUS_OBJERR): Likewise.
15797 (BUS_MCEERR_AR): Likewise.
15798 (BUS_MCEERR_AO): Likewise.
15799 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15800 (TRAP_TRACE): Likewise.
15801 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15802 __USE_XOPEN2K8].
15803 (CLD_KILLED): Likewise.
15804 (CLD_DUMPED): Likewise.
15805 (CLD_TRAPPED): Likewise.
15806 (CLD_STOPPED): Likewise.
15807 (CLD_CONTINUED): Likewise.
15808 (POLL_IN): Likewise.
15809 (POLL_OUT): Likewise.
15810 (POLL_MSG): Likewise.
15811 (POLL_ERR): Likewise.
15812 (POLL_PRI): Likewise.
15813 (POLL_HUP): Likewise.
15814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15815 (ILL_ILLOPN): Likewise.
15816 (ILL_ILLADR): Likewise.
15817 (ILL_ILLTRP): Likewise.
15818 (ILL_PRVOPC): Likewise.
15819 (ILL_PRVREG): Likewise.
15820 (ILL_COPROC): Likewise.
15821 (ILL_BADSTK): Likewise.
15822 (FPE_INTDIV): Likewise.
15823 (FPE_INTOVF): Likewise.
15824 (FPE_FLTDIV): Likewise.
15825 (FPE_FLTOVF): Likewise.
15826 (FPE_FLTUND): Likewise.
15827 (FPE_FLTRES): Likewise.
15828 (FPE_FLTINV): Likewise.
15829 (FPE_FLTSUB): Likewise.
15830 (SEGV_MAPERR): Likewise.
15831 (SEGV_ACCERR): Likewise.
15832 (BUS_ADRALN): Likewise.
15833 (BUS_ADRERR): Likewise.
15834 (BUS_OBJERR): Likewise.
15835 (BUS_MCEERR_AR): Likewise.
15836 (BUS_MCEERR_AO): Likewise.
15837 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15838 (TRAP_TRACE): Likewise.
15839 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15840 __USE_XOPEN2K8].
15841 (CLD_KILLED): Likewise.
15842 (CLD_DUMPED): Likewise.
15843 (CLD_TRAPPED): Likewise.
15844 (CLD_STOPPED): Likewise.
15845 (CLD_CONTINUED): Likewise.
15846 (POLL_IN): Likewise.
15847 (POLL_OUT): Likewise.
15848 (POLL_MSG): Likewise.
15849 (POLL_ERR): Likewise.
15850 (POLL_PRI): Likewise.
15851 (POLL_HUP): Likewise.
15852 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15853 (ILL_ILLOPN): Likewise.
15854 (ILL_ILLADR): Likewise.
15855 (ILL_ILLTRP): Likewise.
15856 (ILL_PRVOPC): Likewise.
15857 (ILL_PRVREG): Likewise.
15858 (ILL_COPROC): Likewise.
15859 (ILL_BADSTK): Likewise.
15860 (ILL_DBLFLT): Likewise.
15861 (ILL_HARDWALL): Likewise.
15862 (FPE_INTDIV): Likewise.
15863 (FPE_INTOVF): Likewise.
15864 (FPE_FLTDIV): Likewise.
15865 (FPE_FLTOVF): Likewise.
15866 (FPE_FLTUND): Likewise.
15867 (FPE_FLTRES): Likewise.
15868 (FPE_FLTINV): Likewise.
15869 (FPE_FLTSUB): Likewise.
15870 (SEGV_MAPERR): Likewise.
15871 (SEGV_ACCERR): Likewise.
15872 (BUS_ADRALN): Likewise.
15873 (BUS_ADRERR): Likewise.
15874 (BUS_OBJERR): Likewise.
15875 (BUS_MCEERR_AR): Likewise.
15876 (BUS_MCEERR_AO): Likewise.
15877 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15878 (TRAP_TRACE): Likewise.
15879 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15880 __USE_XOPEN2K8].
15881 (CLD_KILLED): Likewise.
15882 (CLD_DUMPED): Likewise.
15883 (CLD_TRAPPED): Likewise.
15884 (CLD_STOPPED): Likewise.
15885 (CLD_CONTINUED): Likewise.
15886 (POLL_IN): Likewise.
15887 (POLL_OUT): Likewise.
15888 (POLL_MSG): Likewise.
15889 (POLL_ERR): Likewise.
15890 (POLL_PRI): Likewise.
15891 (POLL_HUP): Likewise.
15892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15893 (ILL_ILLOPN): Likewise.
15894 (ILL_ILLADR): Likewise.
15895 (ILL_ILLTRP): Likewise.
15896 (ILL_PRVOPC): Likewise.
15897 (ILL_PRVREG): Likewise.
15898 (ILL_COPROC): Likewise.
15899 (ILL_BADSTK): Likewise.
15900 (FPE_INTDIV): Likewise.
15901 (FPE_INTOVF): Likewise.
15902 (FPE_FLTDIV): Likewise.
15903 (FPE_FLTOVF): Likewise.
15904 (FPE_FLTUND): Likewise.
15905 (FPE_FLTRES): Likewise.
15906 (FPE_FLTINV): Likewise.
15907 (FPE_FLTSUB): Likewise.
15908 (SEGV_MAPERR): Likewise.
15909 (SEGV_ACCERR): Likewise.
15910 (BUS_ADRALN): Likewise.
15911 (BUS_ADRERR): Likewise.
15912 (BUS_OBJERR): Likewise.
15913 (BUS_MCEERR_AR): Likewise.
15914 (BUS_MCEERR_AO): Likewise.
15915 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15916 (TRAP_TRACE): Likewise.
15917 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15918 __USE_XOPEN2K8].
15919 (CLD_KILLED): Likewise.
15920 (CLD_DUMPED): Likewise.
15921 (CLD_TRAPPED): Likewise.
15922 (CLD_STOPPED): Likewise.
15923 (CLD_CONTINUED): Likewise.
15924 (POLL_IN): Likewise.
15925 (POLL_OUT): Likewise.
15926 (POLL_MSG): Likewise.
15927 (POLL_ERR): Likewise.
15928 (POLL_PRI): Likewise.
15929 (POLL_HUP): Likewise.
15930 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15931 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15932
bc61d27c
JM
15933 [BZ #16670]
15934 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15935 before #include of <time.h>.
15936 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15937 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15938 (test-xfail-UNIX98/sched.h/conform): Likewise.
15939
302949e2
MS
159402014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15941
15942 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15943 error absence of trapping exception support.
15944 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15945
a00f522a
JM
159462014-03-07 Joseph Myers <joseph@codesourcery.com>
15947
6f99f280
JM
15948 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15949 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15950 * timezone/Makefile (testdata): Move definition above include of
15951 Rules.
15952 (test-zones): New variable.
15953 (tests-special): Add zone files.
15954 (build-testdata): Use $(evaluate-test).
15955
0b20a9e8
JM
15956 * elf/Makefile (tests-special): Rename tests to end with .out.
15957 ($(objpfx)noload-mem): Likewise.
15958 ($(objpfx)tst-leaks1-mem): Likewise.
15959 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15960 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15961 $(objpfx)test-iconvconfig.out.
15962 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15963 set -e inside subshell and redirect output to file.
15964 * iconvdata/Makefile (generated): Rename tests to end with .out.
15965 Correct type.
15966 (tests-special): Rename tests to end with .out.
15967 ($(objpfx)mtrace-tst-loading): Likewise.
15968 * intl/Makefile (generated): Likewise.
15969 (tests-special): Likewise.
15970 ($(objpfx)mtrace-tst-gettext): Likewise.
15971 * misc/Makefile (generated): Likewise.
15972 (tests-special): Likewise.
15973 ($(objpfx)tst-error1-mem): Likewise.
15974 * nptl/Makefile (tests-special): Likewise.
15975 ($(objpfx)tst-stack3-mem): Likewise.
15976 (generated): Likewise.
15977 * posix/Makefile (generated): Likewise.
15978 (tests-special): Likewise.
15979 (xtests-special): Likewise.
15980 ($(objpfx)tst-fnmatch-mem): Likewise.
15981 ($(objpfx)bug-regex2-mem): Likewise.
15982 ($(objpfx)bug-regex14-mem): Likewise.
15983 ($(objpfx)bug-regex21-mem): Likewise.
15984 ($(objpfx)bug-regex31-mem): Likewise.
15985 ($(objpfx)tst-vfork3-mem): Likewise.
15986 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15987 ($(objpfx)tst-pcre-mem): Likewise.
15988 ($(objpfx)tst-boost-mem): Likewise.
15989 ($(objpfx)bug-ga2-mem): Likewise.
15990 ($(objpfx)bug-glob2-mem): Likewise.
15991 * resolv/Makefile (generate): Likewise.
15992 (tests-special): Likewise.
15993 (xtests-special): Likewise.
15994 (generated): Likewise.
15995 ($(objpfx)mtrace-tst-leaks): Likewise.
15996 ($(objpfx)mtrace-tst-leaks2): Likewise.
15997
265d52ab
JM
15998 * scripts/merge-test-results.sh: New file.
15999 * Makefile (tests-special-notdir): New variable.
16000 (tests): Run merge-test-results.sh.
16001 (xtests): Likewise.
16002 * Rules (tests-special-notdir): New variable.
16003 (xtests-special-notdir): Likewise.
16004 (tests): Run merge-test-results.sh
16005 (xtests): Likewise.
16006
54ee292d
JM
16007 * Makeconfig (test-xfail-name): New variable.
16008 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16009 compute variable name for expected failures.
16010 * conform/Makefile (conformtest-headers-data): New variable.
16011 (conformtest-standards): Likewise.
16012 (conformtest-headers-ISO): Likewise.
16013 (conformtest-headers-ISO99): Likewise.
16014 (conformtest-headers-ISO11): Likewise.
16015 (conformtest-headers-POSIX): Likewise.
16016 (conformtest-headers-XPG3): Likewise.
16017 (conformtest-headers-XPG4): Likewise.
16018 (conformtest-headers-UNIX98): Likewise.
16019 (conformtest-headers-XOPEN2K): Likewise.
16020 (conformtest-headers-POSIX2008): Likewise.
16021 (conformtest-headers-XOPEN2K8): Likewise.
16022 (conformtest-header-list-base): Likewise.
16023 (conformtest-header-list-tests): Likewise.
16024 (conformtest-header-base): Likewise.
16025 (conformtest-header-tests): Likewise.
16026 (tests-special): Add $(conformtest-header-list-tests). If
16027 [$(fast-check) && !$(cross-compiling)], add
16028 $(conformtest-header-tests) instead of
16029 $(objpfx)run-conformtest.out.
16030 (generated): Add $(conformtest-header-list-base). If
16031 [$(fast-check) && !$(cross-compiling)], add
16032 $(conformtest-header-base). Remove previous setting.
16033 ($(conformtest-header-list-tests)): New target.
16034 (test-xfail-run-conformtest): Remove variable.
16035 ($(objpfx)run-conformtest.out): Remove target.
16036 (test-xfail-ISO11/complex.h/conform): New variable.
16037 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16038 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16039 (test-xfail-XPG3/varargs.h/conform): Likewise.
16040 (test-xfail-XPG4/varargs.h/conform): Likewise.
16041 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16042 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16043 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16044 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16045 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16046 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16047 (test-xfail-XPG3/ftw.h/conform): Likewise.
16048 (test-xfail-XPG3/grp.h/conform): Likewise.
16049 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16050 (test-xfail-XPG3/limits.h/conform): Likewise.
16051 (test-xfail-XPG3/pwd.h/conform): Likewise.
16052 (test-xfail-XPG3/search.h/conform): Likewise.
16053 (test-xfail-XPG3/signal.h/conform): Likewise.
16054 (test-xfail-XPG3/stdio.h/conform): Likewise.
16055 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16056 (test-xfail-XPG3/string.h/conform): Likewise.
16057 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16058 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16059 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16060 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16061 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16062 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16063 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16064 (test-xfail-XPG3/termios.h/conform): Likewise.
16065 (test-xfail-XPG3/time.h/conform): Likewise.
16066 (test-xfail-XPG3/unistd.h/conform): Likewise.
16067 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16068 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16069 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16070 (test-xfail-XPG4/netdb.h/conform): Likewise.
16071 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16072 (test-xfail-XPG4/signal.h/conform): Likewise.
16073 (test-xfail-XPG4/stdio.h/conform): Likewise.
16074 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16075 (test-xfail-XPG4/stropts.h/conform): Likewise.
16076 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16077 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16078 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16079 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16080 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16081 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16082 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16083 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16084 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16085 (test-xfail-XPG4/termios.h/conform): Likewise.
16086 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16087 (test-xfail-XPG4/unistd.h/conform): Likewise.
16088 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16089 (test-xfail-POSIX/sched.h/conform): Likewise.
16090 (test-xfail-POSIX/signal.h/conform): Likewise.
16091 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16092 (test-xfail-POSIX/tar.h/conform): Likewise.
16093 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16094 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16095 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16096 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16097 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16098 (test-xfail-UNIX98/sched.h/conform): Likewise.
16099 (test-xfail-UNIX98/signal.h/conform): Likewise.
16100 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16101 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16102 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16103 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16104 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16105 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16106 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16107 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16108 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16109 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16110 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16111 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16112 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16113 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16114 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16115 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16116 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16117 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16118 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16119 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16120 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16121 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16122 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16123 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16124 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16125 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16126 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16127 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16128 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16129 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16130 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16131 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16132 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16133 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16134 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16135 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16136 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16137 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16138 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16139 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16140 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16141 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16142 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16143 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16144 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16145 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16146 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16147 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16148 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16149 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16150 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16151 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16152 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16153 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16154 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16155 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16156 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16157 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16158 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16159 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16160 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16161 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16162 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16163 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16164 (conformtest-cc-flags): Likewise.
16165 ($(conformtest-header-tests): New target.
16166 * conform/check-header-lists.sh: New file.
16167 * conform/run-conformtest.sh: Remove.
16168
a00f522a
JM
16169 * conform/conformtest.pl: Allow ' and \ in values given for
16170 constants.
16171 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16172 inclusion.
16173 [POSIX] (sys/types.h): Likewise.
16174 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16175 inclusion.
16176 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16177 inclusion.
16178 * conform/data/signal.h-data (SIGIO): Remove expectation.
16179 [XPG3] (SIGBUS): Do not expect.
16180 [POSIX || XPG3] (SIGPOLL): Likewise.
16181 [POSIX || XPG3] (SIGPROF): Likewise.
16182 [POSIX || XPG3] (SIGSYS): Likewise.
16183 [XPG3] (SIGTRAP): Likewise.
16184 [POSIX || XPG3] (SIGURG): Likewise.
16185 [POSIX || XPG3] (SIGVTALRM): Likewise.
16186 [POSIX || XPG3] (SIGXCPU): Likewise.
16187 [POSIX || XPG3] (SIGXFSZ): Likewise.
16188 [POSIX] (SA_SIGINFO): Expect.
16189 [XPG3] (siginfo_t): Do not expect type or contents.
16190 [POSIX] (si_pid): Do not expect element.
16191 [POSIX] (si_uid): Likewise.
16192 [POSIX] (si_addr): Likewise.
16193 [POSIX] (si_status): Likewise.
16194 [POSIX] (si_band): Likewise.
16195 [XPG4] (si_value): Likewise.
16196 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16197 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16198 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16199 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16200 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16201 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16202 [POSIX || XPG3] (ILL_COPROC): Likewise.
16203 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16204 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16205 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16206 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16207 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16208 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16209 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16210 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16211 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16212 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16213 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16214 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16215 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16216 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16217 [POSIX || XPG3] (CLD_EXITED): Likewise.
16218 [POSIX || XPG3] (CLD_KILLED): Likewise.
16219 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16220 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16221 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16222 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16223 [POSIX || XPG3] (POLL_IN): Likewise.
16224 [POSIX || XPG3] (POLL_OUT): Likewise.
16225 [POSIX || XPG3] (POLL_MSG): Likewise.
16226 [POSIX || XPG3] (POLL_ERR): Likewise.
16227 [POSIX || XPG3] (POLL_PRI): Likewise.
16228 [POSIX || XPG3] (POLL_HUP): Likewise.
16229 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16230 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16231 (SIG*): Do not allow.
16232 [XPG3] (si_*): Likewise.
16233 [XPG3] (SI_*): Likewise.
16234 [XPG3 || XPG4] (sigev_*): Likewise.
16235 [XPG3 || XPG4] (SIGEV_*): Likewise.
16236 [XPG3 || XPG4] (sival_*): Likewise.
16237 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16238 [POSIX || XPG3] (BUS_*): Likewise.
16239 [POSIX || XPG3] (CLD_*): Likewise.
16240 [POSIX || XPG3] (FPE_*): Likewise.
16241 [POSIX || XPG3] (ILL_*): Likewise.
16242 [POSIX || XPG3] (POLL_*): Likewise.
16243 [POSIX || XPG3] (SEGV_*): Likewise.
16244 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16245 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16246 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16247 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16248 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16249 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16250 Specify type and value.
16251 (TVERSLEN): Likewise.
16252 (REGTYPE): Likewise.
16253 (AREGTYPE): Likewise.
16254 (LNKTYPE): Likewise.
16255 (SYMTYPE): Likewise.
16256 (CHRTYPE): Likewise.
16257 (BLKTYPE): Likewise.
16258 (DIRTYPE): Likewise.
16259 (FIFOTYPE): Likewise.
16260 (CONTTYPE): Likewise.
16261 (TSUID): Likewise.
16262 (TSGID): Likewise.
16263 (TSVTX): Likewise.
16264 (TUREAD): Likewise.
16265 (TUWRITE): Likewise.
16266 (TUEXEC): Likewise.
16267 (TGREAD): Likewise.
16268 (TGWRITE): Likewise.
16269 (TGEXEC): Likewise.
16270 (TOREAD): Likewise.
16271 (TOWRITE): Likewise.
16272 (TOEXEC): Likewise.
16273 [POSIX] (TSVTX): Expect constant.
16274
aa97dee1
JM
162752014-03-06 Joseph Myers <joseph@codesourcery.com>
16276
f214606a
JM
16277 * Makefile (tests): Change dependencies to ....
16278 (tests-special): ... additions to this variable.
16279 (tests): Depend on $(tests-special).
16280 * Makerules (check-abi-list): New variable.
16281 (check-abi): Depend on $(check-abi-list).
16282 [$(subdir) = elf] (tests-special): Add
16283 $(objpfx)check-abi-libc.out.
16284 [$(build-shared) = yes && subdir] (tests-special): Add
16285 $(check-abi-list).
16286 [$(build-shared) = yes && subdir] (tests): Do not depend on
16287 check-abi.
16288 * Rules (tests): Depend on $(tests-special).
16289 (xtests): Depend on $(xtests-special).
16290 * catgets/Makefile (tests): Change dependencies to ....
16291 (tests-special): ... additions to this variable.
16292 * conform/Makefile (tests): Change dependencies to ....
16293 (tests-special): ... additions to this variable.
16294 * elf/Makefile (tests): Change dependencies to ....
16295 (tests-special): ... additions to this variable.
16296 * grp/Makefile (tests): Change dependencies to ....
16297 (tests-special): ... additions to this variable.
16298 * iconv/Makefile (xtests): Change dependencies to ....
16299 (xtests-special): ... additions to this variable.
16300 * iconvdata/Makefile (tests): Change dependencies to ....
16301 (tests-special): ... additions to this variable.
16302 * intl/Makefile (tests): Change dependencies to ....
16303 (tests-special): ... additions to this variable. Also add
16304 $(objpfx)tst-gettext.out.
16305 * io/Makefile (tests): Change dependencies to ....
16306 (tests-special): ... additions to this variable.
16307 * libio/Makefile (tests): Change dependencies to ....
16308 (tests-special): ... additions to this variable.
16309 * malloc/Makefile (tests): Change dependencies to ....
16310 (tests-special): ... additions to this variable.
16311 * misc/Makefile (tests): Change dependencies to ....
16312 (tests-special): ... additions to this variable.
16313 * nptl/Makefile (tests): Change dependencies to ....
16314 (tests-special): ... additions to this variable.
16315 * nptl_db/Makefile (tests): Change dependencies to ....
16316 (tests-special): ... additions to this variable.
16317 * posix/Makefile (tests): Change dependencies to ....
16318 (tests-special): ... additions to this variable.
16319 (xtests): Change dependencies to ....
16320 (xtests-special): ... additions to this variable.
16321 * resolv/Makefile (tests): Change dependencies to ....
16322 (tests-special): ... additions to this variable.
16323 (xtests): Change dependencies to ....
16324 (xtests-special): ... additions to this variable.
16325 * stdio-common/Makefile (tests): Change dependencies to ....
16326 (tests-special): ... additions to this variable.
16327 (do-tst-unbputc): Remove target.
16328 (do-tst-printf): Likewise.
16329 * stdlib/Makefile (tests): Change dependencies to ....
16330 (tests-special): ... additions to this variable.
16331 * string/Makefile (tests): Change dependencies to ....
16332 (tests-special): ... additions to this variable.
16333 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16334 (tests-special): ... additions to this variable.
16335
81700b53
JM
16336 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16337 whole file.
16338 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16339 whole file.
16340 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16341 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16342
2ea18461
JM
16343 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16344 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16345 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16346 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16347 * conform/data/libgen.h-data [XPG3]: Likewise.
16348 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16349 * conform/data/ndbm.h-data [XPG3]: Likewise.
16350 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16351 * conform/data/netdb.h-data [XPG3]: Likewise.
16352 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16353 * conform/data/poll.h-data [XPG3]: Likewise.
16354 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16355 * conform/data/strings.h-data [XPG3]: Likewise.
16356 * conform/data/stropts.h-data [XPG3]: Likewise.
16357 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16358 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16359 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16360 Likewise.
16361 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16362 * conform/data/sys/time.h-data [XPG3]: Likewise.
16363 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16364 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16365 * conform/data/sys/un.h-data [XPG3]: Likewise.
16366 * conform/data/syslog.h-data [XPG3]: Likewise.
16367 * conform/data/ucontext.h-data [XPG3]: Likewise.
16368 * conform/data/utmpx.h-data [XPG3]: Likewise.
16369 * conform/data/varargs.h-data [UNIX98]: Enable file.
16370
355bc986
JM
16371 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16372
215db402
JM
16373 * math/libm-test.inc (struct test_f_f_data): Move expected results
16374 into structure for each rounding mode.
16375 (struct test_ff_f_data): Likewise.
16376 (struct test_ff_f_data_nexttoward): Likewise.
16377 (struct test_fi_f_data): Likewise.
16378 (struct test_fl_f_data): Likewise.
16379 (struct test_if_f_data): Likewise.
16380 (struct test_fff_f_data): Likewise.
16381 (struct test_c_f_data): Likewise.
16382 (struct test_f_f1_data): Likewise.
16383 (struct test_fF_f1_data): Likewise.
16384 (struct test_ffI_f1_data): Likewise.
16385 (struct test_c_c_data): Likewise.
16386 (struct test_cc_c_data): Likewise.
16387 (struct test_f_i_data): Likewise.
16388 (struct test_ff_i_data): Likewise.
16389 (struct test_f_l_data): Likewise.
16390 (struct test_f_L_data): Likewise.
16391 (struct test_fFF_11_data): Likewise.
16392 (RM_): New macro.
16393 (RM_FE_DOWNWARD): Likewise.
16394 (RM_FE_TONEAREST): Likewise.
16395 (RM_FE_TOWARDZERO): Likewise.
16396 (RM_FE_UPWARD): Likewise.
16397 (RUN_TEST_LOOP_f_f): Update references to expected results.
16398 (RUN_TEST_LOOP_2_f): Likewise.
16399 (RUN_TEST_LOOP_fff_f): Likewise.
16400 (RUN_TEST_LOOP_c_f): Likewise.
16401 (RUN_TEST_LOOP_f_f1): Likewise.
16402 (RUN_TEST_LOOP_fF_f1): Likewise.
16403 (RUN_TEST_LOOP_fI_f1): Likewise.
16404 (RUN_TEST_LOOP_ffI_f1): Likewise.
16405 (RUN_TEST_LOOP_c_c): Likewise.
16406 (RUN_TEST_LOOP_cc_c): Likewise.
16407 (RUN_TEST_LOOP_f_i): Likewise.
16408 (RUN_TEST_LOOP_f_i_tg): Likewise.
16409 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16410 (RUN_TEST_LOOP_f_b): Likewise.
16411 (RUN_TEST_LOOP_f_b_tg): Likewise.
16412 (RUN_TEST_LOOP_f_l): Likewise.
16413 (RUN_TEST_LOOP_f_L): Likewise.
16414 (RUN_TEST_LOOP_fFF_11): Likewise.
16415 * math/gen-libm-test.pl (parse_args): Output four copies of
16416 expected results for each test.
16417
67737b8f
JM
16418 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16419 (__ASSUME_UTIMES): Remove.
16420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16421 (__ASSUME_UTIMES): Likewise.
16422
aa97dee1
JM
16423 * math/gen-auto-libm-tests.c: Update comment on output format.
16424 (output_for_one_input_case): Generate before-rounding and
16425 after-rounding information as conditions on output flags not
16426 floating-point format.
16427 * math/auto-libm-test-out: Regenerated.
16428 * math/gen-libm-test.pl (cond_value): New function.
16429 (or_cond_value): Use cond_value.
16430 (generate_testfile): Handle conditional exceptions.
16431
e6b6a857
JM
164322014-03-05 Joseph Myers <joseph@codesourcery.com>
16433
2f0a0f44
JM
16434 * math/libm-test.inc (max_valid_error): New variable.
16435 (init_max_error): Take new argument specifying whether function
16436 results are exactly determined. Set max_valid_error and bound
16437 other variables for errors based on this argument.
16438 (set_max_error): Do not record results above max_valid_error.
16439 (check_float_internal): Only accept errors of up to 0.5ulps if
16440 also at most max_valid_error.
16441 (START): Take new argument EXACT and pass it to init_max_error.
16442 (acos_test): Update call to START.
16443 (acos_test_tonearest): Likewise.
16444 (acos_test_towardzero): Likewise.
16445 (acos_test_downward): Likewise.
16446 (acos_test_upward): Likewise.
16447 (acosh_test): Likewise.
16448 (asin_test): Likewise.
16449 (asin_test_tonearest): Likewise.
16450 (asin_test_towardzero): Likewise.
16451 (asin_test_downward): Likewise.
16452 (asin_test_upward): Likewise.
16453 (asinh_test): Likewise.
16454 (atan_test): Likewise.
16455 (atanh_test): Likewise.
16456 (atan2_test): Likewise.
16457 (cabs_test): Likewise.
16458 (cacos_test): Likewise.
16459 (cacosh_test): Likewise.
16460 (carg_test): Likewise.
16461 (casin_test): Likewise.
16462 (casinh_test): Likewise.
16463 (catan_test): Likewise.
16464 (catanh_test): Likewise.
16465 (cbrt_test): Likewise.
16466 (ccos_test): Likewise.
16467 (ccosh_test): Likewise.
16468 (ceil_test): Likewise.
16469 (cexp_test): Likewise.
16470 (cimag_test): Likewise.
16471 (clog_test): Likewise.
16472 (clog10_test): Likewise.
16473 (conj_test): Likewise.
16474 (copysign_test): Likewise.
16475 (cos_test): Likewise.
16476 (cos_test_tonearest): Likewise.
16477 (cos_test_towardzero): Likewise.
16478 (cos_test_downward): Likewise.
16479 (cos_test_upward): Likewise.
16480 (cosh_test): Likewise.
16481 (cosh_test_tonearest): Likewise.
16482 (cosh_test_towardzero): Likewise.
16483 (cosh_test_downward): Likewise.
16484 (cosh_test_upward): Likewise.
16485 (cpow_test): Likewise.
16486 (cproj_test): Likewise.
16487 (creal_test): Likewise.
16488 (csin_test): Likewise.
16489 (csinh_test): Likewise.
16490 (csqrt_test): Likewise.
16491 (ctan_test): Likewise.
16492 (ctan_test_tonearest): Likewise.
16493 (ctan_test_towardzero): Likewise.
16494 (ctan_test_downward): Likewise.
16495 (ctan_test_upward): Likewise.
16496 (ctanh_test): Likewise.
16497 (ctanh_test_tonearest): Likewise.
16498 (ctanh_test_towardzero): Likewise.
16499 (ctanh_test_downward): Likewise.
16500 (ctanh_test_upward): Likewise.
16501 (erf_test): Likewise.
16502 (erfc_test): Likewise.
16503 (exp_test): Likewise.
16504 (exp_test_tonearest): Likewise.
16505 (exp_test_towardzero): Likewise.
16506 (exp_test_downward): Likewise.
16507 (exp_test_upward): Likewise.
16508 (exp10_test): Likewise.
16509 (exp10_test_tonearest): Likewise.
16510 (exp10_test_towardzero): Likewise.
16511 (exp10_test_downward): Likewise.
16512 (exp10_test_upward): Likewise.
16513 (pow10_test): Likewise.
16514 (exp2_test): Likewise.
16515 (expm1_test): Likewise.
16516 (expm1_test_tonearest): Likewise.
16517 (expm1_test_towardzero): Likewise.
16518 (expm1_test_downward): Likewise.
16519 (expm1_test_upward): Likewise.
16520 (fabs_test): Likewise.
16521 (fdim_test): Likewise.
16522 (floor_test): Likewise.
16523 (fma_test): Likewise.
16524 (fma_test_towardzero): Likewise.
16525 (fma_test_downward): Likewise.
16526 (fma_test_upward): Likewise.
16527 (fmax_test): Likewise.
16528 (fmin_test): Likewise.
16529 (fmod_test): Likewise.
16530 (fpclassify_test): Likewise.
16531 (frexp_test): Likewise.
16532 (hypot_test): Likewise.
16533 (ilogb_test): Likewise.
16534 (isfinite_test): Likewise.
16535 (finite_test): Likewise.
16536 (isgreater_test): Likewise.
16537 (isgreaterequal_test): Likewise.
16538 (isinf_test): Likewise.
16539 (isless_test): Likewise.
16540 (islessequal_test): Likewise.
16541 (islessgreater_test): Likewise.
16542 (isnan_test): Likewise.
16543 (isnormal_test): Likewise.
16544 (issignaling_test): Likewise.
16545 (isunordered_test): Likewise.
16546 (j0_test): Likewise.
16547 (j1_test): Likewise.
16548 (jn_test): Likewise.
16549 (ldexp_test): Likewise.
16550 (lgamma_test): Likewise.
16551 (gamma_test): Likewise.
16552 (lrint_test): Likewise.
16553 (lrint_test_tonearest): Likewise.
16554 (lrint_test_towardzero): Likewise.
16555 (lrint_test_downward): Likewise.
16556 (lrint_test_upward): Likewise.
16557 (llrint_test): Likewise.
16558 (llrint_test_tonearest): Likewise.
16559 (llrint_test_towardzero): Likewise.
16560 (llrint_test_downward): Likewise.
16561 (llrint_test_upward): Likewise.
16562 (log_test): Likewise.
16563 (log10_test): Likewise.
16564 (log1p_test): Likewise.
16565 (log2_test): Likewise.
16566 (logb_test): Likewise.
16567 (logb_test_downward): Likewise.
16568 (lround_test): Likewise.
16569 (llround_test): Likewise.
16570 (modf_test): Likewise.
16571 (nearbyint_test): Likewise.
16572 (nextafter_test): Likewise.
16573 (nexttoward_test): Likewise.
16574 (pow_test): Likewise.
16575 (pow_test_tonearest): Likewise.
16576 (pow_test_towardzero): Likewise.
16577 (pow_test_downward): Likewise.
16578 (pow_test_upward): Likewise.
16579 (remainder_test): Likewise.
16580 (drem_test): Likewise.
16581 (remainder_test_tonearest): Likewise.
16582 (drem_test_tonearest): Likewise.
16583 (remainder_test_towardzero): Likewise.
16584 (drem_test_towardzero): Likewise.
16585 (remainder_test_downward): Likewise.
16586 (drem_test_downward): Likewise.
16587 (remainder_test_upward): Likewise.
16588 (drem_test_upward): Likewise.
16589 (remquo_test): Likewise.
16590 (rint_test): Likewise.
16591 (rint_test_tonearest): Likewise.
16592 (rint_test_towardzero): Likewise.
16593 (rint_test_downward): Likewise.
16594 (rint_test_upward): Likewise.
16595 (round_test): Likewise.
16596 (scalb_test): Likewise.
16597 (scalbn_test): Likewise.
16598 (scalbln_test): Likewise.
16599 (signbit_test): Likewise.
16600 (sin_test): Likewise.
16601 (sin_test_tonearest): Likewise.
16602 (sin_test_towardzero): Likewise.
16603 (sin_test_downward): Likewise.
16604 (sin_test_upward): Likewise.
16605 (sincos_test): Likewise.
16606 (sinh_test): Likewise.
16607 (sinh_test_tonearest): Likewise.
16608 (sinh_test_towardzero): Likewise.
16609 (sinh_test_downward): Likewise.
16610 (sinh_test_upward): Likewise.
16611 (sqrt_test): Likewise.
16612 (sqrt_test_tonearest): Likewise.
16613 (sqrt_test_towardzero): Likewise.
16614 (sqrt_test_downward): Likewise.
16615 (sqrt_test_upward): Likewise.
16616 (tan_test): Likewise.
16617 (tan_test_tonearest): Likewise.
16618 (tan_test_towardzero): Likewise.
16619 (tan_test_downward): Likewise.
16620 (tan_test_upward): Likewise.
16621 (tanh_test): Likewise.
16622 (tgamma_test): Likewise.
16623 (trunc_test): Likewise.
16624 (y0_test): Likewise.
16625 (y1_test): Likewise.
16626 (yn_test): Likewise.
16627 (significand_test): Likewise.
16628
e6b6a857
JM
16629 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16630 individual tests in comment.
16631 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16632 (prev_max_error): New variable.
16633 (prev_real_max_error): Likewise.
16634 (prev_imag_max_error): Likewise.
16635 (compare_ulp_data): Don't refer to test names in comment.
16636 (find_test_ulps): Remove function.
16637 (find_function_ulps): Likewise.
16638 (find_complex_function_ulps): Likewise.
16639 (init_max_error): Take function name as argument. Look up ulps
16640 for that function.
16641 (print_ulps): Remove function.
16642 (print_max_error): Use prev_max_error instead of calling
16643 find_function_ulps.
16644 (print_complex_max_error): Use prev_real_max_error and
16645 prev_imag_max_error instead of calling find_complex_function_ulps.
16646 (check_float_internal): Take max_ulp parameter instead of calling
16647 find_test_ulps. Don't call print_ulps.
16648 (check_float): Update call to check_float_internal.
16649 (check_complex): Update calls to check_float_internal.
16650 (START): Pass argument to init_max_error.
16651 * math/gen-libm-test.pl (%results): Don't include "kind"
16652 information.
16653 (parse_ulps): Don't handle ulps of individual tests.
16654 (print_ulps_file): Likewise.
16655 (output_ulps): Likewise.
16656 * math/README.libm-test: Update.
16657 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16658 individual tests.
16659 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16660 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16661 * sysdeps/arm/libm-test-ulps: Likewise.
16662 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16663 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16664 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16665 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16666 * sysdeps/microblaze/libm-test-ulps: Likewise.
16667 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16668 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16670 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16672 * sysdeps/sh/libm-test-ulps: Likewise.
16673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16674 * sysdeps/tile/libm-test-ulps: Likewise.
16675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676
45adef3c
JM
166772014-03-04 Joseph Myers <joseph@codesourcery.com>
16678
16679 * math/libm-test.inc (print_complex_max_error): Check separately
16680 whether real and imaginary errors are within allowed range and
16681 pass 0 to print_complex_function_ulps instead of value within
16682 allowed range.
16683
000232b9
SP
166842014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16685
d4b17258
SP
16686 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16687 formatting.
16688 (get_handles_fopen): Likewise.
16689 (do_write_test): Likewise.
16690
091eff71
SP
16691 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16692
fa3cd248
SP
16693 * libio/fileops.c (do_ftell): Use cached offset when
16694 available.
16695 * libio/iofwide.c (do_ftell_wide): Likewise.
16696 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16697 _IO_file_attach.
16698 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16699
000232b9
SP
16700 [BZ #16532]
16701 * libio/libioP.h (get_file_offset): New function.
16702 * libio/fileops.c (get_file_offset): Likewise.
16703 (do_ftell): Likewise.
16704 (_IO_new_file_seekoff): Split out ftell logic.
16705 * libio/wfileops.c (do_ftell_wide): Likewise.
16706 (_IO_wfile_seekoff): Split out ftell logic.
16707 * libio/tst-ftell-active-handler.c: New test case.
16708 * libio/Makefile (tests): Add it.
16709
116f4d1a
RM
167102014-03-03 Roland McGrath <roland@hack.frob.com>
16711
16712 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16713 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16714
532a6035
SP
167152014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16716
16717 [BZ #16639]
16718 * nscd/connections.c (nscd_init): Call do_exit.
16719 (start_threads): Call do_exit and notify_parent.
16720 (begin_drop_privileges): Call do_exit.
16721 (finish_drop_privileges): Likewise.
16722 * nscd/selinux.c (preserve_capabilities): Likewise.
16723 (install_real_capabilities): Likewise.
16724 (nscd_selinux_enabled): Likewise.
16725 (avc_create_thread): Likewise.
16726 (avc_alloc_lock): Likewise.
16727 (nscd_avc_init): Likewise.
16728 * nscd/nscd.c (parent_fd): New static variable.
16729 (main): Create a pipe between parent and child processes.
16730 Skip closing parent_fd.
16731 (monitor_child): New function.
16732 (do_exit): Likewise.
16733 (notify_parent): Likewise.
16734 * nscd/nscd.h (notify_parent): Likewise.
16735 (do_exit): Likewise.
16736
d6285c9f
CD
167372014-03-03 Carlos O'Donell <carlos@redhat.com>
16738
16739 * malloc/malloc.c (__libc_calloc): Revert last change.
16740
2b85d2a0
AZ
167412014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16742
16743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16744
c7debbdf
RS
167452014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16746
16747 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16749 implementation.
16750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16751 (__libc_ifunc_impl_list): Likewise.
16752 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16753 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16754 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16755 * string/strrchr.c: Define STRRCHR.
16756
235eed86
OB
167572014-02-28 Ondřej Bílka <neleai@seznam.cz>
16758
16759 * benchtest/bench-strtok.c (simple_strtok): Delete.
16760 (strtok_string): Use as benchmark.
16761 * string/strtok (STRTOK): New macro.
16762
8e25d1e7
CD
167632014-02-28 Carlos O'Donell <carlos@redhat.com>
16764
ef563f92
CD
16765 * manual/threads.texi: Add header and standard comments to all
16766 functions.
16767
8e25d1e7
CD
16768 * elf/dl-lookup.c (check_match): New function.
16769 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16770 (do_lookup_x): Remove nested function check_match. Use non-nested
16771 function check_match.
16772
ff71cc37
RM
167732014-02-28 Roland McGrath <roland@hack.frob.com>
16774
f08e9a26
RM
16775 * csu/Makefile (generated, before-compile): Use += rather than =.
16776 * catgets/Makefile (generated, generated-dirs): Likewise.
16777 * debug/Makefile (generated): Likewise.
16778 * dlfcn/Makefile (generated): Likewise.
16779 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16780 * iconvdata/Makefile (before-compile, generated): Likewise.
16781 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16782 * libio/Makefile (generated): Likewise.
16783 * malloc/Makefile (generated): Likewise.
16784 * manual/Makefile (generated, generated-dirs): Likewise.
16785 * misc/Makefile (generated): Likewise.
16786 * posix/Makefile (generated): Likewise.
16787 * resolv/Makefile (generated): Likewise.
16788 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16789 * timezone/Makefile (generated, generated-dirs): Likewise.
16790
ff71cc37
RM
16791 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16792
fe13a20c
AZ
167932014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16794
57f41c40
AS
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16796 power8 implementation.
16797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16798 file: POWER8 llround ifunc implementation.
16799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16800 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16801 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16802 POWER8 llround implementation.
16803
57f41c40
AS
16804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16805 power8 implementation.
16806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16807 file: POWER8 llrint ifunc implementation.
16808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16809 Add POWER8 implementation.
1ad8950a
AZ
16810 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16811 POWER8 llrint implementation.
16812
57f41c40
AS
16813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16814 power8 implementation.
16815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16816 file: POWER8 finite ifunc implementation.
16817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16818 Add POWER8 implementation.
cac626d6
AZ
16819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16820 Likewise.
16821 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16822 POWER8 finite implementation.
16823 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16824
57f41c40
AS
16825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16826 power8 implementation.
16827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16828 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16830 POWER8 implementation.
16831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16832 Likewise.
57f41c40
AS
16833 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16834 isinf implementation.
4393fc11
AZ
16835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16836
57f41c40
AS
16837 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16838 (INIT_ARCH): Add hwcap2 initialization.
16839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16840 power8 implementation.
16841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16842 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16844 POWER8 implementation.
16845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16846 Likewise.
57f41c40
AS
16847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16848 isnan implementation.
487972ae
AZ
16849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16850
7d92b787
JY
168512014-02-27 Joey Ye <joey.ye@arm.com>
16852
16853 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16854 (_FP_NANFRAC_Q): Set to zero.
16855
1cadc858
SP
168562014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16857
16858 [BZ #16623]
16859 * math/auto-libm-test-in: New test inputs.
16860 * math/auto-libm-test-out: Regenerate.
16861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16862 and DA.
16863 (__cos): Likewise.
16864 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16865
f8c17e79
JM
168662014-02-27 Joseph Myers <joseph@codesourcery.com>
16867
16868 * scripts/evaluate-test.sh: Take new argument indicating whether
16869 failure is expected.
16870 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16871 indicating whether failure is expected.
16872 * conform/Makefile (test-xfail-run-conformtest): New variable.
16873 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16874 level.
16875 * posix/Makefile (test-xfail-annexc): New variable.
16876 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16877
a5f891ac
JM
168782014-02-26 Joseph Myers <joseph@codesourcery.com>
16879
16880 * argp/Makefile: Include Makeconfig immediately after defining
16881 subdir.
16882 * assert/Makefile: Likewise.
16883 * benchtests/Makefile: Likewise.
16884 * catgets/Makefile: Likewise.
16885 * conform/Makefile: Likewise.
16886 * crypt/Makefile: Likewise.
16887 * csu/Makefile: Likewise.
16888 (all): Remove target.
16889 * ctype/Makefile: Include Makeconfig immediately after defining
16890 subdir.
16891 * debug/Makefile: Likewise.
16892 * dirent/Makefile: Likewise.
16893 * dlfcn/Makefile: Likewise.
16894 * gmon/Makefile: Likewise.
16895 * gnulib/Makefile: Likewise.
16896 * grp/Makefile: Likewise.
16897 * gshadow/Makefile: Likewise.
16898 * hesiod/Makefile: Likewise.
16899 * hurd/Makefile: Likewise.
16900 (all): Remove target.
16901 * iconvdata/Makefile: Include Makeconfig immediately after
16902 defining subdir.
16903 * inet/Makefile: Likewise.
16904 * intl/Makefile: Likewise.
16905 * io/Makefile: Likewise.
16906 * libio/Makefile: Likewise.
16907 (all): Remove target.
16908 * locale/Makefile: Include Makeconfig immediately after defining
16909 subdir.
16910 * login/Makefile: Likewise.
16911 * mach/Makefile: Likewise.
16912 (all): Remove target.
16913 * malloc/Makefile: Include Makeconfig immediately after defining
16914 subdir.
16915 (all): Remove target.
16916 * manual/Makefile: Include Makeconfig immediately after defining
16917 subdir.
16918 * math/Makefile: Likewise.
16919 * misc/Makefile: Likewise.
16920 * nis/Makefile: Likewise.
16921 * nss/Makefile: Likewise.
16922 * po/Makefile: Likewise.
16923 (all): Remove target.
16924 * posix/Makefile: Include Makeconfig immediately after defining
16925 subdir.
16926 * pwd/Makefile: Likewise.
16927 * resolv/Makefile: Likewise.
16928 * resource/Makefile: Likewise.
16929 * rt/Makefile: Likewise.
16930 * setjmp/Makefile: Likewise.
16931 * shadow/Makefile: Likewise.
16932 * signal/Makefile: Likewise.
16933 * socket/Makefile: Likewise.
16934 * soft-fp/Makefile: Likewise.
16935 * stdio-common/Makefile: Likewise.
16936 * stdlib/Makefile: Likewise.
16937 * streams/Makefile: Likewise.
16938 * string/Makefile: Likewise.
16939 * sunrpc/Makefile: Likewise.
16940 (all): Remove target.
16941 * sysvipc/Makefile: Include Makeconfig immediately after defining
16942 subdir.
16943 * termios/Makefile: Likewise.
16944 * time/Makefile: Likewise.
16945 * timezone/Makefile: Likewise.
16946 (all): Remove target.
16947 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16948 subdir.
16949 * wctype/Makefile: Likewise.
16950
5b456e9d
SE
169512014-02-26 Steve Ellcey <sellcey@mips.com>
16952
16953 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16954 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16955 (libc_feholdexcept_setround_mips): Ditto.
16956 (libc_feholdsetround): New.
16957 (libc_feholdsetroundf): New.
16958 (libc_feholdsetroundl): New.
16959 (libc_feupdateenv_test_mips): New.
16960 (libc_feupdateenv_test): New.
16961 (libc_feupdateenv_testf): New.
16962 (libc_feupdateenv_testl): New.
16963 (libc_feresetround): New.
16964 (libc_feresetroundf): New.
16965 (libc_feresetroundl): New.
16966 (libc_fetestexcept_mips): New.
16967 (libc_fetestexcept): New.
16968 (libc_fetestexceptf): New.
16969 (libc_fetestexceptl): New.
16970 (HAVE_RM_CTX): New.
16971 (libc_feholdexcept_setround_mips_ctx): New.
16972 (libc_feholdexcept_setround_ctx): New.
16973 (libc_feholdexcept_setroundf_ctx): New.
16974 (libc_feholdexcept_setroundl_ctx): New.
16975 (libc_fesetenv_mips_ctx): New.
16976 (libc_fesetenv_ctx): New.
16977 (libc_fesetenv_ctxf): New.
16978 (libc_fesetenv_ctxl): New.
16979 (libc_feupdateenv_mips_ctx): New.
16980 (libc_feupdateenv_ctx): New.
16981 (libc_feupdateenvf_ctx): New.
16982 (libc_feupdateenvl_ctx): New.
16983 (libc_feholdsetround_mips_ctx): New.
16984 (libc_feholdsetround_ctx): New.
16985 (libc_feholdsetroundf_ctx): New.
16986 (libc_feholdsetroundl_ctx): New.
16987 (libc_feresetround_mips_ctx): New.
16988 (libc_feresetround_ctx): New.
16989 (libc_feresetroundf_ctx): New.
16990 (libc_feresetroundl_ctx): New.
16991
085d0e35
CD
169922014-02-26 Carlos O'Donell <carlos@redhat.com>
16993
f067bf1f
CD
16994 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16995
085d0e35
CD
16996 * manual/ipc.texi: New file.
16997 * manual/Makefile (chapters): Add ipc.
16998 * manual/job.texi: Add "Inter-Process Communication" to next.
16999 * manual/process.texi: Add "Inter-Process Communication" to prev.
17000
86e58c08
AZ
170012014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17002
17003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17004
4248f0da
OB
170052014-02-26 Ondřej Bílka <neleai@seznam.cz>
17006
17007 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17008
cf822e3c
OB
17009 * manual/arith.texi: Fix spaces after sentences.
17010 * manual/charset.texi: Likewise.
17011 * manual/errno.texi: Likewise.
17012 * manual/install.texi: Likewise.
17013 * manual/llio.texi: Likewise.
17014 * manual/locale.texi: Likewise.
17015 * manual/maint.texi: Likewise.
17016 * manual/math.texi: Likewise.
17017 * manual/memory.texi: Likewise.
17018 * manual/message.texi: Likewise.
17019 * manual/probes.texi: Likewise.
17020 * manual/resource.texi: Likewise.
17021 * manual/signal.texi: Likewise.
17022 * manual/socket.texi: Likewise.
17023 * manual/stdio.texi: Likewise.
17024 * manual/string.texi: Likewise.
17025 * manual/time.texi: Likewise.
17026 * manual/users.texi: Likewise.
17027
ade40b10
CD
170282014-02-25 Carlos O'Donell <carlos@redhat.com>
17029
17030 [BZ #16632]
17031 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17032 _DEFAULT_SOURCE is defined.
17033
d0503676
CD
170342014-02-25 Ulrich Drepper <drepper@gmail.com>
17035 Carlos O'Donell <carlos@redhat.com>
17036
17037 [BZ #16613]
17038 * elf/dl-tls.c (_dl_count_modids): New function.
17039 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17040 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17041 audit library and increment generation counter.
17042 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17043 * elf/tst-audit9.c: New file.
17044 * elf/tst-auditmod9a.c: New file.
17045 * elf/tst-auditmod9b.c: New file.
17046 * elf/Makefile: Add rules to build and run tst-audit9.
17047
4cbf380c
FW
170482014-02-25 Florian Weimer <fweimer@redhat.com>
17049
17050 [BZ #15347]
17051 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17052
80a56cc3
WN
170532014-02-25 Will Newton <will.newton@linaro.org>
17054
17055 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17056 (__longjmp): Restore sp and lr before restoring callee
17057 saved registers. Add longjmp and longjmp_target
17058 SystemTap probe point.
17059 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17060 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17061 Define to zero to match jmpbuf layout.
17062 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17063 (__sigsetjmp): Save sp and lr before saving callee
17064 saved registers. Add setjmp SystemTap probe point.
17065
3ea0f74e
SL
170662014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17067
17068 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17069
b04acb26
AS
170702014-02-24 Andreas Schwab <schwab@suse.de>
17071
17072 [BZ #15804]
17073 * elf/pldd.c (wait_for_ptrace_stop): New function.
17074 (main): Call it after attaching.
17075
098ad55c
RM
170762014-02-22 Roland McGrath <roland@hack.frob.com>
17077
d4ec6ae1
RM
17078 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17079 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17080 Versions files is now verboten.
17081 * hurd/Versions (libc: GLIBC_2.0):
17082 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17083 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17084 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17085 * mach/Versions: Likewise.
17086
098ad55c
RM
17087 * csu/Versions: Remove unused %include.
17088 * resolv/Versions: Likewise.
17089
acd7f096
JM
170902014-02-21 Joseph Myers <joseph@codesourcery.com>
17091
f0881698
JM
17092 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17093 ($(objpfx)check-local-headers.out): Likewise.
17094 ($(objpfx)begin-end-check.out): Likewise.
17095 * Makerules (check-abi-%.out): Likewise.
17096 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17097 ($(objpfx)test2.cat): Likewise.
17098 ($(objpfx)de/libc.cat): Likewise.
17099 ($(objpfx)test-gencat.out): Likewise.
17100 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17101 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17102 ($(objpfx)noload-mem): Likewise.
17103 ($(objpfx)tst-pathopt.out): Likewise.
17104 ($(objpfx)tst-rtld-load-self.out): Likewise.
17105 ($(objpfx)tst-array1-cmp.out): Likewise.
17106 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17107 ($(objpfx)tst-array2-cmp.out): Likewise.
17108 ($(objpfx)tst-array3-cmp.out): Likewise.
17109 ($(objpfx)tst-array4-cmp.out): Likewise.
17110 ($(objpfx)tst-array5-cmp.out): Likewise.
17111 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17112 ($(objpfx)check-textrel.out): Likewise.
17113 ($(objpfx)check-execstack.out): Likewise.
17114 ($(objpfx)check-localplt.out): Likewise.
17115 ($(objpfx)order2-cmp.out): Likewise.
17116 ($(objpfx)tst-leaks1-mem): Likewise.
17117 ($(objpfx)tst-leaks1-static-mem): Likewise.
17118 ($(objpfx)tst-initorder-cmp.out): Likewise.
17119 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17120 ($(objpfx)tst-unused-dep.out): Likewise.
17121 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17122 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17123 * iconv/Makefile (test-iconvconfig): Likewise.
17124 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17125 ($(objpfx)iconv-test.out): Likewise.
17126 ($(objpfx)tst-tables.out): Likewise.
17127 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17128 ($(objpfx)tst-gettext.out): Likewise.
17129 ($(objpfx)tst-translit.out): Likewise.
17130 ($(objpfx)tst-gettext2.out): Likewise.
17131 ($(objpfx)tst-gettext4.out): Likewise.
17132 ($(objpfx)tst-gettext6.out): Likewise.
17133 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17134 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17135 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17136 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17137 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17138 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17139 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17140 ($(objpfx)wordexp-tst.out): Likewise.
17141 ($(objpfx)annexc.out): Likewise.
17142 ($(objpfx)tst-fnmatch-mem): Likewise.
17143 ($(objpfx)bug-regex2-mem): Likewise.
17144 ($(objpfx)bug-regex14-mem): Likewise.
17145 ($(objpfx)bug-regex21-mem): Likewise.
17146 ($(objpfx)bug-regex31-mem): Likewise.
17147 ($(objpfx)tst-vfork3-mem): Likewise.
17148 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17149 ($(objpfx)tst-pcre-mem): Likewise.
17150 ($(objpfx)tst-boost-mem): Likewise.
17151 ($(objpfx)tst-getconf.out): Likewise.
17152 ($(objpfx)bug-ga2-mem): Likewise.
17153 ($(objpfx)bug-glob2-mem): Likewise.
17154 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17155 ($(objpfx)mtrace-tst-leaks2): Likewise.
17156 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17157 ($(objpfx)tst-printf.out): Likewise.
17158 ($(objpfx)tst-setvbuf1.out): Likewise.
17159 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17160 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17161 ($(objpfx)tst-fmtmsg.out): Likewise.
17162 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17163 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17164
acd7f096
JM
17165 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17166 * bits/sigaction.h [__USE_MISC]: Likewise.
17167 * bits/waitstatus.h: Update #endif comments.
17168 * ctype/ctype.h: Likewise.
17169 * dirent/dirent.h: Likewise.
17170 [__USE_MISC]: Remove redundant conditionals.
17171 * grp/grp.h: Update #endif comments.
17172 [__USE_GNU]: Remove redundant conditionals.
17173 [__USE_MISC]: Likewise.
17174 * inet/netinet/in.h [__USE_GNU]: Likewise.
17175 * io/sys/stat.h [__USE_MISC]: Likewise.
17176 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17177 * libio/bits/stdio.h: Update #endif comments.
17178 [__USE_MISC]: Remove redundant conditionals.
17179 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17180 * libio/stdio.h: Update #endif comments.
17181 [__USE_MISC]: Remove redundant conditionals.
17182 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17183 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17184 * math/math.h: Update #else and #endif comments.
17185 [__USE_MISC]: Remove redundant conditionals.
17186 * misc/sys/uio.h: Update #endif comments.
17187 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17188 * posix/glob.h [__USE_MISC]: Likewise.
17189 * posix/sys/types.h: Update #endif comments.
17190 [__USE_MISC]: Remove redundant conditionals.
17191 * posix/sys/wait.h: Update #endif comments.
17192 [__USE_MISC]: Remove redundant conditionals.
17193 * posix/unistd.h: Update #endif comments.
17194 [__USE_MISC]: Remove redundant conditionals.
17195 * pwd/pwd.h [__USE_GNU]: Likewise.
17196 [__USE_MISC]: Likewise.
17197 * resolv/netdb.h [__USE_GNU]: Likewise.
17198 * signal/signal.h: Update #endif comments.
17199 [__USE_MISC]: Remove redundant conditionals.
17200 * stdlib/stdlib.h: Update #else and #endif comments.
17201 [__USE_MISC]: Remove redundant conditionals.
17202 [__USE_GNU]: Likewise.
17203 * string/bits/string2.h [__USE_MISC]: Likewise.
17204 * string/string.h: Update #endif comments.
17205 [__USE_MISC]: Remove redundant conditionals.
17206 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17207 Likewise.
17208 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17209 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17210 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17211 Likewise.
17212 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17213 Likewise.
17214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17215 comments.
17216 [__USE_MISC]: Remove redundant conditionals.
17217 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17218 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17219 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17220 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17221 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17222 Likewise.
17223 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17224 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17225 Likewise.
17226 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17227 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17228 Likewise.
17229 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17230 Likewise.
17231 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17232 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17233 Likewise.
17234 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17235 Likewise.
17236 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17237 * sysdeps/x86/bits/string.h: Update #endif comments.
17238 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17239 conditionals.
17240 * time/sys/time.h: Update #endif comments.
17241 * time/time.h: Likewise.
17242 [__USE_MISC]: Remove redundant conditionals.
17243
a5d82e4e
YG
172442014-02-21 Yury Gribov <y.gribov@samsung.com>
17245
17246 [BZ #16600]
17247 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17248
9a80491d
AS
172492014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17250
17251 * Versions.def (librt): Add GLIBC_2.17.
17252
105fa381
AC
172532014-02-21 Adam Conrad <adconrad@0c3.net>
17254
17255 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17256 synonym for _SYS_AUXV_H to allow direct inclusion.
17257 * sysdeps/sparc/bits/hwcap.h: Likewise.
17258 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17259 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17260 * sysdeps/sparc/sysdep.h: Likewise.
17261
b8cd1c4e
SP
172622014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17263
17264 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17265
bd939d23
RS
172662014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17267
17268 * benchtests/bench-strrchr.c: Print length instead of position.
17269
5d7b57ca
JM
172702014-02-20 Joseph Myers <joseph@codesourcery.com>
17271
bc688c10
JM
17272 [BZ #16611]
17273 * sysdeps/unix/sysv/linux/kernel-features.h
17274 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17275 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17276 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17277 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17278 Likewise.
17279 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17280 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17281 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17282 (__ASSUME_SENDMMSG): Define instead of using previous
17283 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17284 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17285 (__ASSUME_SENDMMSG_SYSCALL): Define.
17286 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17287 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17288 Likewise.
17289 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17290 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17291 Likewise.
17292 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17293 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17294 Likewise.
17295 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17296 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17297 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17298 [__ASSUME_SENDMMSG]: Change conditionals to
17299 [__ASSUME_SENDMMSG_SOCKETCALL].
17300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17301 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17302 Define.
17303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17304 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17305 Likewise.
17306 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17307 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17308 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17309 [!__ASSUME_SENDMMSG]: Change conditional to
17310 [!__ASSUME_SENDMMSG_SOCKETCALL].
17311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17312 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17313 Define.
17314
0e31b18c
JM
17315 [BZ #16610]
17316 * sysdeps/unix/sysv/linux/kernel-features.h
17317 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17318 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17319 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17320 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17321 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17322 [__i386__ || __sparc__]
17323 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17324 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17325 (__ASSUME_RECVMMSG): Define instead of using previous
17326 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17327 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17328 (__ASSUME_RECVMMSG_SYSCALL): Define.
17329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17331 Likewise.
17332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17333 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17334 Likewise.
17335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17337 Likewise.
17338 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17339 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17340 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17341 [__ASSUME_RECVMMSG]: Change condition to
17342 [__ASSUME_RECVMMSG_SOCKETCALL].
17343 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17344 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17345 Define.
17346 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17347 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17349 Likewise.
17350 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17351 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17352 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17353 [!__ASSUME_RECVMMSG]: Change condition to
17354 [!__ASSUME_RECVMMSG_SOCKETCALL].
17355 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17356 (__ASSUME_RECVMMSG_SYSCALL): Define.
17357
dd481ccf
JM
17358 [BZ #16609]
17359 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17360 __powerpc__ || __s390__ || __sh__ || __sparc__]
17361 (__ASSUME_SOCKETCALL): Define.
17362 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17363 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17364 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17365 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17366 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17367 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17368 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17369 (__ASSUME_ACCEPT4): Define instead of using previous
17370 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17371 __powerpc__ || __sparc__ || __s390__)] condition.
17372 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17373 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17374 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17375 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17376 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17377 [!__ASSUME_ACCEPT4]: Change condition to
17378 [!__ASSUME_ACCEPT4_SOCKETCALL].
17379 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17381 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17382 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17383 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17384 __ASSUME_ACCEPT4_SYSCALL.
17385 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17386 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17387 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17388 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17389 __ASSUME_ACCEPT4_SYSCALL.
17390 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17391 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17392 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17393 [__ASSUME_ACCEPT4]: Change condition to
17394 [__ASSUME_ACCEPT4_SOCKETCALL].
17395 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17396 (__ASSUME_SOCKETCALL): Define.
17397 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17399 (__ASSUME_SOCKETCALL): Define.
17400 (__ASSUME_ACCEPT4): Remove.
17401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17402 Define.
17403 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17404 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17405 Likewise.
17406 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17407 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17408
5d7b57ca
JM
17409 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17410 macro.
17411 (HWCAP_ARM_LPAE): Likewise.
17412 (HWCAP_ARM_EVTSTRM): Likewise.
17413 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17414 Add vpfd32, lpae and evtstrm.
17415 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17416 Increase to 22.
17417
63689d61
JM
174182014-02-19 Joseph Myers <joseph@codesourcery.com>
17419
17420 * math/auto-libm-test-in: Add tests of clog10.
17421 * math/auto-libm-test-out: Regenerated.
17422 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17423 * sysdeps/i386/fpu/libm-test-ulps: Update.
17424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17425
ab09bf61
AS
174262014-02-18 Andreas Schwab <schwab@suse.de>
17427
17428 [BZ #16574]
17429 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17430 Store non-zero if the second buffer was newly allocated.
17431 (send_dg): Likewise.
17432 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17433 to send_vc and send_dg.
17434 (res_nsend): Pass NULL for ansp2_malloced.
17435 * resolv/res_query.c (__libc_res_nquery): Add parameter
17436 answerp2_malloced and pass it down to __libc_res_nsend.
17437 (res_nquery): Pass additional NULL to __libc_res_nquery.
17438 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17439 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17440 second answer buffer if answerp2_malloced was set.
17441 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17442 (__libc_res_nquerydomain): Add parameter
17443 answerp2_malloced and pass it down to __libc_res_nquery.
17444 (res_nquerydomain): Pass additional NULL to
17445 __libc_res_nquerydomain.
17446 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17447 additional NULL to __libc_res_nsend and __libc_res_nquery.
17448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17449 additional NULL to __libc_res_nsearch.
17450 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17451 parameter of __libc_res_nsearch to check for separately allocated
17452 second buffer.
17453 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17454 __libc_res_nquery.
17455 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17456 additional NULL to __libc_res_nquery.
17457 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17458 __libc_res_nsearch.
17459 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17460 * include/resolv.h: Update prototypes of __libc_res_nquery,
17461 __libc_res_nsearch, __libc_res_nsend.
17462
a4fb7861
JM
174632014-02-18 Joseph Myers <joseph@codesourcery.com>
17464
c6af2d89
JM
17465 * math/auto-libm-test-in: Add tests of fma.
17466 * math/auto-libm-test-out: Regenerated.
17467 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17468 (fma_towardzero_test_data): Likewise.
17469 (fma_downward_test_data): Likewise.
17470 (fma_upward_test_data): Likewise.
17471 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17472 mpc_mode.
17473 (rounding_modes): Add values for new field.
17474 (func_calc_method): Add value mpfr_fff_f.
17475 (func_calc_desc): Add mpfr_fff_f union field.
17476 (test_function): Add field exact_args.
17477 (FUNC): Add macro argument EXACT_ARGS.
17478 (FUNC_mpfr_f_f): Update call to FUNC.
17479 (FUNC_mpfr_f_f): Likewise.
17480 (FUNC_mpfr_ff_f): Likewise.
17481 (FUNC_mpfr_if_f): Likewise.
17482 (FUNC_mpc_c_f): Likewise.
17483 (FUNC_mpc_c_c): Likewise.
17484 (test_functions): Add fma. Update calls to FUNC.
17485 (handle_input_arg): Add argument exact_args.
17486 (add_test): Update call to handle_input_arg.
17487 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17488 (output_for_one_input_case): Update call to calc_generic_results.
17489 Recalculate exact zero results in each rounding mode.
17490
a4fb7861
JM
17491 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17492 non-negative before setting low bit.
17493 * math/auto-libm-test-in: Mark one asin test possibly having
17494 spurious underflow.
17495 * math/auto-libm-test-out: Regenerated.
17496 * sysdeps/i386/fpu/libm-test-ulps: Update.
17497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17498
ef114eaf
DH
174992014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17500
2b7f4f2c
SP
17501 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17502 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17503 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17504 * README: Add missing listing for microblaze*-*-linux-gnu.
17505
8125aedc
AM
175062014-02-16 Ondřej Bílka <neleai@seznam.cz>
17507
17508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17509 duplicate code
17510
c70a4b1d
MF
175112014-02-16 Mike Frysinger <vapier@gentoo.org>
17512
17513 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17514 * sysdeps/unix/sysv/linux/ia64: Move directory from
17515 ports/sysdeps/unix/sysv/linux/ia64.
17516 * README: Update listing for ia64-*-linux-gnu.
17517
591aeaf7
TD
175182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17519 Joseph Myers <joseph@codesourcery.com>
17520
17521 * Makeconfig (test-name): New variable.
17522 (evaluate-test): Likewise.
17523 * Makerules (do-test-clean): Remove .test-result files.
17524 (common-mostlyclean): Likewise.
17525 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17526 * scripts/evaluate-test.sh: New file.
17527
6e89caf1
JM
175282014-02-14 Joseph Myers <joseph@codesourcery.com>
17529
7f98f180
JM
17530 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17531 separate $(objpfx)tst-fopenloc-cmp.out and
17532 $(objpfx)tst-fopenloc-mem.out targets.
17533 (tests): Update dependencies.
17534 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17535 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17536 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17537 (tst-rxspencer-no-utf8-ARGS): New variable.
17538 (tst-rxspencer-no-utf8-ENV): Likewise.
17539 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17540 instead of $(objpfx)tst-rxspencer-mem.
17541 ($(objpfx)tst-rxspencer-mem): Change target to
17542 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17543 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17544 * posix/tst-rxspencer-no-utf8.c: New file.
17545
6e89caf1
JM
17546 * elf/Makefile ($(objpfx)order.out): Remove rule.
17547 [$(run-built-tests) = yes] (tests): Depend on
17548 $(objpfx)order-cmp.out.
17549 ($(objpfx)order-cmp.out): New rule.
17550 [$(run-built-tests) = yes] (tests): Depend on
17551 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17552 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17553 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17554 $(objpfx)tst-array5-static-cmp.out.
17555 ($(objpfx)tst-array1.out): Remove rule.
17556 ($(objpfx)tst-array1-cmp.out): New rule.
17557 ($(objpfx)tst-array1-static.out): Remove rule.
17558 ($(objpfx)tst-array1-static-cmp.out): New rule.
17559 ($(objpfx)tst-array2.out): Remove rule.
17560 ($(objpfx)tst-array2-cmp.out): New rule.
17561 ($(objpfx)tst-array3.out): Remove rule.
17562 ($(objpfx)tst-array3-cmp.out): New rule.
17563 ($(objpfx)tst-array4.out): Remove rule.
17564 ($(objpfx)tst-array4-cmp.out): New rule.
17565 ($(objpfx)tst-array5.out): Remove rule.
17566 ($(objpfx)tst-array5-cmp.out): New rule.
17567 ($(objpfx)tst-array5-static.out): Remove rule.
17568 ($(objpfx)tst-array5-static-cmp.out): New rule.
17569 [$(run-built-tests) = yes] (tests): Depend on
17570 $(objpfx)order2-cmp.out.
17571 ($(objpfx)order2.out): Remove rule.
17572 ($(objpfx)order2-cmp.out): New rule.
17573 ($(objpfx)tst-initorder.out): Remove rule.
17574 [$(run-built-tests) = yes] (tests): Depend on
17575 $(objpfx)tst-initorder-cmp.out.
17576 ($(objpfx)tst-initorder-cmp.out): New rule.
17577 ($(objpfx)tst-initorder2.out): Remove rule.
17578 [$(run-built-tests) = yes] (tests): Depend on
17579 $(objpfx)tst-initorder2-cmp.out.
17580 ($(objpfx)tst-initorder2-cmp.out): New rule.
17581 [$(run-built-tests) = yes] (tests): Depend on
17582 $(objpfx)tst-unused-dep-cmp.out.
17583 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17584 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17585 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17586 on $(objpfx)tst-setvbuf1-cmp.out.
17587 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17588 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17589 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17590 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17591 ($(objpfx)tst-svc.out): Remove rule.
17592 ($(objpfx)tst-svc-cmp.out): New rule.
17593
ed9a38e2
JM
175942014-02-13 Joseph Myers <joseph@codesourcery.com>
17595
17596 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17597 * ctype/ctype.h [__USE_MISC]: Likewise.
17598 * dirent/dirent.h [__USE_MISC]: Likewise.
17599 * grp/grp.h [__USE_MISC]: Likewise.
17600 * io/fcntl.h [__USE_MISC]: Likewise.
17601 * io/sys/stat.h [__USE_MISC]: Likewise.
17602 * libio/stdio.h [__USE_MISC]: Likewise.
17603 * posix/unistd.h [__USE_MISC]: Likewise.
17604 * pwd/pwd.h [__USE_MISC]: Likewise.
17605 * stdlib.h [__USE_MISC]: Likewise.
17606 * string/bits/string2.h [__USE_MISC]: Likewise.
17607 * string/string.h [__USE_MISC]: Likewise.
17608 * time/time.h [__USE_MISC]: Likewise.
17609
d6680619
AS
176102014-02-13 Andreas Schwab <schwab@suse.de>
17611
17612 [BZ #16574]
17613 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17614 second answer buffer if it was separately allocated.
17615
ace614b8
JM
176162014-02-12 Joseph Myers <joseph@codesourcery.com>
17617
743151ae
JM
17618 * sysdeps/mips/math-tests.h: Include <features.h>.
17619 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17620 (ROUNDING_TESTS_long_double): Do not define.
17621 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17622 (EXCEPTION_TESTS_long_double): Likewise.
17623 * sysdeps/mips/mips64/libm-test-ulps: Update.
17624
498afc54
JM
17625 * include/features.h (__USE_BSD): Remove macro definitions.
17626 (__USE_SVID): Likewise.
17627 (_BSD_SOURCE): Likewise.
17628 (_SVID_SOURCE): Likewise.
17629 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17630 from definition of _DEFAULT_SOURCE.
17631 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17632 [_DEFAULT_SOURCE].
17633 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17634 * bits/mman.h [__USE_BSD]: Likewise.
17635 * bits/termios.h [__USE_BSD]: Likewise.
17636 * bits/waitstatus.h [__USE_BSD]: Likewise.
17637 * ctype/ctype.h [__USE_SVID]: Likewise.
17638 * dirent/dirent.h [__USE_BSD]: Likewise.
17639 * grp/grp.h [__USE_SVID]: Likewise.
17640 [__USE_BSD]: Likewise.
17641 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17642 * io/fcntl.h [__USE_BSD]: Likewise.
17643 * io/ftw.h [__USE_BSD]: Likewise.
17644 * io/sys/stat.h [__USE_BSD]: Likewise.
17645 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17646 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17647 * libio/stdio.h [__USE_SVID]: Likewise.
17648 [__USE_BSD]: Likewise.
17649 * math/math.h [__USE_SVID]: Likewise.
17650 [__USE_BSD]: Likewise.
17651 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17652 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17653 * misc/search.h [__USE_SVID]: Likewise.
17654 * misc/sys/mman.h [__USE_BSD]: Likewise.
17655 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17656 * misc/sys/uio.h [__USE_BSD]: Likewise.
17657 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17658 * posix/glob.h [__USE_BSD]: Likewise.
17659 * posix/regex.h [__USE_BSD]: Likewise.
17660 * posix/sys/types.h [__USE_BSD]: Likewise.
17661 [__USE_SVID]: Likewise.
17662 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17663 * posix/sys/wait.h [__USE_BSD]: Likewise.
17664 [__USE_SVID]: Likewise.
17665 * posix/unistd.h [__USE_BSD]: Likewise.
17666 [__USE_SVID]: Likewise.
17667 * pwd/pwd.h [__USE_SVID]: Likewise.
17668 * resolv/netdb.h [__USE_BSD]: Likewise.
17669 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17670 * signal/signal.h [__USE_BSD]: Likewise.
17671 [__USE_SVID]: Likewise.
17672 * socket/sys/socket.h [__USE_BSD]: Likewise.
17673 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17674 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17675 [__USE_SVID]: Likewise.
17676 * string/bits/string2.h [__USE_BSD]: Likewise.
17677 [__USE_SVID]: Likewise.
17678 * string/bits/string3.h [__USE_BSD]: Likewise.
17679 * string/endian.h [__USE_BSD]: Likewise.
17680 * string/string.h [__USE_SVID]: Likewise.
17681 [__USE_BSD]: Likewise.
17682 * string/strings.h [__USE_BSD]: Likewise.
17683 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17684 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17685 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17686 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17687 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17688 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17689 Likewise.
17690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17691 Likewise.
17692 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17694 Likewise.
17695 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17696 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17697 Likewise.
17698 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17699 Likewise.
17700 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17701 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17703 Likewise.
17704 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17705 Likewise.
17706 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17707 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17708 * termios/termios.h [__USE_BSD]: Likewise.
17709 * time/sys/time.h [__USE_BSD]: Likewise.
17710 * time/time.h [__USE_BSD]: Likewise.
17711 [__USE_SVID]: Likewise.
17712
dd7b064c
JM
17713 * Makefile (subdir_targets): Remove subdir_lint.out.
17714
a2c4c199
JM
17715 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17716 (do-tst-printf): Likewise.
17717 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17718 $(objpfx)tst-printf.out.
17719
8756f740
JM
17720 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17721
1b6dd3f1
JM
17722 * Makerules (check-abi-%): Change target to
17723 $(objpfx)check-abi-%.out.
17724 (check-abi target): Update dependencies.
17725 (check-abi-pattern variable): Redirect output of diff to $@.
17726 (check-abi variable): Likewise.
17727 * elf/Makefile (check-abi): Update dependencies.
17728
ace614b8
JM
17729 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17730 unused.
17731 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17732 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17733 subnormal range.
17734 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17735 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17736 value has largest subnormal exponent.
17737 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17738 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17739 * sysdeps/aarch64/soft-fp/sfp-machine.h
17740 (_FP_TININESS_AFTER_ROUNDING): New macro.
17741 * sysdeps/alpha/soft-fp/sfp-machine.h
17742 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17743 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17744 Likewise.
17745 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17746 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17747 * sysdeps/mips/soft-fp/sfp-machine.h
17748 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17749 * sysdeps/powerpc/soft-fp/sfp-machine.h
17750 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17751 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17752 Likewise.
17753 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17754 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17757 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17758 Likewise.
17759
fbfdf9cb
DAS
177602014-02-12 Dylan Alex Simon <dylan@dylex.net>
17761
17762 [BZ #16545]
17763 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17764 model 1.
17765
68b7efaa
RH
177662014-02-12 Richard Henderson <rth@redhat.com>
17767
c70a4b1d 17768 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17769 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17770 * sysdeps/unix/sysv/linux/alpha: Move directory from
17771 ports/sysdeps/unix/sysv/linux/alpha.
17772 * README: Update listing for alpha-*-linux-gnu.
17773
cb4a2928
JM
177742014-02-11 Joseph Myers <joseph@codesourcery.com>
17775
c941736c
JM
17776 * include/features.h: Update comment documenting feature test
17777 macros.
17778 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17779 _DEFAULT_SOURCE.
17780 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17781 (_SVID_SOURCE): Likewise.
17782 (_DEFAULT_SOURCE): Update description of default features.
17783 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17784 with _GNU_SOURCE.
17785 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17786 (S_ISVTX): Likewise.
17787 * manual/math.texi (Mathematical Constants): Likewise.
17788 * manual/signal.texi (Interrupted Primitives): Likewise.
17789 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17790 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17791 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17792 Don't refer to _SVID_SOURCE in warning text.
17793
e8d8d7ec
JM
17794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17795
cb4a2928
JM
17796 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17797 already defined.
17798 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17799 * sysdeps/mips/dl-lookup.c: Remove.
17800 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17801
7e6424e3
AK
178022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17803
17804 [BZ #16447]
17805 * math/auto-libm-test-in: Add testcase for expl.
17806 * math/auto-libm-test-out: Regenerate.
17807 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17808 calculation of unsafe.
17809 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17810
75eff3fe
MS
178112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17812
17813 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17814 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17815 ports/sysdeps/unix/sysv/linux/aarch64.
17816 * README: Update listing for aarch64*-*-linux-gnu.
17817
d35f1e80
WN
178182014-02-11 Will Newton <will.newton@linaro.org>
17819
17820 * manual/probes.texi (Mathematical Function Probes): Use
17821 "triggered" instead of "hit".
17822
7b3436d4
WN
17823 * manual/probes.texi (Internal Probes): Add documentation
17824 of setjmp, longjmp and longjmp_target probes.
17825
b4f12ca3
WN
17826 * include/stap-probe.h: Add comment about probe argument
17827 format.
17828
c13a72b7
WN
17829 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17830 definition. (tr_where, tr_freehook, tr_mallochook,
17831 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17832
195b8165
DM
178332014-02-11 David S. Miller <davem@davemloft.net>
17834
17835 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17836 processing int_tests.
17837
2ad7600b
JM
178382014-02-10 Joseph Myers <joseph@codesourcery.com>
17839
17840 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17841 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17842 * sysdeps/unix/sysv/linux/mips: Move directory from
17843 ports/sysdeps/unix/sysv/linux/mips.
17844 * README: Update listing for mips-*-linux-gnu and
17845 mips64-*-linux-gnu.
17846
73588a72
AS
178472014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17848
17849 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17850 * sysdeps/unix/sysv/linux/m68k: Move directory from
17851 ports/sysdeps/unix/sysv/linux/m68k.
17852 * README: Update listing for m68k-*-linux-gnu.
17853
4372980f
CM
178542014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17855
17856 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17857 * sysdeps/unix/sysv/linux/generic: Move directory from
17858 ports/sysdeps/unix/sysv/linux/generic.
17859 * sysdeps/unix/sysv/linux/tile: Move directory from
17860 ports/sysdeps/unix/sysv/linux/tile.
17861 * README: Update listing for tile*-*-linux-gnu.
17862
a1ffb40e
OB
178632014-02-10 Ondřej Bílka <neleai@seznam.cz>
17864
57f41c40
AS
17865 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17866 __builtin_expect.
a1ffb40e
OB
17867 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17868 * catgets/open_catalog.c (__open_catalog): Likewise.
17869 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17870 * debug/confstr_chk.c: Likewise.
17871 * debug/fread_chk.c (__fread_chk): Likewise.
17872 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17873 * debug/getgroups_chk.c: Likewise.
17874 * debug/mbsnrtowcs_chk.c: Likewise.
17875 * debug/mbsrtowcs_chk.c: Likewise.
17876 * debug/mbstowcs_chk.c: Likewise.
17877 * debug/memcpy_chk.c: Likewise.
17878 * debug/memmove_chk.c: Likewise.
17879 * debug/mempcpy_chk.c: Likewise.
17880 * debug/memset_chk.c: Likewise.
17881 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17882 * debug/strcat_chk.c (__strcat_chk): Likewise.
17883 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17884 * debug/strncat_chk.c (__strncat_chk): Likewise.
17885 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17886 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17887 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17888 * debug/wcpncpy_chk.c: Likewise.
17889 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17890 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17891 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17892 * debug/wcsncpy_chk.c: Likewise.
17893 * debug/wcsnrtombs_chk.c: Likewise.
17894 * debug/wcsrtombs_chk.c: Likewise.
17895 * debug/wcstombs_chk.c: Likewise.
17896 * debug/wmemcpy_chk.c: Likewise.
17897 * debug/wmemmove_chk.c: Likewise.
17898 * debug/wmempcpy_chk.c: Likewise.
17899 * debug/wmemset_chk.c: Likewise.
17900 * dirent/scandirat.c (SCANDIRAT): Likewise.
17901 * dlfcn/dladdr1.c (dladdr1): Likewise.
17902 * dlfcn/dladdr.c (dladdr): Likewise.
17903 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17904 * dlfcn/dlerror.c (__dlerror): Likewise.
17905 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17906 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17907 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17908 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17909 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17910 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17911 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17912 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17913 Likewise.
17914 * elf/dl-conflict.c: Likewise.
17915 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17916 * elf/dl-dst.h: Likewise.
17917 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17918 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17919 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17920 * elf/dl-init.c (call_init, _dl_init): Likewise.
17921 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17922 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17923 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17924 Likewise.
a1ffb40e
OB
17925 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17926 Likewise.
17927 * elf/dl-minimal.c (__libc_memalign): Likewise.
17928 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17929 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17930 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17931 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17932 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17933 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17934 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17935 * elf/dl-writev.h (_dl_writev): Likewise.
17936 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17937 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17938 (dl_main): Likewise.
a1ffb40e
OB
17939 * elf/setup-vdso.h (setup_vdso): Likewise.
17940 * grp/compat-initgroups.c (compat_call): Likewise.
17941 * grp/fgetgrent.c (fgetgrent): Likewise.
17942 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17943 * grp/putgrent.c (putgrent): Likewise.
17944 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17945 Likewise.
17946 * hurd/hurdinit.c: Likewise.
17947 * iconvdata/8bit-gap.c (struct): Likewise.
17948 * iconvdata/ansi_x3.110.c : Likewise.
17949 * iconvdata/big5.c : Likewise.
17950 * iconvdata/big5hkscs.c : Likewise.
17951 * iconvdata/cp1255.c: Likewise.
17952 * iconvdata/cp1258.c : Likewise.
17953 * iconvdata/cp932.c : Likewise.
17954 * iconvdata/euc-cn.c: Likewise.
17955 * iconvdata/euc-jisx0213.c : Likewise.
17956 * iconvdata/euc-jp.c: Likewise.
17957 * iconvdata/euc-jp-ms.c : Likewise.
17958 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17959 * iconvdata/gb18030.c : Likewise.
17960 * iconvdata/gbbig5.c (const): Likewise.
17961 * iconvdata/gbgbk.c: Likewise.
17962 * iconvdata/gbk.c : Likewise.
17963 * iconvdata/ibm1364.c : Likewise.
17964 * iconvdata/ibm930.c : Likewise.
17965 * iconvdata/ibm932.c: Likewise.
17966 * iconvdata/ibm933.c : Likewise.
17967 * iconvdata/ibm935.c : Likewise.
17968 * iconvdata/ibm937.c : Likewise.
17969 * iconvdata/ibm939.c : Likewise.
17970 * iconvdata/ibm943.c: Likewise.
17971 * iconvdata/iso_11548-1.c: Likewise.
17972 * iconvdata/iso-2022-cn.c : Likewise.
17973 * iconvdata/iso-2022-cn-ext.c : Likewise.
17974 * iconvdata/iso-2022-jp-3.c: Likewise.
17975 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17976 * iconvdata/iso-2022-kr.c : Likewise.
17977 * iconvdata/iso646.c (gconv_end): Likewise.
17978 * iconvdata/iso_6937-2.c : Likewise.
17979 * iconvdata/iso_6937.c : Likewise.
17980 * iconvdata/iso8859-1.c: Likewise.
17981 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17982 * iconvdata/shift_jisx0213.c : Likewise.
17983 * iconvdata/sjis.c : Likewise.
17984 * iconvdata/t.61.c : Likewise.
17985 * iconvdata/tcvn5712-1.c : Likewise.
17986 * iconvdata/tscii.c: Likewise.
17987 * iconvdata/uhc.c : Likewise.
17988 * iconvdata/unicode.c (gconv_end): Likewise.
17989 * iconvdata/utf-16.c (gconv_end): Likewise.
17990 * iconvdata/utf-32.c (gconv_end): Likewise.
17991 * iconvdata/utf-7.c (base64): Likewise.
17992 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17993 * iconv/gconv_close.c (__gconv_close): Likewise.
17994 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17995 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17996 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17997 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17998 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17999 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18000 * iconv/iconv.c (iconv): Likewise.
18001 * iconv/iconv_close.c: Likewise.
18002 * iconv/loop.c (SINGLE): Likewise.
18003 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18004 * include/atomic.h: Likewise.
18005 * inet/inet6_option.c (option_alloc): Likewise.
18006 * intl/bindtextdom.c (set_binding_values): Likewise.
18007 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18008 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18009 * intl/localealias.c (read_alias_file): Likewise.
18010 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18011 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18012 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18013 * libio/fmemopen.c (fmemopen): Likewise.
18014 * libio/iofgets.c (_IO_fgets): Likewise.
18015 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18016 * libio/iofgetws.c (fgetws): Likewise.
18017 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18018 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18019 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18020 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18021 * locale/findlocale.c (_nl_find_locale): Likewise.
18022 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18023 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18024 Likewise.
18025 * locale/setlocale.c (setlocale): Likewise.
18026 * login/programs/pt_chown.c (main): Likewise.
18027 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18028 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18029 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18030 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18031 * math/e_exp2l.c: Likewise.
18032 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18033 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18034 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18035 * math/s_catan.c (__catan): Likewise.
18036 * math/s_catanf.c (__catanf): Likewise.
18037 * math/s_catanh.c (__catanh): Likewise.
18038 * math/s_catanhf.c (__catanhf): Likewise.
18039 * math/s_catanhl.c (__catanhl): Likewise.
18040 * math/s_catanl.c (__catanl): Likewise.
18041 * math/s_ccosh.c (__ccosh): Likewise.
18042 * math/s_ccoshf.c (__ccoshf): Likewise.
18043 * math/s_ccoshl.c (__ccoshl): Likewise.
18044 * math/s_cexp.c (__cexp): Likewise.
18045 * math/s_cexpf.c (__cexpf): Likewise.
18046 * math/s_cexpl.c (__cexpl): Likewise.
18047 * math/s_clog10.c (__clog10): Likewise.
18048 * math/s_clog10f.c (__clog10f): Likewise.
18049 * math/s_clog10l.c (__clog10l): Likewise.
18050 * math/s_clog.c (__clog): Likewise.
18051 * math/s_clogf.c (__clogf): Likewise.
18052 * math/s_clogl.c (__clogl): Likewise.
18053 * math/s_csin.c (__csin): Likewise.
18054 * math/s_csinf.c (__csinf): Likewise.
18055 * math/s_csinh.c (__csinh): Likewise.
18056 * math/s_csinhf.c (__csinhf): Likewise.
18057 * math/s_csinhl.c (__csinhl): Likewise.
18058 * math/s_csinl.c (__csinl): Likewise.
18059 * math/s_csqrt.c (__csqrt): Likewise.
18060 * math/s_csqrtf.c (__csqrtf): Likewise.
18061 * math/s_csqrtl.c (__csqrtl): Likewise.
18062 * math/s_ctan.c (__ctan): Likewise.
18063 * math/s_ctanf.c (__ctanf): Likewise.
18064 * math/s_ctanh.c (__ctanh): Likewise.
18065 * math/s_ctanhf.c (__ctanhf): Likewise.
18066 * math/s_ctanhl.c (__ctanhl): Likewise.
18067 * math/s_ctanl.c (__ctanl): Likewise.
18068 * math/w_pow.c: Likewise.
18069 * math/w_powf.c: Likewise.
18070 * math/w_powl.c: Likewise.
18071 * math/w_scalb.c (sysv_scalb): Likewise.
18072 * math/w_scalbf.c (sysv_scalbf): Likewise.
18073 * math/w_scalbl.c (sysv_scalbl): Likewise.
18074 * misc/error.c (error_tail): Likewise.
18075 * misc/pselect.c (__pselect): Likewise.
18076 * nis/nis_callback.c (__nis_create_callback): Likewise.
18077 * nis/nis_call.c (__nisfind_server): Likewise.
18078 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18079 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18080 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18081 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18082 * nis/nis_lookup.c (nis_lookup): Likewise.
18083 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18084 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18085 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18086 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18087 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18088 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18089 * nis/nss_compat/compat-initgroups.c (add_group)
18090 (internal_getgrent_r): Likewise.
18091 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18092 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18093 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18094 (internal_getspnam_r): Likewise.
18095 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18096 (_nss_nis_getaliasbyname_r): Likewise.
18097 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18098 (_nss_nis_getntohost_r): Likewise.
18099 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18100 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18101 (_nss_nis_getgrgid_r): Likewise.
18102 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18103 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18104 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18105 (_nss_nis_gethostbyname4_r): Likewise.
18106 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18107 (initgroups_netid): Likewise.
a1ffb40e 18108 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18109 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18110 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18111 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18112 (_nss_nis_getprotobynumber_r): Likewise.
18113 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18114 (_nss_nis_getsecretkey): Likewise.
18115 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18116 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18117 (_nss_nis_getpwuid_r): Likewise.
18118 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18119 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18120 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18121 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18122 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18123 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18124 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18125 Likewise.
57f41c40
AS
18126 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18127 (_nss_nisplus_getntohost_r): Likewise.
18128 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18129 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18130 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18131 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18132 Likewise.
57f41c40
AS
18133 * nis/nss_nisplus/nisplus-initgroups.c
18134 (_nss_nisplus_initgroups_dyn): Likewise.
18135 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18136 (_nss_nisplus_getnetbyaddr_r): Likewise.
18137 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18138 (_nss_nisplus_getprotobynumber_r): Likewise.
18139 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18140 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18141 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18142 Likewise.
57f41c40
AS
18143 * nis/nss_nisplus/nisplus-service.c
18144 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18145 (_nss_nisplus_getservbyport_r): Likewise.
18146 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18147 (_nss_nisplus_getspnam_r): Likewise.
18148 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18149 Likewise.
a1ffb40e
OB
18150 * nscd/aicache.c (addhstaiX): Likewise.
18151 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18152 * nscd/connections.c (register_traced_file, send_ro_fd)
18153 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18154 (main_loop_epoll): Likewise.
a1ffb40e
OB
18155 * nscd/grpcache.c (addgrbyX): Likewise.
18156 * nscd/hstcache.c (addhstbyX): Likewise.
18157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18158 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18159 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18160 (addinnetgrX): Likewise.
18161 * nscd/nscd-client.h (__nscd_acquire_maplock)
18162 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18163 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18164 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18165 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18166 Likewise.
18167 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18169 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18170 (__nscd_get_map_ref): Likewise.
a1ffb40e 18171 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18172 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18173 Likewise.
a1ffb40e
OB
18174 * nscd/pwdcache.c (addpwbyX): Likewise.
18175 * nscd/selinux.c (preserve_capabilities): Likewise.
18176 * nscd/servicescache.c (addservbyX): Likewise.
18177 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18178 * posix/fnmatch.c (fnmatch): Likewise.
18179 * posix/getopt.c (_getopt_internal_r): Likewise.
18180 * posix/glob.c (glob, glob_in_dir): Likewise.
18181 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18182 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18183 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18184 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18185 * resolv/res_init.c: Likewise.
18186 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18187 * resolv/res_query.c (__libc_res_nquery): Likewise.
18188 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18189 Likewise.
18190 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18191 * stdio-common/perror.c (perror): Likewise.
18192 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18193 * stdio-common/tmpnam.c (tmpnam): Likewise.
18194 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18195 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18196 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18197 Likewise.
a1ffb40e
OB
18198 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18199 * stdlib/putenv.c (putenv): Likewise.
18200 * stdlib/setenv.c (__add_to_environ): Likewise.
18201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18202 * stdlib/strtol_l.c (INTERNAL): Likewise.
18203 * string/memmem.c (memmem): Likewise.
18204 * string/strerror.c (strerror): Likewise.
18205 * string/strnlen.c (__strnlen): Likewise.
18206 * string/test-memmem.c (simple_memmem): Likewise.
18207 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18208 * sunrpc/pm_getport.c (__get_socket): Likewise.
18209 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18210 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18211 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18212 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18213 Likewise.
18214 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18216 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18217 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18218 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18219 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18220 Likewise.
18221 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18222 Likewise.
a1ffb40e
OB
18223 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18224 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18225 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18226 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18227 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18229 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18231 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18232 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18233 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18234 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18235 Likewise.
18236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18237 Likewise.
18238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18239 Likewise.
18240 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18243 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18244 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18245 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18246 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18256 Likewise.
a1ffb40e
OB
18257 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18258 Likewise.
18259 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18260 Likewise.
18261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18262 Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18265 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18266 Likewise.
18267 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18268 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18269 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18270 * sysdeps/posix/sleep.c: Likewise.
18271 * sysdeps/posix/tempname.c: Likewise.
18272 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18273 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18274 Likewise.
57f41c40
AS
18275 * sysdeps/powerpc/powerpc32/dl-machine.h
18276 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18279 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18280 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18281 Likewise.
18282 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18283 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18284 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18285 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18286 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18287 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18288 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18289 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18290 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18291 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18293 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18294 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18296 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18297 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18298 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18299 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18300 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18301 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18302 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18303 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18305 Likewise.
18306 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18307 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18308 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18309 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18310 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18312 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18313 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18314 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18315 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18316 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18317 Likewise.
18318 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18319 (__posix_fallocate64_l64): Likewise.
18320 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18321 (posix_fallocate): Likewise.
57f41c40
AS
18322 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18323 Likewise.
a1ffb40e 18324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18325 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18326 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18327 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18328 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18329 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18330 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18331 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18332 (__posix_fallocate64_l64): Likewise.
18333 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18334 Likewise.
18335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18336 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18337 (__get_clockfreq): Likewise.
a1ffb40e
OB
18338 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18339 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18340 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18343 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18344 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18348 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18349 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18351 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18352 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18353 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18354 Likewise.
18355 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18356 (posix_fallocate): Likewise.
18357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18358 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18359 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18360 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18361 (elf_machine_rela, elf_machine_rela_relative)
18362 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18363 * time/asctime.c (asctime_internal): Likewise.
18364 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18365 * time/tzset.c (__tzset_parse_tz): Likewise.
18366 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18367 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18368 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18369 * wcsmbs/wcsmbsload.h: Likewise.
18370
f3d338c9
OB
18371 [BZ #15894]
18372 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18373
57f41c40
AS
18374 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18375 (arena_get2): Remove THREAD_STATS conditionals.
18376 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18377 (__malloc_stats, int): Likewise.
bdfe308a 18378
d674667c
MF
183792014-02-08 Mike Frysinger <vapier@gentoo.org>
18380
18381 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18382 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18383
6349768c
MF
18384 * manual/setjmp.texi: Fix typos/grammar errors.
18385
0b7c7473
MF
18386 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18387 Only return early when n is <= 0. Delete unused return statement.
18388
ac8cc9e3
MF
18389 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18390 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18391 * debug/tst-longjmp_chk3.c: New file.
18392
c5bb8e23
MF
18393 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18394 (test_main): Replace code with set_fortify_handler call.
18395 * debug/test-strcpy_chk.c: Likewise.
18396 * debug/tst-chk1.c: Likewise.
18397 * debug/tst-longjmp_chk.c: Likewise.
18398 * test-skeleton.c: Include fcntl.h & paths.h
18399 (set_fortify_handler): Define.
18400
10444e42
MF
18401 * debug/tst-longjmp_chk.c: Add header comment and include
18402 ../test-skeleton.c.
18403 (do_test): Mark static.
18404 (TEST_FUNCTION): Define.
18405
1e805e8d
MF
18406 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18407 (IP_PMTUDISC_INTERFACE): Likewise.
18408 (IP_MULTICAST_IF): Likewise.
18409 (IP_MULTICAST_TTL): Likewise.
18410 (IP_MULTICAST_LOOP): Likewise.
18411 (IP_ADD_MEMBERSHIP): Likewise.
18412 (IP_DROP_MEMBERSHIP): Likewise.
18413 (IP_UNBLOCK_SOURCE): Likewise.
18414 (IP_BLOCK_SOURCE): Likewise.
18415 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18416 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18417 (IP_MSFILTER): Likewise.
18418 (MCAST_JOIN_GROUP): Likewise.
18419 (MCAST_BLOCK_SOURCE): Likewise.
18420 (MCAST_UNBLOCK_SOURCE): Likewise.
18421 (MCAST_LEAVE_GROUP): Likewise.
18422 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18423 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18424 (MCAST_MSFILTER): Likewise.
18425 (IP_MULTICAST_ALL): Likewise.
18426 (IP_UNICAST_IF): Likewise.
18427
73f79bb7
MF
18428 * timezone/Makefile: Delete $(have-ksh) check.
18429 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18430 * timezone/tzselect.ksh: Add +x mode bits.
18431
8da79b60
MF
18432 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18433 (ANON_INODE_FS_MAGIC): Likewise.
18434 (BDEVFS_MAGIC): Likewise.
18435 (BINFMTFS_MAGIC): Likewise.
18436 (BTRFS_TEST_MAGIC): Likewise.
18437 (CRAMFS_MAGIC_WEND): Likewise.
18438 (DEBUGFS_MAGIC): Likewise.
18439 (ECRYPTFS_SUPER_MAGIC): Likewise.
18440 (EXT3_SUPER_MAGIC): Likewise.
18441 (EXT4_SUPER_MAGIC): Likewise.
18442 (FUTEXFS_SUPER_MAGIC): Likewise.
18443 (HOSTFS_SUPER_MAGIC): Likewise.
18444 (HUGETLBFS_MAGIC): Likewise.
18445 (MINIX3_SUPER_MAGIC): Likewise.
18446 (MTD_INODE_FS_MAGIC): Likewise.
18447 (NILFS_SUPER_MAGIC): Likewise.
18448 (OPENPROM_SUPER_MAGIC): Likewise.
18449 (PIPEFS_MAGIC): Likewise.
18450 (PSTOREFS_MAGIC): Likewise.
18451 (QNX6_SUPER_MAGIC): Likewise.
18452 (RAMFS_MAGIC): Likewise.
18453 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18454 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18455 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18456 (SECURITYFS_MAGIC): Likewise.
18457 (SELINUX_MAGIC): Likewise.
18458 (SMACK_MAGIC): Likewise.
18459 (SOCKFS_MAGIC): Likewise.
18460 (SQUASHFS_MAGIC): Likewise.
18461 (STACK_END_MAGIC): Likewise.
18462 (TMPFS_MAGIC): Likewise.
18463 (USBDEVICE_SUPER_MAGIC): Likewise.
18464 (V9FS_MAGIC): Likewise.
18465 (XENFS_SUPER_MAGIC): Likewise.
18466 (CRAMFS_MAGIC): Fix typo in comment.
18467 (EXT2_SUPER_MAGIC): Update comment.
18468 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18469
464263cc
JM
184702014-02-08 Joseph Myers <joseph@codesourcery.com>
18471
c6bfe5c4
JM
18472 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18473 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18474 * sysdeps/unix/sysv/linux/arm: Move directory from
18475 ports/sysdeps/unix/sysv/linux/arm.
18476 * README: Update listing for arm-*-linux-gnueabi.
18477
464263cc
JM
18478 * README: Remove mention of am33.
18479
32749f6c
RM
184802014-02-07 Roland McGrath <roland@hack.frob.com>
18481
18482 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18483 than the comma operator, to avoid "rhs of comma has no effect"
18484 compiler warnings.
18485 (__sigfillset, __sigandset, __sigorset): Likewise.
18486 * include/signal.h (__sigemptyset): Likewise.
18487 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18488
d5b396c1
AM
184892014-02-07 Allan McRae <allan@archlinux.org>
18490
18491 * version.h (RELEASE): Set to "development".
18492 (VERSION): Set to "2.19.90"
18493 * NEWS: Add 2.20 section.
18494
3bfff2ed
CD
184952014-02-06 Carlos O'Donell <carlos@redhat.com>
18496
18497 [BZ #16529]
18498 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18499
ee7cc385
SP
185002014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18501
18502 * manual/contrib.texi: Update entry for Carlos O'Donell,
18503 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18504
f877c4f2
CD
185052014-02-05 Carlos O'Donell <carlos@rehdat.com>
18506
27e839f6
CD
18507 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18508
f877c4f2
CD
18509 * sysdeps/unix/sysv/linux/kernel-features.h
18510 [__LINUX_KERNEL_VERSION >= 0x020621]
18511 (__ASSUME_PROC_PID_TASK_COMM): Define.
18512
68159946
SP
185132014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18514
ba17cdbd
SP
18515 [BZ #16398]
18516 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18517 conversion when destination buffer does not have enough space.
18518 * libio/tst-ftell-partial-wide.c: New test case.
18519 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18520
68159946
SP
18521 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18522 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18523 Leonard and Allan McRae.
18524
2b528732
DM
185252014-02-04 David S. Miller <davem@davemloft.net>
18526
18527 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18528 32-bit.
18529
0ff82463
AZ
185302014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18531
57f41c40
AS
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18533 New file
c01603f7
AZ
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18535 New file
57f41c40
AS
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18537 New file.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18539 New file.
c01603f7
AZ
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18541 New file.
57f41c40
AS
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18543 New file.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18545 New file.
c01603f7
AZ
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18547 New file.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18549 New file.
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18551 New file.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18553 New file.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18555 New file.
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18557 New file.
18558
185592014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18560
0ff82463
AZ
18561 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18562 * shlib-versions: Likewise.
18563
1695c773
AZ
185642014-02-04 Roland McGrath <roland@hack.frob.com>
18565 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18566
18567 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18568 (abilist-pattern): New variable, set to %-le.abilist.
18569
18570 * Makerules (abilist-pattern): New variable.
18571 (vpath): Use $(abilist-pattern) in place of %.abilist.
18572 (check-abi-% pattern rule): Likewise.
18573 (check-abi, update-abi): Likewise.
18574
6c0ce4b4
EW
185752014-02-04 Eric Wong <normalperson@yhbt.net>
18576
18577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18578
481e3524
CD
185792014-02-03 Carlos O'Donell <carlos@redhat.com>
18580
18581 * manual/startup.texi: Add next, previous, and top entries for
18582 the `Program Arguments' and `Environment Variables' nodes.
18583
375592d3
AO
185842014-02-03 Alexandre Oliva <aoliva@redhat.com>
18585
18586 * manual/macros.texi: Add comments before MTASC-safety macros.
18587
f54838ba
AO
18588 * manual/users.texi: Document MTASC-safety properties.
18589
57f41c40
AS
18590 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18591 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18592 @deftypefun, and add @safety note.
18593 * manual/signal.texi: Move comments that analyze the above
18594 functions to their home place.
18595
fd3daba4
AM
185962014-02-03 Allan McRae <allan@archlinux.org>
18597
18598 * po/sl.po: Update Slovenian translation from translation project.
18599
597636d7
AO
186002014-02-02 Alexandre Oliva <aoliva@redhat.com>
18601
18602 * manual/time.texi (timegm): Add missing blank after @c.
18603 Reported by Joseph Myers <joseph@codesourcery.com>.
18604
ee196e3c
AO
186052014-02-01 Alexandre Oliva <aoliva@redhat.com>
18606
18607 * manual/check-safety.sh: New.
18608 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18609
f8d529d5
AO
18610 * manual/terminal.texi: Document MTASC-safety properties.
18611
de55fdf4
AO
18612 * manual/filesys.texi: Document MTASC-safety properties.
18613
c3299c08
AO
18614 * manual/errno.texi: Document MTASC-safety properties.
18615
06e90b14
AO
18616 * manual/intro.texi: Document safety identifiers and
18617 conditionals.
18618
1acd4371
AO
18619 * manual/string.texi (wcstok): Fix prototype.
18620 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18621
23e5b8cb
AO
18622 * manual/time.texi: Document MTASC-safety properties.
18623
11087373
AO
18624 * manual/string.texi: Document MTASC-safety properties.
18625
5da2c93d
AO
18626 * manual/threads.texi: Document MTASC-safety properties.
18627
171e9210
AO
18628 * manual/stdio.texi: Document MTASC-safety properties.
18629
d9e02532
AO
18630 * manual/syslog.texi: Document MTASC-safety properties.
18631
6af8bab7
AO
18632 * manual/sysinfo.texi: Document MTASC-safety properties.
18633
663b02d7
AO
18634 * manual/startup.texi: Document MTASC-safety properties.
18635
973f180b
AO
18636 * manual/socket.texi: Document MTASC-safety properties.
18637
8f3c25c8
AO
18638 * manual/signal.texi: Document MTASC-safety properties.
18639
542210fb
AO
186402014-01-31 Alexandre Oliva <aoliva@redhat.com>
18641
18642 * manual/setjmp.texi: Document MTASC-safety properties.
18643
433c45a2
AO
18644 * manual/search.texi: Document MTASC-safety properties.
18645
c8ce789c
AO
18646 * manual/resource.texi: Document MTASC-safety properties.
18647
19f5d29c
AO
18648 * manual/process.texi: Document MTASC-safety properties.
18649
e2dfb7f4
AO
18650 * manual/platform.texi: Document MTASC-safety properties.
18651
8c1413f5
AO
18652 * manual/pipe.texi: Document MTASC-safety properties.
18653
03483ada
AO
18654 * manual/pattern.texi: Document MTASC-safety properties.
18655
29e7e2df
AO
18656 * manual/message.texi: Document MTASC-safety properties.
18657
9f529d7c
AO
18658 [BZ #12751]
18659 * manual/memory.texi: Document MTASC-safety properties.
18660
27aaa791
AO
18661 * manual/math.texi: Document MTASC-safety properties.
18662
f2d58726
AO
18663 * manual/locale.texi: Document MTASC-safety properties.
18664
2cc3615c
AO
18665 * manual/llio.texi: Document MTASC-safety properties.
18666
d9f0ec97
AO
18667 * manual/libdl.texi: New.
18668
e7c4409a
AO
18669 * manual/lang.texi: Document MTASC-safety properties.
18670
27bdc63c
AO
18671 * manual/job.texi: Document MTASC-safety properties.
18672
a7b90ea9
AO
18673 * manual/getopt.texi: Document MTASC-safety properties.
18674
c49130e3
AO
18675 * manual/ctype.texi: Document MTASC-safety properties.
18676
0d23a5c1
MR
186772014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18678
18679 [BZ #16046]
18680 * csu/libc-tls.c (static_map): Remove variable.
18681 (__libc_setup_tls): Use main executable's link map for TLS data.
18682 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18683 casing for LM_ID_BASE and GL(dl_nns).
18684 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18685 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18686 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18687 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18688 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18689 member.
18690 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18691 l_phnum members.
18692
0037bb60
AO
186932014-01-30 Alexandre Oliva <aoliva@redhat.com>
18694
18695 * manual/debug.texi: Document MTASC-safety properties.
18696
409e00bd
L
186972014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18698
18699 [BZ #16510]
18700 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18701 of __x86_64__ when disabling x87 inline functions.
18702
86e60666
AO
187032014-01-29 Alexandre Oliva <aoliva@redhat.com>
18704
18705 * manual/charset.texi: Document MTASC-safety properties.
18706
76167637
AO
18707 * manual/crypt.texi: Document MTASC-safety properties.
18708
e567f2a0
AO
18709 * manual/conf.texi: Document MTASC-safety properties.
18710
b719dafd
AO
18711 * manual/arith.texi: Document MTASC-safety properties.
18712
4a16c662
AO
18713 * manual/argp.texi: Document MTASC-safety properties.
18714
0a57b83e
AO
18715 * manual/macros.texi: Introduce macros to document multi
18716 thread, asynchronous signal and asynchronous cancellation
18717 safety properties.
18718 * manual/intro.texi: Introduce the properties themselves.
18719
feab2397
KK
187202014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18721
18722 * sysdeps/sh/sh4/Makefile: New file.
18723
1c0d11bc
AS
187242014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18725
18726 * math/gen-libm-test.pl ($srcdir): New variable.
18727 ($auto_input): Use it.
18728
af37a8a3
SP
187292014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18730
d7b00f98
SP
18731 [BZ #16506]
18732 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18733 access beyond array bounds when parsing netgroups file.
18734
af37a8a3
SP
18735 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18736 the old buffer before realloc.
18737
0c00f062
AM
187382014-01-27 Allan McRae <allan@archlinux.org>
18739
18740 * po/fr.po: Update French translation from translation project.
18741
7d69a1b0
KK
187422014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18743
18744 * sysdeps/sh/libm-test-ulps: Regenerate.
18745
6e697ff7
DM
187462014-01-24 David S. Miller <davem@davemloft.net>
18747
18748 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18749
9cadb35c
KK
187502014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18751
18752 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18753 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18754
5d41dadf
SP
187552013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18756
18757 [BZ #16474]
18758 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18759 string pointers after reallocation.
18760
0bad441c
KK
187612014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18762
18763 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18764 __SH4A__ instead of __SH_FPU_ANY__.
18765
7007c661
KK
187662014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18767
18768 * sysdeps/sh/fpu_control.h: New file.
18769 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18770 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18771 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18772 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18773 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18774 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18775 * sysdeps/sh/sys/ucontext.h: Remove.
18776 * sysdeps/sh/sys: Remove directory.
18777
0f0c35e4
AK
187782014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18779
18780 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18781 s390/sys/ucontext.h.
18782 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18783 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18784
4959e284
L
187852014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18786
18787 [BZ #15605]
18788 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18789
d98720e0
AZ
187902014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18791
18792 [BZ#16431]
18793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18794 Adjust the vDSO correctly for internal calls.
18795 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18796
91cbd0bc
AM
187972014-01-20 Allan McRae <allan@archlinux.org>
18798
18799 * po/ca.po: Update Catalan translation from translation project.
18800
7a02cfad
MF
188012014-01-16 Mike Frysinger <vapier@gentoo.org>
18802
18803 * sysdeps/s390/sotruss-lib.c: New file.
18804
736c304a
AZ
188052014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18806
18807 [BZ#16430]
6e077ee5 18808 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18809 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18810 local calls issues by not having a PLT stub required for IFUNC calls.
18811 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18812
94d0cea0
JM
188132014-01-16 Joseph Myers <joseph@codesourcery.com>
18814
18815 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18816 * math/test-fpucw-static.c: Likewise.
18817
980cb518
SP
188182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18819
18820 [BZ #16453]
18821 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18822
2393fc01
AZ
188232014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18824
18825 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18826 implementation for powerpc.
18827
d359bcc2
OB
188282014-01-15 Ondřej Bílka <neleai@seznam.cz>
18829
18830 [BZ #14782]
18831 * sysdeps/posix/system.c (__libc_system): Do not enable
18832 asynchronous cancellation.
18833
7beb48cb
AK
188342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18835
18836 [BZ #16427]
18837 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18838 handling only for numbers special also in the IEEE case.
18839
c20d5bf5
AK
188402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18841
18842 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18843
e83bd4ee
AM
188442014-01-11 Allan McRae <allan@archlinux.org>
18845
76d0ea69
AM
18846 * po/bg.po: Update Bulgarian translation from translation project.
18847
e83bd4ee
AM
18848 * po/de.po: Update German translation from translation project.
18849
bc2ba20a
RM
188502014-01-10 Roland McGrath <roland@hack.frob.com>
18851
18852 * sysdeps/generic/gcc-compat.h: New file.
18853
649ecea2
SP
188542014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18855
18856 * benchtests/asin-inputs: Correct slow inputs.
18857 * benchtests/acos-inputs: Likewise.
18858
1b19c006
AM
188592014-01-10 Allan McRae <allan@archlinux.org>
18860
a46dab08
AM
18861 * po:sv.po: Update Swedish translation from translation project.
18862
421df74a
AM
18863 * po/vi.po: Update Vietnamese translation from translation project.
18864
d61c51a7
AM
18865 * po/eo.po: Update Esperanto translation from translation project.
18866
0339a319
AM
18867 * po/cs.po: Update Czech translation from translation project.
18868
94ad3e99
AM
18869 * po/nl.po: Update Dutch translation from translation project.
18870
e349ca71
AM
18871 * po/pl.po: Update Polish translation from translation project.
18872
ddf930c1
AM
18873 * po/ru.po: Update Russian translation from translation project.
18874
1b19c006
AM
18875 * po/uk.po: Update Ukrainian translation from translation project.
18876
9f236c49
BM
188772014-01-08 Brooks Moses <bmoses@google.com>
18878
18879 * elf/dl-load.c: Fix comment typo.
18880
cd6701cf
CD
188812014-01-08 Carlos O'Donell <carlos@redhat.com>
18882
18883 * po/header.pot: Rename to...
18884 * po/pot.header: ... this.
18885 * po/Makefile: Use pot.header.
18886
66671c84
YK
188872014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18888 Maxim Kuvyrkov <maxim@kugelworks.com>
18889
18890 [BZ #16394]
cd6701cf
CD
18891 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18892 SRC and DEST against LEN.
66671c84 18893
38f34581
AZ
188942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18895
18896 [BZ #16414]
18897 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18898 implementation.
18899 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18900
189012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18902
18903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18904
4c327f2a
JM
189052014-01-08 Joseph Myers <joseph@codesourcery.com>
18906
18907 [BZ #16408]
18908 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18909 for large positive arguments.
18910
b821f414
JM
189112014-01-07 Joseph Myers <joseph@codesourcery.com>
18912
1f0f2067
JM
18913 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18914
a5a326f6
JM
18915 * math/auto-libm-test-in: Mark various tests with
18916 xfail-rounding:ldbl-128ibm.
18917 * math/auto-libm-test-out: Regenerated.
18918
b821f414
JM
18919 [BZ #16407]
18920 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18921 Increase overflow threshold.
18922
94c8a4bc
OB
189232014-01-07 Ondřej Bílka <neleai@seznam.cz>
18924
18925 [BZ #14286]
18926 * stdio-common/vfprintf.c: Check for integer overflow.
18927
87ded0c3
AK
189282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18929
18930 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18931 the first argument and return value of __tls_get_addr_internal.
18932
c5eebdd0
AK
189332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18934
18935 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18936 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18937
05d138ef
AK
189382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18939
18940 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18941 * sysdeps/s390/rtld-global-offsets.sym: New file.
18942 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18943 GLIBC_2.19 symbol.
18944 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18946 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18947 ... this.
18948 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18950 ... this.
18951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18952 Regenerate.
18953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18954 Regenerate.
18955 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18956 halfs of GPRs for high_gprs contexts.
18957 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18958 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18959 field.
18960 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18961 uc_flags field.
18962 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18963 64 bit versions:
18964 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18965 for high GPRs (uc_high_gprs) and for future extensions
18966 (__reserved).
18967 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18968 for future extensions (__reserved).
18969 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18970 64 bit versions:
18971 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18972 SC_HIGHGPRS offset definition.
18973 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18974 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18975
93a45ff1
AK
18976 * Versions.def: Add GLIBC_2.19 for libpthread.
18977 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18978 siglongjmp for libpthread with GLIBC_2.19 symver.
18979 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18980 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18981 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18982 * sysdeps/s390/__longjmp.c: New file.
18983 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18984 * sysdeps/s390/longjmp.c: New file.
18985 * sysdeps/s390/setjmp.S: New file.
18986 * sysdeps/s390/sigjmp.S: New file.
18987 * sysdeps/s390/v1-longjmp.c: New file.
18988 * sysdeps/s390/v1-setjmp.h: New file.
18989 * sysdeps/s390/v1-sigjmp.c: New file.
18990 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18991 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18992 GLIBC_2.19 version.
18993 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18994 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18995 versioned symbols for ____longjmp_chk.
18996 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18997 Likewise.
18998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18999 Regenerate.
19000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19001 Regenerate.
19002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19003 Regenerate.
19004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19005 Regenerate.
19006 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19007 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19008 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19009 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19010 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19011 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19012 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19013 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19014 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19015 * sysdeps/s390/rtld-__longjmp.c: New file.
19016 * sysdeps/s390/rtld-setjmp.S: New file.
19017
eb3fc44b
JM
190182014-01-06 Joseph Myers <joseph@codesourcery.com>
19019
19020 [BZ #16400]
19021 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19022 Return -__logl (x) for small positive arguments without evaluating
19023 a polynomial.
19024
9341dde4
MF
190252014-01-06 Mike Frysinger <vapier@gentoo.org>
19026
19027 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19028 Rename to ...
19029 (__ptrace_peeksiginfo_args): ... this.
19030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19033
4cff0293
AM
190342014-01-06 Allan McRae <allan@archlinux.org>
19035
19036 * inet/netinet/in.h: Fix typo in comment.
19037
75595dcf
AJ
190382014-01-05 Andreas Jaeger <aj@suse.de>
19039
19040 * sysdeps/i386/fpu/libm-test-ulps: Update.
19041
79c1e109
AM
190422014-01-05 Allan McRae <allan@archlinux.org>
19043
dd804818
AM
19044 * po/libc.pot: Regenerated.
19045
79c1e109
AM
19046 * malloc/memusagestat.c: Fix gettext call formatting.
19047
0c813d1f
SK
190482014-01-04 Sami Kerola <kerolasa@iki.fi>
19049
19050 * nscd/nscd.c: Improve usage() output.
19051
20f4a8d9
MF
190522014-01-04 Mike Frysinger <vapier@gentoo.org>
19053
19054 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19055 * sysdeps/unix/sysv/linux/configure: Regenerated.
19056 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19057 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19058
22562bb2
JM
190592014-01-03 Joseph Myers <joseph@codesourcery.com>
19060
19061 [BZ #16390]
19062 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19063 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19064
d7ad2d9b
AZ
190652014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19066
19067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19068 extra tokens at end of #undef directive.
19069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19072
7dd009d8
JM
190732014-01-03 Joseph Myers <joseph@codesourcery.com>
19074
24db925a
JM
19075 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19076
7dd009d8
JM
19077 * math/auto-libm-test-in: Mark various tests with
19078 xfail-rounding:ldbl-128ibm.
19079 * math/auto-libm-test-out: Regenerated.
19080
396e3ecf
JM
190812014-01-02 Joseph Myers <joseph@codesourcery.com>
19082
819e5d50
JM
19083 [BZ #16386]
19084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19085 numbers with subnormal high part when calculating exponent.
19086
90b6a1e5
JM
19087 [BZ #16385]
19088 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19089 fabs.
19090
396e3ecf
JM
19091 [BZ #16384]
19092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19093 M_LN2l.
19094 (__ieee754_acoshl): Use __log1pl not __log1p.
19095
6c8dbf00
OB
190962013-01-02 Ondřej Bílka <neleai@seznam.cz>
19097
57f41c40
AS
19098 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19099 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19100 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19101 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19102 (reused_arena, arena_get2): Convert to GNU style.
19103 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19104 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19105 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19106 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19107 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19108 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19109 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19110 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19111 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19112 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19113 * malloc/malloc.h: Likewise.
57f41c40
AS
19114 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19115 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19116 * malloc/mcheck.h: Likewise.
57f41c40
AS
19117 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19118 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19119 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19120 * malloc/morecore.c (__default_morecore): Likewise.
19121 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19122 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19123 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19124 (print_and_abort): Likewise.
6c8dbf00
OB
19125 * malloc/obstack.h: Likewise.
19126 * malloc/set-freeres.c (__libc_freeres): Likewise.
19127 * malloc/tst-mallocstate.c (main): Likewise.
19128 * malloc/tst-mtrace.c (main): Likewise.
19129 * malloc/tst-realloc.c (do_test): Likewise.
19130
d4124212
SP
191312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19132
9a3c6a6f
SP
19133 [BZ #16366]
19134 * nscd/netgroupcache.c (do_notfound): New function.
19135 (addgetnetgrentX): Use it.
19136
d4124212
SP
19137 [BZ # 16365]
19138 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19139 NSS_STATUS_NOTFOUND.
19140
97b9a009
JM
191412014-01-01 Joseph Myers <joseph@codesourcery.com>
19142
19143 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19145
d4697bc9
AM
191462014-01-01 Allan McRae <allan@archlinux.org>
19147
ddb3687f
AM
19148 * scripts/update-copyrights: Update configure input file suffix.
19149
88726d48
AM
19150 * NEWS: Update copyright year.
19151 * catgets/gencat.c: Likewise.
19152 * csu/version.c: Likewise.
19153 * debug/catchsegv.sh: Likewise.
19154 * debug/pcprofiledump.c: Likewise.
19155 * debug/xtrace.sh: Likewise.
19156 * elf/ldconfig.c: Likewise.
19157 * elf/ldd.bash.in: Likewise.
19158 * elf/pldd.c: Likewise.
19159 * elf/sotruss.ksh: Likewise.
19160 * elf/sprof.c: Likewise.
19161 * iconv/iconv_prog.c: Likewise.
19162 * iconv/iconvconfig.c: Likewise.
19163 * locale/programs/locale.c: Likewise.
19164 * locale/programs/localedef.c: Likewise.
19165 * login/programs/pt_chown.c: Likewise.
19166 * malloc/memusage.sh: Likewise.
19167 * malloc/memusagestat.c: Likewise.
19168 * malloc/mtrace.pl: Likewise.
19169 * manual/libc.texinfo: Likewise.
19170 * nscd/nscd.c: Likewise.
19171 * nss/getent.c: Likewise.
19172 * nss/makedb.c: Likewise.
19173 * posix/getconf.c: Likewise.
19174 * scripts/test-installation.pl: Likewise.
19175
d4697bc9
AM
19176 * All files with FSF copyright notices: Update copyright dates
19177 using scripts/update-copyrights.
19178 * intl/plural.c: Regenerated.
19179 * locale/programs/charmap-kw.h: Likewise.
19180 * locale/programs/locfile-kw.h: Likewise.
19181
c8590f9d
MF
191822013-12-31 Mike Frysinger <vapier@gentoo.org>
19183
19184 * sysdeps/unix/sysv/linux/configure: Regenerated.
19185 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19186 the linux/fanotify.h header.
19187 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19188 HAVE_LINUX_FANOTIFY_H is defined.
19189
b19221b9
SP
191902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19191
dd1d85e5
SP
19192 * benchtests/cos-inputs: New inputs.
19193 * benchtests/sin-inputs: Likewise.
19194
1acbb90f
SP
19195 * benchtests/atan-inputs: New inputs. Fix name of multiple
19196 precision fallback inputs.
19197
4c012ed3
SP
19198 * benchtests/atanh-inputs: New inputs.
19199 * benchtests/tanh-inputs: Likewise.
19200
eff98324
SP
19201 * benchtests/acosh-inputs: New inputs.
19202 * benchtests/asinh-inputs: Likewise.
19203
ce641152
SP
19204 * benchtests/cosh-inputs: New inputs.
19205 * benchtests/sinh-inputs: Likewise.
19206
b19221b9
SP
19207 * benchtests/acos-inputs: Add more inputs.
19208 * benchtests/asin-inputs: Likewise.
19209
030a4976 192102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19211
030a4976 19212 [BZ #16375]
9dcc8f11
VS
19213 * manual/arith.texi: Fix spelling.
19214 * manual/charset.texi: Likewise.
19215 * manual/errno.texi: Likewise.
19216 * manual/filesys.texi: Likewise.
19217 * manual/lang.texi: Likewise.
19218 * manual/llio.texi: Likewise.
19219 * manual/locale.texi: Likewise.
19220 * manual/message.texi: Likewise.
19221 * manual/resource.texi: Likewise.
19222 * manual/search.texi: Likewise.
19223 * manual/setjmp.texi: Likewise.
19224 * manual/stdio.texi: Likewise.
19225 * manual/string.texi: Likewise.
19226 * manual/sysinfo.texi: Likewise.
19227 * manual/time.texi: Likewise.
19228
11520a57
CD
192292013-12-27 Carlos O'Donell <carlos@redhat.com>
19230
19231 * po/sl.po: New file.
19232
471103ae
MF
192332013-12-27 Mike Frysinger <vapier@gentoo.org>
19234
19235 * .gitignore: Add core/.gdbinit/.gdb_history.
19236
6c9642ed
AM
192372013-12-27 Allan McRae <allan@archlinux.org>
19238
19239 [BZ #16369]
19240 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19241 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19242
3f637079
BM
192432013-12-24 Brooks Moses <bmoses@google.com>
19244
19245 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19246 all compilers that claim C++98 compliance, not just GCC.
19247 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19248 Likewise.
19249
abc26e99
MK
192502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19251
19252 * NEWS: Restore accidentally deleted bug-fix entries.
19253
362b47fe
MK
192542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19255 Ondřej Bílka <neleai@seznam.cz>
19256
19257 [BZ #15073]
19258 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19259 have_lock.
362b47fe 19260
b9bcbbcb
OB
192612013-12-23 Ondřej Bílka <neleai@seznam.cz>
19262
19263 [BZ #12986]
19264 * manual/stdio.texi (String Input Conversions): Clarify that character
19265 classes are not supported.
19266
fb55fcd2
AZ
192672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19268
19269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19270
ef7344f0
JM
192712013-12-22 Joseph Myers <joseph@codesourcery.com>
19272
4f40e4b3
JM
19273 [BZ #16337]
19274 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19275 Calculate results for small negative arguments directly rather
19276 than using reflection formula with special underflow handling.
19277
ef7344f0
JM
19278 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19279 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19280 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19281 (fchflags): Likewise.
19282 (revoke): Likewise.
19283 (setlogin): Likewise.
19284 (sigaltstack): Likewise.
19285 (wait4): Likewise.
19286 (sigblock): Remove.
19287 (sigsetmask): Likewise.
19288 (wait3): Likewise.
19289 (waitpid): Likewise.
19290 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19291 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19292 file.
19293 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19294 * sysdeps/unix/bsd/Makefile: ... here.
19295 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19296 * sysdeps/unix/bsd/Versions: ... here.
19297 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19298 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19299 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19300 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19301 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19302 * sysdeps/unix/bsd/sigblock.c: ... here.
19303 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19304 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19305 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19306 * sysdeps/unix/bsd/sigvec.c: ... here.
19307 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19308 * sysdeps/unix/bsd/tcdrain.c: ... here.
19309 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19310 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19311 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19312 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19313 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19314 * sysdeps/unix/bsd/wait.c: ... here.
19315 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19316 * sysdeps/unix/bsd/wait3.c: ... here.
19317 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19318 * sysdeps/unix/bsd/waitpid.c: ... here.
19319
5b0626b9
JM
193202013-12-21 Joseph Myers <joseph@codesourcery.com>
19321
19322 [BZ #16356]
19323 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19324 round-to-nearest for [!USE_AS_EXPM1L].
19325 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19326 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19327 more tests of exp and exp10. Expect some exp10 tests to miss
19328 exceptions or fail in directed rounding modes.
19329 * math/auto-libm-test-out: Regenerated.
19330 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19331 (exp10_test_tonearest): New function.
19332 (exp10_towardzero_test_data): New array.
19333 (exp10_test_towardzero): New function.
19334 (exp10_downward_test_data): New array.
19335 (exp10_test_downward): New function.
19336 (exp10_upward_test_data): New array.
19337 (exp10_test_upward): New function.
19338 (main): Call the new functions.
19339 * sysdeps/i386/fpu/libm-test-ulps: Update.
19340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19341
7fda5682
JM
193422013-12-20 Joseph Myers <joseph@codesourcery.com>
19343
31e3a405
JM
19344 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19345 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19346 * math/auto-libm-test-out: Regenerated.
19347 * math/libm-test.inc (acosh_test_data): Add more tests.
19348 (atanh_test_data): Likewise.
19349 (ceil_test_data): Likewise.
19350 (copysign_test_data): Likewise.
19351 * sysdeps/i386/fpu/libm-test-ulps: Update.
19352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19353
85bff96a
JM
19354 * timezone/checktab.awk: Update from tzcode 2013i.
19355 * timezone/private.h: Likewise.
19356 * timezone/scheck.c: Likewise.
19357 * timezone/tzfile.h: Likewise.
19358 * timezone/tzselect.ksh: Likewise.
19359 * timezone/zdump.c: Likewise.
19360 * timezone/zic.c: Likewise.
19361
b7867a3b
JM
19362 * math/auto-libm-test-in: Add tests of cpow.
19363 * math/auto-libm-test-out: Regenerated.
19364 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19366 mpc_cc_c.
19367 (func_calc_desc): Add mpc_cc_c union field.
19368 (test_functions): Add cpow.
19369 (special_fill_2pi): New function.
19370 (special_real_inputs): Add 2pi.
19371 (calc_generic_results): Handle mpc_cc_c.
19372 * sysdeps/i386/fpu/libm-test-ulps: Update.
19373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19374
7fda5682
JM
19375 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19376 csqrt, ctan and ctanh.
19377 * math/auto-libm-test-out: Regenerated.
19378 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19379 (TEST_COND_x86): Likewise.
19380 (ccos_test_data): Use AUTO_TESTS_c_c.
19381 (ccosh_test_data): Likewise.
19382 (cexp_test_data): Likewise.
19383 (clog_test_data): Likewise.
19384 (csqrt_test_data): Likewise.
19385 (ctan_test_data): Likewise.
19386 (ctan_tonearest_test_data): Likewise.
19387 (ctan_towardzero_test_data): Likewise.
19388 (ctan_downward_test_data): Likewise.
19389 (ctan_upward_test_data): Likewise.
19390 (ctanh_test_data): Likewise.
19391 (ctanh_tonearest_test_data): Likewise.
19392 (ctanh_towardzero_test_data): Likewise.
19393 (ctanh_downward_test_data): Likewise.
19394 (ctanh_upward_test_data): Likewise.
19395 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19396 mpc_c_c.
19397 (func_calc_desc): Add mpc_c_c union field.
19398 (FUNC_mpc_c_c): New macro.
19399 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19400 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19401 ctanh.
19402 (special_fill_min_subnorm_p120): New function.
19403 (special_real_inputs): Add min_subnorm_p120.
19404 (calc_generic_results): Handle mpc_c_c.
19405 * sysdeps/i386/fpu/libm-test-ulps: Update.
19406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407
5ff8d60e
SP
194082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19409
57f41c40
AS
19410 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19411 (do_sin_slow): New functions.
19412 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19413 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19414
84ba214c
SP
19415 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19416 Use M to change sign of result instead of X. Assume X is
19417 positive.
19418 (csloww1): Likewise.
19419 (__sin): Adjust.
19420 (__cos): Adjust.
19421
975195e4
SP
19422 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19423 arguments A and DA.
19424 (__sin): Adjust.
19425 (__cos): Likewise.
19426
5ff8d60e
SP
19427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19428 (__cos): Likewise.
19429 (sloww1): Don't adjust sign of DX.
19430 (csloww1): Likewise.
19431 (sloww2): Use X directly and don't adjust sign of DX.
19432 (csloww2): Likewise.
19433
eb983568
JM
194342013-12-19 Joseph Myers <joseph@codesourcery.com>
19435
64a17f1a
JM
19436 * math/auto-libm-test-in: Add tests of cabs and carg.
19437 * math/auto-libm-test-out: Regenerated.
19438 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19439 (carg_test_data): Likewise.
19440 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19441 mpc_c_f.
19442 (func_calc_desc): Add mpc_c_f union field.
19443 (test_functions): Add cabs and carg.
19444 (calc_generic_results): Handle mpc_c_f.
19445
eb983568
JM
19446 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19447 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19448 as a macro and a compat symbol.
19449 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19450 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19451 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19452 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19453 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19454 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19455 not use .hidden.
19456 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19457 Likewise.
19458 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19459 Likewise.
19460 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19461 Likewise.
19462 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19463 Likewise.
19464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19465 Likewise.
19466 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19467 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19468 from GLIBC_2.3.2.
19469
6eeb678a
AZ
194702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19471
19472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19473
6f6fc482
JM
194742013-12-19 Joseph Myers <joseph@codesourcery.com>
19475
21fea2e2
JM
19476 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19477 trailing whitespace removed.
19478 * scripts/config.guess: Update to version 2013-11-29.
19479 * scripts/config.sub: Update to version 2013-10-01.
19480
6f6fc482
JM
19481 * math/auto-libm-test-in: Add tests of sincos.
19482 * math/auto-libm-test-out: Regenerated.
19483 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19484 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19485 mpfr_f_11.
19486 (func_calc_desc): Add mpfr_f_11 union field.
19487 (test_functions): Add sincos.
19488 (calc_generic_results): Handle mpfr_f_11.
19489 * sysdeps/i386/fpu/libm-test-ulps: Update.
19490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19491
83f5c32d
AS
194922013-12-19 Andreas Schwab <schwab@suse.de>
19493
19494 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19495 CALL_MCOUNT.
19496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19498 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19499
c688b419
JM
195002013-12-19 Joseph Myers <joseph@codesourcery.com>
19501
335ee092
JM
19502 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19503 * sysdeps/i386/fpu/libm-test-ulps: Update.
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19505
f88acd39
JM
19506 [BZ #16293]
19507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19508 round-to-nearest mode when using frndint.
19509 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19510 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19511 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19512 Likewise.
19513 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19514 sinh test to fail.
19515 * math/auto-libm-test-out: Regenerated.
19516 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19517 (TEST_COND_x86): Likewise.
19518 (expm1_tonearest_test_data): New array.
19519 (expm1_test_tonearest): New function.
19520 (expm1_towardzero_test_data): New array.
19521 (expm1_test_towardzero): New function.
19522 (expm1_downward_test_data): New array.
19523 (expm1_test_downward): New function.
19524 (expm1_upward_test_data): New array.
19525 (expm1_test_upward): New function.
19526 (main): Run the new test functions.
19527 * sysdeps/i386/fpu/libm-test-ulps: Update.
19528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19529
c688b419
JM
19530 * include/features.h: Update comment documenting feature test
19531 macros. Mention _DEFAULT_SOURCE in comment.
19532 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19533 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19534 _BSD_SOURCE and _SVID_SOURCE.
19535 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19536 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19537 !_SVID_SOURCE]: Likewise.
19538 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19539 (__USE_POSIX_IMPLICITLY): Define.
19540 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19541 (_POSIX_SOURCE): Undefine and redefine.
19542 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19543 (_POSIX_C_SOURCE): Likewise.
19544 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19545 (Feature Test Macros): Update documentation of default features.
19546
9f6e964c
RS
195472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19548
19549 * benchtests/Makefile: Add bench-strtok.
19550 * benchtests/bench-strtok.c: New file: strtok benchtest.
19551
ee0a148a
AM
195522013-12-19 Allan McRae <allan@archlinux.org>
19553
19554 * manual/install.texi: Suppress menu for plain text output.
19555 * INSTALL: Regenerated.
19556
b9ab448f
BM
195572013-12-18 Brooks Moses <bmoses@google.com>
19558
19559 [BZ #15846]
19560 * misc/getauxval.c: Include errno.h.
19561 (__getauxval): Set errno to ENOENT if the requested type is not
19562 found.
19563 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19564 don't declare with __attribute_const__.
19565 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19566 * manual/startup.texi: Document that getauxval sets errno.
19567
23776487
JM
195682013-12-18 Joseph Myers <joseph@codesourcery.com>
19569
f889953b
JM
19570 * math/auto-libm-test-in: Add tests of jn and yn.
19571 * math/auto-libm-test-out: Regenerated.
19572 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19573 (yn_test_data): Likewise.
19574 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19575 mpfr_if_f.
19576 (func_calc_desc): Add mpfr_if_f union field.
19577 (FUNC_mpfr_if_f): New macro.
19578 (test_functions): Add jn and yn.
19579 (calc_generic_results): Assert type of second input for
19580 mpfr_ff_f. Handle mpfr_if_f.
19581 (output_for_one_input_case): Disable all checking for arguments
19582 fitting floating-point types in case of an integer argument.
19583 * sysdeps/i386/fpu/libm-test-ulps: Update.
19584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19585
23776487
JM
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19587 Don't expect fegetround reference in libm.so.
19588
cb756c6d
MS
195892013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19590
19591 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19592 $(config-cflags-nofma).
19593
2dec468f
JM
195942013-12-18 Joseph Myers <joseph@codesourcery.com>
19595
5953eb3a
JM
19596 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19597 * math/auto-libm-test-out: Regenerated.
19598
2dec468f
JM
19599 [BZ #16338]
19600 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19601 to determine exponent and adjust argument to have exponent of -1.
19602 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19603 log2.
19604 * math/auto-libm-test-out: Regenerated.
19605 * sysdeps/i386/fpu/libm-test-ulps: Update.
19606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607
4d84e6ad
OB
196082013-12-18 Ondřej Bílka <neleai@seznam.cz>
19609
19610 * manual/probes.texi: Remove cases when per-thread arenas are
19611 disabled.
19612
1818483b
AS
196132013-12-18 Andreas Schwab <schwab@suse.de>
19614
19615 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19616 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19617 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19618 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19619 * sysdeps/i386/i686/multiarch/Makefile: Update.
19620 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19621
25de95bf
JM
196222013-12-17 Joseph Myers <joseph@codesourcery.com>
19623
19624 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19625 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19626
674762d9
PE
196272013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19628
ed27ed83 19629 [BZ #15968]
0748546f
PE
19630 Support TZ transition times < 00:00:00.
19631 This is needed for version-3 tz-format files; it supports time
19632 stamps past 2037 for America/Godthab (the only entry in the tz
19633 database for which this change is relevant).
19634 * manual/time.texi (TZ Variable): Document transition times
19635 from -167:59:59 through -00:00:01.
19636 * time/tzset.c (tz_rule): Time of day is now signed.
19637 (__tzset_parse_tz): Parse negative time of day.
19638
4480e934
PE
19639 Document TZ transition times >= 25:00:00.
19640 * manual/time.texi (TZ Variable): Document transition times from
19641 25:00:00 through 167:59:59. These are already supported, and this
19642 support will help with version-3 tz-format files.
19643
69947401
PE
19644 * manual/time.texi (TZ Variable): Modernize North America example
19645 to reflect current (i.e., 2007-and-later) daylight saving rules.
19646
674762d9
PE
19647 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19648
7011c262
JM
196492013-12-17 Joseph Myers <joseph@codesourcery.com>
19650
2fc6557e
JM
19651 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19652 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19655 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19656 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19657 * sysdeps/unix/bsd/clock.c: Likewise.
19658 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19659 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19660 * sysdeps/unix/bsd/init-posix.c: Likewise.
19661 * sysdeps/unix/bsd/poll.c: Likewise.
19662 * sysdeps/unix/bsd/ptsname.c: Likewise.
19663 * sysdeps/unix/bsd/seekdir.c: Likewise.
19664 * sysdeps/unix/bsd/setegid.c: Likewise.
19665 * sysdeps/unix/bsd/seteuid.c: Likewise.
19666 * sysdeps/unix/bsd/setgid.c: Likewise.
19667 * sysdeps/unix/bsd/setrgid.c: Likewise.
19668 * sysdeps/unix/bsd/setruid.c: Likewise.
19669 * sysdeps/unix/bsd/setsid.c: Likewise.
19670 * sysdeps/unix/bsd/setuid.c: Likewise.
19671 * sysdeps/unix/bsd/sigaction.c: Likewise.
19672 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19673 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19674 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19675 * sysdeps/unix/bsd/telldir.c: Likewise.
19676 * sysdeps/unix/bsd/times.c: Likewise.
19677 * sysdeps/unix/bsd/usleep.c: Likewise.
19678
029c7b25
JM
19679 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19680 ($(objpfx)libbsd-compat.a): Remove rule.
19681
7011c262
JM
19682 * include/features.h (__FAVOR_BSD): Do not define.
19683 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19684 features conflicting with POSIX.
19685 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19686 (_BSD_SOURCE): Remove description of not being a subset of other
19687 feature test macros.
19688 * manual/job.texi (getpgrp): Do not document BSD version.
19689 (getpgid): Do not document by reference to BSD getpgrp.
19690 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19691 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19692 * signal/signal.h [__FAVOR_BSD]: Likewise.
19693 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19694 instead of making contents conditional on [__FAVOR_BSD].
19695 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19696
affb6f78
AZ
196972013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19698
19699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19700
c88769dd
JM
197012013-12-17 Joseph Myers <joseph@codesourcery.com>
19702
6432a540
JM
19703 [BZ #16314]
19704 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19705 values below 2**-450, not 2**-500.
19706 * math/auto-libm-test-in: Don't allow spurious underflow from
19707 hypot.
19708 * math/auto-libm-test-out: Regenerated.
19709
c88769dd
JM
19710 [BZ #16316]
19711 [BZ #16330]
19712 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19713 values of ha and hb and sort them after adjusting subnormal
19714 arguments.
19715 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19716 Likewise.
19717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19718 values of ea and eb and sort them after adjusting subnormal
19719 arguments.
19720 * math/auto-libm-test-in: Do not expect some hypot tests of
19721 subnormals to fail. Add more hypot tests.
19722 * math/auto-libm-test-out: Regenerated.
19723
29618f6b
KK
197242013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19725
19726 [BZ #13304]
19727 * sysdeps/sh/s_fma.c: New file.
19728 * sysdeps/sh/s_fmaf.c: New file.
19729 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19730 version.
19731 * sysdeps/sh/Implies: Add sh/soft-fp.
19732
eacfdfbf
RM
197332013-12-16 Roland McGrath <roland@hack.frob.com>
19734
19735 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19736 level of indirection to members `objname', `errstring', `malloced'.
19737 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19738 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19739 it as the __longjmp argument (just pass 1 instead).
19740 (_dl_catch_error): Initialize C with argument pointers and address of
19741 volatile local ERRCODE rather than copying values out of C at return.
19742
ff362e5b
JM
197432013-12-16 Joseph Myers <joseph@codesourcery.com>
19744
19745 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19746 * math/auto-libm-test-out: Regenerated.
19747 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19748 (hypot_test_data): Likewise.
19749 (pow_test_data): Likewise.
19750 (pow_tonearest_test_data): Likewise.
19751 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19752 mpfr_ff_f.
19753 (func_calc_desc): Add mpfr_ff_f union field.
19754 (FUNC_mpfr_ff_f): New macro.
19755 (test_functions): Add atan2, hypot and pow.
19756 (special_fill_min): New function.
19757 (special_fill_minus_min): Likewise.
19758 (special_fill_min_subnorm): Likewise.
19759 (special_fill_minus_min_subnorm): Likewise.
19760 (special_real_inputs): Add min, -min, min_subnorm and
19761 -min_subnorm.
19762 (calc_generic_results): Handle mpfr_ff_f.
19763 * sysdeps/i386/fpu/libm-test-ulps: Update.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765
5764c27f
WN
197662013-12-16 Will Newton <will.newton@linaro.org>
19767
19768 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19769 (Aligned Memory Blocks): Add documentation for aligned_alloc
19770 and suggest it as an alternative to posix_memalign.
19771 (Hooks for Malloc): Document __memalign_hook is also called
19772 for aligned_alloc. (Summary of Malloc): Add summary for
19773 aligned alloc. Document __memalign_hook is also called
19774 for aligned_alloc.
19775
0a096e44
WN
197762013-12-16 Will Newton <will.newton@linaro.org>
19777
19778 * manual/memory.texi (Malloc Examples): Clarify default
19779 alignment documentation. Suggest posix_memalign rather
19780 than memalign or valloc.
19781 (Aligned Memory Blocks): Remove suggestion to use memalign
19782 or valloc. Remove obsolete comment about BSD.
19783 Document memalign errno values and mark the function obsolete.
19784 Document posix_memalign returned error codes. Mark valloc
19785 as obsolete. (Hooks for Malloc): __memalign_hook is also
19786 called for posix_memalign and valloc.
19787 (Summary of Malloc): Add posix_memalign to function summary.
19788 __memalign_hook is also called for posix_memalign and valloc.
19789
8d561986
SP
197902013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19791
19792 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19793 TAYLOR_SIN.
19794 (__sin): Adjust.
19795 (__cos): Likewise.
19796 (sloww): Use mynumber union. Expand ternary operator into
19797 if-else statements.
19798 (cslow): use mynumber union.
19799
73616a74
AM
198002013-12-16 Allan McRae <allan@archlinux.org>
19801
9e8ac24b
AM
19802 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19803 * configure: Regenerated.
19804
6f8e37eb
AM
19805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19806
8894bad3
AM
19807 [BZ #14120]
19808 * configure.ac: Added --enable-maintainer-mode. Check for
19809 autoconf when enabled.
19810 * configure: Regenerated.
19811
73616a74
AM
19812 * nscd/nscd.service: New file.
19813 * nscd/nscd.tmpfiles: New file.
19814
584b18eb
OB
198152013-12-14 Ondřej Bílka <neleai@seznam.cz>
19816
19817 [BZ #12100]
19818 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19819 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19820 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19821 (strstr): Add __strstr_sse2_unaligned ifunc.
19822 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19823 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19824 (strcasestr): Remove __strcasestr_sse42 ifunc.
19825 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19828
8a5c7897
KK
198292013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19830
19831 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19832 * sysdeps/sh/bits/fenv.h: ... here.
19833 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19834
fd712ef3
AZ
198352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19836
19837 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19838
42fcb46c
AZ
19839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19840 hypotf multiarch implementations.
19841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19844 multiarch hypot for PPC64.
19845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19847 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19848 multiarch hypotf for PPC64.
19849
83efded4
AZ
19850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19851 modff multiarch implementations.
19852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19855 multiarch modf for PPC64.
19856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19859 multiarch modff for PPC64.
19860
43e246d2
AZ
19861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19862 and logl multiarch implementations.
19863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19866 multiarch logb for PPC64.
19867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19870 multiarch logb for PPC64.
19871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19874 multiarch logb for PPC64.
19875
8fdad123
AZ
19876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19877 isinff multiarch implementation.
19878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19879 file.
19880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19882 multiarch isinf for PPC64.
19883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19884 file.
19885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19886 multiarch isinff for PPC64.
19887
1481d706
AZ
19888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19889 finitef multiarch implementation.
19890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19891 file.
19892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19894 multiarch finite for PPC64.
19895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19896 file.
19897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19898 multiarch finitef for PPC64.
19899
5ccd5fc8
AZ
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19901 lrint multiarch implementation.
19902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19903 file.
19904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19906 multiarch llrint for PPC64.
19907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19908 multiarch lrint for PPC64.
19909
2568f3fa
AZ
19910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19911 copysignf multiarch implementation.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19913 file.
19914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19915 file.
19916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19917 multiarch copysign for PPC64.
19918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19919 multiarch copysignf for PPC64.
19920
1cb341fd
AZ
19921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19922 multiarch implementation.
19923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19924 file.
19925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19926 file.
19927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19928 file.
19929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19930 file.
19931 multiarch llround for PPC64.
19932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19933 multiarch trunc for PPC64.
19934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19935 multiarch truncf for PPC64.
19936
59a3e194
AZ
19937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19938 multiarch implementation.
19939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19940 file.
19941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19942 file.
19943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19944 file.
19945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19946 file.
19947 multiarch llround for PPC64.
19948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19949 multiarch round for PPC64.
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19951 multiarch roundf for PPC64.
19952
357fd3b4
AZ
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19954 multiarch implementation.
19955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19956 file.
19957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19958 file.
19959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19960 file.
19961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19962 file.
19963 multiarch llround for PPC64.
19964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19965 multiarch floor for PPC64.
19966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19967 multiarch floorf for PPC64.
19968
96770f12
AZ
19969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19970 multiarch implementation.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19972 file.
19973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19974 file.
19975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19976 file.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19978 file.
19979 multiarch llround for PPC64.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19981 multiarch ceil for PPC64.
19982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19983 multiarch ceilf for PPC64.
19984
c3627f6e
AZ
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19986 multiarch implementation.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19988 file.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19990 file.
19991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19992 file.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19994 multiarch llround for PPC64.
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19996 multiarch lround for PPC64.
19997
b2284ad7
AZ
19998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19999 multiarch implementation.
20000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20003 file.
20004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20007 multiarch isnan for PPC64.
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20009 multiarch isnanf for PPC64.
20010
69bbc63d
AZ
20011 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20012 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20013 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20014 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20015 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20017
c24517c9
AZ
20018 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20022
a52374e8
AZ
20023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20024 multiarch implementations.
20025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20026 (__libc_ifunc_impl_list): Likewise.
20027 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20030 multiarch stpcpy for PPC64.
20031
7f5ec113
AZ
20032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20033 multiarch implementations.
20034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20035 (__libc_ifunc_impl_list): Likewise.
20036 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20037 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20038 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20039 multiarch strcpy for PPC64.
20040
e28bcd42
AZ
20041 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20042 redefine function name.
20043 (_wordcopy_fwd_dest_aligned): Likewise.
20044 (_wordcopy_bwd_aligned): Likewise.
20045 (_wordcopy_bwd_dest_aligned): Likewise.
20046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20047 multiarch implementations.
20048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20049 (__libc_ifunc_impl_list): Likewise.
20050 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20054 multiarch wcscpy for PPC64.
20055
92cacfce
AZ
20056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20057 multiarch implementations.
20058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20059 (__libc_ifunc_impl_list): Likewise.
20060 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20064 multiarch wcscpy for PPC64.
20065
7b714620
AZ
20066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20067 multiarch implementations.
20068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20069 (__libc_ifunc_impl_list): Likewise.
20070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20074 multiarch wcsrchr for PPC64.
20075
16fd2ae3
AZ
20076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20077 multiarch implementations.
20078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20079 (__libc_ifunc_impl_list): Likewise.
20080 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20081 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20082 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20083 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20084 multiarch wcschr for PPC64.
20085
9ee2969b
AZ
20086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20087 multiarch implementations.
20088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20089 (__libc_ifunc_impl_list): Likewise.
20090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20092 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20093 multiarch strchrnul for PPC64.
20094
372dc060
AZ
20095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20096 implementations.
20097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20098 (__libc_ifunc_impl_list): Likewise.
20099 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20100 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20101 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20102 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20103 strchr for PPC64.
20104
24c2c3b9
AZ
20105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20106 implementations.
20107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20108 (__libc_ifunc_impl_list): Likewise.
20109 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20111 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20112 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20113 strncmp for PPC64.
20114
1c92d9a0
AZ
20115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20116 multiarch implementations.
20117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20118 (__libc_ifunc_impl_list): Likewise.
20119 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20120 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20121 strncasecmp for PPC64.
20122 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20123 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20124 multiarch strncasecmp_l for PPC64.
20125
17de3ee3
AZ
20126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20127 multiarch implementations.
20128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20129 (__libc_ifunc_impl_list): Likewise.
20130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20132 multiarch strcasecmp for PPC64.
20133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20134 file.
20135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20136 multiarch strcasecmp_l for PPC64.
20137
62982bf9
AZ
20138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20139 implementations.
20140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20141 (__libc_ifunc_impl_list): Likewise.
20142 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20143 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20144 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20145 strnlen for PPC64.
20146
a65f4904
AZ
20147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20148 implementations.
20149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20150 (__libc_ifunc_impl_list): Likewise.
20151 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20152 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20153 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20154 strlen for PPC64.
20155
1fd005ad
AZ
20156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20157 implementations.
20158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20159 (__libc_ifunc_impl_list): Likewise.
20160 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20161 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20162 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20163 rawmemrchr for PPC64.
20164
cd05ba91
AZ
20165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20166 implementation.
20167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20168 (__libc_ifunc_impl_list): Likewise.
20169 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20170 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20171 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20172 memrchr for PPC64.
20173
870f8676
AZ
20174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20175 implementation.
20176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20177 (__libc_ifunc_impl_list): Likewise.
20178 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20179 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20180 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20181 memchr for PPC64.
20182
f00be62b
AZ
20183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20184 implementation.
20185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20186 (__libc_ifunc_impl_list): Likewise.
20187 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20189 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20190 mempcpy for PPC64.
20191
8a29a3d0
AZ
20192 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20193 avoid cretion of __bzero symbol.
20194 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20195 Likewise.
20196 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20197 Likewise.
20198 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20199 Likewise.
20200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20201 multiarch implementations.
20202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20203 (__libc_ifunc_impl_list): Likewise.
20204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20207 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20208 bzero for PPC32.
20209 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20210 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20211 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20212 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20213 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20214 memset for PPC64.
20215 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20216
07253fcf
AZ
20217 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20219 implementations.
20220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20221 (__libc_ifunc_impl_list): Likewise.
20222 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20225 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20226 memcmp for PPC64.
20227
b5beafbc
AZ
20228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20229 multiarch for POWER/PPC64.
20230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20231 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20233 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20238 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20239 memcpy for PPC64.
20240
5e6a4d4b
AZ
20241 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20242 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20243 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20245 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20246 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20247 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20248 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20249 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20250 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20251 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20252 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20253 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20254 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20255 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20263
ddfab6dc
KK
202642013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20265
20266 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20267
19b5525e
SP
202682013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20269
20270 * benchtests/Makefile (bench): Add exp2 and log2.
20271 (LDLIBS-bench-exp2): Add -lm.
20272 (LDLIBS-bench-log2): Likewise.
20273 * benchtests/exp2-inputs: New inputs file.
20274 * benchtests/log2-inputs: New inputs file.
20275 * benchtests/log-inputs: Add new inputs.
20276 * benchtests/tan-inputs: Likewise.
20277
196f7f5d
SP
202782013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20279
7a74607f
SP
20280 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20281 definition...
57f41c40
AS
20282 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20283 (csloww2): ... from here.
7a74607f 20284
196f7f5d
SP
20285 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20286 instead of structures.
20287 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20288 (POLYNOMIAL): Likewise.
20289 (TAYLOR_SLOW): Likewise.
20290 (__sin): Likewise.
20291 (__cos): Likewise.
20292 (slow1): Likewise.
20293 (slow2): Likewise.
20294 (sloww): Likewise.
20295 (sloww1); Likewise.
20296 (sloww2): Likewise.
20297 (bsloww1): Likewise.
20298 (bsloww2): Likewise.
20299 (cslow2): Likewise.
20300 (csloww): Likewise.
20301 (csloww1): Likewise.
20302 (csloww2): Likewise.
20303
0dfa665c
OB
203042013-12-10 Ondřej Bílka <neleai@seznam.cz>
20305
20306 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20307 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20308 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20309 * malloc/hooks.c (realloc_check): Likewise.
20310
5782a80f
OB
20311 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20312 * malloc/arena.c: Remove PER_THREAD conditional.
20313 [!PER_THREAD]: Remove code.
20314 (ptmalloc_unlock_all2): Likewise.
20315 (ptmalloc_init): Likewise.
20316 (_int_new_arena): Likewise.
20317 (arena_get2): Likewise.
20318 * malloc/hooks.c (__malloc_get_state): Likewise.
20319 (__malloc_set_state): Likewise.
20320 * malloc/malloc.c: Likewise.
20321 (struct malloc_state): Likewise.
20322 (struct malloc_par): Likewise.
20323 (__libc_realloc): Likewise.
20324 (__libc_mallopt): Likewise.
20325
aeb95445
AZ
203262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20327
20328 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20329
e8349efd
OB
203302013-12-09 Ondřej Bílka <neleai@seznam.cz>
20331
20332 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20333 macro to a function. Check for zero perturb_byte.
20334 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20335
f3eeb3fc 20336 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20337 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20338 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20339 force_reg by atomic_forced_read.
20340 * malloc/arena.c (ptmalloc_init): Likewise.
20341 * malloc/hooks.c (top_check): Likewise.
20342
be2f9009
AZ
203432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20344
20345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20346
e7b914bd
MT
203472013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20348
20349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20350
9f0be4f8
JM
203512013-12-08 Joseph Myers <joseph@codesourcery.com>
20352
20353 * math/auto-libm-test-in: Add tests of lgamma.
20354 * math/auto-libm-test-out: Regenerated.
20355 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20356 (M_LOG_2_SQRT_PIl): Likewise.
20357 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20359 mpfr_f_f1.
20360 (func_calc_desc): Add mpfr_f_f1 union field.
20361 (ARGS1): New macro.
20362 (ARGS2): Likewise.
20363 (ARGS3): Likewise.
20364 (ARGS4): Likewise.
20365 (RET1): Likewise.
20366 (RET2): Likewise.
20367 (CALC): Likewise.
20368 (FUNC): Likewise.
20369 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20370 (test_functions): Add lgamma.
20371 (calc_generic_results): Handle mpfr_f_f1.
20372 * sysdeps/i386/fpu/libm-test-ulps: Update.
20373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374
24eeafdb
AZ
203752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20376
20377 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20378 __mpn_add_n for PowerPC64/POWER7.
20379 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20380 __mpn_sub_n for PowerPC64/POWER7.
20381
4a2c0fd4
AZ
20382 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20383 __mpn_addmul_1 for PowerPC64.
20384 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20385 __mpn_submul_1 for PowerPC64.
20386 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20387 for PowerPC64.
20388 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20389 for PowerPC64.
20390
4b5b548c
FS
203912013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20392
20393 [BZ #15089]
20394 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20395
0a3ac0aa
AZ
203962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20397
20398 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20399
ccdc8438
AZ
20400 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20401 add multiarch folders.
20402 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20403 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20404 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20405 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20406 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20407 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20408 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20409 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20410 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20411 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20412 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20419
2e973d99
AZ
20420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20421 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20423 New file.
20424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20425 New file.
20426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20427 multiarch __ieee754_hypot for PowerPC32.
20428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20429 New file.
20430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20431 New file.
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20433 multiarch __ieee754_hypotf for PowerPC32.
20434
2d9470b2
AZ
20435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20436 long_double_symbol only if __logbl is defined.
20437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20438 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20440 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20442 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20444 path for implementation.
20445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20448 logb, and logbl multiarch implementations for PowerPC32.
20449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20450 file.
20451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20452 file.
20453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20454 multiarch logb for PowerPC32.
20455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20456 file.
20457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20458 file.
20459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20460 multiarch logbf for PowerPC32.
20461 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20463 file.
20464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20465 multiarch logbl implementation for PowerPC32.
20466
5212ffce
AZ
20467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20468 and modff multiarch implementations.
20469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20470 New file.
20471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20472 New file.
20473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20474 multiarch modf for PowerPC32.
20475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20476 New file.
20477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20478 New file.
20479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20480 multiarch modff for PowerPC32.
20481
79dccf31
AZ
20482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20483 and lrintf multiarch implementations.
20484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20485 New file.
20486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20487 New file.
20488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20489 multiarch lrint for PowerPC32.
20490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20491 file: multiarch lrintf for PowerPC32.
20492
deb66480
AZ
20493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20494 and lroundf multiarch implementations.
20495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20496 New file.
20497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20498 New file.
20499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20500 New file.
20501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20502 multiarch lround for PowerPC32.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20504 file: multiarch lroundf for PowerPC32.
20505
264b036b
AZ
20506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20507 copysign and copysignf multiarch implementations.
20508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20509 New file.
20510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20511 New file.
20512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20513 file: multiarch copysign for PowerPC32.
20514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20515 file: multiarch copysignf for PowerPC32.
20516
d47db6c9
AZ
20517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20518 and truncf multiarch implementations.
20519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20520 New file.
20521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20522 file.
20523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20524 multiarch trunc for PowerPC32.
20525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20526 New file.
20527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20528 New file.
20529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20530 multiarch truncf for PowerPC32.
20531
ddb60b5a
AZ
20532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20533 and roundf multiarch implementations.
20534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20535 New file.
20536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20537 file.
20538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20539 multiarch round for PowerPC32.
20540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20541 New file.
20542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20543 New file.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20545 multiarch roundf for PowerPC32.
20546
bedcf49b
AZ
20547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20548 and floorf multiarch implementations.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20550 New file.
20551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20552 file.
20553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20554 multiarch floor for PowerPC32.
20555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20556 New file.
20557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20558 New file.
20559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20560 multiarch floorf for PowerPC32.
20561
35ae5b40
AZ
20562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20563 and ceilf multiarch implementations.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20565 New file.
20566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20567 file.
20568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20569 multiarch ceil for PowerPC32.
20570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20571 New file.
20572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20573 file.
20574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20575 multiarch ceilf for PowerPC32.
20576
ae1a4cd9
AZ
20577 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20578 is defined.
20579 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20580 FINITEF is defined.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20582 and finitef multiarch implementations.
20583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20584 New file.
20585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20586 file.
20587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20588 multiarch finite for PowerPC32.
20589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20590 New file.
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20592 file: multiarch finitef for PowerPC32.
20593
64fffd65
AZ
20594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20595 and isinff multiarch implementations.
20596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20597 file.
20598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20599 file.
20600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20601 multiarch isinf for PowerPC32.
20602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20603 New file.
20604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20605 multiarch isinff for PowerPC32.
20606
8e4e7ba2
AZ
20607 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20608 alias when __isnan is defined.
20609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20610 and isnanf multiarch implementations.
20611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20612 file.
20613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20614 file.
20615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20616 file.
20617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20618 file.
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20620 multiarch isnan for PowerPC32.
20621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20622 New file.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20624 New file.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20626 multiarch isnanf for PowerPC32.
20627
ddba588e
AZ
20628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20629 and sqrtf multiarch implementations.
20630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20631 file.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20633 file.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20635 multiarch sqrt for PowerPC32.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20637 file.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20639 file.
20640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20641 multiarch sqrtf for PowerPC32.
20642
0f96a2f0
AZ
20643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20644 and llroundf multiarch implementations.
20645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20646 New file.
20647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20648 New file.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20650 New file.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20652 file: multiarch llround for PowerPC32.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20654 file: multiarch llroundf for PowerPC32.
20655
c9b5d79e
AZ
20656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20657 multiarch PowerPC32 fpu implementations.
20658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20659 New file.
20660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20661 New file.
20662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20663 multiarch llrint for PowerPC32.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20665 New file.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20667 New file.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20669 file.
20670
9cbb3aab
AZ
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20672
ea5a72f8
AZ
20673 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20674 file.
20675 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20676 file.
20677 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20678 file.
20679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20680 multiarch wordcopy for PPC32.
20681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20682 wordcopy objects.
20683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20684 (__libc_ifunc_impl_list): Likewise.
20685 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20686 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20687 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20688 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20689 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20690 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20691
93be09e7
AZ
20692 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20694 file.
20695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20696 file.
20697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20698 file.
20699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20700 multiarch wcscpy for PPC32.
20701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20702 multiarch objects.
20703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20704 (__libc_ifunc_impl_list): Likewise.
20705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20706 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20707 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20708 sysdeps/powerpc/power6/wcscpy.c.
20709
bb04e529
AZ
20710 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20712 file.
20713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20714 file.
20715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20716 file.
20717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20718 multiarch wcsrchr for PPC32.
20719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20720 multiarch objects.
20721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20722 (__libc_ifunc_impl_list): Likewise.
20723 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20724 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20725 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20726 sysdeps/powerpc/power6/wcsrchr.c.
20727
05b5cd1c
AZ
20728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20729 file.
20730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20731 file.
20732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20734 multiarch wcschr for PPc32.
20735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20736 multiarch objects.
20737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20738 (__libc_ifunc_impl_list): Likewise.
20739 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20740 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20741 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20742 sysdeps/powerpc/power6/wcschr.c.
20743
ba964147
AZ
20744 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20745 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20746 file.
20747 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20748 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20749 file: multiarch strchr for PPC32.
20750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20751 multiarch objects.
20752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20753 (__libc_ifunc_impl_list): Likewise.
20754
31c81aaa
AZ
20755 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20756 name.
20757 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20758 file.
20759 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20760 file.
20761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20762 multiarch strchrnul for PPC32.
20763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20764 multiarch objects.
20765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20766 (__libc_ifunc_impl_list): Likewise.
20767
0d0607d9
AZ
20768 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20769 file.
20770 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20771 multiarch strncasecmp for PPC32.
20772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20773 file.
20774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20775 multiarch strncasecmp_l for PPC32.
20776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20777 strncasecmp multiarch objects.
20778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20779 (__libc_ifunc_impl_list): Likewise.
20780
4dfd5c86
AZ
20781 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20782 file.
20783 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20784 multiarch strncasecmp for PPC32.
20785 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20786 New file.
20787 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20788 multiarch strcasecmp_l for PPC32.
20789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20790 multiarch objects.
20791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20792 (__libc_ifunc_impl_list): Likewise.
20793
a19e01a3
AZ
20794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20795 file.
20796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20797 file.
20798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20799 multiarch strncmp for PPC32.
20800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20801 multiarch objects.
20802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20803 (__libc_ifunc_impl_list): Likewise.
20804
ae9cf7a2
AZ
20805 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20806 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20807 file.
20808 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20809 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20811 multiarch objects.
20812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20813 (__libc_ifunc_impl_list): Likewise.
20814
3148bb7d
AZ
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20816 file.
20817 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20818 file.
20819 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20821 multiarch objects.
20822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20823 (__libc_ifunc_impl_list): Likewise.
20824
7af8b946
AZ
20825 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20826 file.
20827 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20828 file.
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20830 multiarch rawmemchr for PPC32.
20831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20832 multiarch objects.
20833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20834 (__libc_ifunc_impl_list): Likewise.
20835
03a6aa6a
AZ
20836 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20837 file.
20838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20839 file.
20840 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20841 file: memrchr multiarch for PPC32.
20842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20843 multiarch objects.
20844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20845 (__libc_ifunc_impl_list): Likewise.
20846
1c62e6d9
AZ
20847 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20849 file.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20851 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20852 multiarch memchr for PPC32.
20853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20854 multiarch objects.
20855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20856 (__libc_ifunc_impl_list): Likewise.
20857
87da8bdb
AZ
20858 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20860 file.
20861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20862 file.
20863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20864 file: multiarch mempcpy for PPC32.
20865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20866 multiarch objects.
20867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20868 (__libc_ifunc_impl_list): Likewise.
20869
20ed4714
AZ
20870 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20874 multiarch bzero for PPC32.
20875 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20876 file.
20877 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20878 file.
20879 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20880 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20881 file: multiarch memset for PPC32.
20882 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20884 memset multiarch objects.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20886 (__libc_ifunc_impl_list): Likewise.
20887
ab3e3a46
AZ
20888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20889 file.
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20892 memcmp for PPC32.
20893 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20895 multiarch objects.
20896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20897 (__libc_ifunc_impl_list): Likewise.
20898
930de6f0
AZ
20899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20902 file.
20903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20904 file.
20905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20906 file.
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20908 multiarch memcpy for PPC32.
20909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20910 multiarch objects.
20911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20912 (__libc_ifunc_impl_list): Likewise.
20913
4c628e00
AZ
20914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20915 support multiarch for POWER/PPC32.
20916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20917 Likewise.
20918 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20920 Implies file to make multiarch folder appers before the fpu and
20921 default folder for power4 configuration.
20922
f4479220
SP
209232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20924
20925 * scripts/bench.pl: Append volatile keyword to type.
20926
8517800f
KK
209272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20928
20929 * sysdeps/sh/sotruss-lib.c: New file.
20930 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20931
180138f1
AZ
209322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20933
20934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20935
bbf37bdc
JM
209362013-12-05 Joseph Myers <joseph@codesourcery.com>
20937
e47cc4e0
JM
20938 [BZ #6810]
20939 * math/w_tgamma.c: Include <errno.h>.
20940 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20941 * math/w_tgammaf.c: Include <errno.h>.
20942 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20943 * math/w_tgammal.c: Include <errno.h>.
20944 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20945 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20946 underflow. Add more tgamma tests.
20947 * math/auto-libm-test-out: Regenerated.
20948 * sysdeps/i386/fpu/libm-test-ulps: Update.
20949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20950
bbf37bdc
JM
20951 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20952 sin, sinh, tan, tanh, tgamma, y0 and y1.
20953 * math/auto-libm-test-out: Regenerated.
20954 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20955 (TEST_COND_x86): Likewise.
20956 (M_E2l): Remove macro.
20957 (M_E3l): Likewise.
20958 (M_2_SQRT_PIl): Likewise.
20959 (M_SQRT_PIl): Likewise.
20960 (M_1_DIV_El): Likewise.
20961 (log_test_data): Use AUTO_TESTS_f_f.
20962 (log10_test_data): Likewise.
20963 (log1p_test_data): Likewise.
20964 (log2_test_data): Likewise.
20965 (sin_test_data): Likewise.
20966 (sin_tonearest_test_data): Likewise.
20967 (sin_towardzero_test_data): Likewise.
20968 (sin_downward_test_data): Likewise.
20969 (sin_upward_test_data): Likewise.
20970 (sinh_test_data): Likewise.
20971 (sinh_tonearest_test_data): Likewise.
20972 (sinh_towardzero_test_data): Likewise.
20973 (sinh_downward_test_data): Likewise.
20974 (sinh_upward_test_data): Likewise.
20975 (tan_test_data): Likewise.
20976 (tan_tonearest_test_data): Likewise.
20977 (tan_towardzero_test_data): Likewise.
20978 (tan_downward_test_data): Likewise.
20979 (tan_upward_test_data): Likewise.
20980 (tanh_test_data): Likewise.
20981 (tgamma_test_data): Likewise.
20982 (y0_test_data): Likewise.
20983 (y1_test_data): Likewise.
20984 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20985 (special_real_inputs): Add pi/4.
20986 * sysdeps/i386/fpu/libm-test-ulps: Update.
20987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20988
eb5ad6b9
AZ
209892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20990
20991 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20992 "longjmp_target" static probes.
20993 (__longjmp): Rename to __longjmp_symbol.
20994 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20995 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20996 on which longjmp to generate.
20997 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20998 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20999 probe.
21000 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21001 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21002 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21003 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21004 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21005 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21007 __longjmp_symbol based on which __longjmp to generate.
21008 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21009 probe.
21010 (setjmp): Rename to setjmp_symbol.
21011 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21012 (_setjmp): Rename to _setjmp_symbol.
21013 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21014 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21015 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21016 which setjmp to generate.
21017 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21018 "longjmp_target" static probes.
21019
d136c6dc
SP
210202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21021
9298ecba
SP
21022 * benchtests/README: Add note about output arguments.
21023 * benchtests/bench-sincos.c: Remove file.
21024 * benchtests/sincos-inputs: New file.
21025 * scripts/bench.pl: Identify output arguments and define
21026 static variables for them.
21027
232983e9
SP
21028 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21029
d136c6dc
SP
21030 [BZ #15941]
21031 * Makefile (INSTALL): Add install-plain.texi as the primary
21032 dependency.
21033 * manual/install-plain.texi: New file.
21034 * manual/install.texi: Include node directive only for
21035 non-plaintext output.
21036
699ff837
JM
210372013-12-04 Joseph Myers <joseph@codesourcery.com>
21038
ab07cea8
JM
21039 * stdlib/longlong.h: Update from GCC.
21040
699ff837
JM
21041 [BZ #6807]
21042 [BZ #15901]
21043 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21044 * math/w_j0f.c (y0f): Likewise.
21045 * math/w_j0l.c (__y0l): Likewise.
21046 * math/w_j1.c (y1): Likewise.
21047 * math/w_j1f.c (y1f): Likewise.
21048 * math/w_j1l.c (__y1l): Likewise
21049 * math/w_jn.c (yn): Likewise.
21050 * math/w_jnf.c (ynf): Likewise.
21051 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21052 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21053 value for Bessel function domain errors outside _SVID_ mode.
21054 Adjust sign of return value for yn (negative integer, 0).
21055 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21056 by zero in return for negative x and set sign appropriately for
21057 negative n.
21058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21059 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21060 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21061 expectations in error cases.
21062 (y1_test_data): Likewise.
21063 (yn_test_data): Likewise.
21064 * sysdeps/i386/fpu/libm-test-ulps: Update.
21065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21066
5b118558
UW
210672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21068
21069 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21070 "64" to "64-v1". Add "64-v2".
21071 (abi-64-options): Rename to ...
21072 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21073 (abi-64-condition): Rename to ...
21074 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21075 (abi-64-ld-soname): Rename to ...
21076 (abi-64-v1-ld-soname): ... this.
21077 (abi-64-v2-options): Define.
21078 (abi-64-v2-condition): Likewise.
21079 (abi-64-v2-ld-soname): Likewise.
21080 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21081 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21085
61cd8fe4
UW
210862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21087 Alan Modra <amodra@gmail.com>
21088
21089 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21090 New versions for use with the ELFv2 ABI.
21091 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21092 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21093 declaration.
21094 (struct La_ppc64v2_retval): Likewise.
21095 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21096 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21097 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21098 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21099 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21100 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21101 Do not save or restore CR.
21102 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21103 (_dl_profile_resolve): Do no save or restore CR. Support extended
21104 return values for ELFv2 ABI. Fix location of FPR return registers.
21105 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21106 updated values for _CALL_ELF == 2.
21107 (La_regs, La_retval, int_retval): Likewise.
21108
8b8a692c
UW
211092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21110
21111 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21112 (FRAME_MIN_SIZE_PARM): Likewise.
21113 (FRAME_BACKCHAIN): Likewise.
21114 (FRAME_CR_SAVE): Likewise.
21115 (FRAME_LR_SAVE): Likewise.
21116 (FRAME_TOC_SAVE): Likewise.
21117 (FRAME_PARM_SAVE): Likewise.
21118 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21119 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21120 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21121 (call_mcount_parm_offset): New macro.
21122 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21123 (PROF): Use symbolic stack frame offsets.
21124 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21125 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21126 Redefine in terms of FRAME_MIN_SIZE.
21127 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21128 (_dl_profile_resolve): Likewise. Update comment.
21129 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21130 symbols stack frame offsets.
21131 (__sigsetjmp): Likewise.
21132 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21133 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21134 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21135 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21136
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21138 (FRAME_BACKCHAIN): Remove.
21139 (FRAME_CR_SAVE): Likewise.
21140 (FRAME_LR_SAVE): Likewise.
21141 (FRAME_COMPILER_DW): Likewise.
21142 (FRAME_LINKER_DW): Likewise.
21143 (FRAME_TOC_SAVE): Likewise.
21144 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21145 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21146 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21147 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21149 (CHECK_SP): Use symbolic stack frame offsets.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21151 zone" instead of caller's parameter save area for temp storage.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21153 Likewise. Also, use symbolic stack frame offsets.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21155 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21156 our own stack frame instead of the caller's.
21157 (__socket): Use symbolic stack frame offsets.
21158
122b66de
UW
211592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21160 Alan Modra <amodra@gmail.com>
21161
21162 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21163 Define.
57f41c40
AS
21164 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21165 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21166 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21167 New function.
21168 (elf_machine_fixup_plt): Call it.
21169 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21170 reloc arguments.
21171 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21172 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21173 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21174 r2 before calling target.
21175
696caf1d
UW
211762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21177 Alan Modra <amodra@gmail.com>
21178
21179 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21180 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21181 versions of macros to support ELFv2 ABI.
21182 (LOCALENTRY): New macro.
21183 (ENTRY, EALIGN): Use it.
21184 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21185 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21186 fall through into ENTRY entry point.
21187 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21188 Only define if _CALL_ELF != 2.
21189
21190 (elf_machine_matches_host): Verify ABI version matches.
21191 (RTLD_START): Use LOCALENTRY.
21192 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21193 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21194 (PLT_ENTRY_WORDS): New macro.
21195 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21196 (elf_machine_runtime_setup): Support ELFv2 ABI.
21197 (elf_machine_fixup_plt): Likewise.
21198 (elf_machine_plt_conflict): Likewise.
21199 (resolve_ifunc): Likewise.
21200 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21202 Likewise.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21204 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21206 (makecontext): Support ELFv2 ABI.
21207 * elf/elf.h (EF_PPC64_ABI): Define.
21208
d31beafa
UW
212092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21210
57f41c40
AS
21211 * sysdeps/powerpc/powerpc64/sysdep.h
21212 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21213 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21214 (ENTRY) [ASSEMBLER]: ... but instead here ...
21215 (EALIGN) [ASSEMBLER]: ... and here.
21216 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21217 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21218 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21219 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21220 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21222 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21223 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21225 Use PPC64_LOAD_FUNCPTR.
21226
b525166b
UW
21227 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21228
7ec07d9a
AM
212292013-12-04 Alan Modra <amodra@gmail.com>
21230
21231 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21232 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21233 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21234 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21235
21236 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21237 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21238 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21239 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21240 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21241 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21242
5162e7dd
UW
212432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21244
21245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21246 (__makecontext): Fix incorrect CFI when backtracing out of
21247 context created via makecontext.
21248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21249 (__setcontext): Fix incorrect CFI during switch to new context.
21250 (__novec_setcontext): Likewise.
21251
19e3372b
OB
212522013-12-04 Ondřej Bílka <neleai@seznam.cz>
21253
21254 [BZ #4772]
21255 * time/strptime_l.c (__strptime_internal): Allow modifiers
21256 in strptime.
21257 * time/tst-strptime.c (day_tests): Add testcase.
21258
ecaf142d
SP
212592013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21260
21261 * scripts/bench.pl: Skip over blank lines.
21262
fbf964ae
PE
212632013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21264
21265 [BZ #926]
21266 * manual/time.texi (Calendar Time): Clarify what timezone functions
21267 use.
21268
fa60a674
AZ
212692013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21270
21271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21272
d674f0ef
OB
212732013-12-04 Ondřej Bílka <neleai@seznam.cz>
21274
21275 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21276 implementation.
21277 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21278 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21279 * debug/memset_chk.c (__memset_chk): Likewise.
21280 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21281 * debug/strncpy_chk.c: Likewise.
21282
17dea188
JM
212832013-12-03 Joseph Myers <joseph@codesourcery.com>
21284
749008ff
JM
21285 [BZ #15268]
21286 [BZ #15425]
21287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21288 (__ieee754_exp): For possibly underflowing results, check size of
21289 result and force underflow exception if required.
21290 * math/auto-libm-test-in: Add more tests of exp.
21291 * math/auto-libm-test-out: Regenerated.
21292 * sysdeps/i386/fpu/libm-test-ulps: Update.
21293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21294
17dea188
JM
21295 [BZ #16283]
21296 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21297 * math/w_exp2f.c (__exp2f): Likewise.
21298 * math/w_exp2l.c (__exp2l): Likewise.
21299 * math/auto-libm-test-in: Do not allow missing errno on exp2
21300 underflow.
21301 * math/auto-libm-test-out: Regenerated.
21302
b20de2c3
OB
213032013-12-03 Ondřej Bílka <neleai@seznam.cz>
21304
21305 [BZ #16274]
21306 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21307 handle filename validation.
21308 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21309 (do_open): Delete.
21310
d8e2dbe3
JM
213112013-12-03 Joseph Myers <joseph@codesourcery.com>
21312
34e16df5
JM
21313 [BZ #6786]
21314 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21315 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21316 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21317 <float.h>.
21318 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21320 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21322 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21324 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21325 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21326 Add more erfc tests.
21327 * math/auto-libm-test-out: Regenerated.
21328 * sysdeps/i386/fpu/libm-test-ulps: Update.
21329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21330
d8e2dbe3
JM
21331 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21332 exp2, expm1, j0 and j1.
21333 * math/auto-libm-test-out: Regenerated.
21334 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21335 (erfc_test_data): Likewise.
21336 (exp_test_data): Likewise.
21337 (exp_tonearest_test_data): Likewise.
21338 (exp_towardzero_test_data): Likewise.
21339 (exp_downward_test_data): Likewise.
21340 (exp_upward_test_data): Likewise.
21341 (exp10_test_data): Likewise.
21342 (exp2_test_data): Likewise.
21343 (expm1_test_data): Likewise.
21344 (j0_test_data): Likewise.
21345 (j1_test_data): Likewise.
21346 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21347 (input_flag_type): Add flag_xfail_rounding.
21348 (input_flags): Add xfail-rounding.
21349 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21350 (output_for_one_input_case): Handle flag_xfail_rounding.
21351 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21353
18d14251
AJ
213542013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21355
3d2e6075 21356 [BZ #16289]
18d14251
AJ
21357 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21358 division by 0.
21359
520d437b
SP
213602013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21361
21362 [BZ #16195]
21363 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21364 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21365 (STAP_PROBE0): New macro.
21366 (STAP_PROBE1): Likewise.
21367 (STAP_PROBE2): Likewise.
21368 (STAP_PROBE3): Likewise.
21369 (STAP_PROBE4): Likewise.
21370
416e0145
OB
213712013-12-02 Ondřej Bílka <neleai@seznam.cz>
21372
21373 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21374
9d17796a
SE
213752013-12-02 Steve Ellcey <sellcey@mips.com>
21376
21377 * benchtests/Makefile (bench): Add sqrt.
21378 (LDLIBS-bench-sqrt): New.
21379 * benchtests/sqrt-input: New.
21380
f524d6a8
PS
213812013-12-02 Pavel Simerda <psimerda@redhat.com>
21382
639a0ef8
PS
21383 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21384 (GAIH_EAI): Likewise.
21385 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21386 (gaih_inet): Likewise.
21387 (getaddrinfo): Don't use GAIH_EAI.
21388
f524d6a8
PS
21389 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21390 (struct gaih): Remove definition.
21391
df3aedaf
SP
213922013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21393
21394 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21395 Use HERRNOP directly.
21396
1ab19dec
AZ
213972013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21398
b42ad38d 21399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21400
176b0c79
JM
214012013-11-30 Joseph Myers <joseph@codesourcery.com>
21402
21403 * math/gen-auto-libm-tests.c (test_functions): Add more
21404 single-argument functions.
21405 (special_fill_pi_2): New function.
21406 (special_fill_minus_pi_2): Likewise.
21407 (special_fill_pi_6): Likewise.
21408 (special_fill_minus_pi_6): Likewise.
21409 (special_fill_pi_3): Likewise.
21410 (special_fill_2pi_3): Likewise.
21411 (special_fill_e): Likewise.
21412 (special_fill_1_e): Likewise.
21413 (special_fill_e_minus_1): Likewise.
21414 (special_real_inputs): Add more special inputs.
21415 (output_for_one_input_case): Do not require ERANGE on underflow to
21416 zero if round-to-nearest result does not underflow to zero, unless
21417 exact results required.
21418 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21419 atan, atanh, cbrt, cos and cosh.
21420 * math/auto-libm-test-out: Regenerated.
21421 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21422 (acos_tonearest_test_data): Likewise.
21423 (acos_towardzero_test_data): Likewise.
21424 (acos_downward_test_data): Likewise.
21425 (acos_upward_test_data): Likewise.
21426 (acosh_test_data): Likewise.
21427 (asin_test_data): Likewise.
21428 (asin_tonearest_test_data): Likewise.
21429 (asin_towardzero_test_data): Likewise.
21430 (asin_upward_test_data): Likewise.
21431 (asinh_test_data): Likewise.
21432 (atan_test_data): Likewise.
21433 (atanh_test_data): Likewise.
21434 (cbrt_test_data): Likewise.
21435 (cos_test_data): Likewise.
21436 (cos_tonearest_test_data): Likewise.
21437 (cos_towardzero_test_data): Likewise.
21438 (cos_downward_test_data): Likewise.
21439 (cos_upward_test_data): Likewise.
21440 (cosh_test_data): Likewise.
21441 (cosh_tonearest_test_data): Likewise.
21442 (cosh_towardzero_test_data): Likewise.
21443 (cosh_downward_test_data): Likewise.
21444 (cosh_upward_test_data): Likewise.
21445 * sysdeps/i386/fpu/libm-test-ulps: Update.
21446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21447
ffb536d0
JM
214482013-11-29 Joseph Myers <joseph@codesourcery.com>
21449
2a77a467
JM
21450 [BZ #6787]
21451 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21452 * math/w_exp10f.c (__exp10f): Likewise.
21453 * math/w_exp10l.c (__exp10l): Likewise.
21454 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21455 errno settings in existing tests.
21456
ea3bc4e8
JM
21457 [BZ #14032]
21458 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21459 precision control set to double precision.
21460 * sysdeps/i386/fpu/w_sqrt.c: New file.
21461 * math/auto-libm-test-in: Add more tests.
21462 * math/auto-libm-test-out: Update.
21463
0712c9d8
JM
21464 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21465 (sqrt_test_tonearest): New function.
21466 (sqrt_towardzero_test_data): New variable.
21467 (sqrt_test_towardzero): New function.
21468 (sqrt_downward_test_data): New variable.
21469 (sqrt_test_downward): New function.
21470 (sqrt_upward_test_data): New variable.
21471 (sqrt_test_upward): New function.
21472 (main): Call the new functions.
21473
ffb536d0
JM
21474 * math/gen-auto-libm-tests.c: New file.
21475 * math/auto-libm-test-in: Likewise.
21476 * math/auto-libm-test-out: New generated file.
21477 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21478 variables.
21479 (%beautify): Add generated representations of zero.
21480 (top level): Set $auto_input and call parse_auto_input.
21481 (beautify): Remove trailing "f" from hex float constants.
21482 (parse_args): Handle XFAIL_TEST.
21483 (convert_condition): New function.
21484 (or_value): Likewise.
21485 (or_cond_value): Likewise.
21486 (generate_testfile): Handle AUTO_TESTS_* lines.
21487 (parse_auto_input): New function.
21488 * math/libm-test.inc (XFAIL_TEST): New macro.
21489 (ERRNO_UNCHANGED): Update value.
21490 (ERRNO_EDOM): Likewise.
21491 (ERRNO_ERANGE): Likewise.
21492 (IGNORE_RESULT): Likewise.
21493 (TEST_COND_flt_32): New macro.
21494 (TEST_COND_dbl_64): Likewise.
21495 (TEST_COND_ldbl_96_intel): Likewise.
21496 (TEST_COND_ldbl_96_m68k): Likewise.
21497 (TEST_COND_ldbl_128): Likewise.
21498 (TEST_COND_ldbl_128ibm): Likewise.
21499 (TEST_COND_long32): Likewise.
21500 (TEST_COND_long64): Likewise.
21501 (TEST_COND_before_rounding): Likewise.
21502 (TEST_COND_after_rounding): Likewise.
21503 (enable_test): Handle XFAIL_TEST flag.
21504 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21505 with finite results.
21506 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21507 auto-libm-test-out.
21508
acd98a8e
AK
215092013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21510 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21511
21512 [BZ #16214]
21513 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21514 __tls_get_addr_internal instead of __tls_get_offset in order to
21515 avoid GOT pointer dependency. Make rtld export
21516 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21517 __tls_get_addr since we are a __tls_get_offset platform.
21518 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21519 GOT pointer being set up before.
21520 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21521
3c1c46a6
JM
215222013-11-28 Joseph Myers <joseph@codesourcery.com>
21523
7475aef5
JM
21524 * manual/math.texi (Errors in Math Functions): Document accuracy
21525 goals.
21526
8bca7cd8
JM
21527 [BZ #15004]
21528 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21529 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21532 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21534 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21544
91a1f3fe
JM
21545 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21546 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21547 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21548 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21549 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21550 Likewise.
21551 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21552 Likewise.
21553 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21554 Likewise.
21555 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21556 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21557 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21558 atomic-feupdateenv and flt-rounds.
21559 * sysdeps/powerpc/nofpu/Versions (libc): Add
21560 __atomic_feholdexcept, __atomic_feclearexcept,
21561 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21562 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21563 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21564 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21565 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21566 here.
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21568 Update.
21569
c5df7609
JM
21570 * manual/arith.texi (FP Exceptions): Document that exceptions may
21571 not be raised when matherr is used.
21572 (Math Error Reporting): Document overflow in directed rounding
21573 modes. Document that errno may not be set when finite values are
21574 returned on overflow. Document intent to set errno on underflow
21575 only for underflow to zero.
21576
3c1c46a6
JM
21577 [BZ #16271]
21578 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21579 round-to-nearest then adjust result for other rounding modes.
21580 * include/fenv.h (fegetround): Use libm_hidden_proto.
21581 * math/fegetround.c (fegetround): Use libm_hidden_def.
21582 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21583 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21584 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21586 Likewise.
21587 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21588 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21589 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21590 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21591
5a4c6d53
SP
215922013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21593
21594 [BZ #16077]
21595 * nss/Versions (libnss_files): Add
21596 _nss_files_gethostbyname3_r.
21597 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21598 New function.
21599 (HOST_DB_LOOKUP): Remove macro.
21600 (_nss_files_gethostbyname_r): Implement function without the
21601 HOST_DB_LOOKUP macro.
21602 (_nss_files_gethostbyname2_r): Likewise.
21603
897b98ba
OB
216042013-11-28 Ondřej Bílka <neleai@seznam.cz>
21605
21606 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21607
6f476861
UB
216082013-11-26 Uros Bizjak <ubizjak@gmail.com>
21609
21610 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21611 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21612 warning.
21613
bd12ab55
AZ
216142013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21615
21616 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21617 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21618 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21619 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21620 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21621 __fe_nomask_env_priv and attribute_hidden.
21622 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21623 (libc_feupdateenv_test_ppc): Likewise.
21624 (libc_feresetround_ppc): Likewise.
21625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21626 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21627 compat_symbol macro.
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21629 (__fe_nomask_env): Likewise.
21630 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21631
52bb6543
OB
216322013-11-26 Ondřej Bílka <neleai@seznam.cz>
21633
21634 * string/Makefile: Remove ifunc tests.
21635 * string/test-string.h: Define TEST_IFUNC.
21636 * string/test-bcopy-ifunc.c: Remove.
21637 * string/test-bzero-ifunc.c: Likewise.
21638 * string/test-memccpy-ifunc.c: Likewise.
21639 * string/test-memchr-ifunc.c: Likewise.
21640 * string/test-memcmp-ifunc.c: Likewise.
21641 * string/test-memcpy-ifunc.c: Likewise.
21642 * string/test-memmem-ifunc.c: Likewise.
21643 * string/test-memmove-ifunc.c: Likewise.
21644 * string/test-mempcpy-ifunc.c: Likewise.
21645 * string/test-memrchr-ifunc.c: Likewise.
21646 * string/test-memset-ifunc.c: Likewise.
21647 * string/test-rawmemchr-ifunc.c: Likewise.
21648 * string/test-stpcpy-ifunc.c: Likewise.
21649 * string/test-stpncpy-ifunc.c: Likewise.
21650 * string/test-strcasecmp-ifunc.c: Likewise.
21651 * string/test-strcasestr-ifunc.c: Likewise.
21652 * string/test-strcat-ifunc.c: Likewise.
21653 * string/test-strchr-ifunc.c: Likewise.
21654 * string/test-strchrnul-ifunc.c: Likewise.
21655 * string/test-strcmp-ifunc.c: Likewise.
21656 * string/test-strcpy-ifunc.c: Likewise.
21657 * string/test-strcspn-ifunc.c: Likewise.
21658 * string/test-strlen-ifunc.c: Likewise.
21659 * string/test-strncasecmp-ifunc.c: Likewise.
21660 * string/test-strncat-ifunc.c: Likewise.
21661 * string/test-strncmp-ifunc.c: Likewise.
21662 * string/test-strncpy-ifunc.c: Likewise.
21663 * string/test-strnlen-ifunc.c: Likewise.
21664 * string/test-strpbrk-ifunc.c: Likewise.
21665 * string/test-strrchr-ifunc.c: Likewise.
21666 * string/test-strspn-ifunc.c: Likewise.
21667 * string/test-strstr-ifunc.c: Likewise.
21668
ab260039 216692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21670
21671 * benchtests/Makefile: Remove ifunc tests.
21672 * benchtests/bench-string.h: Define TEST_IFUNC.
21673 * benchtests/bench-bcopy-ifunc.c: Remove.
21674 * benchtests/bench-bzero-ifunc.c: Likewise.
21675 * benchtests/bench-memccpy-ifunc.c: Likewise.
21676 * benchtests/bench-memchr-ifunc.c: Likewise.
21677 * benchtests/bench-memcmp-ifunc.c: Likewise.
21678 * benchtests/bench-memcpy-ifunc.c: Likewise.
21679 * benchtests/bench-memmem-ifunc.c: Likewise.
21680 * benchtests/bench-memmove-ifunc.c: Likewise.
21681 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21682 * benchtests/bench-memrchr-ifunc.c: Likewise.
21683 * benchtests/bench-memset-ifunc.c: Likewise.
21684 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21685 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21686 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21687 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21688 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21689 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21690 * benchtests/bench-strcat-ifunc.c: Likewise.
21691 * benchtests/bench-strchr-ifunc.c: Likewise.
21692 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21693 * benchtests/bench-strcmp-ifunc.c: Likewise.
21694 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21695 * benchtests/bench-strcpy-ifunc.c: Likewise.
21696 * benchtests/bench-strcspn-ifunc.c: Likewise.
21697 * benchtests/bench-strlen-ifunc.c: Likewise.
21698 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21699 * benchtests/bench-strncat-ifunc.c: Likewise.
21700 * benchtests/bench-strncmp-ifunc.c: Likewise.
21701 * benchtests/bench-strncpy-ifunc.c: Likewise.
21702 * benchtests/bench-strnlen-ifunc.c: Likewise.
21703 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21704 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21705 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21706 * benchtests/bench-strspn-ifunc.c: Likewise.
21707 * benchtests/bench-strstr-ifunc.c: Likewise.
21708
217092013-11-26 Ondřej Bílka <neleai@seznam.cz>
21710
ab260039
OB
21711 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21712
d1d9eaf4 217132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21714
d1d9eaf4
OB
21715 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21716 * rt/aio.h: Likewise.
21717 * sysdeps/gnu/bits/utmp.h: Likewise.
21718 * sysdeps/gnu/bits/utmpx.h: Likewise.
21719 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21720 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21721 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21722 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21723 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21724 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21725 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21726 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21727 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21728 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21729 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21730 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21731 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21733 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21734 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21735 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21736 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21737 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21738 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21739 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21740 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21741 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21742 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21743 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21745 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21746 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21747 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21748 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21749 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21750 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21751 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21753 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21754 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21755 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21756 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21757 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21758 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21759 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21760 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21761
a7624ed9
CD
217622013-11-25 Carlos O'Donell <carlos@redhat.com>
21763
21764 [BZ #16245]
21765 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21766 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21767
63cfe52b
JM
217682013-11-25 Joseph Myers <joseph@codesourcery.com>
21769
21770 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21771 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21772 Likewise.
21773
41e8926a
AZ
217742013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21775
21776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21777 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21778 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21779 (__fesetround): Remove define.
21780 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21781 rounding and exceptions handling.
21782 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21783 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21784 (__fe_nomask_env): Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21786 __fegetround instead of fegetround.
21787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21789
6851bd4d
RM
217902013-11-21 Roland McGrath <roland@hack.frob.com>
21791
070906ff
RM
21792 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21793 it's there.
21794
6851bd4d
RM
21795 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21796
84ae135d
MI
217972013-11-21 Meador Inge <meadori@codesourcery.com>
21798
21799 [BZ #11157]
21800 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21801 (encrypt_r): Likewise.
21802 * malloc/obstack.h (obstack_free): Likewise.
21803 * posix/unistd.h (encrypt): Likewise.
21804
daf75146
GM
218052013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21806
21807 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21808 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21809 DL_CALL_DT_FINI() that call the functions directly.
21810 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21811 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21812 * elf/dl-fini.c: Likewise.
21813
10ad46bc
OB
218142013-11-20 Ondřej Bílka <neleai@seznam.cz>
21815
21816 * malloc/hooks.c (memalign_check): Add alignment rounding.
21817 * malloc/malloc.c (_mid_memalign): New function.
21818 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21819 Implement by calling _mid_memalign.
21820 * manual/probes.texi (Memory Allocation Probes): Remove
21821 memory_valloc_retry and memory_pvalloc_retry.
21822
f3fd2628
SP
218232013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21824
4712799f
SP
21825 * locale/programs/locarchive.c (open_archive): Add const
21826 qualifier to ARCHIVEFNAME and copy default fname to
21827 DEFAULT_FNAME.
21828
0417b20f
SP
21829 [BZ #15601]
21830 * libio/tst-widetext.input: Rename Oriya to Odia.
21831 * locale/iso-639.def: Likewise.
21832
f3fd2628
SP
21833 * manual/probes.texi (Mathematical Function Probes): Add
21834 documentation for sin, cos, asin and acos probes.
21835 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21836 (__sin32): Add slowasin probe.
21837 (__cos32): Add slowacos probe.
21838 (__mpsin): Add slowsin probe.
21839 (__mpcos): Add slowcos probe.
21840
73c1ce4f
JM
218412013-11-19 Joseph Myers <joseph@codesourcery.com>
21842
21843 [BZ #15483]
21844 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21845 thread-local __sim_exceptions_thread and global
21846 __sim_exceptions_global.
21847 (__sim_disabled_exceptions): Change to thread-local
21848 __sim_disabled_exceptions_thread and global
21849 __sim_disabled_exceptions_global.
21850 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21851 and global __sim_round_mode_global.
21852 (__simulate_exceptions): Use thread-local floating-point state and
21853 set global state from it as needed.
21854 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21855 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21856 __sim_round_mode_thread.
21857 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21858 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21859 and global __sim_exceptions_global.
21860 (__sim_disabled_exceptions): Change to thread-local
21861 __sim_disabled_exceptions_thread and global
21862 __sim_disabled_exceptions_global.
21863 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21864 and global __sim_round_mode_global.
21865 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21866 (SIM_SET_GLOBAL): Likewise.
21867 * sysdeps/powerpc/soft-fp/sfp-machine.h
21868 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21869 __sim_round_mode_thread.
21870 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21871 __sim_disabled_exceptions_thread.
21872 (__sim_exceptions): Change to __sim_exceptions_thread.
21873 (__sim_disabled_exceptions): Change to
21874 __sim_disabled_exceptions_thread.
21875 (__sim_round_mode): Change to __sim_round_mode_thread.
21876 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21877 thread-local floating-point state and set global state from it as
21878 needed.
21879 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21880 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21881 (__sim_disabled_exceptions): Remove extern declaration.
21882 (feenableexcept): Use thread-local floating-point state and set
21883 global state from it as needed.
21884 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21885 extern declaration.
21886 (__sim_disabled_exceptions): Likewise.
21887 (__sim_round_mode): Likewise.
21888 (__fegetenv): Use thread-local floating-point state.
21889 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21890 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21891 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21892 floating-point state and set global state from it as needed.
21893 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21894 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21895 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21896 Likewise.
21897 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21898 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21899 Likewise.
21900 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21901 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21902 Use __sim_round_mode_thread.
21903 * math/test-fenv-tls.c: New file.
21904 * math/Makefile (tests): Add test-fenv-tls.
21905 ($(objpfx)test-fenv-tls): Depend on
21906 $(common-objpfx)nptl/libpthread.so.
21907
b5449b12
AS
219082013-11-19 Andreas Schwab <schwab@suse.de>
21909
21910 * locale/programs/locale.c (show_info): Decode wordarray elements.
21911 * locale/categories.def (LC_MONETARY): Add element for
21912 _NL_MONETARY_CRNCYSTR.
21913 * locale/C-monetary.c (conversion_rate): New variable.
21914 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21915 element.
21916
e186536b
CM
219172013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21918
21919 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21920 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21921
5c349950
PP
219222013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21923
21924 * elf/Makefile (tst-auxv): New test.
21925 * elf/tst-auxv.c: New
21926 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21927
699df45b
JM
219282013-11-18 Joseph Myers <joseph@codesourcery.com>
21929
21930 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21931 (hidden_proto): Caller changed.
21932 (hidden_tls_proto): New macro.
21933 (libc_hidden_tls_proto): Likewise.
21934 (rtld_hidden_tls_proto): Likewise.
21935 (libm_hidden_tls_proto): Likewise.
21936 (libresolv_hidden_tls_proto): Likewise.
21937 (librt_hidden_tls_proto): Likewise.
21938 (libdl_hidden_tls_proto): Likewise.
21939 (libnss_files_hidden_tls_proto): Likewise.
21940 (libnsl_hidden_tls_proto): Likewise.
21941 (libnss_nisplus_hidden_tls_proto): Likewise.
21942 (libutil_hidden_tls_proto): Likewise.
21943
b7589107
OB
219442013-11-18 Ondřej Bílka <neleai@seznam.cz>
21945
21946 [BZ #10253]
21947 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21948 (decompose_rpath): Defer expansion to fillin_rpath.
21949 (_dl_init_paths): Pass linkmap to fillin_rpath.
21950
250c23bd
RS
219512013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21952
21953 * benchtests/Makefile: Add strsep.
21954 * benchtests/bench-strsep.c: New file: strsep benchtest.
21955 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21956
a7931fcf
AS
219572013-11-18 Andreas Schwab <schwab@suse.de>
21958
21959 * locale/programs/locale.c (show_info) [case byte]: Check for
21960 '\377' instead of '\177'.
21961 * locale/C-monetary.c (not_available): Always use "\377".
21962 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21963 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21964 detect unavailable sign_posn locale elements.
21965 * locale/localeconv.c (__localeconv): For grouping and
21966 mon_grouping handle "\177" and "\377" like no grouping.
21967 (INT_ELEM): New macro. Use it to set all numeric members.
21968 * locale/programs/ld-monetary.c (monetary_read)
21969 <tok_mon_grouping>: Normalize single -1 to the empty string.
21970 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21971 Likewise.
21972
728dab0e
OB
219732013-11-07 Ondřej Bílka <neleai@seznam.cz>
21974
21975 [BZ #16055]
21976 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21977 when we match (nil).
21978 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21979
66294491
JM
219802013-11-16 Joseph Myers <joseph@codesourcery.com>
21981
ce665817
JM
21982 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21983 (NO_TEST_INLINE): Update value.
21984 (ERRNO_UNCHANGED): Likewise.
21985 (ERRNO_EDOM): Likewise.
21986 (ERRNO_ERANGE): Likewise.
21987 (IGNORE_RESULT): Likewise.
21988 (check_float_internal): Check signs of NaN results if
21989 TEST_NAN_SIGN used.
21990 (check_complex): Pass TEST_NAN_SIGN flag through to second
21991 check_float_internal call.
21992 (copysign_test_data): Add tests with quiet NaNs as second
21993 argument. Use TEST_NAN_SIGN.
21994 (fabs_test_data): Add test of negative quiet NaN argument. Use
21995 TEST_NAN_SIGN.
21996 (signbit_test_data): Add tests of quiet NaN argument.
21997 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21998
ee1466a9
JM
21999 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22000 $ignore_result.
22001 (parse_args): Handle function results specified as IGNORE.
22002 * math/libm-test.inc (IGNORE_RESULT): New macro.
22003 (check_float_internal): Do not check numerical result if flag
22004 IGNORE_RESULT set.
22005 (check_complex): Pass through IGNORE_RESULT to second
22006 check_float_internal call.
22007 (check_int): Do not check numerical result if flag IGNORE_RESULT
22008 set.
22009 (check_long): Likewise.
22010 (check_bool): Likewise.
22011 (check_longlong): Likewise.
22012 (lrint_test_data): Add tests of infinite and NaN arguments.
22013 (lrint_tonearest_test_data): Likewise.
22014 (lrint_towardzero_test_data): Likewise.
22015 (lrint_downward_test_data): Likewise.
22016 (lrint_upward_test_data): Likewise.
22017 (llrint_test_data): Likewise.
22018 (llrint_tonearest_test_data): Likewise.
22019 (llrint_towardzero_test_data): Likewise.
22020 (llrint_downward_test_data): Likewise.
22021 (llrint_upward_test_data): Likewise.
22022 (lround_test_data): Likewise.
22023 (llround_test_data): Likewise.
22024
14407b7e
JM
22025 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22026 (ERRNO_UNCHANGED): Update value.
22027 (ERRNO_EDOM): Likewise.
22028 (ERRNO_ERANGE): Likewise.
22029 (NO_TEST_INLINE_FLOAT): New macro.
22030 (NO_TEST_INLINE_DOUBLE): Likewise.
22031 (enable_test): New function.
22032 (RUN_TEST_f_f): Check enable_test before running test.
22033 (RUN_TEST_2_f): Likewise.
22034 (RUN_TEST_fff_f): Likewise.
22035 (RUN_TEST_c_f): Likewise.
22036 (RUN_TEST_f_f1): Likewise.
22037 (RUN_TEST_fF_f1): Likewise.
22038 (RUN_TEST_fI_f1): Likewise.
22039 (RUN_TEST_ffI_f1): Likewise.
22040 (RUN_TEST_c_c): Likewise.
22041 (RUN_TEST_cc_c): Likewise.
22042 (RUN_TEST_f_i): Likewise.
22043 (RUN_TEST_f_i_tg): Likewise.
22044 (RUN_TEST_ff_i_tg): Likewise.
22045 (RUN_TEST_f_b): Likewise.
22046 (RUN_TEST_f_b_tg): Likewise.
22047 (RUN_TEST_f_l): Likewise.
22048 (RUN_TEST_f_L): Likewise.
22049 (RUN_TEST_fFF_11): Likewise.
22050 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22051 conditionals.
22052 (cosh_test_data): Likewise.
22053 (exp_test_data): Likewise.
22054 (expm1_test_data): Likewise.
22055 (hypot_test_data): Likewise.
22056 (pow_test_data): Likewise.
22057 (sinh_test_data): Likewise.
22058 (tanh_test_data): Likewise.
22059 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22060 flags argument.
22061
ca07f197
JM
22062 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22063 tests with quiet NaN input and output.
22064 (acosh_test_data): Likewise.
22065 (asin_test_data): Likewise.
22066 (asinh_test_data): Likewise.
22067 (atan_test_data): Likewise.
22068 (atanh_test_data): Likewise.
22069 (atan2_test_data): Likewise.
22070 (cbrt_test_data): Likewise.
22071 (cos_test_data): Likewise.
22072 (cosh_test_data): Likewise.
22073 (erf_test_data): Likewise.
22074 (erfc_test_data): Likewise.
22075 (exp_test_data): Likewise.
22076 (exp10_test_data): Likewise.
22077 (exp2_test_data): Likewise.
22078 (expm1_test_data): Likewise.
22079 (hypot_test_data): Likewise.
22080 (j0_test_data): Likewise.
22081 (j1_test_data): Likewise.
22082 (jn_test_data): Likewise.
22083 (lgamma_test_data): Likewise.
22084 (log_test_data): Likewise.
22085 (log10_test_data): Likewise.
22086 (log1p_test_data): Likewise.
22087 (log2_test_data): Likewise.
22088 (pow_test_data): Likewise.
22089 (scalb_test_data): Likewise.
22090 (sin_test_data): Likewise.
22091 (sincos_test_data): Likewise.
22092 (sinh_test_data): Likewise.
22093 (tan_test_data): Likewise.
22094 (tanh_test_data): Likewise.
22095 (tgamma_test_data): Likewise.
22096 (y0_test_data): Likewise.
22097 (y1_test_data): Likewise.
22098 (yn_test_data): Likewise.
22099
66294491
JM
22100 [BZ #16167]
22101 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22102 argument being NaN and avoid computations with second argument in
22103 that case.
22104 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22105 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22106 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22107
1820b143
CL
221082013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22109
22110 * locale/iso-639.def: Add Chitwani Tharu (the).
22111
714bd261
AS
221122013-11-14 Andreas Schwab <schwab@suse.de>
22113
22114 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22115 word instead of empty string.
22116
7ab44563
AZ
221172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22118
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22120 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22122 (__fe_nomask_env): Likewise.
22123
e8470ea2
SE
221242013-11-13 Steve Ellcey <sellcey@mips.com>
22125
22126 * benchtests/bench-timing.h: Include time.h.
22127
17c1d9f0
L
221282013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22129
22130 [BZ #15997]
22131 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22132 to 3.4.0 for x32.
22133 * sysdeps/unix/sysv/linux/configure: Regenerated.
22134
9310c284
JM
221352013-11-13 Joseph Myers <joseph@codesourcery.com>
22136
22137 [BZ #16151]
22138 * stdlib/strtod_l.c (round_and_return): Do not consider
22139 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22140 exponent one less than half the least subnormal exponent.
22141 * stdlib/test-strtod-round-data: Add more tests.
22142 * stdlib/tst-strtod-round.c (tests): Regenerated.
22143
7a2ad8cf
AZ
221442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22145
22146 [BZ #14143]
22147 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22148 (__fe_mask_env): Likewise.
22149 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22150 libm_hidden_proto and add function prototype.
22151 (__fe_mask_env): Add function prototype.
22152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22153 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22155 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22157 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22158
50727aa7
MS
221592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22160
b2f386c1 22161 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22162 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22163
a615be46
MS
221642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22165
22166 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22167 of htab_find_slot().
22168
7ddace62
DM
221692013-11-11 David S. Miller <davem@davemloft.net>
22170
22171 [BZ #16150]
22172 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22173 symbol in the non-vis3 case in static builds.
22174 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22175 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22176 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22177 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22178
9182aa67
JK
221792013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22180
22181 [BZ #387]
22182 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22183 it is empty.
22184
450a2e2d
AZ
221852013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22186
b2f386c1
SP
22187 * benchtests/Makefile: Add bench-strtod.
22188 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22189
8ec3f656
AS
221902013-11-11 Andreas Schwab <schwab@suse.de>
22191
22192 [BZ #16153]
22193 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22194 terminating NUL in key length.
22195
76a9b998
AZ
221962013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22197
22198 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22199 Add artificial ODP entry for vDSO symbol for PPC64.
22200 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22201 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22202
e4368156
OB
222032013-11-07 Ondřej Bílka <neleai@seznam.cz>
22204
22205 [BZ #15374]
22206 * nss/getent.c (services_keys): Recognize services starting with digit.
22207
8d6bb57c
DM
222082013-11-06 David S. Miller <davem@davemloft.net>
22209
22210 [BZ #15985]
22211 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22212 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22213
e256c421
WN
222142013-11-06 Will Newton <will.newton@linaro.org>
22215
22216 * manual/memory.texi (Malloc Examples): Remove register
22217 keyword from examples.
22218
f6e12daa 222192013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22220
f6e12daa 22221 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22222
9d880655
AS
222232013-11-04 Joseph Myers <joseph@codesourcery.com>
22224
fd2f9486 22225 [BZ #6981]
9d880655
AS
22226 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22227 depending on [__GCC_IEC_559 > 0].
22228 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22229 depending on [__GCC_IEC_559_COMPLEX > 0].
22230
ae129d3c
CL
222312013-11-03 Chris Leonard <cjl@sugarlabs.org>
22232
22233 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22234 to iso-639.def.
22235
4a15c2a4 222362013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22237
22238 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22239
8b35e35d
OB
222402013-11-01 Ondřej Bílka <neleai@seznam.cz>
22241
22242 [BZ #16112]
22243 * malloc/malloc (malloc_info): Do not handle first bin as
22244 special case.
22245
1d70fd6c
CL
222462013-11-01 Chris Leonard <cjl@sugarlabs.org>
22247
22248 * locale/iso-639.def: Add Central Nahuatl (nhn).
22249
8c5c2600
BH
222502013-11-01 Bruno Haible <bruno@clisp.org>
22251
22252 [BZ #7003]
22253 * manual/math.texi (BSD Random): Specify range upper bound as
22254 in POSIX.
22255
da5579c2
CL
222562013-10-31 Chris Leonard <cjl@sugarlabs.org>
22257
22258 * locale/iso-639.def: Add Meadow Mari (mhr).
22259
5d30d853
OB
222602013-10-31 Ondřej Bílka <neleai@seznam.cz>
22261
22262 [BZ #14752], [BZ #15763]
22263 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22264 Validate name.
22265 * rt/tst_shm.c: Add test for escaping directory.
22266
a4966c61
AS
222672013-10-31 Andreas Schwab <schwab@suse.de>
22268
8a43e768 22269 [BZ #15917]
a4966c61
AS
22270 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22271 followed by 'x' as part of digit sequence.
22272 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22273
28d708c4
MAP
222742013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22275
22276 [BZ #16037]
22277 * configure.ac: allow GNU Make 4.0 and greater.
22278 * configure: Regenerated.
22279
a56ee40b
WN
222802013-10-30 Will Newton <will.newton@linaro.org>
22281
22282 [BZ #16038]
22283 * malloc/hooks.c (memalign_check): Limit alignment to the
22284 maximum representable power of two.
22285 * malloc/malloc.c (__libc_memalign): Likewise.
22286 * malloc/tst-memalign.c (do_test): Add test for very
22287 large alignment values.
22288 * malloc/tst-posix_memalign.c (do_test): Likewise.
22289
c6e4925d
OB
222902013-10-30 Ondřej Bílka <neleai@seznam.cz>
22291
22292 [BZ #11087]
22293 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22294 (munmap_chunk): Likewise.
22295 (mremap_chunk): Likewise.
22296
222972013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22298
8a43e768 22299 [BZ #15799]
bbea82f7
OB
22300 * stdlib/div.c (div): Remove obsolete code.
22301 * stdlib/ldiv.c (ldiv): Likewise.
22302 * stdlib/lldiv.c (lldiv): Likewise.
22303
977f4b31
SP
223042013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22305
22306 [BZ #16071]
22307 * nss/nss_files/files-XXX.c (get_contents_ret): New
22308 enumerator.
22309 (get_contents): New function.
22310 (internal_getent): Use it. Expand size of LINEBUFLEN.
22311
cb8a6dbd
MF
223122013-10-30 Mike Frysinger <vapier@gentoo.org>
22313
22314 * configure.in: Moved to ...
22315 * configure.ac: ... here. Change reference to configure.in
22316 to configure.ac.
22317 * sysdeps/arm/preconfigure.ac: ... here.
22318 configure.in to configure.ac.
22319 * sysdeps/gnu/configure.in: Moved to ...
22320 * sysdeps/gnu/configure.ac: ... here.
22321 * sysdeps/i386/configure.in: Moved to ...
22322 * sysdeps/i386/configure.ac: ... here.
22323 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22324 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22325 * sysdeps/mach/configure.in: Moved to ...
22326 * sysdeps/mach/configure.ac: ... here.
22327 * sysdeps/mach/hurd/configure.in: Moved to ...
22328 * sysdeps/mach/hurd/configure.ac: ... here.
22329 * sysdeps/powerpc/configure.in: Moved to ...
22330 * sysdeps/powerpc/configure.ac: ... here.
22331 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22332 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22333 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22334 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22335 * sysdeps/s390/s390-32/configure.in: Moved to ...
22336 * sysdeps/s390/s390-32/configure.ac: ... here.
22337 * sysdeps/s390/s390-64/configure.in: Moved to ...
22338 * sysdeps/s390/s390-64/configure.ac: ... here.
22339 * sysdeps/sh/configure.in: Moved to ...
22340 * sysdeps/sh/configure.ac: ... here.
22341 * sysdeps/sparc/configure.in: Moved to ...
22342 * sysdeps/sparc/configure.ac: ... here.
22343 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22344 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22345 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22346 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22347 * sysdeps/x86_64/configure.in: Moved to ...
22348 * sysdeps/x86_64/configure.ac: ... here.
22349 * sysdeps/x86_64/preconfigure.in: Moved to ...
22350 * sysdeps/x86_64/preconfigure.ac: ... here.
22351 * aclocal.m4: Change reference to configure.in to configure.ac.
22352 * config.h.in: Likewise.
22353 * manual/install.texi: Likewise.
22354 * manual/maint.texi: Likewise.
22355 * Makefile: Likewise.
22356 * malloc/Makefile: Likewise.
22357 * nscd/Makefile: Likewise.
22358 * Makeconfig: Change reference to configure.in and
22359 preconfigure.in to configure.ac and preconfigure.ac
22360 respectively.
22361 * INSTALL: Regenerated.
22362 * configure: Likewise.
22363 * sysdeps/gnu/configure: Likewise.
22364 * sysdeps/i386/configure: Likewise.
22365 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22366 * sysdeps/mach/configure: Likewise.
22367 * sysdeps/mach/hurd/configure: Likewise.
22368 * sysdeps/powerpc/configure: Likewise.
22369 * sysdeps/powerpc/powerpc32/configure: Likewise.
22370 * sysdeps/powerpc/powerpc64/configure: Likewise.
22371 * sysdeps/s390/s390-32/configure: Likewise.
22372 * sysdeps/s390/s390-64/configure: Likewise.
22373 * sysdeps/sh/configure: Likewise.
22374 * sysdeps/sparc/configure: Likewise.
22375 * sysdeps/unix/sysv/linux/configure: Likewise.
22376 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22377 * sysdeps/x86_64/configure: Likewise.
22378 * sysdeps/x86_64/preconfigure: Likewise.
22379
36a4953a
AS
223802013-10-29 Andreas Schwab <schwab@suse.de>
22381
22382 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22383
c79a1204
SP
223842013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22385
dfa1b402
SP
22386 * benchtests/pow-inputs: Add new inputs.
22387
54f73d9c
SP
22388 * benchtests/exp-inputs: Add new inputs.
22389
c79a1204
SP
22390 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22391 conditional check for return value.
22392 (__cos32): Likewise.
22393
67beb545 223942013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22395
22396 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22397 to provide a boost for large inputs with word alignment.
22398 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22399 implementation based on optimized PPC64 strcpy.
22400 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22401 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22402 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22403 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22404
151659f6
OB
224052013-10-25 Ondřej Bílka <neleai@seznam.cz>
22406
482a077e 22407 [BZ #2801]
151659f6
OB
22408 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22409
10b0f26b
OB
224102013-10-25 Ondřej Bílka <neleai@seznam.cz>
22411
22412 [BZ #14876]
22413 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22414 * time/tst-strptime.c (day_tests): Add testcase.
22415
ca42d35e
OB
224162013-10-25 Ondřej Bílka <neleai@seznam.cz>
22417
482a077e 22418 [BZ #14029]
ca42d35e
OB
22419 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22420
52e6d801
FB
224212013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22422
22423 [BZ #16074]
22424 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22425 MAP_FAILED on error.
22426
7cbcdb36
SP
224272013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22428
22429 [BZ #16072]
22430 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22431 heap for large requests.
22432
894f3f10
AM
224332013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22434
22435 [BZ #9954]
22436 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22437 result if the result has no associated interface.
22438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22439 interface for all 127.X.Y.Z addresses.
22440
b85545a6
CL
224412013-10-24 Chris Leonard <cjl@sugarlabs.org>
22442
22443 * locale/iso-639.def: Add Ligurian (lij)
22444
d1f23d46
OB
224452013-10-21 Ondřej Bílka <neleai@seznam.cz>
22446
22447 [BZ #15825]
22448 * sunrpc/rpc_main.c: Document rpcgen -5.
22449
4db5b08f
MS
224502013-10-19 Michael Stahl <mstahl@redhat.com>
22451
22452 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22453
a471e96a
OB
224542013-10-19 Ondřej Bílka <neleai@seznam.cz>
22455
d1f23d46 22456 [BZ #10278]
a471e96a
OB
22457 * posix/glob.c: Match only directories when trailing slash is present.
22458 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22459 (main): Add testcase.
22460
45c30c61
OB
224612013-10-19 Ondřej Bílka <neleai@seznam.cz>
22462
22463 [BZ #15670]
22464 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22465
484c12fb
CD
224662013-10-18 Carlos O'Donell <carlos@redhat.com>
22467
3d7dc513
CD
22468 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22469 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22470 AUTH_DES and cindex for FIPS 140-2.
22471 (DES Encryption): Add cindex FIPS 46-3.
22472
484c12fb
CD
22473 * locale/locarchive.h (struct locarhandle): Add fname.
22474 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22475 if an optional argument was specified to --list-archive,
22476 otherwise NULL.
22477 * locale/programs/locarchive.c (show_archive_content): Take new
22478 argument fname and pass it via ah.fname to open_archive.
22479 * locale/programs/localedef.h: Update decl.
22480 (open_archive): If AH->fname is non-null, open that file
22481 rather than the default file name, and don't ignore ENOENT.
22482 (create_archive): Set AH.fname to NULL.
22483 (delete_locales_from_archive): Likewise.
22484 (add_locales_to_archive): Likewise.
22485 * locale/programs/locfile.c (write_all_categories): Likewise.
22486
3c8325fb
JM
224872013-10-18 Joseph Myers <joseph@codesourcery.com>
22488 Aldy Hernandez <aldyh@redhat.com>
22489
22490 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22491 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22492 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22493 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22494 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22495 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22498 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22500 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22501 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22502 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22503 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22504 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22505 Likewise.
22506 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22507 Likewise.
22508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22509 Likewise.
22510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22511 Likewise.
22512 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22513 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22514 Likewise.
22515 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22516 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22517 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22518 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22519 Likewise.
22520 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22521 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22522 * sysdeps/powerpc/preconfigure: Likewise.
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22524 Likewise.
22525 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22526 Replace contents of file by #include of <fenv_libc.h>.
22527 * sysdeps/powerpc/soft-fp/sfp-machine.h
22528 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22529 and <sys/prctl.h>.
22530 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22543 Allow copysignl PLT reference to be missing.
22544
5abe0682
RS
225452013-10-18 Richard Sandiford <richard@codesourcery.com>
22546 Joseph Myers <joseph@codesourcery.com
22547
22548 [BZ #15948]
22549 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22550 single character.
22551 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22552
c7738d08
SP
225532013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22554
22555 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22556 * elf/tst-tls1.c: Likewise.
22557 * elf/tst-tls10.h: Likewise.
22558 * elf/tst-tls14.c: Likewise.
22559 * elf/tst-tls2.c: Likewise.
22560 * elf/tst-tls3.c: Likewise.
22561 * elf/tst-tls4.c: Likewise.
22562 * elf/tst-tls5.c: Likewise.
22563 * elf/tst-tls6.c: Likewise.
22564 * elf/tst-tls7.c: Likewise.
22565 * elf/tst-tls8.c: Likewise.
22566 * elf/tst-tls9.c: Likewise.
22567 * elf/tst-tlsmod1.c: Likewise.
22568 * elf/tst-tlsmod13.c: Likewise.
22569 * elf/tst-tlsmod13a.c: Likewise.
22570 * elf/tst-tlsmod14a.c: Likewise.
22571 * elf/tst-tlsmod16a.c: Likewise.
22572 * elf/tst-tlsmod16b.c: Likewise.
22573 * elf/tst-tlsmod2.c: Likewise.
22574 * elf/tst-tlsmod3.c: Likewise.
22575 * elf/tst-tlsmod4.c: Likewise.
22576 * elf/tst-tlsmod5.c: Likewise.
22577 * elf/tst-tlsmod6.c: Likewise.
22578
0bfcf2c7
OB
225792013-10-18 Ondřej Bílka <neleai@seznam.cz>
22580
22581 [BZ #12486]
22582 * malloc/malloc.c: remove checks for statistics.
22583
264aad1e
OB
225842013-10-17 Ondřej Bílka <neleai@seznam.cz>
22585
22586 [BZ #15277]
22587 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22588 * inet/tst-network.c: Add testcase.
22589
b957ced8
AS
225902013-10-17 Andreas Schwab <schwab@suse.de>
22591
22592 [BZ #15218]
22593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22594 to determine canonical name.
22595
c5d5d574
OB
225962013-10-17 Ondřej Bílka <neleai@seznam.cz>
22597
22598 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22599 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22622 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22623 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22656
e5c2c2d0
JM
226572013-10-17 Joseph Myers <joseph@codesourcery.com>
22658
22659 [BZ #16041]
22660 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22661 make result into a quiet NaN.
22662
51ca9e29
JM
226632013-10-16 Joseph Myers <joseph@codesourcery.com>
22664
22665 * soft-fp/adddf3.c: Fix horizontal whitespace.
22666 * soft-fp/addsf3.c: Likewise.
22667 * soft-fp/addtf3.c: Likewise.
22668 * soft-fp/divdf3.c: Likewise.
22669 * soft-fp/divsf3.c: Likewise.
22670 * soft-fp/divtf3.c: Likewise.
22671 * soft-fp/double.h: Likewise.
22672 * soft-fp/eqdf2.c: Likewise.
22673 * soft-fp/eqsf2.c: Likewise.
22674 * soft-fp/eqtf2.c: Likewise.
22675 * soft-fp/extenddftf2.c: Likewise.
22676 * soft-fp/extended.h: Likewise.
22677 * soft-fp/extendsfdf2.c: Likewise.
22678 * soft-fp/extendsftf2.c: Likewise.
22679 * soft-fp/extendxftf2.c: Likewise.
22680 * soft-fp/fixdfdi.c: Likewise.
22681 * soft-fp/fixdfsi.c: Likewise.
22682 * soft-fp/fixdfti.c: Likewise.
22683 * soft-fp/fixsfdi.c: Likewise.
22684 * soft-fp/fixsfsi.c: Likewise.
22685 * soft-fp/fixsfti.c: Likewise.
22686 * soft-fp/fixtfdi.c: Likewise.
22687 * soft-fp/fixtfsi.c: Likewise.
22688 * soft-fp/fixtfti.c: Likewise.
22689 * soft-fp/fixunsdfdi.c: Likewise.
22690 * soft-fp/fixunsdfsi.c: Likewise.
22691 * soft-fp/fixunsdfti.c: Likewise.
22692 * soft-fp/fixunssfdi.c: Likewise.
22693 * soft-fp/fixunssfsi.c: Likewise.
22694 * soft-fp/fixunssfti.c: Likewise.
22695 * soft-fp/fixunstfdi.c: Likewise.
22696 * soft-fp/fixunstfsi.c: Likewise.
22697 * soft-fp/fixunstfti.c: Likewise.
22698 * soft-fp/floatdidf.c: Likewise.
22699 * soft-fp/floatdisf.c: Likewise.
22700 * soft-fp/floatditf.c: Likewise.
22701 * soft-fp/floatsidf.c: Likewise.
22702 * soft-fp/floatsisf.c: Likewise.
22703 * soft-fp/floatsitf.c: Likewise.
22704 * soft-fp/floattidf.c: Likewise.
22705 * soft-fp/floattisf.c: Likewise.
22706 * soft-fp/floattitf.c: Likewise.
22707 * soft-fp/floatundidf.c: Likewise.
22708 * soft-fp/floatundisf.c: Likewise.
22709 * soft-fp/floatunditf.c: Likewise.
22710 * soft-fp/floatunsidf.c: Likewise.
22711 * soft-fp/floatunsisf.c: Likewise.
22712 * soft-fp/floatunsitf.c: Likewise.
22713 * soft-fp/floatuntidf.c: Likewise.
22714 * soft-fp/floatuntisf.c: Likewise.
22715 * soft-fp/floatuntitf.c: Likewise.
22716 * soft-fp/fmadf4.c: Likewise.
22717 * soft-fp/fmasf4.c: Likewise.
22718 * soft-fp/fmatf4.c: Likewise.
22719 * soft-fp/gedf2.c: Likewise.
22720 * soft-fp/gesf2.c: Likewise.
22721 * soft-fp/getf2.c: Likewise.
22722 * soft-fp/ledf2.c: Likewise.
22723 * soft-fp/lesf2.c: Likewise.
22724 * soft-fp/letf2.c: Likewise.
22725 * soft-fp/muldf3.c: Likewise.
22726 * soft-fp/mulsf3.c: Likewise.
22727 * soft-fp/multf3.c: Likewise.
22728 * soft-fp/negdf2.c: Likewise.
22729 * soft-fp/negsf2.c: Likewise.
22730 * soft-fp/negtf2.c: Likewise.
22731 * soft-fp/op-1.h: Likewise.
22732 * soft-fp/op-2.h: Likewise.
22733 * soft-fp/op-4.h: Likewise.
22734 * soft-fp/op-8.h: Likewise.
22735 * soft-fp/op-common.h: Likewise.
22736 * soft-fp/quad.h: Likewise.
22737 * soft-fp/single.h: Likewise.
22738 * soft-fp/soft-fp.h: Likewise.
22739 * soft-fp/sqrtdf2.c: Likewise.
22740 * soft-fp/sqrtsf2.c: Likewise.
22741 * soft-fp/sqrttf2.c: Likewise.
22742 * soft-fp/subdf3.c: Likewise.
22743 * soft-fp/subsf3.c: Likewise.
22744 * soft-fp/subtf3.c: Likewise.
22745 * soft-fp/truncdfsf2.c: Likewise.
22746 * soft-fp/trunctfdf2.c: Likewise.
22747 * soft-fp/trunctfsf2.c: Likewise.
22748 * soft-fp/trunctfxf2.c: Likewise.
22749 * soft-fp/unorddf2.c: Likewise.
22750 * soft-fp/unordsf2.c: Likewise.
22751 * soft-fp/unordtf2.c: Likewise.
22752
9ebb0332
JM
227532013-10-15 Joseph Myers <joseph@codesourcery.com>
22754
22755 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22756 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22757
4b1a6d8b
OB
227582013-10-15 Ondřej Bílka <neleai@seznam.cz>
22759
22760 * elf/dl-libc.c: Clear initfini list after freeing.
22761
1e145589
JM
227622013-10-14 Joseph Myers <joseph@codesourcery.com>
22763
22764 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22765 * soft-fp/addsf3.c: Likewise.
22766 * soft-fp/addtf3.c: Likewise.
22767 * soft-fp/divdf3.c: Likewise.
22768 * soft-fp/divsf3.c: Likewise.
22769 * soft-fp/divtf3.c: Likewise.
22770 * soft-fp/double.h: Likewise.
22771 * soft-fp/eqdf2.c: Likewise.
22772 * soft-fp/eqsf2.c: Likewise.
22773 * soft-fp/eqtf2.c: Likewise.
22774 * soft-fp/extenddftf2.c: Likewise.
22775 * soft-fp/extended.h: Likewise.
22776 * soft-fp/extendsfdf2.c: Likewise.
22777 * soft-fp/extendsftf2.c: Likewise.
22778 * soft-fp/extendxftf2.c: Likewise.
22779 * soft-fp/fixdfdi.c: Likewise.
22780 * soft-fp/fixdfsi.c: Likewise.
22781 * soft-fp/fixdfti.c: Likewise.
22782 * soft-fp/fixsfdi.c: Likewise.
22783 * soft-fp/fixsfsi.c: Likewise.
22784 * soft-fp/fixsfti.c: Likewise.
22785 * soft-fp/fixtfdi.c: Likewise.
22786 * soft-fp/fixtfsi.c: Likewise.
22787 * soft-fp/fixtfti.c: Likewise.
22788 * soft-fp/fixunsdfdi.c: Likewise.
22789 * soft-fp/fixunsdfsi.c: Likewise.
22790 * soft-fp/fixunsdfti.c: Likewise.
22791 * soft-fp/fixunssfdi.c: Likewise.
22792 * soft-fp/fixunssfsi.c: Likewise.
22793 * soft-fp/fixunssfti.c: Likewise.
22794 * soft-fp/fixunstfdi.c: Likewise.
22795 * soft-fp/fixunstfsi.c: Likewise.
22796 * soft-fp/fixunstfti.c: Likewise.
22797 * soft-fp/floatdidf.c: Likewise.
22798 * soft-fp/floatdisf.c: Likewise.
22799 * soft-fp/floatditf.c: Likewise.
22800 * soft-fp/floatsidf.c: Likewise.
22801 * soft-fp/floatsisf.c: Likewise.
22802 * soft-fp/floatsitf.c: Likewise.
22803 * soft-fp/floattidf.c: Likewise.
22804 * soft-fp/floattisf.c: Likewise.
22805 * soft-fp/floattitf.c: Likewise.
22806 * soft-fp/floatundidf.c: Likewise.
22807 * soft-fp/floatundisf.c: Likewise.
22808 * soft-fp/floatunsidf.c: Likewise.
22809 * soft-fp/floatunsisf.c: Likewise.
22810 * soft-fp/floatuntidf.c: Likewise.
22811 * soft-fp/floatuntisf.c: Likewise.
22812 * soft-fp/floatuntitf.c: Likewise.
22813 * soft-fp/fmadf4.c: Likewise.
22814 * soft-fp/fmasf4.c: Likewise.
22815 * soft-fp/fmatf4.c: Likewise.
22816 * soft-fp/gedf2.c: Likewise.
22817 * soft-fp/gesf2.c: Likewise.
22818 * soft-fp/getf2.c: Likewise.
22819 * soft-fp/ledf2.c: Likewise.
22820 * soft-fp/lesf2.c: Likewise.
22821 * soft-fp/letf2.c: Likewise.
22822 * soft-fp/muldf3.c: Likewise.
22823 * soft-fp/mulsf3.c: Likewise.
22824 * soft-fp/multf3.c: Likewise.
22825 * soft-fp/negdf2.c: Likewise.
22826 * soft-fp/negsf2.c: Likewise.
22827 * soft-fp/negtf2.c: Likewise.
22828 * soft-fp/op-1.h: Likewise.
22829 * soft-fp/op-2.h: Likewise.
22830 * soft-fp/op-4.h: Likewise.
22831 * soft-fp/op-8.h: Likewise.
22832 * soft-fp/op-common.h: Likewise.
22833 * soft-fp/quad.h: Likewise.
22834 * soft-fp/single.h: Likewise.
22835 * soft-fp/soft-fp.h: Likewise.
22836 * soft-fp/sqrtdf2.c: Likewise.
22837 * soft-fp/sqrtsf2.c: Likewise.
22838 * soft-fp/sqrttf2.c: Likewise.
22839 * soft-fp/subdf3.c: Likewise.
22840 * soft-fp/subsf3.c: Likewise.
22841 * soft-fp/subtf3.c: Likewise.
22842 * soft-fp/truncdfsf2.c: Likewise.
22843 * soft-fp/trunctfdf2.c: Likewise.
22844 * soft-fp/trunctfsf2.c: Likewise.
22845 * soft-fp/trunctfxf2.c: Likewise.
22846 * soft-fp/unorddf2.c: Likewise.
22847 * soft-fp/unordsf2.c: Likewise.
22848 * soft-fp/unordtf2.c: Likewise.
22849
17c48a60
OB
228502013-10-14 Ondřej Bílka <neleai@seznam.cz>
22851
22852 [BZ #15672]
22853 * misc/error.c (error_tail): Fix possible buffer overflow.
22854
cabba934
OB
228552013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22856
22857 [BZ #13028]
22858 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22859 address.
22860
94bf958a
PM
228612013-10-14 P. J. McDermott <pj@pehjota.net>
22862
22863 [BZ #832]
22864 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22865 testing pipefail option.
22866
71b4dea7
JM
228672013-10-12 Joseph Myers <joseph@codesourcery.com>
22868
22869 * soft-fp/double.h: Indent preprocessor directives inside #if.
22870 * soft-fp/extended.h: Likewise.
22871 * soft-fp/op-2.h: Likewise.
22872 * soft-fp/op-4.h: Likewise.
22873 * soft-fp/op-common.h: Likewise.
22874 * soft-fp/quad.h: Likewise.
22875 * soft-fp/single.h: Likewise.
22876 * soft-fp/soft-fp.h: Likewise.
22877
55602758
YC
228782013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22879
22880 * iconv/iconv_prog.c: Fix typos.
22881 * stdio-common/psiginfo-data.h: Likewise.
22882
9cd83302
RT
228832013-10-12 Reuben Thomas <rrt@sc3d.org>
22884
22885 [BZ #15764]
22886 * locale/setlocale.c: Fix typo.
22887
99fd9f47
JM
228882013-10-12 Joseph Myers <joseph@codesourcery.com>
22889
b7ea74f0
JM
22890 [BZ #16036]
22891 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22892 signaling NaN arguments.
22893 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22894 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22895
8a509447
JM
22896 [BZ #14910]
22897 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22898 unordered operands.
22899 * soft-fp/gesf2.c (__gesf2): Likewise.
22900 * soft-fp/getf2.c (__getf2): Likewise.
22901 * soft-fp/ledf2.c (__ledf2): Likewise.
22902 * soft-fp/lesf2.c (__lesf2): Likewise.
22903 * soft-fp/letf2.c (__letf2): Likewise.
22904
98998e9f
JM
22905 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22906 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22907 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22908 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22909 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22910 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22911 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22912 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22913 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22914 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22915 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22916 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22917 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22918 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22919 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22920 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22921 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22922 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22923 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22924 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22925 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22926 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22927 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22928 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22929 * soft-fp/floattidf.c (__floattidf): Likewise.
22930 * soft-fp/floattisf.c (__floattisf): Likewise.
22931 * soft-fp/floattitf.c (__floattitf): Likewise.
22932 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22933 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22934 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22935 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22936 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22937 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22938 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22939 * soft-fp/gesf2.c (__gesf2): Likewise.
22940 * soft-fp/getf2.c (__getf2): Likewise.
22941 * soft-fp/ledf2.c (__ledf2): Likewise.
22942 * soft-fp/lesf2.c (__lesf2): Likewise.
22943 * soft-fp/letf2.c (__letf2): Likewise.
22944
8edc4a11
JM
22945 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22946 Undefine and redefine.
22947 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22948 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22949 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22950 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22951 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22952 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22953 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22954 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22955 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22956 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22957 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22958 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22959 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22960 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22961 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22962
8399acaf
JM
22963 [BZ #16032]
22964 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22965 without decrementing exponent if mantissa >= that for the
22966 denominator, not >.
22967 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22968 denominator, not >. Decrement exponent in < case instead of
22969 incrementing in >= case.
22970 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22971 without decrementing exponent if mantissa >= that for the
22972 denominator, not >.
22973
99fd9f47
JM
22974 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22975 computing saturated result for unsigned overflow.
22976
10e1cf6b
SP
229772013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22978 Jeff Law <law@redhat.com>
22979
22980 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22981 (atan2Mp): Add systemtap probe marker.
22982 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22983 (__ieee754_log): Add systemtap probe marker.
22984 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22985 (atanMp): Add systemtap probe marker.
22986 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22987 (tanMp): Add systemtap probe marker.
22988 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22989 (__slowexp): Add systemtap probe marker.
22990 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22991 (__slowpow): Add systemtap probe marker.
22992 * manual/probes.texi: Document probes.
22993
3d110c7c
EB
229942013-10-11 Eric Biggers <ebiggers3@gmail.com>
22995
22996 [BZ #15362]
22997 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22998 written.
22999 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23000 written.
23001 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23002 written to buffer but not flushed.
23003 * libio/iofwrite_u.c: Likewise.
23004 * libio/iopadn.c: Return bytes returned even if EOF was
23005 encountered.
23006 * libio/iowpadn.c: Likewise.
23007 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23008 if _IO_padn does not write the whole buffer.
23009 [!COMPILE_WPRINTF] (PAD): Likewise.
23010
75b4202a
DM
230112013-10-10 David S. Miller <davem@davemloft.net>
23012
23013 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23014 directory block.
23015
6c6352e6
JM
230162013-10-10 Joseph Myers <joseph@codesourcery.com>
23017
33b853c3
JM
23018 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23019 instead of FSF address.
23020 * soft-fp/fixdfti.c: Likewise.
23021 * soft-fp/fixsfti.c: Likewise.
23022 * soft-fp/fixtfti.c: Likewise.
23023 * soft-fp/fixunsdfti.c: Likewise.
23024 * soft-fp/fixunssfti.c: Likewise.
23025 * soft-fp/fixunstfti.c: Likewise.
23026 * soft-fp/floattidf.c: Likewise.
23027 * soft-fp/floattisf.c: Likewise.
23028 * soft-fp/floattitf.c: Likewise.
23029 * soft-fp/floatuntidf.c: Likewise.
23030 * soft-fp/floatuntisf.c: Likewise.
23031 * soft-fp/floatuntitf.c: Likewise.
23032 * soft-fp/trunctfxf2.c: Likewise.
23033
6c6352e6
JM
23034 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23035 * soft-fp/fixdfti.c: Likewise.
23036 * soft-fp/fixsfti.c: Likewise.
23037 * soft-fp/fixtfti.c: Likewise.
23038 * soft-fp/fixunsdfti.c: Likewise.
23039 * soft-fp/fixunssfti.c: Likewise.
23040 * soft-fp/fixunstfti.c: Likewise.
23041 * soft-fp/floattidf.c: Likewise.
23042 * soft-fp/floattisf.c: Likewise.
23043 * soft-fp/floattitf.c: Likewise.
23044 * soft-fp/floatuntidf.c: Likewise.
23045 * soft-fp/floatuntisf.c: Likewise.
23046 * soft-fp/floatuntitf.c: Likewise.
23047 * soft-fp/trunctfxf2.c: Likewise.
23048
3bf78b71
DM
230492013-10-10 David S. Miller <davem@davemloft.net>
23050
23051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23052
6f10289e
JM
230532013-10-10 Joseph Myers <joseph@codsourcery.com>
23054
bd878fc0
JM
23055 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23056 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23057 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23058 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23059 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23060 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23061 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23062
6f10289e
JM
23063 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23064 for NaNs before doing comparisons on argument.
23065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23066 Likewise.
23067
321e2684
WN
230682013-10-10 Will Newton <will.newton@linaro.org>
23069
23070 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23071 passed to _int_memalign does not overflow.
23072
40fefba1
TR
230732013-10-10 Torvald Riegel <triegel@redhat.com>
23074
23075 * scripts/bench.pl: Add include-sources directive.
23076 * benchtests/README: Update documentation.
23077
2ae21ed2
JM
230782013-10-10 Joseph Myers <joseph@codesourcery.com>
23079
dcc2dd3f
JM
23080 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23081 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23082 instead of FP_INIT_ROUNDMODE.
23083 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23084 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23085
2ae21ed2
JM
23086 [BZ #16034]
23087 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23088 copy class of input value.
23089 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23090 not handle exceptions.
23091 * soft-fp/negsf2.c (__negsf2): Likewise.
23092 * soft-fp/negtf2.c (__negtf2): Likewise.
23093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23094
cb8f9562
JM
230952013-10-09 Joseph Myers <joseph@codesourcery.com>
23096
23097 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23098 semicolon. From Linux kernel.
23099
5b60c59d
AB
231002013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23101
23102 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23103
b86835ca
YC
231042013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23105
23106 [BZ #156]
23107 * manual/socket.texi: Added statement about buffer
23108 for gethostbyname2_r.
23109
e7044ea7
OB
231102013-10-08 Ondřej Bílka <neleai@seznam.cz>
23111
23112 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23113 Use .p2align directive instead, throughout.
23114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23115 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23116 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23119 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23120 * sysdeps/x86_64/strchr.S: Likewise.
23121 * sysdeps/x86_64/strrchr.S: Likewise.
23122
09544cbc
SP
231232013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23124
88576635
SP
23125 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23126
e7b2d1dd
SP
23127 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23128
09544cbc
SP
23129 * sysdeps/generic/math_private.h (__mpsin1): Remove
23130 declaration.
23131 (__mpcos1): Likewise.
23132 (__mpsin): New argument __range_reduce.
23133 (__mpcos): Likewise.
23134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23135 (slow): Use __mpsin and __mpcos.
23136 (slow1): Likewise.
23137 (slow2): Likewise.
23138 (sloww): Likewise.
23139 (sloww1): Likewise.
23140 (sloww2): Likewise.
23141 (bsloww): Likewise.
23142 (bsloww1): Likewise.
23143 (bsloww2): Likewise.
23144 (cslow2): Likewise.
23145 (csloww): Likewise.
23146 (csloww1): Likewise.
23147 (csloww2): Likewise.
23148 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23149 range_reduce. Merge in __mpsin1.
23150 (__mpcos): Likewise.
23151 (__mpsin1): Remove.
23152 (__mpcos1): Likewise.
23153
7602d070
JM
231542013-10-07 Joseph Myers <joseph@codesourcery.com>
23155
23156 * locale/loadlocale.c (_nl_intern_locale_data): Use
23157 LOCFILE_ALIGNED_P.
23158 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23159 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23160 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23161 obstack data is appropriately aligned.
23162 (obstack_int32_grow_fast): Likewise.
23163 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23164 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23165 (add_locale_uint32_array): Likewise.
23166
a357259b
SP
231672013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23168
23169 * benchtests/Makefile: Remove ARGLIST and RET variables.
23170 ($(objpfx)bench-%.c): Pass only function name to the script.
23171 * benchtests/README: Update documentation.
23172 * benchtests/acos-inputs: Add new directives.
23173 * benchtests/acosh-inputs: Likewise.
23174 * benchtests/asin-inputs: Likewise.
23175 * benchtests/asinh-inputs: Likewise.
23176 * benchtests/atan-inputs: Likewise.
23177 * benchtests/atanh-inputs: Likewise.
23178 * benchtests/cos-inputs: Likewise.
23179 * benchtests/cosh-inputs: Likewise.
23180 * benchtests/exp-inputs: Likewise.
23181 * benchtests/log-inputs: Likewise.
23182 * benchtests/pow-inputs: Likewise.
23183 * benchtests/rint-inputs: Likewise.
23184 * benchtests/sin-inputs: Likewise.
23185 * benchtests/sinh-inputs: Likewise.
23186 * benchtests/tan-inputs: Likewise.
23187 * benchtests/tanh-inputs: Likewise.
23188 * scripts/bench.pl: Add support for new directives.
23189
9ec1b13d
AM
231902013-10-07 Alan Modra <amodra@gmail.com>
23191
23192 * README: Fix careless merge.
23193
8b7d57cd
AM
231942013-10-05 Alan Modra <amodra@gmail.com>
23195
23196 * NEWS: Mention powerpc64le support and bugs fixed.
23197 * README: Both big-endian and little-endian powerpc64 supported.
23198
7b7bab13
ST
231992013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23200
57f41c40
AS
23201 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23202 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23203 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23204 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23205
d39baad1
RA
232062013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23207
23208 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23209 match prototype.
23210
cd78f7e7
JM
232112013-10-04 Joseph Myers <joseph@codesourcery.com>
23212
29d73d86
JM
23213 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23214 Move -mhard-float appending from
23215 ports/sysdeps/powerpc/powerpc32/Makefile.
23216 [$(with-fp) = yes] (ASFLAGS): Likewise.
23217 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23218 * sysdeps/powerpc/nofpu: Move directory from
23219 ports/sysdeps/powerpc/nofpu.
23220 * sysdeps/powerpc/soft-fp: Move directory from
23221 ports/sysdeps/powerpc/soft-fp.
23222 * sysdeps/powerpc/powerpc32/405: Move directory from
23223 ports/sysdeps/powerpc/powerpc32/405.
23224 * sysdeps/powerpc/powerpc32/440: Move directory from
23225 ports/sysdeps/powerpc/powerpc32/440.
23226 * sysdeps/powerpc/powerpc32/464: Move directory from
23227 ports/sysdeps/powerpc/powerpc32/464.
23228 * sysdeps/powerpc/powerpc32/476: Move directory from
23229 ports/sysdeps/powerpc/powerpc32/476.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23231 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23233 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23240 * README: Update for powerpc-*-linux-gnu software floating point
23241 support in libc.
23242
e246b347
JM
23243 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23244 case to powerpc/powerpc32*.
23245 * sysdeps/unix/sysv/linux/configure: Regenerated.
23246
89c2003e
JM
23247 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23248 (_FPU_MASK_OM): Define as 0x04.
23249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23251 0x00c10080.
23252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23253 0x0000003c.
23254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23255
cd78f7e7
JM
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23257 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23258 getcontext_e500.
23259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23260 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23261 setcontext_e500.
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23263 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23264 and setcontext_e500.
23265
c755294d
CL
232662013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23267
23268 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23269
e16d221c
SP
232702013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23271
23272 * manual/threads.texi (Default Thread Attributes): Fix typo.
23273
215c7d43
WN
232742013-10-04 Will Newton <will.newton@linaro.org>
23275
23276 * malloc/Makefile: Add tst-memalign.
23277 * malloc/tst-memalign.c: New file.
23278
27d0461b
WN
23279 * malloc/tst-posix_memalign.c: Add comments.
23280 (do_test): Add comments and call free on all potentially
23281 allocated pointers. Add space after cast.
23282
1bc92709
WN
23283 * malloc/tst-pvalloc.c: Add comments.
23284 (do_test): Add comments and call free on all potentially
23285 allocated pointers. Remove duplicate check for NULL pointer.
23286 Add space after cast.
23287
66a9be9d
WN
23288 * malloc/tst-valloc.c: Add comments.
23289 (do_test): Add comments and call free on all potentially
23290 allocated pointers. Remove duplicate check for NULL pointer.
23291 Add space after cast.
23292
4cb81307
AM
232932013-10-04 Alan Modra <amodra@gmail.com>
23294
23295 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23296 Use stdint types in rather than __attribute__((mode())).
23297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23298
f8e3e9f3
AM
232992013-10-04 Alan Modra <amodra@gmail.com>
23300
23301 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23302 Correct handling of unaligned relocs for little-endian.
23303 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23304
8f9ebb08
AM
233052013-10-04 Alan Modra <amodra@gmail.com>
23306
23307 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23308 * configure: Regenerate.
23309 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23310 * shlib-versions: Likewise.
23311
0edf96c2
AM
233122013-10-04 Alan Modra <amodra@gmail.com>
23313
23314 * string/tester.c (test_memrchr): Increment reported test cycle.
23315
e0f7a380
AM
233162013-10-04 Alan Modra <amodra@gmail.com>
23317
23318 * string/test-memcpy.c (do_one_test): When reporting errors, print
23319 string address and don't overrun end of string.
23320
466b0393
AM
233212013-10-04 Alan Modra <amodra@gmail.com>
23322
23323 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23324 insrdi. Make better use of reg selection to speed exit slightly.
23325 Schedule entry path a little better. Remove useless "are we done"
23326 checks on entry to main loop. Handle wrapping around zero address.
23327 Correct main loop count. Handle single left-over word from main
23328 loop inline rather than by using loop_small. Remove extra word
23329 case in loop_small caused by wrong loop count. Add little-endian
23330 support.
23331 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23332 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23333 cache hint.
23334 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23335 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23336 support. Avoid rlwimi.
23337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23338
3be87c77
AM
233392013-10-04 Alan Modra <amodra@gmail.com>
23340
23341 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23342 insrdi. Formatting.
3be87c77
AM
23343 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23344 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23347 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23348 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23349
759cfef3
AM
233502013-10-04 Alan Modra <amodra@gmail.com>
23351
23352 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23354 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23355 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23356 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23359 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23361 use of regs. Use power7 mtocrf. Tidy function tails.
23362
fe6e95d7
AM
233632013-10-04 Alan Modra <amodra@gmail.com>
23364
23365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23366 Formatting. Consistently use rXXX register defines or rN defines.
23367 Use early exit labels that avoid restoring unused non-volatile regs.
23368 Make cr field use more consistent with rWORDn compares. Rename
23369 regs used as shift registers for unaligned loop, using rN defines
23370 for short lifetime/multiple use regs.
23371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23372 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23373 addi 1,1,64 to pop stack frame. Simplify return value code.
23374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23375
664318c3
AM
233762013-10-04 Alan Modra <amodra@gmail.com>
23377
23378 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23379 support. Correct typos, formatting. Optimize tail. Use insrdi
23380 rather than rlwimi.
23381 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23382 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23383 little-endian support. Correct typos.
23384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23385 rather than rlwimi.
23386 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23387 in loop and entry code to keep "and." results.
23388 (strchr): Add little-endian support. Comment. Move cntlzd
23389 earlier in tail.
23390 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23391
43b84013
AM
233922013-10-04 Alan Modra <amodra@gmail.com>
23393
23394 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23395 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23396 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23397 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23398
8a7413f9
AM
233992013-10-04 Alan Modra <amodra@gmail.com>
23400
23401 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23402 (rTMP): Define as r11.
23403 (strcmp): Add little-endian support. Optimise tail.
23404 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23405 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23406 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23408 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23411
33ee81de
AM
234122013-10-04 Alan Modra <amodra@gmail.com>
23413
23414 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23415 little-endian support. Remove unnecessary "are we done" tests.
23416 Handle "s" wrapping around zero and extremely large "size".
23417 Correct main loop count. Handle single left-over word from main
23418 loop inline rather than by using small_loop. Correct comments.
23419 Delete "zero" tail, use "end_max" instead.
23420 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23421
db9b4570
AM
234222013-10-04 Alan Modra <amodra@gmail.com>
23423
23424 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23425 support. Don't branch over align.
23426 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23427 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23428 support. Rearrange tmp reg use to suit. Comment.
23429 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23430
f7c399cf
AM
234312013-10-04 Alan Modra <amodra@gmail.com>
23432
23433 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23434
0b2c2ace
AM
234352013-10-04 Alan Modra <amodra@gmail.com>
23436
23437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23438 conditional form of branch and link when obtaining pc.
23439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23440
02f04a6c
AM
234412013-10-04 Alan Modra <amodra@gmail.com>
23442
23443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23444 HIWORD/LOWORD.
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23447
9b874b2f
AM
234482013-10-04 Alan Modra <amodra@gmail.com>
23449
23450 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23451 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23452 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23453 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23454 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23456 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23457 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23459 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23460
be1e5d31
AB
234612013-10-04 Anton Blanchard <anton@au1.ibm.com>
23462 Alistair Popple <alistair@ozlabs.au.ibm.com>
23463 Alan Modra <amodra@gmail.com>
23464
23465 [BZ #15723]
23466 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23468 _dl_hwcap access for little-endian.
23469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23470 destroy vmx regs when saving unaligned.
23471 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23472 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23473 destroy vmx regs when saving unaligned.
23474
fef13a78
AM
234752013-10-04 Alan Modra <amodra@gmail.com>
23476
23477 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23478 Don't use a union to pack hi/low value.
23479
76a66d51
AB
234802013-10-04 Anton Blanchard <anton@au1.ibm.com>
23481
23482 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23483 for little-endian.
23484 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23488 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23489
6a31fe7f
AM
234902013-10-04 Alan Modra <amodra@gmail.com>
23491
23492 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23493 constants to usual value for .cst8 section, and remove redundant
23494 high address load.
23495 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23496 constant for 0x1p52. Load little-endian words of double from
23497 correct stack offsets.
23498
7b88401f
AM
234992013-10-04 Alan Modra <amodra@gmail.com>
23500
23501 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23502 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23503 words of double from correct stack offsets.
23504 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23505 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23506 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23511 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23512 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23516 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23517 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23518 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23520 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23521
9c008155
AM
235222013-10-04 Alan Modra <amodra@gmail.com>
23523
23524 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23525 64-bit int/double union.
23526 (_FPU_SETCW): Likewise.
23527 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23528 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23529
da13146d
AM
235302013-10-04 Alan Modra <amodra@gmail.com>
23531
23532 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23533 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23534
603e8410
AM
235352013-10-04 Alan Modra <amodra@gmail.com>
23536
23537 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23538 use vector int constants.
23539 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23540
4a28b3ca
AB
235412013-10-04 Anton Blanchard <anton@au1.ibm.com>
23542
23543 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23544 array with long long.
23545 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23546 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23547 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23548 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23549 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23550 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23551 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23552 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23553 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23554 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23555 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23556 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23557 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23558
2ca85d2b
AB
235592013-10-04 Anton Blanchard <anton@au1.ibm.com>
23560
23561 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23562 (__signbit): Likewise. Correct for little-endian.
23563 (__signbitl): Call __signbit.
23564 (lrint): Correct for little-endian.
23565 (lrintf): Call lrint.
23566
62a728ae
AM
235672013-10-04 Alan Modra <amodra@gmail.com>
23568
23569 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23570 union 32-bit int array member with 64-bit int array.
23571 (t515, tm256): Double rather than long double.
23572 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23573
32c301df
AM
235742013-10-04 Alan Modra <amodra@gmail.com>
23575
23576 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23577 Delete.
23578 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23579 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23580 version of math_ldbl.h.
23581
650ef4bd
AM
235822013-10-04 Alan Modra <amodra@gmail.com>
23583
23584 [BZ #15734], [BZ #15735]
23585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23586 all uses of ieee875 long double macros and unions. Simplify test
23587 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23588 ldbl_extract_mantissa value for ix,iy exponents. Properly
23589 normalize after ldbl_extract_mantissa, and don't add hidden bit
23590 already handled. Don't treat low word of ieee854 mantissa like
23591 low word of IBM long double and mask off bit when testing for
23592 zero.
23593 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23594 all uses of ieee875 long double macros and unions. Simplify tests
23595 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23596 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23597 two1022, instead use their values. Recognise that tests for large
23598 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23599 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23600 Rewrite all uses of ieee875 long double macros and unions. Simplify
23601 test for 0.0L and nan. Correct negation.
23602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23603 ieee875 long double macros and unions. Correct output for large
23604 magnitude x. Correct absolute value calculation.
23605 (__erfcl): Likewise.
23606 * math/libm-test.inc: Add tests for errors discovered in IBM long
23607 double versions of fmodl, remainderl, erfl and erfcl.
23608
765714ca
AM
236092013-10-04 Alan Modra <amodra@gmail.com>
23610
23611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23612 all uses of ieee854 long double macros and unions. Simplify tests
23613 for long doubles that are fully specified by the high double.
23614 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23615 Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23617 Remove dead code too.
23618 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23619 (__ieee754_ynl): Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23623 Remove dead code too.
23624 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23628 Simplify.
23629 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23630 Simplify.
23631 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23634 Comment on variable precision.
23635 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23637 Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23641 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23642 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23643
4ebd120c
AM
236442013-10-04 Alan Modra <amodra@gmail.com>
23645
23646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23648 all uses of ieee854 long double macros and unions.
23649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23655 Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23662 Simplify sign and nan test too.
23663 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23667 Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23670 Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23677
1b6adf88
AM
236782013-10-04 Alan Modra <amodra@gmail.com>
23679
23680 * stdio-common/printf_size.c (__printf_size): Don't use
23681 union ieee854_long_double in fpnum union.
23682 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23683 signbit macro to retrieve sign from long double.
23684 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23685 retrieve sign from long double.
23686 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23687 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23688 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23689 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23690 * math/test-misc.c (main): Don't use union ieee854_long_double.
23691
4cf69995
AM
236922013-10-04 Alan Modra <amodra@gmail.com>
23693
23694 [BZ #15680]
23695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23696 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23697 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23698 calculation. Remove unnecessary test for denormal exponent.
23699 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23700 Correct handling of denormals. Avoid undefined shift behaviour.
23701 Correct normalisation of low mantissa when low double is denormal.
23702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23703 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23704 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23705 Correct normalisation of low mantissa. Test for overflow of high
23706 mantissa and normalise.
23707 (ldbl_nearbyint): Use more readable constant for two52.
23708 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23709 (__mpn_construct_long_double): Fix test for overflow of high
23710 mantissa and correct normalisation. Avoid undefined shift.
23711
9605ca6c
AM
237122013-10-04 Alan Modra <amodra@gmail.com>
23713
23714 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23715 (union ibm_extended_long_double): Define as an array of ieee754_double.
23716 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23717 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23718 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23719 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23726 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23727
975569d0
JM
237282013-10-03 Joseph Myers <joseph@codesourcery.com>
23729
d3d23756
JM
23730 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23731 page size instead of calling getpagesize.
23732
975569d0
JM
23733 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23734 (LOCFILE_ALIGN_MASK): Likewise.
23735 (LOCFILE_ALIGN_UP): Likewise.
23736 (LOCFILE_ALIGNED_P): Likewise.
23737 * locale/programs/ld-collate.c (collate_output): Use the new
23738 macros instead of __alignof__ (int32_t).
23739 * locale/weight.h (findidx): Likewise.
23740
b1fe1f2b
OB
237412013-10-03 Ondřej Bílka <neleai@seznam.cz>
23742
23743 [BZ #431]
23744 * manual/string.texi: Fix strncat and wcsncat.
23745
5f855e35
BM
237462013-10-03 Brooks Moses <bmoses@google.com>
23747
23748 [BZ #15915]
23749 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23750 * Makerules: ...here, and adjust associated comments.
23751
3cef6009
WN
237522013-10-02 Will Newton <will.newton@linaro.org>
23753
23754 * malloc/Makefile: Add tst-pvalloc.
23755 * malloc/tst-pvalloc.c: New file.
23756
7815420b
WN
237572013-10-02 Will Newton <will.newton@linaro.org>
23758
23759 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23760 improve test coverage.
23761
4868b204
WN
237622013-10-02 Will Newton <will.newton@linaro.org>
23763
23764 * malloc/Makefile: Add tst-posix_memalign.
23765 * malloc/tst-posix_memalign.c: New file.
23766
29c793b3
EB
237672013-10-01 Eric Blake <eblake@redhat.com>
23768
23769 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23770 Use __THROWNL rather than __THROW on static functions.
23771
fd967522
PM
237722013-09-30 Petr Machata <pmachata@redhat.com>
23773
23774 * elf/elf.h (R_AARCH64_ABS16): New macro.
23775 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23776 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23777 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23778 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23779 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23780 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23781 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23782 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23783 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23784 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23785 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23786 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23787 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23788 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23789 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23790 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23791 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23792 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23793 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23794 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23795 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23796 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23797 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23798 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23799 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23800 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23801 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23802 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23803 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23804 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23805 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23806 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23807 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23808 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23809 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23810 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23811 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23812 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23813 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23814 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23815 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23816 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23817 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23818 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23819 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23820 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23821 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23822 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23823 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23824 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23825 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23826 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23827 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23828 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23829 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23830 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23831 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23832 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23833 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23834 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23835 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23836 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23837 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23838 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23839 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23840 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23841 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23842 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23843 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23844 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23845 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23846 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23847 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23848 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23849 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23850 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23851 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23852 (R_AARCH64_TLSDESC_LDR): Likewise.
23853 (R_AARCH64_TLSDESC_ADD): Likewise.
23854 (R_AARCH64_TLSDESC_CALL): Likewise.
23855
b2179107
AS
238562013-09-30 Andreas Schwab <schwab@suse.de>
23857
23858 [BZ #15048]
23859 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23860 the nss database lookup.
23861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23863
47f28d0a
MF
238642013-09-28 Mike Frysinger <vapier@gentoo.org>
23865
23866 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23867
238682013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23869
23870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23871 ${Bash-specific parameter/pattern/string} parameter expansion.
23872 * sysdeps/unix/make-syscalls.sh: Likewise.
23873
f4518a17
KK
238742013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23875
23876 * sysdeps/sh/stackguard-macros.h: New file.
23877
dc1a95c7
OB
238782013-09-26 Ondřej Bílka <neleai@seznam.cz>
23879
23880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23882 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23883 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23885 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23886
5ebbff8f
AZ
238872013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23888
23889 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23890 Fix thread ID register.
23891
4fd2cf9f
JM
238922013-09-25 Joseph Myers <joseph@codesourcery.com>
23893
23894 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23895 [POSIX || UNIX98]: Require rather than permitting all symbols from
23896 <time.h>.
23897 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23898 element of struct sched_param.
23899 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23900 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23901 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23902 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23903 constant.
23904
12c22bc4
OL
239052013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23906
23907 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23908 argument calculation.
23909
a03d8ea7
JM
239102013-09-24 Joseph Myers <joseph@codesourcery.com>
23911
23912 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23913 Expect macro.
23914 [POSIX] (pthread_attr_t): Do not require type.
23915 [POSIX] (pthread_cond_t): Likewise.
23916 [POSIX] (pthread_condattr_t): Likewise.
23917 [POSIX] (pthread_key_t): Likewise.
23918 [POSIX] (pthread_mutex_t): Likewise.
23919 [POSIX] (pthread_mutexattr_t): Likewise.
23920 [POSIX] (pthread_once_t): Likewise.
23921 [POSIX] (pthread_t): Likewise.
23922 [POSIX-based standards] (pthread_atfork): Expect function.
23923
6055173a
JM
239242013-09-24 Joseph Myers <joseph@codesourcery.com>
23925 Richard Sandiford <richard@codesourcery.com>
23926
23927 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23928 (swap_endianness_p): New extern variable.
23929 (set_big_endian): New inline function.
23930 (maybe_swap_uint32): Likewise.
23931 (maybe_swap_uint32_array): Likewise.
23932 (maybe_swap_uint32_obstack): Likewise.
23933 * locale/programs/locfile.c: Include <stdbool.h>.
23934 (swap_endianness_p): New variable.
23935 (add_locale_uint32): Call maybe_swap_uint32.
23936 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23937 (write_locale_data): Call maybe_swap_uint32_array.
23938 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23939 maybe_swap_uint32.
23940 (obstack_int32_grow_fast): Likewise.
23941 (output_weightwc): Call maybe_swap_uint32_obstack.
23942 (collate_output): Likewise.
23943 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23944 (OPT_LITTLE_ENDIAN): Likewise.
23945 (options): Add --little-endian and --big-endian options.
23946 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23947 * locale/programs/locarchive.c: Include "locfile.h".
23948 (GET): New macro.
23949 (SET): Likewise.
23950 (INC): Likewise.
23951 (create_archive): Use the new macros to access fields of
23952 structures directly mapped from or written to locale archives.
23953 (oldlocrecentcmp): Likewise.
23954 (enlarge_archive): Likewise.
23955 (insert_name): Likewise.
23956 (add_alias): Likewise.
23957 (add_locale): Likewise.
23958 (delete_locales_from_archive): Likewise.
23959 (show_archive_content): Likewise.
23960 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23961 locale data.
23962
39bf0bb4
RM
239632013-09-24 Roland McGrath <roland@hack.frob.com>
23964
23965 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23966 http://www.gnu.org/doc/freemanuals.texi.
23967 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23968
f02eed10
WN
239692013-09-24 Will Newton <will.newton@linaro.org>
23970
23971 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23972 macro.
23973
a3a6c312
JM
239742013-09-23 Joseph Myers <joseph@codesourcery.com>
23975
23976 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23977 unsigned char.
23978
107375ac
MR
239792013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23980
23981 * manual/threads.texi (POSIX Threads): Fix a typo.
23982
141f3a77
SP
239832013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23984
303e567a
SP
23985 [BZ #14547]
23986 * string/tst-strcoll-overflow.c: New test case.
23987 * string/Makefile (xtests): Add tst-strcoll-overflow.
23988 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23989 cache if string sizes may cause integer overflow.
23990
141f3a77
SP
23991 [BZ #14547]
23992 * string/strcoll_l.c (coll_seq): New members rule, idx,
23993 save_idx and back_us.
23994 (get_next_seq_nocache): New function.
23995 (do_compare_nocache): New function.
23996 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23997 when malloc fails.
23998
c61b4d41
CD
239992013-09-23 Carlos O'Donell <carlos@redhat.com>
24000
0b1f8e35
CD
24001 [BZ #15754]
24002 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24003 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24004 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24005
c61b4d41
CD
24006 [BZ #15754]
24007 * elf/Makefile (tests): Add tst-ptrguard1.
24008 (tests-static): Add tst-ptrguard1-static.
24009 (tst-ptrguard1-ARGS): Define.
24010 (tst-ptrguard1-static-ARGS): Define.
24011 * elf/tst-ptrguard1.c: New file.
24012 * elf/tst-ptrguard1-static.c: New file.
24013 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24014 * sysdeps/i386/stackguard-macros.h: Likewise.
24015 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24016 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24017 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24018 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24019 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24020 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24021
240222013-09-23 Hector Marco <hecmargi@upv.es>
24023 Ismael Ripoll <iripoll@disca.upv.es>
24024 Carlos O'Donell <carlos@redhat.com>
24025
24026 [BZ #15754]
24027 * sysdeps/generic/stackguard-macros.h: Define
24028 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24029 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24030 Define __pointer_chk_guard_local.
24031 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24032 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24033
f5f4e7b4
VV
240342013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24035
24036 [BZ #15859]
24037 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24038
5bb43a43
AS
240392013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24040
24041 * include/string.h (__ffs): Declare as hidden.
24042 * string/ffs.c (__ffs): Define as hidden.
24043 * sysdeps/i386/ffs.c (__ffs): Likewise.
24044 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24045 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24046 * sysdeps/s390/ffs.c (__ffs): Likewise.
24047 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24048
3ea5be54
AO
240492013-09-20 Alexandre Oliva <aoliva@redhat.com>
24050
ffb89e53
AO
24051 * NEWS: Mention malloc probes.
24052
322dea08
AO
24053 * malloc/arena.c (new_heap): New memory_heap_new probe.
24054 (grow_heap): New memory_heap_more probe.
24055 (shrink_heap): New memory_heap_less probe.
24056 (heap_trim): New memory_heap_free probe.
24057 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24058 (systrim): New memory_sbrk_less probe.
24059 * manual/probes.texi: Document them.
24060
655673f3
AO
24061 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24062 * manual/probes.texi: Document it.
24063
35fed6f1
AO
24064 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24065 (__libc_realloc): Add memory_realloc_retry probe.
24066 (__libc_memalign): Add memory_memalign_retry probe.
24067 (__libc_valloc): Add memory_valloc_retry probe.
24068 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24069 (__libc_calloc): Add memory_calloc_retry probe.
24070 * manual/probes.texi: Document them.
24071
6999d38c
AO
24072 * malloc/arena.c (get_free_list): Add probe
24073 memory_arena_reuse_free_list.
24074 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24075 and memory_arena_reuse.
24076 (arena_get2) [!PER_THREAD]: Likewise.
24077 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24078 memory_arena_reuse_realloc.
24079 * manual/probes.texi: Document them.
24080
0653427f
AO
24081 * malloc/malloc.c (__libc_free): Add
24082 memory_mallopt_free_dyn_thresholds probe.
24083 (__libc_mallopt): Add multiple memory_mallopt probes.
24084 * manual/probes.texi: Document them.
24085
3ea5be54
AO
24086 * malloc/malloc.c: Include stap-probe.h.
24087 (__libc_mallopt): Add memory_mallopt probe.
24088 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24089 * manual/probes.texi: New.
24090 * manual/Makefile (chapters): Add probes.
24091 * manual/threads.texi: Set next node.
24092
e35696c3 240932013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24094
e35696c3
CL
24095 [BZ #15963, #13985]
24096 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24097 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24098 Add `Chinese' to `nan' entry name.
24099
4aafb73c
SP
241002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24101
24102 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24103 (POLYNOMIAL): Likewise.
24104 (TAYLOR_SINCOS): Likewise.
24105 (TAYLOR_SLOW): Likewise.
24106 (__sin): Use TAYLOR_SINCOS.
24107 (__cos): Likewise.
24108 (slow): Use TAYLOR_SLOW.
24109 (sloww): Likewise.
24110 (bsloww): Likewise.
24111 (csloww): Likewise.
24112
d84f25c7
LD
241132013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24114
24115 * stdlib/strtod_l.c: Fix buffer overrun.
24116
5eea0404
SP
241172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24118
7849ff93
SP
24119 * benchtests/Makefile (bench): Add sincos.
24120 * benchtests/bench-sincos.c: New file.
24121
cfa3c886
SP
24122 * math/libm-test.inc (cos_test_data): New test inputs.
24123 (sin_test_data): Likewise.
24124
b348e1e3
SP
24125 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24126 macro.
24127 (__sin): Use it.
24128 (__cos): Likewise.
24129 (slow1): Likewise.
24130 (slow2): Likewise.
24131 (sloww1): Likewise.
24132 (sloww2): Likewise.
24133 (bsloww1): Likewise.
24134 (bsloww2): Likewise.
24135 (cslow2): Likewise.
24136 (csloww1): Likewise.
24137 (csloww2): Likewise.
24138
6cce25f8
SP
24139 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24140 function.
24141 (__sin): Use it.
24142 (__cos): Likewise.
24143
5eea0404
SP
24144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24145 gotos.
24146 (__cos): Likewise.
24147
9c21573c
MR
241482013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24149
24150 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24151 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24152 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24153 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24154 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24155 * elf/cache.c (print_entry): Handle the new cache flags.
24156
24d22e65
JM
241572013-09-18 Joseph Myers <joseph@codesourcery.com>
24158 Aldy Hernandez <aldyh@redhat.com>
24159
24160 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24161 Change condition to [_SOFT_FLOAT].
24162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24174 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24177 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24178 declaration.
24179
d13ef066
JM
241802013-09-18 Joseph Myers <joseph@codesourcery.com>
24181
2e071de0
JM
24182 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24183 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24184 (__longjmp): Use LOAD_GP to load saved GPRs.
24185 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24186 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24187 (__sigsetjmp): Use SAVE_GP to save GPRs.
24188
d13ef066
JM
24189 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24190 Do not append -msoft-float.
24191 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24192
97a0650b
SP
241932013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24194
24195 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24196
11ca09e9
JM
241972013-09-17 Joseph Myers <joseph@codesourcery.com>
24198
24199 [BZ #15966]
24200 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24201 (_FPU_GETCW): Use initial "__" on variable and field names but not
24202 on macro parameter name.
24203 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24204 parentheses around reference to macro parameter.
24205
08ffcf34
RS
242062013-09-13 Richard Sandiford <richard@codesourcery.com>
24207
24208 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24209 prototype.
24210 (ctype_startup): Use uint32_t in cast and sizeof for
24211 ctype->charnames.
24212
ae7080d3
JL
242132013-09-11 Jia Liu <proljc@gmail.com>
24214
24215 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24216 __daddr_t_defined.
24217 [__FreeBSD__]: Likewise.
24218
5905e7b3
OB
242192013-09-11 Ondřej Bílka <neleai@seznam.cz>
24220
24221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24222 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24223 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24224 (strchr): Remove __strchr_sse42 ifunc selection.
24225 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24226 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24227
b987c776
WN
242282013-09-11 Will Newton <will.newton@linaro.org>
24229
24230 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24231 parameter to RES. Remove hardcoded 1000 value.
24232 * benchtests/bench-skeleton.c (main): Pass RES parameter
24233 to TIMING_INIT and multiply result by 1000.
24234
ddf985af
AZ
242352013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24236
24237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24238
ffdd3181
AS
242392013-09-11 Andreas Schwab <schwab@suse.de>
24240
24241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24242 if not defined.
24243 (O_TMPFILE) [__USE_GNU]: Define.
24244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24245 Define.
24246
b73ed247
WN
242472013-09-11 Will Newton <will.newton@linaro.org>
24248
24249 [BZ #15857]
24250 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24251 does not overflow.
24252
55e17aad
WN
242532013-09-11 Will Newton <will.newton@linaro.org>
24254
24255 [BZ #15856]
24256 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24257 does not overflow.
24258
1159a193
WN
242592013-09-11 Will Newton <will.newton@linaro.org>
24260
24261 [BZ #15855]
24262 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24263 does not overflow.
24264
5905e7b3 242652013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24266
24267 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24268 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24270 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24272
cdfc721b
AM
242732013-09-10 Allan McRae <allan@archlinux.org>
24274
aa04af00
AM
24275 [BZ #15748]
24276 * manual/arith.texi (Parsing of Floats): Clarify
24277 cross-reference.
24278
cdfc721b
AM
24279 [BZ #15849]
24280 * manual/install.texi (Running make install): Mention
24281 --enable-pt-chown.
24282 * INSTALL: Regenerated.
24283
95e7cf29
MR
242842013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24285
24286 * csu/init-first.c (_init): Remove the !SHARED condition around
24287 FPU control word initialization.
24288 * elf/dl-support.c (_dl_fpu_control): New variable.
24289 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24290 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24291 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24292 * math/test-fpucw-static.c: New file.
24293 * math/test-fpucw-ieee.c: New file.
24294 * math/test-fpucw-ieee-static.c: New file.
24295 * math/Makefile (tests): Add `test-fpucw-ieee' and
24296 `$(tests-static)'.
24297 (tests-static): New variable.
24298 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24299 dependency to...
24300 [($(build-shared),yes)]
24301 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24302 ... this.
24303 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24304 New dependency.
24305
83e43bf0
AM
243062013-09-09 Allan McRae <allan@archlinux.org>
24307
a9f5ce09
AM
24308 [BZ #15939]
24309 * manual/string.texi (Collation Functions): Fix typo in
24310 strcoll example.
24311 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24312
34829bc2
AM
24313 [BZ #15893]
24314 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24315
3932737d
AM
24316 [BZ #15892]
24317 * libio/memstream.c (open_memstream): Fix memory leak.
24318 * libio/wmemstream.c (open_wmemstream): Likewise.
24319
83e43bf0
AM
24320 [BZ #15895]
24321 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24322
0c66b8e9
WN
243232013-09-09 Will Newton <will.newton@linaro.org>
24324
24325 * malloc/Makefile: Add tst-realloc to tests.
24326 * malloc/tst-realloc.c: New file.
24327
f6b00fd1
AM
243282013-09-09 Allan McRae <allan@archlinux.org>
24329
24330 [BZ #15844]
24331 * COPYING: Update from GNU website to fix FSF address.
24332 * COPYING.LIB: Likewise.
24333
eec55e16
DM
243342013-09-06 David S. Miller <davem@davemloft.net>
24335
24336 * po/zh_TW.po: Update Chinese (traditional) translation from
24337 translation project.
24338
1ecbb381
RS
243392013-09-06 Richard Sandiford <richard@codesourcery.com>
24340 Joseph Myers <joseph@codesourcery.com>
24341
24342 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24343 "localeinfo.h".
24344 (obstack_chunk_alloc): New macro.
24345 (obstack_chunk_free): Likewise.
24346 (record_offset): New function.
24347 (init_locale_data): Likewise.
24348 (align_locale_data): Likewise.
24349 (add_locale_empty): Likewise.
24350 (add_locale_raw_data): Likewise.
24351 (add_locale_raw_obstack): Likewise.
24352 (add_locale_string): Likewise.
24353 (add_locale_wstring): Likewise.
24354 (add_locale_uint32): Likewise.
24355 (add_locale_uint32_array): Likewise.
24356 (add_locale_char): Likewise.
24357 (start_locale_structure): Likewise.
24358 (end_locale_structure): Likewise.
24359 (start_locale_prelude): Likewise.
24360 (end_locale_prelude): Likewise.
24361 (write_locale_data): Take locale_file structure rather than an
24362 iovec.
24363 * locale/programs/locfile.h: Include "obstack.h".
24364 (struct locale_file): Change to store locale file contents instead
24365 of header.
24366 (init_locale_data): New prototype.
24367 (align_locale_data): Likewise.
24368 (add_locale_empty): Likewise.
24369 (add_locale_raw_data): Likewise.
24370 (add_locale_raw_obstack): Likewise.
24371 (add_locale_string): Likewise.
24372 (add_locale_wstring): Likewise.
24373 (add_locale_uint32): Likewise.
24374 (add_locale_uint32_array): Likewise.
24375 (add_locale_char): Likewise.
24376 (start_locale_structure): Likewise.
24377 (end_locale_structure): Likewise.
24378 (start_locale_prelude): Likewise.
24379 (end_locale_prelude): Likewise.
24380 (write_locale_data): Update prototype.
24381 * locale/programs/3level.h (struct TABLE): Remove result field.
24382 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24383 Use new locale_file interface.
24384 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24385 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24386 * locale/programs/ld-address.c (address_output): Use new
24387 locale_file interface.
24388 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24389 NO_ADD_LOCALE.
24390 (collate_finish): Don't call collseq_table_finalize.
24391 (collate_output): Use new locale_file interface.
24392 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24393 in file.
24394 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24395 (TABLE): Move defines earlier in file.
24396 (ELEMENT): Likewise.
24397 (DEFAULT): Likewise.
24398 (wctrans_table_add): Move macro and inline function earlier in
24399 file.
24400 (struct wctype_table): Move type earlier in file.
24401 (add_locale_wctype_table): New static prototype.
24402 (struct locale_ctype_t): Use logical types instead of struct iovec
24403 pointers for members.
24404 (ctype_output): Use new locale_file interface.
24405 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24406 new locale_file interface.
24407 (allocate_arrays): Update for use of new locale_file interface.
24408 * locale/programs/ld-identification.c (identification_output): Use
24409 new locale_file interface.
24410 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24411 * locale/programs/ld-messages.c (messages_output): Likewise.
24412 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24413 * locale/programs/ld-name.c (name_output): Likewise.
24414 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24415 * locale/programs/ld-paper.c (paper_output): Likewise.
24416 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24417 * locale/programs/ld-time.c (time_output): Likewise.
24418
e029e2e5
AZ
244192013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24420
24421 * benchtests/Makefile: Add memrchr benchmark.
24422 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24423 benchmark as memrchr.
24424 * benchtests/bench-memrchr-ifunc.c: New file.
24425 * benchtests/bench-memrchr.c: New file.
24426
bbf6e8e4
WN
244272013-09-06 Will Newton <will.newton@linaro.org>
24428
24429 * benchtests/Makefile (string-bench): Add memcpy.
24430
6c82a2f8
CD
244312013-09-05 Carlos O'Donell <carlos@redhat.com>
24432 Cong Wang <amwang@redhat.com>
24433
e732c5f0 24434 [BZ #15850]
6c82a2f8
CD
24435 * sysdeps/unix/sysv/linux/bits/in.h
24436 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24437 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24438 before __USE_KERNEL_IPV6_DEFS uses.
24439 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24440 IPPROTO_BEETPH.
24441 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24442 sockaddr_in6, or ipv6_mreq.
24443
5430fc65
AZ
244442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24445
24446 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24447 memory access for final bytes in some large inputs.
24448 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24449
4660856c
AZ
244502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24451
24452 * string/test-memrchr.c: New file.
24453 * string/test-memrchr-ifunc.c: New file.
24454 * string/Makefile: Add new memrchr testcase.
24455
bb8ea713
MF
244562013-09-05 Mike Frysinger <vapier@gentoo.org>
24457
24458 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24459 fanotify_init returns EPERM.
24460
b92a20b5
JM
244612013-09-04 Joseph Myers <joseph@codesourcery.com>
24462
24463 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24464 errors.
24465 (top level): Treat second token from macro or constant entries for
24466 allowed headers as allowed.
24467 * include/complex.h: Condition internal declarations on
24468 [!_ISOMAC].
24469 * include/fenv.h: Condition include of <stdbool.h> and internal
24470 declarations on [!_ISOMAC].
7447ccd9
CL
24471
244722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24473
3e181dda 24474 [BZ #15923]
7447ccd9
CL
24475 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24476
3f2e46a4
JM
244772013-09-04 Joseph Myers <joseph@codesourcery.com>
24478
24479 * configure.in (--enable-versioning): Remove configure option.
24480 (libc_cv_asm_symver_directive): Remove configure test.
24481 (libc_cv_ld_version_script_option): Likewise.
24482 (VERSIONING): Remove variable and AC_SUBST.
24483 (DO_VERSIONING): Remove AC_DEFINE.
24484 * configure: Regenerated.
24485 * config.h.in (DO_VERSIONING): Remove macro.
24486 * Makerules [$(versioning) = yes]: Change conditionals to
24487 [$(build-shared) = yes].
24488 * config.make.in (versioning): Remove variable.
24489 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24490 [$(build-shared) = yes].
24491 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24492 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24493 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24494 [$(build-shared) = yes].
24495 * extra-lib.mk [$(versioning) = yes]: Likewise.
24496 * hurd/Makefile [$(versioning) = yes]: Likewise.
24497 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24498 [SHARED].
24499 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24500 [SHARED].
24501 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24502 [SHARED && !NO_HIDDEN].
24503 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24504 [SHARED].
24505 [SHARED && DO_VERSIONING]: Likewise..
24506 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24507 [$(build-shared) = yes].
24508 * manual/install.texi (--disable-versioning): Remove
24509 documentation.
24510 * INSTALL: Regenerated.
24511 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24512 to [SHARED].
24513 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24514 [$(build-shared) = yes].
24515 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24516 * sysdeps/i386/i686/multiarch/strstr-c.c
24517 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24518 [SHARED && !NO_HIDDEN].
24519 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24520 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24521 * sysdeps/powerpc/powerpc32/dl-machine.c
24522 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24523 * sysdeps/powerpc/powerpc32/sysdep.h
24524 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24525 to [SHARED && PIC && !NO_HIDDEN].
24526 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24527 conditional to [SHARED].
24528
44558701
WN
245292013-09-04 Will Newton <will.newton@linaro.org>
24530
24531 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24532 * benchtests/bench-string.h: Include bench-timing.h instead
24533 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24534 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24535 call to HP_TIMING_DIFF_INIT.
24536 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24537 instead of hp-timing.h macros.
24538 * benchtests/bench-memchr.c: Likewise.
24539 * benchtests/bench-memcmp.c: Likewise.
24540 * benchtests/bench-memcpy.c: Likewise.
24541 * benchtests/bench-memmem.c: Likewise.
24542 * benchtests/bench-memmove.c: Likewise.
24543 * benchtests/bench-memset.c: Likewise.
24544 * benchtests/bench-rawmemchr.c: Likewise.
24545 * benchtests/bench-strcasecmp.c: Likewise.
24546 * benchtests/bench-strcasestr.c: Likewise.
24547 * benchtests/bench-strcat.c: Likewise.
24548 * benchtests/bench-strchr.c: Likewise.
24549 * benchtests/bench-strcmp.c: Likewise.
24550 * benchtests/bench-strcpy.c: Likewise.
24551 * benchtests/bench-strcpy_chk.c: Likewise.
24552 * benchtests/bench-strlen.c: Likewise.
24553 * benchtests/bench-strncasecmp.c: Likewise.
24554 * benchtests/bench-strncat.c: Likewise.
24555 * benchtests/bench-strncmp.c: Likewise.
24556 * benchtests/bench-strncpy.c: Likewise.
24557 * benchtests/bench-strnlen.c: Likewise.
24558 * benchtests/bench-strpbrk.c: Likewise.
24559 * benchtests/bench-strrchr.c: Likewise.
24560 * benchtests/bench-strspn.c: Likewise.
24561 * benchtests/bench-strstr.c: Likewise.
24562
cae16d66
WN
245632013-09-04 Will Newton <will.newton@linaro.org>
24564
24565 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24566
ffa3cd7f
JM
245672013-09-03 Joseph Myers <joseph@codesourcery.com>
24568
24569 [BZ #15427]
24570 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24571 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24572 * math/libm-test.inc (lgamma_test_data): Add more tests.
24573 * sysdeps/i386/fpu/libm-test-ulps: Update.
24574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24575
8f02859f
OB
245762013-09-03 Ondřej Bílka <neleai@seznam.cz>
24577
24578 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24580 Add ifunc.
24581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24582 Add strcmp-sse2-unaligned
24583 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24584
18d43716
MF
245852013-09-02 Mike Frysinger <vapier@gentoo.org>
24586
24587 * Versions.def (libc): Add GLIBC_2.19.
24588
ac444012
MF
245892013-09-02 Mike Frysinger <vapier@gentoo.org>
24590
24591 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24592 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24593
b7835e32
JM
245942013-09-02 Joseph Myers <joseph@codesourcery.com>
24595
24596 [BZ #14155]
24597 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24598 intermediate calculations in recurrence.
24599 (__ieee754_ynf): Likewise.
24600 * math/libm-test.inc (jn_test_data): Do not allow spurious
24601 underflow exception. Add more tests.
24602 (yn_test_data): Add more tests.
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24605
8220f4f0
OB
246062013-09-02 Ondřej Bílka <neleai@seznam.cz>
24607
24608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24609
f24a6d08
OB
246102013-08-30 Ondřej Bílka <neleai@seznam.cz>
24611
24612 * csu/init-first.c: Fix then/than typos.
24613 * locale/programs/ld-collate.c: Likewise.
24614 * locale/programs/linereader.h: Likewise.
24615 * manual/charset.texi: Likewise.
24616 * manual/filesys.texi: Likewise.
24617 * manual/stdio.texi: Likewise.
24618 * manual/string.texi: Likewise.
24619 * stdlib/fmtmsg.c: Likewise.
24620 * sysdeps/i386/stpncpy.S: Likewise.
24621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24622 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24623 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24625
382466e0
OB
246262013-08-30 Ondřej Bílka <neleai@seznam.cz>
24627
24628 * elf/dl-open.c: Fix typos.
24629 * iconvdata/gbbig5.c: Likewise.
24630 * iconvdata/iso-2022-jp.c: Likewise.
24631 * iconv/gconv_int.h: Likewise.
24632 * iconv/loop.c: Likewise.
24633 * nis/rpcsvc/nis.h: Likewise.
24634 * resolv/ns_name.c: Likewise.
24635 * stdio-common/vfscanf.c: Likewise.
24636 * streams/stropts.h: Likewise.
24637 * sunrpc/rpc_thread.c: Likewise.
24638 * sysdeps/i386/strpbrk.S: Likewise.
24639 * sysdeps/ieee754/k_standard.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24642 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24643 * sysdeps/mach/hurd/profil.c: Likewise.
24644 * sysdeps/s390/dl-procinfo.h: Likewise.
24645 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24647 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24648 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24649 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24650
0186c6e9
OB
246512013-08-30 Ondřej Bílka <neleai@seznam.cz>
24652
24653 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24655
d4e16af1
OB
246562013-08-29 Ondřej Bílka <neleai@seznam.cz>
24657
24658 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24659 aix specific files.
24660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24663 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24664 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24665 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24666 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24667 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24668
88335980
TS
246692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24670 Roland McGrath <roland@hack.frob.com>
24671
24672 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24673 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24674
ed479b02
ST
246752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24676
24677 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24678 __executable_start symbol instead of _start.
24679
f1cc4c86
TS
246802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24681
d821f07c
TS
24682 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24683 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24684 Move macros to...
24685 * sysdeps/gnu/ldsodefs.h: ... this new file.
24686
c54290cf
TS
24687 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24688 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24689 instead of ELFOSABI_LINUX.
24690
0007fc9b 24691 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24692 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24693 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24694 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24695 Likewise.
24696 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24697 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24698 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24699 Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24701 (ibm_extended_long_double): Add ieee_nan member.
24702 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24703 (do_test): New function.
24704
f1cc4c86
TS
24705 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24706 TEST_TRUNC.
24707 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24708 functions, renamed from truncdfsf_test, trunctfsf_test,
24709 trunctfdf_test.
24710 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24711 functions.
24712 (do_test): Run all these.
24713
6f65e668
OB
247142013-08-29 Ondřej Bílka <neleai@seznam.cz>
24715
24716 * argp/argp-help.c: Fix typos.
24717 * argp/argp-parse.c: Likewise.
24718 * debug/backtracesyms.c: Likewise.
24719 * elf/elf.h: Likewise.
24720 * malloc/malloc.c: Likewise.
24721 * nis/nis_print.c: Likewise.
24722 * resolv/res_comp.c: Likewise.
24723 * stdlib/stdlib.h: Likewise.
24724 * sunrpc/clnt_tcp.c: Likewise.
24725 * sunrpc/clnt_udp.c: Likewise.
24726 * sunrpc/clnt_unix.c: Likewise.
24727 * sysdeps/unix/bsd/ptsname.c: Likewise.
24728 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24729 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24731 Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24733 Likewise.
24734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24735 Likewise.
6f65e668
OB
24736 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24737
3a309239
SP
247382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
24740 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24742
3b813b29
MF
247432013-08-27 Mike Frysinger <vapier@gentoo.org>
24744
24745 [BZ #15897]
24746 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24747 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24748 ($(objpfx)bug-dl-leaf): New rule.
24749 ($(objpfx)bug-dl-leaf.so): Likewise.
24750 ($(objpfx)bug-dl-leaf.out): Likewise.
24751 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24752 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24753 * dlfcn/bug-dl-leaf.c: New test.
24754 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24755 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24756 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24757 (dlclose): Likewise.
24758 (dlmopen): Likewise.
24759
8cc3269f
RM
247602013-08-27 Roland McGrath <roland@hack.frob.com>
24761
7f9d0034
RM
24762 * include/netdb.h [!_ISOMAC]:
24763 Don't include <tls.h>.
24764 (h_errno, __libc_h_errno): Move declaration and macros out of
24765 [_LIBC_REENTRANT].
24766
fb431262
RM
24767 * include/resolv.h [_RESOLV_H_]:
24768 Don't include <tls.h>.
24769 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24770 * resolv/res_libc.c: Don't include <tls.h>.
24771 (_res): Use __attribute__ ((nocommon)) in place of
24772 __attribute__ ((section (".bss"))).
24773
bd81123a
RM
24774 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24775 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24776
c4e42566
RM
24777 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24778
f890a59b
RM
24779 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24780 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24781
24782 * resolv/res_mkquery.c: Include <sys/time.h>.
24783
5d1f0a09
RM
24784 * inet/ifreq.c: Moved to ...
24785 * sysdeps/unix/ifreq.c: ... here.
24786 * inet/ifreq.c: New file, true stub version.
24787
6fcf28b3
RM
24788 * socket/sa_len.c: New file.
24789 * socket/Makefile (aux): Add it.
24790 * sysdeps/unix/sysv/linux/Makefile
24791 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24792 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24793 and #include <socket/sa_len.c>.
24794 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24795 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24796
e041fb8b
RM
24797 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24798 * bits/socket.h: ... here.
24799
8cc3269f
RM
24800 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24801 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24802 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24803
5d228a43
AS
248042013-08-27 Andreas Schwab <schwab@suse.de>
24805
45b8accc
AS
24806 [BZ #15736]
24807 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24808 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24809 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24810 * string/test-strcasecmp.c (test_main): Run tests in several
24811 locales.
24812 * string/test-strncasecmp.c (test_main): Likewise.
24813
5d228a43
AS
24814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24815 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24816 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24818 (__strncasecmp_ssse3) [PIC]: Likewise.
24819
59d112a4
RM
248202013-08-26 Roland McGrath <roland@hack.frob.com>
24821
53234cc3
RM
24822 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24823
59d112a4
RM
24824 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24825 instead of explicitly declaring xdecrypt.
24826 * nis/nss_nis/nis-publickey.c: Likewise.
24827
595aba70
SP
248282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24829
24830 [BZ #15890]
24831 * nscd/aicache.c: Include res_hconf.h.
24832 (addhstaiX): Initialize res_hconf.
24833
ffabd393
AS
248342013-08-26 Andreas Schwab <schwab@suse.de>
24835
24836 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24837 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24838
e0a69f5c
SP
248392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24840
24841 * nscd/aicache.c (addhstaiX): Fix indentation.
24842
8c12f01d
MF
248432013-08-25 Mike Frysinger <vapier@gentoo.org>
24844
24845 * configure.ac: Quote $build_pt_chown test.
24846 * configure: Regenerated.
24847
8fe89494
JM
248482013-08-23 Joseph Myers <joseph@codesourcery.com>
24849
24850 [BZ #15532]
24851 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24852 * math/s_cexpf.c (__cexpf): Likewise.
24853 * math/s_cexpl.c (__cexpl): Likewise.
24854 * math/libm-test.inc (cexp_test_data): Correct expected return
24855 value for NaN + i0. Add another test.
24856
75b181d6
DM
248572013-08-22 David S. Miller <davem@davemloft.net>
24858
24859 * po/ca.po: Update Catalan translation from translation project.
936241e4 24860 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24861
acd06bb1
JM
248622013-08-21 Joseph Myers <joseph@codesourcery.com>
24863
24864 [BZ #15797]
24865 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24866 is infinite, not alongside NaN test.
24867 * math/s_fdimf.c (__fdimf): Likewise.
24868 * math/s_fdiml.c (__fdiml): Likewise.
24869 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24870 errno is unchanged.
24871
c0c3f78a
OB
248722013-08-21 Ondřej Bílka <neleai@seznam.cz>
24873
24874 * argp/argp-help.c: Fix typos.
24875 * crypt/speeds.c: Likewise.
24876 * csu/check_fds.c: Likewise.
24877 * elf/dl-load.c: Likewise.
24878 * elf/dl-open.c: Likewise.
24879 * elf/reldep3.c: Likewise.
24880 * elf/reldep.c: Likewise.
24881 * elf/sprof.c: Likewise.
24882 * iconv/iconv_charmap.c: Likewise.
24883 * iconv/skeleton.c: Likewise.
24884 * iconv/strtab.c: Likewise.
24885 * io/lockf64.c: Likewise.
24886 * libio/libioP.h: Likewise.
24887 * resolv/gai_notify.c: Likewise.
24888 * resolv/ns_name.c: Likewise.
24889 * resolv/ns_samedomain.c: Likewise.
24890 * resolv/res_send.c: Likewise.
24891 * stdlib/random.c: Likewise.
24892 * sunrpc/rpc/xdr.h: Likewise.
24893 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24894 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24895 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24896 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24897 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24901 * sysdeps/mach/hurd/check_fds.c: Likewise.
24902 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24903 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24907 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24908 * sysdeps/pthread/aio_notify.c: Likewise.
24909 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24910 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24912 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24913 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24914
46ed1038
LD
249152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24916
24917 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24918 version if bit_Slow_SSE4_2 is set.
24919 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24921
d400dcac
AZ
249222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24923
24924 [BZ #15867]
24925 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24926 trampoline stack frame information.
24927 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24929 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24930 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24931 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24932 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24933 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24934 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24935 sa_flags value.
24936 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24937 interrupting a syscall and set with option SA_SIGINFO.
24938
42c8fdd8
JM
249392013-08-20 Joseph Myers <joseph@codesourcery.com>
24940
c980f2f4
JM
24941 [BZ #15531]
24942 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24943 argument is infinite.
24944 * math/s_cprojf.c (__cprojf): Likewise.
24945 * math/s_cprojl.c (__cprojl): Likewise.
24946 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24947 * math/libm-test.inc (cproj_test_data): Add more tests.
24948
0716c4fc
JM
24949 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24950
42c8fdd8
JM
24951 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24952 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24953 size. Use __ffs to determine corresponding shift.
24954
b31469d0
JM
249552013-08-20 Joseph Myers <joseph@codesourcery.com>
24956 Roland McGrath <roland@hack.frob.com>
24957
24958 * Makefile (INSTALL): Remove trailing blank lines from output of
24959 makeinfo.
24960
4e39af6e
AK
249612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24962
24963 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24964 Align 32 bit compat elf_greg to 8 bytes.
24965
f315524e
AA
249662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24967
24968 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24969
1326ba1a
SP
249702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24971
24972 * string/strcoll_l.c (coll_seq): New structure.
24973 (get_next_seq_cached): New function.
24974 (get_next_seq): New function.
24975 (do_compare): New function.
24976 (STRCOLL): Use GNU style definition. Simplify implementation
24977 by using get_next_seq, get_next_seq_cached and do_compare.
24978
91ce4085
FW
249792013-08-16 Florian Weimer <fweimer@redhat.com>
24980
24981 [BZ #14699]
24982 CVE-2013-4237
24983 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24984 member.
24985 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24986 member.
24987 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24988 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24989 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24990 conditional.
24991 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24992 GETDENTS_64BIT_ALIGNED.
24993 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24994 * manual/filesys.texi (Reading/Closing Directory): Document
24995 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24996 strongly.
24997 * manual/conf.texi (Limits for Files): Add portability note to
24998 NAME_MAX, PATH_MAX.
24999 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25000
ca0a6bc4
AS
250012013-08-13 Andreas Schwab <schwab@suse.de>
25002
25003 [BZ #15749]
25004 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25005 of fabs.
25006 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25007 LDBL_MAX_EXP >= 16384]: Add tests for it.
25008
6c1fd795
DM
250092013-08-12 David S. Miller <davem@davemloft.net>
25010
25011 * version.h (RELEASE): Set to "development".
25012 (VERSION): Set to "2.18.90".
25013 * NEWS: Add 2.19 section.
25014
31ad488d
DM
250152013-08-03 David S. Miller <davem@davemloft.net>
25016
25017 * po/ko.po: Update Korean translation from translation project.
25018
db24e684
DM
250192013-08-01 David S. Miller <davem@davemloft.net>
25020
25021 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25022 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25023 Bilka.
25024
f723285b
DM
250252013-07-30 David S. Miller <davem@davemloft.net>
25026
25027 * po/fr.po: Update French translation from translation project.
25028
3cbc52db
DM
250292013-07-28 David S. Miller <davem@davemloft.net>
25030
30bbc0cc
DM
25031 * po/cs.po: Update Czech translation from translation project.
25032
3cbc52db
DM
25033 * po/sv.po: Update Swedish translation from translation project.
25034
d492e6d0
DM
250352013-07-27 David S. Miller <davem@davemloft.net>
25036
f1a7f492
DM
25037 * po/eo.po: Update Esperanto translation from translation project.
25038
90e62a4a
DM
25039 * po/vi.po: Update Vietnamese translation from translation project.
25040
d492e6d0
DM
25041 * po/de.po: Update German translation from translation project.
25042
d4baa62d
DM
250432013-07-26 David S. Miller <davem@davemloft.net>
25044
641aa7b4
DM
25045 * po/bg.po: Update Bulgarian translation from translation project.
25046
d4baa62d
DM
25047 * po/nl.po: Update Dutch translation from translation project.
25048 * po/pl.po: Update Polish translation from translation project.
25049 * po/ru.po: Update Russian translation from translation project.
25050
61a9dcb9
DM
250512013-07-24 David S. Miller <davem@davemloft.net>
25052
25053 * po/libc.pot: Update.
25054
7b1f8b58
AZ
250552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25056
25057 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25058 variable page size.
25059 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25060 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25061 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25062
a8fc7a03
AK
250632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25064
25065 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25066
e4608715
CD
250672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25068 Andreas Schwab <schwab@suse.de>
25069 Roland McGrath <roland@hack.frob.com>
25070 Joseph Myers <joseph@codesourcery.com>
25071 Carlos O'Donell <carlos@redhat.com>
25072
25073 [BZ #15755]
25074 * config.h.in: Define HAVE_PT_CHOWN.
25075 * config.make.in (build-pt-chown): New variable.
25076 * configure.in (--enable-pt_chown): New configure option.
25077 * configure: Regenerate.
25078 * login/Makefile: Include Makeconfig. Build pt_chown only if
25079 build-pt-chown is enabled.
25080 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25081 pt_chown to fix pty ownership.
25082 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25083 CLOSE_ALL_FDS.
25084 * manual/install.texi (Configuring and compiling): Mention
25085 --enable-pt_chown. Add @findex for grantpt.
25086 * INSTALL: Regenerate.
25087
da2d62df
DM
250882013-07-20 David S. Miller <davem@davemloft.net>
25089
25090 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25091 difference between 32-bit and 64-bit.
25092
d7e06450
CD
250932013-07-15 Carlos O'Donell <carlos@redhat.com>
25094
25095 [BZ #15711]
25096 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25097 Avoid system header dependency with -ffreestanding.
25098 ($(objpfx)bits/syscall%d): Likewise.
25099
f959cfd7
DM
251002013-07-13 David S. Miller <davem@davemloft.net>
25101
25102 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25103 underflows from atanl/atan2l due to bug 15319.
25104 (casinh_test_data): Likewise.
25105
c61f8513
DM
251062013-07-07 David S. Miller <davem@davemloft.net>
25107
25108 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25109
72c90ed0
JA
251102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25111
25112 * sysdeps/i386/fpu/libm-test-ulps: Update.
25113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25114
52dfbe13
SP
251152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25116
25117 * configure.in (--enable-lock-elision): Fix message text.
25118 * INSTALL: Regenerate.
25119 * configure: Regenerate.
25120
3f169543
AZ
251212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25122
25123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25124
521c6785
AJ
251252013-07-03 Andreas Jaeger <aj@suse.de>
25126
25127 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25128 define.
25129 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25130 (ptrace_peeksiginfo_args): Add.
25131 (__ptrace_peeksiginfo_flags): Add.
25132 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25134 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25135
d2cc15cb
AM
251362013-07-03 Allan McRae <allan@archlinux.org>
25137
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139
3aaeeca7
DM
251402013-07-02 David S. Miller <davem@davemloft.net>
25141
25142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25143
5314ed1a
MT
251442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25145
25146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25147
67338156
JM
251482013-07-02 Joseph Myers <joseph@codesourcery.com>
25149
25150 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152
1717da59
AK
251532013-07-02 Andi Kleen <ak@linux.intel.com>
25154
25155 * config.h.in (ENABLE_LOCK_ELISION): Add.
25156 * configure.in (--enable-lock-elision): Add option.
25157 * manual/install.texi: Document --enable lock elision.
25158 * configure: Regenerate
25159 * INSTALL: Regenerate.
25160
1c81621c
L
251612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25162
25163 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25164 SSE4.2 strcasecmp for libc.a.
25165 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25166
77f01ab5
JM
251672013-07-02 Joseph Myers <joseph@codesourcery.com>
25168
25169 [BZ #13304]
25170 * soft-fp/op-common.h (_FP_FMA): New macro.
25171 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25172 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25173 (_FP_MUL_MEAT_1_imm): ... here.
25174 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25175 (_FP_MUL_MEAT_1_wide): ... here.
25176 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25177 (_FP_MUL_MEAT_1_hard): ... here.
25178 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25179 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25180 (_FP_MUL_MEAT_2_wide): ... here.
25181 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25182 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25183 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25184 (_FP_MUL_MEAT_2_gmp): ... here.
25185 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25186 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25187 (_FP_MUL_MEAT_4_wide): ... here.
25188 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25189 (_FP_MUL_MEAT_4_gmp): ... here.
25190 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25191 (_FP_WFRACBITS_DW_S): Likewise.
25192 (_FP_WFRACXBITS_DW_S): Likewise.
25193 (_FP_HIGHBIT_DW_S): Likewise.
25194 (FP_FMA_S): Likewise.
25195 (_FP_FRAC_HIGH_DW_S): Likewise.
25196 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25197 (_FP_WFRACBITS_DW_D): Likewise.
25198 (_FP_WFRACXBITS_DW_D): Likewise.
25199 (_FP_HIGHBIT_DW_D): Likewise.
25200 (FP_FMA_D): Likewise.
25201 (_FP_FRAC_HIGH_DW_D): Likewise.
25202 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25203 (_FP_WFRACBITS_DW_E): Likewise.
25204 (_FP_WFRACXBITS_DW_E): Likewise.
25205 (_FP_HIGHBIT_DW_E): Likewise.
25206 (FP_FMA_E): Likewise.
25207 (_FP_FRAC_HIGH_DW_E): Likewise.
25208 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25209 (_FP_WFRACBITS_DW_Q): Likewise.
25210 (_FP_WFRACXBITS_DW_Q): Likewise.
25211 (_FP_HIGHBIT_DW_Q): Likewise.
25212 (FP_FMA_Q): Likewise.
25213 (_FP_FRAC_HIGH_DW_Q): Likewise.
25214 * soft-fp/fmasf4.c: New file.
25215 * soft-fp/fmadf4.c: Likewise.
25216 * soft-fp/fmatf4.c: Likewise.
25217
6308fd9a
LD
252182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25219
25220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25221 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25222 Silvermont.
25223 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25224 macro.
25225 (index_Slow_SSE4_2): Likewise.
25226 (index_Prefer_PMINUB_for_stringop): Likewise.
25227 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25228 bit_Slow_SSE4_2 is set.
25229 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25230 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25231
89cd9569
RA
252322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25233
25234 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25235 rtld_global._dl_hwcap2.
25236 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25237 POWER8.
25238 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25239 POWER8 feature descriptions defined in _dl_hwcap2.
25240 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25241 string handling for POWER8 feature bits.
25242 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25243 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25244 _dl_powerpc_cap_flags.
25245 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25246 * sysdeps/powerpc/rtld-global-offsets.sym
25247 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25248 _dl_hwcap2 in the rtld_global_ro structure.
25249
1ae8bfe0
RA
252502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25251
25252 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25253 hardware capabilities in support of AT_HWCAP2.
25254 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25255 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25256 GLRO(dl_hwcap2).
25257 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25258 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25259 explicitly the unknown a_type display mechanism is used.
25260 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25261 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25262 struct member.
25263 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25264 to macro prototype for AT_HWCAP2 support.
25265 * sysdeps/i386/dl-procinfo.h: Likewise.
25266 * sysdeps/s390/dl-procinfo.h: Likewise.
25267 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25268 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25269 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25270 return -1 for unknown a_type display fallback.
25271 * sysdeps/sparc/dl-procinfo.h: Likewise.
25272 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25273 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25274
8fbec010
JM
252752013-06-28 Joseph Myers <joseph@codesourcery.com>
25276
25277 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25278 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25279
0432680e
PY
252802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25281
25282 [BZ #12492]
25283 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25284 mprotect making __stack_prot writable.
25285
ce61a2ad
NF
252862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25287 Joseph Myers <joseph@codesourcery.com>
25288
25289 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25290 as being properly aligned.
25291
f91f1c0f
MR
252922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25293
3d0f5d0c
MR
25294 * dlfcn/modstatic5.c: New file.
25295 * dlfcn/tststatic5.c: New file.
25296 * dlfcn/Makefile (tests): Add tststatic5.
25297 (tests-static): Likewise.
25298 (modules-names): Add modstatic5.
25299 (tststatic5-ENV): New variable.
25300 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25301
f91f1c0f
MR
25302 [BZ #15022]
25303 * elf/dl-support.c (_dl_main_map): New variable.
25304 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25305 (_dl_nns, _dl_load_adds): Set to 1.
25306 (_dl_initial_searchlist): Refer to _dl_main_map.
25307 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25308 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25309 call to _dl_get_origin.
25310 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25311 around call_map.
25312 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25313 * dlfcn/modstatic3.c: New file.
25314 * dlfcn/tststatic3.c: New file.
25315 * dlfcn/tststatic4.c: New file.
25316 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25317 (tests-static): Likewise.
25318 (modules-names): Add modstatic3.
25319 (tststatic3-ENV, tststatic4-ENV): New variables.
25320 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25321 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25322
cbe7d24b
JM
253232013-06-26 Joseph Myers <joseph@codesourcery.com>
25324
25325 * configure.in (CC): Require GCC version 4.4 or later.
25326 * configure: Regenerated.
25327 * manual/install.texi (Tools for Compilation): Update GCC version
25328 requirement.
25329 * INSTALL: Regenerated.
25330
11b8a0e1
LD
253312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25332
25333 [BZ #15674]
bb5bb87c
L
25334 * string/test-memcmp.c (check2): New.
25335 (main): Call check2.
25336
11b8a0e1
LD
25337 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25338
b0037103
MR
253392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25340
25341 [BZ #15022]
25342 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25343 over to...
25344 (dl_open_worker) [!SHARED]: ... here.
25345
c18c701d
RA
253462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25347
25348 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25349
1d17fa5f
RH
253502013-06-25 Richard Henderson <rth@redhat.com>
25351
25352 * locale/programs/locarchive.c: Include <libc-internal.h>
25353
8fcb833a
JM
253542013-06-25 Joseph Myers <joseph@codesourcery.com>
25355
25356 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25357 trailing whitespace removed.
25358
17db6e8d
MF
253592013-06-24 Mike Frysinger <vapier@gentoo.org>
25360
25361 [BZ #10283]
17db6e8d
MF
25362 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25363 * locale/programs/locarchive.c: Include libc-mmap.h.
25364 (prepare_address_space): Take two new outputs (the mmap base and len).
25365 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25366 values.
25367 (create_archive): Declare new mmap base and len values for
25368 prepare_address_space, and store the result in ah.
25369 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25370 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25371 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25372 Declare new mmap base and len values for
25373 prepare_address_space, and store the result in new_ah.
25374 (open_archive): Declare new mmap base and len values for
25375 prepare_address_space, and store the result in ah.
25376 (close_archive): If ah->mmap_base is not NULL, use that and
25377 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25378 * sysdeps/generic/libc-mmap.h: New file.
25379
d605071e
MF
253802013-06-24 Mike Frysinger <vapier@gentoo.org>
25381
25382 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25383 (ALIGN_UP): Likewise.
25384 (PTR_ALIGN_DOWN): Likewise.
25385 (PTR_ALIGN_UP): Likewise.
25386
2f063a6e
RA
253872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25388
25389 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25390 entry mapped to PPC_PLATFORM_POWER8.
25391 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25392 POWER8.
25393 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25394 (_dl_string_platform): Add case for exporting platform position for
25395 POWER8.
25396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25397 search path to sysdeps/powerpc/powerpc32/power8 directory.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25399 search path to sysdeps/powerpc/powerpc64/power8 directory.
25400 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25401 power7 directories.
25402 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25403 power7 directories.
25404
a31ee4b3
SP
254052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25406
a74ca98f
SP
25407 * INSTALL: Regenerate.
25408
a31ee4b3
SP
25409 * nscd/connections.c (nscd_init): Fix comment.
25410
695c378f
JM
254112013-06-22 Joseph Myers <joseph@codesourcery.com>
25412
d8412221
JM
25413 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25414
695c378f
JM
25415 [BZ #15667]
25416 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25417 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25418
d1d54715
MR
254192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25420
25421 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25422 DL_DST_REQ_STATIC.
25423 (DL_DST_REQ_STATIC): Remove macro.
25424
8fdda7af
JM
254252013-06-21 Joseph Myers <joseph@codesourcery.com>
25426
25427 [BZ #7006]
25428 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25429 with a shift of 0 bits.
25430
f3bc5e5a
MR
254312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25432
25433 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25434 $(tststatic-ENV).
25435
be09e8c9
KK
254362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25437
25438 [BZ #15655]
25439 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25440
85c2e611
AZ
254412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25442
25443 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25444 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25445 accepts -fno-tree-loop-distribute-patterns.
25446 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25447 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25448 recursive call.
25449 * string/memset.c (memset): Likewise.
25450 * string/test-memmove.c (simple_memmove): Disable loop transformation
25451 to library calls.
25452 * string/test-memset.c (simple_memset): Likewise.
25453 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25454 * benchtests/bench-memset.c (simple_memset): Likewise.
25455 * configure: Regenerated.
25456
c91e0825
JM
254572013-06-20 Joseph Myers <joseph@codesourcery.com>
25458
b8c792af
JM
25459 * math/test-misc.c (main): Ignore fesetround failure when failures
25460 of subsequent rounding tests would be ignored.
25461
c91e0825
JM
25462 [BZ #15654]
25463 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25464 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25465 * math/fegetenv.c (__fegetenv): Return 0.
25466 * math/fegetexcept.c (fegetexcept): Return 0.
25467 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25468 FE_TONEAREST.
25469 * math/feholdexcpt.c (feholdexcept): Return 0.
25470 * math/fesetenv.c (__fesetenv): Return 0.
25471 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25472 argument FE_TONEAREST.
25473 * math/feupdateenv.c (__feupdateenv): Return 0.
25474 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25475
bfcacbde
RM
254762013-06-18 Roland McGrath <roland@hack.frob.com>
25477
25478 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25479 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25480 ($(objpfx)rtld-%.os rules): Use them.
25481
e55a9b25
AZ
254822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25483
25484 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25485 fields.
25486
346d65b3
RM
254872013-06-17 Roland McGrath <roland@hack.frob.com>
25488
12086fb4
RM
25489 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25490 length of target pattern, then descending length of dependency pattern.
25491 * configure.in (AWK): Require gawk 3.1.2 or newer.
25492 * manual/install.texi (Tools for Compilation): Say that we do.
25493 * configure: Regenerated.
25494
346d65b3
RM
25495 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25496 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25497 * scripts/sysd-rules.awk: ... this new script.
25498 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25499 than a glob-style pattern.
25500
1a846317
JM
255012013-06-17 Joseph Myers <joseph@codesourcery.com>
25502
25503 * math/test-misc.c (main): Do not treat incorrectly rounded
25504 conversions as failure unless ROUNDING_TESTS passes.
25505
8fc75e6f
JM
255062013-06-15 Joseph Myers <joseph@codesourcery.com>
25507
3711a167
JM
25508 [BZ #15631]
25509 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25510 restore exception state around main square root computation, then
25511 check for inexactness explicitly.
25512
8fc75e6f
JM
25513 * math/libm-test.inc (fma_test_data): Add another test.
25514
61dd6208
SP
255152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25516
adf23d2c
SP
25517 * manual/threads.texi (Non-POSIX Extensions): New document
25518 node. Document pthread_getattr_default_np and
25519 pthread_setattr_default_np.
25520
61dd6208
SP
25521 * Versions.def (libpthread): Add GLIBC_2.18.
25522 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25524 Likewise.
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25526 Likewise.
25527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25528 Likewise.
25529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25530 Likewise.
25531 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25532 Likewise.
25533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25534 Likewise.
25535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25536 Likewise.
25537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25538 Likewise.
25539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25540 Likewise.
25541
d086fc7b
LD
255422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25543
25544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25545 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25546
747ef469
SP
255472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25548 H.J. Lu <hjl.tools@gmail.com>
25549
25550 [BZ #15627]
25551 * sysdeps/x86_64/rtld-memset.c: Remove file.
25552 * sysdeps/x86_64/rtld-memset.S: New file.
25553
1b2feed2
JM
255542013-06-14 Joseph Myers <joseph@codesourcery.com>
25555
25556 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25557 (test_in_one_mode): Take arguments for whether the rounding mode
25558 is supported for each floating-point type.
25559 (do_test): Pass new arguments to test_in_one_mode using
25560 ROUNDING_TESTS.
25561
a58ad3f8
RM
255622013-06-13 Roland McGrath <roland@hack.frob.com>
25563
25564 * posix/tst-waitid.c (do_test): Distinguish different instances of
25565 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25566 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25567 before entering the kernel for waitpid.
25568
c204ab28
SP
255692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25570
25571 * NEWS: Fix note on clock function precision. Text by Roland
25572 McGrath.
25573
f4a29fba
RM
255742013-06-13 Roland McGrath <roland@hack.frob.com>
25575
25576 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25577 it into place only when and if the sanity check passes.
25578
1f24b9ad
JM
255792013-06-13 Joseph Myers <joseph@codesourcery.com>
25580
25581 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25582 output for whether conversion result is exact. Take argument
25583 indicating whether type is IBM long double.
25584 (round_for_all): Change need_exact field to ibm_ld.
25585 * stdlib/tst-strtod-round.c (struct exactness): New type.
25586 (struct test): Change bool ld_ok field to struct exactness exact.
25587 (TEST): Update all definitions for change to field.
25588 (tests): Regenerate array contents.
25589 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25590 field value. Check for IBM long double here.
25591 (do_test): Update calls to test_in_one_mode.
25592
58206c68
SP
255932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 [BZ #12515]
25596 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25597 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25598
2d6f4c5b 255992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25600
25601 [BZ #15605]
25602 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25603 generated by the compiler on loop optimizations.
25604 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25605 general definitions.
25606
94f2c076
JM
256072013-06-12 Joseph Myers <joseph@codesourcery.com>
25608
25609 * math/bug-nextafter.c: Include <math-tests.h>.
25610 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25611 the relevant type.
25612 * math/bug-nexttoward.c: Include <math-tests.h>.
25613 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25614 the relevant type.
25615 * math/test-misc.c: Include <math-tests.h>.
25616 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25617 the relevant type.
25618
e0e50a0a
AJ
256192013-06-12 Andreas Jaeger <aj@suse.de>
25620
25621 * po/ia.po: Update Interlingua translation from translation
25622 project.
25623
25061094
SP
256242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25625
25626 * include/fenv.h: Include stdbool.h.
25627 (struct rm_ctx): New structure.
25628 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25629 Define macro.
25630 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25631 (SET_RESTORE_ROUNDF): Likewise.
25632 (SET_RESTORE_ROUNDL): Likewise.
25633 (SET_RESTORE_ROUND_NOEX): Likewise.
25634 (SET_RESTORE_ROUND_NOEXF): Likewise.
25635 (SET_RESTORE_ROUND_NOEXL): Likewise.
25636 (SET_RESTORE_ROUND_53BIT): Likewise.
25637 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25638 (libc_feresetround_noexf_ctx): Likewise.
25639 (libc_feresetround_noexl_ctx): Likewise.
25640 (libc_feholdsetround_53bit_ctx): Likewise.
25641 (libc_feresetround_53bit_ctx): Likewise.
25642 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25643 (libc_feholdexcept_setround_sse_ctx): New function.
25644 (libc_fesetenv_sse_ctx): Likewise.
25645 (libc_feupdateenv_sse_ctx): Likewise.
25646 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25647 (libc_feholdexcept_setround_387_ctx): Likewise.
25648 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25649 (libc_feholdsetround_387_prec_ctx): Likewise.
25650 (libc_feholdsetround_387_ctx): Likewise.
25651 (libc_feholdsetround_387_53bit_ctx): Likewise.
25652 (libc_feholdsetround_sse_ctx): Likewise.
25653 (libc_feresetround_sse_ctx): Likewise.
25654 (libc_feresetround_387_ctx): Likewise.
25655 (libc_feupdateenv_387_ctx): Likewise.
25656 (libc_feholdexcept_setroundf_ctx): Define macro.
25657 (libc_fesetenvf_ctx): Likewise.
25658 (libc_feupdateenvf_ctx): Likewise.
25659 (libc_feholdsetroundf_ctx): Likewise.
25660 (libc_feresetroundf_ctx): Likewise.
25661 (libc_feholdexcept_setround_ctx): Likewise.
25662 (libc_fesetenv_ctx): Likewise.
25663 (libc_feupdateenv_ctx): Likewise.
25664 (libc_feholdsetround_ctx): Likewise.
25665 (libc_feresetround_ctx): Likewise.
25666 (libc_feholdexcept_setroundl_ctx): Likewise.
25667 (libc_feupdateenvl_ctx): Likewise.
25668 (libc_feholdsetroundl_ctx): Likewise.
25669 (libc_feresetroundl_ctx): Likewise.
25670 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25671 (libc_feresetround_53bit_ctx): Likewise.
25672
59b30555
SP
256732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25674
25675 * locale/iso-639.def: Convert to UTF-8.
25676
f1d73d30
JM
256772013-06-11 Joseph Myers <joseph@codesourcery.com>
25678
25679 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25680 (EXCEPTION_TESTS_double): Likewise.
25681 (EXCEPTION_TESTS_long_double): Likewise.
25682 (EXCEPTION_TESTS): Likewise.
25683 * math/libm-test.inc (test_exceptions): Only test exceptions if
25684 EXCEPTION_TESTS (FLOAT).
25685
94aca5e7
SP
256862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25687
25688 * benchtests/Makefile (string-bench): Add strcpy_chk and
25689 stpcpy_chk.
25690 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25691 * benchtests/bench-stpcpy_chk.c: New file.
25692 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25693 * benchtests/bench-strcpy_chk.c: New file.
25694 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25695 code.
25696 (do_test): Likewise.
25697
fac0c5f2
RA
256982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25699
25700 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25701 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25702 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25703 with tabs where appropriate.
25704 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25705 dl-procinfo.h.
25706 [PPC_PLATFORM_PPC440]: Likewise.
25707 [PPC_PLATFORM_PPC464]: Likewise.
25708 [PPC_PLATFORM_PPC476]: Likewise.
25709 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25710 ppc464, and ppc476 platform strings merging from ports/
25711 dl-procinfo.h.
25712
f22bc486
AS
257132013-06-11 Andreas Schwab <schwab@suse.de>
25714
25715 [BZ #14991]
25716 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25717 (from_ucs4_idx): Regenerate.
25718 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25719 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25720 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25721 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25722 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25723 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25724 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25725 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25726 from FROM_LOOP and TO_LOOP specific macros.
25727 (BODY): Handle combining characters.
25728 * iconvdata/BIG5HKSCS.irreversible: Update.
25729 * iconvdata/BIG5HKSCS.precomposed: New file.
25730 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25731 characters.
25732 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25733
c1f75dc3
SP
257342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25735
4eacded2
SP
25736 * include/sys/time.h: Fix indentation and add copyright header.
25737
fec799f8
SP
25738 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25739 (do_test): Likewise.
25740 * string/test-memchr.c (do_one_test): Likewise.
25741 (do_test): Likewise.
25742 * string/test-memcmp.c (do_one_test): Likewise.
25743 (do_test): Likewise.
25744 * string/test-memcpy.c (do_one_test): Likewise.
25745 (do_test): Likewise.
25746 * string/test-memmem.c (do_one_test): Likewise.
25747 (do_test): Likewise.
25748 (do_random_tests): Likewise.
25749 * string/test-memmove.c (do_one_test): Likewise.
25750 (do_test): Likewise.
25751 * string/test-memset.c (do_one_test): Likewise.
25752 (do_test): Likewise.
25753 * string/test-rawmemchr.c (do_one_test): Likewise.
25754 (do_test): Likewise.
25755 * string/test-strcasecmp.c (do_one_test): Likewise.
25756 (do_test): Likewise.
25757 * string/test-strcasestr.c (do_one_test): Likewise.
25758 (do_test): Likewise.
25759 * string/test-strcat.c (do_one_test): Likewise.
25760 (do_test): Likewise.
25761 * string/test-strchr.c (do_one_test): Likewise.
25762 (do_test): Likewise.
25763 * string/test-strcmp.c (do_one_test): Likewise.
25764 (do_test): Likewise.
25765 * string/test-strcpy.c (do_one_test): Likewise.
25766 (do_test): Likewise.
25767 * string/test-string.h: Likewise.
25768 (test_init): Likewise.
25769 * string/test-strlen.c (do_one_test): Likewise.
25770 (do_test): Likewise.
25771 * string/test-strncasecmp.c (do_one_test): Likewise.
25772 (do_test): Likewise.
25773 * string/test-strncat.c (do_one_test): Likewise.
25774 (do_test): Likewise.
25775 * string/test-strncmp.c (do_one_test): Likewise.
25776 (do_test_limit): Likewise.
25777 (do_test): Likewise.
25778 * string/test-strncpy.c (do_one_test): Likewise.
25779 (do_test): Likewise.
25780 * string/test-strnlen.c (do_one_test): Likewise.
25781 (do_test): Likewise.
25782 * string/test-strpbrk.c (do_one_test): Likewise.
25783 (do_test): Likewise.
25784 * string/test-strrchr.c (do_one_test): Likewise.
25785 (do_test): Likewise.
25786 * string/test-strspn.c (do_one_test): Likewise.
25787 (do_test): Likewise.
25788 * string/test-strstr.c (do_one_test): Likewise.
25789 (do_test): Likewise.
25790
97020474
SP
25791 * benchtests/Makefile (string-bench): Add string benchmarks.
25792 * benchtests/bench-bcopy-ifunc.c: New file.
25793 * benchtests/bench-bcopy.c: New file.
25794 * benchtests/bench-bzero-ifunc.c: New file.
25795 * benchtests/bench-bzero.c: New file.
25796 * benchtests/bench-memccpy-ifunc.c: New file.
25797 * benchtests/bench-memccpy.c: New file.
25798 * benchtests/bench-memchr-ifunc.c: New file.
25799 * benchtests/bench-memchr.c: New file.
25800 * benchtests/bench-memcmp-ifunc.c: New file.
25801 * benchtests/bench-memcmp.c: New file.
25802 * benchtests/bench-memmem-ifunc.c: New file.
25803 * benchtests/bench-memmem.c: New file.
25804 * benchtests/bench-memmove-ifunc.c: New file.
25805 * benchtests/bench-memmove.c: New file.
25806 * benchtests/bench-mempcpy-ifunc.c: New file.
25807 * benchtests/bench-mempcpy.c: New file.
25808 * benchtests/bench-memset-ifunc.c: New file.
25809 * benchtests/bench-memset.c: New file.
25810 * benchtests/bench-rawmemchr-ifunc.c: New file.
25811 * benchtests/bench-rawmemchr.c: New file.
25812 * benchtests/bench-stpcpy-ifunc.c: New file.
25813 * benchtests/bench-stpcpy.c: New file.
25814 * benchtests/bench-stpncpy-ifunc.c: New file.
25815 * benchtests/bench-stpncpy.c: New file.
25816 * benchtests/bench-strcasecmp-ifunc.c: New file.
25817 * benchtests/bench-strcasecmp.c: New file.
25818 * benchtests/bench-strcasestr-ifunc.c: New file.
25819 * benchtests/bench-strcasestr.c: New file.
25820 * benchtests/bench-strcat-ifunc.c: New file.
25821 * benchtests/bench-strcat.c: New file.
25822 * benchtests/bench-strchr-ifunc.c: New file.
25823 * benchtests/bench-strchr.c: New file.
25824 * benchtests/bench-strchrnul-ifunc.c: New file.
25825 * benchtests/bench-strchrnul.c: New file.
25826 * benchtests/bench-strcmp-ifunc.c: New file.
25827 * benchtests/bench-strcmp.c: New file.
25828 * benchtests/bench-strcpy-ifunc.c: New file.
25829 * benchtests/bench-strcpy.c: New file.
25830 * benchtests/bench-strcspn-ifunc.c: New file.
25831 * benchtests/bench-strcspn.c: New file.
25832 * benchtests/bench-strlen-ifunc.c: New file.
25833 * benchtests/bench-strlen.c: New file.
25834 * benchtests/bench-strncasecmp-ifunc.c: New file.
25835 * benchtests/bench-strncasecmp.c: New file.
25836 * benchtests/bench-strncat-ifunc.c: New file.
25837 * benchtests/bench-strncat.c: New file.
25838 * benchtests/bench-strncmp-ifunc.c: New file.
25839 * benchtests/bench-strncmp.c: New file.
25840 * benchtests/bench-strncpy-ifunc.c: New file.
25841 * benchtests/bench-strncpy.c: New file.
25842 * benchtests/bench-strnlen-ifunc.c: New file.
25843 * benchtests/bench-strnlen.c: New file.
25844 * benchtests/bench-strpbrk-ifunc.c: New file.
25845 * benchtests/bench-strpbrk.c: New file.
25846 * benchtests/bench-strrchr-ifunc.c: New file.
25847 * benchtests/bench-strrchr.c: New file.
25848 * benchtests/bench-strspn-ifunc.c: New file.
25849 * benchtests/bench-strspn.c: New file.
25850 * benchtests/bench-strstr-ifunc.c: New file.
25851 * benchtests/bench-strstr.c: New file.
25852
c1f75dc3
SP
25853 * benchtests/Makefile: Disable parallel execution of targets.
25854 (string-bench): Add memcpy.
25855 (benchset): New variable to store a list of benchmark sets.
25856 (bench-func): Renamed from bench.
25857 (bench-set): New target.
25858 (bench): Depend on bench-func and bench-set.
25859 * benchtests/README: Add section on benchmark sets.
25860 * benchtests/bench-memcpy-ifunc.c: New file.
25861 * benchtests/bench-memcpy.c: New file.
25862 * benchtests/bench-string.h: New file.
25863
50fd745b
AS
258642013-06-11 Andreas Schwab <schwab@suse.de>
25865
25866 [BZ #15577]
25867 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25868 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25869 values in the triple.
25870 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25871 terminator in the group key.
25872
3ee7e9fe
AJ
258732013-06-11 Andreas Jaeger <aj@suse.de>
25874
25875 * po/zh_TW.po: Update Chinese (traditional) translation from
25876 translation project.
25877
89fb6835
SP
258782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25879
25880 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25881 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25882 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25884 (clock_getcpuclockid): Likewise.
25885 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25886 Add weak_alias and libc_hidden_def.
25887 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25888 * rt/clock_gettime.c (clock_gettime): Rename to
25889 __clock_gettime. Add weak_alias and libc_hidden_def.
25890 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25891 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25892 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25893 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25894 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25895 Likewise.
25896 * rt/clock_settime.c (clock_settime): Rename to
25897 __clock_settime. Add weak_alias and libc_hidden_def.
25898 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25899
0efa6f8b
JM
259002013-06-10 Joseph Myers <joseph@codesourcery.com>
25901
b8c61b4b
JM
25902 * mach/err_boot.sub: Remove trailing whitespace.
25903 * mach/err_ipc.sub: Likewise.
25904 * mach/err_mach.sub: Likewise.
25905
0efa6f8b
JM
25906 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25907 (ROUNDING_TESTS_double): Likewise.
25908 (ROUNDING_TESTS_long_double): Likewise.
25909 (ROUNDING_TESTS): Likewise.
25910 * math/libm-test.inc: Include <math-tests.h>.
25911 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25912 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25913 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25914 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25915
50b818bf
SP
259162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25917
25918 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25919 of assigning.
25920
60d2f8f3
JM
259212013-06-08 Joseph Myers <joseph@codesourcery.com>
25922
4902d2c3
JM
25923 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25924 otherwise empty TRANS lines.
25925 * sysdeps/gnu/errlist.c: Regenerated.
25926
60d2f8f3
JM
25927 * catgets/gencat.c (error_print): Use (void) in function
25928 definition.
25929 * crypt/crypt_util.c (__init_des): Likewise.
25930 * crypt/speeds.c (Stop): Likewise.
25931 (main): Likewise.
25932 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25933 * inet/ruserpass.c (token): Likewise.
25934 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25935 * intl/localealias.c (extend_alias_table): Likewise.
25936 * intl/plural-exp.c (init_germanic_plural): Likewise.
25937 * libio/fcloseall.c (__fcloseall): Likewise.
25938 * libio/genops.c (_IO_flush_all): Likewise.
25939 (_IO_flush_all_linebuffered): Likewise.
25940 (_IO_cleanup): Likewise.
25941 (_IO_iter_begin): Likewise.
25942 (_IO_iter_end): Likewise.
25943 (_IO_list_lock): Likewise.
25944 (_IO_list_unlock): Likewise.
25945 (_IO_list_resetlock): Likewise.
25946 * libio/getchar.c (getchar): Likewise.
25947 * libio/getchar_u.c (getchar_unlocked): Likewise.
25948 * libio/getwchar.c (getwchar): Likewise.
25949 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25950 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25951 * login/getpt.c (__getpt): Likewise.
25952 * login/tst-utmp.c (main): Likewise.
25953 * malloc/hooks.c (__malloc_check_init): Likewise.
25954 * malloc/malloc.c (__malloc_stats): Likewise.
25955 * malloc/mtrace.c (tr_break): Likewise.
25956 (mtrace): Likewise.
25957 (muntrace): Likewise.
25958 * misc/fstab.c (endfsent): Likewise.
25959 * misc/getclktck.c (__getclktck): Likewise.
25960 * misc/getdtsz.c (__getdtablesize): Likewise.
25961 * misc/gethostid.c (gethostid): Likewise.
25962 * misc/getpagesize.c (__getpagesize): Likewise.
25963 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25964 (__get_nprocs): Likewise.
25965 (__get_phys_pages): Likewise.
25966 (__get_avphys_pages): Likewise.
25967 * misc/getttyent.c (getttyent): Likewise.
25968 (setttyent): Likewise.
25969 (endttyent): Likewise.
25970 * misc/getusershell.c (getusershell): Likewise.
25971 (endusershell): Likewise.
25972 (setusershell): Likewise.
25973 (initshells): Likewise.
25974 * misc/hsearch.c (__hdestroy): Likewise.
25975 * misc/sync.c (sync): Likewise.
25976 * misc/syslog.c (closelog_internal): Likewise.
25977 (closelog): Likewise.
25978 * misc/ttyslot.c (ttyslot): Likewise.
25979 * misc/vhangup.c (vhangup): Likewise.
25980 * posix/fork.c (__fork): Likewise.
25981 * posix/getegid.c (__getegid): Likewise.
25982 * posix/geteuid.c (__geteuid): Likewise.
25983 * posix/getgid.c (__getgid): Likewise.
25984 * posix/getpid.c (__getpid): Likewise.
25985 * posix/getppid.c (__getppid): Likewise.
25986 * posix/getuid.c (__getuid): Likewise.
25987 * posix/pause.c (pause): Likewise.
25988 * posix/setpgrp.c (setpgrp): Likewise.
25989 * posix/setsid.c (__setsid): Likewise.
25990 * posix/test-vfork.c (noop): Likewise.
25991 * resolv/gethnamaddr.c (_endhtent): Likewise.
25992 (_gethtent): Likewise.
25993 (ht_endhostent): Likewise.
25994 (gethostent): Likewise.
25995 (dns_service): Likewise.
25996 * stdlib/drand48.c (drand48): Likewise.
25997 * stdlib/lrand48.c (lrand48): Likewise.
25998 * stdlib/mrand48.c (mrand48): Likewise.
25999 * stdlib/rand.c (rand): Likewise.
26000 * stdlib/random.c (__random): Likewise.
26001 * stdlib/setenv.c (clearenv): Likewise.
26002 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26003 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26004 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26005 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26006 (__get_nprocs): Likewise.
26007 (__get_phys_pages): Likewise.
26008 (__get_avphys_pages): Likewise.
26009 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26010 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26011 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26012 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26013 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26014 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26015 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26016 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26017 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26018 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26019 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26020 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26021 * sysdeps/posix/clock.c (clock): Likewise.
26022 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26023 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26024 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26025 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26026 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26028 (__get_nprocs_conf): Likewise.
26029 (__get_phys_pages): Likewise.
26030 (__get_avphys_pages): Likewise.
26031 * time/clock.c (clock): Likewise.
26032 * time/tzset.c (__tzname_max): Likewise.
26033
2e09a79a
JM
260342013-06-07 Joseph Myers <joseph@codesourcery.com>
26035
26036 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26037 (__bswap_32): Do not use "register".
26038 * crypt/crypt.c (_ufc_doit_r): Likewise.
26039 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26040 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26041 * gmon/gmon.c (__monstartup): Likewise.
26042 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26043 * hurd/hurdmalloc.c (more_memory): Likewise.
26044 (malloc): Likewise.
26045 (free): Likewise.
26046 (realloc): Likewise.
26047 (malloc_fork_prepare): Likewise.
26048 (malloc_fork_parent): Likewise.
26049 (malloc_fork_child): Likewise.
26050 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26051 (_svcauth_des): Likewise.
26052 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26053 * inet/inet_net.c (inet_network): Likewise.
26054 * inet/inet_netof.c (inet_netof): Likewise.
26055 * inet/rcmd.c (__validuser2_sa): Likewise.
26056 * io/fts.c (fts_open): Likewise.
26057 (fts_load): Likewise.
26058 (fts_close): Likewise.
26059 (fts_read): Likewise.
26060 (fts_children): Likewise.
26061 (fts_build): Likewise.
26062 (fts_stat): Likewise.
26063 (fts_sort): Likewise.
26064 (fts_alloc): Likewise.
26065 (fts_lfree): Likewise.
26066 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26067 (_IO_file_xsgetn): Likewise.
26068 (_IO_file_xsgetn_mmap): Likewise.
26069 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26070 (_IO_cookie_write): Likewise.
26071 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26072 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26073 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26074 * malloc/obstack.c (_obstack_begin): Likewise.
26075 (_obstack_begin_1): Likewise.
26076 (_obstack_newchunk): Likewise.
26077 (_obstack_allocated_p): Likewise.
26078 (obstack_free): Likewise.
26079 (_obstack_memory_used): Likewise.
26080 * misc/getttyent.c (getttynam): Likewise.
26081 (getttyent): Likewise.
26082 (skip): Likewise.
26083 (value): Likewise.
26084 * misc/getusershell.c (initshells): Likewise.
26085 * misc/syslog.c (__vsyslog_chk): Likewise.
26086 * misc/ttyslot.c (ttyslot): Likewise.
26087 * nis/nis_hash.c (__nis_hash): Likewise.
26088 * posix/fnmatch_loop.c (FCT): Likewise.
26089 * posix/getconf.c (print_all): Likewise.
26090 (main): Likewise.
26091 * posix/getopt.c (exchange): Likewise.
26092 * posix/glob.c (globfree): Likewise.
26093 (prefix_array): Likewise.
26094 (__glob_pattern_type): Likewise.
26095 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26096 (NS_GET32): Likewise.
26097 (NS_PUT16): Likewise.
26098 (NS_PUT32): Likewise.
26099 * resolv/gethnamaddr.c (getanswer): Likewise.
26100 (gethostbyname2): Likewise.
26101 (gethostbyaddr): Likewise.
26102 (_gethtent): Likewise.
26103 (_gethtbyname2): Likewise.
26104 (_gethtbyaddr): Likewise.
26105 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26106 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26107 * resolv/res_init.c (__res_vinit): Likewise.
26108 (net_mask): Likewise.
26109 * resolv/res_mkquery.c (outchar): Likewise.
26110 (PRINT): Likewise.
26111 * stdio-common/printf_fp.c (outchar): Likewise.
26112 (PRINT): Likewise.
26113 * stdio-common/printf_fphex.c (outchar): Likewise.
26114 (PRINT): Likewise.
26115 * stdio-common/printf_size.c (outchar): Likewise.
26116 (PRINT): Likewise.
26117 * stdio-common/test_rdwr.c (main): Likewise.
26118 * stdio-common/tfformat.c (matches): Likewise.
26119 * stdio-common/vfprintf.c (outchar): Likewise.
26120 (printf_unknown): Likewise.
26121 (buffered_vfprintf): Likewise.
26122 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26123 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26124 (ReadFile): Likewise.
26125 * stdlib/qsort.c (SWAP): Likewise.
26126 (_quicksort): Likewise.
26127 * stdlib/setenv.c (__add_to_environ): Likewise.
26128 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26129 * stdlib/strtol_l.c (__strtol_l): Likewise.
26130 * stdlib/tst-strtod.c (main): Likewise.
26131 * stdlib/tst-strtol.c (main): Likewise.
26132 * stdlib/tst-strtoll.c (main): Likewise.
26133 * string/bits/string2.h (__strcmp_cc): Likewise.
26134 (__strcmp_cg): Likewise.
26135 (__strcspn_c1): Likewise.
26136 (__strcspn_c2): Likewise.
26137 (__strcspn_c3): Likewise.
26138 (__strspn_c1): Likewise.
26139 (__strspn_c2): Likewise.
26140 (__strspn_c3): Likewise.
26141 (__strsep_1c): Likewise.
26142 (__strsep_2c): Likewise.
26143 (__strsep_3c): Likewise.
26144 * string/memccpy.c (__memccpy): Likewise.
26145 * string/stpcpy.c (__stpcpy): Likewise.
26146 * string/strcmp.c (strcmp): Likewise.
26147 * string/strrchr.c (strrchr): Likewise.
26148 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26149 Likewise.
26150 * sysdeps/mach/hurd/getcwd.c
26151 (_hurd_canonicalize_directory_name_internal): Likewise.
26152 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26153 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26154 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26155 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26156 Likewise, in both definitions.
26157 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26158 definitions.
26159 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26160 64] (__bswap_64): Likewise.
26161 * time/test_time.c (main): Likewise.
26162 * time/tzfile.c (__tzfile_read): Likewise.
26163 (__tzfile_compute): Likewise.
26164 * time/tzset.c (__tzset_parse_tz): Likewise.
26165 (tzset_internal): Likewise.
26166 (compute_change): Likewise.
26167 * wcsmbs/wcscat.c (__wcscat): Likewise.
26168 * wcsmbs/wcschr.c (wcschr): Likewise.
26169 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26170 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26171 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26172 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26173 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26174 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26175 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26176 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26177 * wcsmbs/wmemset.c (wmemset): Likewise.
26178
9e54314b
JM
261792013-06-06 Joseph Myers <joseph@codesourcery.com>
26180
26181 * scripts/config.guess: Update to version 2013-05-16.
26182 * scripts/config.sub: Update to version 2013-04-24.
26183 * scripts/install-sh: Update to version 2011-11-20.07.
26184 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26185 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26186
350635a5
OB
261872013-06-06 Ondřej Bílka <neleai@seznam.cz>
26188
26189 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26190 * elf/sln.c: Likewise.
26191 * hurd/hurd/ioctl.h: Likewise.
26192 * hurd/hurdmalloc.c: Likewise.
26193 * hurd/xattr.c: Likewise.
26194 * include/shlib-compat.h: Likewise.
26195 * inet/ruserpass.c: Likewise.
26196 * libio/iofgets_u.c: Likewise.
26197 * libio/iofgetws_u.c: Likewise.
26198 * locale/programs/ld-identification.c: Likewise.
26199 * locale/programs/ld-time.c: Likewise.
26200 * mach/msg-destroy.c: Likewise.
26201 * nss/nss_files/files-netgrp.c: Likewise.
26202 * resolv/res_data.c: Likewise.
26203 * soft-fp/op-1.h: Likewise.
26204 * soft-fp/op-2.h: Likewise.
26205 * soft-fp/op-4.h: Likewise.
26206 * soft-fp/op-common.h: Likewise.
26207 * stdio-common/printf_fphex.c: Likewise.
26208 * stdlib/strtod_l.c: Likewise.
26209 * sunrpc/rpc/clnt.h: Likewise.
26210 * sysdeps/generic/framestate.c: Likewise.
26211 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26212 * sysdeps/i386/bsd-setjmp.S: Likewise.
26213 * sysdeps/i386/__longjmp.S: Likewise.
26214 * sysdeps/i386/setjmp.S: Likewise.
26215 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26216 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26233 * sysdeps/ieee754/support.c: Likewise.
26234 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26235 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26236 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26237 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26238 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26239 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26240 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26241 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26242 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26243 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26244 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26245 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26246 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26249 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26250 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26252
44a988af
OB
262532013-06-05 Ondřej Bílka <neleai@seznam.cz>
26254
25506f09 26255 * posix/transbug.c: Remove executable mode.
44a988af 26256
9c84384c
JM
262572013-06-05 Joseph Myers <joseph@codesourcery.com>
26258
26259 * crypt/speeds.c: Remove trailing whitespace.
26260 * dlfcn/default.c: Likewise.
26261 * elf/ifuncdep2.c: Likewise.
26262 * elf/ifuncmain1.c: Likewise.
26263 * elf/ifuncmain1vis.c: Likewise.
26264 * elf/testobj.h: Likewise.
26265 * elf/tst-stackguard1.c: Likewise.
26266 * gmon/sys/gmon.h: Likewise.
26267 * hurd/hurdmsg.c: Likewise.
26268 * hurd/new-fd.c: Likewise.
26269 * hurd/ports-get.c: Likewise.
26270 * iconvdata/ibm1008_420.c: Likewise.
26271 * inet/tst-getni1.c: Likewise.
26272 * inet/tst-getni2.c: Likewise.
26273 * libio/ioungetc.c: Likewise.
26274 * libio/wfiledoalloc.c: Likewise.
26275 * manual/libm-err-tab.pl: Likewise.
26276 * math/w_dremf.c: Likewise.
26277 * misc/ftruncate.c: Likewise.
26278 * posix/bug-glob2.c: Likewise.
26279 * posix/tst-pcre.c: Likewise.
26280 * posix/wait4.c: Likewise.
26281 * resolv/README: Likewise.
26282 * resolv/res_debug.h: Likewise.
26283 * resolv/tst-inet_ntop.c: Likewise.
26284 * setjmp/bug269-setjmp.c: Likewise.
26285 * soft-fp/extended.h: Likewise.
26286 * soft-fp/op-1.h: Likewise.
26287 * soft-fp/op-2.h: Likewise.
26288 * soft-fp/op-4.h: Likewise.
26289 * soft-fp/op-8.h: Likewise.
26290 * soft-fp/testit.c: Likewise.
26291 * stdio-common/bug16.c: Likewise.
26292 * stdlib/random.c: Likewise.
26293 * sunrpc/rpcsvc/rquota.x: Likewise.
26294 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26295 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26297 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26298 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26299 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26300 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26301 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26323 * sysdeps/ieee754/s_lib_version.c: Likewise.
26324 * sysdeps/mach/hurd/check_fds.c: Likewise.
26325 * sysdeps/mach/hurd/getsockname.c: Likewise.
26326 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26327 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26328 * sysdeps/powerpc/bits/link.h: Likewise.
26329 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26330 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26331 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26332 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26333 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26334 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26335 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26336 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26337 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26338 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26339 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26340 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26341 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26342 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26343 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26344 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26350 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26352 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26353 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26358 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26363 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26364 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26365 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26366 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26367 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26368 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26369 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26370 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26371 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26372 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26373 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26374 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26375 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26376 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26377 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26378 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26381 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26382 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26383 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26384 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26385 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26386 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26388 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26391 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26392 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26393 * sysdeps/powerpc/sysdep.h: Likewise.
26394 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26395 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26396 * sysdeps/sh/dl-trampoline.S: Likewise.
26397 * sysdeps/sh/memset.S: Likewise.
26398 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26399 * sysdeps/sh/strlen.S: Likewise.
26400 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26401 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26402 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26403 * sysdeps/sparc/sparc32/rem.S: Likewise.
26404 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26405 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26406 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26407 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26408 * sysdeps/sparc/sparc32/urem.S: Likewise.
26409 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26410 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26411 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26412 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26414 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26415 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26416 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26417 * sysdeps/unix/bsd/times.c: Likewise.
26418 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26419 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26423 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26424 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26425 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26426 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26427 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26428 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26429 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26430 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26431 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26432 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26433 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26434 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26435 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26436 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26437 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26438 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26439 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26440 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26441 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26442 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26443 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26444 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26446 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26447 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26448 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26449 * sysdeps/x86_64/strcspn.S: Likewise.
26450
869378a5
RA
264512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26452
26453 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26454 generated file. Regenerate properly from gen-translit.pl.
26455 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26456 locale/C-translit.h.
26457
840e2943
AS
264582013-06-05 Andreas Schwab <schwab@suse.de>
26459
26460 [BZ #15100]
26461 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26462 week as 6 instead of -1.
26463 * time/tst-strptime.c (day_tests): Add test case.
26464
4c60cb0c
SP
264652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26466
26467 * sysdeps/generic/math_private.h
26468 (libc_feholdexcept_setround_53bit): Replace with
26469 libc_feholdsetround_53bit.
26470 (libc_feupdateenv_53bit): Replace with
26471 libc_feresetround_53bit.
26472 (SET_RESTORE_ROUND_53BIT): Adjust.
26473
d180203e
SP
264742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26475
96df079a
SP
26476 * string/test-strchrnul.c: Add copyright header.
26477
d180203e
SP
26478 * posix/tst-getaddrinfo4.c: Increase test timeout.
26479
8b0ccb2d
CD
264802013-06-03 Carlos O'Donell <carlos@redhat.com>
26481
26482 [BZ #15536]
26483 * math/libm-test.inc (MAX_EXP): Remove
26484 (MIN_EXP): Define.
26485 (ulp): Use MIN_EXP - MANT_DIG.
26486 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26487
3b3c4d40
CD
264882013-05-31 Carlos O'Donell <carlos@redhat.com>
26489
26490 * po/be.po: Revert last change.
26491 * po/zh_CN.po: Likewise.
26492 * po/header.pot: Likewise.
26493
fab7ce3f
JM
264942013-05-31 Joseph Myers <joseph@codesourcery.com>
26495
26496 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26497 link-libc-deps to empty as target-specific variable.
26498 * Makerules (link-libc-args): New variable.
26499 (libc-for-link): Likewise.
26500 (link-libc-deps): Likewise.
26501 (lib%.so): Depend on $(link-libc-deps). Link with
26502 $(link-libc-args).
26503 (build-module): Link with $(link-libc-args).
26504 (build-module-asneeded): Likewise.
26505 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26506 list of objects.
26507 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26508 target-specific variable.
26509 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26510 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26511 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26512 libc.
26513 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26514 libc and ld.so.
26515 ($(objpfx)libpcprofile.so): Likewise.
26516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26517 libc_nonshared.a.
26518 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26519 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26520 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26521 $(link-libc-deps).
26522 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26523 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26524 * login/Makefile ($(objpfx)libutil.so): Likewise.
26525 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26526 * math/Makefile ($(objpfx)libm.so): Likewise.
26527 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26528 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26529 variable instead of depending directly on libc.
26530 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26531 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26532 $(link-libc-deps).
26533 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26534 libc.
26535 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26536 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26537 ($(objpfx)libanl.so): Likewise.
26538 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26539 ld.so.
26540 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26541 $(link-libc-deps).
26542 * sysdeps/i386/fpu/Makefile: Remove file.
26543 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26544 ($(objpfx)libm.so): Remove dependency on ld.so.
26545
eca5920c
PF
265462013-05-30 Patsy Franklin <pfrankli@redhat.com>
26547
26548 [BZ # 15553]
26549 * nis/yp_xdr.c (XDRMAXNAME): Define.
26550 (XDRMAXRECORD): Define.
26551 (xdr_domainname): Use XDRMAXNAME.
26552 (xdr_mapname): Likewise.
26553 (xdr_peername): Likewise.
26554 (xdr_keydat): Use XDRMAXRECORD.
26555 (xdr_valdat): Likewise.
26556
265572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26558
26559 [BZ #14256]
26560 * manual/errno.texi (ESTALE): Update to account for more than
26561 just NFS file systems.
26562 * sysdeps/gnu/errlist.c: Regenerated.
26563
b9375348
SP
265642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26565
26566 [BZ #15465]
26567 * elf/Makefile (tests): Add tst-null-argv.
26568 (modules-names): Add tst-null-argv-lib.
26569 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26570 (tst-null-argv-ENV): Set environment for tst-null-argv.
26571 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26572 (RTLD_PROGNAME): New macro.
26573 * elf/tst-null-argv.c: New test case.
26574 * elf/tst-null-argv-lib.c: Library for test case.
26575 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26576 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26577 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26578 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26579 * elf/dl-init.c (call_init): Likewise.
26580 (_dl_init): Likewise.
26581 * elf/dl-load.c (print_search_path): Likewise.
26582 (_dl_map_object): Likewise.
26583 * elf/dl-lookup.c (do_lookup_x): Likewise.
26584 (add_dependency): Likewise.
26585 (_dl_lookup_symbol_x): Likewise.
26586 (_dl_debug_bindings): Likewise.
26587 * elf/dl-open.c (_dl_show_scope): Likewise.
26588 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26589 * elf/dl-version.c (match_symbol): Likewise.
26590 (_dl_check_map_versions): Likewise.
26591 * elf/rtld.c (dl_main): Likewise.
26592 (print_unresolved): Use RTLD_PROGNAME.
26593 (print_missing_version): Likewise.
26594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26595 (elf_machine_rela): Likewise.
26596 * sysdeps/powerpc/powerpc32/dl-machine.c
26597 (__process_machine_rela): Likewise.
26598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26599 Likewise.
26600 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26601 Likewise.
26602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26603 Likewise.
26604 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26606 Likewise.
26607 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26608 Likewise.
26609 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26610
8a9f20c8
CD
266112013-05-28 Carlos O'Donell <carlos@redhat.com>
26612
26613 * po/be.po: Add descriptive title.
26614 * po/zh_CN.po: Likewise.
26615 * po/header.pot: Likewise.
26616
0e60d68e
MF
266172013-05-28 Mike Frysinger <vapier@gentoo.org>
26618
26619 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26620 error message.
26621 (enlarge_archive): Likewise.
26622
56b672e9
BN
266232013-05-28 Ben North <ben@redfrontdoor.org>
26624
26625 * manual/arith.texi (frexp): It is the magnitude of the return
26626 value which lies in [0.5, 1), not the return value itself.
26627
5e056687
AZ
266282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26629
26630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26631
2b66ef5d
TS
266322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26633
528c2405
TS
26634 * stdio-common/bug26.c (main): Correct fscanf template.
26635
07b4c13d
TS
26636 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26637 declare _dl_skip_args.
26638
ec9dd97c
TS
26639 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26640 Don't declare.
26641
2b66ef5d
TS
26642 * manual/platform.texi: Add missing @end deftypefun.
26643
4f8dfe27
JM
266442013-05-24 Joseph Myers <joseph@codesourcery.com>
26645
0323d086
JM
26646 [BZ #15529]
26647 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26648 bit of mantissa of 2^16382.
26649 * math/libm-test.inc (hypot_test_data): Add more tests.
26650
dd4259b9
JM
26651 * math/libm-test.inc: Add drem and pow10 to list of tested
26652 functions.
26653 (pow10_test): New function.
26654 (drem_test): Likewise.
26655 (drem_test_tonearest): Likewise.
26656 (drem_test_towardzero): Likewise.
26657 (drem_test_downward): Likewise.
26658 (drem_test_upward): Likewise.
26659 (main): Call the new functions.
26660
4f8dfe27
JM
26661 * math/libm-test.inc (finite_test_data): Remove.
26662 (finite_test): Run tests from isfinite_test_data.
26663 (gamma_test_data): Remove.
26664 (gamma_test): Run tests from lgamma_test_data.
26665 * sysdeps/i386/fpu/libm-test-ulps: Update.
26666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26667
d116b7c4
AZ
266682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26669
26670 * manual/platform.texi: Add PowerPC PPR function set documentation.
26671 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26672 implementation.
26673
e96e3767
CD
266742013-05-24 Carlos O'Donell <carlos@redhat.com>
26675
26676 * math/libm-test.inc (MAX_EXP): Define.
26677 (ULPDIFF): Define.
26678 (ulp): New function.
26679 (check_float_internal): Use ULPDIFF.
26680 (cpow_test): Disable failing test.
26681 (check_ulp): Test ulp() implemetnation.
26682 (main): Call check_ulp before starting tests.
26683
b679a606
JM
266842013-05-24 Joseph Myers <joseph@codesourcery.com>
26685
e8bdba36
JM
26686 * math/gen-libm-test.pl (generate_testfile): Do not handle
26687 START_DATA and END_DATA.
26688 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26689 END_DATA.
26690 (acos_tonearest_test_data): Likewise.
26691 (acos_towardzero_test_data): Likewise.
26692 (acos_downward_test_data): Likewise.
26693 (acos_upward_test_data): Likewise.
26694 (acosh_test_data): Likewise.
26695 (asin_test_data): Likewise.
26696 (asin_tonearest_test_data): Likewise.
26697 (asin_towardzero_test_data): Likewise.
26698 (asin_downward_test_data): Likewise.
26699 (asin_upward_test_data): Likewise.
26700 (asinh_test_data): Likewise.
26701 (atan_test_data): Likewise.
26702 (atanh_test_data): Likewise.
26703 (atan2_test_data): Likewise.
26704 (cabs_test_data): Likewise.
26705 (cacos_test_data): Likewise.
26706 (cacosh_test_data): Likewise.
26707 (carg_test_data): Likewise.
26708 (casin_test_data): Likewise.
26709 (casinh_test_data): Likewise.
26710 (catan_test_data): Likewise.
26711 (catanh_test_data): Likewise.
26712 (cbrt_test_data): Likewise.
26713 (ccos_test_data): Likewise.
26714 (ccosh_test_data): Likewise.
26715 (ceil_test_data): Likewise.
26716 (cexp_test_data): Likewise.
26717 (cimag_test_data): Likewise.
26718 (clog_test_data): Likewise.
26719 (clog10_test_data): Likewise.
26720 (conj_test_data): Likewise.
26721 (copysign_test_data): Likewise.
26722 (cos_test_data): Likewise.
26723 (cos_tonearest_test_data): Likewise.
26724 (cos_towardzero_test_data): Likewise.
26725 (cos_downward_test_data): Likewise.
26726 (cos_upward_test_data): Likewise.
26727 (cosh_test_data): Likewise.
26728 (cosh_tonearest_test_data): Likewise.
26729 (cosh_towardzero_test_data): Likewise.
26730 (cosh_downward_test_data): Likewise.
26731 (cosh_upward_test_data): Likewise.
26732 (cpow_test_data): Likewise.
26733 (cproj_test_data): Likewise.
26734 (creal_test_data): Likewise.
26735 (csin_test_data): Likewise.
26736 (csinh_test_data): Likewise.
26737 (csqrt_test_data): Likewise.
26738 (ctan_test_data): Likewise.
26739 (ctan_tonearest_test_data): Likewise.
26740 (ctan_towardzero_test_data): Likewise.
26741 (ctan_downward_test_data): Likewise.
26742 (ctan_upward_test_data): Likewise.
26743 (ctanh_test_data): Likewise.
26744 (ctanh_tonearest_test_data): Likewise.
26745 (ctanh_towardzero_test_data): Likewise.
26746 (ctanh_downward_test_data): Likewise.
26747 (ctanh_upward_test_data): Likewise.
26748 (erf_test_data): Likewise.
26749 (erfc_test_data): Likewise.
26750 (exp_test_data): Likewise.
26751 (exp_tonearest_test_data): Likewise.
26752 (exp_towardzero_test_data): Likewise.
26753 (exp_downward_test_data): Likewise.
26754 (exp_upward_test_data): Likewise.
26755 (exp10_test_data): Likewise.
26756 (exp2_test_data): Likewise.
26757 (expm1_test_data): Likewise.
26758 (fabs_test_data): Likewise.
26759 (fdim_test_data): Likewise.
26760 (finite_test_data): Likewise.
26761 (floor_test_data): Likewise.
26762 (fma_test_data): Likewise.
26763 (fma_towardzero_test_data): Likewise.
26764 (fma_downward_test_data): Likewise.
26765 (fma_upward_test_data): Likewise.
26766 (fmax_test_data): Likewise.
26767 (fmin_test_data): Likewise.
26768 (fmod_test_data): Likewise.
26769 (fpclassify_test_data): Likewise.
26770 (frexp_test_data): Likewise.
26771 (gamma_test_data): Likewise.
26772 (hypot_test_data): Likewise.
26773 (ilogb_test_data): Likewise.
26774 (isfinite_test_data): Likewise.
26775 (isgreater_test_data): Likewise.
26776 (isgreaterequal_test_data): Likewise.
26777 (isinf_test_data): Likewise.
26778 (isless_test_data): Likewise.
26779 (islessequal_test_data): Likewise.
26780 (islessgreater_test_data): Likewise.
26781 (isnan_test_data): Likewise.
26782 (isnormal_test_data): Likewise.
26783 (issignaling_test_data): Likewise.
26784 (isunordered_test_data): Likewise.
26785 (j0_test_data): Likewise.
26786 (j1_test_data): Likewise.
26787 (jn_test_data): Likewise.
26788 (ldexp_test_data): Likewise.
26789 (lgamma_test_data): Likewise.
26790 (lrint_test_data): Likewise.
26791 (lrint_tonearest_test_data): Likewise.
26792 (lrint_towardzero_test_data): Likewise.
26793 (lrint_downward_test_data): Likewise.
26794 (lrint_upward_test_data): Likewise.
26795 (llrint_test_data): Likewise.
26796 (llrint_tonearest_test_data): Likewise.
26797 (llrint_towardzero_test_data): Likewise.
26798 (llrint_downward_test_data): Likewise.
26799 (llrint_upward_test_data): Likewise.
26800 (log_test_data): Likewise.
26801 (log10_test_data): Likewise.
26802 (log1p_test_data): Likewise.
26803 (log2_test_data): Likewise.
26804 (logb_test_data): Likewise.
26805 (logb_downward_test_data): Likewise.
26806 (lround_test_data): Likewise.
26807 (llround_test_data): Likewise.
26808 (modf_test_data): Likewise.
26809 (nearbyint_test_data): Likewise.
26810 (nextafter_test_data): Likewise.
26811 (nexttoward_test_data): Likewise.
26812 (pow_test_data): Likewise.
26813 (pow_tonearest_test_data): Likewise.
26814 (pow_towardzero_test_data): Likewise.
26815 (pow_downward_test_data): Likewise.
26816 (pow_upward_test_data): Likewise.
26817 (remainder_test_data): Likewise.
26818 (remainder_tonearest_test_data): Likewise.
26819 (remainder_towardzero_test_data): Likewise.
26820 (remainder_downward_test_data): Likewise.
26821 (remainder_upward_test_data): Likewise.
26822 (remquo_test_data): Likewise.
26823 (rint_test_data): Likewise.
26824 (rint_tonearest_test_data): Likewise.
26825 (rint_towardzero_test_data): Likewise.
26826 (rint_downward_test_data): Likewise.
26827 (rint_upward_test_data): Likewise.
26828 (round_test_data): Likewise.
26829 (scalb_test_data): Likewise.
26830 (scalbn_test_data): Likewise.
26831 (scalbln_test_data): Likewise.
26832 (signbit_test_data): Likewise.
26833 (sin_test_data): Likewise.
26834 (sin_tonearest_test_data): Likewise.
26835 (sin_towardzero_test_data): Likewise.
26836 (sin_downward_test_data): Likewise.
26837 (sin_upward_test_data): Likewise.
26838 (sincos_test_data): Likewise.
26839 (sinh_test_data): Likewise.
26840 (sinh_tonearest_test_data): Likewise.
26841 (sinh_towardzero_test_data): Likewise.
26842 (sinh_downward_test_data): Likewise.
26843 (sinh_upward_test_data): Likewise.
26844 (sqrt_test_data): Likewise.
26845 (tan_test_data): Likewise.
26846 (tan_tonearest_test_data): Likewise.
26847 (tan_towardzero_test_data): Likewise.
26848 (tan_downward_test_data): Likewise.
26849 (tan_upward_test_data): Likewise.
26850 (tanh_test_data): Likewise.
26851 (tgamma_test_data): Likewise.
26852 (trunc_test_data): Likewise.
26853 (y0_test_data): Likewise.
26854 (y1_test_data): Likewise.
26855 (yn_test_data): Likewise.
26856 (significand_test_data): Likewise.
26857
b679a606
JM
26858 * math/gen-libm-test.pl (@functions): Remove variable.
26859 (generate_testfile): Don't handle START and END lines.
26860 * math/libm-test.inc (START): New macro.
26861 (END): Likewise.
26862 (END_COMPLEX): Likewise.
26863 (acos_test): Use END macro without arguments.
26864 (acos_test_tonearest): Likewise.
26865 (acos_test_towardzero): Likewise.
26866 (acos_test_downward): Likewise.
26867 (acos_test_upward): Likewise.
26868 (acosh_test): Likewise.
26869 (asin_test): Likewise.
26870 (asin_test_tonearest): Likewise.
26871 (asin_test_towardzero): Likewise.
26872 (asin_test_downward): Likewise.
26873 (asin_test_upward): Likewise.
26874 (asinh_test): Likewise.
26875 (atan_test): Likewise.
26876 (atanh_test): Likewise.
26877 (atan2_test): Likewise.
26878 (cabs_test): Likewise.
26879 (cacos_test): Use END_COMPLEX macro without arguments.
26880 (cacosh_test): Likewise.
26881 (carg_test): Use END macro without arguments.
26882 (casin_test): Use END_COMPLEX macro without arguments.
26883 (casinh_test): Likewise.
26884 (catan_test): Likewise.
26885 (catanh_test): Likewise.
26886 (cbrt_test): Use END macro without arguments.
26887 (ccos_test): Use END_COMPLEX macro without arguments.
26888 (ccosh_test): Likewise.
26889 (ceil_test): Use END macro without arguments.
26890 (cexp_test): Use END_COMPLEX macro without arguments.
26891 (cimag_test): Use END macro without arguments.
26892 (clog_test): Use END_COMPLEX macro without arguments.
26893 (clog10_test): Likewise.
26894 (conj_test): Likewise.
26895 (copysign_test): Use END macro without arguments.
26896 (cos_test): Likewise.
26897 (cos_test_tonearest): Likewise.
26898 (cos_test_towardzero): Likewise.
26899 (cos_test_downward): Likewise.
26900 (cos_test_upward): Likewise.
26901 (cosh_test): Likewise.
26902 (cosh_test_tonearest): Likewise.
26903 (cosh_test_towardzero): Likewise.
26904 (cosh_test_downward): Likewise.
26905 (cosh_test_upward): Likewise.
26906 (cpow_test): Use END_COMPLEX macro without arguments.
26907 (cproj_test): Likewise.
26908 (creal_test): Use END macro without arguments.
26909 (csin_test): Use END_COMPLEX macro without arguments.
26910 (csinh_test): Likewise.
26911 (csqrt_test): Likewise.
26912 (ctan_test): Likewise.
26913 (ctan_test_tonearest): Likewise.
26914 (ctan_test_towardzero): Likewise.
26915 (ctan_test_downward): Likewise.
26916 (ctan_test_upward): Likewise.
26917 (ctanh_test): Likewise.
26918 (ctanh_test_tonearest): Likewise.
26919 (ctanh_test_towardzero): Likewise.
26920 (ctanh_test_downward): Likewise.
26921 (ctanh_test_upward): Likewise.
26922 (erf_test): Use END macro without arguments.
26923 (erfc_test): Likewise.
26924 (exp_test): Likewise.
26925 (exp_test_tonearest): Likewise.
26926 (exp_test_towardzero): Likewise.
26927 (exp_test_downward): Likewise.
26928 (exp_test_upward): Likewise.
26929 (exp10_test): Likewise.
26930 (exp2_test): Likewise.
26931 (expm1_test): Likewise.
26932 (fabs_test): Likewise.
26933 (fdim_test): Likewise.
26934 (finite_test): Likewise.
26935 (floor_test): Likewise.
26936 (fma_test): Likewise.
26937 (fma_test_towardzero): Likewise.
26938 (fma_test_downward): Likewise.
26939 (fma_test_upward): Likewise.
26940 (fmax_test): Likewise.
26941 (fmin_test): Likewise.
26942 (fmod_test): Likewise.
26943 (fpclassify_test): Likewise.
26944 (frexp_test): Likewise.
26945 (gamma_test): Likewise.
26946 (hypot_test): Likewise.
26947 (ilogb_test): Likewise.
26948 (isfinite_test): Likewise.
26949 (isgreater_test): Likewise.
26950 (isgreaterequal_test): Likewise.
26951 (isinf_test): Likewise.
26952 (isless_test): Likewise.
26953 (islessequal_test): Likewise.
26954 (islessgreater_test): Likewise.
26955 (isnan_test): Likewise.
26956 (isnormal_test): Likewise.
26957 (issignaling_test): Likewise.
26958 (isunordered_test): Likewise.
26959 (j0_test): Likewise.
26960 (j1_test): Likewise.
26961 (jn_test): Likewise.
26962 (ldexp_test): Likewise.
26963 (lgamma_test): Likewise.
26964 (lrint_test): Likewise.
26965 (lrint_test_tonearest): Likewise.
26966 (lrint_test_towardzero): Likewise.
26967 (lrint_test_downward): Likewise.
26968 (lrint_test_upward): Likewise.
26969 (llrint_test): Likewise.
26970 (llrint_test_tonearest): Likewise.
26971 (llrint_test_towardzero): Likewise.
26972 (llrint_test_downward): Likewise.
26973 (llrint_test_upward): Likewise.
26974 (log_test): Likewise.
26975 (log10_test): Likewise.
26976 (log1p_test): Likewise.
26977 (log2_test): Likewise.
26978 (logb_test): Likewise.
26979 (logb_test_downward): Likewise.
26980 (lround_test): Likewise.
26981 (llround_test): Likewise.
26982 (modf_test): Likewise.
26983 (nearbyint_test): Likewise.
26984 (nextafter_test): Likewise.
26985 (nexttoward_test): Likewise.
26986 (pow_test): Likewise.
26987 (pow_test_tonearest): Likewise.
26988 (pow_test_towardzero): Likewise.
26989 (pow_test_downward): Likewise.
26990 (pow_test_upward): Likewise.
26991 (remainder_test): Likewise.
26992 (remainder_test_tonearest): Likewise.
26993 (remainder_test_towardzero): Likewise.
26994 (remainder_test_downward): Likewise.
26995 (remainder_test_upward): Likewise.
26996 (remquo_test): Likewise.
26997 (rint_test): Likewise.
26998 (rint_test_tonearest): Likewise.
26999 (rint_test_towardzero): Likewise.
27000 (rint_test_downward): Likewise.
27001 (rint_test_upward): Likewise.
27002 (round_test): Likewise.
27003 (scalb_test): Likewise.
27004 (scalbn_test): Likewise.
27005 (scalbln_test): Likewise.
27006 (signbit_test): Likewise.
27007 (sin_test): Likewise.
27008 (sin_test_tonearest): Likewise.
27009 (sin_test_towardzero): Likewise.
27010 (sin_test_downward): Likewise.
27011 (sin_test_upward): Likewise.
27012 (sincos_test): Likewise.
27013 (sinh_test): Likewise.
27014 (sinh_test_tonearest): Likewise.
27015 (sinh_test_towardzero): Likewise.
27016 (sinh_test_downward): Likewise.
27017 (sinh_test_upward): Likewise.
27018 (sqrt_test): Likewise.
27019 (tan_test): Likewise.
27020 (tan_test_tonearest): Likewise.
27021 (tan_test_towardzero): Likewise.
27022 (tan_test_downward): Likewise.
27023 (tan_test_upward): Likewise.
27024 (tanh_test): Likewise.
27025 (tgamma_test): Likewise.
27026 (trunc_test): Likewise.
27027 (y0_test): Likewise.
27028 (y1_test): Likewise.
27029 (yn_test): Likewise.
27030 (significand_test): Likewise.
27031
bae143d2
OB
270322013-05-24 Ondřej Bílka <neleai@seznam.cz>
27033
27034 [BZ #15381]
27035 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27036
9323d39b
EM
270372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27038
d4ea44a0 27039 [BZ #14894]
9323d39b
EM
27040 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27041 __ppc_mdoio and __ppc_mdoom.
27042 * manual/platform.texi: Document new functions __ppc_yield,
27043 __ppc_mdoio and __ppc_mdoom.
27044
13e23af7
CD
270452013-05-22 Carlos O'Donell <carlos@redhat.com>
27046
27047 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27048 (main): Mention "tls" pseudo-hwcap is legacy.
27049 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27050
351fe550
JM
270512013-05-22 Joseph Myers <joseph@codesourcery.com>
27052
27053 * math/gen-libm-test.pl (parse_args): Output only string of
27054 arguments as text for test name, not full call or descriptions of
27055 tests for extra outputs.
27056 (generate_testfile): Do not pass function name to parse_args.
27057 Generate this_func variable from START.
27058 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27059 field to arg_str.
27060 (struct test_ff_f_data): Likewise.
27061 (test_ff_f_data_nexttoward): Likewise.
27062 (struct test_fi_f_data): Likewise.
27063 (struct test_fl_f_data): Likewise.
27064 (struct test_if_f_data): Likewise.
27065 (struct test_fff_f_data): Likewise.
27066 (struct test_c_f_data): Likewise.
27067 (struct test_f_f1_data): Likewise. Remove field extra_name.
27068 (struct test_fF_f1_data): Likewise.
27069 (struct test_ffI_f1_data): Likewise.
27070 (struct test_c_c_data): Rename test_name field to arg_str.
27071 (struct test_cc_c_data): Likewise.
27072 (struct test_f_i_data): Likewise.
27073 (struct test_ff_i_data): Likewise.
27074 (struct test_f_l_data): Likewise.
27075 (struct test_f_L_data): Likewise.
27076 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27077 and extra2_name.
27078 (COMMON_TEST_SETUP): New macro.
27079 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27080 (COMMON_TEST_CLEANUP): Likewise.
27081 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27082 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27083 macros.
27084 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27085 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27086 macros.
27087 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27088 (RUN_TEST_fff_f): Take argument string. Call new setup and
27089 cleanup macros.
27090 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27091 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27092 macros.
27093 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27094 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27095 macros.
27096 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27097 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27098 cleanup macros.
27099 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27100 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27101 cleanup macros.
27102 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27103 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27104 cleanup macros.
27105 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27106 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27107 macros.
27108 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27109 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27110 macros.
27111 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27112 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27113 macros.
27114 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27115 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27116 cleanup macros.
27117 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27118 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27119 cleanup macros.
27120 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27121 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27122 macros.
27123 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27124 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27125 cleanup macros.
27126 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27127 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27128 macros.
27129 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27130 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27131 macros.
27132 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27133 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27134 cleanup macros.
27135 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27136
85118d4d
EBM
271372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27138
27139 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27140 to _sifields.sigfault.
27141 (si_addr_lsb): Define new macro.
27142 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27144 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27145
7a44c18f
CD
271462013-05-03 Carlos O'Donell <carlos at redhat.com>
27147
27148 [BZ #15441]
27149 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27150 returns -1.
27151 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27152 null return -1.
27153 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27154 loading the domain.
27155
b50a7181
JM
271562013-05-22 Joseph Myers <joseph@codesourcery.com>
27157
27158 * math/gen-libm-test.pl (parse_args): Do not include expected
27159 result in test name.
27160 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27162 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27163 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27164 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27166
051063c8
SP
271672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27168
3ce9e010
SP
27169 * benchtests/Makefile: Sort function entries.
27170
051063c8
SP
27171 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27172 tanh, asinh, acosh, atanh.
27173 * benchtests/acos-inputs: New file.
27174 * benchtests/acosh-inputs: New file.
27175 * benchtests/asin-inputs: New file.
27176 * benchtests/asinh-inputs: New file.
27177 * benchtests/atanh-inputs: New file.
27178 * benchtests/cosh-inputs: New file.
27179 * benchtests/log-inputs: New file.
27180 * benchtests/sinh-inputs: New file.
27181 * benchtests/tanh-inputs: New file.
27182
47c22455
DL
271832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27184
27185 [BZ #15339]
27186 * posix/tst-getaddrinfo4.c: New test.
27187 * posix/Makefile (tests): Add it.
27188
3d04f5db
SP
271892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27190
27191 [BZ #15339]
27192 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27193 when no services were used.
27194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27195 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27196
d5dd6189
AS
271972013-05-21 Andreas Schwab <schwab@suse.de>
27198
27199 [BZ #15014]
27200 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27201 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27202 successful.
27203 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27204 redundant variable declarations and reallocation of buffer when
27205 parsing as IPv6 address. Always set NSS status when called from
27206 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27207 buffer too small. Correct computation of needed size.
27208 * nss/Makefile (tests): Add test-digits-dots.
27209 * nss/test-digits-dots.c: New test.
27210
fef94eab
SP
272112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27212
27213 * benchtests/Makefile: Remove instructions for adding
27214 benchmark tests.
27215 * benchtests/README: New file to explain how to execute and
27216 enhance the benchmark tests.
27217
e39adf43
AS
272182013-05-21 Andreas Schwab <schwab@suse.de>
27219
27220 [BZ #15493]
27221 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27222 * setjmp/tst-sigsetjmp.c: New test.
27223
b2b671b6
OB
272242013-05-20 Ondřej Bílka <neleai@seznam.cz>
27225
27226 * sysdeps/x86_64/memset.S (memset): New implementation.
27227 (__bzero): Likewise.
27228 (__memset_tail): New function.
27229
2d48b41c
OB
272302013-05-20 Ondřej Bílka <neleai@seznam.cz>
27231
27232 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27233 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27234 __memcpy_sse2_unaligned ifunc selection.
27235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27236 Add memcpy-sse2-unaligned.S.
27237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27238 Add: __memcpy_sse2_unaligned.
27239
f16cc3eb
JM
272402013-05-19 Joseph Myers <joseph@codesourcery.com>
27241
3e694268
JM
27242 [BZ #15490]
27243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27244 math_force_eval before restoring floating-point envrionment.
27245 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27247 Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27249 <math_private.h>.
27250 (__nearbyintl): Use math_force_eval before restoring
27251 floating-point environment.
27252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27253
db62a907
JM
27254 * math/gen-libm-test.pl (special_functions): Remove.
27255 (parse_args): Don't handle TEST_extra. Handle functions with no
27256 return value.
27257 * math/libm-test.inc (struct test_sincos_data): Replace with
27258 struct test_fFF_11_data.
27259 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27260 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27261 (sincos_test_data): Change element type to struct
27262 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27263 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27264 RUN_TEST_LOOP_sincos.
27265 * math/README.libm-test: Don't mention special handling of
27266 individual functions.
27267 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27270 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273
f16cc3eb
JM
27274 * math/gen-libm-test.pl (get_variable): Remove function.
27275 (parse_args): Don't show pointer parameters to call in test
27276 names. Use "extra output N" in test names for extra outputs
27277 rather than naming variables.
27278
3779b5b6
JM
272792013-05-18 Joseph Myers <joseph@codesourcery.com>
27280
2ee094ff
JM
27281 [BZ #15488]
27282 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27283 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27284 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27285 double tests.
27286 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27287 disable.
27288 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27289 check_long_double.
27290
3779b5b6
JM
27291 * math/gen-libm-test.pl (@tests): Remove variable.
27292 ($count): Likewise.
27293 (new_test): Remove function.
27294 (show_exceptions): New function.
27295 (special_functions): Use show_exceptions instead of new_test.
27296 (parse_args): Likewise.
27297 (generate_testfile): Pass only function name in generated call to
27298 print_max_error or print_complex_max_error.
27299 (get_ulps): Do not handle complex tests specially.
27300 (output_test): Rename to ...
27301 (get_all_ulps_for_test): ... this. Return a string rather than
27302 printing to a file. Require ulps to be present.
27303 (output_ulps): Generate arrays rather than #defines.
27304 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27305 (struct ulp_data): New type.
27306 (BUILD_COMPLEX_ULP): Remove macro.
27307 (compare_ulp_data): New function.
27308 (find_ulps): Likewise.
27309 (find_test_ulps): Likewise.
27310 (find_function_ulps): Likewise.
27311 (find_complex_function_ulps): Likewise.
27312 (print_max_error): Determine allowed ulps using
27313 find_function_ulps.
27314 (print_complex_max_error): Determine allowed ulps using
27315 find_complex_function_ulps.
27316 (check_float_internal): Determine max ulps using find_test_ulps.
27317 (check_float): Do not take max_ulp parameter. Update call to
27318 check_float_internal.
27319 (check_complex): Likewise.
27320 (check_int): Do not take max_ulp parameter.
27321 (check_long): Likewise.
27322 (check_bool): Likewise.
27323 (check_longlong): Likewise.
27324 (struct test_f_f_data): Remove max_ulp field.
27325 (struct test_ff_f_data): Likewise.
27326 (struct test_ff_f_data_nexttoward): Likewise.
27327 (struct test_fi_f_data): Likewise.
27328 (struct test_fl_f_data): Likewise.
27329 (struct test_if_f_data): Likewise.
27330 (struct test_fff_f_data): Likewise.
27331 (struct test_c_f_data): Likewise.
27332 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27333 (struct test_fF_f1_data): Likewise.
27334 (struct test_ffI_f1_data): Likewise.
27335 (struct test_c_c_data): Remove max_ulp field.
27336 (struct test_cc_c_data): Likewise.
27337 (struct test_f_i_data): Likewise.
27338 (struct test_ff_i_data): Likewise.
27339 (struct test_f_l_data): Likewise.
27340 (struct test_f_L_data): Likewise.
27341 (struct test_sincos_data): Likewise.
27342 (RUN_TEST_f_f): Do not handle ulps.
27343 (RUN_TEST_LOOP_f_f): Likewise.
27344 (RUN_TEST_2_f): Likewise.
27345 (RUN_TEST_LOOP_2_f): Likewise.
27346 (RUN_TEST_fff_f): Likewise.
27347 (RUN_TEST_LOOP_fff_f): Likewise.
27348 (RUN_TEST_c_f): Likewise.
27349 (RUN_TEST_LOOP_c_f): Likewise.
27350 (RUN_TEST_f_f1): Likewise.
27351 (RUN_TEST_LOOP_f_f1): Likewise.
27352 (RUN_TEST_fF_f1): Likewise.
27353 (RUN_TEST_LOOP_fF_f1): Likewise.
27354 (RUN_TEST_fI_f1): Likewise.
27355 (RUN_TEST_LOOP_fI_f1): Likewise.
27356 (RUN_TEST_ffI_f1): Likewise.
27357 (RUN_TEST_LOOP_ffI_f1): Likewise.
27358 (RUN_TEST_c_c): Likewise.
27359 (RUN_TEST_LOOP_c_c): Likewise.
27360 (RUN_TEST_cc_c): Likewise.
27361 (RUN_TEST_LOOP_cc_c): Likewise.
27362 (RUN_TEST_f_i): Likewise.
27363 (RUN_TEST_LOOP_f_i): Likewise.
27364 (RUN_TEST_f_i_tg): Likewise.
27365 (RUN_TEST_LOOP_f_i_tg): Likewise.
27366 (RUN_TEST_ff_i_tg): Likewise.
27367 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27368 (RUN_TEST_f_b): Likewise.
27369 (RUN_TEST_LOOP_f_b): Likewise.
27370 (RUN_TEST_f_b_tg): Likewise.
27371 (RUN_TEST_LOOP_f_b_tg): Likewise.
27372 (RUN_TEST_f_l): Likewise.
27373 (RUN_TEST_LOOP_f_l): Likewise.
27374 (RUN_TEST_f_L): Likewise.
27375 (RUN_TEST_LOOP_f_L): Likewise.
27376 (RUN_TEST_sincos): Likewise.
27377 (RUN_TEST_LOOP_sincos): Likewise.
27378
8269107f
JM
273792013-05-17 Joseph Myers <joseph@codesourcery.com>
27380
bb38759d
JM
27381 [BZ #15480]
27382 [BZ #15485]
27383 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27384 main case of finite arguments, set rounding mode to FE_TONEAREST
27385 and discard exceptions.
27386 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27387 exceptions.
27388 (remainder_tonearest_test_data): New variable.
27389 (remainder_test_tonearest): New function.
27390 (remainder_towardzero_test_data): New variable.
27391 (remainder_test_towardzero): New function.
27392 (remainder_downward_test_data): New variable.
27393 (remainder_test_downward): New function.
27394 (remainder_upward_test_data): New variable.
27395 (remainder_test_upward): New function.
27396 (main): Call the new test functions.
27397
a00bdcf0
JM
27398 * math/libm-test.inc (struct test_f_f1_data): Remove field
27399 extra_init.
27400 (struct test_fF_f1_data): Likewise.
27401 (struct test_ffI_f1_data): Likewise.
27402 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27403 based on value of EXTRA_EXPECTED.
27404 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27405 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27406 EXTRA_VAR based on value of EXTRA_EXPECTED.
27407 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27408 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27409 EXTRA_VAR based on value of EXTRA_EXPECTED.
27410 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27411 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27412 EXTRA_VAR based on value of EXTRA_EXPECTED.
27413 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27414 * math/gen-libm-test.pl (parse_args): Don't output initializers
27415 for extra output values.
27416
de407f79
JM
27417 * math/libm-test.inc (check_int): Expect result to be exactly
27418 equal to expected value and do not handle ulps.
27419 (check_long): Likewise.
27420 (check_longlong): Likewise.
27421
8269107f
JM
27422 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27423 exceptions.
27424 (cimag_test_data): Likewise.
27425 (conj_test_data): Likewise.
27426 (copysign_test_data): Likewise.
27427 (cproj_test_data): Likewise.
27428 (creal_test_data): Likewise.
27429 (fabs_test_data): Likewise.
27430 (fdim_test_data): Likewise.
27431 (finite_test_data): Likewise.
27432 (floor_test_data): Likewise.
27433 (fmax_test_data): Likewise.
27434 (fmin_test_data): Likewise.
27435 (fmod_test_data): Likewise.
27436 (fpclassify_test_data): Likewise.
27437 (frexp_test_data): Likewise.
27438 (ilogb_test_data): Likewise.
27439 (isfinite_test_data): Likewise.
27440 (isgreater_test_data): Likewise.
27441 (isgreaterequal_test_data): Likewise.
27442 (isinf_test_data): Likewise.
27443 (isless_test_data): Likewise.
27444 (islessequal_test_data): Likewise.
27445 (islessgreater_test_data): Likewise.
27446 (isnan_test_data): Likewise.
27447 (isnormal_test_data): Likewise.
27448 (issignaling_test_data): Likewise.
27449 (isunordered_test_data): Likewise.
27450 (ldexp_test_data): Likewise.
27451 (lrint_test_data): Likewise.
27452 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27453 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27454 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27455 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27456 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27457 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27458 test input.
27459 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27460 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27461 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27462 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27463 that test input.
27464 (lrint_downward_test_data): Test for "inexact" exceptions.
27465 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27466 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27467 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27468 test input.
27469 (lrint_upward_test_data): Test for "inexact" exceptions.
27470 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27471 test input.
27472 (llrint_test_data): Test for "inexact" exceptions.
27473 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27474 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27475 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27476 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27477 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27478 (llrint_downward_test_data): Test for "inexact" exceptions.
27479 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27480 (llrint_upward_test_data): Test for "inexact" exceptions.
27481 (logb_test_data): Likewise.
27482 (logb_downward_test_data): Likewise.
27483 (nextafter_test_data): Likewise.
27484 (nexttoward_test_data): Likewise.
27485 (remainder_test_data): Likewise.
27486 (remquo_test_data): Likewise.
27487 (scalbn_test_data): Likewise.
27488 (scalbln_test_data): Likewise.
27489 (signbit_test_data): Likewise.
27490 (sqrt_test_data): Likewise.
27491 (significand_test_data): Likewise.
27492
48a18de1
SP
274932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27494
27495 [BZ #15424]
27496 * benchtests/bench-modf.c (struct args): Mark arg0 as
27497 volatile.
27498 * scripts/bench.pl: Mark members of struct args as volatile.
27499
13d3b41a
AZ
275002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27501
68191c1d 27502 [BZ # 15497]
13d3b41a
AZ
27503 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27504 negative infinity on POWER6 or lower.
27505 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27506
2848b105
MR
275072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27508
27509 [BZ #15442]
27510 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27511 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27512 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27513 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27514 (_FP_SETQNAN): New macro.
27515 (_FP_SETQNAN_SEMIRAW): Likewise.
27516 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27517 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27518 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27519 (FP_EXTEND): Use _FP_FRAC_SNANP.
27520 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27521 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27522 into account.
27523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27524 New macro.
27525 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27526 Likewise.
27527
323e5cb7
JM
275282013-05-16 Joseph Myers <joseph@codesourcery.com>
27529
c58b274f
JM
27530 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27531 with DIVIDE_BY_ZERO_EXCEPTION.
27532 (gamma_test_data): Likewise.
27533 (lgamma_test_data): Likewise.
27534 (log_test_data): Likewise.
27535 (log10_test_data): Likewise.
27536 (log2_test_data): Likewise.
27537 (tgamma_test_data): Likewise.
27538
0ab34904
JM
27539 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27540 (acos_test_tonearest): Likewise.
27541 (acos_test_towardzero): Likewise.
27542 (acos_test_downward): Likewise.
27543 (acos_test_upward): Likewise.
27544 (acosh_test): Likewise.
27545 (asin_test): Likewise.
27546 (asin_test_tonearest): Likewise.
27547 (asin_test_towardzero): Likewise.
27548 (asin_test_downward): Likewise.
27549 (asin_test_upward): Likewise.
27550 (asinh_test): Likewise.
27551 (atan_test): Likewise.
27552 (atanh_test): Likewise.
27553 (atan2_test): Likewise.
27554 (cabs_test): Likewise.
27555 (cacos_test): Likewise.
27556 (cacosh_test): Likewise.
27557 (casin_test): Likewise.
27558 (casinh_test): Likewise.
27559 (catan_test): Likewise.
27560 (catanh_test): Likewise.
27561 (cbrt_test): Likewise.
27562 (ccos_test): Likewise.
27563 (ccosh_test): Likewise.
27564 (cexp_test): Likewise.
27565 (clog_test): Likewise.
27566 (clog10_test): Likewise.
27567 (cos_test): Likewise.
27568 (cos_test_tonearest): Likewise.
27569 (cos_test_towardzero): Likewise.
27570 (cos_test_downward): Likewise.
27571 (cos_test_upward): Likewise.
27572 (cosh_test): Likewise.
27573 (cosh_test_tonearest): Likewise.
27574 (cosh_test_towardzero): Likewise.
27575 (cosh_test_downward): Likewise.
27576 (cosh_test_upward): Likewise.
27577 (cpow_test): Likewise.
27578 (csin_test): Likewise.
27579 (csinh_test): Likewise.
27580 (csqrt_test): Likewise.
27581 (ctan_test): Likewise.
27582 (ctan_test_tonearest): Likewise.
27583 (ctan_test_towardzero): Likewise.
27584 (ctan_test_downward): Likewise.
27585 (ctan_test_upward): Likewise.
27586 (ctanh_test): Likewise.
27587 (ctanh_test_tonearest): Likewise.
27588 (ctanh_test_towardzero): Likewise.
27589 (ctanh_test_downward): Likewise.
27590 (ctanh_test_upward): Likewise.
27591 (erf_test): Likewise.
27592 (erfc_test): Likewise.
27593 (exp_test): Likewise.
27594 (exp_test_tonearest): Likewise.
27595 (exp_test_towardzero): Likewise.
27596 (exp_test_downward): Likewise.
27597 (exp_test_upward): Likewise.
27598 (exp10_test): Likewise.
27599 (exp2_test): Likewise.
27600 (expm1_test): Likewise.
27601 (fmod_test): Likewise.
27602 (gamma_test): Likewise.
27603 (hypot_test): Likewise.
27604 (j0_test): Likewise.
27605 (j1_test): Likewise.
27606 (jn_test): Likewise.
27607 (lgamma_test): Likewise.
27608 (log_test): Likewise.
27609 (log10_test): Likewise.
27610 (log1p_test): Likewise.
27611 (log2_test): Likewise.
27612 (logb_test_downward): Likewise.
27613 (pow_test): Likewise.
27614 (pow_test_tonearest): Likewise.
27615 (pow_test_towardzero): Likewise.
27616 (pow_test_downward): Likewise.
27617 (pow_test_upward): Likewise.
27618 (remainder_test): Likewise.
27619 (remquo_test): Likewise.
27620 (sin_test): Likewise.
27621 (sin_test_tonearest): Likewise.
27622 (sin_test_towardzero): Likewise.
27623 (sin_test_downward): Likewise.
27624 (sin_test_upward): Likewise.
27625 (sincos_test): Likewise.
27626 (sinh_test): Likewise.
27627 (sinh_test_tonearest): Likewise.
27628 (sinh_test_towardzero): Likewise.
27629 (sinh_test_downward): Likewise.
27630 (sinh_test_upward): Likewise.
27631 (sqrt_test): Likewise.
27632 (tan_test): Likewise.
27633 (tan_test_tonearest): Likewise.
27634 (tan_test_towardzero): Likewise.
27635 (tan_test_downward): Likewise.
27636 (tan_test_upward): Likewise.
27637 (tanh_test): Likewise.
27638 (tgamma_test): Likewise.
27639 (y0_test): Likewise.
27640 (y1_test): Likewise.
27641 (yn_test): Likewise.
27642
323e5cb7
JM
27643 * math/gen-libm-test.pl (adjust_arg): Remove function.
27644 (special_function): Remove argument $in_func. Only handle
27645 generating output for tables of tests, not inside functions.
27646 (parse_args): Likewise.
27647 (generate_testfile): Remove variable $in_func. Update call to
27648 parse_args.
27649 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27650 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27651 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27652 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27653 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27654 (MAX_VALUE_INIT): Rename macro to max_value.
27655 (MIN_VALUE_INIT): Rename macro to min_value.
27656 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27657 (plus_zero): Remove variable.
27658 (minus_zero): Likewise.
27659 (plus_infty): Likewise.
27660 (minus_infty): Likewise.
27661 (qnan_value): Likewise.
27662 (max_value): Likewise.
27663 (min_value): Likewise.
27664 (min_subnorm_value): Likewise.
27665
e054f494
RA
276662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27667
27668 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27669 uint64_t or uint32_t usage.
27670 * crypt/sha256-block.c: Likewise.
27671 * crypt/sha256-crypt.c: Likewise.
27672 * crypt/sha256.c: Likewise.
27673 * crypt/sha512-block.c: Likewise.
27674 * crypt/sha512-crypt.c: Likewise.
27675 * crypt/sha512.c: Likewise.
27676 * debug/backtrace-tst.c: Likewise.
27677 * debug/pcprofiledump.c: Likewise.
27678 * elf/cache.c: Likewise.
27679 * elf/dl-cache.c: Likewise.
27680 * elf/dl-misc.c: Likewise.
27681 * elf/dl-profile.c: Likewise.
27682 * elf/dl-support.c: Likewise.
27683 * elf/ldconfig.c: Likewise.
27684 * elf/sprof.c: Likewise.
27685 * iconv/dummy-repertoire.c: Likewise.
27686 * iconv/iconv_charmap.c: Likewise.
27687 * iconv/skeleton.c: Likewise.
27688 * iconvdata/8bit-generic.c: Likewise.
27689 * iconvdata/cp737.h: Likewise.
27690 * iconvdata/cp775.h: Likewise.
27691 * iconvdata/ibm1008.h: Likewise.
27692 * iconvdata/ibm1025.h: Likewise.
27693 * iconvdata/ibm1046.h: Likewise.
27694 * iconvdata/ibm1097.h: Likewise.
27695 * iconvdata/ibm1112.h: Likewise.
27696 * iconvdata/ibm1122.h: Likewise.
27697 * iconvdata/ibm1123.h: Likewise.
27698 * iconvdata/ibm1124.h: Likewise.
27699 * iconvdata/ibm1129.h: Likewise.
27700 * iconvdata/ibm1130.h: Likewise.
27701 * iconvdata/ibm1132.h: Likewise.
27702 * iconvdata/ibm1133.h: Likewise.
27703 * iconvdata/ibm1137.h: Likewise.
27704 * iconvdata/ibm1140.h: Likewise.
27705 * iconvdata/ibm1141.h: Likewise.
27706 * iconvdata/ibm1142.h: Likewise.
27707 * iconvdata/ibm1143.h: Likewise.
27708 * iconvdata/ibm1144.h: Likewise.
27709 * iconvdata/ibm1145.h: Likewise.
27710 * iconvdata/ibm1146.h: Likewise.
27711 * iconvdata/ibm1147.h: Likewise.
27712 * iconvdata/ibm1148.h: Likewise.
27713 * iconvdata/ibm1149.h: Likewise.
27714 * iconvdata/ibm1153.h: Likewise.
27715 * iconvdata/ibm1154.h: Likewise.
27716 * iconvdata/ibm1155.h: Likewise.
27717 * iconvdata/ibm1156.h: Likewise.
27718 * iconvdata/ibm1157.h: Likewise.
27719 * iconvdata/ibm1158.h: Likewise.
27720 * iconvdata/ibm1160.h: Likewise.
27721 * iconvdata/ibm1161.h: Likewise.
27722 * iconvdata/ibm1162.h: Likewise.
27723 * iconvdata/ibm1163.h: Likewise.
27724 * iconvdata/ibm1164.h: Likewise.
27725 * iconvdata/ibm1166.h: Likewise.
27726 * iconvdata/ibm1167.h: Likewise.
27727 * iconvdata/ibm12712.h: Likewise.
27728 * iconvdata/ibm1390.h: Likewise.
27729 * iconvdata/ibm1399.h: Likewise.
27730 * iconvdata/ibm16804.h: Likewise.
27731 * iconvdata/ibm4517.h: Likewise.
27732 * iconvdata/ibm4899.h: Likewise.
27733 * iconvdata/ibm4909.h: Likewise.
27734 * iconvdata/ibm4971.h: Likewise.
27735 * iconvdata/ibm5347.h: Likewise.
27736 * iconvdata/ibm803.h: Likewise.
27737 * iconvdata/ibm856.h: Likewise.
27738 * iconvdata/ibm901.h: Likewise.
27739 * iconvdata/ibm902.h: Likewise.
27740 * iconvdata/ibm9030.h: Likewise.
27741 * iconvdata/ibm9066.h: Likewise.
27742 * iconvdata/ibm921.h: Likewise.
27743 * iconvdata/ibm922.h: Likewise.
27744 * iconvdata/ibm9448.h: Likewise.
27745 * iconvdata/isiri-3342.h: Likewise.
27746 * iconvdata/jis0201.h: Likewise.
27747 * include/link.h: Likewise.
27748 * include/netdb.h: Likewise.
27749 * inet/check_native.c: Likewise.
27750 * inet/check_pf.c: Likewise.
27751 * inet/getipv4sourcefilter.c: Likewise.
27752 * inet/getnameinfo.c: Likewise.
27753 * inet/getsourcefilter.c: Likewise.
27754 * inet/htonl.c: Likewise.
27755 * inet/setipv4sourcefilter.c: Likewise.
27756 * inet/setsourcefilter.c: Likewise.
27757 * inet/test-inet6_opt.c: Likewise.
27758 * inet/tst-network.c: Likewise.
27759 * locale/C-collate.c: Likewise.
27760 * locale/C-ctype.c: Likewise.
27761 * locale/C-time.c: Likewise.
27762 * locale/C-translit.h: Likewise.
27763 * locale/loadarchive.c: Likewise.
27764 * locale/programs/3level.h: Likewise.
27765 * locale/programs/charmap.c: Likewise.
27766 * locale/programs/charmap.h: Likewise.
27767 * locale/programs/ld-address.c: Likewise.
27768 * locale/programs/ld-collate.c: Likewise.
27769 * locale/programs/ld-ctype.c: Likewise.
27770 * locale/programs/ld-identification.c: Likewise.
27771 * locale/programs/ld-measurement.c: Likewise.
27772 * locale/programs/ld-messages.c: Likewise.
27773 * locale/programs/ld-monetary.c: Likewise.
27774 * locale/programs/ld-name.c: Likewise.
27775 * locale/programs/ld-numeric.c: Likewise.
27776 * locale/programs/ld-paper.c: Likewise.
27777 * locale/programs/ld-telephone.c: Likewise.
27778 * locale/programs/ld-time.c: Likewise.
27779 * locale/programs/linereader.c: Likewise.
27780 * locale/programs/locale.c: Likewise.
27781 * locale/programs/locarchive.c: Likewise.
27782 * locale/programs/locfile.h: Likewise.
27783 * locale/programs/repertoire.c: Likewise.
27784 * locale/programs/simple-hash.c: Likewise.
27785 * locale/programs/simple-hash.h: Likewise.
27786 * malloc/memusage.c: Likewise.
27787 * malloc/memusagestat.c: Likewise.
27788 * nis/nis_defaults.c: Likewise.
27789 * nis/nis_hash.c: Likewise.
27790 * nis/nis_print.c: Likewise.
27791 * nis/nis_xdr.c: Likewise.
27792 * nscd/connections.c: Likewise.
27793 * nscd/hstcache.c: Likewise.
27794 * nscd/nscd_gethst_r.c: Likewise.
27795 * nscd/nscd_getserv_r.c: Likewise.
27796 * nscd/nscd_helper.c: Likewise.
27797 * nscd/servicescache.c: Likewise.
27798 * nss/makedb.c: Likewise.
27799 * nss/nss_db/db-XXX.c: Likewise.
27800 * nss/nss_db/db-initgroups.c: Likewise.
27801 * nss/nss_db/db-netgrp.c: Likewise.
27802 * nss/nss_files/files-network.c: Likewise.
27803 * nss/nss_files/files-parse.c: Likewise.
27804 * posix/bug-regex5.c: Likewise.
27805 * posix/fnmatch_loop.c: Likewise.
27806 * posix/regcomp.c: Likewise.
27807 * posix/regexec.c: Likewise.
27808 * posix/tst-rfc3484-2.c: Likewise.
27809 * posix/tst-rfc3484-3.c: Likewise.
27810 * posix/tst-rfc3484.c: Likewise.
27811 * resolv/nss_dns/dns-canon.c: Likewise.
27812 * resolv/nss_dns/dns-network.c: Likewise.
27813 * resolv/res_init.c: Likewise.
27814 * resolv/res_mkquery.c: Likewise.
27815 * resolv/tst-aton.c: Likewise.
27816 * stdlib/cxa_atexit.c: Likewise.
27817 * stdlib/cxa_finalize.c: Likewise.
27818 * stdlib/gen-fpioconst.c: Likewise.
27819 * stdlib/strtol_l.c: Likewise.
27820 * string/tst-endian.c: Likewise.
27821 * sunrpc/auth_des.c: Likewise.
27822 * sunrpc/clnt_udp.c: Likewise.
27823 * sunrpc/rtime.c: Likewise.
27824 * sunrpc/svcauth_des.c: Likewise.
27825 * sunrpc/xdr.c: Likewise.
27826 * sunrpc/xdr_intXX_t.c: Likewise.
27827 * sunrpc/xdr_rec.c: Likewise.
27828 * sysdeps/generic/ldconfig.h: Likewise.
27829 * sysdeps/generic/ldsodefs.h: Likewise.
27830 * sysdeps/generic/memusage.h: Likewise.
27831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27832 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27833 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27839 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27841 * sysdeps/posix/getaddrinfo.c: Likewise.
27842 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27843 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27844 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27846 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27847 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27848 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27849 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27850 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27851 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27852 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27853 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27854 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27855 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27856 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27857 * sysdeps/x86_64/dl-tls.h: Likewise.
27858 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27859 * time/alt_digit.c: Likewise.
27860 * time/era.c: Likewise.
27861 * wcsmbs/tst-c16c32-1.c: Likewise.
27862
8c75f674
JM
278632013-05-16 Joseph Myers <joseph@codesourcery.com>
27864
27865 * math/libm-test.inc (struct test_sincos_data): New type.
27866 (RUN_TEST_LOOP_sincos): New macro.
27867 (sincos_test_data): New variable.
27868 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27869
e6e49e59
RH
278702013-05-16 Richard Henderson <rth@redhat.com>
27871
27872 * math/atest-exp2.c (LIMB64): New macro.
27873 (CONSTSZ): New macro.
27874 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27875 (hexdig): Move ...
27876 (print_mpn_fp): ... to function scope.
27877 (read_mpn_hex): Remove.
27878 (get_log2): Remove.
27879 (exp2_mpn): Use mp_log2.
27880 (main): Use mp_exp1.
27881
15c7c18d
JM
278822013-05-16 Joseph Myers <joseph@codesourcery.com>
27883
105a07df
JM
27884 * math/libm-test.inc: Remove comment about not testing "inexact"
27885 exceptions.
27886 (INEXACT_EXCEPTION): New macro.
27887 (NO_INEXACT_EXCEPTION): Likewise.
27888 (INVALID_EXCEPTION_OK): Update value.
27889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27890 (OVERFLOW_EXCEPTION_OK): Likewise.
27891 (UNDERFLOW_EXCEPTION_OK): Likewise.
27892 (IGNORE_ZERO_INF_SIGN): Likewise.
27893 (ERRNO_UNCHANGED): Likewise.
27894 (ERRNO_EDOM): Likewise.
27895 (ERRNO_ERANGE): Likewise.
27896 (test_exceptions): Handle testing "inexact" exceptions.
27897 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27898 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27899 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27900 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27901 INEXACT_EXCEPTION.
27902 (rint_towardzero_test_data): Likewise.
27903 (rint_downward_test_data): Likewise.
27904 (rint_upward_test_data): Likewise.
27905
e9eee333
JM
27906 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27907 with OVERFLOW_EXCEPTION.
27908 (exp10_test_data): Likewise.
27909 (exp2_test_data): Likewise.
27910 (expm1_test_data): Likewise.
27911 (lgamma_test_data): Likewise.
27912 (pow_test_data): Likewise.
27913 (tgamma_test_data): Likewise.
27914 (yn_test_data): Remove duplicate test of overflow.
27915
1c38ff73
JM
27916 * math/libm-test.inc (struct test_cc_c_data): New type.
27917 (RUN_TEST_LOOP_cc_c): New macro.
27918 (cpow_test_data): New variable.
27919 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27920
15c7c18d
JM
27921 * math/libm-test.inc (struct test_f_L_data): New type.
27922 (RUN_TEST_LOOP_f_L): New macro.
27923 (llrint_test_data): New variable.
27924 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27925 (llrint_tonearest_test_data): New variable.
27926 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27927 (llrint_towardzero_test_data): New variable.
27928 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27929 (llrint_downward_test_data): New variable.
27930 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27931 (llrint_upward_test_data): New variable.
27932 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27933 (llround_test_data): New variable.
27934 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27935
f137ff13
PC
279362013-05-13 Peter Collingbourne <pcc@google.com>
27937
27938 * math/atest-exp2.c (get_log2): Remove const attribute.
27939
3608cb24
JM
279402013-05-15 Joseph Myers <joseph@codesourcery.com>
27941
27942 * math/libm-test.inc (struct test_f_l_data): New type.
27943 (RUN_TEST_LOOP_f_l): New macro.
27944 (lrint_test_data): New variable.
27945 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27946 (lrint_tonearest_test_data): New variable.
27947 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27948 (lrint_towardzero_test_data): New variable.
27949 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27950 (lrint_downward_test_data): New variable.
27951 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27952 (lrint_upward_test_data): New variable.
27953 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27954 (lround_test_data): New variable.
27955 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27956
39b1f617
PC
279572013-05-15 Peter Collingbourne <pcc@google.com>
27958
1deff3dc
PC
27959 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27960 (EXTRACT_WORDS64) Use where appropriate.
27961 (INSERT_WORDS64) Likewise.
27962
791f3ba0
PC
27963 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27964 constraints with x constraints.
27965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27966
39b1f617
PC
27967 * malloc/obstack.c (_obstack_compat): Add initializer.
27968
12fba011
EM
279692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27970
27971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27972 si_trapno and add si_addr_lsb to _sifields.sigfault.
27973 (si_trapno): Remove macro.
27974 (si_addr_lsb): Define new macro.
27975 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27976
d369f531
JM
279772013-05-15 Joseph Myers <joseph@codesourcery.com>
27978
b861c6c4
JM
27979 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27980 instead of TEST_f_l.
27981 (llrint_test_tonearest): Likewise.
27982 (llrint_test_towardzero): Likewise.
27983 (llrint_test_downward): Likewise.
27984 (llrint_test_upward): Likewise.
27985 (llround_test): Likewise.
27986
7abeee12
JM
27987 * math/libm-test.inc (struct test_f_i_data): Add comment.
27988 (RUN_TEST_LOOP_f_b): New macro.
27989 (RUN_TEST_LOOP_f_b_tg): Likewise.
27990 (finite_test_data): New variable.
27991 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27992 (isfinite_test_data): New variable.
27993 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27994 (isinf_test_data): New variable.
27995 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27996 (isnan_test_data): New variable.
27997 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27998 (isnormal_test_data): New variable.
27999 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28000 (issignaling_test_data): New variable.
28001 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28002 (signbit_test_data): New variable.
28003 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28004
cbe8c4d3
JM
28005 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28006 with INVALID_EXCEPTION.
28007 (acosh_test_data): Likewise.
28008 (asin_test_data): Likewise.
28009 (atanh_test_data): Likewise.
28010 (fmod_test_data): Likewise.
28011 (log_test_data): Likewise.
28012 (log10_test_data): Likewise.
28013 (log2_test_data): Likewise.
28014 (pow_test_data): Likewise.
28015 (sqrt_test_data): Likewise.
28016 (y0_test_data): Likewise.
28017 (y1_test_data): Likewise.
28018 (yn_test_data): Likewise.
28019
5575c0e5
JM
28020 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28021 function contents.
28022
d369f531
JM
28023 * math/libm-test.inc (struct test_ff_i_data): New type.
28024 (RUN_TEST_LOOP_ff_i_tg): New macro.
28025 (isgreater_test_data): New variable.
28026 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28027 (isgreaterequal_test_data): New variable.
28028 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28029 (isless_test_data): New variable.
28030 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28031 (islessequal_test_data): New variable.
28032 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28033 (islessgreater_test_data): New variable.
28034 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28035 (isunordered_test_data): New variable.
28036 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28037
781fd748
DM
280382013-05-14 David S. Miller <davem@davemloft.net>
28039
28040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28041
87aa21df
JM
280422013-05-14 Joseph Myers <joseph@codesourcery.com>
28043
5e908270
JM
28044 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28045
f71172e5
JM
28046 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28047 extra_test to int.
28048 (struct test_f_i_data): Change type of max_ulp to int.
28049
8cfa635a
JM
28050 * math/libm-test.inc (test_ffI_f1_data): New type.
28051 (RUN_TEST_LOOP_ffI_f1): New macro.
28052 (remquo_test_data): New variable.
28053 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28054
2bcb36b2
JM
28055 * setjmp/tst-setjmp-fp.c: New file.
28056 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28057 (link-libm): New variable.
28058 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28059
acbd839a
JM
28060 * math/libm-test.inc (struct test_f_i_data): New type.
28061 (RUN_TEST_LOOP_f_i): New macro.
28062 (RUN_TEST_LOOP_f_i_tg): Likewise.
28063 (fpclassify_test_data): New variable.
28064 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28065 (ilogb_test_data): New variable.
28066 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28067
e414d745
JM
28068 * math/libm-test.inc (scalbln_test): Correct function name in END
28069 call.
28070
d9c2a0fd
JM
28071 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28072 (RUN_TEST_LOOP_fI_f1): New macro.
28073 (frexp_test_data): New variable.
28074 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28075
9dc9095d
JM
28076 * math/libm-test.inc (struct test_fF_f1_data): New type.
28077 (RUN_TEST_LOOP_fF_f1): New macro.
28078 (modf_test_data): New variable.
28079 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28080
87aa21df
JM
28081 * math/libm-test.inc (struct test_f_f1_data): New type.
28082 (RUN_TEST_LOOP_f_f1): New macro.
28083 (gamma_test_data): New variable.
28084 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28085 (lgamma_test_data): New variable.
28086 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28087
141af660
CD
280882013-05-13 Carlos O'Donell <carlos@redhat.com>
28089
28090 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28091 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28092 (main): Comment "tls" pseudo-hwcap.
28093
6d33265c
JM
280942013-05-13 Joseph Myers <joseph@codesourcery.com>
28095
68fc074c
JM
28096 * math/libm-test.inc (struct test_fl_f_data): New type.
28097 (RUN_TEST_LOOP_fl_f): New variable.
28098 (scalbln_test_data): New variable.
28099 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28100
243216e1
JM
28101 * math/libm-test.inc (struct test_fi_f_data): New type.
28102 (RUN_TEST_LOOP_fi_f): New macro.
28103 (ldexp_test_data): New variable.
28104 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28105 (scalbn_test_data): New variable.
28106 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28107
6a1992e2
JM
28108 * math/libm-test.inc (struct test_c_f_data): New type.
28109 (RUN_TEST_LOOP_c_f): New macro.
28110 (cabs_test_data): New variable.
28111 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28112 (carg_test_data): New variable.
28113 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28114 (cimag_test_data): New variable.
28115 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28116 (creal_test_data): New variable.
28117 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28118
0e400df5
JM
28119 * math/libm-test.inc (struct test_if_f_data): New type.
28120 (RUN_TEST_LOOP_if_f): New macro.
28121 (jn_test_data): New variable.
28122 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28123 (yn_test_data): New variable.
28124 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28125
6d33265c
JM
28126 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28127
f98ece5f
AZ
281282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28129
28130 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28131 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28132
0f7d347b
SP
281332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28134
43fe811b
SP
28135 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28136 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28137 (bench-deps): Add bench-timing.h.
28138 * benchtests-bench-skeleton.c: Include bench-timing.h.
28139 (main): Use TIMING_* macros instead of clock_gettime.
28140 * benchtests/bench-timing.h: New file.
28141
0f7d347b
SP
28142 [BZ #14582]
28143 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28144 Renamed from _LIB_VERSION.
28145 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28146
601a3a5f
JM
281472013-05-12 Joseph Myers <joseph@codesourcery.com>
28148
4f184d30
JM
28149 * math/libm-test.inc (struct test_fff_f_data): New type.
28150 (RUN_TEST_LOOP_fff_f): New macro.
28151 (fma_test_data): New variable.
28152 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28153 (fma_towardzero_test_data): New variable.
28154 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28155 (fma_downward_test_data): New variable.
28156 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28157 (fma_upward_test_data): New variable.
28158 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28159
08198877
JM
28160 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28161 (struct test_c_c_data): New type.
28162 (RUN_TEST_LOOP_c_c): New macro.
28163 (cacos_test_data): New variable.
28164 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28165 (cacosh_test_data): New variable.
28166 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28167 (casin_test_data): New variable.
28168 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28169 (casinh_test_data): New variable.
28170 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28171 (catan_test_data): New variable.
28172 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28173 (catanh_test_data): New variable.
28174 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28175 (ccos_test_data): New variable.
28176 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28177 (ccosh_test_data): New variable.
28178 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28179 (cexp_test_data): New variable.
28180 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28181 (clog_test_data): New variable.
28182 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28183 (clog10_test_data): New variable.
28184 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28185 (conj_test_data): New variable.
28186 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28187 (cproj_test_data): New variable.
28188 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28189 (csin_test_data): New variable.
28190 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28191 (csinh_test_data): New variable.
28192 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28193 (csqrt_test_data): New variable.
28194 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28195 (ctan_test_data): New variable.
28196 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28197 (ctan_tonearest_test_data): New variable.
28198 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28199 (ctan_towardzero_test_data): New variable.
28200 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28201 (ctan_downward_test_data): New variable.
28202 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28203 (ctan_upward_test_data): New variable.
28204 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28205 (ctanh_test_data): New variable.
28206 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28207 (ctanh_tonearest_test_data): New variable.
28208 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28209 (ctanh_towardzero_test_data): New variable.
28210 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28211 (ctanh_downward_test_data): New variable.
28212 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28213 (ctanh_upward_test_data): New variable.
28214 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28215 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28216 of BUILD_COMPLEX.
28217
601a3a5f
JM
28218 * math/libm-test.inc (struct test_ff_f_data): New type.
28219 (struct test_ff_f_data_nexttoward): Likewise.
28220 (RUN_TEST_LOOP_2_f): New macro.
28221 (RUN_TEST_LOOP_ff_f): Likewise.
28222 (atan2_test_data): New variable.
28223 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28224 (copysign_test_data): New variable.
28225 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28226 (fdim_test_data): New variable.
28227 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28228 (fmax_test_data): New variable.
28229 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28230 (fmin_test_data): New variable.
28231 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28232 (fmod_test_data): New variable.
28233 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28234 (hypot_test_data): New variable.
28235 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28236 (nextafter_test_data): New variable.
28237 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28238 (nexttoward_test_data): New variable.
28239 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28240 (pow_test_data): New variable.
28241 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28242 (pow_tonearest_test_data): New variable.
28243 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28244 (pow_towardzero_test_data): New variable.
28245 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28246 (pow_downward_test_data): New variable.
28247 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28248 (pow_upward_test_data): New variable.
28249 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28250 (remainder_test_data): New variable.
28251 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28252 (scalb_test_data): New variable.
28253 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255
74c57478
JM
282562013-05-11 Joseph Myers <joseph@codesourcery.com>
28257
8329e4da
JM
28258 * math/libm-test.inc (fma_test): Use max_value instead of local
28259 variable fltmax.
28260 (nextafter_test): Likewise.
28261
74c57478
JM
28262 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28263 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28264 (acos_downward_test_data): New variable.
28265 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28266 (acos_upward_test_data): New variable.
28267 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28268 (acosh_test_data): New variable.
28269 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28270 (asin_test_data): New variable.
28271 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28272 (asin_tonearest_test_data): New variable.
28273 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28274 (asin_towardzero_test_data): New variable.
28275 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28276 (asin_downward_test_data): New variable.
28277 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28278 (asin_upward_test_data): New variable.
28279 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28280 (asinh_test_data): New variable.
28281 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28282 (atan_test_data): New variable.
28283 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28284 (atanh_test_data): New variable.
28285 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28286 (cbrt_test_data): New variable.
28287 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28288 (ceil_test_data): New variable.
28289 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28290 (cos_test_data): New variable.
28291 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28292 (cos_tonearest_test_data): New variable.
28293 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28294 (cos_towardzero_test_data): New variable.
28295 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28296 (cos_downward_test_data): New variable.
28297 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28298 (cos_upward_test_data): New variable.
28299 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28300 (cosh_test_data): New variable.
28301 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28302 (cosh_tonearest_test_data): New variable.
28303 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28304 (cosh_towardzero_test_data): New variable.
28305 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28306 (cosh_downward_test_data): New variable.
28307 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28308 (cosh_upward_test_data): New variable.
28309 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28310 (erf_test_data): New variable.
28311 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28312 (erfc_test_data): New variable.
28313 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28314 (exp_test_data): New variable.
28315 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28316 (exp_tonearest_test_data): New variable.
28317 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28318 (exp_towardzero_test_data): New variable.
28319 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28320 (exp_downward_test_data): New variable.
28321 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28322 (exp_upward_test_data): New variable.
28323 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28324 (exp10_test_data): New variable.
28325 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28326 (exp2_test_data): New variable.
28327 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28328 (expm1_test_data): New variable.
28329 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28330 (fabs_test_data): New variable.
28331 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28332 (floor_test_data): New variable.
28333 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28334 (j0_test_data): New variable.
28335 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28336 (j1_test_data): New variable.
28337 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28338 (log_test_data): New variable.
28339 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28340 (log10_test_data): New variable.
28341 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28342 (log1p_test_data): New variable.
28343 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28344 (log2_test_data): New variable.
28345 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28346 (logb_test_data): New variable.
28347 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28348 (logb_downward_test_data): New variable.
28349 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28350 (nearbyint_test_data): New variable.
28351 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28352 (rint_test_data): New variable.
28353 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28354 (rint_tonearest_test_data): New variable.
28355 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28356 (rint_towardzero_test_data): New variable.
28357 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28358 (rint_downward_test_data): New variable.
28359 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28360 (rint_upward_test_data): New variable.
28361 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28362 (round_test_data): New variable.
28363 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28364 (sin_test_data): New variable.
28365 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28366 (sin_tonearest_test_data): New variable.
28367 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28368 (sin_towardzero_test_data): New variable.
28369 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28370 (sin_downward_test_data): New variable.
28371 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28372 (sin_upward_test_data): New variable.
28373 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28374 (sinh_test_data): New variable.
28375 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28376 (sinh_tonearest_test_data): New variable.
28377 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28378 (sinh_towardzero_test_data): New variable.
28379 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28380 (sinh_downward_test_data): New variable.
28381 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28382 (sinh_upward_test_data): New variable.
28383 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28384 (sqrt_test_data): New variable.
28385 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28386 (tan_test_data): New variable.
28387 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28388 (tan_tonearest_test_data): New variable.
28389 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28390 (tan_towardzero_test_data): New variable.
28391 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28392 (tan_downward_test_data): New variable.
28393 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28394 (tan_upward_test_data): New variable.
28395 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28396 (tanh_test_data): New variable.
28397 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28398 (tgamma_test_data): New variable.
28399 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28400 (trunc_test_data): New variable.
28401 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28402 (y0_test_data): New variable.
28403 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28404 (y1_test_data): New variable.
28405 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28406 (significand_test_data): New variable.
28407 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28408
7187d844
CG
284092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28410
28411 [BZ #12387]
28412 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28413
f63fae73
PT
284142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28415
28416 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28417
8a67a4b3
AJ
284182013-05-10 Andreas Jaeger <aj@suse.de>
28419
28420 [BZ #15448]
28421 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28422 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28423
51df539d
JM
284242013-05-10 Joseph Myers <joseph@codesourcery.com>
28425
28426 * math/gen-libm-test.pl (adjust_arg): New function.
28427 (special_functions): Handle generating output in both functions
28428 and arrays.
28429 (parse_args): Likewise.
28430 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28431 $in_func argument to parse_args.
28432 * math/libm-test.inc (struct test_f_f_data): New type.
28433 (IF_ROUND_INIT_): New macro.
28434 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28435 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28436 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28437 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28438 (ROUND_RESTORE_): Likewise.
28439 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28440 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28441 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28442 (ROUND_RESTORE_FE_UPWARD): Likewise.
28443 (RUN_TEST_LOOP_f_f): New macro.
28444 (acos_test_data): New variable.
28445 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28446 (acos_tonearest_test_data): New variable.
28447 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28448
5c637fe5
SP
284492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28450
28451 * benchtests/bench-skeleton.c (startup): Fix coding style.
28452
ab2b9461
JM
284532013-05-10 Joseph Myers <joseph@codesourcery.com>
28454
28455 [BZ #6809]
28456 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28457 negative infinity argument.
28458 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28459 negative infinity argument.
28460 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28461 negative infinity argument.
28462 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28463 domain errors.
28464
4c0fe6fe
FW
284652013-05-10 Florian Weimer <fweimer@redhat.com>
28466
28467 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28468 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28469 * iconv/iconv_prog.c (main): Likewise.
28470 * locale/programs/charmap-dir.c (charmap_readdir)
28471 (fopen_uncompressed): Likewise.
28472 * locale/programs/locfile.c (siblings_uncached)
28473 (write_locale_data): Use lstat64 instead of lstat.
28474 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28475 stat.
28476
a3375d29
AJ
284772013-05-10 Andreas Jaeger <aj@suse.de>
28478
28479 [BZ #15395]
28480 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28481 localization.
28482 Include <locale.h>.
28483
36129722
CD
284842013-05-09 Carlos O'Donell <carlos@redhat.com>
28485
28486 * elf/dl-close.c (_dl_close_worker): Add comments.
28487
faa7f811
JM
284882013-05-09 Joseph Myers <joseph@codesourcery.com>
28489
ed41ffef
JM
28490 [BZ #15359]
28491 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28492 high part of pi/2.
28493 (__ieee754_rem_pio2l): Update comments.
28494
d0213cd0
JM
28495 [BZ #15429]
28496 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28497 high part of pi/2.
28498 (__ieee754_rem_pio2l): Update comments.
28499
0d3e777a
JM
28500 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28501 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28502
24f56066
JM
28503 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28504 M_PI_4l.
28505
faa7f811
JM
28506 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28507 (M_PI_34_LOG10El): Likewise.
28508 (M_PI2_LOG10El): Likewise.
28509 (M_PI4_LOG10El): Likewise.
28510 (M_PI_LOG10El): Likewise.
28511
e9a5e0fd
AZ
285122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28513
28514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28515
d8cd06db
JM
285162013-05-08 Joseph Myers <joseph@codesourcery.com>
28517
a0d9f9d7
JM
28518 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28519 (MINUS_ZERO_INIT): Likewise.
28520 (PLUS_INFTY_INIT): Likewise.
28521 (MINUS_INFTY_INIT): Likewise.
28522 (QNAN_VALUE_INIT): Likewise.
28523 (MAX_VALUE_INIT): Likewise.
28524 (MIN_VALUE_INIT): Likewise.
28525 (MIN_SUBNORM_VALUE_INIT): Likewise.
28526 (plus_zero): Initialize with PLUS_ZERO_INIT.
28527 (minus_zero): Initialize with MINUS_ZERO_INIT.
28528 (plus_infty): Initialize with PLUS_INFTY_INIT.
28529 (minus_infty): Initialize with MINUS_INFTY_INIT.
28530 (qnan_value): Initialize with QNAN_VALUE_INIT.
28531 (max_value): Initialize with MAX_VALUE_INIT.
28532 (min_value): Initialize with MIN_VALUE_INIT.
28533 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28534
ae08db3b
JM
28535 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28536 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28537 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28538 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28539
f44bf14a
JM
28540 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28541 (RUN_TEST_2_f): Likewise.
28542 (RUN_TEST_ff_f): Likewise.
28543 (RUN_TEST_fi_f): Likewise.
28544 (RUN_TEST_fl_f): Likewise.
28545 (RUN_TEST_fff_f): Likewise.
28546 (RUN_TEST_c_f): Likewise.
28547 (RUN_TEST_f_f1): Likewise.
28548 (RUN_TEST_fF_f1): Likewise.
28549 (RUN_TEST_fI_f1): Likewise.
28550 (RUN_TEST_ffI_f1): Likewise.
28551 (RUN_TEST_c_c): Likewise.
28552 (RUN_TEST_cc_c): Likewise.
28553 (RUN_TEST_f_i): Likewise.
28554 (RUN_TEST_f_i_tg): Likewise.
28555 (RUN_TEST_ff_i_tg): Likewise.
28556 (RUN_TEST_f_b): Likewise.
28557 (RUN_TEST_f_b_tg): Likewise.
28558 (RUN_TEST_f_l): Likewise.
28559 (RUN_TEST_f_L): Likewise.
28560 (RUN_TEST_sincos): Likewise.
28561 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28562 whether to show exceptions. Do not include ");\n" in return
28563 value.
28564 (special_functions): Output call to RUN_TEST_sincos instead of
28565 check_float calls. Update calls to new_test.
28566 (parse_args): Output call to single RUN_TEST_* macro instead of
28567 check_* calls and other assignments. Update calls to new_test.
28568
d8cd06db
JM
28569 [BZ #2546]
28570 [BZ #2560]
28571 [BZ #5159]
28572 [BZ #15426]
28573 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28574 input to result for tgamma overflow.
28575 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28576 (gamma_coeff): New variable.
28577 (NCOEFF): New macro.
28578 (gamma_positive): New function.
28579 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28580 underflow here. Use gamma_positive instead of exp (lgamma) for
28581 other arguments.
28582 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28583 (gamma_coeff): New variable.
28584 (NCOEFF): New macro.
28585 (gammaf_positive): New function.
28586 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28587 underflow here. Use gamma_positive instead of exp (lgamma) for
28588 other arguments.
28589 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28590 (gamma_coeff): New variable.
28591 (NCOEFF): New macro.
28592 (gammal_positive): New function.
28593 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28594 underflow here. Use gamma_positive instead of exp (lgamma) for
28595 other arguments.
28596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28597 (gamma_coeff): New variable.
28598 (NCOEFF): New macro.
28599 (gammal_positive): New function.
28600 (__ieee754_gammal_r): Handle positive infinity, overflow and
28601 underflow here. Handle NaN the same as positive infinity. Remove
28602 check x < 0xffffffff for negative integers. Use gamma_positive
28603 instead of exp (lgamma) for other arguments.
28604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28605 (gamma_coeff): New variable.
28606 (NCOEFF): New macro.
28607 (gammal_positive): New function.
28608 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28609 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28613 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28614 * sysdeps/generic/math_private.h (__gamma_productf): New
28615 prototype.
28616 (__gamma_product): Likewise.
28617 (__gamma_productl): Likewise.
28618 * math/Makefile (libm-calls): Add gamma_product.
28619 * math/libm-test.inc (tgamma_test): Add more tests.
28620 * sysdeps/i386/fpu/libm-test-ulps: Update.
28621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28622
bb7cf681
OB
286232013-05-08 Ondřej Bílka <neleai@seznam.cz>
28624
28625 * benchtests/bench-skeleton.c (main): Preheat CPU.
28626
ba853947
AJ
286272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28628
28629 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28630
8347c74c
RM
286312013-05-07 Roland McGrath <roland@hack.frob.com>
28632
28633 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28634 and _dl_skip_args_internal.
28635
e8dd4791
CD
286362013-05-07 Carlos O'Donell <carlos@redhat.com>
28637
28638 * manual/message.texi (Message Translation): Talk about users.
28639 Message to key mapping impacts design.
28640
c7405830
RM
286412013-05-06 Roland McGrath <roland@hack.frob.com>
28642
a9173057
RM
28643 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28644
976e2f03
RM
28645 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28646
9723ffc5
RM
28647 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28648 * sysdeps/wordsize-64/glob64.c: ... here.
28649
962e6658
RM
28650 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28651 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28652 New macros.
28653
ee586a6d
RM
28654 * debug/getlogin_r_chk.c: Moved to ...
28655 * login/getlogin_r_chk.c: ... here.
28656 * debug/Makefile (routines): Move getlogin_r_chk to ...
28657 * login/Makefile (routines): ... here.
28658 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28659 * login/Versions (libc: GLIBC_2.4): ... here.
28660
355f9165
RM
28661 * io/poll.c (__poll): Renamed from poll.
28662 Add libc_hidden_def.
28663 (poll): Define as weak alias.
28664
bd9ffde6
RM
28665 * debug/ptsname_r_chk.c: Moved to ...
28666 * login/ptsname_r_chk.c: ... here.
28667 * debug/Makefile (routines): Move ptsname_r_chk to ...
28668 * login/Makefile (routines): ... here.
28669 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28670 * login/Versions (libc: GLIBC_2.4): ... here.
28671
8fb16a04
RM
28672 * posix/getlogin.c: Moved to ...
28673 * login/getlogin.c: ... here.
28674 * posix/getlogin_r.c: Moved to ...
28675 * login/getlogin_r.c: ... here.
28676 * posix/getlogin_r.c: Moved to ...
28677 * login/getlogin_r.c: ... here.
28678 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28679 * login/Makefile (routines): ... here.
28680 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28681 * login/Versions (libc: GLIBC_2.0): ... here.
28682
b99b892f
RM
28683 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28684 (setrlimit): Define as weak alias.
28685
c7405830
RM
28686 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28687 Call __ names for open, ftruncate, and close.
28688 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28689 (truncate): Define as weak alias.
28690
5bf96de5
JM
286912013-05-06 Joseph Myers <joseph@codesourcery.com>
28692
9ea3513c
JM
28693 * math/gen-libm-test.pl (parse_args): Initialize x before each
28694 test of frexp, modf and remquo.
28695
5bf96de5
JM
28696 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28697 test signgam value.
28698
16e616a7
AZ
286992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28700
28701 [BZ #15418]
28702 [BZ #15419]
28703 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28704 internal tests.
28705 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28706
d5e82754
RM
287072013-05-06 Roland McGrath <roland@hack.frob.com>
28708
28709 * elf/dl-writev.h: New file.
28710 * elf/dl-misc.c: Include it.
28711 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28712 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28713
a7548d41
JM
287142013-05-04 Joseph Myers <joseph@codesourcery.com>
28715
b7dab1e4
JM
28716 * math/libm-test.inc (noXFails): Remove variable.
28717 (noXPasses): Likewise.
28718 (BUILD_COMPLEX_INT): Remove macro.
28719 (print_screen): Remove xfail argument.
28720 (print_screen_max_error): Likewise.
28721 (update_stats): Likewise.
28722 (print_max_error): Likewise. Update calls to other affected
28723 functions.
28724 (print_complex_max_error): Likewise.
28725 (test_single_exception): Update calls to print_screen.
28726 (test_single_errno): Likewise.
28727 (check_float_internal): Remove xfail argument. Update calls to
28728 other affected functions.
28729 (check_float): Likewise.
28730 (check_complex): Likewise.
28731 (check_int): Likewise.
28732 (check_long): Likewise.
28733 (check_bool): Likewise.
28734 (check_longlong): Likewise.
28735 (main): Don't print noXFails and noXPasses.
28736 * math/gen-libm-test.pl (top level): Don't mention expected
28737 failure handling in comment.
28738 (new_test): Don't handle expected failures.
28739 (parse_args): Don't mention expected failure handling in comment.
28740 (generate_testfile): Don't handle expected failures.
28741 (parse_ulps): Likewise.
28742 (print_ulps_file): Likewise.
28743 (get_failure): Remove function.
28744 (output_test): Don't handle expected failures.
28745 * make/README.libm-test: Don't mention expected failure handling.
28746
a7548d41
JM
28747 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28748 (minus_zero): Likewise.
28749 (plus_infty): Likewise.
28750 (minus_infty): Likewise.
28751 (qnan_value): Likewise.
28752 (max_value): Likewise.
28753 (min_value): Likewise.
28754 (min_subnorm_value): Likewise.
28755 (initialize): Do not initialize those variables dynamically.
28756
60bfd54c
RM
287572013-05-03 Roland McGrath <roland@hack.frob.com>
28758
cc0e6ed8
RM
28759 * io/open.c (__open_2): Moved to ...
28760 * io/open_2.c: ... this new file.
28761 * io/open64.c (__open64_2): Moved to ...
28762 * io/open64_2.c: ... this new file.
28763 * io/openat.c (__openat_2): Moved to ...
28764 * io/openat_2.c: ... this new file.
28765 * io/openat64.c (__openat64_2): Moved to ...
28766 * io/openat64_2.c: ... this new file.
28767 * io/Makefile (routines): Add them.
28768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28769 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28770 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28771 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28772 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28773 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28774 (__openat64): Add hidden_ver.
28775 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28776 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28777
60bfd54c
RM
28778 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28779 Separately conditionalize setting of GLRO(dl_sysinfo) so
28780 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28781 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28782
83e7640f
AZ
287832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28784
28785 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28787 definition.
28788 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28789 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28790 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28791 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28792 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28793
d5dc2af3
JM
287942013-05-03 Joseph Myers <joseph@codesourcery.com>
28795
c31a5b1e
JM
28796 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28797 test signgam value.
28798
d5dc2af3
JM
28799 * math/libm-test.inc (hypot_test): Do not use
28800 IGNORE_ZERO_INF_SIGN.
28801
164fd39d
AJ
288022013-05-03 Andreas Jaeger <aj@suse.de>
28803
28804 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28805 Linux 3.9.
28806 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28807 (PF_MAX): Adjust for VSOCK change.
28808
8237f48c
AZ
288092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28810
28811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28812
9df02941
CD
288132013-05-02 Carlos O'Donell <carlos@redhat.com>
28814
28815 [BZ #15264]
28816 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28817 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28818 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28819
d422395e
DM
288202013-05-02 David S. Miller <davem@davemloft.net>
28821
28822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28823
a07c5731
OB
288242013-05-01 Ondřej Bílka <neleai@seznam.cz>
28825
28826 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28827
1324e37f
RM
288282013-05-01 Roland McGrath <roland@hack.frob.com>
28829
28830 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28831
0695940b
RS
288322013-05-01 Richard Smith <richard@metafoo.co.uk>
28833
bb5f27ad 28834 [BZ #14952]
0695940b
RS
28835 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28836 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28837 Use __attribute__ ((__gnu_inline__)).
28838 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28839 Don't use __attribute__ ((__gnu_inline__)).
28840
10de07f5
JM
288412013-05-01 Joseph Myers <joseph@codesourcery.com>
28842
28843 [BZ #15423]
28844 * math/s_catan.c (__catan): Handle small real or imaginary part of
28845 input specially to avoid spurious underflow.
28846 * math/s_catanf.c (__catanf): Likewise.
28847 * math/s_catanh.c (__catanh): Likewise.
28848 * math/s_catanhf.c (__catanhf): Likewise.
28849 * math/s_catanhl.c (__catanhl): Likewise.
28850 * math/s_catanl.c (__catanl): Likewise.
28851 * math/libm-test.inc (catan_test): Add more tests.
28852 (catanh_test): Likewise.
28853 * sysdeps/i386/fpu/libm-test-ulps: Update.
28854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28855
cb4d5414
AZ
288562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28857
28858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28859
caf84319
JM
288602013-04-30 Joseph Myers <joseph@codesourcery.com>
28861
28862 [BZ #15416]
28863 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28864 accurately for denominator in atan2.
28865 * math/s_catanf.c (__catanf): Likewise.
28866 * math/s_catanh.c (__catanh): Likewise.
28867 * math/s_catanhf.c (__catanhf): Likewise.
28868 * math/s_catanhl.c (__catanhl): Likewise.
28869 * math/s_catanl.c (__catanl): Likewise.
28870 * math/libm-test.inc (catan_test): Add more tests.
28871 (catanh_test): Likewise.
28872 * sysdeps/i386/fpu/libm-test-ulps: Update.
28873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28874
d569c6ee
SP
288752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28876
6dbe713d
SP
28877 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28878
f0ee064b
SP
28879 * benchtests/Makefile (bench): Remove slow benchmarks.
28880 * benchtests/atan-inputs: Add slow benchmark inputs.
28881 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28882 (BENCH_FUNC): Accept variant offset.
28883 (VARIANT): Define.
28884 * benchtests/bench-skeleton.c (main): Run benchmark for each
28885 variant.
28886 * benchtests/cos-inputs: Add slow benchmark inputs.
28887 * benchtests/exp-inputs: Likewise.
28888 * benchtests/pow-inputs: Likewise.
28889 * benchtests/sin-inputs: Likewise.
28890 * benchtests/slowatan-inputs: Remove.
28891 * benchtests/slowatan.c: Remove.
28892 * benchtests/slowcos-inputs: Remove.
28893 * benchtests/slowcos.c: Remove.
28894 * benchtests/slowexp-inputs: Remove.
28895 * benchtests/slowexp.c: Remove.
28896 * benchtests/slowpow-inputs: Remove.
28897 * benchtests/slowpow.c: Remove.
28898 * benchtests/slowsin-inputs: Remove.
28899 * benchtests/slowsin.c: Remove.
28900 * benchtests/slowtan-inputs: Remove.
28901 * benchtests/slowtan.c: Remove.
28902 * benchtests/tan-inputs: Add slow benchmark inputs.
28903 * scripts/bench.pl: Parse comments and directives.
28904
d569c6ee
SP
28905 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28906 in CPPFLAGS.
28907 ($(objpfx)bench-%.c): Remove *-ITER.
28908 * benchtests/bench-modf.c: Remove definition of ITER.
28909 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28910 (main): Loop for DURATION seconds instead of fixed number of
28911 iterations.
28912 * scripts/bench.pl: Don't expect iterations in parameters.
28913
a6a242fe
RM
289142013-04-29 Roland McGrath <roland@hack.frob.com>
28915
28916 * io/fchdir.c (__fchdir): Renamed from fchdir.
28917 (fchdir): Define as weak alias.
28918
f2da7793
JM
289192013-04-29 Joseph Myers <joseph@codesourcery.com>
28920
28921 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28922 (ERRNO_EDOM): Likewise.
28923 (ERRNO_ERANGE): Likewise.
28924 (noErrnoTests): New variable.
28925 (init_max_error): Set errno to 0.
28926 (test_single_errno): New function.
28927 (test_errno): Likewise.
28928 (check_float_internal): Call test_errno. Set errno to 0.
28929 (check_complex): Refer to errno tests in comment.
28930 (check_int): Call test_errno. Set errno to 0.
28931 (check_long): Likewise.
28932 (check_bool): Likewise.
28933 (check_longlong): Likewise.
28934 (cos_test): Use ERRNO_* flags for errno tests instead of
28935 check_int.
28936 (expm1_test): Likewise.
28937 (fmod_test): Likewise.
28938 (ilogb_test): Likewise.
28939 (lgamma_test): Likewise.
28940 (pow_test): Likewise.
28941 (remainder_test): Likewise.
28942 (sin_test): Likewise.
28943 (tan_test): Likewise.
28944 (yn_test): Likewise.
28945 (initialize): Set errno to 0.
28946 (main): Print number of errno tests.
28947 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28948
b1a36ceb
AJ
289492013-04-29 Andreas Jaeger <aj@suse.de>
28950
c3ed8088
AJ
28951 [BZ #15084]
28952 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28953 and RES_USEVC.
28954
f1a24198
AJ
28955 [BZ #15085]
28956 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28957 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28958 unimplemented.
28959
9ce3b2cb
AJ
28960 [BZ #15380]
28961 * stdlib/random.c (__initstate): Return NULL if
28962 __initstate fails.
28963
f1a24198 28964 [BZ #15086]
b1a36ceb
AJ
28965 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28966 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28967 RES_SNGLKUPREOP.
28968
7e7b6f36
AZ
289692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28970
28971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28972
4d14f449
JM
289732013-04-29 Joseph Myers <joseph@codesourcery.com>
28974
28975 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28976 of individual tests.
28977 (casin_test): Likewise.
28978 (casinh_test): Likewise.
28979
5b4217d7
JM
289802013-04-27 Joseph Myers <joseph@codesourcery.com>
28981
28982 [BZ #15409]
28983 * math/s_catan.c (__catan): Handle arguments with large real or
28984 imaginary part separately without squaring.
28985 * math/s_catanf.c (__catanf): Likewise.
28986 * math/s_catanh.c (__catanh): Likewise.
28987 * math/s_catanhf.c (__catanhf): Likewise.
28988 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28989 and redefine.
28990 (__catanhl): Handle arguments with large real or imaginary part
28991 separately without squaring.
28992 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28993 and redefine.
28994 (__catanl): Handle arguments with large real or imaginary part
28995 separately without squaring.
28996 * math/libm-test.inc (catan_test): Add more tests.
28997 (catanh_test): Likewise.
28998 * sysdeps/i386/fpu/libm-test-ulps: Update.
28999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29000
4220c3ef
AJ
290012013-04-27 Andreas Jaeger <aj@suse.de>
29002
29003 [BZ #15007]
29004 * stdlib/stdlib.h: Update guards for qecvt.
29005 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29006 <stdlib.h>.
29007
4721b2d1
AM
290082013-04-27 Allan McRae <allan@archlinux.org>
29009
29010 * sysdeps/i386/fpu/libm-test-ulps: Update.
29011
f0302940
JM
290122013-04-26 Joseph Myers <joseph@codesourcery.com>
29013
9457fd95
JM
29014 [BZ #15406]
29015 * math/s_catan.c: Include <float.h>.
29016 (__catan): Ensure underflow exception occurs for underflowed
29017 result.
29018 * math/s_catanf.c: Include <float.h>.
29019 (__catanf): Ensure underflow exception occurs for underflowed
29020 result.
29021 * math/s_catanh.c: Include <float.h>.
29022 (__catanh): Ensure underflow exception occurs for underflowed
29023 result.
29024 * math/s_catanhf.c: Include <float.h>.
29025 (__catanhf): Ensure underflow exception occurs for underflowed
29026 result.
29027 * math/s_catanhl.c: Include <float.h>.
29028 (__catanhl): Ensure underflow exception occurs for underflowed
29029 result.
29030 * math/s_catanl.c: Include <float.h>.
29031 (__catanl): Ensure underflow exception occurs for underflowed
29032 result.
29033 * math/libm-test.inc (catan_test): Add more tests.
29034 (catanh_test): Likewise.
29035
f0302940
JM
29036 [BZ #15405]
29037 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29038 underflowed result.
29039 * math/s_ccoshf.c (__ccoshf): Likewise.
29040 * math/s_ccoshl.c (__ccoshl): Likewise.
29041 * math/s_csin.c (__csin): Likewise.
29042 * math/s_csinf.c (__csinf): Likewise.
29043 * math/s_csinh.c (__csinh): Likewise.
29044 * math/s_csinhf.c (__csinhf): Likewise.
29045 * math/s_csinhl.c (__csinhl): Likewise.
29046 * math/s_csinl.c (__csinl): Likewise.
29047 * math/libm-test.inc (ccos_test): Add more tests.
29048 (ccosh_test): Likewise.
29049 (csin_test): Likewise.
29050 (csinh_test): Likewise.
29051
aa630f59
AZ
290522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29053
29054 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29055 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29056 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29057 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29058 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29059 powerpc/power5+/fpu folders.
29060 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29061
29062
1b835983
MT
290632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29064
29065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29066
73709b26
JM
290672013-04-25 Joseph Myers <joseph@codesourcery.com>
29068
29069 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29070 additions to variable.
29071 [$(config-machine) = x86_64] (modules-names): Likewise.
29072 ($(objpfx)tst-audit3): Remove dependency.
29073 ($(objpfx)tst-audit3.out): Likewise.
29074 ($(objpfx)tst-audit4): Likewise.
29075 ($(objpfx)tst-audit4.out): Likewise.
29076 ($(objpfx)tst-audit5): Likewise.
29077 ($(objpfx)tst-audit5.out): Likewise.
29078 ($(objpfx)tst-audit6): Likewise.
29079 ($(objpfx)tst-audit6.out): Likewise.
29080 ($(objpfx)tst-audit7): Likewise.
29081 ($(objpfx)tst-audit7.out): Likewise.
29082 (tst-audit3-ENV): Remove variable.
29083 (tst-audit4-ENV): Likewise.
29084 (tst-audit5-ENV): Likewise.
29085 (tst-audit6-ENV): Likewise.
29086 (tst-audit7-ENV): Likewise.
29087 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29088 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29089 addition to variable.
29090 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29095 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29096 tst-audit3, tst-audit4 and tst-audit5.
29097 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29098 tst-audit6 and tst-audit7.
29099 [$(subdir) = elf] (modules-names): Add audit modules for those
29100 tests.
29101 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29102 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29103 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29104 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29105 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29106 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29107 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29108 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29109 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29110 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29111 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29112 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29113 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29114 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29115 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29116 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29117 Likewise.
29118 [$(subdir) = elf && $(config-cflags-avx) = yes]
29119 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29120 [$(subdir) = elf && $(config-cflags-avx) = yes]
29121 (CFLAGS-tst-auditmod4a.c): Likewise.
29122 [$(subdir) = elf && $(config-cflags-avx) = yes]
29123 (CFLAGS-tst-auditmod4b.c): Likewise.
29124 [$(subdir) = elf && $(config-cflags-avx) = yes]
29125 (CFLAGS-tst-auditmod6b.c): Likewise.
29126 [$(subdir) = elf && $(config-cflags-avx) = yes]
29127 (CFLAGS-tst-auditmod6c.c): Likewise.
29128 [$(subdir) = elf && $(config-cflags-avx) = yes]
29129 (CFLAGS-tst-auditmod7b.c): Likewise.
29130 * elf/tst-audit3.c: Move to ...
29131 * sysdeps/x86_64/tst-audit3.c: ... here.
29132 * elf/tst-audit4.c: Move to ...
29133 * sysdeps/x86_64/tst-audit4.c: ... here.
29134 * elf/tst-audit5.c: Move to ...
29135 * sysdeps/x86_64/tst-audit5.c: ... here.
29136 * elf/tst-audit6.c: Move to ...
29137 * sysdeps/x86_64/tst-audit6.c: ... here.
29138 * elf/tst-audit7.c: Move to ...
29139 * sysdeps/x86_64/tst-audit7.c: ... here.
29140 * elf/tst-auditmod3a.c: Move to ...
29141 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29142 * elf/tst-auditmod3b.c: Move to ...
29143 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29144 * elf/tst-auditmod4a.c: Move to ...
29145 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29146 * elf/tst-auditmod4b.c: Move to ...
29147 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29148 * elf/tst-auditmod5a.c: Move to ...
29149 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29150 * elf/tst-auditmod5b.c: Move to ...
29151 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29152 * elf/tst-auditmod6a.c: Move to ...
29153 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29154 * elf/tst-auditmod6b.c: Move to ...
29155 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29156 * elf/tst-auditmod6c.c: Move to ...
29157 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29158 * elf/tst-auditmod7a.c: Move to ...
29159 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29160 * elf/tst-auditmod7b.c: Move to ...
29161 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29162
1ef74943
PP
291632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29164
29165 [BZ #15366]
29166 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29167 define unconditionally.
29168 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29169 define unconditionally.
29170 (INT8_C, INT16_C, etc.): Likewise.
29171
93fd48c5
MR
291722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29173
ae9552cf
MR
29174 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29175 __ehdr_start with hidden visibility.
29176
93fd48c5
MR
29177 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29178
418601aa
CD
291792013-04-24 Carlos O'Donell <carlos@redhat.com>
29180
29181 * math/libm-test.inc (cos_test): Use accurate hex constants.
29182 (sincost_test): Likewise.
29183
2f38fbfe
JM
291842013-04-24 Joseph Myers <joseph@codesourcery.com>
29185
5e221800
JM
29186 * math/libm-test.inc (catan_test): Add more tests.
29187 (catanh_test): Likewise.
29188
77f143fd
JM
29189 * math/s_catanf.c (__catanf): Use suffixed floating-point
29190 constants.
29191 * math/s_catanhf.c (__catanhf): Likewise.
29192 * math/s_catanhl.c (__catanhl): Likewise.
29193 * math/s_catanl.c (__catanl): Likewise.
29194
2f38fbfe
JM
29195 [BZ #15394]
29196 * math/s_catan.c (__catan): Calculate imaginary part of result
29197 with log1p not log unless computing log of number close to 0.
29198 * math/s_catanf.c (__catanf): Likewise.
29199 * math/s_catanl.c (__catanl): Likewise.
29200 * math/s_catanh.c (__catanh): Calculate real part of result with
29201 log1p not log unless computing log of number close to 0.
29202 * math/s_catanhf.c (__catanhf): Likewise.
29203 * math/s_catanhl.c (__catanhl): Likewise.
29204 * math/libm-test.inc (catan_test): Add more tests.
29205 (catanh_test): Likewise.
29206 * sysdeps/i386/fpu/libm-test-ulps: Update.
29207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29208
45d69176
SP
292092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29210
29211 * benchtests/Makefile: Mention files in which fast and slow
29212 paths of math functions are implemented.
29213
87f51853
RM
292142013-04-23 Roland McGrath <roland@hack.frob.com>
29215
29216 * sysdeps/posix/timespec_get.c: New file.
29217
3c026539
AZ
292182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29219
29220 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29221 POWER.
29222 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29223 for POWER.
29224 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29225 powerpc/power5/fpu folders.
29226 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29227 * benchtests/Makefile: Add modf testcase.
29228 * benchtests/bench-modf.c: New file: Benchmark test for mo
29229
ff491d14
SP
292302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29231
29232 [BZ #14888]
29233 * time/Makefile (tests): Add tst-strptime-whitespace.
29234 * time/strptime_l.c (get_number): Use ISSPACE.
29235 (__strptime_internal): Likewise.
29236 * time/tst-strptime-whitespace.c: New test case.
29237
7ed3f4e8
AS
292382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29239
29240 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29241 member.
29242 (_nss_files_init): Set it here.
29243
5c95f7b6
HC
292442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29245
29246 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29247 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29248 unsigned.
29249
d34c9158
JBG
292502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29251
29252 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29253
2169712d
SP
292542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29255
29256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29257 size just once.
29258
29c5de99
DM
292592013-04-21 David S. Miller <davem@davemloft.net>
29260
29261 * po/ru.po: Update Russion translation from translation project.
29262
ccdad15d
AC
292632013-04-17 Adam Conrad <adconrad@0c3.net>
29264
29265 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29266 and setfsgid.
29267
0f122b8d
CD
292682013-04-17 Carlos O'Donell <carlos@redhat.com>
29269
5c5b07da 29270 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29271 * configure: Regenerate.
5c5b07da 29272 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29273 Add example to error message.
29274 * sysdeps/i386/configure: Regenerate.
29275
037714dd
SP
292762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29277
29278 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29279 slowtan.
29280 * benchtests/cos-inputs: New file.
29281 * benchtests/slowcos-inputs: New file.
29282 * benchtests/slowcos.c: New file.
29283 * benchtests/slowtan-inputs: New file.
29284 * benchtests/slowtan.c: New file.
29285 * benchtests/tan-inputs: New file.
29286
e913141d
RM
292872013-04-16 Roland McGrath <roland@hack.frob.com>
29288
29289 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29290 considered kosher.
29291
a2964074
SP
292922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29293
4856bcd2
SP
29294 * benchtests/Makefile: Include cppflags-iterator.mk to add
29295 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29296
a2964074
SP
29297 * Makefile.in (bench-clean): New target.
29298 * benchtests/Makefile (bench-clean): Likewise.
29299
9fbf9aca
DH
293002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29301
29302 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29303
207d1e2a
TS
293042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29305
29306 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29307
306dfba9
AS
293082013-04-15 Andreas Schwab <schwab@suse.de>
29309
29310 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29312 * nscd/pwdcache.c (cache_addpw): Likewise.
29313 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29314 more than recsize.
29315
206a6699
SP
293162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29317
29318 * benchtests/Makefile (bench): Write all output to
29319 bench-out.tmp together.
29320
0582f6b3
AS
293212013-04-15 Andreas Schwab <schwab@suse.de>
29322
29323 * nscd/nscd.c (main): Don't fork again after closing files.
29324
acb4325f
SP
293252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29326
5cb26d0a
SP
29327 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29328
acb4325f
SP
29329 * benchtests/Rules (bench-deps): Collect dependencies into a
29330 single variable. Add Makefile to dependencies.
29331 ($(objpfx)bench-%.c): Depend on bench-deps.
29332
47792506
RM
293332013-04-12 Roland McGrath <roland@hack.frob.com>
29334 Xavier Roche <roche+kml2@exalead.com>
29335
29336 [BZ #15361]
29337 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29338 just that it's a file descriptor.
29339 * manual/llio.texi (Synchronizing AIO Operations): Update description
29340 for EBADF error from aio_fsync.
29341
8fc1bee5
SP
293422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29343
29344 * Rules (bench): Move target definition...
29345 * benchtests/Makefile: ... here.
29346
aba5e333
CD
293472013-04-11 Carlos O'Donell <carlos@redhat.com>
29348
29349 * math/libm-test.inc (cos_test): Fix PI/2 test.
29350 (sincos_test): Likewise.
29351 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29352 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29353
273cdee8
AS
293542013-04-11 Andreas Schwab <schwab@suse.de>
29355
6ecec3b6
AS
29356 [BZ #13988]
29357 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29358 accept exponent character only when digits were seen.
29359 * stdio-common/Makefile (tests): Add bug26.
29360 * stdio-common/bug26.c: New file.
29361
273cdee8
AS
29362 [BZ #14293]
29363 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29364 non-freeable.
29365
8da491f5
SP
293662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29367
01dc6df9
SP
29368 * Makeconfig (rtld-prefix): Define built linker prefix.
29369 * Rules (run-bench): Use it.
29370 * math/Makefile (run-regen-ulps): Likewise.
29371
8da491f5
SP
29372 * Rules (bench): Remove eval.
29373
abe7f530
SP
293742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29375 Roland McGrath <roland@hack.frob.com>
29376 Ondrej Bilka <neleai@seznam.cz>
29377
29378 [BZ #15346]
29379 * time/getdate.c: Include ctype.h and alloca.h.
29380 (__getdate_r): Trim leading and trailing spaces of input.
29381 * time/tst-getdate.c (tests): Add tests with leading and
29382 trailing spaces.
29383
61c23e62
RM
293842013-04-08 Roland McGrath <roland@hack.frob.com>
29385
29386 [BZ #14280]
29387 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29388 when computing value.
29389
7208a313
CD
293902013-04-06 Carlos O'Donell <carlos@redhat.com>
29391
085b2d41
CD
29392 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29393 Use testrun.sh to run libm tests.
29394
7208a313
CD
29395 [BZ #15309]
29396 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29397
872c0acd
MM
293982013-04-06 Marko Myllynen <myllynen@redhat.com>
29399
29400 [BZ #15264]
29401 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29402
26510bdd
CD
294032013-04-06 Carlos O'Donell <carlos@redhat.com>
29404
29405 * Makefile.in (regen-ulps): New target.
29406 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29407 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29408 [ifneq (no,$(PERL)] (regen-ulps): New target.
29409 [ifeq (no,$(PERL)] (regen-ulps): New target.
29410 * math/libm-test.inc (ulps_file_name): Define.
29411 (output_dir): New variable.
29412 (options): Add "output-dir" option.
29413 (parse_opt): Handle 'o' case.
29414 (main): If output_dir is non-NULL use it as a prefix
29415 otherwise use "".
29416 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29417
a01f19c8
CD
294182013-04-06 Carlos O'Donell <carlos@redhat.com>
29419
29420 [BZ #10060, #10062]
29421 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29422 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29423 fail configure if __sync_val_compare_and_swap is not inlined.
29424 * sysdeps/i386/configure: Regenerate.
29425 * configure.in: Build for i686 when configured for i386.
29426 * configure: Regenerate.
29427 * README: Remove i386 reference.
29428
b7a329a5
CD
294292013-04-06 Carlos O'Donell <carlos@redhat.com>
29430
29431 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29432 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29433
bf0f50df
TS
294342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29435
ee091edf
TS
29436 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29437 (lmsnanval): New variables.
29438 (F): Add conversion tests.
29439 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29440 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29441
a8b792d6
TS
29442 * stdio-common/tstdiomisc.c (F): Properly collect individual
29443 tests' results.
29444
a1cbf437
TS
29445 [BZ #14686, #15336]
29446 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29447 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29448 Instead, use input NaN values or generate a qNaN by arithmetic
29449 operation. Also fix bugs to comply with the standard.
29450 * math/libm-test.inc (remainder_test): Add more tests.
29451
8b43a0c9
TS
29452 [BZ #15335, #15342]
29453 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29455 input NaN values or generate a qNaN by arithmetic operation.
29456
d91da4ce
TS
29457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29458 unreachable code.
29459
bf0f50df
TS
29460 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29461 definitions.
29462
05e166c8
JM
294632013-04-03 Joseph Myers <joseph@codesourcery.com>
29464
29465 [BZ #14478]
29466 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29467 underflowed result.
29468 * math/s_cexpf.c (__cexpf): Likewise.
29469 * math/s_cexpl.c (__cexpl): Likewise.
29470 * math/libm-test.inc (cexp_test): Add more tests.
29471
1cef1b19
AS
294722013-04-03 Andreas Schwab <schwab@suse.de>
29473
29474 [BZ #15330]
29475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29476 order arrays from heap if bigger than alloca cutoff.
29477
74d87055
TS
294782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29479
29480 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29481 (SNAN_TESTS_double): Refer to GCC PR56831.
29482 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29483 GCC PR56828.
29484
d755bba4
SP
294852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29486
90d5d5bb
SP
29487 * Rules (bench): Move bench.out after the run is complete.
29488
73e0cd5d
SP
29489 * Rules (bench): Echo currently running benchmark.
29490
64aabd4b
SP
29491 * benchtests/Makefile (bench): Add atan and slowatan.
29492 * benchtests/atan-inputs: New file.
29493 * benchtests/slowatan-inputs: New file.
29494 * benchtests/slowatan.c: New file.
29495
c871eccd
SP
29496 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29497 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29498 its value.
29499
d755bba4
SP
29500 [BZ #15305]
29501 * sysdeps/unix/sysv/linux/kernel-features.h
29502 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29503 __ASSUME_XFS_RESTRICTED_CHOWN.
29504 * sysdeps/unix/sysv/linux/pathconf.c
29505 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29506 Save and restore errno.
29507
52ce4860
JM
295082013-04-02 Joseph Myers <joseph@codesourcery.com>
29509
29510 [BZ #15327]
29511 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29512 arguments using __kernel_casinh.
29513 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29514 arguments using __kernel_casinhf.
29515 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29516 arguments using __kernel_casinhl.
29517 * math/libm-test.inc (cacosh_test): Add more tests.
29518 * sysdeps/i386/fpu/libm-test-ulps: Update.
29519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29520
81f311c2
SP
295212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29522
e7906a47
SP
29523 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29525
92e3664b
SP
29526 * bench/Makefile (bench): Add sin and slowsin.
29527 * benchtests/sin-inputs: New file.
29528 * benchtests/slowsin-inputs: New file.
29529 * benchtests/slowsin.c: New file.
29530
81f311c2
SP
29531 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29532 (bench): Add slowexp and slowpow.
29533 (exp-ITER): Increase iterations.
29534 (pow-ITER): Likewise.
29535 * benchtests/exp-inputs: Change input.
29536 * benchtests/pow-inputs: Likewise.
29537 * benchtests/slowexp-inputs: New file.
29538 * benchtests/slowexp.c: New file.
29539 * benchtests/slowpow-inputs: New file.
29540 * benchtests/slowpow.c: New file.
29541
ab0f1aa9
AZ
295422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29543
29544 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29545 instructions.
29546 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29549 * benchtests/Makefile: Add rint benchtest.
29550 * benchtests/rint-inputs: Input for rint benchtest.
29551
57267616
TS
295522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29553
29554 * Versions.def (libm): Add GLIBC_2.18.
29555 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29556 hidden libm prototypes.
29557 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29558 * math/Makefile (libm-calls): Add s_issignaling.
29559 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29560 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29561 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29562 declaration.
29563 * math/math.h [__USE_GNU] (issignaling): New macro.
29564 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29565 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29567 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29568 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29569 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29570 * manual/arith.texi (issignaling): New section.
29571 * manual/libm-err-tab.pl (@all_functions): Update comment.
29572 * math/gen-libm-test.pl (parse_args): Apply special handling for
29573 issignaling.
29574 * math/libm-test.inc (print_float, issignaling_test): New
29575 functions.
29576 (check_float_internal): Add issignaling checks.
29577 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29578 default definition.
29579 * sysdeps/powerpc/math-tests.h: New file.
29580 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29581 tests.
29582 * math/test-snan.c (TEST_FUNC): Likewise.
29583
6142896d
DM
295842013-03-30 David S. Miller <davem@davemloft.net>
29585
29586 * po/de.po: Update from translation team.
29587
ccc8cadf
JM
295882013-03-30 Joseph Myers <joseph@codesourcery.com>
29589
29590 [BZ #10357]
29591 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29592 imaginary part less than 1.0 and real part less than 0.5
29593 specially.
29594 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29595 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29596 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29597 (cacos_test): Add more tests.
29598 (casin_test): Likewise.
29599 (casinh_test): Likewise.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602
0f6a8d4b
SP
296032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29604
0d1029de
SP
29605 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29606 ONE with its value.
29607
c2d94018
SP
29608 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29609 (__pow_mp): Replace ONE and MONE with their values.
29610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29611 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29612 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29613 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29614 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29616
27ec37f1
SP
29617 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29618
a64d7e0e
SP
29619 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29620 (__pow_mp): Replace ZERO and MZERO with their values.
29621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29623 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29625 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29626 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29627 (__sqr): Likewise.
29628
d26dd3eb
SP
29629 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29630
0f6a8d4b
SP
29631 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29632
e57b0c61
RM
296332013-03-28 Roland McGrath <roland@hack.frob.com>
29634
29635 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29636 Declare with __attribute__ ((weak)).
29637 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29638 Call __call_tls_dtors only if it's not NULL.
29639
356b3480
RM
296402013-03-28 Roland McGrath <roland@hack.frob.com>
29641
288f7d79
RM
29642 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29643 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29644 magic __ehdr_start linker symbol if it's defined.
29645 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29646 them up here if it was already done.
29647
dc0a0263
RM
29648 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29649 (_dl_aux_init): Use const in cast when setting it.
29650 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29651 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29652 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29653
3d3436ae
RM
29654 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29655 Declare them here.
29656 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29657 * csu/libc-tls.c: Nor here.
29658 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29659
356b3480
RM
29660 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29661 (__libc_message): Never call vsyslog.
29662
b0f1246a
AM
296632013-03-28 Alan Modra <amodra@gmail.com>
29664
29665 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29666 Define as empty.
29667 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29668 Likewise.
29669
fbbe2b9a
AZ
296702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29671
29672 [BZ #15214]
29673 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29674 underflow.
29675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29676
1728ab37
SP
296772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29678
7a86be6e
SP
29679 [BZ #15304]
29680 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29681 Don't add gid passed as argument.
29682
1728ab37
SP
29683 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29684
3a7182a1
JM
296852013-03-27 Joseph Myers <joseph@codesourcery.com>
29686
29687 [BZ #15307]
29688 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29689 imaginary part between 1.0 and 1.5 and real part less than 0.5
29690 specially.
29691 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29692 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29693 * math/libm-test.inc (cacos_test): Add more tests.
29694 (casin_test): Likewise.
29695 (casinh_test): Likewise.
29696 * sysdeps/i386/fpu/libm-test-ulps: Update.
29697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29698
6f2e90e7
SP
296992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29700
5739f705
SP
29701 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29702 constants.
29703 (norm): Likewise.
29704 (denorm): Likewise.
29705 (__dbl_mp): Likewise.
29706 (add_magnitudes): Likewise.
29707 (sub_magnitudes): Likewise.
29708 (__add): Likewise.
29709 (__sub): Likewise.
29710 (__mul): Likewise.
29711 (__sqr): Likewise.
29712 (__inv): Likewise.
29713 (__dvd): Likewise.
29714
e375e83d
SP
29715 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29716 commented code.
29717 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29718 (__dubcos): Likewise.
29719 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29720 (__ieee754_acos): Likewise.
29721 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29722 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29723 (__exp1): Likewise.
29724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29726 (log1): Likewise.
29727 (my_log2): Likewise.
29728 (checkint): Likewise.
29729 * sysdeps/ieee754/dbl-64/e_remainder.c
29730 (__ieee754_remainder): Likewise.
29731 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29733 (bsloww): Likewise.
29734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29735
6f2e90e7
SP
29736 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29737 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29738 MANTISSA_STORE_T to store computations on mantissa. Use
29739 macros for rounding and division.
29740 (denorm): Likewise.
29741 (__dbl_mp): Likewise.
29742 (add_magnitudes): Likewise.
29743 (sub_magnitudes): Likewise.
29744 (__mul): Likewise.
29745 (__sqr): Likewise.
29746 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29747 powers of two in terms of TWOPOW macro.
29748 (mp_no): Make type of mantissa as MANTISSA_T.
29749 [!RADIXI]: Define RADIXI.
29750 [!TWO52]: Define TWO52.
29751 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29752
fce14d4e
AZ
297532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29754
29755 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29756 llroundl symbol when building for PPC32.
29757
9ad027fb
MW
297582013-03-24 Mark H Weaver <mhw@netris.org>
29759
29760 * manual/arith.texi (Normalization Functions): Fix prototypes for
29761 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29762
e42a38dd
AZ
297632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29764
29765 [BZ #13889]
29766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29767 high value to check if expl overflow.
29768 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29769 to check for underflow and overflow.
29770 * math/libm-test.inc: Add exp test.
29771
2e0fb521
DL
297722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29773
29774 [BZ #11120]
29775 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29776 with NOT_IN_libc.
29777
b5784d95
AZ
297782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29779
29780 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29781 symbol.
29782
5aa4a1a1
TS
297832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29784
bdef0be7
TS
29785 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29786 wrap blocks consisting of several statements.
29787
5aa4a1a1
TS
29788 * sysdeps/generic/math-tests.h: New file.
29789 * sysdeps/i386/fpu/math-tests.h: Likewise.
29790 * math/test-snan.c: Include it.
29791 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29792
98c48fe5
JM
297932013-03-21 Joseph Myers <joseph@codesourcery.com>
29794
29795 [BZ #15285]
29796 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29797 (__ieee754_j0l): Do not improve calculations using cos of twice
29798 input for inputs above LDBL_MAX / 2.0L.
29799 (__ieee754_y0l): Likewise.
29800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29801 (__ieee754_j1l): Do not improve calculations using cos of twice
29802 input for inputs above LDBL_MAX / 2.0L.
29803 (__ieee754_y1l): Likewise.
29804 * math/libm-test.inc (j0_test): Add another test.
29805 (j1_test): Likewise.
29806 (y0_test): Likewise.
29807 (y1_test): Likewise.
29808 * sysdeps/i386/fpu/libm-test-ulps: Update.
29809
3775a8bc
SP
298102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29811
29812 * Rules ($(objpfx)bench-%.c): Include code from a C source
29813 file.
29814
0a1b2ae6
JM
298152013-03-21 Joseph Myers <joseph@codesourcery.com>
29816
29817 [BZ #15287]
29818 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29819 imaginary part 1.0 and real part less than 0.5 specially.
29820 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29821 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29822 * math/libm-test.inc (cacos_test): Add more tests.
29823 (casin_test): Likewise.
29824 (casinh_test): Likewise.
29825 * sysdeps/i386/fpu/libm-test-ulps: Update.
29826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29827
b33d4ce4
SP
298282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29829
29830 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29831 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29832
bef0b507
JM
298332013-03-20 Joseph Myers <joseph@codesourcery.com>
29834
29835 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29836 * config.make.in (config-cflags-sse4): Remove variable.
29837 (config-cflags-avx): Likewise.
29838 (config-cflags-sse2avx): Likewise.
29839 (config-cflags-novzeroupper): Likewise.
29840 (config-asflags-i686): Likewise.
29841 (have-mfma4): Likewise.
29842 (have-as-vis3): Likewise.
29843 (MIG): Likewise.
29844 * configure.in (MIG): Do not AC_SUBST.
29845 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29846 (libc_cv_cc_sse4): Do not AC_SUBST.
29847 (libc_cv_cc_avx): Likewise.
29848 (libc_cv_cc_sse2avx): Likewise.
29849 (libc_cv_cc_novzeroupper): Likewise.
29850 (libc_cv_cc_fma4): Likewise.
29851 (libc_cv_as_i686): Likewise.
29852 (libc_cv_sparc_as_vis3): Likewise.
29853 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29854 LIBC_CONFIG_VAR.
29855 (config-asflags-i686): Likewise.
29856 (config-cflags-avx): Likewise.
29857 (config-cflags-sse2avx): Likewise.
29858 (have-mfma4): Likewise.
29859 (config-cflags-novzeroupper): Likewise.
29860 * sysdeps/mach/configure.in (MIG): Likewise.
29861 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29862 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29863 LIBC_CONFIG_VAR.
29864 (config-cflags-avx): Likewise.
29865 (config-cflags-sse2avx): Likewise.
29866 (have-mfma4): Likewise.
29867 (config-cflags-novzeroupper): Likewise.
29868 * configure: Regenerated.
29869 * sysdeps/i386/configure: Likewise.
29870 * sysdeps/mach/configure: Likewise.
29871 * sysdeps/sparc/configure: Likewise.
29872 * sysdeps/x86_64/configure: Likewise.
29873
912cc4b3
RM
298742013-03-20 Roland McGrath <roland@hack.frob.com>
29875
29876 [BZ #14812]
29877 * locale/programs/localedef.c (options): Put N_ translation marker
29878 on argument names, not just descriptions.
29879
04eed2b0
MS
298802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29881
29882 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29883
a065ceff
OB
298842013-03-20 Ondřej Bílka <neleai@seznam.cz>
29885
9bb2a810 29886 [BZ #14176]
a065ceff
OB
29887 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29888
a600e5ce
RM
298892013-03-19 Roland McGrath <roland@hack.frob.com>
29890
29891 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29892 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29893 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29894 [!BEFORE_ABORT] (before_abort): New function.
29895 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29896 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29897 (writev_for_fatal): New function.
29898 (WRITEV_FOR_FATAL): New macro; call that.
29899 (backtrace_and_maps): New function.
29900 (BEFORE_ABORT): New macro; call that.
29901 (struct str_list): Type removed.
29902 (__libc_message, __libc_fatal): Functions removed.
29903 Include <sysdeps/posix/libc_fatal.c> instead.
29904
6b18bea6
JM
299052013-03-19 Joseph Myers <joseph@codesourcery.com>
29906
29907 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29908 constants.
29909 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29910 double constants.
29911
aaa8cb4b
AS
299122013-03-19 Andreas Schwab <schwab@suse.de>
29913
44673770
AS
29914 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29915 * sysdeps/gnu/configure: Regenerate.
29916
aaa8cb4b
AS
29917 * configure.in: Substitute libc_cv_rtlddir.
29918 * configure: Regenerate.
29919 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29920 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29921 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29922 * elf/Makefile (install-others, CFLAGS-interp.c)
29923 (ldso_install, common-ldd-rewrite): Likewise.
29924 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29925 $(inst_slibdir)/$(rtld-installed-name).
29926 * scripts/rellns-sh: Add -p option.
29927 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29928 for source.
29929
d3cfc668
SP
299302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29931
29932 * manual/nptl.texi: Renamed to ...
29933 * manual/threads.texi: ... this.
29934 * manual/Makefile (chapters): Update.
29935
0e2b9cdd
RM
299362013-03-18 Roland McGrath <roland@hack.frob.com>
29937
29938 [BZ #14812]
29939 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29940 on argument names, not just descriptions.
0e2b9cdd
RM
29941 * malloc/memusagestat.c (options): Likewise.
29942 * nss/getent.c (options): Likewise.
63270c24
RM
29943
299442013-03-18 Benno Schulenberg <bensberg@justemail.net>
29945
29946 [BZ #14812]
29947 * iconv/iconv_prog.c (options): Put N_ translation marker
29948 on argument names, not just descriptions.
29949 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29950
b2e1393c
OB
299512013-03-18 Ondrej Bilka <neleai@seznam.cz>
29952
29953 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29954 implementation which is faster on all x86_64 architectures.
29955 Tested on AMD, Intel Nehalem, SNB, IVB.
29956 * sysdeps/x86_64/strnlen.S: Likewise.
29957
29958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29959 Remove all multiarch strlen and strnlen versions.
29960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29961 Remove strlen and strnlen related parts.
29962
29963 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29964 Inline strlen part.
29965 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29966
29967 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29968 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29969 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29970 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29971 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29972 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29973
ec4ff04d
CD
299742013-03-17 Carlos O'Donell <carlos@redhat.com>
29975
29976 * manual/memory.texi (Malloc Tunable Parameters):
29977 Sort parameters alphabetically. Add comments for missing entries.
29978
cd18e90a
DM
299792013-03-17 David S. Miller <davem@davemloft.net>
29980
29981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29982
2a185d32
JM
299832013-03-16 Joseph Myers <joseph@codesourcery.com>
29984
d2f9799e
JM
29985 [BZ #15283]
29986 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29987 for arguments at most half maximum finite value.
29988 * math/libm-test.inc (j0_test): Add more tests.
29989 (j1_test): Likewise.
29990 (y0_test): Likewise.
29991 (y1_test): Likewise.
29992 * sysdeps/i386/fpu/libm-test-ulps: Update.
29993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29994
2a185d32
JM
29995 [BZ #14155]
29996 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29997 1 / x and functions P and Q for arguments above 0x1p256L.
29998 (__ieee754_y0l): Likewise.
29999 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30000 (__ieee754_y1l): Likewise.
30001 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30002 (j1_test): Likewise.
30003 (y0_test): Likewise.
30004 (y1_test): Likewise.
30005
6cbec759
TS
300062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30007
30008 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30009 variable.
30010
bc16e260
RM
300112013-03-15 Roland McGrath <roland@hack.frob.com>
30012
aefc9b8c
RM
30013 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30014 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30015 zero since it's initialized to EXEC_PAGESIZE.
30016
bc16e260
RM
30017 * sysdeps/unix/sysv/linux/ldsodefs.h
30018 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30019 * sysdeps/generic/ldsodefs.h: ... here.
30020
a57da955
TS
300212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30022
af00a34d
TS
30023 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30024
495ded2c
TS
30025 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30026 math/test-snan.c.
30027 * math/test-snan.c: Renamed from
30028 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30029 * math/Makefile (tests): Add test-snan.
30030 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30031 test-powerpc-snan.
30032
777b0332
TS
30033 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30034 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30035 functions.
30036 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30037 __builtin_nan family of functions.
30038 * math/libm-test.inc (initialize): Initialize qnan_value with
30039 __builtin_nan family of functions.
30040 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30041 Remove variables.
30042 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30043 Remove functions.
30044 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30045 storage class. Initialize qNaN_var and sNaN_var with
30046 __builtin_nan and __builtin_nans families of functions,
30047 respectively.
30048
64d063b8
TS
30049 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30050 (sqrt_test): Remove duplicate test with qNaN input.
30051 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30052 (round_test, signbit_test, significand_test): Note missing +/-Inf
30053 as well as qNaN tests.
30054
67e971f1
TS
30055 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30056 qNaN_var. Fix a few strings, too.
30057 * math/libm-test.inc (nan_value): Rename to qnan_value.
30058 * math/gen-libm-test.pl (%beautify): Adjust to that.
30059 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30060 * math/test-misc.c (main): Likewise.
30061 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30062 to __qnan_bytes, and __qnan_union, respectively.
30063 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30064 Likewise.
30065 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30066 and lqnanval, respectively.
30067 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30068 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30069 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30070 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30071
64487e12
TS
30072 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30073 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30074 doubles.
30075
e015e27b
TS
30076 * math/test-misc.c (main): Fix copy'n'pastos.
30077 * misc/tst-efgcvt.c (special): Likewise.
30078
a57da955
TS
30079 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30080 Remove declarations.
30081
1e380345
SP
300822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30083
30084 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30085 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30086 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30087 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30088
ef26eece
AZ
300892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30090
30091 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30092 macro to return vdso values correctly in IFUNC implementations.
30093 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30094 Optimization by using IFUNC.
30095
8cfdb7e0
SP
300962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30097 Richard Henderson <rth@redhat.com>
30098 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30099
30100 * Makefile.in (bench): New target.
30101 * NEWS: Mention the benchmark framework.
30102 * Rules (bench): Likewise.
30103 (binaries-bench): Generate binaries for functions to
30104 benchmark.
30105 * benchtests/Makefile: New makefile for benchmark tests.
30106 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30107 programs.
30108 * benchtests/exp-inputs: New input file for EXP function.
30109 * benchtests/pow-inputs: New input file for POW function.
30110 * scripts/bench.pl: New script to generate source files for
30111 benchmark programs.
30112
bcda9880
SP
301132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30114
d22ca8cd
SP
30115 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30116 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30117 computations on mantissa. Use macros for rounding and
30118 division.
30119 (denorm): Likewise.
30120 (__dbl_mp): Likewise.
30121 (add_magnitudes): Likewise.
30122 (sub_magnitudes): Likewise.
30123 (__mul): Likewise.
30124 (__sqr): Likewise.
30125 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30126 powers of two in terms of TWOPOW macro.
30127 (mp_no): Make type of mantissa as MANTISSA_T.
30128 [!RADIXI]: Define RADIXI.
30129 [!TWO52]: Define TWO52.
30130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30131
bcda9880
SP
30132 * manual/nptl.texi (cindex): Modify threads to pthreads.
30133
06d5adfb
JM
301342013-03-15 Joseph Myers <joseph@codesourcery.com>
30135
30136 * sysdeps/x86_64/preconfigure: Regenerated.
30137
41c7328e
JM
301382013-03-14 Joseph Myers <joseph@codesourcery.com>
30139
30140 [BZ #14155]
30141 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30142 0x1p28 and above.
30143 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30144 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30145 0x1p28 and above.
30146 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30147 * math/libm-test.inc (j0_test): Do not allow one spurious
30148 underflow exception.
30149 (y1_test): Likewise.
30150
e25cfa60
SP
301512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30152
0409959c
SP
30153 * manual/Makefile (chapters): Add nptl.
30154 * manual/debug.texi (Debugging Support): Add link to Threads
30155 chapter.
30156 * manual/nptl.texi: New file.
30157
e25cfa60
SP
30158 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30159
58a1335e
PB
301602013-03-14 Petr Baudis <pasky@ucw.cz>
30161
30162 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30163 for non-NULL pointer before the memory validity test. Pointed
30164 out by Holger Brunck <holger.brunck@keymile.com>.
30165
9dc7c64f
AS
301662013-03-13 Andreas Schwab <schwab@suse.de>
30167
30168 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30169 instead of .os.
30170
54206aa6
JM
301712013-03-13 Joseph Myers <joseph@codesourcery.com>
30172
30173 * timezone/zic.c: Update from tzcode 2013b.
30174
e98cdb38
CD
301752013-03-12 Carlos O'Donell <carlos@redhat.com>
30176
30177 * manual/install.texi (Configuring and compiling):
30178 Mention i686 and i586.
30179 * INSTALL: Regenerate.
30180
9967e003
RM
301812013-03-12 Roland McGrath <roland@hack.frob.com>
30182
30183 * sysdeps/init_array/elf-init.c: New file.
30184 * csu/elf-init.c
30185 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30186 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30187
30188 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30189 __gmon_start__ as global, but as static with a .preinit_array pointer.
30190 * sysdeps/init_array/gmon-start.c: New file. Use that.
30191 * sysdeps/init_array/crti.S: New file, empty except for comments.
30192 * sysdeps/init_array/crtn.S: Likewise.
30193
e6b5a293 301942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30195
30196 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30197 definining bcopy.
80f844c9
OB
30198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30199 Remove Prefer_SSE_for_memop.
30200 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30201 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30202 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30204 memset-x86-64.
80f844c9 30205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30206 Remove bzero, memset ifunc support.
80f844c9
OB
30207 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30208 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30209 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30210 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30211
fb6b0fcb
AS
302122013-03-11 Andreas Schwab <schwab@suse.de>
30213
30214 [BZ #15234]
30215 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30216 by SHLIB_COMPAT.
30217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30218 (GLIBC_2.16): Remove pthread_atfork.
30219
3e6bd4b1
PP
302202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30221
30222 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30223 (ptestcases.h): Likewise.
30224
222d7f00
RM
302252013-03-08 Roland McGrath <roland@hack.frob.com>
30226
30227 * Makeconfig ($(common-objpfx)config.status): Depend on
30228 sysdeps/*/preconfigure{,.in} too.
30229
1ba4f030
JM
302302013-03-08 Joseph Myers <joseph@codesourcery.com>
30231
a222d91a
JM
30232 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30233 (__free_hook): Use void * instead of __malloc_ptr_t.
30234 (__malloc_hook): Likewise.
30235 (__realloc_hook): Likewise.
30236 (__memalign_hook): Likewise.
30237 (__after_morecore_hook): Likewise.
30238 * malloc/arena.c (save_malloc_hook): Likewise.
30239 (save_free_hook): Likewise.
30240 * malloc/hooks.c (malloc_hook_ini): Likewise.
30241 (realloc_hook_ini): Likewise.
30242 (memalign_hook_ini): Likewise.
30243 * malloc/malloc.c (malloc_hook_ini): Likewise.
30244 (realloc_hook_ini): Likewise.
30245 (memalign_hook_ini): Likewise.
30246 (__free_hook): Likewise.
30247 (__malloc_hook): Likewise.
30248 (__realloc_hook): Likewise.
30249 (__memalign_hook): Likewise.
30250 (__libc_malloc): Likewise.
30251 (__libc_free): Likewise.
30252 (__libc_realloc): Likewise.
30253 (__libc_memalign): Likewise.
30254 (__libc_valloc): Likewise.
30255 (__libc_pvalloc): Likewise.
30256 (__libc_calloc): Likewise.
30257 (__posix_memalign): Likewise.
30258 * malloc/morecore.c (__sbrk): Likewise.
30259 (__default_morecore): Likewise.
30260
5cc45e10
JM
30261 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30262
dd54b864
JM
30263 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30264 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30265 __malloc_ptrdiff_t.
30266
1ba4f030
JM
30267 * malloc/malloc.h (__malloc_size_t): Remove macro.
30268 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30269 __malloc_size_t.
30270 (old_memalign_hook): Likewise.
30271 (old_realloc_hook): Likewise.
30272 (struct hdr): Likewise.
30273 (flood): Likewise.
30274 (mallochook): Likewise.
30275 (memalignhook): Likewise.
30276 (reallochook): Likewise.
30277 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30278 (tr_old_realloc_hook): Likewise.
30279 (tr_old_memalign_hook): Likewise.
30280 (tr_mallochook): Likewise.
30281 (tr_reallochook): Likewise.
30282 (tr_memalignhook): Likewise.
30283
edf66e57
AZ
302842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30285
30286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30287 default_ldbl_pack and using as default implementation.
30288 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30289 implementation.
30290 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30291 redundant definition.
30292 (ldbl_insert_mantissa): Likewise.
30293 (ldbl_canonicalize): Likewise.
30294 (ldbl_nearbyint): Likewise.
30295 (ldbl_pack): Rename to ldbl_pack_ppc.
30296 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30297 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30298 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30299
6d9145d8
SP
303002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30301
30302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30303 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30304 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30305 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30307 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30308 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30309 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30310
4dd4e157
AJ
303112013-03-07 Andreas Jaeger <aj@suse.de>
30312
30313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30314 bits/mman-linux.h.
30315
adbb8027
SP
303162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30317
ce544b5b
SP
30318 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30319 Include mpa.h and declare __MPEXP.
30320 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30321 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30322 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30323 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30324 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30325 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30326 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30327
4cc149fd
SP
30328 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30329 (__slowpow): Use long double EXPL and LOGL functions to
30330 compute POW.
30331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30332 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30333 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30334 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30335 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30336 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30337
e6ebd4a7
SP
30338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30339 intermediate variable to calculate exponent.
30340 (__sqr): Likewise.
30341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30342 Likewise.
30343 (__sqr): Likewise.
30344
82a9811d
SP
30345 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30346 [!NO__SQR]: Define __sqr.
30347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30348 and NO__SQR. Remove all code except __mul and __sqr. Include
30349 sysdeps/ieee754/dbl-64/mpa.c.
30350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30351
adbb8027
SP
30352 [BZ #12723]
30353 * posix/Makefile (tests): Add tst-pathconf.
30354 * posix/tst-pathconf.c: New test case.
30355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30356 _PC_PIPE_BUF.
30357 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30358
39120df9
PF
303592013-03-06 Patsy Franklin <pfrankli@redhat.com>
30360
30361 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30362
67525cb8
AJ
303632013-03-06 Andreas Jaeger <aj@suse.de>
30364
664a9ce4
AJ
30365 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30366 definition via __MAP_ANONYMOUS.
30367
8e39047d
AJ
30368 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30369 it's not part of Linux headers.
30370
67525cb8
AJ
30371 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30372 (MAP_HUGE_MASK): Define.
30373
30374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30375 Define.
30376 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30378 Define.
30379 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30380 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30381 Define.
30382 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30383 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30384 Define.
30385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30386
30387 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30388 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30389 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30390 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30391 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30392 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30393
30394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30395 Handle f2fs.
30396
30397 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30398 Handle f2fs and efivarfs.
30399
30400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30401 f2fs.
30402
30403 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30404 (EFIVARFS_MAGIC): Add.
30405 (F2FS_LINK_MAX): Add.
30406
e1b42695
PP
304072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30408
30409 * stdio-common/vfprintf.c: Replace __builtin_expect with
30410 __glibc_unlikely.
30411
2d67d91a
JM
304122013-03-06 Joseph Myers <joseph@codesourcery.com>
30413
30414 [BZ #13550]
30415 * sysdeps/generic/bp-sym.h: Remove file.
30416 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30417 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30418 <bp-sym.h> and <bp-asm.h>.
30419 (__longjmp): Don't use BP_SYM.
30420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30421 and <bp-asm.h>.
30422 (memcpy): Don't use BP_SYM.
30423 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30424 <bp-sym.h> and <bp-asm.h>.
30425 (memcpy): Don't use BP_SYM.
30426 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30427 <bp-asm.h>.
30428 (memcpy): Don't use BP_SYM.
30429 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30430 <bp-asm.h>.
30431 (memset): Don't use BP_SYM.
30432 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30433 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30434 (__bzero): Don't use BP_SYM.
30435 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30436 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30437 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30438 <bp-sym.h> and <bp-asm.h>.
30439 (memcmp): Don't use BP_SYM. Remove comment about bounded
30440 pointers.
30441 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30442 <bp-sym.h> and <bp-asm.h>.
30443 (memcpy): Don't use BP_SYM.
30444 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30445 <bp-sym.h> and <bp-asm.h>.
30446 (memset): Don't use BP_SYM.
30447 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30448 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30449 (__bzero): Don't use BP_SYM.
30450 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30451 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30452 * sysdeps/powerpc/powerpc64/power4/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/power6/memcpy.S: Don't include
30457 <bp-sym.h> and <bp-asm.h>.
30458 (memcpy): Don't use BP_SYM.
30459 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30460 <bp-sym.h> and <bp-asm.h>.
30461 (memset): Don't use BP_SYM.
30462 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30463 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30464 (__bzero): Don't use BP_SYM.
30465 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30466 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30468 <bp-sym.h> and <bp-asm.h>.
30469 (__memchr): Don't use BP_SYM.
30470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30471 <bp-sym.h> and <bp-asm.h>.
30472 (memcmp): Don't use BP_SYM. Remove comment about bounded
30473 pointers.
30474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30475 <bp-sym.h> and <bp-asm.h>.
30476 (memcpy): Don't use BP_SYM.
30477 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30478 <bp-sym.h> and <bp-asm.h>.
30479 (__mempcpy): Don't use BP_SYM.
30480 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30481 <bp-sym.h> and <bp-asm.h>.
30482 (__memrchr): Don't use BP_SYM.
30483 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30484 <bp-sym.h> and <bp-asm.h>.
30485 (memset): Don't use BP_SYM.
30486 (__bzero): Likewise.
30487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30488 <bp-sym.h> and <bp-asm.h>.
30489 (__rawmemchr): Don't use BP_SYM.
30490 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30491 <bp-sym.h> and <bp-asm.h>.
30492 (__STRCMP): Don't use BP_SYM.
30493 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30494 <bp-sym.h> and <bp-asm.h>.
30495 (strchr): Don't use BP_SYM.
30496 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30497 <bp-sym.h> and <bp-asm.h>.
30498 (__strchrnul): Don't use BP_SYM.
30499 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30500 <bp-sym.h> and <bp-asm.h>.
30501 (strlen): Don't use BP_SYM.
30502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30503 <bp-sym.h> and <bp-asm.h>.
30504 (strncmp): Don't use BP_SYM. Remove comment about bounded
30505 pointers.
30506 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30507 <bp-sym.h> and <bp-asm.h>.
30508 (__strnlen): Don't use BP_SYM.
30509 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30510 <bp-sym.h> and <bp-asm.h>.
30511 (__GI__setjmp): Don't use BP_SYM.
30512 (_setjmp): Likewise.
30513 (__sigsetjmp): Likewise.
30514 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30515 (L(start_addresses)): Don't use BP_SYM.
30516 (_start): Likewise.
30517 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30518 <bp-asm.h>.
30519 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30520 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30521 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30522 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30523 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30524 <bp-asm.h>.
30525 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30526 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30527 about bounded pointers.
30528 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30529 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30530 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30531 <bp-asm.h>.
30532 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30533 about bounded pointers. Remove GKM FIXME comments.
30534 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30535 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30536 <bp-asm.h>.
30537 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30538 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30539 Remove GKM FIXME comments.
30540 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30541 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30542 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30543 <bp-asm.h>.
30544 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30545 about bounded pointers. Remove GKM FIXME comment.
30546 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30547 and <bp-asm.h>.
30548 (strncmp): Don't use BP_SYM. Remove comment about bounded
30549 pointers.
30550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30551 <bp-sym.h> and <bp-asm.h>.
30552 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30554 <bp-sym.h> and <bp-asm.h>.
30555 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30556 comment.
30557
cdcf361f
PP
305582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30559
30560 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30561 call free(NULL).
30562
3c4a2b15
DM
305632013-03-05 David S. Miller <davem@davemloft.net>
30564
30565 * po/es.po: Update from translation team.
30566
cdcf361f 305672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30568
30569 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30570 <bits/mman-linux.h>.
30571 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30572 is fine.
30573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30574 <bits/mman-linux.h> to end of file.
30575 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30576 is fine.
30577 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30578 <bits/mman-linux.h> to end of file.
30579 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30580 is fine.
30581 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30582 <bits/mman-linux.h> to end of file.
30583
30584 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30585 (MCL_CURRENT, MCL_FUTURE): Define here.
30586
5f67c04f
AK
305872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30588
8a4473cc 30589 [BZ #15232]
5f67c04f
AK
30590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30591 attribute_hidden.
30592 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30593
c3e94a95
AK
305942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30595
30596 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30597 fourth parameter needed for rt_sigprocmask syscall.
30598 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30599 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30600 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30601 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30602 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30603 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30604
cfb6382a
JM
306052013-03-04 Joseph Myers <joseph@codesourcery.com>
30606
30607 [BZ #13550]
30608 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30609 comment about bounded pointers.
30610 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30611 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30612
539d8e01
AJ
306132013-03-04 Andreas Jaeger <aj@suse.de>
30614
30615 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30616 common definitions.
30617
30618 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30619 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30620 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30621 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30624
2e167a70 306252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30626
30627 [BZ #15055]
30628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30629 __ieee754_sqrl instead of __sqrl.
30630
68508633
JM
306312013-03-01 Joseph Myers <joseph@codesourcery.com>
30632
30633 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30634 * sysdeps/powerpc/fpu_control.h: ... here.
30635 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30636 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30637 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30638 * sysdeps/powerpc/bits/mathinline.h: ... here.
30639
7775448e
RM
306402013-03-01 Roland McGrath <roland@hack.frob.com>
30641
30642 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30643 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30644 to just [NEED_DL_SYSINFO_DSO].
30645 * elf/dl-support.c: Likewise.
30646 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30647 * elf/rtld.c (dl_main): Likewise.
30648 * elf/setup-vdso.h (setup_vdso): Likewise.
30649 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30650 * sysdeps/unix/sysv/linux/dl-sysdep.c
30651 (_dl_discover_osversion): Likewise.
30652
4e9b5995
CD
306532013-03-01 Carlos O'Donell <carlos@redhat.com>
30654
30655 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30656 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30657
e23872c8
SP
306582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30659
e5c74c63
SP
30660 * NEWS: Mention libm performance improvements and non-x86 PI
30661 futex support.
30662
e23872c8
SP
30663 * csu/libc-start.c (__pthread_initialize_minimal): Change
30664 function arguments.
30665 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30666
b5510883
JM
306672013-02-28 Joseph Myers <joseph@codesourcery.com>
30668
30669 [BZ #13550]
30670 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30671 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30672 <bp-sym.h> and <bp-asm.h>.
30673 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30674 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30675 and <bp-asm.h>.
30676 (memcpy): Don't use BP_SYM.
30677 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30678 <bp-asm.h>.
30679 (__mpn_add_n): Don't use BP_SYM.
30680 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30681 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30682 and <bp-asm.h>.
30683 (__mpn_addmul_1): Don't use BP_SYM.
30684 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30685 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30686 <bp-sym.h>.
30687 (_setjmp): Don't use BP_SYM.
30688 (__novmx_setjmp): Likewise.
30689 (__GI__setjmp): Likewise.
30690 (__vmx_setjmp): Likewise.
30691 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30692 <bp-sym.h>.
30693 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30694 (__bzero): Don't use BP_SYM.
30695 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30696 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30697 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30698 <bp-sym.h> and <bp-asm.h>.
30699 (memcpy): Don't use BP_SYM.
30700 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30701 <bp-sym.h> and <bp-asm.h>.
30702 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30703 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30704 <bp-sym.h> and <bp-asm.h>.
30705 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30706 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30707 <bp-asm.h>.
30708 (__mpn_lshift): Don't use BP_SYM.
30709 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30710 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30711 <bp-asm.h>.
30712 (memset): Don't use BP_SYM.
30713 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30714 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30715 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30716 <bp-asm.h>.
30717 (__mpn_mul_1): Don't use BP_SYM.
30718 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30720 <bp-sym.h> and <bp-asm.h>.
30721 (memcmp): Don't use BP_SYM.
30722 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30723 <bp-sym.h> and <bp-asm.h>.
30724 (memcpy): Don't use BP_SYM.
30725 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30726 <bp-sym.h> and <bp-asm.h>.
30727 (memset): Don't use BP_SYM.
30728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30729 <bp-sym.h> and <bp-asm.h>.
30730 (strncmp): Don't use BP_SYM.
30731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30732 <bp-sym.h> and <bp-asm.h>.
30733 (memcpy): Don't use BP_SYM.
30734 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30735 <bp-sym.h> and <bp-asm.h>.
30736 (memset): Don't use BP_SYM.
30737 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30738 <bp-sym.h> and <bp-asm.h>.
30739 (__memchr): Don't use BP_SYM.
30740 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30741 <bp-sym.h> and <bp-asm.h>.
30742 (memcmp): Don't use BP_SYM.
30743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30744 <bp-sym.h> and <bp-asm.h>.
30745 (memcpy): Don't use BP_SYM.
30746 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30747 <bp-sym.h> and <bp-asm.h>.
30748 (__mempcpy): Don't use BP_SYM.
30749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30750 <bp-sym.h> and <bp-asm.h>.
30751 (__memrchr): Don't use BP_SYM.
30752 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30753 <bp-sym.h> and <bp-asm.h>.
30754 (memset): Don't use BP_SYM.
30755 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30756 <bp-sym.h> and <bp-asm.h>.
30757 (__rawmemchr): Don't use BP_SYM.
30758 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30759 <bp-sym.h> and <bp-asm.h>.
30760 (__STRCMP): Don't use BP_SYM.
30761 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30762 <bp-sym.h> and <bp-asm.h>.
30763 (strchr): Don't use BP_SYM.
30764 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30765 <bp-sym.h> and <bp-asm.h>.
30766 (__strchrnul): Don't use BP_SYM.
30767 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30768 <bp-sym.h> and <bp-asm.h>.
30769 (strlen): Don't use BP_SYM.
30770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30771 <bp-sym.h> and <bp-asm.h>.
30772 (strncmp): Don't use BP_SYM.
30773 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30774 <bp-sym.h> and <bp-asm.h>.
30775 (__strnlen): Don't use BP_SYM.
30776 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30777 <bp-asm.h>.
30778 (__mpn_rshift): Don't use BP_SYM.
30779 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30780 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30781 <bp-sym.h> and <bp-asm.h>.
30782 (__sigsetjmp): Don't use BP_SYM.
30783 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30784 (L(start_addresses)): Don't use BP_SYM.
30785 (_start): Likewise.
30786 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30787 <bp-asm.h>.
30788 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30789 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30790 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30791 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30792 <bp-asm.h>.
30793 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30794 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30795 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30796 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30797 <bp-asm.h>.
30798 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30799 comments.
30800 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30801 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30802 <bp-asm.h>.
30803 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30804 FIXME comments.
30805 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30806 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30807 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30808 <bp-asm.h>.
30809 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30810 comment.
30811 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30812 and <bp-asm.h>.
30813 (strncmp): Don't use BP_SYM,
30814 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30815 <bp-asm.h>.
30816 (__mpn_sub_n): Don't use BP_SYM.
30817 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30818 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30819 and <bp-asm.h>.
30820 (__mpn_submul_1): Don't use BP_SYM.
30821 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30823 <bp-sym.h> and <bp-asm.h>.
30824 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30826 <bp-sym.h> and <bp-asm.h>.
30827 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30828 comment.
30829
8d19fe64
SP
308302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30831
30832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30833 Use ZK to minimize writes to Z.
30834 (sub_magnitudes): Simplify code a bit.
30835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30836 Use ZK to minimize writes to Z.
30837 (sub_magnitudes): Simplify code a bit.
30838
85bd816a
RM
308392013-02-27 Roland McGrath <roland@hack.frob.com>
30840
30841 * csu/gmon-start.c: Add special exception to license text.
30842
b5977bf2
RH
308432013-02-27 Richard Henderson <rth@redhat.com>
30844
30845 * scripts/config.guess: Update from config.git.
30846 * scripts/config.sub: Likewise.
30847
11d6e2f2
SP
308482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30849
09c14ed2
SP
30850 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30851
a688864e
SP
30852 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30853
6295157a
SP
30854 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30855
b8de2202
SP
30856 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30857
11d6e2f2
SP
30858 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30859
7e80ddb8
RM
308602013-02-26 Roland McGrath <roland@hack.frob.com>
30861
30862 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30863 [$(build-shared = yes].
7e80ddb8 30864
7da6d9ed
SP
308652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30866
45f05884
SP
30867 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30868 (__mul): Reduce iterations for calculating mantissa.
30869
2236d359
SP
30870 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30871 MPTWO.
30872 (__mpranred): Likewise.
30873
7da6d9ed
SP
30874 [BZ #15160]
30875 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30876 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30877
b7688c42
PE
308782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30879
30880 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30881 Define __attribute__.
30882
53a5c423
SP
308832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30884
30885 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30886 unused.
30887 * posix/regex_internal.h (__attribute): Remove.
30888 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30889 (re_string_context_at): Likewise.
30890 (bitset_not): Use __attribute__ and mark function as possibly
30891 unused.
30892 (bitset_merge): Likewise.
30893 (bitset_mask): Likewise.
30894 (re_string_char_size_at): Likewise.
30895 (re_string_wchar_at): Likewise.
30896 (re_string_elem_size_at): Likewise.
30897
60f5a8b5
SP
308982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30899
2a983a2e
SP
30900 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30901 code.
30902 (cc32): Likewise.
30903
e69804d1
SP
30904 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30905 (__acr): Likewise.
30906 (__cpy): Likewise.
30907 (norm): Likewise.
30908 (denorm): Likewise.
30909 (__dbl_mp): Likewise.
30910 (add_magnitudes): Likewise.
30911 (sub_magnitudes): Likewise.
30912 (__mul): Likewise.
30913 (__inv): Likewise.
30914
2f22a1e8
SP
30915 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30916 style.
30917
8930ddc7
SP
30918 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30919 style.
30920
dc60cb11
SP
30921 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30922 code.
30923
60f5a8b5
SP
30924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30925 up changes with default code.
30926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30927 Likewise.
30928
b4d1fd33
AM
309292013-02-24 Allan McRae <allan@archlinux.org>
30930
faf6f8bc
AM
30931 * manual/socket.texi (The Internet Namespace): Order menu items
30932 to match that in the file.
30933
b4d1fd33
AM
30934 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30935 node listing of the info page menu.
30936
2366713d
JM
309372013-02-21 Joseph Myers <joseph@codesourcery.com>
30938
30939 [BZ #13550]
30940 * sysdeps/i386/bp-asm.h: Remove file.
30941 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30942 (PARMS): Do not use macros from bp-asm.h.
30943 (S1): Likewise.
30944 (S2): Likewise.
30945 (SIZE): Likewise.
30946 (__mpn_add_n): Do not use BP_SYM
30947 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30948 "bp-asm.h".
30949 (PARMS): Do not use macros from bp-asm.h.
30950 (S1): Likewise.
30951 (SIZE): Likewise.
30952 (__mpn_addmul_1): Do not use BP_SYM
30953 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30954 "bp-asm.h".
30955 (PARMS): Do not use macros from bp-asm.h.
30956 (SIGMSK): Likewise.
30957 (_setjmp): Likewise. Do not use BP_SYM.
30958 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30959 "bp-asm.h".
30960 (PARMS): Do not use macros from bp-asm.h.
30961 (SIGMSK): Likewise.
30962 (setjmp): Likewise. Do not use BP_SYM.
30963 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30964 "bp-asm.h".
30965 (PARMS): Do not use macros from bp-asm.h.
30966 (__frexp): Do not use BP_SYM.
30967 (frexp): Likewise.
30968 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30969 "bp-asm.h".
30970 (PARMS): Do not use macros from bp-asm.h.
30971 (__frexpf): Do not use BP_SYM.
30972 (frexpf): Likewise.
30973 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30974 "bp-asm.h".
30975 (PARMS): Do not use macros from bp-asm.h.
30976 (__frexpl): Do not use BP_SYM.
30977 (frexpl): Likewise.
30978 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30979 "bp-asm.h".
30980 (PARMS): Do not use macros from bp-asm.h.
30981 (__remquo): Do not use BP_SYM.
30982 (remquo): Likewise.
30983 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30984 "bp-asm.h".
30985 (PARMS): Do not use macros from bp-asm.h.
30986 (__remquof): Do not use BP_SYM.
30987 (remquof): Likewise.
30988 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30989 "bp-asm.h".
30990 (PARMS): Do not use macros from bp-asm.h.
30991 (__remquol): Do not use BP_SYM.
30992 (remquol): Likewise.
30993 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30994 "bp-asm.h".
30995 (PARMS): Do not use macros from bp-asm.h.
30996 (DEST): Likewise.
30997 (SRC): Likewise.
30998 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30999 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31000 "bp-asm.h".
31001 (PARMS): Do not use macros from bp-asm.h.
31002 (strlen): Do not use BP_SYM.
31003 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31004 "bp-asm.h".
31005 (PARMS): Do not use macros from bp-asm.h.
31006 (S1): Likewise.
31007 (S2): Likewise.
31008 (SIZE): Likewise.
31009 (__mpn_add_n): Do not use BP_SYM.
31010 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31011 "bp-asm.h".
31012 (PARMS): Do not use macros from bp-asm.h.
31013 (S1): Likewise.
31014 (SIZE): Likewise.
31015 (__mpn_addmul_1): Do not use BP_SYM.
31016 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31017 weak_alias.
31018 (bzero): Likewise.
31019 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31020 "bp-asm.h".
31021 (PARMS): Do not use macros from bp-asm.h.
31022 (S): Likewise.
31023 (SIZE): Likewise.
31024 (__mpn_lshift): Do not use BP_SYM.
31025 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31026 "bp-asm.h".
31027 (PARMS): Do not use macros from bp-asm.h.
31028 (DEST): Likewise.
31029 (SRC): Likewise.
31030 (LEN): Likewise.
31031 (memcpy): Likewise. Do not use BP_SYM.
31032 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31033 libc_hidden_def and weak_alias.
31034 (mempcpy): Do not use BP_SYM in weak_alias.
31035 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31036 "bp-asm.h".
31037 (PARMS): Do not use macros from bp-asm.h.
31038 (DEST): Likewise.
31039 (LEN): Likewise.
31040 [!BZERO_P] (CHR): Likewise.
31041 (memset): Likewise. Do not use BP_SYM.
31042 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31043 "bp-asm.h".
31044 (PARMS): Do not use macros from bp-asm.h.
31045 (S1): Likewise.
31046 (SIZE): Likewise.
31047 (__mpn_mul_1): Do not use BP_SYM.
31048 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31049 "bp-asm.h".
31050 (PARMS): Do not use macros from bp-asm.h.
31051 (S): Likewise.
31052 (SIZE): Likewise.
31053 (__mpn_rshift): Do not use BP_SYM.
31054 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31055 "bp-asm.h".
31056 (PARMS): Do not use macros from bp-asm.h.
31057 (STR): Likewise.
31058 (CHR): Likewise.
31059 (strchr): Likewise. Do not use BP_SYM.
31060 (index): Do not use BP_SYM in weak_alias.
31061 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31062 "bp-asm.h".
31063 (PARMS): Do not use macros from bp-asm.h.
31064 (DEST): Likewise.
31065 (SRC): Likewise.
31066 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31067 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31068 "bp-asm.h".
31069 (PARMS): Do not use macros from bp-asm.h.
31070 (strlen): Do not use BP_SYM.
31071 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31072 "bp-asm.h".
31073 (PARMS): Do not use macros from bp-asm.h.
31074 (S1): Likewise.
31075 (S2): Likewise.
31076 (SIZE): Likewise.
31077 (__mpn_sub_n): Do not use BP_SYM.
31078 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31079 "bp-asm.h".
31080 (PARMS): Do not use macros from bp-asm.h.
31081 (S1): Likewise.
31082 (SIZE): Likewise.
31083 (__mpn_submul_1): Do not use BP_SYM.
31084 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31085 "bp-asm.h".
31086 (PARMS): Do not use macros from bp-asm.h.
31087 (S1): Likewise.
31088 (S2): Likewise.
31089 (SIZE): Likewise.
31090 (__mpn_add_n): Do not use BP_SYM.
31091 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31092 weak_alias.
31093 (bzero): Likewise.
31094 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31095 "bp-asm.h".
31096 (PARMS): Do not use macros from bp-asm.h.
31097 (BLK2): Likewise.
31098 (LEN): Likewise.
31099 (memcmp): Do not use BP_SYM.
31100 (bcmp): Do not use BP_SYM in weak_alias.
31101 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31102 "bp-asm.h".
31103 (PARMS): Do not use macros from bp-asm.h.
31104 (DEST): Likewise.
31105 (SRC): Likewise.
31106 (LEN): Likewise.
31107 (memcpy): Likewise. Do not use BP_SYM.
31108 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31109 "bp-asm.h".
31110 (PARMS): Do not use macros from bp-asm.h.
31111 (DEST): Likewise.
31112 (SRC): Likewise.
31113 (LEN): Likewise.
31114 (memmove): Likewise. Do not use BP_SYM.
31115 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31116 "bp-asm.h".
31117 (PARMS): Do not use macros from bp-asm.h.
31118 (DEST): Likewise.
31119 (SRC): Likewise.
31120 (LEN): Likewise.
31121 (__mempcpy): Likewise. Do not use BP_SYM.
31122 (mempcpy): Do not use BP_SYM in weak_alias.
31123 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31124 "bp-asm.h".
31125 (PARMS): Do not use macros from bp-asm.h.
31126 (DEST): Likewise.
31127 (LEN): Likewise.
31128 [!BZERO_P] (CHR): Likewise.
31129 (memset): Likewise. Do not use BP_SYM.
31130 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31131 "bp-asm.h".
31132 (PARMS): Do not use macros from bp-asm.h.
31133 (STR2): Likewise.
31134 (strcmp): Do not use BP_SYM.
31135 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31136 "bp-asm.h".
31137 (PARMS): Do not use macros from bp-asm.h.
31138 (STR): Likewise.
31139 (DELIM): Likewise.
31140 [USE_AS_STRTOK_R] (SAVE): Likewise.
31141 (FUNCTION): Likewise. Do not use BP_SYM.
31142 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31143 aliases.
31144 (strtok_r): Likewise.
31145 (__GI___strtok_r): Likewise.
31146 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31147 (PARMS): Do not use macros from bp-asm.h.
31148 (S): Likewise.
31149 (SIZE): Likewise.
31150 (__mpn_lshift): Do not use BP_SYM.
31151 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31152 (PARMS): Do not use macros from bp-asm.h.
31153 (STR): Likewise.
31154 (CHR): Likewise.
31155 (__memchr): Do not use BP_SYM.
31156 (memchr): Do not use BP_SYM in weak_alias.
31157 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31158 (PARMS): Do not use macros from bp-asm.h.
31159 (BLK2): Likewise.
31160 (LEN): Likewise.
31161 (memcmp): Do not use BP_SYM.
31162 (bcmp): Do not use BP_SYM in weak_alias.
31163 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31164 (PARMS): Do not use macros from bp-asm.h.
31165 (S1): Likewise.
31166 (SIZE): Likewise.
31167 (__mpn_mul_1): Do not use BP_SYM.
31168 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31169 "bp-asm.h".
31170 (PARMS): Do not use macros from bp-asm.h.
31171 (STR): Likewise.
31172 (CHR): Likewise.
31173 (__rawmemchr): Do not use BP_SYM.
31174 (rawmemchr): Do not use BP_SYM in weak_alias.
31175 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31176 (PARMS): Do not use macros from bp-asm.h.
31177 (S): Likewise.
31178 (SIZE): Likewise.
31179 (__mpn_rshift): Do not use BP_SYM.
31180 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31181 (PARMS): Do not use macros from bp-asm.h.
31182 (SIGMSK): Likewise.
31183 (__sigsetjmp): Likewise. Do not use BP_SYM.
31184 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31185 (_start): Do not use BP_SYM.
31186 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31187 (PARMS): Do not use macros from bp-asm.h.
31188 (DEST): Likewise.
31189 (SRC): Likewise.
31190 (__stpcpy): Likewise. Do not use BP_SYM.
31191 (stpcpy): Do not use BP_SYM in weak_alias.
31192 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31193 "bp-asm.h".
31194 (PARMS): Do not use macros from bp-asm.h.
31195 (DEST): Likewise.
31196 (SRC): Likewise.
31197 (LEN): Likewise.
31198 (__stpncpy): Likewise. Do not use BP_SYM.
31199 (stpncpy): Do not use BP_SYM in weak_alias.
31200 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31201 (PARMS): Do not use macros from bp-asm.h.
31202 (STR): Likewise.
31203 (CHR): Likewise.
31204 (strchr): Likewise. Do not use BP_SYM.
31205 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31206 "bp-asm.h".
31207 (PARMS): Do not use macros from bp-asm.h.
31208 (STR): Likewise.
31209 (CHR): Likewise.
31210 (__strchrnul): Likewise. Do not use BP_SYM.
31211 (strchrnul): Do not use BP_SYM in weak_alias.
31212 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31213 "bp-asm.h".
31214 (PARMS): Do not use macros from bp-asm.h.
31215 (STOP): Likewise.
31216 (strcspn): Do not use BP_SYM.
31217 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31218 "bp-asm.h".
31219 (PARMS): Do not use macros from bp-asm.h.
31220 (STR): Likewise.
31221 (STOP): Likewise.
31222 (strpbrk): Likewise. Do not use BP_SYM.
31223 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31224 "bp-asm.h".
31225 (PARMS): Do not use macros from bp-asm.h.
31226 (STR): Likewise.
31227 (CHR): Likewise.
31228 (strrchr): Likewise. Do not use BP_SYM.
31229 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31230 (PARMS): Do not use macros from bp-asm.h.
31231 (SKIP): Likewise.
31232 (strspn): Do not use BP_SYM.
31233 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31234 (PARMS): Do not use macros from bp-asm.h.
31235 (STR): Likewise.
31236 (DELIM): Likewise.
31237 (SAVE): Likewise.
31238 (FUNCTION): Likewise. Do not use BP_SYM.
31239 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31240 aliases.
31241 (strtok_r): Likewise.
31242 (__GI___strtok_r): Likewise.
31243 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31244 (PARMS): Do not use macros from bp-asm.h.
31245 (S1): Likewise.
31246 (S2): Likewise.
31247 (SIZE): Likewise.
31248 (__mpn_sub_n): Do not use BP_SYM.
31249 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31250 "bp-asm.h".
31251 (PARMS): Do not use macros from bp-asm.h.
31252 (S1): Likewise.
31253 (SIZE): Likewise.
31254 (__mpn_submul_1): Do not use BP_SYM.
31255 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31256 <bp-sym.h>.
31257 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31258 and <bp-asm.h>.
31259 (PARMS): Do not use macros from bp-asm.h.
31260 (FLAGS): Likewise.
31261 (PTID): Likewise.
31262 (TLS): Likewise.
31263 (CTID): Likewise.
31264 (__clone): Do not use BP_SYM.
31265 (clone): Do not use BP_SYM in weak_alias.
31266 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31267 and <bp-asm.h>.
31268 (PARMS): Do not use macros from bp-asm.h.
31269 (LEN): Likewise.
31270 (__mmap64): Do not use BP_SYM.
31271 (mmap64): Do not use BP_SYM in weak_alias.
31272 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31273 <bp-sym.h> and <bp-asm.h>.
31274 (PARMS): Do not use macros from bp-asm.h.
31275 (__posix_fadvise64_l64): Do not use BP_SYM.
31276 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31277 (PARMS): Do not use macros from bp-asm.h.
31278 (NSOPS): Likewise.
31279 (semtimedop): Do not use BP_SYM.
31280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31281 and <bp-asm.h>.
31282
582a3cff
AM
312832013-02-21 Allan McRae <allan@archlinux.org>
31284
31285 * manual/message.texi (Charset conversion in gettext):
31286 Move @end statement to beginning of line.
31287
bab8a695
SP
312882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31289
80945231
SP
31290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31291 static.
31292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31293 Likewise.
31294
bab8a695
SP
31295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31296 (denorm): Likewise.
31297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31299
e21d7aa7
AK
313002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31301
31302 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31303 tail-call to the resolved function if pltexit isn't needed.
31304
4c7a4263
SP
313052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31306
31307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31308 or Y being zero as being unlikely.
31309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31310 Likewise.
31311
41f49342
CD
313122013-02-20 Carlos O'Donell <carlos@redhat.com>
31313
31314 * manual/nss.texi (System Databases and Name Service Switch):
31315 Remove frobnicate @pxref.
31316
50022a93
TS
313172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31318
31319 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31320 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31321
08cbd996
PM
313222013-02-20 Petr Machata <pmachata@redhat.com>
31323
31324 * elf/elf.h (R_ARM_TARGET1): New macro.
31325 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31326 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31327 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31328 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31329 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31330 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31331 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31332 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31333 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31334 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31335 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31336 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31337 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31338 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31339 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31340 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31341 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31342 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31343 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31344 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31345 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31346 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31347 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31348 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31349 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31350 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31351 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31352 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31353 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31354 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31355 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31356 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31357 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31358 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31359 (R_ARM_THM_GOT_BREL12): Likewise.
31360 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31361 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31362 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31363 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31364 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31365 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31366 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31367 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31368 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31369
c7b275d6
TS
313702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31371
31372 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31373 __attribute_used__ to __attribute__ ((unused)).
31374
20cd7fb3
SP
313752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31376
31377 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31378 powerpc mpa.c.
31379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31380 comment formatting.
31381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31382
92945b52
JM
313832013-02-19 Joseph Myers <joseph@codesourcery.com>
31384
31385 [BZ #13550]
31386 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31387 Remove macro.
31388 (ENTER): Remove both macro definitions.
31389 (LEAVE): Likewise.
31390 (CHECK_BOUNDS_LOW): Likewise.
31391 (CHECK_BOUNDS_HIGH): Likewise.
31392 (CHECK_BOUNDS_BOTH): Likewise.
31393 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31394 (RETURN_BOUNDED_POINTER): Likewise.
31395 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31396 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31397 (POP_ERRNO_LOCATION_RETURN): Likewise.
31398 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31399 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31400 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31401 macros.
31402 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31403 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31404 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31405 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31406 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31407 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31408 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31409 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31410 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31411 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31412 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31413 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31414 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31415 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31416 removed macros.
31417 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31418 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31419 macros.
31420 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31421 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31422 * sysdeps/i386/i586/memset.S (memset): Likewise.
31423 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31424 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31425 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31426 macros.
31427 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31428 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31429 Change uses of L(2) to L(out).
31430 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31431 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31432 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31433 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31434 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31435 removed macros.
31436 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31437 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31438 macros.
31439 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31440 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31441 (RETURN): Do not use macro LEAVE.
31442 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31443 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31444 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31445 * sysdeps/i386/i686/memset.S (memset): Likewise.
31446 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31447 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31448 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31449 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31450 Likewise.
31451 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31452 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31453 L(1_2) and L(1_3) into L(1).
31454 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31455 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31456 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31457 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31458 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31459 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31460 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31461 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31462 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31463 macros.
31464 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31465 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31466 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31467 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31468 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31469 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31470 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31471 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31472 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31473 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31474 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31475 * sysdeps/i386/strspn.S (strspn): Likewise.
31476 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31477 conditional code.
31478 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31479 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31480 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31481 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31482 L(1_3) into L(1_1).
31483 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31484 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31485 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31486 macros.
31487 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31488
2389741a
JJ
314892013-02-19 Jakub Jelinek <jakub@redhat.com>
31490
31491 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31492 macro.
31493
2016b3cd
SP
314942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31495
e4f22324
SP
31496 * math/atest-exp.c (exp_mpn): Remove ROUND.
31497 * math/atest-exp2.c (exp_mpn): Likewise.
31498 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31499
2016b3cd
SP
31500 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31501 * stdlib/tst-tls-atexit-lib.c: Likewise.
31502 * stdlib/tst-tls-atexit.c: Likewise.
31503
4be9b544
MF
315042013-02-18 Mike Frysinger <vapier@gentoo.org>
31505
31506 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31507 and __attribute_alloc_size__.
31508
2f62b9ee
MF
315092013-02-18 Mike Frysinger <vapier@gentoo.org>
31510
31511 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31512 __attribute_alloc_size__.
31513 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31514 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31515
6ff444c4
MF
315162013-02-18 Mike Frysinger <vapier@gentoo.org>
31517
31518 * include/programs/xmalloc.h: New file.
31519 * catgets/gencat.c: Include it.
31520 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31521 * elf/pldd.c: Likewise.
31522 * iconv/iconv_charmap.c: Likewise.
31523 * iconv/iconvconfig.c: Likewise.
31524 * iconv/strtab.c: Likewise.
31525 * locale/programs/locale.c: Likewise.
31526 * locale/programs/localedef.h: Likewise.
31527 * locale/programs/simple-hash.c: Likewise.
31528 * nscd/nscd.h: Likewise.
31529 * nss/makedb.c: Likewise.
31530 * sysdeps/generic/ldconfig.h: Likewise.
31531
be179c8a
SP
315322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31533
ba384f6e
SP
31534 * Versions.def: Add GLIBC_2.18.
31535 * include/link.h (struct link_map): New member l_tls_dtor_count.
31536 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31537 (__call_tls_dtors): Likewise.
31538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31539 __cxa_thread_atexit_impl.
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31541 Likewise.
31542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31543 Likewise.
31544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31545 Likewise.
31546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31547 Likewise.
31548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31550 Likewise.
31551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31552 Likewise.
31553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31555 Likewise.
31556 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31557 (tests): Add test case tst-tls-atexit.
31558 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31559 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31560 (GLIBC_PRIVATE): Add __call_tls_dtors.
31561 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31562 for libstdc++.
31563 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31564 * stdlib/tst-tls-atexit.c: New test case.
31565 * stdlib/tst-tls-atexit-lib.c: New test case.
31566
ffaa74cf 31567 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31568
be179c8a
SP
31569 * elf/Versions (ld): Add _dl_find_dso_for_object.
31570 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31571 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31572 (dl_open_worker): Use _dl_find_dso_for_object.
31573 * elf/dl-sym.c (do_sym): Likewise.
31574 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31575
f78b5caa
AK
315762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31577
31578 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31579 Syntactic changes only.
31580 (_dl_runtime_profile): Do a tail-call to the resolved function.
31581
29691210
JM
315822013-02-17 Joseph Myers <joseph@codesourcery.com>
31583
31584 [BZ #13550]
31585 * sysdeps/x86_64/bp-asm.h: Remove file.
31586 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31587 <bp-sym.h> and <bp-asm.h>.
31588 (__clone): Do not use BP_SYM.
31589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31590 <bp-sym.h> and <bp-asm.h>.
31591 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31592 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31593 "bp-asm.h".
31594 (_setjmp): Do not use BP_SYM.
31595 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31596 "bp-asm.h".
31597 (setjmp): Do not use BP_SYM.
31598 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31599 libc_hidden_def.
31600 (mempcpy): Do not use BP_SYM in weak_alias.
31601 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31602 "bp-asm.h".
31603 (strchr): Do not use BP_SYM.
31604 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31605 "bp-asm.h".
31606 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31607 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31608 (_start): Do not use BP_SYM.
31609 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31610 "bp-asm.h".
31611 (strcat): Do not use BP_SYM.
31612 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31613 "bp-asm.h".
31614 (STRCMP): Do not use BP_SYM.
31615 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31616 "bp-asm.h".
31617 (STRCPY): Do not use BP_SYM.
31618 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31619 "bp-asm.h".
31620 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31621 "bp-asm.h".
31622 (FUNCTION): Do not use BP_SYM.
31623 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31624 weak_alias.
31625 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31626
f238fd19
AJ
316272013-02-17 Andreas Jaeger <aj@suse.de>
31628
31629 * time/Versions: Sort entries.
31630 * string/Versions: Likewise.
31631 * resolv/Versions: Likewise.
31632 * posix/Versions: Likewise.
31633 * iconv/Versions: Likewise.
31634 * elf/Versions: Likewise.
31635 * wcsmbs/Versions: Likewise.
31636
bd07f23c 316372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31638
22af19f9
SP
31639 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31640 loop termination condition.
31641
4709fe76
SP
31642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31643 variable to calculate EZ.
31644 (__sqr): Likewise.
2d0e0f29
SP
31645
31646 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31647 the lower precision input.
31648
daaa7713
JM
316492013-02-15 Joseph Myers <joseph@codesourcery.com>
31650
31651 [BZ #13550]
31652 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31653 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31654 (run-via-rtld-prefix): Do not handle %-bp tests.
31655 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31656 (all-object-suffixes): Remove .ob.
31657 (bppfx): Remove variable.
31658 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31659 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31660 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31661 [$(build-bounded) = yes] (libtype.ob): Likewise.
31662 * Makerules (elide-routines.ob): Remove variable.
31663 (do-tests-clean): Do not handle *-bp.out.
31664 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31665 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31666 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31667 (tests): Do not include $(tests-bp.out).
31668 (xtests): Do not include $(xtests-bp.out).
31669 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31670 [$(build-bounded) = yes] ($(addprefix
31671 $(objpfx),$(binaries-bounded))): Remove rule.
31672 ($(objpfx)%-bp.out): Remove rule.
31673 * config.make.in (build-bounded): Remove variable.
31674 * crypt/Makefile [$(build-bounded) = yes]
31675 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31676 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31677 append to variable.
31678 [$(build-bounded) = yes] (install-lib): Likewise.
31679 [$(build-bounded) = yes] (generated): Likewise.
31680 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31681 Remove rule.
31682 * intl/Makefile [$(build-bounded) = yes]
31683 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31684 * math/Makefile [$(build-bounded) = yes]
31685 ($(tests:%=$(objpfx)%-bp): Likewise.
31686 * misc/Makefile [$(build-bounded) = yes]
31687 ($(objpfx)tst-tsearch-bp): Likewise.
31688 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31689 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31690 Remove dependency.
31691 * string/Makefile (o-objects.ob): Remove variable.
31692 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31693 (CFLAGS-.ob): Remove variable.
31694 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31695 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31696 both definitions of variable.
31697 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31698 (ASFLAGS-.ob): Remove variable.
31699
e97ed6dd
JM
317002013-02-14 Joseph Myers <joseph@codesourcery.com>
31701
2bdd4ca6
JM
31702 [BZ #13550]
31703 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31704 Remove __BOUNDED_POINTERS__ from condition.
31705 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31706 * string/bits/string2.h [!__NO_STRING_INLINES &&
31707 !__BOUNDED_POINTERS__]: Likewise.
31708 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31709 Likewise.
31710 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31711 Remove conditional code.
31712 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31713 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31714 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31715 condition.
31716
e97ed6dd
JM
31717 [BZ #13550]
31718 * csu/libc-start.c: Do not include <bp-sym.h>.
31719 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31720 * elf/dl-open.c: Do not include <bp-sym.h>.
31721 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31722 * math/fegetenv.c: Do not include <bp-sym.h>.
31723 (fegetenv): Do not use BP_SYM in versioned symbols.
31724 * nptl/sysdeps/pthread/bits/libc-lockP.h
31725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31726 <bp-sym.h>.
31727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31728 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31730 (__pthread_mutex_destroy): Likewise.
31731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31732 (__pthread_mutex_lock): Likewise.
31733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31734 (__pthread_mutex_trylock): Likewise.
31735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31736 (__pthread_mutex_unlock): Likewise.
31737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31738 (__pthread_mutexattr_init): Likewise.
31739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31740 (__pthread_mutexattr_destroy): Likewise.
31741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31742 (__pthread_mutexattr_settype): Likewise.
31743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31744 (__pthread_rwlock_init): Likewise.
31745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31746 (__pthread_rwlock_destroy): Likewise.
31747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31748 (__pthread_rwlock_rdlock): Likewise.
31749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31750 (__pthread_rwlock_tryrdlock): Likewise.
31751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31752 (__pthread_rwlock_wrlock): Likewise.
31753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31754 (__pthread_rwlock_trywrlock): Likewise.
31755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31756 (__pthread_rwlock_unlock): Likewise.
31757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31758 (__pthread_key_create): Likewise.
31759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31760 (__pthread_setspecific): Likewise.
31761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31762 (__pthread_getspecific): Likewise.
31763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31764 Likewise.
31765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31766 (_pthread_cleanup_push_defer): Likewise.
31767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31768 (_pthread_cleanup_pop_restore): Likewise.
31769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31770 (pthread_setcancelstate): Likewise.
31771 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31772 <bp-sym.h>.
31773 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31774 (memchr): Do not use BP_SYM in weak_alias.
31775 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31776 (fegetenv): Do not use BP_SYM in versioned symbols.
31777 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31778 (fesetenv): Do not use BP_SYM in versioned symbols.
31779 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31780 (feupdateenv): Do not use BP_SYM in versioned symbols.
31781 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31782 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31783 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31784 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31785 (open64): Do not use BP_SYM in weak_alias.
31786 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31787 (fegetenv): Do not use BP_SYM in versioned symbols.
31788 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31789 (fesetenv): Do not use BP_SYM in versioned symbols.
31790 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31791 (feupdateenv): Do not use BP_SYM in versioned symbols.
31792 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31793 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31794 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31795 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31796 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31797 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31799 <bp-sym.h>.
31800 (__libc_start_main): Do not use BP_SYM.
31801
d6752ccd
SP
318022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31803
cb57ce60
SP
31804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31805 redundant return line.
31806 (norm): Likewise.
31807 (denorm): Likewise.
31808 (dbl_mp): Likewise.
31809 (sub_magnitudes): Likewise.
31810 (__add): Likewise.
31811 (__sub): Likewise.
31812 (__mul): Likewise.
31813 (__inv): Likewise.
31814 (__dvd): Likewise.
31815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31816 (norm): Likewise.
31817 (denorm): Likewise.
31818 (dbl_mp): Likewise.
31819 (sub_magnitudes): Likewise.
31820 (__add): Likewise.
31821 (__sub): Likewise.
31822 (__mul): Likewise.
31823 (__inv): Likewise.
31824 (__dvd): Likewise.
31825
f414520d
SP
31826 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31827 instead of __mul.
31828 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31829 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31830 (cc32): Likewise.
31831
d6752ccd
SP
31832 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31833 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31835 of __mul for squares.
31836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31837 function
31838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31839 Likewise.
31840 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31842
70d9946a
JM
318432013-02-13 Joseph Myers <joseph@codesourcery.com>
31844
31845 [BZ #13550]
31846 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31847 code.
31848 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31849 prototype or function definition. Rename ubp_* variables and
31850 parameters. Remove argv definitions conditional on
31851 [__BOUNDED_POINTERS__].
31852 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31853 * elf/dl-runtime.c (_dl_fixup): Likewise.
31854 * include/set-hooks.h (RUN_HOOK): Likewise.
31855 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31856 definition.
31857 * string/strcpy.c (strcpy): Do not use __unbounded.
31858 * sysdeps/generic/frame.h (struct layout): Likewise.
31859 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31860 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31861 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31862 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31863 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31864 (__backtrace): Likewise.
31865 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31866 use __ptrvalue.
31867 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31868 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31869 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31870 Likewise.
31871 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31872 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31873 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31874 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31875 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31876 Do not use __unbounded.
31877 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31878 Rename __unboundedrlimits parameter to rlimits in prototype.
31879 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31880 Do not use __unbounded.
31881 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31882 not use __ptrvalue.
31883 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31884 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31885 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31886 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31887 __ptrvalue or __unbounded.
31888 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31889 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31890 use __unbounded.
31891 (__new_msgctl): Do not use __ptrvalue.
31892 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31893 __unbounded.
31894 (__libc_msgrcv): Do not use __ptrvalue.
31895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31896 startup_info): Do not use __unbounded.
31897 (__libc_start_main): Likewise. Rename ubp_* variables and
31898 parameters. Remove argv definitions conditional on
31899 [__BOUNDED_POINTERS__].
31900 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31901 __ptrvalue.
31902 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31903 use __unbounded.
31904 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31905 or __ptrvalue.
31906 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31907 use __unbounded.
31908 (__new_shmctl): Do not use __ptrvalue.
31909 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31910 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31911 Likewise.
31912 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31914 (__libc_sigaction): Likewise.
31915 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31916 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31917 Likewise.
31918 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31919
cc7834d6
OB
319202013-02-13 Ondřej Bílka <neleai@seznam.cz>
31921
ffb1ec7b 31922 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31923
31924 * string/mempcpy.c: Implement by calling memcpy.
31925
bdf02814
SP
319262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31927
c2af38aa
SP
31928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31929
4e92d59e
SP
31930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31931 evaluation.
31932
909279a5
SP
31933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31934 values in the mantissa.
31935
bdf02814
SP
31936 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31937 minimize writes to Z.
31938 (sub_magnitudes): Simplify code a bit.
31939
cd525923
RM
319402013-02-12 Roland McGrath <roland@hack.frob.com>
31941
31942 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31943 from the message. The linker prefixes all warnings with that already.
31944
7e2f0d2d
AS
319452013-02-12 Andreas Schwab <schwab@suse.de>
31946
a445af0b
AS
31947 [BZ #15078]
31948 * posix/regexec.c (extend_buffers): Add parameter min_len.
31949 (check_matching): Pass minimum needed length.
31950 (clean_state_log_if_needed): Likewise.
31951 (get_subexp): Likewise.
31952 * posix/Makefile (tests): Add bug-regex34.
31953 (bug-regex34-ENV): Define.
31954 * posix/bug-regex34.c: New file.
31955
7e2f0d2d
AS
31956 [BZ #11561]
31957 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31958 elements compare against the byte sequence of it, not its name.
31959 * posix/Makefile (tests): Add bug-regex35.
31960 (bug-regex35-ENV): Define.
31961 * posix/bug-regex35.c: New file.
31962
a175b684
TV
319632013-02-11 Tom de Vries <tom@codesourcery.com>
31964
31965 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31966 comment.
31967 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31968 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31969 (CHECK_EOL): Add undef.
31970
310998fe 319712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31972
31973 * bits/stdlib-bsearch.h: New file.
31974 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31975 * stdlib/stdlib.h: Likewise.
41eda41d 31976
8ded91fb
RM
319772013-02-11 Roland McGrath <roland@hack.frob.com>
31978
31979 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31980 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31981 declaration.
31982 * manual/search.texi (Array Search Function): Add missing const in
31983 lfind prototype.
31984 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31985 declaration to use rlim_t.
31986 (Basic Scheduling Functions): Remove erroneous const from
31987 sched_getparam prototype. Remove erroneous * from
31988 sched_get_priority_max and sched_get_priority_min prototypes.
31989 (Resource Usage): Fix summary @comment on vtimes to refer to
31990 sys/vtimes.h rather than vtimes.h.
31991 Add missing *s in vtimes prototype.
31992 (Limits on Resources): Fix ulimit prototype to return long int.
31993 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31994 prototypes to use long int rather than double.
31995 (BSD Random): Fix initstate and setstate to use char *, not void *.
31996 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31997 prototype to make second argument 'struct aiocb64 *const[]'.
31998 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31999 (Status of AIO Operations): Remove erroneous const in aio_return and
32000 aio_return64 prototypes.
32001 (Synchronizing I/O): Fix sync prototype to return void.
32002 * manual/startup.texi (Suboptions): Remove an erroneous const in
32003 getsubopt prototype.
32004 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32005 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32006 use size_t rather than int.
32007 (Scanning All Users): Likewise for getpwent_r.
32008 (Setting Groups): Add missing const to setgroups prototype.
32009 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32010 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32011 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32012 'const void *' rather than 'const char *'.
32013 (Host Address Functions): Likewise for inet_ntop.
32014 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32015 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32016 ssize_t for return value.
32017 (Sending Data): Likewise for send, sendto, sendmsg.
32018 (Socket Option Functions): Add a missing const in setsockopt prototype.
32019 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32020 use wchar_t for the argument.
32021 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32022 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32023 take no arguments.
32024 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32025 double/float/long double for second argument.
32026 Fix return types of significand, significandf, significandl.
32027 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32028 argument in fchmod prototype.
32029 (File Owner): Use uid_t and gid_t in fchown prototype.
32030 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32031 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32032 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32033 use 'const struct dirent **' as argument types to CMP function pointer
32034 argument.
32035 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32036 (File Times): Fix summary magic @comment for struct utimbuf and utime
32037 to refer to utime.h, not time.h.
32038 * manual/string.texi (Argz Functions): Add missing const in
32039 argz_extract and argz_next prototypes.
32040 (Finding Tokens in a String): Likewise for basename.
32041 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32042 (Copying and Concatenation): Fix typo in wmemmove prototype.
32043 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32044 (Signal Stack): Remove erroneous const in sigstack prototype.
32045 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32046 prototype.
32047 (Simple Calendar Time): Likewise for stime.
32048 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32049 prototype.
32050 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32051 say sys/sysctl.h instead.
32052 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32053 and vsyslog prototypes.
32054
fe77fe6d
TV
320552013-02-11 Tom de Vries <tom@codesourcery.com>
32056
32057 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32058 Remove.
32059
3a09b620
RM
320602013-02-11 Roland McGrath <roland@hack.frob.com>
32061
32062 * misc/sys/mman.h: Fix typo in mremap comment.
32063
550a0b89
RM
320642013-02-08 Roland McGrath <roland@hack.frob.com>
32065
32066 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32067 the '\0' terminator.
32068
a2da1673
JM
320692013-02-08 Joseph Myers <joseph@codesourcery.com>
32070
32071 [BZ #13550]
32072 * debug/segfault.c: Don't include <bp-checks.h>.
32073 * sysdeps/generic/bp-checks.h: Remove file.
32074 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32075 (__GETDENTS): Don't use CHECK_N.
32076 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32078 (__getgroups): Don't use CHECK_N.
32079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32080 (setgroups): Don't use CHECK_N.
32081 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32082 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32083 (__libc_msgrcv): Don't use CHECK_N.
32084 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32085 (__libc_msgsnd): Don't use CHECK_N.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32087 <bp-checks.h>.
32088 (__libc_pread): Don't use CHECK_N.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32090 include <bp-checks.h>.
32091 (__libc_pread64): Don't use CHECK_N.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32093 include <bp-checks.h>.
32094 (__libc_pwrite): Don't use CHECK_N.
32095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32096 include <bp-checks.h>.
32097 (__libc_pwrite64): Don't use CHECK_N.
32098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32099 <bp-checks.h>.
32100 (__libc_pread): Don't use CHECK_N.
32101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32102 include <bp-checks.h>.
32103 (__libc_pread64): Don't use CHECK_N.
32104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32105 include <bp-checks.h>.
32106 (__libc_pwrite): Don't use CHECK_N.
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32108 include <bp-checks.h>.
32109 (__libc_pwrite64): Don't use CHECK_N.
32110 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32111 (do_pread): Don't use CHECK_N.
32112 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32113 (do_pread64): Don't use CHECK_N.
32114 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32115 (do_pwrite): Don't use CHECK_N.
32116 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32117 (do_pwrite64): Don't use CHECK_N.
32118 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32119 (__libc_readv): Don't use CHECK_N.
32120 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32121 (semop): Don't use CHECK_N.
32122 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32123 <bp-checks.h>.
32124 (semtimedop): Don't use CHECK_N.
32125 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32126 (__libc_pread): Don't use CHECK_N.
32127 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32128 <bp-checks.h>.
32129 (__libc_pread64): Don't use CHECK_N.
32130 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32131 <bp-checks.h>.
32132 (__libc_pwrite): Don't use CHECK_N.
32133 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32134 <bp-checks.h>.
32135 (__libc_pwrite64): Don't use CHECK_N.
32136 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32137 <bp-checks.h>.
32138 (__libc_msgrcv): Don't use CHECK_N.
32139 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32140 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32141 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32142 (__libc_writev): Don't use CHECK_N.
32143
b84660a8
RM
321442013-02-08 Roland McGrath <roland@hack.frob.com>
32145
7f3e75f8
RM
32146 * string/strcpy.c: Removed unused variable.
32147
b84660a8
RM
32148 * Makeconfig (+sysdep-includes): Define with := rather than =.
32149 Use an existing include/ subdir of each sysdeps dir before it.
32150
471514d3
CD
321512013-02-08 Carlos O'Donell <carlos@redhat.com>
32152
32153 * nscd/connection.c (register_traced_file): Comment function.
32154 [HAVE_INOTIFY] (union __inev): Define.
32155 [HAVE_INOTIFY] (inotify_check_files): New function.
32156 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32157 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32158 clear_db_cache.
32159 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32160
b2d3c3be
CD
321612013-02-08 Carlos O'Donell <carlos@redhat.com>
32162
32163 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32164 loaded if not already and that a failure is permanent.
32165
b39949d2
CD
321662013-02-08 Carlos O'Donell <carlos@redhat.com>
32167
ddacd1db 32168 [BZ #15006]
b39949d2
CD
32169 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32170 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32171
b2c9eff4
JM
321722013-02-08 Joseph Myers <joseph@codesourcery.com>
32173
f3aae3f3
JM
32174 [BZ #13550]
32175 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32176 (CHECK_1_NULL_OK): Likewise.
32177 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32178 (__fxstat): Do not use CHECK_1.
32179 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32180 <bp-checks.h>.
32181 (___fxstat64): Do not use CHECK_1.
32182 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32183 <bp-checks.h>.
32184 (__fxstatat): Do not use CHECK_1.
32185 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32186 <bp-checks.h>.
32187 (__fxstatat64): Do not use CHECK_1.
32188 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32189 <bp-checks.h>.
32190 (__fxstat): Do not use CHECK_1.
32191 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32192 <bp-checks.h>.
32193 (__fxstatat): Do not use CHECK_1.
32194 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32195 <bp-checks.h>.
32196 (__getresgid): Do not use CHECK_1.
32197 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32198 <bp-checks.h>.
32199 (__getresuid): Do not use CHECK_1.
32200 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32201 <bp-checks.h>.
32202 (__lxstat): Do not use CHECK_1.
32203 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32204 <bp-checks.h>.
32205 (__old_msgctl): Do not use CHECK_1.
32206 (__new_msgctl): Likewise.
32207 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32208 <bp-checks.h>.
32209 (__new_setrlimit): Do not use CHECK_1.
32210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32211 <bp-checks.h>.
32212 (__old_shmctl): Do not use CHECK_1.
32213 (__new_shmctl): Likewise.
32214 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32215 <bp-checks.h>.
32216 (__xstat): Do not use CHECK_1.
32217 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32218 (__lxstat): Do not use CHECK_1.
32219 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32220 <bp-checks.h>.
32221 (___lxstat64): Do not use CHECK_1.
32222 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32223 (__old_msgctl): Do not use CHECK_1.
32224 (__new_msgctl): Likewise.
32225 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32226 <bp-checks.h>.
32227 (__gettimeofday): Do not use CHECK_1.
32228 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32229 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32230 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32231 <bp-checks.h>.
32232 (__gettimeofday): Do not use CHECK_1.
32233 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32234 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32235 (__new_shmctl): Do not use CHECK_1.
32236 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32237 <bp-checks.h>.
32238 (do_sigtimedwait): Do not use CHECK_1.
32239 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32240 <bp-checks.h>.
32241 (do_sigwaitinfo): Do not use CHECK_1.
32242 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32243 <bp-checks.h>.
32244 (msgctl): Do not use CHECK_1.
32245 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32246 <bp-checks.h>.
32247 (shmctl): Do not use CHECK_1.
32248 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32249 (ustat): Do not use CHECK_1.
32250 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32251 <bp-checks.h>.
32252 (__fxstat): Do not use CHECK_1.
32253 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32254 <bp-checks.h>.
32255 (__fxstatat): Do not use CHECK_1.
32256 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32257 <bp-checks.h>.
32258 (__lxstat): Do not use CHECK_1.
32259 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32260 <bp-checks.h>.
32261 (__xstat): Do not use CHECK_1.
32262 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32263 (__xstat): Do not use CHECK_1.
32264 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32265 (___xstat64): Do not use CHECK_1.
32266
b2c9eff4
JM
32267 [BZ #13550]
32268 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32269 definitions.
32270 (CHECK_BOUNDS_HIGH): Likewise.
32271 * string/strcpy.c: Do not include <bp-checks.h>.
32272 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32273
f1d70dad
RM
322742013-02-07 Roland McGrath <roland@hack.frob.com>
32275
32276 * nscd/nscd-client.h (__nscd_drop_map_ref):
32277 Add __attribute__ ((unused)).
32278 * nis/nss-nisplus.h (niserr2nss): Likewise.
32279
32280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32281 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32282
32283 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32284 Remove inline keyword.
32285 * include/rounding-mode.h (round_away): Likewise.
32286 * libio/wfileops.c (adjust_wide_data): Likewise.
32287 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32288 (__m128i_strloadu_tolower): Likewise.
32289 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32290 (__m128i_strloadu_tolower): Likewise.
32291 * time/mktime.c (ydhms_diff): Likewise.
32292 * locale/elem-hash.h (elem_hash): Likewise.
32293 * locale/setlocale.c (setdata): Likewise.
32294 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32295 (re_string_wchar_at): Likewise.
32296 (bitset_not, bitset_merge, bitset_mask): Likewise.
32297 [!(__GNUC__ > 3)] (inline): Remove macro.
32298 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32299 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32300 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32301 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32302 * string/memcmp.c (memcmp_bytes): Likewise.
32303 * locale/programs/locarchive.c (compute_hashval): Likewise.
32304 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32305 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32306 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32307 * nss/getent.c (print_rpc, print_protocols): Likewise.
32308 (print_passwd, print_group, print_aliases): Likewise.
32309 * nis/nss-nisplus.h (niserr2nss): Likewise.
32310 * nscd/connections.c (restart_p): Likewise.
32311 Change return type to bool.
32312
eab55bfb
RM
323132013-02-05 Roland McGrath <roland@hack.frob.com>
32314
7bd642f5
RM
32315 * Makeconfig (all-Depend-files): Add existing
32316 $(sorted-subdirs:=/Depend) files.
32317 (all-subdirs): Remove nss.
32318 * sysdeps/unix/inet/Subdirs: Add it here instead.
32319 * hesiod/Depend: New file.
32320
573c29b2
RM
32321 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32322 instead of calling alloca.
32323
b2e25af0
RM
32324 * io/lseek.c (__lseek): Rename to __libc_lseek.
32325 Define __lseek as an alias.
32326
eab55bfb
RM
32327 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32328
9a0d1941
CD
323292013-02-04 Carlos O'Donell <carlos@redhat.com>
32330
32331 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32332 else clause and remove check for non-standard endianness.
32333
b83bbec4
DM
323342013-02-04 David S. Miller <davem@davemloft.net>
32335
32336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32337
6277fdab
JM
323382013-02-04 Joseph Myers <joseph@codesourcery.com>
32339
32340 [BZ #13550]
32341 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32342 (__ubp_memchr): Remove prototype.
32343 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32344 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32345 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32346 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32347 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32348 Remove alias.
32349 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32350 (__ubp_memchr): Likewise.
32351 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32352 (__ubp_memchr): Likewise.
32353 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32354 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32355 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32356 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32357 CHECK_STRING.
32358 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32359 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32360 (__getcwd): Do not use CHECK_STRING.
32361 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32362 <bp-checks.h>.
32363 (__real_chown): Do not use CHECK_STRING.
32364 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32365 <bp-checks.h>.
32366 (fchownat): Do not use CHECK_STRING.
32367 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32368 CHECK_STRING.
32369 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32370 <bp-checks.h>.
32371 (__lchown): Do not use CHECK_STRING.
32372 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32373 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32374 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32375 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32377 include <bp-checks.h>.
32378 (truncate64): Do not use CHECK_STRING.
32379 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32380 <bp-checks.h>.
32381 (__real_chown): Do not use CHECK_STRING.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32383 <bp-checks.h>.
32384 (__lchown): Do not use CHECK_STRING.
32385 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32386 <bp-checks.h>.
32387 (__chown): Do not use CHECK_STRING.
32388 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32389 <bp-checks.h>.
32390 (truncate64): Do not use CHECK_STRING.
32391 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32392 Likewise.
32393 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32394 (__xmknod): Do not use CHECK_STRING.
32395 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32396 <bp-checks.h>.
32397 (__xmknodat): Do not use CHECK_STRING.
32398 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32399 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32400
903ae060
AS
324012013-02-04 Andreas Schwab <schwab@suse.de>
32402
32403 [BZ #14142]
32404 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32405 * include/netdb.h: Likewise for h_errno.
32406 * elf/tst-stackguard1.c: Include <tls.h>.
32407
542f9466
JK
324082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32409
32410 * elf/link.h (struct link_map): Extend the l_addr comment.
32411 * include/link.h (struct link_map): Likewise.
32412
e782a927
JM
324132013-02-01 Joseph Myers <joseph@codesourcery.com>
32414
32415 [BZ #13550]
32416 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32417 (BOUNDED_1): Remove macro.
32418 * debug/backtrace.c: Don't include <bp-checks.h>.
32419 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32420 (__backtrace): Likewise.
32421 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32422 <bp-checks.h>.
32423 (__backtrace): Don't use BOUNDED_1.
32424 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32425 <bp-checks.h>.
32426 (__backtrace): Don't use BOUNDED_1.
32427 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32428 (__backtrace): Don't use BOUNDED_1.
32429 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32430 (shmat): Don't use BOUNDED_N.
32431
8cf28c5e
JM
324322013-01-31 Joseph Myers <joseph@codesourcery.com>
32433
3a7ac8a0
JM
32434 [BZ #13550]
32435 * sysdeps/generic/bp-start.h: Remove file.
32436 * csu/libc-start.c: Don't include <bp-start.h>.
32437 (LIBC_START_MAIN): Set up __environ directly instead of using
32438 INIT_ARGV_and_ENVIRON.
32439 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32440 <bp-start.h>.
32441
f3499f95
JM
32442 [BZ #13550]
32443 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32444 definitions.
32445 (CHECK_FCNTL): Likewise.
32446 (CHECK_N_PAGES): Likewise.
32447
32a45bea
JM
32448 [BZ #13550]
32449 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32450 definitions.
32451 (CHECK_SIGSET_NULL_OK): Likewise.
32452 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32453 <bp-checks.h>.
32454 (sigpending): Don't use CHECK_SIGSET.
32455 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32456 <bp-checks.h>.
32457 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32458 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32459 <bp-checks.h>.
32460 (do_sigsuspend): Don't use CHECK_SIGSET.
32461 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32462 use CHECK_SIGSET.
32463 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32464 (do_sigwait): Don't use CHECK_SIGSET.
32465 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32466 use CHECK_SIGSET.
32467 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32468 include <bp-checks.h>.
32469 (sigpending): Don't use CHECK_SIGSET.
32470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32471 include <bp-checks.h>.
32472 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32473 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32474 <bp-checks.h>.
32475 (sigpending): Don't use CHECK_SIGSET.
32476 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32477 <bp-checks.h>.
32478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32479
2e8a5c8c
JM
32480 [BZ #13550]
32481 * sysdeps/generic/bp-semctl.h: Remove file.
32482 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32483 <bp-checks.h> and <bp-semctl.h>.
32484 (__old_semctl): Don't use CHECK_SEMCTL.
32485 (__new_semctl): Likewise.
32486 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32487 and <bp-semctl.h>.
32488 (__old_semctl): Don't use CHECK_SEMCTL.
32489 (__new_semctl): Likewise.
32490 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32491 <bp-checks.h> and <bp-semctl.h>.
32492 (__old_semctl): Don't use CHECK_SEMCTL.
32493 (__new_semctl): Likewise.
32494 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32495 <bp-checks.h> and <bp-semctl.h>.
32496 (semctl): Don't use CHECK_SEMCTL.
32497
c2d54929
JM
32498 [BZ #13550]
32499 * Makerules (elide-bp-thunks): Remove variable.
32500 (elide-routines.oS): Don't use $(elide-bp-thunks).
32501 (elide-routines.os): Likewise.
32502 (elide-routines.o): Likewise.
32503 (elide-routines.op): Likewise.
32504 (elide-routines.og): Likewise.
32505 (objects): Don't use $(bp-thunks).
32506 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32507 include.
32508 (common-generated): Do not add s-proto-bp.d.
32509 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32510 (int): Likewise.
32511 (typ): Likewise.
32512 Do not generate makefile rules for bounded-pointer thunks.
32513 * sysdeps/generic/bp-thunks.h: Remove file.
32514 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32515 * sysdeps/unix/s-proto-bp.S: Likewise.
32516
8cf28c5e
JM
32517 [BZ #15062]
32518 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32519 parts of result separately when argument is not close to line from
32520 -i to i and one part of argument is small.
32521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32523 * math/libm-test.inc (cacos_test): Add more tests.
32524 (casin_test): Likewise.
32525 (casinh_test): Likewise.
32526 * sysdeps/i386/fpu/libm-test-ulps: Update.
32527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32528
c4e33b8d
DM
325292013-01-31 David S. Miller <davem@davemloft.net>
32530
32531 * po/de.po: Update from translation team.
32532
3b60b421
MK
325332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32534
32535 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32536
bb931195
TS
325372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32538
b5a5da23
TS
32539 * configure.in (_AC_PROG_CC_C89): New definition.
32540 * configure: Regenerate.
32541
bb931195
TS
32542 * configure.in (AC_PROG_CPP): New definition.
32543 * configure: Regenerate.
32544
8c53a12c
JM
325452013-01-23 Joseph Myers <joseph@codesourcery.com>
32546
32547 * debug/tst-backtrace.h: New file.
32548 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32549 (ret): Remove variable.
32550 (x): Likewise.
32551 (FAIL): Remove macro.
32552 (NO_INLINE): Likewise.
32553 (fn1): Use match function instead of strstr.
32554 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32555 (ret): Remove variable.
32556 (x): Likewise.
32557 (FAIL): Remove macro.
32558 (NO_INLINE): Likewise.
32559 (fn): Use match function instead of strstr.
32560 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32561 (ret): Remove variable.
32562 (x): Likewise.
32563 (FAIL): Remove macro.
32564 (NO_INLINE): Likewise.
32565 (handle_signal): Use match function instead of strstr.
32566 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32567 (ret): Remove variable.
32568 (x): Likewise.
32569 (FAIL): Remove macro.
32570 (NO_INLINE): Likewise.
32571 (handle_signal): Use match function instead of strstr.
32572
4858fa2a
RM
325732013-01-23 Roland McGrath <roland@hack.frob.com>
32574
32575 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32576
bae8e7f5
DM
325772013-01-23 David S. Miller <davem@davemloft.net>
32578
32579 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32580 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32581 argument of CAS if possible.
32582 * sysdeps/sparc/sparc64/bits/atomic.h
32583 (__arch_compare_and_exchange_val_32_acq): Likewise.
32584 (__arch_compare_and_exchange_val_64_acq): Likewise.
32585
9cbbc4ae
PT
325862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32587
32588 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32589 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32590 Include <limits.h>.
67b3f58c 32591 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32592
5655a0b5
AC
325932013-01-23 Adam Conrad <adconrad@0c3.net>
32594
32595 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32596 (LDFLAGS-tst-array5): Likewise.
32597
052aff95
JM
325982013-01-23 Joseph Myers <joseph@codesourcery.com>
32599
32600 [BZ #15036]
32601 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32602 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32603 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32604 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32605
7c1e01aa
DM
326062013-01-21 David S. Miller <davem@davemloft.net>
32607
32608 * sysdeps/sparc/backtrace.c: New file.
32609 * sysdeps/sparc/sparc32/backtrace.h: New file.
32610 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32611 * sysdeps/sparc/sparc64/backtrace.h: New file.
32612 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32613 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32614 -funwind-tables.
32615
ab087e0a
AS
326162013-01-21 Andreas Schwab <schwab@suse.de>
32617
32618 [BZ #15020]
32619 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32620 closed its stdout.
32621
ed689c2f
AS
326222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32623
32624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32625 "mpa2.h".
32626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32627
31d470ac
JM
326282013-01-18 Joseph Myers <joseph@codesourcery.com>
32629 Mark Mitchell <mark@codesourcery.com>
32630 Tom de Vries <tom@codesourcery.com>
32631 Paul Pluzhnikov <ppluzhnikov@google.com>
32632
32633 * debug/tst-backtrace2.c: New file.
32634 * debug/tst-backtrace3.c: Likewise.
32635 * debug/tst-backtrace4.c: Likewise.
32636 * debug/tst-backtrace5.c: Likewise.
32637 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32638 (CFLAGS-tst-backtrace3.c): Likewise.
32639 (CFLAGS-tst-backtrace4.c): Likewise.
32640 (CFLAGS-tst-backtrace5.c): Likewise.
32641 (LDFLAGS-tst-backtrace2): Likewise.
32642 (LDFLAGS-tst-backtrace3): Likewise.
32643 (LDFLAGS-tst-backtrace4): Likewise.
32644 (LDFLAGS-tst-backtrace5): Likewise.
32645 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32646 tst-backtrace4 and tst-backtrace5.
32647
90567f30 326482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32649 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32650
32651 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32652 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32654 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32656 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32657 "+r" and remove output regs list as redundant. Add explicit inline
32658 asm to specify register of return val to work around compiler codegen
32659 bug. Remove (int) cast on return value. Add return type parameter to
32660 use in macro so that this macro does not truncate return value for
32661 64-bit values.
32662 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32663 pass to INTERNAL_VSYSCALL_NCS.
32664 (INLINE_VSYSCALL): Add 'long int' as return type to
32665 INTERNAL_VSYSCALL_NCS macro invocation.
32666 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32667 INTERNAL_VSYSCALL_NCS macro invocation.
32668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32669
d3b9ea61
SP
326702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32671
0b57daeb
SP
32672 [BZ #14496]
32673 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32674 Fix application of SIMD FP exception mask.
32675
caa99d06
SP
32676 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32677 mp_no from a power of two.
32678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32679 __mpexp_twomm1. Use __pow_mp.
32680
d3b9ea61
SP
32681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32682 multiplication.
32683
1dbaee3c
DM
326842013-01-17 David S. Miller <davem@davemloft.net>
32685
32686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32687
728d7b43
JM
326882013-01-17 Joseph Myers <joseph@codesourcery.com>
32689
32690 [BZ #15023]
32691 * include/complex.h: Condition contents on [!_COMPLEX_H].
32692 (__kernel_casinhf): New prototype.
32693 (__kernel_casinh): Likewise.
32694 (__kernel_casinhl): Likewise.
32695 * math/Makefile (libm_calls): Add k_casinh.
32696 * math/k_casinh.c: New file.
32697 * math/k_casinhf.c: Likewise.
32698 * math/k_casinhl.c: Likewise.
32699 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32700 finite nonzero arguments.
32701 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32702 finite nonzero arguments.
32703 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32704 finite nonzero arguments.
32705 * math/s_casinh.c: Do not include <float.h>.
32706 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32707 * math/s_casinhf.c: Do not include <float.h>.
32708 (__casinhf): Move code for finite nonzero arguments to
32709 k_casinhf.c.
32710 * math/s_casinhl.c: Do not include <float.h>.
32711 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32712 redefine.
32713 (__casinhl): Move code for finite nonzero arguments to
32714 k_casinhl.c.
32715 * math/libm-test.inc (cacos_test): Add more tests.
32716 * sysdeps/i386/fpu/libm-test-ulps: Update.
32717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32718
2a26ef3a
PT
327192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32720
32721 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32722 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32723 [!HAVE_MREMAP]: Remove [defined linux] case.
32724 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32725
a897655d
SP
327262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32727
32728 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32729
881ebe89 327302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32731
32732 * elf/elf.h (R_386_SIZE32): New relocation.
32733 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32734 R_386_SIZE32.
32735 (elf_machine_rela): Likewise.
32736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32737 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32738
59981e9b
JM
327392013-01-17 Joseph Myers <joseph@codesourcery.com>
32740
32741 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32742 (FP_FAST_FMA): Do not define.
32743 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32744 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32745 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32746 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32747 !_SOFT_FLOAT]: Likewise.
32748 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32749 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32750 value.
32751 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32752 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32754 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32755 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32756 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32757 file.
32758
cfa8054f
AS
327592013-01-16 Andreas Schwab <schwab@suse.de>
32760
32761 [BZ #14327]
32762 * include/stdlib.h (__mktemp): Add declaration.
32763 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32764 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32765
dd930cc5
SP
327662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32767
881ebe89
SP
32768 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32769 definitions.
32770 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32771 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32772 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32773 definitions here.
32774 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32775 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32776 definitions.
32777 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32778 and ONE.
32779 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32780 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32781 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32782 definitions.
32783 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32784 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32785 definitions.
32786 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32787
dd930cc5
SP
32788 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32789
c19a9f89
DM
327902013-01-15 David S. Miller <davem@davemloft.net>
32791
1aa61767
DM
32792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32793 trunc{,f} to libm-sysdep_routes.
32794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32796 file.
32797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32799 file.
32800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32801 file.
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32808 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32809 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32810
c42d5e98
DM
32811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32812 nearbyint{,f} to libm-sysdep_routes.
32813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32815 New file.
32816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32817 file.
32818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32819 New file.
32820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32821 file.
32822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32824 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32825 file.
32826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32827 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32828 file.
32829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32830 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32831 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32832
c19a9f89
DM
32833 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32834 libc_feholdexcept and libc_fesetenv.
32835
357679d2
MF
328362013-01-15 Mike Frysinger <vapier@gentoo.org>
32837
32838 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32839
65a82e3d
DM
328402013-01-14 David S. Miller <davem@davemloft.net>
32841
8b954ab9
DM
32842 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32843 (SPARC_ASM_VIS2_IFUNC): Likewise.
32844 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32846 use of 'siam' instruction.
32847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32848 Likewise.
32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32850 Likewise.
32851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32852 Likewise.
32853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32858 file.
32859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32860 file.
32861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32862 file.
32863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32864 file.
32865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32870 new VIS2 routines.
32871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32874 Likewise.
32875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32880 routines to libm-sysdep_routines.
32881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32882
65a82e3d
DM
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32884 fdim/fdimf to libm-sysdep_routines.
32885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32886 file.
32887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32889 file.
32890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32893 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32894 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32895 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32896 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32897
e34ab705
SP
328982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32899
2a91b573
SP
32900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32901 to optimize copies.
32902
1066a534
SP
32903 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32906
e34ab705
SP
32907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32908 local variable MPTWO.
32909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32910 Likewise.
32911
aba5e596
MF
329122013-01-13 Mike Frysinger <vapier@gentoo.org>
32913
32914 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32915 GLOB_NOESCAPE.
32916
e557e9e5
MF
329172013-01-13 Mike Frysinger <vapier@gentoo.org>
32918
32919 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32920
0428cec9
MF
329212013-01-13 Mike Frysinger <vapier@gentoo.org>
32922
32923 * manual/pattern.texi (glob_t): Document gl_flags.
32924 (glob64_t): Likewise.
32925
8794a964
DM
329262013-01-11 David S. Miller <davem@davemloft.net>
32927
66438c3f
RM
32928 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32929 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32930 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32931 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32932 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32933 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32934 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32935 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32936 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32937 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32938 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32939 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32940 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32941
4ae4244d
DM
32942 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32943 sparc V9 rather than using V8 code.
32944 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32945 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32946
8794a964
DM
32947 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32948 Move to...
32949 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32950 Here.
32951
6270516e
RM
329522013-01-11 Roland McGrath <roland@hack.frob.com>
32953
32954 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32955 not in the main loop.
32956 * configure: Regenerated.
32957
6a57d931
JM
329582013-01-11 Joseph Myers <joseph@codesourcery.com>
32959
32960 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32961 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32962 to just #else.
32963 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32964 [!__GLIBC_HAVE_LONG_LONG] case.
32965 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32966 condition to just #else.
32967 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32968 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32969 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32970 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32971 unconditional.
32972 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32973 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32974 #elif condition to just #else.
32975 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32976 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32977 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32978 #elif condition to just #else.
32979
0e8529e9
SE
329802013-01-11 Steve Ellcey <sellcey@mips.com>
32981
32982 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32983 (EF_MIPS_ARCH_64): Fix value.
32984 (EF_MIPS_ARCH_32R2): New.
32985 (EF_MIPS_ARCH_64R2): New.
32986
740b3dbe
L
329872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32988
32989 * Makeconfig (+link-pie-before-libc): New.
32990 (+link-pie-after-libc): Likewise.
32991 (+link-pie-tests): Likewise.
32992 (+link-pie): Rewritten.
32993 (link-before-libc): Remove $(config-LDFLAGS).
32994 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32995 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32996 (config-LDFLAGS): Renamed to ...
32997 (rtld-LDFLAGS): This.
32998 (rtld-tests-LDFLAGS): New macro.
32999 (link-libc-rpath-link): Likewise.
33000 (link-libc-tests-rpath-link): Likewise.
33001 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33002 (link-libc): Prepand $(link-libc-rpath-link).
33003 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33004 (test-program-prefix): New macro.
33005 (test-via-rtld-prefix): Likewise.
33006 (test-program-cmd): Likewise.
33007 (host-test-program-cmd): Likewise.
33008 * Makefile ($(common-objpfx)testrun.sh): Replace
33009 $(run-program-prefix) with $(test-program-prefix).
33010 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33011 $(rtld-LDFLAGS).
33012 ($(common-objpfx)shlib.lds): Likewise.
33013 (build-module-helper): Likewise.
33014 ($(common-objpfx)format.lds): Likewise.
33015 * Rules (binaries-pie-tests): New.
33016 (binaries-pie-notests): Likewise.
33017 (binaries-pie): Rewritten.
33018 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33019 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33020 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33021 (make-test-out): Replace $(host-built-program-cmd) with
33022 $(host-test-program-cmd).
33023 * config.make.in (build-hardcoded-path-in-tests): New variable.
33024 * configure.in (--enable-hardcoded-path-in-tests): New configure
33025 option.
33026 (hardcoded_path_in_tests): New AC_SUBST.
33027 * configure: Regenerated.
33028 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33029 $(built-program-cmd) with $(test-program-cmd).
33030 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33031 (test_program_cmd): This.
33032 * elf/Makefile ($(objpfx)order.out): Run test with
33033 $(test-program-prefix).
33034 ($(objpfx)order2.out): Likewise.
33035 ($(objpfx)tst-initorder.out): Likewise.
33036 ($(objpfx)tst-initorder2.out): Likewise.
33037 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33038 $(test-program-cmd).
33039 ($(objpfx)tst-array1-static.out): Likewise.
33040 ($(objpfx)tst-array2.out): Likewise.
33041 ($(objpfx)tst-array3.out): Likewise.
33042 ($(objpfx)tst-array4.out): Likewise.
33043 ($(objpfx)tst-array5.out): Likewise.
33044 ($(objpfx)tst-array5-static.out): Likewise.
33045 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33046 $(test-program-cmd).
33047 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33048 $(run-program-prefix) with $(test-program-prefix).
33049 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33050 (test_program_prefix): This.
33051 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33052 $(run-program-prefix) with $(test-program-prefix).
33053 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33054 (test_program_prefix): This.
33055 * iconvdata/tst-tables.sh: Likewise.
33056 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33057 $(run-program-prefix) with $(test-program-prefix).
33058 ($(objpfx)tst-translit.out): Likewise.
33059 ($(objpfx)tst-gettext2.out): Likewise.
33060 ($(objpfx)tst-gettext4.out): Likewise.
33061 ($(objpfx)tst-gettext6.out): Likewise.
33062 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33063 (test_program_prefix): This.
33064 * intl/tst-gettext2.sh: Likewise.
33065 * intl/tst-gettext4.sh Likewise.
33066 * intl/tst-gettext6.sh: Likewise.
33067 * intl/tst-translit.sh: Likewise.
33068 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33069 with $(test-program-cmd).
33070 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33071 $(run-program-prefix) with $(test-program-prefix).
33072 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33073 (test_program_prefix): This.
33074 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33075 $(run-program-prefix) with $(test-program-prefix).
33076 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33077 (test_program_prefix): This.
33078 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33079 * posix/Makefile ($(objpfx)globtest.out): Replace
33080 $(run-via-rtld-prefix) and $(test-wrapper) with
33081 $(test-program-prefix) and $(test-via-rtld-prefix).
33082 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33083 $(test-program-prefix).
33084 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33085 $(host-test-program-cmd).
33086 (tst-spawn-ARGS): Likewise.
33087 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33088 $(test-program-prefix).
33089 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33090 (test_via_rtld_prefix): This.
33091 (test_wrapper): Renamed to ...
33092 (test_program_prefix): This.
33093 (run_program_prefix): Replaced by test_program_prefix.
33094 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33095 (test_program_prefix): This.
33096 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33097 with $(host-test-program-cmd).
33098 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33099 $(run-program-prefix) with $(test-program-prefix).
33100 ($(objpfx)tst-printf.out): Likewise.
33101 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33102 $(test-program-cmd).
33103 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33104 (test_program_prefix): This.
33105 * stdio-common/tst-unbputc.sh: Likewise.
33106 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33107 $(run-program-prefix) with $(test-program-prefix).
33108 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33109 (test_program_prefix): This.
33110 * string/Makefile ($(objpfx)tst-svc.out): Replace
33111 $(built-program-cmd) with $(test-program-cmd).
33112
c6fe55cf
AJ
331132013-01-11 Andreas Jaeger <aj@suse.de>
33114
33115 [BZ #15003]
33116 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33117 value. Sync with Linux 3.7.
33118
9e6919c8
DM
331192013-01-10 David S. Miller <davem@davemloft.net>
33120
33121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33122 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33123 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33124
1c9f1a02
RM
331252013-01-10 Roland McGrath <roland@hack.frob.com>
33126
33127 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33128 never set.
33129 * configure: Regenerated.
33130
b9de2dde
DM
331312013-01-10 David S. Miller <davem@davemloft.net>
33132
33133 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33134 sparc V9 rather than using V8 code.
33135 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33136 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33137
e7f68ef4
RM
331382013-01-10 Roland McGrath <roland@hack.frob.com>
33139
33140 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33141 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33142 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33143 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33144 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33145 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33146 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33147 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33148 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33149 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33150 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33151 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33152 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33153 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33154 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33155 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33156 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33157 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33158 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33159 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33160 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33161 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33162 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33163 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33164 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33165 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33166 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33167
5a47cc9c
DM
331682013-01-10 David S. Miller <davem@davemloft.net>
33169
33170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33171
4cf8f209
L
331722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33173
33174 * posix/Makefile (tests-static): New variable.
33175 (tests): Add $(tests-static).
33176 (tst-exec-static-ARGS): New variable.
33177 (tst-spawn-static-ARGS): Likewise.
33178 * posix/tst-exec-static.c: New file.
33179 * posix/tst-spawn-static.c: Likewise.
33180 * posix/tst-exec.c: Support run directly.
33181 * posix/tst-spawn.c: Likewise.
33182
fed0faa1
JM
331832013-01-10 Joseph Myers <joseph@codesourcery.com>
33184
828beb13
JM
33185 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33186 long.
33187 * math/bits/mathcalls.h (llrint): Likewise.
33188 (llround): Likewise.
33189 * stdlib/stdlib.h (struct drand48_data): Likewise.
33190 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33191 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33192 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33193 Likewise.
33194 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33195 Likewise.
33196 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33197 (elf_greg_t): Likewise.
33198 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33199 (__jmp_buf): Likewise.
33200 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33201 definitions.
33202 (llrint): Likewise, for all definitions.
33203 (llrintl): Likewise.
33204
fed0faa1
JM
33205 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33206 Remove [__GNUC__] condition.
33207 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33208 condition to just [__USE_ISOC99].
33209 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33210
1a20cb20
L
332112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33212
33213 [BZ #14200]
33214 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33215 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33216 defined.
33217 (_POSIX_V6_ILP32_OFF32): Likewise.
33218 (_XBS5_ILP32_OFF32): Likewise.
33219 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33220 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33221
751b85f7
SP
332222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33223
7490eb81
SP
33224 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33225
751b85f7
SP
33226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33227 doubles __mpexp_twomm1. Adjust usage.
33228 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33229 Remove.
33230
988197f0
AS
332312013-01-10 Andreas Schwab <schwab@suse.de>
33232
33233 [BZ #14964]
33234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33235 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33236
e83d7298
DM
332372013-01-09 David S. Miller <davem@davemloft.net>
33238
034ed64b 33239 [BZ #15003]
57f41c40
AS
33240 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33241 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33242 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33243 (TCP_FASTOPEN): Define.
e83d7298
DM
33244 (tcp_repair_opt): New structure.
33245 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33246 enum values.
57f41c40
AS
33247 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33248 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33249 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33250 (tcp_cookie_transactions): New structure.
33251
d5e0b9bd
AB
332522013-01-09 Anton Blanchard <anton@samba.org>
33253
33254 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33255 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33257 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33258
0c07e3ea
JM
332592013-01-09 Joseph Myers <joseph@codesourcery.com>
33260
33261 * include/features.h (__USE_ANSI): Remove.
33262
232f7002
RM
332632013-01-09 Roland McGrath <roland@hack.frob.com>
33264
ad98e30c
RM
33265 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33266
232f7002
RM
33267 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33268
950c99ca
SP
332692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33270
b5792741
SP
33271 * sysdeps/s390/fpu/libm-test-ulps: Update.
33272
47cf2278
SP
33273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33274
950c99ca
SP
33275 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33276 (__acr): Likewise.
33277 (__cpy): Likewise.
33278 (norm): Likewise.
33279 (denorm): Likewise.
33280 (__mp_dbl): Likewise.
33281 (__dbl_mp): Likewise.
33282 (add_magnitudes): Likewise.
33283 (sub_magnitudes): Likewise.
33284 (__add): Likewise.
33285 (__sub): Likewise.
33286 (__mul): Likewise.
33287 (__inv): Likewise.
33288 (__dvd): Likewise.
33289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33290 (__acr): Likewise.
33291 (__cpy): Likewise.
33292 (norm): Likewise.
33293 (denorm): Likewise.
33294 (__mp_dbl): Likewise.
33295 (__dbl_mp): Likewise.
33296 (add_magnitudes): Likewise.
33297 (sub_magnitudes): Likewise.
33298 (__add): Likewise.
33299 (__sub): Likewise.
33300 (__mul): Likewise.
33301 (__inv): Likewise.
33302 (__dvd): Likewise.
33303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33304 (__acr): Likewise.
33305 (__cpy): Likewise.
33306 (norm): Likewise.
33307 (denorm): Likewise.
33308 (__mp_dbl): Likewise.
33309 (__dbl_mp): Likewise.
33310 (add_magnitudes): Likewise.
33311 (sub_magnitudes): Likewise.
33312 (__add): Likewise.
33313 (__sub): Likewise.
33314 (__mul): Likewise.
33315 (__inv): Likewise.
33316 (__dvd): Likewise.
33317
eede9df9
JM
333182013-01-08 Joseph Myers <joseph@codesourcery.com>
33319
33320 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33321 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33322 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33323 2 && __USE_EXTERN_INLINES]: Likewise.
33324
c40ea3d9
AJ
333252013-01-08 Andreas Jaeger <aj@suse.de>
33326
33327 [BZ# 14985]
33328 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33329 Remove.
33330 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33331 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33332
2ccdea26
AB
333332013-01-07 Anton Blanchard <anton@samba.org>
33334
33335 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33336 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33337 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33338 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33339 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33340 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33341 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33342 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33345 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33346 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33347 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33348 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33349 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33350 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33352 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33353 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33354 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33355 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33356 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33358 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33359 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33360 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33362 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33364 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33365 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33368 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33369 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33370 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33371 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33372 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33373 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33375 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33376 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33377 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33378
a9708fed
JM
333792013-01-07 Joseph Myers <joseph@codesourcery.com>
33380
375607b9
JM
33381 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33382 (__MALLOC_PMT): Likewise.
33383 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33384 [__GNUC__], only on [_LIBC].
33385 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33386 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33387 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33388 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33389 forward declaration.
33390 (realloc_hook_ini): Likewise.
33391 (memalign_hook_ini): Likewise.
33392 (__libc_memalign): Do not use __MALLOC_PMT in variable
33393 declaration.
33394 (__libc_valloc): Likewise.
33395 (__libc_pvalloc): Likewise.
33396 (__libc_calloc): Likewise.
33397 (__posix_memalign): Likewise.
33398
a9708fed
JM
33399 [BZ #14996]
33400 * math/s_casinh.c: Include <float.h>.
33401 (__casinh): Do not do computation with squaring and square root
33402 for large arguments.
33403 * math/s_casinhf.c: Include <float.h>.
33404 (__casinhf): Do not do computation with squaring and square root
33405 for large arguments.
33406 * math/s_casinhl.c: Include <float.h>.
33407 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33408 (__casinhl): Do not do computation with squaring and square root
33409 for large arguments.
33410 * math/libm-test.inc (casin_test): Add more tests.
33411 (casinh_test): Likewise.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33414
afec409a
L
334152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33418 (__x86_64_raw_data_cache_size): Likewise.
33419 (__x86_64_data_cache_size_half): Likewise.
33420 (__x86_64_raw_data_cache_size_half): Likewise.
33421 (__x86_64_shared_cache_size): Likewise.
33422 (__x86_64_raw_shared_cache_size): Likewise.
33423 (__x86_64_shared_cache_size_half): Likewise.
33424 (__x86_64_raw_shared_cache_size_half): Likewise.
33425 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33426 to ...
33427 (__x86_data_cache_size): This.
33428 (__x86_64_raw_data_cache_size): Renamed to ...
33429 (__x86_raw_data_cache_size): This.
33430 (__x86_64_data_cache_size_half): Renamed to ...
33431 (__x86_data_cache_size_half): This.
33432 (__x86_64_raw_data_cache_size_half): Renamed to ...
33433 (__x86_raw_data_cache_size_half): This.
33434 (__x86_64_shared_cache_size): Renamed to ...
33435 (__x86_shared_cache_size): This.
33436 (__x86_64_raw_shared_cache_size): Renamed to ...
33437 (__x86_raw_shared_cache_size): This.
33438 (__x86_64_shared_cache_size_half): Renamed to ...
33439 (__x86_shared_cache_size_half): This.
33440 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33441 (__x86_raw_shared_cache_size_half): This.
33442 * sysdeps/x86_64/memcpy.S: Updated.
33443 * sysdeps/x86_64/memset.S: Likewise.
33444 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33446 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33447
0b3986d0
DM
334482013-01-04 David S. Miller <davem@davemloft.net>
33449
33450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33451
e47686e9
AS
334522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33453
d643bac1
AS
33454 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33455 1 to avoid redefinition warning.
33456 (__USE_GNU): Don't define.
33457 (init_signaling_nan): Protoize.
33458
e47686e9
AS
33459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33460
b18decba
SP
334612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33462
fffb407f
SP
33463 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33465 (__cpymn): Likewise.
33466 (norm): Remove commented code.
33467 (denorm): Likewise.
33468 (__mp_dbl): Likewise.
33469 (__inv): Likewise.
33470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33471 (__cpymn): Likewise.
33472 (norm): Remove commented code.
33473 (denorm): Likewise.
33474 (__mp_dbl): Likewise.
33475 (__inv): Likewise.
33476
b18decba
SP
33477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33478 mp_no value for 1.0 and 2.0.
33479 (norm): Use RADIXI instead of radixi.d.
33480 (denorm): Likewise.
33481 (__mul): Use 0.0 instead of zero.d.
33482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33483 mp_no value for 1.0 and 2.0.
33484 (norm): Use RADIXI instead of radixi.d.
33485 (denorm): Likewise.
33486 (__mul): Use 0.0 instead of zero.d.
33487
cdc1c96f
JM
334882013-01-04 Joseph Myers <joseph@codesourcery.com>
33489
33490 [BZ #14994]
33491 * math/s_casinh.c (__casinh): Reduce finite argument to first
33492 quadrant then set signs of results at the end.
33493 * math/s_casinhf.c (__casinhf): Likewise.
33494 * math/s_casinhl.c (__casinhl): Likewise.
33495 * math/libm-test.inc (casin_test): Add more tests.
33496 (casinh_test): Likewise.
33497 * sysdeps/i386/fpu/libm-test-ulps: Update.
33498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33499
302913e1
SP
335002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33501
6420d207
SP
33502 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33503
a9e48ab4
SP
33504 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33505
b7837264
SP
33506 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33507 declarations.
33508 (denorm): Likewise.
33509 (__mp_dbl): Likewise.
33510 (__inv): Likewise.
33511
f8af25d2
SP
33512 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33513 and adjust the header comment.
33514
302913e1
SP
33515 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33516 variable name from declaration.
33517
5d7dd1ca
L
335182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33519
33520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33521 Initialize COMMON_CPUID_INDEX_7 element.
33522 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33523 (CPUID_RTM): Likewise.
33524 (HAS_RTM): Likewise.
33525 (COMMON_CPUID_INDEX_7): New enum.
33526
2f5f40f4
AS
335272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33528
33529 [BZ #14981]
33530 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33531 size is zero, record memory as freed.
33532
4056f4a0
AJ
335332013-01-03 Andreas Jaeger <aj@suse.de>
33534
33535 * po/ia.po: Add new Interlingua translation.
33536
ab15736f 335372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33538
33539 * locale/programs/localedef.c: Fix description of '--posix' flag.
33540
568035b7
JM
335412013-01-02 Joseph Myers <joseph@codesourcery.com>
33542
e6898b8d
JM
33543 * NEWS: Update dates in second copyright notice.
33544 * README: Update copyright dates in example.
33545 * manual/libc.texinfo: Update copyright dates.
33546 * scripts/test-installation.pl: Update copyright date in --version
33547 output.
33548
0e2f9562
JM
33549 * hurd/ctty-input.c: Fix copyright notice formatting.
33550 * hurd/ctty-output.c: Likewise.
33551 * hurd/dtable.c: Likewise.
33552 * hurd/hurd-raise.c: Likewise.
33553 * hurd/hurdprio.c: Likewise.
33554 * hurd/msgportdemux.c: Likewise.
33555 * misc/sys/file.h: Likewise.
33556 * misc/sys/ioctl.h: Likewise.
33557 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33558 * sysdeps/mach/hurd/chdir.c: Likewise.
33559 * sysdeps/mach/hurd/fchdir.c: Likewise.
33560 * sysdeps/mach/hurd/rename.c: Likewise.
33561 * sysdeps/mach/hurd/rmdir.c: Likewise.
33562 * sysdeps/mach/hurd/seekdir.c: Likewise.
33563 * sysdeps/mach/hurd/setsid.c: Likewise.
33564 * sysdeps/posix/wait3.c: Likewise.
33565
568035b7
JM
33566 * All files with FSF copyright notices: Update copyright dates
33567 using scripts/update-copyrights.
33568 * intl/plural.c: Regenerated.
33569 * locale/programs/charmap-kw.h: Likewise.
33570 * locale/programs/locfile-kw.h: Likewise.
33571
da08f647
SP
335722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33573
0f5477af
SP
33574 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33575 four values.
33576
44e0d4c2
SP
33577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33578 calculation loop and add branch prediction.
33579
4d55b4e5
SP
33580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33581 check access beyond bounds of m1np.
33582
da08f647
SP
33583 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33584 MPTWO.
33585 (__inv): Remove local variable MPTWO to use the global
33586 constant.
33587 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33589 variable MPTWO.
33590 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33591 MP3HALFS static const.
33592
8e051029
DM
335932013-01-01 David S. Miller <davem@davemloft.net>
33594
33595 * po/ca.po: Update from translation team.
33596
f4cf5f2d
JM
335972013-01-01 Joseph Myers <joseph@codesourcery.com>
33598
33599 * scripts/update-copyrights: New file.
33600 * Makeconfig: Reformat copyright notice.
33601 * ctype/ctype.h: Likewise.
33602 * debug/swprintf_chk.c: Likewise.
33603 * elf/dl-cache.c: Likewise.
33604 * elf/dl-debug.c: Likewise.
33605 * elf/dl-object.c: Likewise.
33606 * grp/initgroups.c: Likewise.
33607 * hurd/Makefile: Likewise.
33608 * hurd/hurd/signal.h: Likewise.
33609 * hurd/hurdfault.c: Likewise.
33610 * hurd/hurdioctl.c: Likewise.
33611 * hurd/hurdlookup.c: Likewise.
33612 * hurd/intr-msg.c: Likewise.
33613 * iconv/gconv_open.c: Likewise.
33614 * libio/swprintf.c: Likewise.
33615 * locale/lc-ctype.c: Likewise.
33616 * locale/nl_langinfo.c: Likewise.
33617 * mach/Machrules: Likewise.
33618 * mach/Makefile: Likewise.
33619 * malloc/obstack.h: Likewise.
33620 * manual/Makefile: Likewise.
33621 * manual/tsort.awk: Likewise.
33622 * misc/bits/stab.def: Likewise.
33623 * nis/nis_print_group_entry.c: Likewise.
33624 * nis/nis_table.c: Likewise.
33625 * nis/nss_compat/compat-pwd.c: Likewise.
33626 * nis/nss_compat/compat-spwd.c: Likewise.
33627 * po/Makefile: Likewise.
33628 * posix/fnmatch.c: Likewise.
33629 * posix/regex.h: Likewise.
33630 * resolv/Makefile: Likewise.
33631 * resolv/nss_dns/dns-network.c: Likewise.
33632 * resolv/res_hconf.c: Likewise.
33633 * scripts/gen-sorted.awk: Likewise.
33634 * soft-fp/soft-fp.h: Likewise.
33635 * stdio-common/printf.h: Likewise.
33636 * stdlib/monetary.h: Likewise.
33637 * stdlib/random.c: Likewise.
33638 * stdlib/random_r.c: Likewise.
33639 * sysdeps/generic/Makefile: Likewise.
33640 * sysdeps/gnu/Makefile: Likewise.
33641 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33669 * sysdeps/mach/hurd/errnos.awk: Likewise.
33670 * sysdeps/mach/hurd/fork.c: Likewise.
33671 * sysdeps/mach/hurd/getcwd.c: Likewise.
33672 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33673 * sysdeps/mach/hurd/mmap.c: Likewise.
33674 * sysdeps/mach/hurd/utimes.c: Likewise.
33675 * sysdeps/mach/hurd/xmknod.c: Likewise.
33676 * sysdeps/posix/profil.c: Likewise.
33677 * sysdeps/posix/readdir_r.c: Likewise.
33678 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33679 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33680 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33681 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33683 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33685 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33687 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33688 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33689 * sysdeps/pthread/lio_listio.c: Likewise.
33690 * sysdeps/sparc/dl-procinfo.h: Likewise.
33691 * sysdeps/unix/i386/sysdep.S: Likewise.
33692 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33693 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33694 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33695 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33697 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33698 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33699 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33700 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33701 * sysdeps/wordsize-32/divdi3.c: Likewise.
33702 * time/sys/time.h: Likewise.
33703 * wcsmbs/Makefile: Likewise.
33704
0549fbba
DM
337052013-01-01 David S. Miller <davem@davemloft.net>
33706
a141f1a7
DM
33707 * po/fr.po: Update from translation team.
33708
0549fbba
DM
33709 * catgets/gencat.c: Update copyright year.
33710 * csu/version.c: Likewise.
33711 * debug/catchsegv.sh: Likewise.
33712 * debug/pcprofiledump.c: Likewise.
33713 * debug/xtrace.sh: Likewise.
33714 * elf/ldconfig.c: Likewise.
33715 * elf/ldd.bash.in: Likewise.
33716 * elf/pldd.c: Likewise.
33717 * elf/sotruss.ksh: Likewise.
33718 * elf/sprof.c: Likewise.
33719 * iconv/iconv_prog.c: Likewise.
33720 * iconv/iconvconfig.c: Likewise.
33721 * locale/programs/locale.c: Likewise.
33722 * locale/programs/localedef.c: Likewise.
33723 * login/programs/pt_chown.c: Likewise.
33724 * malloc/memusage.sh: Likewise.
33725 * malloc/memusagestat.c: Likewise.
33726 * malloc/mtrace.pl: Likewise.
33727 * nscd/nscd.c: Likewise.
33728 * nss/getent.c: Likewise.
33729 * nss/makedb.c: Likewise.
33730 * posix/getconf.c: Likewise.
33731
18ea052c
SP
337322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33733
33734 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33735 numbers.
33736
9c89fca6
MF
337372012-12-30 Mike Frysinger <vapier@gentoo.org>
33738
33739 * math/bits/mathcalls.h (modf): Use __nonnull.
33740
085ec079
SP
337412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33742
33743 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33744 (split): Use macro CN instead of the bare value.
33745 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33746 could be used.
33747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33748 instead of the bare value.
33749 (power1): Likewise.
33750
6d9f97e1
SP
337512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33752
d63f73be
SP
33753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33754 __ATAN_TWOM.
33755 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33756
6d9f97e1
SP
33757 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33758 their values.
33759 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33761 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33762 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33763
4c4febf5
AJ
337642012-12-28 Andreas Jaeger <aj@suse.de>
33765
af5843ef
AJ
33766 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33767 values are from Linux 3.7.
33768
4c4febf5
AJ
33769 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33770 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33771
99136f82
SP
337722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33773
2f216c3c 33774 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33775 TRUE case.
33776
99136f82
SP
33777 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33778 (norm): Likewise.
33779 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33780 variables with preprocessor constants.
33781 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33782 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33784
7fffbdff
BH
337852012-12-27 Bruno Haible <bruno@clisp.org>
33786
33787 [BZ #14317]
33788 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33789 only if needed.
33790
b76eb5f0
SP
337912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33792
31a7fe5c
SP
33793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33794 and use variable directly.
33795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33796
b76eb5f0
SP
33797 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33798 MPONE.
33799 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33801 variable MPONE.
33802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33804 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33805 include directive. Remove local variable MPONE.
33806 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33809
2c8bfe7d
DM
338102012-12-25 David S. Miller <davem@davemloft.net>
33811
33812 * version.h (RELEASE): Set to "development".
33813 (VERSION): Set to "2.17.90".
33814 * NEWS: Add 2.18 section.
33815
147d03b0
DM
338162012-12-21 David S. Miller <davem@davemloft.net>
33817
33818 * po/hr.po: Update from translation team.
33819
a8ebb2b9
AK
338202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33821
33822 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33823
95b4f1b6
SE
338242012-12-19 Steve Ellcey <sellcey@mips.com>
33825
b2d94007 33826 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33827
cedb2a90
MS
338282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33829
33830 * manual/contrib.texi (Contributors): Spelling correction.
33831
bbf527d6
DM
338322012-12-15 David S. Miller <davem@davemloft.net>
33833
33834 * po/ru.po: Update from translation team.
33835
bc38c906
DM
338362012-12-13 David S. Miller <davem@davemloft.net>
33837
85429b1a
DM
33838 * NEWS: Mention IFUNC testsuite enhancements.
33839
d283e353
DM
33840 * po/pl.po: Update from translation team.
33841 * po/bg.po: Likewise.
33842
bc38c906
DM
33843 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33844 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33845
a181b0d7
DM
338462012-12-11 David S. Miller <davem@davemloft.net>
33847
4641d57e
DM
33848 * po/sv.po: Update from translation team.
33849
f7bc6495
DM
33850 * po/vi.po: Update from translation team.
33851
6fc9048f
DM
33852 * po/cs.po: Update from translation team.
33853
a181b0d7
DM
33854 * po/de.po: Update from translation team.
33855 * po/eo.po: Likewise.
33856 * po/nl.po: Likewise.
33857
f70bfe80
SP
338582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33859
3c8b4190
SP
33860 [BZ #14246]
33861 * manual/argp.texi (Argp Helper Functions): Move node to follow
33862 Argp Parsing State.
33863
f70bfe80
SP
33864 [BZ #14872]
33865 * manual/conf.texi (Limits on File System Capacity): Mention if
33866 terminating null is included in the max size.
33867
188f0adf
AJ
338682012-12-10 Andreas Jaeger <aj@suse.de>
33869
33870 * po/cs.po: Update from translation team.
33871
56e7d3ad
SP
338722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33873
33874 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33875 void pointer and cast to uintptr_t.
33876 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33877 path.
33878 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33879 * sysdeps/s390/s390-64/memset.S: Likewise.
33880
76f2d2ea 338812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33882
33883 [BZ #14833]
33884 * menual/message.texi (Message Translation): Fix typos.
33885 (Helper programs for gettext): Likewise.
33886
67cbf9a2
AS
338872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33888
33889 [BZ #14898]
33890 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33891 Change to -1.
33892
682d0e9a
DM
338932012-12-07 David S. Miller <davem@davemloft.net>
33894
33895 * po/libc.pot: Update.
33896
573cd484
RH
338972012-12-07 Richard Henderson <rth@redhat.com>
33898
7e9da188 33899 [BZ #10114]
573cd484
RH
33900 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33901 normal/normal case to before the switch.
33902 (_FP_DIV): Likewise.
33903
e933a943
MF
339042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33905 Mike Frysinger <vapier@gentoo.org>
33906
33907 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33908 check for __NR_fadvise64_64.
33909
82123268
CM
339102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33911
33912 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33913 0, not just to plain "0" as a statement.
33914 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33915 with cw.
33916
d9814526
JM
339172012-12-06 Joseph Myers <joseph@codesourcery.com>
33918
33919 * NEWS: Use sourceware.org in Bugzilla URL.
33920
7728c574
SP
339212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33922
f16946dd
SP
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33924 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33925
5704bbcb
SP
33926 * stdio-common/tst-put-error.c (do_test): Add newline to the
33927 padded test to ensure flush.
33928
17aa0516
JL
339292012-12-05 Jeff Law <law@redhat.com>
33930
33931 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33932
363313b5
JM
339332012-12-05 Joseph Myers <joseph@codesourcery.com>
33934
effbd42a
JM
33935 * README: Don't refer to ports add-on as distributed separately.
33936 Mention AArch64 in list of systems supported in the ports add-on.
33937
87600365
JM
33938 * LICENSES: Add more non-FSF copyright and license notices.
33939
a0d7066a
JM
33940 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33941 ((unused)).
33942
66ca5a5b
JM
33943 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33944
363313b5
JM
33945 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33946 10000 as width of padded output.
33947
b37984ad
JM
339482012-12-04 Joseph Myers <joseph@codesourcery.com>
33949
9003570a
JM
33950 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33951
b37984ad
JM
33952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33953 variable LX with __attribute__ ((unused)).
33954 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33955 Likewise.
33956 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33959 with __attribute__ ((unused)).
33960
c8df52ec
DM
339612012-12-04 David S. Miller <davem@abraco.davemloft.net>
33962
33963 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33964
b3b099af
JM
339652012-12-04 Joseph Myers <joseph@codesourcery.com>
33966
c33aa6e3
JM
33967 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33968 (CFLAGS-nldbl-acos.c): New variable.
33969 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33970 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33971 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33972 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33973 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33974 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33975 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33976 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33977 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33978 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33979 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33980 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33981 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33982 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33983 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33984 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33985 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33986 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33987 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33988 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33989 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33990 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33991 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33992 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33993 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33994 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33995 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33996 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33997 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33998 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33999 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34000 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34001 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34002 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34003 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34004 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34005 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34006 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34007 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34008 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34009 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34010 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34011 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34012 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34013 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34014 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34015 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34016 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34017 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34018 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34019 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34020 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34021 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34022 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34023 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34024 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34025 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34026 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34027 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34028 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34029 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34030 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34031 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34032 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34033 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34034 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34035 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34036 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34037 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34038 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34039 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34040 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34041 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34042 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34043 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34044 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34045 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34046 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34047 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34048 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34049 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34050 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34051 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34052 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34053 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34054 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34055 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34056 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34057 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34058 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34059 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34060 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34061 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34062 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34063 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34064 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34065 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34066
20f0018d
JM
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34068 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34069
b3b099af
JM
34070 [BZ #14914]
34071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34072 whole low double instead of just low 47 bits when splitting values
34073 into two parts.
34074
029264d1
AM
340752012-12-03 Allan McRae <allan@archlinux.org>
34076
34077 * manual/stdio.texi (Predefined Printf Handlers): Remove
34078 @hsep and @vsep usage.
34079
c9d6789e
MF
340802012-12-03 Mike Frysinger <vapier@gentoo.org>
34081
34082 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34083 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34084
4b7634a5
JL
340852012-12-03 Jeff Law <law@redhat.com>
34086
34087 * time/sys/time.h (settimeofday): Do not mark TV argument
34088 as __nonnull.
34089
eb6cbd24
MF
340902012-12-01 Mike Frysinger <vapier@gentoo.org>
34091
34092 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34093 when currently writing and seek to current position when not.
34094 * libio/Makefile (tests): Remove bug-fclose1.
34095 * libio/bug-fclose1.c: Delete.
34096
f638872a
JM
340972012-12-01 Joseph Myers <joseph@codesourcery.com>
34098
34099 * manual/arith.texi (feenableexcept): Fix typo.
34100 (fedisableexcept): Likewise.
34101
48085d14
RM
341022012-11-30 Roland McGrath <roland@hack.frob.com>
34103
34104 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34105 second, differently-typed declaration, rather than a cast.
34106
1a538b9f
SP
341072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34108
34109 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34110 * include/rpc/svc.h: ... here.
34111
d07f2ff1 341122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34113
34114 [BZ #13013]
34115 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34116 depending n and resplen2 to catch cases where answer
34117 equals answerp2.
34118
c93ec1f0
CD
341192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34120
34121 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34122 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34123
37db69de
MF
341242012-11-29 Mike Frysinger <vapier@gentoo.org>
34125
34126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34127
e10c4e4f
RM
341282012-11-29 Roland McGrath <roland@hack.frob.com>
34129
34130 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34131
2af1b328
JL
341322012-11-28 Jeff Law <law@redhat.com>
34133
34134 [BZ #13761]
34135 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34136 dataset_temporary. Track alloca usage into alloca_used.
34137 If dataset is large allocate and release it via malloc/free.
34138
111db5b1
FW
341392012-06-04 Florian Weimer <fweimer@redhat.com>
34140
f06cc227 34141 [BZ #14197]
111db5b1
FW
34142 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34143
dd694abd
DM
341442012-11-28 David S. Miller <davem@davemloft.net>
34145
34146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34147
9984dd01
JM
341482012-11-28 Joseph Myers <joseph@codesourcery.com>
34149
34150 [BZ #14803]
34151 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34152 of pi/2 rounded to nearest to 64 bits.
34153 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34154 nearest to 64 bits.
34155 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34156 bits.
34157
14bc93a9
JL
341582012-11-28 Jeff Law <law@redhat.com>
34159 Martin Osvald <mosvald@redhat.com>
34160
34161 [BZ #14889]
34162 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34163 * sunrpc/svc.c: Include time.h.
34164 (__svc_accept_failed): New function.
34165 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34166 any reason other than EINTR, call __svc_accept_failed.
34167 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34168 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34169
e3c6aa3a
AS
341702012-11-28 Andreas Schwab <schwab@suse.de>
34171
34172 * scripts/abilist.awk: Also handle indirect functions in .opd
34173 section.
34174
1bead169
JM
341752012-11-28 Joseph Myers <joseph@codesourcery.com>
34176
34177 [BZ #13881]
34178 * sysdeps/x86/fpu/powl_helper.c: New file.
34179 * sysdeps/x86/fpu/Makefile: Likewise.
34180 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34181 (p3): New object.
34182 (__ieee754_powl): Use __powl_helper for finite arguments except
34183 integer exponents below 8.
34184 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34185 (p3): New object.
34186 (__ieee754_powl): Use __powl_helper for finite arguments except
34187 integer exponents below 8.
34188 * math/libm-test.inc (pow_test): Add more tests and enable some
34189 previously disabled tests.
34190 * sysdeps/i386/fpu/libm-test-ulps: Update.
34191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34192
0817d63d
SP
341932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34194 Carlos O'Donell <carlos_odonell@mentor.com>
34195
34196 * nss/makedb.c (is_prime): Assert that input is odd and greater
34197 than 4. Note that fact in a comment too.
34198 (next_prime): Add 4 to input.
34199
de2fd463
SP
342002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34201
34202 [BZ #11741]
34203 * libio/Makefile (tests): Add test case tst-fwrite-error.
34204 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34205 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34206 * libio/tst-fwrite-error.c: New test case.
34207
c515fb51
L
342082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34209
34210 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34211 before casting to void *.
34212 * include/libc-internal.h (__pointer_type): New macro.
34213 (__integer_if_pointer_type_sub): Likewise.
34214 (__integer_if_pointer_type): Likewise.
34215 (cast_to_integer): Likewise.
34216 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34217 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34218 before casting to atomic64_t.
34219 (atomic_exchange_acq): Likewise.
34220 (__arch_exchange_and_add_body): Likewise.
34221 (__arch_add_body): Likewise.
34222 (atomic_add_negative): Likewise.
34223 (atomic_add_zero): Likewise.
34224
4cf77aa9
JM
342252012-11-26 Joseph Myers <joseph@codesourcery.com>
34226
34227 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34228 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34229 (add_fdes): Likewise.
34230 (linear_search_fdes): Likewise.
34231 (binary_search_unencoded_fdes): Likewise.
34232
d260b3b4
AS
342332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34234
34235 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34236
67060746
AC
342372012-11-24 Adam Conrad <adconrad@0c3.net>
34238
34239 * configure.in: Autodetect C++ header directories.
34240 * configure: Regenerated.
34241
800938a1
MF
342422012-11-23 Mike Frysinger <vapier@gentoo.org>
34243
34244 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34245
4e6e34e6
AS
342462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34247
34248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34249
7c7feb47
JM
342502012-11-22 Joseph Myers <joseph@codesourcery.com>
34251
7184dcdf
JM
34252 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34253 LDBL_MANT_DIG == 106]: Disable some tests.
34254 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34255 Likewise.
34256 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34257 Likewise.
34258
0a42601f
JM
34259 [BZ #14871]
34260 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34261 input for small inputs. Return +/- pi/2 for large inputs.
34262 * math/libm-test.inc (atan_test): Add more tests.
34263
79c9b9fe
JM
34264 * sysdeps/generic/unwind-dw2-fde-glibc.c
34265 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34266 __attribute__ ((unused)).
34267
c60d3bf2
JM
34268 [BZ #14645]
34269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34270 x * y if x and y are nonzero and z is zero.
34271
ef1e0867
JM
34272 [BZ #14811]
34273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34274 nonzero exponents with absolute value below 0x1p-117 to +/-
34275 0x1p-117.
34276
1468ded3
JM
34277 [BZ #14869]
34278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34279 up arguments below 2**-450, not just those below 2**-500.
34280 * math/libm-test.inc (hypot_test): Add another test.
34281
8e27e3cc
JM
34282 [BZ #14868]
34283 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34284 Return a+b for ratio over 2**120, not 2**60.
34285 * math/libm-test.inc (hypot_test): Add another test.
34286
c9c0279b
JM
34287 * math/libm-test.inc (clog_test): Use
34288 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34289 (clog10_test): Likewise.
34290
7c7feb47
JM
34291 [BZ #6778]
34292 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34293
fff1530e
AS
342942012-11-22 Andreas Schwab <schwab@suse.de>
34295
34296 * sysdeps/i386/fpu/libm-test-ulps: Update.
34297
94558d30
PT
342982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34299
34300 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34301 printf output with newline.
34302
7e1be741
L
343032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34304
6bfea974
L
34305 [BZ #14865]
34306 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34307 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34308 -z nodlopen, -z initfirst and -z execstack support.
34309 * configure: Regenerated.
34310
7e1be741
L
34311 * elf/elf.h (DF_1_NODIRECT): New macro.
34312 (DF_1_IGNMULDEF): Likewise.
34313 (DF_1_NOKSYMS): Likewise.
34314 (DF_1_NOHDR): Likewise.
34315 (DF_1_EDITED): Likewise.
34316 (DF_1_NORELOC): Likewise.
34317 (DF_1_SYMINTPOSE): Likewise.
34318 (DF_1_GLOBAUDIT): Likewise.
34319 (DF_1_SINGLETON): Likewise.
34320 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34321 DT_1_SUPPORTED_MASK bits.
34322 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34323
105ce2ce
CD
343242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34325
34326 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34327
123be9de
TS
343282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34329
d072f3f7
TS
34330 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34331 macro.
34332
123be9de
TS
34333 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34334 (sendmmsg): Move declarations...
34335 * socket/sys/socket.h: ... here.
34336 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34337 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34338 include it from...
34339 * socket/recvmmsg.c: ... this new file.
34340 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34341 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34342 definition of __sendmmsg hidden.
34343 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34344 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34345 Move ENOSYS stub into and include it from...
34346 * socket/sendmmsg.c: ... this new file.
34347 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34348 (sysdep_routines): Move recvmmsg and sendmmsg...
34349 * socket/Makefile (routines): ... here.
34350 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34351 (GLIBC_PRIVATE): Add __sendmmsg.
34352 * include/sys/socket.h (__sendmmsg): Add declarations.
34353 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34354 sendmmsg.
34355
cf9a5d18
JM
343562012-11-20 Joseph Myers <joseph@codesourcery.com>
34357
34358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34359 variable I1 with __attribute__ ((unused)).
34360 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34361
ecd4caf9
JM
343622012-11-19 Joseph Myers <joseph@codesourcery.com>
34363
be14d48f
JM
34364 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34365 DUMMY variables with __attribute__ ((unused)).
34366
ecd4caf9
JM
34367 * bits/byteswap.h: Include <bits/types.h>.
34368 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34369
986cab95
PT
343702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34371
34372 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34373 string_t. Do not manually set errno.
34374 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34375 length with __strnlen. Make sure to both set errno and return it on
34376 failure.
34377
6d33cc9d
DM
343782012-11-19 David S. Miller <davem@davemloft.net>
34379
34380 With help from Joseph Myers.
34381 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34382 very large arguments properly.
34383 * math/libm-test.inc (atan_test): New tests.
34384 (atan2_test): New tests.
34385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34387
ee663277
JM
343882012-11-19 Joseph Myers <joseph@codesourcery.com>
34389
877f2d8e
JM
34390 [BZ #14856]
34391 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34392 Define to 3.
34393
116fc08a
JM
34394 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34395 [POSIX] (EADDRNOTAVAIL): Likewise.
34396 [POSIX] (EAFNOSUPPORT): Likewise.
34397 [POSIX] (EALREADY): Likewise.
34398 [POSIX] (ECONNABORTED): Likewise.
34399 [POSIX] (ECONNREFUSED): Likewise.
34400 [POSIX] (ECONNRESET): Likewise.
34401 [POSIX] (EDESTADDRREQ): Likewise.
34402 [POSIX] (EDQUOT): Likewise.
34403 [POSIX] (EHOSTUNREACH): Likewise.
34404 [POSIX] (EIDRM): Likewise.
34405 [POSIX] (EISCONN): Likewise.
34406 [POSIX] (ELOOP): Likewise.
34407 [POSIX] (EMULTIHOP): Likewise.
34408 [POSIX] (ENETDOWN): Likewise.
34409 [POSIX] (ENETUNREACH): Likewise.
34410 [POSIX] (ENOBUFS): Likewise.
34411 [POSIX] (ENODATA): Likewise.
34412 [POSIX] (ENOLINK): Likewise.
34413 [POSIX] (ENOMSG): Likewise.
34414 [POSIX] (ENOPROTOOPT): Likewise.
34415 [POSIX] (ENOSR): Likewise.
34416 [POSIX] (ENOSTR): Likewise.
34417 [POSIX] (ENOTCONN): Likewise.
34418 [POSIX] (ENOTSOCK): Likewise.
34419 [POSIX] (EOPNOTSUPP): Likewise.
34420 [POSIX] (EOVERFLOW): Likewise.
34421 [POSIX] (EPROTO): Likewise.
34422 [POSIX] (EPROTONOSUPPORT): Likewise.
34423 [POSIX] (EPROTOTYPE): Likewise.
34424 [POSIX] (ESTALE): Likewise.
34425 [POSIX] (ETIME): Likewise.
34426 [POSIX] (ETXTBSY): Likewise.
34427 [POSIX] (EWOULDBLOCK): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34429 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34430 [POSIX] (SEEK_CUR): Likewise.
34431 [POSIX] (SEEK_END): Likewise.
34432 [POSIX || UNIX98] (mode_t): Do not require.
34433 [POSIX] (off_t): Likewise.
34434 [POSIX] (pid_t): Likewise.
34435 [POSIX] (sys/stat.h): Do not allow header.
34436 [POSIX] (unistd.h): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34438 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34440 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34441 require.
34442 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34443 sigevent): Specify elements.
34444 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34445 entry.
34446 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34447 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34448
a483863f
JM
34449 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34450 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34451 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34452 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34453 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34454 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34455 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34456 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34458 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34459 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34460 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34461 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34462 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34463 Likewise.
34464 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34465 Likewise.
34466 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34467 Likewise.
34468 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34469 Likewise.
34470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34471 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34474 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34475 Specify lower bound on value.
34476 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34477 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34478 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34482 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34483 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34484 value.
34485 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34486 as optional.
34487 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34503 entry.
34504 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34505 optional.
34506 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34512 Likewise.
34513 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34518 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34519 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34520 as optional.
34521 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34525 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34526 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34527 specify as optional.
34528 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34531 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34532 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34533 [XPG3] (NL_LANGMAX): Likewise.
34534 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34535 [POSIX || XPG3] (NL_NMAX): Likewise.
34536 [POSIX || XPG3] (NL_SETMAX): Likewise.
34537 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34538 [XPG3] (NZERO): Likewise.
34539 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34540 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34541 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34542 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34543 (REG_ERANGE): Expect.
34544 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34545 optional-constant.
34546 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34547 Use (void) in prototype.
34548 [POSIX] (*_t): Allow.
34549 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34550 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34551 (WRDE_BADVAL): Expect.
34552
5ba924e3
JM
34553 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34554 expect.
34555 [XPG3 || XPG4] (O_RSYNC): Likewise.
34556 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34557 Likewise.
34558 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34559 [XPG3 || XPG4] (sigqueue): Likewise.
34560 [XPG3 || XPG4] (sigtimedwait): Likewise.
34561 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34562 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34563 [XPG3 || XPG4] (vsnprintf): Likewise.
34564 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34565 Likewise.
34566 [XPG3 || XPG4] (blksize_t): Likewise.
34567 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34568 Likewise.
34569 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34570 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34571 [XPG3 || XPG4] (struct itimerspec): Likewise.
34572 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34573 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34574 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34575 [XPG3 || XPG4] (clockid_t): Likewise.
34576 [XPG3 || XPG4] (timer_t): Likewise.
34577 [XPG3 || XPG4] (clock_getres): Likewise.
34578 [XPG3 || XPG4] (clock_gettime): Likewise.
34579 [XPG3 || XPG4] (clock_settime): Likewise.
34580 [XPG3 || XPG4] (nanosleep): Likewise.
34581 [XPG3 || XPG4] (timer_create): Likewise.
34582 [XPG3 || XPG4] (timer_delete): Likewise.
34583 [XPG3 || XPG4] (timer_gettime): Likewise.
34584 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34585 [XPG3 || XPG4] (timer_settime): Likewise.
34586 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34587 [XPG3 || XPG4] (getlogin_r): Likewise.
34588 [XPG3 || XPG4] (pread): Likewise.
34589 [XPG3 || XPG4] (pthread_atfork): Likewise.
34590 [XPG3 || XPG4] (pwrite): Likewise.
34591
ee663277
JM
34592 [BZ #14835]
34593 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34594 <bits/siginfo.h>.
34595
942caa16
PT
345962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34597
e19af380
PT
34598 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34599 finalizing MALLSTREAM.
34600
942caa16
PT
34601 * sysdeps/mach/hurd/syncfs.c: New file.
34602
cfde9b46
SP
346032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34604
34605 [BZ #14719]
34606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34607 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34608 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34609 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34610 (_nss_dns_gethostbyname4_r): Likewise.
34611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34612 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34613
f6da27e5
PH
346142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34615
34616 [BZ #13763]
34617 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34618
6665d4a2
SM
346192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34620
1f51ee92
SM
34621 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34622 * elf/cache.c (print_entry): Print ",AArch64" for
34623 FLAG_AARCH64_LIB64
34624
6665d4a2
SM
34625 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34626 * elf/cache.c (print_entry): Print ",hard-float" for
34627 FLAG_ARM_LIBHF.
34628
05b227bd
DM
346292012-11-18 David S. Miller <davem@davemloft.net>
34630
34631 With help from Joseph Myers.
34632 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34633 cutoff to 2**-13.
34634 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34635 cutoff to 2**-25.
34636 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34637 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34638 small.
34639 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34640 * math/libm-test.inc (y0_test): New tests.
34641 (y1_test): New tests.
34642 * sysdeps/i386/fpu/libm-test-ulps: Update.
34643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34645
786b0b67
AS
346462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34647
34648 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34649 64-bit targets.
34650 * configure: Regenerated.
34651
8e18b86d
DM
346522012-11-17 David S. Miller <davem@davemloft.net>
34653
34654 [BZ #14811]
34655 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34656 nonzero exponents with absolute value below 0x1p-128 to +/-
34657 0x1p-128.
34658
531f1ae0
JM
346592012-11-17 Joseph Myers <joseph@codesourcery.com>
34660
12df29e2
JM
34661 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34662
150dc1a0
JM
34663 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34664
531f1ae0
JM
34665 * posix/getconf-speclist.c: New file.
34666 * posix/posix-envs.def: Likewise.
34667 * posix/confstr.c (START_ENV_GROUP): New macro.
34668 (END_ENV_GROUP): Likewise.
34669 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34670 (KNOWN_PRESENT_ENV_STRING): Likewise.
34671 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34672 (UNKNOWN_ENVIRONMENT): Likewise.
34673 (confstr): Include posix-envs.def instead of handling
34674 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34675 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34676 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34677 (END_ENV_GROUP): Likewise.
34678 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34679 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34680 (UNKNOWN_ENVIRONMENT): Likewise.
34681 (__sysconf): Include posix-envs.def instead of handling associated
34682 cases directly here.
34683 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34684 preprocessing getconf-speclist.c rather than running getconf or
34685 generating empty file.
34686
a93f9cbc
PT
346872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34688
34689 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34690
d64d9f87
AL
346912012-11-16 Andrej Lajovic <natrij@gmail.com>
34692
34693 [BZ #14672]
34694 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34695
447885eb
DM
346962012-11-16 David S. Miller <davem@davemloft.net>
34697
34698 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34699 smaller than LDBL_EPSILON/2.0L, just return xm1.
34700
bcbf9830
L
347012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34702
34703 * elf/tst-array1.c (init): Set constructor priority to 1000.
34704 (fini): Set destructor priority to 1000.
34705 * elf/tst-array2dep.c: Likewise.
34706
2b766585
SP
347072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34708
34709 [BZ #11741]
34710 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34711 (_IO_new_file_xsputn): Also return EOF if none of the input
34712 data was written when overflow failed.
34713 * libio/iopadn.c (_IO_padn): Likewise.
34714 * libio/iowpadn.c (_IO_wpadn): Likewise.
34715 * stdio-common/tst-put-error.c: Add copyright notice.
34716 (do_test): Add case for printing padded string.
34717 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34718 _IO_padn returned error.
34719 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34720 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34721 return EOF.
34722
b1848fde
SP
347232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34724
34725 * libio/libioP.h: Add comment note that the references to C++
34726 bits are now obsolete.
34727
2fd89785
MS
347282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34729
34730 * math/libm-test.inc (check_complex): Use asprintf.
34731
e3ea5409
JM
347322012-11-14 Joseph Myers <joseph@codesourcery.com>
34733
34734 * debug/pcprofiledump.c (print_version): Update copyright year.
34735 * malloc/memusagestat.c (print_version): Likewise.
34736
2e64d265
L
347372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34738
34739 [BZ #14831]
34740 * elf/Makefile (tests): Add tst-audit8.
34741 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34742 ($(objpfx)tst-audit8.out): New target.
34743 (tst-audit8-ENV): New variable.
34744 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34745 audit if l_reloc_result is NULL.
34746 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34747 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34748 * elf/tst-audit8.c: New file.
34749
c485e4d2
MS
347502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34751
34752 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34753 * misc/Makefile (CFLAGS-select.c): Define.
34754 * posix/Makefile (CFLAGS-pause.c): Define.
34755
3a0d900a
DM
347562012-11-13 David S. Miller <davem@davemloft.net>
34757
34758 * crypt/Makefile: Move test targets after toplevel Rules
34759 inclusion. Grab any necessary sysdep routines when linking.
34760 * crypt/md5.c (md5_process_block): Remove define, we will always
34761 name it __md5_process_block.
34762 (md5_finish_ctx): Update md5_process_block call.
34763 (md5_stream): Likewise.
34764 (md5_process_bytes): Likewise.
34765 (md5_process_block): Rename to __md5_process_block and move to ...
34766 * crypt/md5-block.c: ... here.
34767 * crypt/sha256.c (sha256_process_block): Move to ...
34768 * crypt/sha256-block.c: ... here.
34769 * crypt/sha512.c (sha512_process_block): Move to ...
34770 * crypt/sha512-block.c: ... here.
34771 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34772 path.
34773 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34774 * sysdeps/sparc/sparc64/multiarch/Makefile
34775 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34776 crypt subdir.
34777 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34778 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34779 multiarch changes.
34780 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34781 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34782 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34783 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34784 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34785 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34786 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34787 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34788 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34789 file.
34790 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34792 file.
34793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34794
8ca89318
JM
347952012-11-13 Joseph Myers <joseph@codesourcery.com>
34796
e27d476a
JM
34797 * timezone/tzselect.ksh: Update from tzcode git revision
34798 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34799 * timezone/zdump.c: Likewise.
34800 * timezone/zic.c: Likewise.
34801 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34802 in TZVERSION setting, not $(PKGVERSION).
34803 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34804 REPORT_BUGS_TO settings.
34805
8ca89318
JM
34806 [BZ #14838]
34807 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34808 macro.
34809
47594329
MS
348102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34811
34812 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34813 detection to immediately after _FP_ROUND().
34814 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34815 bits are 0.
34816
640ac3f1
DM
348172012-11-11 David S. Miller <davem@davemloft.net>
34818
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34820 inttypes.h
34821 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34822 __close rather than their public counterparts.
34823
3d2577bb
JM
348242012-11-10 Joseph Myers <joseph@codesourcery.com>
34825
34826 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34827 file.
34828 [UNIX98] (sem_timedwait): Do not expect.
34829 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34830 [XPG4 || UNIX98] (sockatmark): Do not expect.
34831 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34832 (clock_getcpuclockid): Do not expect.
34833 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34834 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34835 Do not expect.
34836 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34837 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34838 [UNIX98] (vwscanf): Likewise.
34839 [UNIX98] (vswscanf): Likewise.
34840
fb1ae1ee
JM
348412012-11-09 Joseph Myers <joseph@codesourcery.com>
34842
9ec6f8bd
JM
34843 * timezone/version.h: Remove file.
34844 * timezone/README: Do not refer to version.h.
34845 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34846 $(objpfx)version.h.
34847 ($(objpfx)zdump.o): Likewise.
c3f81911 34848 ($(objpfx)version.h): New target.
9ec6f8bd 34849
0aa8f8a1
JM
34850 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34851 2012i.
34852 * timezone/README: Don't mention modification to tzselect.ksh.
34853 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34854 work on unmodified tzselect.ksh. Substitute version numbers in
34855 tzselect.ksh.
34856
4e87147f
JM
34857 * Makefile (format-me): Remove.
34858 (INSTALL): Adjust indentation. Use commands directly instead of
34859 using $(format-me).
34860
8b748aed
JM
34861 * aclocal.m4 (ACX_PKGVERSION): New macro.
34862 (ACX_BUGURL): Likewise.
34863 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34864 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34865 (REPORT_BUGS_TO): Likewise.
34866 * configure: Regenerated.
34867 * config.h.in (PKGVERSION): New macro.
34868 (REPORT_BUGS_TO): Likewise.
34869 * config.make.in (PKGVERSION): New variable.
34870 (PKGVERSION_TEXI): Likewise.
34871 (REPORT_BUGS_TO): Likewise.
34872 (REPORT_BUGS_TEXI): Likewise.
34873 * Makefile (format-me): Use -I$(common-objpfx)manual.
34874 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34875 ($(common-objpfx)manual/%): New target.
34876 (manual/%): Remove target.
34877 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34878 (print_version): Use PKGVERSION.
34879 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34880 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34881 and REPORT_BUGS_TO.
34882 ($(objpfx)xtrace): Likewise.
34883 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34884 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34885 (print_version): Use PKGVERSION.
34886 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34887 (do_version): Use PKGVERSION.
34888 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34889 REPORT_BUGS_TO.
34890 (common-ldd-rewrite): Likewise.
34891 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34892 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34893 (print_version): Use PKGVERSION.
34894 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34895 * elf/pldd.c (argp_program_bug_address): Remove variable.
34896 (more_help): New function.
34897 (argp): Use more_help.
34898 (print_version): Use PKGVERSION.
34899 * elf/sln.c (main): Use PKGVERSION.
34900 (usage): Use REPORT_BUGS_TO.
34901 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34902 (top level): Use PKGVERSION.
34903 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34904 (print_version): Use PKGVERSION.
34905 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34906 (print_version): Use PKGVERSION.
34907 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34908 (print_version): Use PKGVERSION.
34909 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34910 (print_version): Use PKGVERSION.
34911 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34912 (print_version): Use PKGVERSION.
34913 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34914 (print_version): Use PKGVERSION.
34915 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34916 and BUGURL.
34917 ($(objpfx)memusage): Likewise.
34918 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34919 (do_version): Use PKGVERSION.
34920 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34921 (print_version): Use PKGVERSION.
34922 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34923 ($PKGVERSION): New variable.
34924 ($REPORT_BUGS_TO): Likewise.
34925 (usage): Use $REPORT_BUGS_TO.
34926 (top level): Use $PKGVERSION.
34927 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34928 ($(objpfx)pkgvers.texi): New rule.
34929 ($(objpfx)stamp-pkgvers): Likewise.
34930 * manual/install.texi: Include pkgvers.texi.
34931 (--with-pkgversion): Document new configure option.
34932 (--with-bugurl): Likewise.
34933 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34934 than necessarily for this particular distribution. Use
34935 REPORT_BUGS_TO for where to report bugs.
34936 * INSTALL: Regenerated.
34937 * manual/libc.texinfo: Include pkgvers.texi.
34938 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34939 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34940 (print_version): Use PKGVERSION.
34941 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34942 (print_version): Use PKGVERSION.
34943 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34944 (print_version): Use PKGVERSION.
34945 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34946 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34947 macro.
34948 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34949 (print_version): Use PKGVERSION.
34950 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34951 (print_version): Use PKGVERSION.
34952 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34953 and PKGVERSION.
34954
92e4b6a9
JM
34955 * timezone/checktab.awk: Update from tzcode 2012i.
34956 * timezone/ialloc.c: Likewise.
34957 * timezone/private.h: Likewise.
34958 * timezone/scheck.c: Likewise.
34959 * timezone/tzfile.h: Likewise.
34960 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34961 (TZVERSION): Hardcode tzcode version number.
34962 * timezone/zdump.c: Update from tzcode 2012i.
34963 * timezone/zic.c: Likewise.
34964 * timezone/version.h: New file.
34965 * timezone/README: Describe version.h. Update upstream location.
34966
9bde902c
JM
34967 [BZ #14824]
34968 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34969 (mktemp): Enable declaration.
34970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34974 Likewise.
34975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34976 Likewise.
34977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34978 Likewise.
34979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34980 Likewise.
34981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34982 Likewise.
34983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34984 Likewise.
34985
fb1ae1ee
JM
34986 [BZ #14821]
34987 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34988 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34989 for copies of such integer values.
34990 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34991 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34992
2c1adbcb
AJ
349932012-11-09 Andreas Jaeger <aj@suse.de>
34994
34995 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34996 definitions and declarations that are provided by
34997 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34998
d0f8457e
AK
349992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35000
3a235abb 35001 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35002 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35003 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35004 definition.
35005
57241e26
MS
350062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35007
35008 * elf/elf.h: Update comment before AArch64 relocations.
35009
60e8270d
DM
350102012-11-07 David S. Miller <davem@davemloft.net>
35011
35012 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35013 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35014 (__start_context): Declare.
35015 (__makecontext_ret): Delete.
35016 (__makecontext): Hook up __start_context instead of
35017 __makecontext_ret.
35018 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35019 (sysdep_routines): Add __start_context when in stdlib.
35020
0fbb0fbc
JM
350212012-11-07 Joseph Myers <joseph@codesourcery.com>
35022
35023 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35024 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35025 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35026 hardcoded "nm".
35027 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35028 (READELF): New variable. Use it instead of hardcoded "readelf".
35029
eb48db7e
L
350302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35033 * sysdeps/x86/Makefile: Here.
35034 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35035 * sysdeps/x86/tst-xmmymm.sh: This.
35036
05bcf62a
JM
350372012-11-07 Joseph Myers <joseph@codesourcery.com>
35038
c4b6cf53
JM
35039 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35040 expectations.
35041 [UNIX98] (pthread_barrier_t): Do not expect.
35042 [UNIX98] (pthread_barrierattr_t): Likewise.
35043 [UNIX98] (pthread_spinlock_t): Likewise.
35044 [UNIX98] (pthread_barrier_destroy): Likewise.
35045 [UNIX98] (pthread_barrier_init): Likewise.
35046 [UNIX98] (pthread_barrier_wait): Likewise.
35047 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35048 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35049 [UNIX98] (pthread_barrierattr_init): Likewise.
35050 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35051 [UNIX98] (pthread_getcpuclockid): Likewise.
35052 [UNIX98] (pthread_mutex_timedlock): Likewise.
35053 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35054 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35055 [UNIX98] (pthread_sigmask): Likewise.
35056 [UNIX98] (pthread_spin_destroy): Likewise.
35057 [UNIX98] (pthread_spin_init): Likewise.
35058 [UNIX98] (pthread_spin_lock): Likewise.
35059 [UNIX98] (pthread_spin_trylock): Likewise.
35060 [UNIX98] (pthread_spin_unlock): Likewise.
35061 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35062 Do not expect.
35063 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35064 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35065 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35066 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35067 [XPG3 || XPG4] (pthread_key_t): Likewise.
35068 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35069 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35070 [XPG3 || XPG4] (pthread_once_t): Likewise.
35071 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35072 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35073 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35074 [XPG3 || XPG4] (pthread_t): Likewise.
35075
cbe6e120
JM
35076 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35077 not expect.
35078 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35079
1b126443
JM
35080 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35081 Change function return type to int.
35082
b961a573
JM
35083 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35084 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35085 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35086 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35087 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35088 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35089 [!POSIX] (posix_madvise): Likewise.
35090 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35091 && !UNIX98].
35092 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35093 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35094 (mode_t): Likewise.
35095 (posix_mem_offset): Likewise.
35096 (posix_typed_mem_get_info): Likewise.
35097 (posix_typed_mem_open): Likewise.
35098
9e188909
JM
35099 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35100 Change condition to [XOPEN2K8].
35101
05bcf62a
JM
35102 * conform/conformtest.pl: Preprocess allow-header data with -x c
35103 instead of from stdin.
35104 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35105 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35106 [C99-based standards] (cerfc): Likewise.
35107 [C99-based standards] (cexp2): Likewise.
35108 [C99-based standards] (cexpm1): Likewise.
35109 [C99-based standards] (clog10): Likewise.
35110 [C99-based standards] (clog1p): Likewise.
35111 [C99-based standards] (clog2): Likewise.
35112 [C99-based standards] (clgamma): Likewise.
35113 [C99-based standards] (ctgamma): Likewise.
35114 [C99-based standards] (cerff): Likewise.
35115 [C99-based standards] (cerfcf): Likewise.
35116 [C99-based standards] (cexp2f): Likewise.
35117 [C99-based standards] (cexpm1f): Likewise.
35118 [C99-based standards] (clog10f): Likewise.
35119 [C99-based standards] (clog1pf): Likewise.
35120 [C99-based standards] (clog2f): Likewise.
35121 [C99-based standards] (clgammaf): Likewise.
35122 [C99-based standards] (ctgammaf): Likewise.
35123 [C99-based standards] (cerfl): Likewise.
35124 [C99-based standards] (cerfcl): Likewise.
35125 [C99-based standards] (cexp2l): Likewise.
35126 [C99-based standards] (cexpm1l): Likewise.
35127 [C99-based standards] (clog10l): Likewise.
35128 [C99-based standards] (clog1pl): Likewise.
35129 [C99-based standards] (clog2l): Likewise.
35130 [C99-based standards] (clgammal): Likewise.
35131 [C99-based standards] (ctgammal): Likewise.
35132 * conform/data/inttypes.h-data [C99-based standards]: Include
35133 stdint.h-data. Remove all expectations for stdint.h contents.
35134 [C99-based standards] (PRI*): Do not allow.
35135 [C99-based standards] (SCN*): Likewise.
35136 [C99-based standards] (*_t): Likewise.
35137 [C99-based-standards] (PRId8): Expect macro.
35138 [C99-based-standards] (PRIi8): Likewise.
35139 [C99-based-standards] (PRIo8): Likewise.
35140 [C99-based-standards] (PRIu8): Likewise.
35141 [C99-based-standards] (PRIx8): Likewise.
35142 [C99-based-standards] (PRIX8): Likewise.
35143 [C99-based-standards] (SCNd8): Likewise.
35144 [C99-based-standards] (SCNi8): Likewise.
35145 [C99-based-standards] (SCNo8): Likewise.
35146 [C99-based-standards] (SCNu8): Likewise.
35147 [C99-based-standards] (SCNx8): Likewise.
35148 [C99-based-standards] (PRIdLEAST8): Likewise.
35149 [C99-based-standards] (PRIiLEAST8): Likewise.
35150 [C99-based-standards] (PRIoLEAST8): Likewise.
35151 [C99-based-standards] (PRIuLEAST8): Likewise.
35152 [C99-based-standards] (PRIxLEAST8): Likewise.
35153 [C99-based-standards] (PRIXLEAST8): Likewise.
35154 [C99-based-standards] (SCNdLEAST8): Likewise.
35155 [C99-based-standards] (SCNiLEAST8): Likewise.
35156 [C99-based-standards] (SCNoLEAST8): Likewise.
35157 [C99-based-standards] (SCNuLEAST8): Likewise.
35158 [C99-based-standards] (SCNxLEAST8): Likewise.
35159 [C99-based-standards] (PRIdFAST8): Likewise.
35160 [C99-based-standards] (PRIiFAST8): Likewise.
35161 [C99-based-standards] (PRIoFAST8): Likewise.
35162 [C99-based-standards] (PRIuFAST8): Likewise.
35163 [C99-based-standards] (PRIxFAST8): Likewise.
35164 [C99-based-standards] (PRIXFAST8): Likewise.
35165 [C99-based-standards] (SCNdFAST8): Likewise.
35166 [C99-based-standards] (SCNiFAST8): Likewise.
35167 [C99-based-standards] (SCNoFAST8): Likewise.
35168 [C99-based-standards] (SCNuFAST8): Likewise.
35169 [C99-based-standards] (SCNxFAST8): Likewise.
35170 [C99-based-standards] (PRId16): Likewise.
35171 [C99-based-standards] (PRIi16): Likewise.
35172 [C99-based-standards] (PRIo16): Likewise.
35173 [C99-based-standards] (PRIu16): Likewise.
35174 [C99-based-standards] (PRIx16): Likewise.
35175 [C99-based-standards] (PRIX16): Likewise.
35176 [C99-based-standards] (SCNd16): Likewise.
35177 [C99-based-standards] (SCNi16): Likewise.
35178 [C99-based-standards] (SCNo16): Likewise.
35179 [C99-based-standards] (SCNu16): Likewise.
35180 [C99-based-standards] (SCNx16): Likewise.
35181 [C99-based-standards] (PRIdLEAST16): Likewise.
35182 [C99-based-standards] (PRIiLEAST16): Likewise.
35183 [C99-based-standards] (PRIoLEAST16): Likewise.
35184 [C99-based-standards] (PRIuLEAST16): Likewise.
35185 [C99-based-standards] (PRIxLEAST16): Likewise.
35186 [C99-based-standards] (PRIXLEAST16): Likewise.
35187 [C99-based-standards] (SCNdLEAST16): Likewise.
35188 [C99-based-standards] (SCNiLEAST16): Likewise.
35189 [C99-based-standards] (SCNoLEAST16): Likewise.
35190 [C99-based-standards] (SCNuLEAST16): Likewise.
35191 [C99-based-standards] (SCNxLEAST16): Likewise.
35192 [C99-based-standards] (PRIdFAST16): Likewise.
35193 [C99-based-standards] (PRIiFAST16): Likewise.
35194 [C99-based-standards] (PRIoFAST16): Likewise.
35195 [C99-based-standards] (PRIuFAST16): Likewise.
35196 [C99-based-standards] (PRIxFAST16): Likewise.
35197 [C99-based-standards] (PRIXFAST16): Likewise.
35198 [C99-based-standards] (SCNdFAST16): Likewise.
35199 [C99-based-standards] (SCNiFAST16): Likewise.
35200 [C99-based-standards] (SCNoFAST16): Likewise.
35201 [C99-based-standards] (SCNuFAST16): Likewise.
35202 [C99-based-standards] (SCNxFAST16): Likewise.
35203 [C99-based-standards] (PRId32): Likewise.
35204 [C99-based-standards] (PRIi32): Likewise.
35205 [C99-based-standards] (PRIo32): Likewise.
35206 [C99-based-standards] (PRIu32): Likewise.
35207 [C99-based-standards] (PRIx32): Likewise.
35208 [C99-based-standards] (PRIX32): Likewise.
35209 [C99-based-standards] (SCNd32): Likewise.
35210 [C99-based-standards] (SCNi32): Likewise.
35211 [C99-based-standards] (SCNo32): Likewise.
35212 [C99-based-standards] (SCNu32): Likewise.
35213 [C99-based-standards] (SCNx32): Likewise.
35214 [C99-based-standards] (PRIdLEAST32): Likewise.
35215 [C99-based-standards] (PRIiLEAST32): Likewise.
35216 [C99-based-standards] (PRIoLEAST32): Likewise.
35217 [C99-based-standards] (PRIuLEAST32): Likewise.
35218 [C99-based-standards] (PRIxLEAST32): Likewise.
35219 [C99-based-standards] (PRIXLEAST32): Likewise.
35220 [C99-based-standards] (SCNdLEAST32): Likewise.
35221 [C99-based-standards] (SCNiLEAST32): Likewise.
35222 [C99-based-standards] (SCNoLEAST32): Likewise.
35223 [C99-based-standards] (SCNuLEAST32): Likewise.
35224 [C99-based-standards] (SCNxLEAST32): Likewise.
35225 [C99-based-standards] (PRIdFAST32): Likewise.
35226 [C99-based-standards] (PRIiFAST32): Likewise.
35227 [C99-based-standards] (PRIoFAST32): Likewise.
35228 [C99-based-standards] (PRIuFAST32): Likewise.
35229 [C99-based-standards] (PRIxFAST32): Likewise.
35230 [C99-based-standards] (PRIXFAST32): Likewise.
35231 [C99-based-standards] (SCNdFAST32): Likewise.
35232 [C99-based-standards] (SCNiFAST32): Likewise.
35233 [C99-based-standards] (SCNoFAST32): Likewise.
35234 [C99-based-standards] (SCNuFAST32): Likewise.
35235 [C99-based-standards] (SCNxFAST32): Likewise.
35236 [C99-based-standards] (PRId64): Likewise.
35237 [C99-based-standards] (PRIi64): Likewise.
35238 [C99-based-standards] (PRIo64): Likewise.
35239 [C99-based-standards] (PRIu64): Likewise.
35240 [C99-based-standards] (PRIx64): Likewise.
35241 [C99-based-standards] (PRIX64): Likewise.
35242 [C99-based-standards] (SCNd64): Likewise.
35243 [C99-based-standards] (SCNi64): Likewise.
35244 [C99-based-standards] (SCNo64): Likewise.
35245 [C99-based-standards] (SCNu64): Likewise.
35246 [C99-based-standards] (SCNx64): Likewise.
35247 [C99-based-standards] (PRIdLEAST64): Likewise.
35248 [C99-based-standards] (PRIiLEAST64): Likewise.
35249 [C99-based-standards] (PRIoLEAST64): Likewise.
35250 [C99-based-standards] (PRIuLEAST64): Likewise.
35251 [C99-based-standards] (PRIxLEAST64): Likewise.
35252 [C99-based-standards] (PRIXLEAST64): Likewise.
35253 [C99-based-standards] (SCNdLEAST64): Likewise.
35254 [C99-based-standards] (SCNiLEAST64): Likewise.
35255 [C99-based-standards] (SCNoLEAST64): Likewise.
35256 [C99-based-standards] (SCNuLEAST64): Likewise.
35257 [C99-based-standards] (SCNxLEAST64): Likewise.
35258 [C99-based-standards] (PRIdFAST64): Likewise.
35259 [C99-based-standards] (PRIiFAST64): Likewise.
35260 [C99-based-standards] (PRIoFAST64): Likewise.
35261 [C99-based-standards] (PRIuFAST64): Likewise.
35262 [C99-based-standards] (PRIxFAST64): Likewise.
35263 [C99-based-standards] (PRIXFAST64): Likewise.
35264 [C99-based-standards] (SCNdFAST64): Likewise.
35265 [C99-based-standards] (SCNiFAST64): Likewise.
35266 [C99-based-standards] (SCNoFAST64): Likewise.
35267 [C99-based-standards] (SCNuFAST64): Likewise.
35268 [C99-based-standards] (SCNxFAST64): Likewise.
35269 [C99-based-standards] (PRIdMAX): Likewise.
35270 [C99-based-standards] (PRIiMAX): Likewise.
35271 [C99-based-standards] (PRIoMAX): Likewise.
35272 [C99-based-standards] (PRIuMAX): Likewise.
35273 [C99-based-standards] (PRIxMAX): Likewise.
35274 [C99-based-standards] (PRIXMAX): Likewise.
35275 [C99-based-standards] (SCNdMAX): Likewise.
35276 [C99-based-standards] (SCNiMAX): Likewise.
35277 [C99-based-standards] (SCNoMAX): Likewise.
35278 [C99-based-standards] (SCNuMAX): Likewise.
35279 [C99-based-standards] (SCNxMAX): Likewise.
35280 [C99-based-standards] (PRIdPTR): Likewise.
35281 [C99-based-standards] (PRIiPTR): Likewise.
35282 [C99-based-standards] (PRIoPTR): Likewise.
35283 [C99-based-standards] (PRIuPTR): Likewise.
35284 [C99-based-standards] (PRIxPTR): Likewise.
35285 [C99-based-standards] (PRIXPTR): Likewise.
35286 [C99-based-standards] (SCNdPTR): Likewise.
35287 [C99-based-standards] (SCNiPTR): Likewise.
35288 [C99-based-standards] (SCNoPTR): Likewise.
35289 [C99-based-standards] (SCNuPTR): Likewise.
35290 [C99-based-standards] (SCNxPTR): Likewise.
35291 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35292 allow.
35293 * conform/data/stdint.h-data: Update comments to clarify
35294 requirements.
35295 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35296 type.
35297 [C99-based standards] (INT8_MAX): Likewise.
35298 [C99-based standards] (INT16_MIN): Likewise.
35299 [C99-based standards] (INT16_MAX): Likewise.
35300 [C99-based standards] (INT32_MIN): Likewise.
35301 [C99-based standards] (INT32_MAX): Likewise.
35302 [C99-based standards] (INT64_MIN): Likewise.
35303 [C99-based standards] (INT64_MAX): Likewise.
35304 [C99-based standards] (UINT8_MAX): Likewise.
35305 [C99-based standards] (UINT16_MAX): Likewise.
35306 [C99-based standards] (UINT32_MAX): Likewise.
35307 [C99-based standards] (UINT64_MAX): Likewise.
35308 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35309 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35310 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35311 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35312 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35313 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35314 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35315 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35316 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35317 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35318 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35319 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35320 [C99-based standards] (INT_FAST8_MIN): Likewise.
35321 [C99-based standards] (INT_FAST8_MAX): Likewise.
35322 [C99-based standards] (INT_FAST16_MIN): Likewise.
35323 [C99-based standards] (INT_FAST16_MAX): Likewise.
35324 [C99-based standards] (INT_FAST32_MIN): Likewise.
35325 [C99-based standards] (INT_FAST32_MAX): Likewise.
35326 [C99-based standards] (INT_FAST64_MIN): Likewise.
35327 [C99-based standards] (INT_FAST64_MAX): Likewise.
35328 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35329 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35330 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35331 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35332 [C99-based standards] (INTPTR_MIN): Likewise.
35333 [C99-based standards] (INTPTR_MAX): Likewise.
35334 [C99-based standards] (UINTPTR_MAX): Likewise.
35335 [C99-based standards] (INTMAX_MIN): Likewise.
35336 [C99-based standards] (INTMAX_MAX): Likewise.
35337 [C99-based standards] (UINTMAX_MAX): Likewise.
35338 [C99-based standards] (PTRDIFF_MIN): Likewise.
35339 [C99-based standards] (PTRDIFF_MAX): Likewise.
35340 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35341 [C99-based standards] (SIZE_MAX): Likewise.
35342 [C99-based standards] (WCHAR_MAX): Likewise.
35343 [C99-based standards] (WINT_MAX): Likewise.
35344 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35345 constraint on value.
35346 [C99-based standards] (WCHAR_MIN): Likewise.
35347 [C99-based standards] (WINT_MIN): Likewise.
35348 [C99-based standards] (*_t): Allow.
35349 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35350 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35351 Include math.h-data and complex.h-data. Remove all expectations
35352 of math.h and complex.h contents.
35353 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35354 at end of line.
35355 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35356 (struct tm): Expect tag.
35357 [C99-based-standards] (wcstof): Expect function.
35358 [C99-based-standards] (wcstold): Likewise.
35359 [C99-based-standards] (wcstoll): Likewise.
35360 [C99-based-standards] (wcstoull): Likewise.
35361 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35362 macro-int-constant. Specify type.
35363 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35364 constraint on value.
35365 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35366 Specify type.
35367 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35368 Specify value.
35369 [ISO C standards]: Do not allow headers.
35370 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35371 wcs[abcdefghijklmnopqrstuvwxyz]*.
35372 [ISO C standards] (*_t): Do not allow.
35373 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35374 Expect function.
35375 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35376 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35377 Specify type.
35378 [ISO C standards]: Do not allow headers.
35379 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35380 is[abcdefghijklmnopqrstuvwxyz]*.
35381 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35382 to[abcdefghijklmnopqrstuvwxyz]*.
35383 [ISO C standards] (*_t): Do not allow.
35384 * conform/data/stdalign.h-data: New file.
35385 * conform/data/stdbool.h-data: Likewise.
35386 * conform/data/stdnoreturn.h-data: Likewise.
35387
7514feb8
RM
353882012-11-07 Roland McGrath <roland@hack.frob.com>
35389
35390 [BZ #14815]
35391 * manual/filesys.texi (Directory Entries): Typo fix.
35392 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35393
19b2ecfc
MS
353942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35395
35396 * elf/elf.h (EM_AARCH64): New macro.
35397 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35398 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35399 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35400 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35401 (R_AARCH64_TLSDESC): Likewise.
35402 (NT_ARM_TLS): Likewise.
35403 (NT_ARM_HW_BREAK): Likewise.
35404 (NT_ARM_HW_WATCH): Likewise.
35405
60e235ee
JM
354062012-11-07 Joseph Myers <joseph@codesourcery.com>
35407
35408 [BZ #14811]
35409 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35410 (__ieee754_powl): Saturate nonzero exponents with absolute value
35411 below 0x1p-79 to +/- 0x1p-79.
35412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35413 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35414 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35415 nonzero exponents with absolute value below 0x1p-32 to +/-
35416 0x1p-32.
35417 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35418 (__ieee754_powl): Saturate nonzero exponents with absolute value
35419 below 0x1p-79 to +/- 0x1p-79.
35420 * math/libm-test.inc (pow_test): Add more tests.
35421
0ab234b7
AK
354222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35423
35424 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35425 _dl_s390_cap_flags with kernel. Increase string length.
35426 (_dl_s390_platforms): Add z196 and zEC12.
35427
45832f74
JM
354282012-11-07 Joseph Myers <joseph@codesourcery.com>
35429
35430 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35431 Change XOPEN21K to XOPEN2K.
35432
19218757
MK
354332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35434
35435 * string/memmove.c: Use memcpy when possible.
35436
c5f45721
AJ
354372012-11-06 Andreas Jaeger <aj@suse.de>
35438
35439 * po/eo.po: Update from translation team.
35440
82477c28
JM
354412012-11-06 Joseph Myers <joseph@codesourcery.com>
35442
35443 [BZ #14793]
35444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35445 exponent and small x and y exponents, scale x or y up. Increase
35446 by 2 the exponent used in scaling up.
35447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35449 * math/libm-test.inc (fma_test): Add more tests.
35450 (fma_test_towardzero): Likewise.
35451 (fma_test_downward): Likewise.
35452 (fma_test_upward): Likewise.
35453
99252c8c
JM
354542012-11-05 Joseph Myers <joseph@codesourcery.com>
35455
acfa885f
JM
35456 [BZ #14805]
35457 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35458 fenv_t *.
35459
99252c8c
JM
35460 [BZ #14801]
35461 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35462 namespace for names of struct fields.
35463 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35464 fenv_t fields.
35465 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35466 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35467
d6d98dea
ST
354682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35469
35470 [BZ #3665]
35471 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35472
e10bb107
TS
354732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35474
35475 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35476 PTR_DEMANGLE.
35477
35478 [BZ #5246]
35479 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35480 PTR_DEMANGLE.
35481
a0c2940d
JM
354822012-11-04 Joseph Myers <joseph@codesourcery.com>
35483
35484 [BZ #14797]
35485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35486 definitely overflow as x * y not x * y + z.
35487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35489 * math/libm-test.inc (fma_test): Add more tests.
35490 (fma_test_towardzero): Likewise.
35491 (fma_test_downward): Likewise.
35492 (fma_test_upward): Likewise.
35493
b830319d
TS
354942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35495
35496 [BZ #157]
35497
35498 * include/stub-tag.h: Remove file.
35499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35500 '#include' of it.
35501 * manual/maint.texi (Porting): Don't reference it.
35502 * Makerules ($(objpfx)stubs): Likewise.
35503 * dirent/closedir.c: Don't include <stub-tag.h>.
35504 * dirent/dirfd.c: Likewise.
35505 * dirent/fdopendir.c: Likewise.
35506 * dirent/getdents.c: Likewise.
35507 * dirent/getdents64.c: Likewise.
35508 * dirent/opendir.c: Likewise.
35509 * dirent/readdir.c: Likewise.
35510 * dirent/readdir64.c: Likewise.
35511 * dirent/readdir64_r.c: Likewise.
35512 * dirent/readdir_r.c: Likewise.
35513 * dirent/rewinddir.c: Likewise.
35514 * dirent/seekdir.c: Likewise.
35515 * dirent/telldir.c: Likewise.
35516 * gmon/profil.c: Likewise.
35517 * grp/setgroups.c: Likewise.
35518 * inet/if_index.c: Likewise.
35519 * io/access.c: Likewise.
35520 * io/chdir.c: Likewise.
35521 * io/chmod.c: Likewise.
35522 * io/chown.c: Likewise.
35523 * io/close.c: Likewise.
35524 * io/dup.c: Likewise.
35525 * io/dup2.c: Likewise.
35526 * io/dup3.c: Likewise.
35527 * io/euidaccess.c: Likewise.
35528 * io/faccessat.c: Likewise.
35529 * io/fchdir.c: Likewise.
35530 * io/fchmod.c: Likewise.
35531 * io/fchmodat.c: Likewise.
35532 * io/fchown.c: Likewise.
35533 * io/fchownat.c: Likewise.
35534 * io/fcntl.c: Likewise.
35535 * io/flock.c: Likewise.
35536 * io/fstatfs.c: Likewise.
35537 * io/fstatfs64.c: Likewise.
35538 * io/fstatvfs.c: Likewise.
35539 * io/fstatvfs64.c: Likewise.
35540 * io/futimens.c: Likewise.
35541 * io/fxstat.c: Likewise.
35542 * io/fxstat64.c: Likewise.
35543 * io/fxstatat.c: Likewise.
35544 * io/fxstatat64.c: Likewise.
35545 * io/getcwd.c: Likewise.
35546 * io/isatty.c: Likewise.
35547 * io/lchmod.c: Likewise.
35548 * io/lchown.c: Likewise.
35549 * io/link.c: Likewise.
35550 * io/linkat.c: Likewise.
35551 * io/lseek.c: Likewise.
35552 * io/lseek64.c: Likewise.
35553 * io/lxstat64.c: Likewise.
35554 * io/mkdir.c: Likewise.
35555 * io/mkdirat.c: Likewise.
35556 * io/mkfifo.c: Likewise.
35557 * io/mkfifoat.c: Likewise.
35558 * io/open.c: Likewise.
35559 * io/open64.c: Likewise.
35560 * io/openat.c: Likewise.
35561 * io/openat64.c: Likewise.
35562 * io/pipe.c: Likewise.
35563 * io/pipe2.c: Likewise.
35564 * io/poll.c: Likewise.
35565 * io/posix_fadvise.c: Likewise.
35566 * io/posix_fadvise64.c: Likewise.
35567 * io/posix_fallocate.c: Likewise.
35568 * io/posix_fallocate64.c: Likewise.
35569 * io/read.c: Likewise.
35570 * io/readlink.c: Likewise.
35571 * io/readlinkat.c: Likewise.
35572 * io/rmdir.c: Likewise.
35573 * io/sendfile.c: Likewise.
35574 * io/sendfile64.c: Likewise.
35575 * io/statfs.c: Likewise.
35576 * io/statfs64.c: Likewise.
35577 * io/statvfs.c: Likewise.
35578 * io/statvfs64.c: Likewise.
35579 * io/symlink.c: Likewise.
35580 * io/symlinkat.c: Likewise.
35581 * io/ttyname.c: Likewise.
35582 * io/ttyname_r.c: Likewise.
35583 * io/umask.c: Likewise.
35584 * io/unlink.c: Likewise.
35585 * io/unlinkat.c: Likewise.
35586 * io/utime.c: Likewise.
35587 * io/utimensat.c: Likewise.
35588 * io/write.c: Likewise.
35589 * io/xmknod.c: Likewise.
35590 * io/xmknodat.c: Likewise.
35591 * io/xstat.c: Likewise.
35592 * io/xstat64.c: Likewise.
35593 * login/getpt.c: Likewise.
35594 * login/grantpt.c: Likewise.
35595 * login/unlockpt.c: Likewise.
35596 * math/e_acoshl.c: Likewise.
35597 * math/e_acosl.c: Likewise.
35598 * math/e_asinl.c: Likewise.
35599 * math/e_atan2l.c: Likewise.
35600 * math/e_atanhl.c: Likewise.
35601 * math/e_coshl.c: Likewise.
35602 * math/e_expl.c: Likewise.
35603 * math/e_fmodl.c: Likewise.
35604 * math/e_gammal_r.c: Likewise.
35605 * math/e_hypotl.c: Likewise.
35606 * math/e_j0l.c: Likewise.
35607 * math/e_j1l.c: Likewise.
35608 * math/e_jnl.c: Likewise.
35609 * math/e_lgammal_r.c: Likewise.
35610 * math/e_log10l.c: Likewise.
35611 * math/e_log2l.c: Likewise.
35612 * math/e_logl.c: Likewise.
35613 * math/e_powl.c: Likewise.
35614 * math/e_rem_pio2l.c: Likewise.
35615 * math/e_sinhl.c: Likewise.
35616 * math/e_sqrtl.c: Likewise.
35617 * math/fclrexcpt.c: Likewise.
35618 * math/fedisblxcpt.c: Likewise.
35619 * math/feenablxcpt.c: Likewise.
35620 * math/fegetenv.c: Likewise.
35621 * math/fegetexcept.c: Likewise.
35622 * math/fegetround.c: Likewise.
35623 * math/feholdexcpt.c: Likewise.
35624 * math/fesetenv.c: Likewise.
35625 * math/fesetround.c: Likewise.
35626 * math/feupdateenv.c: Likewise.
35627 * math/fgetexcptflg.c: Likewise.
35628 * math/fraiseexcpt.c: Likewise.
35629 * math/fsetexcptflg.c: Likewise.
35630 * math/ftestexcept.c: Likewise.
35631 * math/k_cosl.c: Likewise.
35632 * math/k_rem_pio2l.c: Likewise.
35633 * math/k_sinl.c: Likewise.
35634 * math/k_tanl.c: Likewise.
35635 * math/s_asinhl.c: Likewise.
35636 * math/s_atanl.c: Likewise.
35637 * math/s_cbrtl.c: Likewise.
35638 * math/s_erfl.c: Likewise.
35639 * math/s_expm1l.c: Likewise.
35640 * math/s_log1pl.c: Likewise.
35641 * math/s_tanhl.c: Likewise.
35642 * misc/acct.c: Likewise.
35643 * misc/brk.c: Likewise.
35644 * misc/chflags.c: Likewise.
35645 * misc/chroot.c: Likewise.
35646 * misc/fchflags.c: Likewise.
35647 * misc/fgetxattr.c: Likewise.
35648 * misc/flistxattr.c: Likewise.
35649 * misc/fremovexattr.c: Likewise.
35650 * misc/fsetxattr.c: Likewise.
35651 * misc/fsync.c: Likewise.
35652 * misc/ftruncate.c: Likewise.
35653 * misc/futimes.c: Likewise.
35654 * misc/futimesat.c: Likewise.
35655 * misc/getdomain.c: Likewise.
35656 * misc/getdtsz.c: Likewise.
35657 * misc/gethostid.c: Likewise.
35658 * misc/gethostname.c: Likewise.
35659 * misc/getloadavg.c: Likewise.
35660 * misc/getpagesize.c: Likewise.
35661 * misc/getsysstats.c: Likewise.
35662 * misc/getxattr.c: Likewise.
35663 * misc/gtty.c: Likewise.
35664 * misc/ioctl.c: Likewise.
35665 * misc/lgetxattr.c: Likewise.
35666 * misc/listxattr.c: Likewise.
35667 * misc/llistxattr.c: Likewise.
35668 * misc/lremovexattr.c: Likewise.
35669 * misc/lsetxattr.c: Likewise.
35670 * misc/lutimes.c: Likewise.
35671 * misc/madvise.c: Likewise.
35672 * misc/mincore.c: Likewise.
35673 * misc/mlock.c: Likewise.
35674 * misc/mlockall.c: Likewise.
35675 * misc/mmap.c: Likewise.
35676 * misc/mprotect.c: Likewise.
35677 * misc/msync.c: Likewise.
35678 * misc/munlock.c: Likewise.
35679 * misc/munlockall.c: Likewise.
35680 * misc/munmap.c: Likewise.
35681 * misc/preadv.c: Likewise.
35682 * misc/preadv64.c: Likewise.
35683 * misc/ptrace.c: Likewise.
35684 * misc/pwritev.c: Likewise.
35685 * misc/pwritev64.c: Likewise.
35686 * misc/readv.c: Likewise.
35687 * misc/reboot.c: Likewise.
35688 * misc/remap_file_pages.c: Likewise.
35689 * misc/removexattr.c: Likewise.
35690 * misc/revoke.c: Likewise.
35691 * misc/select.c: Likewise.
35692 * misc/setdomain.c: Likewise.
35693 * misc/setegid.c: Likewise.
35694 * misc/seteuid.c: Likewise.
35695 * misc/sethostid.c: Likewise.
35696 * misc/sethostname.c: Likewise.
35697 * misc/setregid.c: Likewise.
35698 * misc/setreuid.c: Likewise.
35699 * misc/setxattr.c: Likewise.
35700 * misc/sstk.c: Likewise.
35701 * misc/stty.c: Likewise.
35702 * misc/swapoff.c: Likewise.
35703 * misc/swapon.c: Likewise.
35704 * misc/sync.c: Likewise.
35705 * misc/syncfs.c: Likewise.
35706 * misc/syscall.c: Likewise.
35707 * misc/truncate.c: Likewise.
35708 * misc/ualarm.c: Likewise.
35709 * misc/usleep.c: Likewise.
35710 * misc/ustat.c: Likewise.
35711 * misc/utimes.c: Likewise.
35712 * misc/vhangup.c: Likewise.
35713 * misc/writev.c: Likewise.
35714 * posix/_exit.c: Likewise.
35715 * posix/alarm.c: Likewise.
35716 * posix/execve.c: Likewise.
35717 * posix/fexecve.c: Likewise.
35718 * posix/fork.c: Likewise.
35719 * posix/fpathconf.c: Likewise.
35720 * posix/getaddrinfo.c: Likewise.
35721 * posix/getegid.c: Likewise.
35722 * posix/geteuid.c: Likewise.
35723 * posix/getgid.c: Likewise.
35724 * posix/getgroups.c: Likewise.
35725 * posix/getlogin.c: Likewise.
35726 * posix/getlogin_r.c: Likewise.
35727 * posix/getpgid.c: Likewise.
35728 * posix/getpid.c: Likewise.
35729 * posix/getppid.c: Likewise.
35730 * posix/getresgid.c: Likewise.
35731 * posix/getresuid.c: Likewise.
35732 * posix/getsid.c: Likewise.
35733 * posix/getuid.c: Likewise.
35734 * posix/glob64.c: Likewise.
35735 * posix/nanosleep.c: Likewise.
35736 * posix/pathconf.c: Likewise.
35737 * posix/pause.c: Likewise.
35738 * posix/posix_madvise.c: Likewise.
35739 * posix/pread.c: Likewise.
35740 * posix/pread64.c: Likewise.
35741 * posix/pwrite.c: Likewise.
35742 * posix/pwrite64.c: Likewise.
35743 * posix/sched_getaffinity.c: Likewise.
35744 * posix/sched_getp.c: Likewise.
35745 * posix/sched_gets.c: Likewise.
35746 * posix/sched_primax.c: Likewise.
35747 * posix/sched_primin.c: Likewise.
35748 * posix/sched_rr_gi.c: Likewise.
35749 * posix/sched_setaffinity.c: Likewise.
35750 * posix/sched_setp.c: Likewise.
35751 * posix/sched_sets.c: Likewise.
35752 * posix/sched_yield.c: Likewise.
35753 * posix/setgid.c: Likewise.
35754 * posix/setlogin.c: Likewise.
35755 * posix/setpgid.c: Likewise.
35756 * posix/setresgid.c: Likewise.
35757 * posix/setresuid.c: Likewise.
35758 * posix/setsid.c: Likewise.
35759 * posix/setuid.c: Likewise.
35760 * posix/sleep.c: Likewise.
35761 * posix/spawni.c: Likewise.
35762 * posix/sysconf.c: Likewise.
35763 * posix/times.c: Likewise.
35764 * posix/wait.c: Likewise.
35765 * posix/wait3.c: Likewise.
35766 * posix/wait4.c: Likewise.
35767 * posix/waitpid.c: Likewise.
35768 * resolv/gai_sigqueue.c: Likewise.
35769 * resource/getpriority.c: Likewise.
35770 * resource/getrlimit.c: Likewise.
35771 * resource/getrusage.c: Likewise.
35772 * resource/nice.c: Likewise.
35773 * resource/setpriority.c: Likewise.
35774 * resource/setrlimit.c: Likewise.
35775 * resource/ulimit.c: Likewise.
35776 * rt/aio_cancel.c: Likewise.
35777 * rt/aio_fsync.c: Likewise.
35778 * rt/aio_read.c: Likewise.
35779 * rt/aio_sigqueue.c: Likewise.
35780 * rt/aio_suspend.c: Likewise.
35781 * rt/aio_write.c: Likewise.
35782 * rt/clock_getres.c: Likewise.
35783 * rt/clock_gettime.c: Likewise.
35784 * rt/clock_nanosleep.c: Likewise.
35785 * rt/clock_settime.c: Likewise.
35786 * rt/lio_listio.c: Likewise.
35787 * rt/mq_close.c: Likewise.
35788 * rt/mq_getattr.c: Likewise.
35789 * rt/mq_notify.c: Likewise.
35790 * rt/mq_open.c: Likewise.
35791 * rt/mq_receive.c: Likewise.
35792 * rt/mq_send.c: Likewise.
35793 * rt/mq_setattr.c: Likewise.
35794 * rt/mq_timedreceive.c: Likewise.
35795 * rt/mq_timedsend.c: Likewise.
35796 * rt/mq_unlink.c: Likewise.
35797 * rt/shm_open.c: Likewise.
35798 * rt/shm_unlink.c: Likewise.
35799 * rt/timer_create.c: Likewise.
35800 * rt/timer_delete.c: Likewise.
35801 * rt/timer_getoverr.c: Likewise.
35802 * rt/timer_gettime.c: Likewise.
35803 * rt/timer_settime.c: Likewise.
35804 * setjmp/__longjmp.c: Likewise.
35805 * setjmp/setjmp.c: Likewise.
35806 * signal/kill.c: Likewise.
35807 * signal/killpg.c: Likewise.
35808 * signal/raise.c: Likewise.
35809 * signal/sigaction.c: Likewise.
35810 * signal/sigaltstack.c: Likewise.
35811 * signal/sigblock.c: Likewise.
35812 * signal/sigignore.c: Likewise.
35813 * signal/sigintr.c: Likewise.
35814 * signal/signal.c: Likewise.
35815 * signal/sigpause.c: Likewise.
35816 * signal/sigpending.c: Likewise.
35817 * signal/sigqueue.c: Likewise.
35818 * signal/sigreturn.c: Likewise.
35819 * signal/sigset.c: Likewise.
35820 * signal/sigsetmask.c: Likewise.
35821 * signal/sigstack.c: Likewise.
35822 * signal/sigsuspend.c: Likewise.
35823 * signal/sigtimedwait.c: Likewise.
35824 * signal/sigvec.c: Likewise.
35825 * signal/sigwait.c: Likewise.
35826 * signal/sigwaitinfo.c: Likewise.
35827 * signal/sysv_signal.c: Likewise.
35828 * socket/accept.c: Likewise.
35829 * socket/accept4.c: Likewise.
35830 * socket/bind.c: Likewise.
35831 * socket/connect.c: Likewise.
35832 * socket/getpeername.c: Likewise.
35833 * socket/getsockname.c: Likewise.
35834 * socket/getsockopt.c: Likewise.
35835 * socket/isfdtype.c: Likewise.
35836 * socket/listen.c: Likewise.
35837 * socket/recv.c: Likewise.
35838 * socket/recvfrom.c: Likewise.
35839 * socket/recvmsg.c: Likewise.
35840 * socket/send.c: Likewise.
35841 * socket/sendmsg.c: Likewise.
35842 * socket/sendto.c: Likewise.
35843 * socket/setsockopt.c: Likewise.
35844 * socket/shutdown.c: Likewise.
35845 * socket/sockatmark.c: Likewise.
35846 * socket/socket.c: Likewise.
35847 * socket/socketpair.c: Likewise.
35848 * stdio-common/ctermid.c: Likewise.
35849 * stdio-common/cuserid.c: Likewise.
35850 * stdio-common/remove.c: Likewise.
35851 * stdio-common/rename.c: Likewise.
35852 * stdio-common/renameat.c: Likewise.
35853 * stdio-common/tempname.c: Likewise.
35854 * stdlib/getcontext.c: Likewise.
35855 * stdlib/makecontext.c: Likewise.
35856 * stdlib/setcontext.c: Likewise.
35857 * stdlib/swapcontext.c: Likewise.
35858 * stdlib/system.c: Likewise.
35859 * streams/fattach.c: Likewise.
35860 * streams/fdetach.c: Likewise.
35861 * streams/getmsg.c: Likewise.
35862 * streams/getpmsg.c: Likewise.
35863 * streams/putmsg.c: Likewise.
35864 * streams/putpmsg.c: Likewise.
35865 * sysdeps/unix/bsd/getpt.c: Likewise.
35866 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35867 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35868 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35870 Likewise.
35871 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35873 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35874 * sysvipc/msgctl.c: Likewise.
35875 * sysvipc/msgget.c: Likewise.
35876 * sysvipc/msgrcv.c: Likewise.
35877 * sysvipc/msgsnd.c: Likewise.
35878 * sysvipc/semctl.c: Likewise.
35879 * sysvipc/semget.c: Likewise.
35880 * sysvipc/semop.c: Likewise.
35881 * sysvipc/semtimedop.c: Likewise.
35882 * sysvipc/shmat.c: Likewise.
35883 * sysvipc/shmctl.c: Likewise.
35884 * sysvipc/shmdt.c: Likewise.
35885 * sysvipc/shmget.c: Likewise.
35886 * termios/tcdrain.c: Likewise.
35887 * termios/tcflow.c: Likewise.
35888 * termios/tcflush.c: Likewise.
35889 * termios/tcgetattr.c: Likewise.
35890 * termios/tcgetpgrp.c: Likewise.
35891 * termios/tcsendbrk.c: Likewise.
35892 * termios/tcsetattr.c: Likewise.
35893 * termios/tcsetpgrp.c: Likewise.
35894 * time/adjtime.c: Likewise.
35895 * time/clock.c: Likewise.
35896 * time/getitimer.c: Likewise.
35897 * time/gettimeofday.c: Likewise.
35898 * time/setitimer.c: Likewise.
35899 * time/settimeofday.c: Likewise.
35900 * time/stime.c: Likewise.
35901 * time/time.c: Likewise.
35902
359032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35904
a20492cf
PT
35905 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35906 /usr/old/bin.
35907
72e182e3
PT
35908 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35909 instead of spaces.
35910 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35911
fbeafede
JM
359122012-11-03 Joseph Myers <joseph@codesourcery.com>
35913
5b5b04d6
JM
35914 [BZ #14796]
35915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35916 FE_TONEAREST before applying Dekker multiplication and Knuth
35917 addition. Clear inexact exceptions and check for exact zero
35918 results afterwards.
35919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35920 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35922 * math/libm-test.inc (fma_test): Add more tests.
35923 (fma_test_towardzero): Likewise.
35924 (fma_test_downward): Likewise.
35925 (fma_test_upward): Likewise.
35926 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35927 function.
35928 (libc_fesetround): New macro.
35929 (libc_fesetroundf): Likewise.
35930 (libc_fesetroundl): Likewise.
35931 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35932 function.
35933 (libc_fesetround_387): Likewise.
35934 (libc_fesetroundf): New macro.
35935 (libc_fesetround): Likewise.
35936 (libc_fesetroundl): Likewise.
35937 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35938 function.
35939 (libc_fesetroundf): New macro.
35940 (libc_fesetround): Likewise.
35941 (libc_fesetroundl): Likewise.
35942 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35943 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35944 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35945 libm_hidden_ver.
35946 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35947 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35948 libm_hidden_def.
35949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35950 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35951 libm_hidden_ver.
35952 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35953 libm_hidden_def.
35954
fbeafede
JM
35955 [BZ #3439]
35956 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35957 integer constant usable in #if and use that to give value to enum
35958 constant.
35959 (FE_DIVBYZERO): Likewise.
35960 (FE_UNDERFLOW): Likewise.
35961 (FE_OVERFLOW): Likewise.
35962 (FE_INVALID): Likewise.
35963 (FE_INVALID_SNAN): Likewise.
35964 (FE_INVALID_ISI): Likewise.
35965 (FE_INVALID_IDI): Likewise.
35966 (FE_INVALID_ZDZ): Likewise.
35967 (FE_INVALID_IMZ): Likewise.
35968 (FE_INVALID_COMPARE): Likewise.
35969 (FE_INVALID_SOFTWARE): Likewise.
35970 (FE_INVALID_SQRT): Likewise.
35971 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35972 (FE_TONEAREST): Likewise.
35973 (FE_TOWARDZERO): Likewise.
35974 (FE_UPWARD): Likewise.
35975 (FE_DOWNWARD): Likewise.
35976 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35977 (FE_DIVBYZERO): Likewise.
35978 (FE_OVERFLOW): Likewise.
35979 (FE_UNDERFLOW): Likewise.
35980 (FE_INEXACT): Likewise.
35981 (FE_TONEAREST): Likewise.
35982 (FE_DOWNWARD): Likewise.
35983 (FE_UPWARD): Likewise.
35984 (FE_TOWARDZERO): Likewise.
35985 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35986 (FE_UNDERFLOW): Likewise.
35987 (FE_OVERFLOW): Likewise.
35988 (FE_DIVBYZERO): Likewise.
35989 (FE_INVALID): Likewise.
35990 (FE_TONEAREST): Likewise.
35991 (FE_TOWARDZERO): Likewise.
35992 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35993 (FE_OVERFLOW): Likewise.
35994 (FE_UNDERFLOW): Likewise.
35995 (FE_DIVBYZERO): Likewise.
35996 (FE_INEXACT): Likewise.
35997 (FE_TONEAREST): Likewise.
35998 (FE_TOWARDZERO): Likewise.
35999 (FE_UPWARD): Likewise.
36000 (FE_DOWNWARD): Likewise.
36001 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36002 (FE_DIVBYZERO): Likewise.
36003 (FE_OVERFLOW): Likewise.
36004 (FE_UNDERFLOW): Likewise.
36005 (FE_INEXACT): Likewise.
36006 (FE_TONEAREST): Likewise.
36007 (FE_DOWNWARD): Likewise.
36008 (FE_UPWARD): Likewise.
36009 (FE_TOWARDZERO): Likewise.
36010
105ca950
CM
360112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36012
36013 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36014
a542b389
AS
360152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36016
36017 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36018 commands. Quote $PWD.
36019 (blacklist_exports): Don't use remove_newlines. Replace "declare
36020 -x" by "export".
36021 (remove_newlines): Remove.
36022
f62c8abc
L
360232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36024
36025 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36026 * stdlib/stdlib.h (atof): Moved to ...
36027 * include/bits/stdlib-float.h: Here. New file.
36028 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36029 * stdlib/bits/stdlib-float.h: New file.
36030 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36031 -mno-sse -mno-mmx.
36032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36033 <xmmintrin.h>.
36034
0155d5b2
JM
360352012-11-02 Joseph Myers <joseph@codesourcery.com>
36036
a68d0680
JM
36037 * conform/conformtest.pl (@headers): Add fenv.h.
36038 * conform/data/fenv.h-data: New file.
36039 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36040 include of <math/fenv.h>.
36041
caf7f573
JM
36042 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36043 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36044 && !UNIX98]. Enables tests for XOPEN2K8.
36045 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36046 POSIX2008]: Likewise.
36047
6c073ad6
JM
36048 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36049 (struct rusage): Do not expect type or its members.
36050
0155d5b2
JM
36051 [BZ #3439]
36052 * math/math.h (FP_NAN): Define macro to integer constant usable in
36053 #if and use that to give value to enum constant.
36054 (FP_INFINITE): Likewise.
36055 (FP_ZERO): Likewise.
36056 (FP_SUBNORMAL): Likewise.
36057 (FP_NORMAL): Likewise.
36058
b5dcacb4
AS
360592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36060
36061 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36062 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36063 arguments.
36064
f7934be8
RM
360652012-11-02 Roland McGrath <roland@hack.frob.com>
36066
36067 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36068 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36069 autoconf-time if not.
36070 * configure.in: Remove AC_PREREQ.
36071
d7d08bde
TMQMF
360722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36073
36074 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36075 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36076 of the internal implementation.
36077
dcdae19a
JM
360782012-11-02 Joseph Myers <joseph@codesourcery.com>
36079
36080 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36081 except include of <misc/sys/syslog.h>.
36082
d6cffd3e
AS
360832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36084
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36086 function returns with a NULL context exit with zero.
36087
b3563932
TMQMF
360882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36089
36090 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36091
b288a93d
L
360922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36093
36094 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36095 (run_program_cmd): This.
36096 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36097 (tst_langinfo): New variable. Use it.
36098
a2421a68
SAS
360992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36100
36101 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36102 floating point opcodes.
36103
6f796e1b
TS
361042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36105
7402596b
TS
36106 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36107 variable.
36108
d0d4f868
TS
36109 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36110
6f796e1b
TS
36111 * sysdeps/mach/hurd/powerpc: Remove directory.
36112 * sysdeps/mach/powerpc: Likewise.
36113
4da224a2
AS
361142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36115
36116 * scripts/check-local-headers.sh: Ignore c++ headers.
36117
341dd673
TS
361182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36119
36120 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36121 __libc_cleanup_region_start argument.
36122
473611b2
JM
361232012-11-01 Joseph Myers <joseph@codesourcery.com>
36124
36125 [BZ #14784]
36126 [BZ #14785]
36127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36128 x * y using scaling, not as x * y + z.
36129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36131 * math/libm-test.inc (fma_test): Add more tests.
36132 (fma_test_towardzero): Likewise.
36133 (fma_test_downward): Likewise.
36134 (fma_test_upward): Likewise.
36135
4078da3d
TS
361362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36137
36138 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36139
903252aa
JM
361402012-10-31 Joseph Myers <joseph@codesourcery.com>
36141
36142 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36143 New variable.
36144
cbc818d0
TS
361452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36146
36147 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36148
5a03cb1e
AS
361492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36150
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36152 Fix sort order.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36154 Likewise.
36155
90aff2ff
TMQMF
361562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36157
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36159 Fix the order of the list for glibc 2.17.
36160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36161 Likewise.
36162
1818fcb7
AS
361632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36164
36165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36166
ef82f4da
JM
361672012-10-31 Joseph Myers <joseph@codesourcery.com>
36168
16a0e2ec
JM
36169 [BZ #14610]
36170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36171 for low part of x being zero before using __atanl (y).
36172 * math/libm-test.inc (atan2_test): Add another test.
36173
0eb69512
JM
36174 * manual/install.texi (Configuring and compiling): Document
36175 general use of test-wrapper and test-wrapper-env.
36176 * INSTALL: Regenerated.
36177
ef82f4da
JM
36178 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36179 (__fma): Do not extract and scale down low bits on after-rounding
36180 systems when result rounded to normal precision would have normal
36181 exponent.
36182 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36183 (__fmal): Do not extract and scale down low bits on after-rounding
36184 systems when result rounded to normal precision would have normal
36185 exponent.
36186 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36187 (__fmal): Do not extract and scale down low bits on after-rounding
36188 systems when result rounded to normal precision would have normal
36189 exponent.
36190 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36191 macro.
36192 (fma_test): Add more tests.
36193 (fma_test_towardzero): Likewise.
36194 (fma_test_downward): Likewise.
36195 (fma_test_upward): Likewise.
36196
954ef0d9
L
361972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36198
36199 * sysdeps/i386/tininess.h: Renamed to ...
36200 * sysdeps/x86/tininess.h: This.
36201 * sysdeps/x86_64/tininess.h: Removed.
36202
df61ffb2
JM
362032012-10-30 Joseph Myers <joseph@codesourcery.com>
36204
36205 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36206 input. Use $(build-program-cmd).
36207 ($(objpfx)tst-array1-static.out): Likewise.
36208 ($(objpfx)tst-array2.out): Likewise.
36209 ($(objpfx)tst-array3.out): Likewise.
36210 ($(objpfx)tst-array4.out): Likewise.
36211 ($(objpfx)tst-array5.out): Likewise.
36212 ($(objpfx)tst-array5-static.out): Likewise.
36213
01767843
CM
362142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36215
47cc1490
CM
36216 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36217 if defined.
36218
01767843
CM
36219 * nss/nsswitch.h (nss_interface_function): Provide new
36220 macro for use with NSS functions.
36221 * grp/initgroups.c: Use new macro.
36222 * nss/getXXbyYY.c: Likewise.
36223 * nss/getXXbyYY_r.c: Likewise.
36224 * nss/getXXent.c: Likewise.
36225 * nss/getXXent_r.c: Likewise.
36226 * sysdeps/posix/getaddrinfo.c: Likewise.
36227
8321aa97
AJ
362282012-10-30 Andreas Jaeger <aj@suse.de>
36229
36230 * po/ru.po: Update Russion translation from translation project.
36231
2a27fd6d
JM
362322012-10-30 Joseph Myers <joseph@codesourcery.com>
36233
8627a232
JM
36234 [BZ #14152]
36235 [BZ #14783]
36236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36237 result and shift together with sticky bit instead of replicating
36238 round-to-nearest rounding.
36239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36240 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36241 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36242 missing underflow exceptions.
36243 (fma_test_towardzero): Add more tests.
36244 (fma_test_downward): Likewise.
36245 (fma_test_upward): Likewise.
36246
2a27fd6d
JM
36247 [BZ #14047]
36248 * sysdeps/generic/tininess.h: New file.
36249 * sysdeps/i386/tininess.h: Likewise.
36250 * sysdeps/sh/tininess.h: Likewise.
36251 * sysdeps/x86_64/tininess.h: Likewise.
36252 * stdlib/tst-strtod-underflow.c: Likewise.
36253 * stdlib/tst-tininess.c: Likewise.
36254 * stdlib/strtod_l.c: Include <tininess.h>.
36255 (round_and_return): Do not set errno for exact underflow cases.
36256 Force an underflow exception when setting errno for underflow.
36257 Determine underflow based on rounding to normal precision if
36258 TININESS_AFTER_ROUNDING.
36259 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36260 ERANGE for exact underflow cases.
36261 * stdlib/Makefile (tests): Add tst-tininess and
36262 tst-strtod-underflow.
36263 ($(objpfx)tst-tininess): Use $(link-libm).
36264 ($(objpfx)tst-strtod-underflow): Likewise.
36265
e7170363
AJ
362662012-10-30 Andreas Jaeger <aj@suse.de>
36267
e5088dc6
AJ
36268 [BZ#14767]
36269 * elf/Makefile (tests): Remove conditional for have-initfini-array
36270 since this is now always required and the variable does not exist
36271 anymore.
36272 (tests-static): Likewise.
36273 (modules-names): Likewise.
36274
e7170363 36275 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36276
36277 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36278 merged with constructor/destructor.
36279 (init_array): Likewise.
36280 * elf/tst-array2dep.c (fini_array): Likewise.
36281 (init_array): Likewise.
36282
60457d8a
MF
362832012-10-29 Mike Frysinger <vapier@gentoo.org>
36284
36285 * manual/message.texi: Delete @cartouche tags.
36286
8bece752
PT
362872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36288
94ce799f
PT
36289 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36290 EOPNOTSUPP.
36291 * sysdeps/mach/hurd/fsync.c: Likewise.
36292
8bece752
PT
36293 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36294 [_POSIX_REALTIME_SIGNALS]: Change condition to
36295 [_POSIX_REALTIME_SIGNALS > 0].
36296
86ebe6b1
AJ
362972012-10-27 Andreas Jaeger <aj@suse.de>
36298
36299 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36300 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36302 [__WORDSIZE != 64]: Likewise.
36303
54399c08
L
363042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36305
36306 * iconvdata/tst-table.sh: Remove ${SHELL}.
36307 * iconvdata/tst-tables.sh: Likewise.
36308
e2211bed
DM
363092012-10-25 David S. Miller <davem@davemloft.net>
36310
36311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36312 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36313 of strtoull.
36314
f303f97c
DM
36315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36316 ifunc-impl-list.c
36317 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36318 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36319 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36320 file.
36321
1e9d84cd
RM
363222012-10-25 Roland McGrath <roland@hack.frob.com>
36323
36324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36325 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36326 __getdirentries.
36327
df381762
JM
363282012-10-25 Joseph Myers <joseph@codesourcery.com>
36329 Jim Blandy <jimb@codesourcery.com>
36330
36331 * scripts/cross-test-ssh.sh: New file.
36332 * manual/install.texi (Configuring and compiling): Document use of
36333 cross-test-ssh.sh.
36334 * INSTALL: Regenerated.
36335
bff64913
PT
363362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36337
36338 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36339 EOPNOTSUPP.
36340
25fe8932
JM
363412012-10-25 Joseph Myers <joseph@codesourcery.com>
36342
36343 * Makeconfig (run-program-prefix): Fix comment.
36344
cc1290d0
JM
363452012-10-24 Joseph Myers <joseph@codesourcery.com>
36346 Jim Blandy <jimb@codesourcery.com>
36347
36348 * Makeconfig (test-wrapper): New variable,
36349 (test-wrapper-env): Likewise.
36350 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36351 (run-built-tests): Define to yes.
36352 (run-program-prefix): Use $(test-wrapper).
36353 (built-program-cmd): Likewise.
36354 * Rules (make-test-out): Use $(test-wrapper-env) and
36355 $(host-built-program-cmd).
36356 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36357 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36358 tst-pathopt.sh.
36359 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36360 $(test-wrapper-env) to tst-rtld-load-self.sh.
36361 ($(objpfx)order2.out): Use $(test-wrapper).
36362 ($(objpfx)tst-initorder.out): Likewise.
36363 ($(objpfx)tst-initorder2.out): Likewise.
36364 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36365 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36366 (test_wrapper_env): New variable. Use it to run ld.so.
36367 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36368 Use it to run ld.so.
36369 (test_wrapper_env): Likewise.
36370 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36371 $(test-wrapper) to run-iconv-test.sh.
36372 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36373 (ICONV): Use $test_wrapper.
36374 * posix/Makefile ($(objpfx)globtest.out): Pass
36375 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36376 globtest.sh, not $(run-program-prefix).
36377 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36378 (test_wrapper): Likewise.
36379 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36380 set together with run_via_rtld_prefix.
36381 (run_program_prefix): Define in terms of test_wrapper and
36382 run_via_rtld_prefix.
36383
6e6249d0
RM
363842012-10-24 Roland McGrath <roland@hack.frob.com>
36385
36386 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36387 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36388 Targets removed.
36389
36390 [BZ #14743]
36391 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36392 Declare __clock_getres, __clock_gettime, __clock_settime,
36393 __clock_nanosleep, and __clock_getcpuclockid.
36394 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36395 Remove librt_hidden_def (clock_gettime).
36396 * sysdeps/unix/clock_gettime.c: Likewise.
36397 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36399 * rt/clock_getres.c: Define __clock_getres as an alias.
36400 * sysdeps/posix/clock_getres.c: Likewise.
36401 * rt/clock_settime.c: Define __clock_settime as an alias.
36402 * sysdeps/unix/clock_settime.c: Likewise.
36403 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36404 * sysdeps/unix/clock_nanosleep.c: Likewise.
36405 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36406 * rt/clock-compat.c: New file.
36407 * rt/Makefile (librt-routines): Add clock-compat and move
36408 $(clock-routines) to ...
36409 (routines): ... here, new variable.
36410 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36411 Don't add get_clockfreq here.
36412 * rt/Versions (libc: GLIBC_2.17): New version set.
36413 Add clock_* symbols here.
36414 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36416 (GLIBC_2.17): Add clock_* symbols.
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36421 Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36423 Likewise.
36424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36428 * NEWS: Mention the move.
36429
36430 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36431 Use __open, __read, __close rather than their public counterparts.
36432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36433 (__get_clockfreq_via_cpuinfo): Likewise.
36434 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36435 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36436
36437 * config.h.in (HAVE_IFUNC): New #undef.
36438 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36439 was successful.
36440 * configure: Regenerated.
36441
0cae3f4b
MF
364422012-10-24 Mike Frysinger <vapier@gentoo.org>
36443
36444 * configure.in: Move READELF check to start of file.
36445 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36446 libc_cv_asm_gnu_indirect_function in the process.
36447 * configure: Regenerated.
36448
8175a253
MF
364492012-10-24 Mike Frysinger <vapier@gentoo.org>
36450
36451 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36452 send the output to /dev/null.
36453 (libc_cv_cc_with_libunwind): Likewise.
36454 (libc_cv_as_noexecstack): Likewise.
36455 * configure: Regenerate.
36456
0708a7d1
JM
364572012-10-24 Joseph Myers <joseph@codesourcery.com>
36458
10b40d85
JM
36459 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36460
0708a7d1
JM
36461 * posix/globtest.sh (TMPDIR): Do not set.
36462 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36463 (testout): Likewise.
36464
9fddec1a
AJ
364652012-10-24 Andreas Jaeger <aj@suse.de>
36466
3a8db22f
AJ
36467 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36468 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36469 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36470 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36471 posix_fadvise64, posix_fallocate64.
36472
9fddec1a
AJ
36473 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36474 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36475 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36476 Likewise.
36477 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36478 Likewise.
36479 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36480
36481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36482 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36483 <bits/fcntl-linux.h>.
36484 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36485
36486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36487 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36488 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36489 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36490 [__WORDSIZE != 64]: Likewise.
36491
ebfd1bbd
JM
364922012-10-23 Joseph Myers <joseph@codesourcery.com>
36493
03ac099f
JM
36494 * Makeconfig (run-built-tests): New variable.
36495 * Rules [$(cross-compiling) = yes]: Change condition to
36496 [$(run-built-tests) = no].
36497 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36498 to [$(run-built-tests) = yes].
36499 * elf/Makefile [$(cross-compiling) = no]: Likewise
36500 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36501 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36502 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36503 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36504 * io/Makefile [$(cross-compiling) = no]: Likewise.
36505 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36506 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36507 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36508 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36509 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36510 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36511 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36512 * string/Makefile [$(cross-compiling) = no]: Likewise.
36513
ebfd1bbd
JM
36514 * posix/Makefile ($(objpfx)globtest.out): Pass
36515 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36516 $(rtld-installed-name).
36517 * posix/globtest.sh (elf_objpfx): Remove variable.
36518 (rtld_installed_name): Likewise.
36519 (library_path): Likewise.
36520 (run_program_prefix): New variable. Use for running globtest
36521 binary.
36522
166bca24
JB
365232012-10-23 Jim Blandy <jimb@codesourcery.com>
36524 Joseph Myers <joseph@codesourcery.com>
36525
36526 * Makeconfig (host-built-program-cmd): New variable.
36527 * elf/Makefile (tst-stackguard1-ARGS): Use
36528 $(host-built-program-cmd).
36529 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36530 (tst-spawn-ARGS): Likewise.
36531 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36532
88866099
JM
365332012-10-23 Joseph Myers <joseph@codesourcery.com>
36534 Jim Blandy <jimb@codesourcery.com>
36535
36536 * Makeconfig (run-via-rtld-prefix): New variable.
36537 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36538 (built-program-cmd): Likewise.
36539
b4b4c296
AJ
365402012-10-22 Andreas Jaeger <aj@suse.de>
36541
36542 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36543 __O_RSYNC if it exists, otherwise to O_SYNC.
36544
6fb54a22
JB
365452012-10-22 Jim Blandy <jimb@codesourcery.com>
36546 Joseph Myers <joseph@codesourcery.com>
36547
36548 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36549 /dev/null.
36550 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36551 from /dev/null
36552 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36553 /dev/null.
36554
481b90b9
AJ
365552012-10-22 Andreas Jaeger <aj@suse.de>
36556
2a0e2669
AJ
36557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36558 Define always.
36559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36560
76e38f9a
AJ
36561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36562 bits/fcntl-linux.h.
36563
7cd37b43
AJ
36564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36565 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36566
481b90b9
AJ
36567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36568 to __O_LARGEFILE.
36569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36570 to __O_LARGEFILE.
36571
aba75984
JB
365722012-10-21 Jim Blandy <jimb@codesourcery.com>
36573 Joseph Myers <joseph@codesourcery.com>
36574
36575 * config.make.in (NM): New variable.
36576
88d4247f
AJ
365772012-10-21 Andreas Jaeger <aj@suse.de>
36578
36579 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36580 definitions and declarations that are provided by
36581 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36582
f2eed205
L
365832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36584
36585 [BZ #14683]
36586 * elf/Makefile (tests-static): Add tst-leaks1-static.
36587 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36588 ($(objpfx)tst-leaks1-static): New rule.
36589 ($(objpfx)tst-leaks1-static-mem): Likewise.
36590 (tst-leaks1-static-ENV): New macro.
36591 * elf/dl-open.c (dl_open_worker): Check the main application
36592 only if SHARED is defined.
36593 * elf/tst-leaks1-static.c: New file.
36594
335e6931
AJ
365952012-10-20 Andreas Jaeger <aj@suse.de>
36596
36597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36598 generic values for Linux.
36599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36600 and declarations that are provided by <bits/fcntl-linux.h> and
36601 include <bits/fcntl-linux.h>.
36602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36604
ac5c94d3
RM
366052012-10-20 Roland McGrath <roland@hack.frob.com>
36606
36607 * io/fcntl.h: Move include of <bits/types.h> to the top and
36608 include it unconditionally.
36609
de54b33a
L
366102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36611
228cfb01
L
36612 * wcsmbs/Makefile (tests-ifunc): New variable.
36613 (tests): Add $(tests-ifunc).
36614 * wcsmbs/test-wcschr-ifunc.c: New file.
36615 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36616 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36617 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36618 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36619 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36620
69f07e5f
L
36621 * string/Makefile (tests-ifunc): New variable.
36622 (tests): Add $(tests-ifunc).
36623 * string/test-memccpy.c (TEST_NAME): New macro.
36624 * string/test-memchr.c (TEST_NAME): Likewise.
36625 * string/test-memcmp.c (TEST_NAME): Likewise.
36626 * string/test-memcpy.c (TEST_NAME): Likewise.
36627 * string/test-memmem.c (TEST_NAME): Likewise.
36628 * string/test-memmove.c (TEST_NAME): Likewise.
36629 * string/test-memset.c (TEST_NAME): Likewise.
36630 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36631 * string/test-stpcpy.c (TEST_NAME): Likewise.
36632 * string/test-stpncpy.c (TEST_NAME): Likewise.
36633 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36634 * string/test-strcasestr.c (TEST_NAME): Likewise.
36635 * string/test-strcat.c (TEST_NAME): Likewise.
36636 * string/test-strchr.c (TEST_NAME): Likewise.
36637 * string/test-strcmp.c(TEST_NAME): Likewise.
36638 * string/test-strcpy.c (TEST_NAME): Likewise.
36639 * string/test-strcspn.c (TEST_NAME): Likewise.
36640 * string/test-strlen.c (TEST_NAME): Likewise.
36641 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36642 * string/test-strncmp.c (TEST_NAME): Likewise.
36643 * string/test-strncpy.c (TEST_NAME): Likewise.
36644 * string/test-strnlen.c (TEST_NAME): Likewise.
36645 * string/test-strpbrk.c (TEST_NAME): Likewise.
36646 * string/test-strrchr.c (TEST_NAME): Likewise.
36647 * string/test-strspn.c (TEST_NAME): Likewise.
36648 * string/test-strstr.c (TEST_NAME): Likewise.
36649 * string/test-bcopy-ifunc.c: New file.
36650 * string/test-bzero-ifunc.c: Likewise.
36651 * string/test-memccpy-ifunc.c: Likewise.
36652 * string/test-memchr-ifunc.c: Likewise.
36653 * string/test-memcmp-ifunc.c: Likewise.
36654 * string/test-memcpy-ifunc.c: Likewise.
36655 * string/test-memmem-ifunc.c: Likewise.
36656 * string/test-memmove-ifunc.c: Likewise.
36657 * string/test-mempcpy-ifunc.c: Likewise.
36658 * string/test-memset-ifunc.c: Likewise.
36659 * string/test-rawmemchr-ifunc.c: Likewise.
36660 * string/test-stpcpy-ifunc.c: Likewise.
36661 * string/test-stpncpy-ifunc.c: Likewise.
36662 * string/test-strcasecmp-ifunc.c: Likewise.
36663 * string/test-strcasestr-ifunc.c: Likewise.
36664 * string/test-strcat-ifunc.c: Likewise.
36665 * string/test-strchr-ifunc.c: Likewise.
36666 * string/test-strchrnul-ifunc.c: Likewise.
36667 * string/test-strcmp-ifunc.c: Likewise.
36668 * string/test-strcpy-ifunc.c: Likewise.
36669 * string/test-strcspn-ifunc.c: Likewise.
36670 * string/test-strlen-ifunc.c: Likewise.
36671 * string/test-strncasecmp-ifunc.c: Likewise.
36672 * string/test-strncat-ifunc.c: Likewise.
36673 * string/test-strncmp-ifunc.c: Likewise.
36674 * string/test-strncpy-ifunc.c: Likewise.
36675 * string/test-strnlen-ifunc.c: Likewise.
36676 * string/test-strpbrk-ifunc.c: Likewise.
36677 * string/test-strrchr-ifunc.c: Likewise.
36678 * string/test-strspn-ifunc.c: Likewise.
36679 * string/test-strstr-ifunc.c: Likewise.
36680
de54b33a
L
36681 * debug/Makefile (tests-ifunc): New variable.
36682 (tests): Add $(tests-ifunc).
36683 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36684 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36685 * debug/test-stpcpy_chk-ifunc.c: New file.
36686 * debug/test-strcpy_chk-ifunc.c: Likewise.
36687
88481c16
SP
366882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36689
36690 [BZ #13601]
36691 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36692 header is not read in.
36693
135948bd
JM
366942012-10-19 Joseph Myers <joseph@codesourcery.com>
36695
89f1c388
JM
36696 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36697 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36698 directly. Pass built executable to script as
36699 $(built-program-cmd).
36700 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36701 $testprogram without using LD_LIBRARY_PATH and $ldso.
36702
e40a0d21
JM
36703 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36704 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36705 $(rtld-installed-name).
36706 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36707 (rtld_installed_name): Likewise.
36708 (library_path): Likewise.
36709 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36710 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36711 $(run-program-prefix) to tst-tables.sh.
36712 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36713 it to run tst-table-from and tst-table-to.
36714 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36715 Pass it to tst-table.sh.
36716 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36717 $(run-program-prefix) to tst-gettext.sh.
36718 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36719 tst-translit.sh.
36720 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36721 tst-gettext2.sh.
36722 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36723 to run tst-gettext.
36724 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36725 to run tst-gettext2.
36726 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36727 to run tst-translit.
36728 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36729 $(run-program-prefix) to tst-mtrace.sh.
36730 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36731 to run tst-mtrace.
36732 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36733 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36734 $(rtld-installed-name).
36735 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36736 (rtld_installed_name): Likewise.
36737 (run_program_prefix): New variable. Use it to run wordexp-test.
36738
728e272a
JM
36739 * Makeconfig (ARCH): Remove all definitions.
36740 (machine): Likewise.
36741 [ARCH]: Remove conditional code.
36742 [!objdir]: Give error.
36743 [!objdir] (objpfx): Remove.
36744 [!objdir] (common-objpfx): Likewise.
36745 [!objdir] (common-objdir): Likewise.
36746 * configure.in (config_makefile): Remove. Hardcode Makefile in
36747 AC_CONFIG_FILES call.
36748 * configure: Regenerated.
36749
d528cdcf
JM
36750 [BZ #13888]
36751 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36752 or TMPDIR.
36753 (testout): Likewise.
36754
135948bd
JM
36755 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36756 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36757 $(rtld-installed-name).
36758 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36759 (rtld_installed_name): Likwise.
36760 (runit): Remove function.
36761 (run_getconf): New variable, Use it for running getconf binary.
36762
38c78296
L
367632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36764
36765 [BZ #14716]
36766 * string/test-memmem.c (check_result): New function.
36767 (do_one_test): Use it.
36768 (check1): New function.
36769 (test_main): Use it.
36770
d077f65f
MT
367712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36772
36773 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36774
ced52c71
JM
367752012-10-18 Joseph Myers <joseph@codesourcery.com>
36776
36777 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36778 (_G_LSEEK64): Likewise.
36779 (_G_MMAP64): Likewise.
36780 (_G_FSTAT64): Likewise.
36781 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36782 (_G_LSEEK64): Likewise.
36783 (_G_MMAP64): Likewise.
36784 (_G_FSTAT64): Likewise.
36785 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36786 unconditional. Call __mmap64 directly.
36787 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36788 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36789 __lseek64 directly.
36790 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36791 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36792 __mmap64 directly.
36793 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36794 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36795 __lseek64 directly.
36796 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36797 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36798 __lseek64 directly.
36799 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36800 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36801 __lseek64 directly.
36802 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36803 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36804 __fxstat64 directly.
36805 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36806 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36807 unconditional.
36808 (freopen64) [!_G_OPEN64]: Remove conditional code.
36809 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36810 unconditional.
36811 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36812 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36813 unconditional.
36814 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36815 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36816 unconditional.
36817 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36818 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36819 unconditional.
36820 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36821 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36822 unconditional.
36823 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36824 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36825 unconditional.
36826 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36827 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36828 unconditional.
36829 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36830
b741de23
SP
368312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36832
36833 [BZ #12140]
36834 * manual/memory.texi (Malloc Tunable Parameters): Add note
36835 about free list pointers overwriting some perturb bytes.
36836 Wording suggested by Roland McGrath.
36837
f9b9d9c9
JM
368382012-10-17 Joseph Myers <joseph@codesourcery.com>
36839
36840 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36841 (lgamma_test): Likewise.
36842 (tgamma_test): Likewise.
36843
172a631a
FW
368442012-10-16 Florian Weimer <fweimer@redhat.com>
36845
36846 [BZ #14700]
36847 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36848 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36849
e9f37252
MK
368502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36851
36852 * NEWS: Mention BZ #14716.
36853 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36854 when removing AVAILABLE1_USES_J macro.
36855
d394eb74
L
368562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36859 (__bswap_64): __uint64_t for unsigned 64-bit int.
36860
ca38dc17
AS
368612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36862
36863 * include/string.h (memmem): Declare libc hidden alias.
36864 * string/memmem.c (memmem): Define libc hidden alias.
36865 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36866 __read, __close instead of open, read, close.
36867
9a387d1f
L
368682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36869
ac49ecaf
L
36870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36871 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36872 global and hidden.
36873 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36874 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36875 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36876 Likewise.
36877 (__rawmemchr_sse2): Likewise.
36878 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36879 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36880 (__strchr_sse2): Likewise.
36881 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36882 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36883 (__strcasecmp_sse2): Likewise.
36884 (__strncasecmp_sse2): Likewise.
36885 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36886 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36887 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36888 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36889 (__strrchr_sse2): Likewise.
36890 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36891 ifunc-impl-list.c.
36892 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36893 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36894 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36895 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36896 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36897 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36898 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36899 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36900 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36901 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36902 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36903 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36904 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36905 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36906 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36907 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36908 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36909 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36910 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36911 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36912 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36913 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36914 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36915 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36916 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36917 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36918 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36919 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36920 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36921 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36922
b090e8ea
L
36923 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36924 global and hidden.
36925 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36926 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36927 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36928 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36929 Likewise.
36930 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36931 Likewise.
36932 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36933 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36934 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36935 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36936 ifunc-impl-list.c.
36937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36939 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36940 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36941 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36942 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36943 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36944 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36945 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36946 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36953 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36954 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36955 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36956 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36957 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36960 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36962 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36963 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36964 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36965 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36966 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36967 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36968 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36969 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36970 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36977 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36978
11dd4af6
L
36979 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36980 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36981 * include/ifunc-impl-list.h: New file.
36982 * misc/ifunc-impl-list.c: Likewise.
36983 * misc/Makefile (routines): Add ifunc-impl-list.
36984 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36985 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36986 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36987 TEST_NAME]: New variables.
11dd4af6
L
36988 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36989 are defined.
36990 (test_init): Call __libc_ifunc_impl_list to initialize
36991 func_list if TEST_IFUNC and TEST_NAME are defined.
36992
9a387d1f
L
36993 * string/Makefile (strop-tests): Add bcopy and bzero.
36994 * string/test-bcopy.c: New file.
36995 * string/test-bzero.c: Likewise.
36996 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36997 defined.
36998 * string/test-memset.c: Support bzero test if TEST_BZERO is
36999 defined.
37000 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37001 __libc_memmove.
37002 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37003 __libc_memset.
37004 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37005 of memset.
37006
472371b9
JM
370072012-10-10 Joseph Myers <joseph@codesourcery.com>
37008
1e4a9536
JM
37009 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37010 * configure: Regenerated.
37011
d173d12e
JM
37012 * Makeconfig (+link-static-before-libc): Don't include
37013 $(link-static-libc).
37014
472371b9
JM
37015 * libio/libio.h (_IO_pos_t): Remove.
37016
89a3ad0b
AO
370172012-10-10 Alexandre Oliva <aoliva@redhat.com>
37018
37019 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37020 McGrath.
37021
e7451425
AO
370222012-10-10 Alexandre Oliva <aoliva@redhat.com>
37023
37024 * crypt/crypt-entry.c: Include fips-private.h.
37025 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37026 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37027 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37028 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37029
4ba74a35
AO
370302012-10-10 Alexandre Oliva <aoliva@redhat.com>
37031
37032 * crypt/crypt-private.h: Include stdbool.h.
37033 (_ufc_setup_salt_r): Return bool.
37034 * crypt/crypt-entry.c: Include errno.h.
37035 (__crypt_r): Return NULL with EINVAL for bad salt.
37036 * crypt/crypt_util.c (bad_for_salt): New.
37037 (_ufc_setup_salt_r): Check that salt is long enough and within
37038 the specified alphabet.
37039 * crypt/badsalttest.c: New file.
37040 * crypt/Makefile (tests): Add it.
37041 ($(objpfx)badsalttest): New.
37042
f96f1242
MK
370432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37044
37045 * NEWS: Add entry for BZ #14602.
37046
0e8e0c1c
JM
370472012-10-09 Joseph Myers <joseph@codesourcery.com>
37048
37049 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37050 type-generic.
37051 * math/libm-test.inc: Update comment listing what functions and
37052 macros are tested.
37053 (isgreater_test): New function.
37054 (isgreaterequal_test): Likewise.
37055 (isless_test): Likewise.
37056 (islessequal_test): Likewise.
37057 (islessgreater_test): Likewise.
37058 (isunordered_test): Likewise.
37059 (main): Call the new functions.
37060
273edc5e
RM
370612012-10-09 Roland McGrath <roland@hack.frob.com>
37062
b8493de0
RM
37063 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37064 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37065 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37066 * sysdeps/i386/configure: Regenerated.
37067 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37068 * sysdeps/mach/configure: Regenerated.
37069 * sysdeps/mach/hurd/configure: Regenerated.
37070 * sysdeps/powerpc/configure: Regenerated.
37071 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37072 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37073 * sysdeps/s390/s390-32/configure: Regenerated.
37074 * sysdeps/s390/s390-64/configure: Regenerated.
37075 * sysdeps/sh/configure: Regenerated.
37076 * sysdeps/sparc/configure: Regenerated.
37077 * sysdeps/unix/sysv/linux/configure: Regenerated.
37078 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37079 * sysdeps/x86_64/configure: Regenerated.
37080
273edc5e
RM
37081 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37082 defined. Don't check if MAP is NULL.
37083
c8450f70
JM
370842012-10-09 Joseph Myers <joseph@codesourcery.com>
37085
37086 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37087 (_G_stat64): Likewise.
37088 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37089 (_G_stat64): Likewise.
37090 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37091 instead of struct _G_stat64.
37092 * libio/fileops.c (mmap_remap_check): Likewise.
37093 (decide_maybe_mmap): Likewise.
37094 (_IO_new_file_seekoff): Likewise.
37095 (_IO_file_stat): Likewise.
37096 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37097 _G_off64_t.
37098 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37099 instead of struct _G_stat64.
37100 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37101
57e605ba
MK
371022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37103
37104 [BZ #14602]
37105 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37106 Replace with ...
37107 (CHECK_EOL): New macro.
37108 (two_way_short_needle): Check beginning of haystack for EOL. Use
37109 CHECK_EOL.
37110 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37111 Replace with CHECK_EOL.
37112 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37113 Replace with CHECK_EOL.
37114
ef1bb361
JM
371152012-10-08 Joseph Myers <joseph@codesourcery.com>
37116
37117 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37118 type-generic.
37119 * math/libm-test.inc: Update comment listing what functions and
37120 macros are tested.
37121 (finite_test): New function.
37122 (isinf_test): Likewise.
37123 (isnan_test): Likewise.
37124 (fpclassify_test): Test subnormal input.
37125 (isfinite_test): Likewise.
37126 (isnormal_test): Likewise.
37127 (main): Call the new functions.
37128
55f11534
JN
371292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37130
37131 [BZ #14660]
37132 * Makerules (%.dynsym): Force C locale when running
37133 $(OBJDUMP) --dynamic-syms.
37134
1ab29350
AS
371352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37136
37137 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37138 <stdint.h>.
37139
f1ecb7ef
DM
371402012-10-06 David S. Miller <davem@davemloft.net>
37141
37142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37143 upper 32-bits of the length value in %o2 since we use branch-on-register
37144 tests which consider the entire 64-bit register.
37145
5d41d91a
L
371462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37147
37148 * string/test-strstr.c (check2): Add a test for page boundary.
37149
3baddb72
DM
371502012-10-05 David S. Miller <davem@davemloft.net>
37151
37152 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37153 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37154 file.
37155 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37156 sysdep_routines.
37157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37158 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37159 and bzero when HWCAP_SPARC_CRYPTO is present.
37160
9cee5585
L
371612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37162
d7e0dab9
L
37163 [BZ #14602]
37164 * string/test-strstr.c (check2): New function.
37165 (test_main): Call check2.
37166
03759f47
L
37167 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37168 and bug-strchr1.
37169 * string/bug-strcasestr1.c (do_test): Moved to ...
37170 * string/test-strcasestr.c (check1): Here. New function.
37171 (do_one_test): Break out result checking code into ...
37172 (check_result): This. New function.
37173 (do_one_test): Call check_result.
37174 (test_main): Call check1.
37175 * string/bug-strchr1.c (do_test): Moved to ...
37176 * string/test-strchr.c (check1): Here. New function.
37177 (do_one_test): Break out result checking code into ...
37178 (check_result): This. New function.
37179 (do_one_test): Call check_result.
37180 (test_main): Call check1.
37181 * string/bug-strstr1.c (main): Moved to ...
046f153e 37182 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37183 (do_one_test): Break out result checking code into ...
37184 (check_result): This. New function.
37185 (do_one_test): Call check_result.
37186 (test_main): Call check1.
37187 * string/bug-strcasestr1.c: Removed.
37188 * string/bug-strchr1.c: Likewise.
37189 * string/bug-strstr1.c: Likewise.
37190
53cea63e
L
37191 * elf/Makefile (dl-routines): Add hwcaps.
37192 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37193 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37194 (_dl_important_hwcaps): Moved to ...
37195 * elf/dl-hwcaps.c: Here. New file.
37196 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37197
9cee5585 37198 [BZ #14557]
bb859b06
L
37199 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37200 if IS_IN_rtld isn't defined.
37201
9cee5585
L
37202 * elf/dl-support.c (_dl_sysinfo_map): New.
37203 Include "get-dynamic-info.h" and "setup-vdso.h".
37204 (_dl_non_dynamic_init): Call setup_vdso.
37205 * elf/dynamic-link.h: Don't include <assert.h>.
37206 (elf_get_dynamic_info): Moved to ...
37207 * elf/get-dynamic-info.h: Here. New file.
37208 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37209 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37210 * elf/setup-vdso.h: Here. New file.
37211 * elf/rtld.c: Include "setup-vdso.h".
37212 (dl_main): Call setup_vdso.
37213
23c31b76
JM
372142012-10-05 Joseph Myers <joseph@codesourcery.com>
37215
28234b07
JM
37216 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37217 creal in comment listing functions tested. List finite, isinf,
37218 isnan, isless, islessequal, isgreater, isgreaterequal,
37219 islessgreater, isunordered, lgamma_r and pow10 as functions and
37220 macros not tested. Mention which functions not tested are aliases
37221 for other functions. Fix typo. Note that signs of NaNs are not
37222 tested.
37223
23c31b76
JM
37224 * scripts/config.guess: Update from config.git.
37225 * scripts/config.sub: Likewise.
37226
9043e228
RM
372272012-10-04 Roland McGrath <roland@hack.frob.com>
37228
37229 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37230 * misc/madvise.c (madvise): Renamed to __madvise.
37231 Make madvise a weak alias.
37232 * include/sys/mman.h: Declare __madvise.
37233 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37234 * sysdeps/unix/syscalls.list
37235 (madvise): Make __madvise the strong name, and madvise a weak alias.
37236 * sysdeps/unix/sysv/linux/syscalls.list
37237 (madvise, mmap): Remove redundant entries.
37238 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37239 * malloc/malloc.c (mtrim): Likewise.
37240 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37241
f57f8055
RM
372422012-10-03 Roland McGrath <roland@hack.frob.com>
37243
37244 * sysdeps/mach/hurd/dl-cache.c: File removed.
37245 * config.h.in (USE_LDCONFIG): New #undef.
37246 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37247 * configure: Regenerated.
37248 * elf/Makefile (dl-routines): Add dl-cache only under
37249 [$(use-ldconfig) = yes].
37250 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37251 cache on [USE_LDCONFIG].
37252 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37253 [USE_LDCONFIG].
37254 * elf/rtld.c (dl_main): Likewise.
37255
5bb0c10a
PT
372562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37257
37258 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37259 _SC_LEVEL4_CACHE_LINESIZE.
37260
010188c6
RM
372612012-10-03 Roland McGrath <roland@hack.frob.com>
37262
37263 * sysdeps/unix/bsd/confstr.h: File removed.
37264
b6c5ec07
AO
372652012-10-02 Alexandre Oliva <aoliva@redhat.com>
37266
37267 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37268 sys/sdt-config.h.
37269
408223d4
RM
372702012-10-02 Roland McGrath <roland@hack.frob.com>
37271
37272 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37273 Make 'mapoff' field ElfW(Off) rather than off_t.
37274
bb9510dc
DL
372752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37276
fc997c6e
DL
37277 * nscd/Makefile: Remove nscd-cflags and all its users.
37278 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37279 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37280
bb9510dc
DL
37281 [BZ #10631]
37282 * malloc.c (malloc_printerr): Clarify error message.
37283
05699367
L
372842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37285
37286 [BZ #14648]
37287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37288 Set bit_FMA_Usable if FMA is supported.
37289 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37290 macro.
37291 (bit_FMA4_Usable): Updated.
37292 (index_FMA_Usable): New macro.
37293 (CPUID_FMA): Likewise
37294 (HAS_FMA): Defined with bit_FMA_Usable.
37295
51367701
RM
372962012-10-01 Roland McGrath <roland@hack.frob.com>
37297
37298 * bits/types.h (__swblk_t): Type removed.
37299 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37300 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37302 (__SWBLK_T_TYPE): Likewise.
37303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37304 (__SWBLK_T_TYPE): Likewise.
37305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37306 (__SWBLK_T_TYPE): Likewise.
37307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37308 (__SWBLK_T_TYPE): Likewise.
37309
4d57bf63 373102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37311 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37312
37313 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37314 (xdr_mapname): Use YPMAXMAP as maxsize.
37315 (xdr_peername): Use YPMAXPEER as maxsize.
37316 (xdr_keydat): Use YPAXRECORD as maxsize.
37317 (xdr_valdat): Use YPMAXRECORD as maxsize.
37318
93c65d43
RM
373192012-10-01 Roland McGrath <roland@hack.frob.com>
37320
497a03d6
RM
37321 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37322
93c65d43
RM
37323 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37324 * csu/init-first.c: ... here.
37325 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37326 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37327 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37328 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37329 * sysdeps/i386/init-first.c: File removed.
37330 * sysdeps/sh/init-first.c: File removed.
37331
bec749fd
JM
373322012-10-01 Joseph Myers <joseph@codesourcery.com>
37333
37334 [BZ #14645]
37335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37336 if x * y might underflow to zero and z is zero.
37337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37339 * math/libm-test.inc (min_subnorm_value): New variable.
37340 (fma_test): Add more tests.
37341 (fma_test_towardzero): Likewise.
37342 (fma_test_downward): Likewise
37343 (fma_test_upward): Likewise.
37344 (initialize): Set min_subnorm_value.
37345
8ec5b013
JM
373462012-09-29 Joseph Myers <joseph@codesourcery.com>
37347
37348 [BZ #14638]
37349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37350 0 + 0.
37351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37352 mode for addition resulting in exact zero.
37353 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37355 exact 0 + 0.
37356 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37358 * math/libm-test.inc (fma_test): Add more tests.
37359 (fma_test_towardzero): New function.
37360 (fma_test_downward): Likewise.
37361 (fma_test_upward): Likewise.
37362 (main): Call the new functions.
37363
b1fa802e
DM
373642012-09-28 David S. Miller <davem@davemloft.net>
37365
37366 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37367
d3b9fd9e
RM
373682012-09-28 Roland McGrath <roland@hack.frob.com>
37369
ea4d37b3
RM
37370 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37371 instead of SIGALRM.
37372
ac51c949
RM
37373 * sysdeps/gnu/_G_config.h: Moved to ...
37374 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37375 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37376 * sysdeps/generic/_G_config.h: ... here.
37377
28c195f7
RM
37378 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37379
848917f9
RM
37380 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37381
6bacf05b
RM
37382 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37383 Conditionalize target on [libnss_test1.so-version].
37384
91363dbb
RM
37385 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37386
cc87f7d8
RM
37387 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37388 (elfobjdir): Move out of conditionals.
37389
b1c608fe
RM
37390 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37391 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37392 (__nss_lookup_function): Conditionalize label remove_from_tree on
37393 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37394
1d9a6d96
DM
373952012-09-28 David S. Miller <davem@davemloft.net>
37396
37397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37398 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37399 file.
37400 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37401 sysdep_routines.
37402 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37404 when HWCAP_SPARC_CRYPTO is present.
37405
72581615
PT
374062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37407
37408 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37409
715a900c
JL
374102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37411
37412 [BZ #6530]
37413 * stdio-common/vfprintf.c (process_string_arg): Revert
37414 2000-07-22 change.
37415
374162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37417
37418 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37419 for testcase.
37420 * stdio-common/tst-sprintf.c: Include <locale.h>
37421 (main): Test sprintf's handling of incomplete multibyte
37422 characters.
37423
9bac1d86
L
374242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37425
37426 * elf/dl-runtime.c (VERSYMIDX): Removed.
37427 * elf/dl-version.c (VERSYMIDX): Likewise.
37428 * elf/do-rel.h (VERSYMIDX): Likewise.
37429 (VALIDX): Likewise.
37430 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37431 * elf/rtld.c (VALIDX): Likewise.
37432 (ADDRIDX): Likewise.
9bac1d86
L
37433 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37434 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37435 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37436 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37437 (VALIDX): Likewise.
37438 (ADDRIDX): Likewise.
9bac1d86 37439
b31606c0
PT
374402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37441
37442 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37443
11541177
JL
374442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37445
37446 [BZ #11438]
37447 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37448 to global scope.
37449 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37450 addresses are in the same scope as 192.0.2/24.
37451 * posix/gai.conf: Document new scope table defaults.
37452
adb26fae
SP
374532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37454
37455 [BZ #5298]
37456 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37457 for ftell. Compute offsets from write pointers instead.
37458 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37459
4573c6b0
SP
374602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37461
37462 [BZ #14543]
37463 * libio/Makefile (tests): New test case tst-fseek.
37464 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37465 combination works in wide mode.
37466 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37467 state when the external buffer state changes.
37468
aa9bbfe6
DM
374692012-09-27 David S. Miller <davem@davemloft.net>
37470
37471 [BZ #14376]
37472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37473 pass reloc->r_addend in as the 'high' argument to
37474 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37475
784421e7
DM
37476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37477
c39bc8b8
PT
374782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37479
37480 * rt/tst-aio2.c: Include <pthread.h>.
37481 * rt/tst-aio3.c: Likewise.
37482
1ccc2399
SE
374832012-09-27 Steve Ellcey <sellcey@mips.com>
37484
37485 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37486
31ed4153
L
374872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37488
25f5f885
L
37489 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37490 contents on [SHARED].
31ed4153 37491
b7bfe116
MP
374922012-09-26 Marek Polacek <polacek@redhat.com>
37493
37494 [BZ #14530]
37495 [BZ #13741]
37496 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37497 for C++ and GCC <4.3 as well as for non GCC compilers.
37498
43c4edba
MT
374992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37500
37501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37502
6a1bf82f
RM
375032012-09-25 Roland McGrath <roland@hack.frob.com>
37504
37505 * Makefile.in (all, install): Declare with .PHONY.
37506 Reported by Michael Hope <michael.hope@linaro.org>.
37507
8ad11b9a
TMQMF
375082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37509
37510 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37511 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37512 system header.
37513 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37514 Likewise.
37515 (sydep_routines): Add the new and the internal functions.
37516 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37517 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37519 (GLIBC_2.17): Add the new function.
37520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37521 (GLIBC_2.17): Likewise.
37522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37523 (GLIBC_2.17): Likewise.
37524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37525 (GLIBC_2.17): Likewise.
37526 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37527
7e2fca8d
AM
375282012-09-25 Alan Modra <amodra@gmail.com>
37529
37530 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37531 Add release barrier before setting once_control to say
37532 initialisation is done. Add hints on lwarx. Use macro in
37533 place of isync.
37534 (clear_once_control): Add release barrier.
37535
b87c4b24
JM
375362012-09-25 Joseph Myers <joseph@codesourcery.com>
37537
d032e0d2
JM
37538 [BZ #13629]
37539 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37540 specially.
37541 * math/s_clog10.c (__clog10): Likewise.
37542 * math/s_clog10f.c (__clog10f): Likewise.
37543 * math/s_clog10l.c (__clog10l): Likewise.
37544 * math/s_clogf.c (__clogf): Likewise.
37545 * math/s_clogl.c (__clogl): Likewise.
37546 * math/Makefile (libm-calls): Add x2y2m1.
37547 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37548 (__x2y2m1): Likewise.
37549 (__x2y2m1l): Likewise.
37550 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37551 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37552 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37553 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37554 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37555 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37556 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37557 * sysdeps/i386/fpu/libm-test-ulps: Update.
37558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37559
b87c4b24
JM
37560 [BZ #14621]
37561 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37562 int as type of variable DEPTH.
37563 (glob): Use size_t instead of int as type of variables NEWCOUNT
37564 and OLD_PATHC.
37565
6d3bf199
LD
375662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37567
22bf5c17
LD
37568 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37569 Add s_sincosf-sse2.
37570 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37571 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37572 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37573 macros for using routine as __sincosf_ia32.
37574 Use macro for function declaration and weak_alias.
37575 * sysdeps/i386/fpu/libm-test-ulps: Update.
37576
37577 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37579
37580 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37581 subnormal argument.
37582 * math/s_cexpf.c (__cexpf): Likewise.
37583 * math/s_csinf.c (__csinf): Likewise.
37584 * math/s_csinhf.c (__csinhf): Likewise.
37585 * math/s_ctanf.c (__ctanf): Likewise.
37586 * math/s_ctanhf.c (__ctanhf): Likewise.
37587 * math/s_ccosh.c (__ccoshf): Likewise.
37588 * math/s_cexp.c (__cexpl): Likewise.
37589 * math/s_csin.c (__csin): Likewise.
37590 * math/s_csinh.c (__csinh): Likewise.
37591 * math/s_ctan.c (__ctan): Likewise.
37592 * math/s_ctanh.c (ctanh): Likewise.
37593 * math/s_ccoshl.c (__ccoshl): Likewise.
37594 * math/s_cexpl.c (__cexpl): Likewise.
37595 * math/s_csinl.c (__csinl): Likewise.
37596 * math/s_csinhl.c (__csinhl): Likewise.
37597 * math/s_ctanl.c (__ctanl): Likewise.
37598 * math/s_ctanhl.c (__ctanhl): Likewise.
37599
203e5603
JM
376002012-09-25 Joseph Myers <joseph@codesourcery.com>
37601
37602 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37603 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37604 (_IO_off_t): Define to __off_t, not _G_off_t.
37605 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37606 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37607 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37608 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37609 type of __dummy and __dummy2 fields.
37610 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37611 (_G_ssize_t): Likewise.
37612 (_G_off_t): Likewise.
37613 (_G_pid_t): Likewise.
37614 (_G_uid_t): Likewise.
37615 (_G_wchar_t): Likewise.
37616 (_G_wint_t): Likewise.
37617 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37618 (_G_ssize_t): Likewise.
37619 (_G_off_t): Likewise.
37620 (_G_pid_t): Likewise.
37621 (_G_uid_t): Likewise.
37622 (_G_wchar_t): Likewise.
37623 (_G_wint_t): Likewise.
37624 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37625 (_G_ssize_t): Likewise.
37626 (_G_off_t): Likewise.
37627 (_G_pid_t): Likewise.
37628 (_G_uid_t): Likewise.
37629 (_G_wchar_t): Likewise.
37630 (_G_wint_t): Likewise.
37631
9fab36eb
SP
376322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37633
37634 * malloc/arena.c: Include malloc-sysdep.h.
37635 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37636 is sufficient to shrink the heap or an unmap is needed.
37637 * sysdeps/generic/malloc-sysdep.h: New file. Define
37638 new function check_may_shrink_heap.
37639 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37640 new function check_may_shrink_heap.
37641
2b4f00d1
SP
376422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37643
37644 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37645 comments.
37646
9a9028b1
DL
376472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37648
57c69bef
DL
37649 * catgets/test-gencat.sh: Add "set -e".
37650 * elf/tst-pathopt.sh: Likewise.
37651 * grp/tst_fgetgrent.sh: Likewise.
37652 * iconvdata/run-iconv-test.sh: Likewise.
37653 * intl/tst-gettext.sh: Likewise.
37654 * intl/tst-gettext2.sh: Likewise.
37655 * intl/tst-gettext4.sh: Likewise.
37656 * intl/tst-gettext6.sh: Likewise.
37657 * intl/tst-translit.sh: Likewise.
37658 * io/ftwtest-sh: Likewise.
37659 * libio/test-freopen.sh: Likewise.
37660 * malloc/tst-mtrace.sh: Likewise.
37661 * posix/globtest.sh: Likewise.
37662 * posix/tst-getconf.sh: Likewise.
37663 * posix/wordexp-tst.sh: Likewise.
37664 * stdio-common/tst-printf.sh: Likewise.
37665 * stdio-common/tst-unbputc.sh: Likewise.
37666 * stdlib/tst-fmtmsg.sh: Likewise.
37667 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37668 * catgets/Makefile: Do not specify -e option when running
37669 testsuite shell scripts.
37670 * elf/Makefile: Likewise.
37671 * grp/Makefile: Likewise.
37672 * iconvdata/Makefile: Likewise.
37673 * intl/Makefile: Likewise.
37674 * io/Makefile: Likewise.
37675 * libio/Makefile: Likewise.
37676 * malloc/Makefile: Likewise.
37677 * posix/Makefile: Likewise.
37678 * stdio-common/Makefile: Likewise.
37679 * stdlib/Makefile: Likewise.
37680 * sysdeps/x86_64/Makefile: Likewise.
37681
9a9028b1
DL
37682 * io/ftwtest-sh: Add copyright header.
37683 * posix/globtest.sh: Likewise.
37684 * posix/tst-getconf.sh: Likewise.
37685 * posix/wordexp-tst.sh: Likewise.
37686 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37687
ced6f16e
L
376882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37689
94b32c39
L
37690 [BZ #13679]
37691 * Makeconfig (+link): Defined as $(+link-static) if
37692 $(build-shared) isn't yes.
37693 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37694 isn't yes.
37695 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37696
189e935b
L
37697 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37698
ced6f16e
L
37699 [BZ #14562]
37700 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37701 new chunk size with MALLOC_ALIGN_MASK.
37702
a9f8e53a
JM
377032012-09-24 Joseph Myers <joseph@codesourcery.com>
37704
37705 [BZ #5044]
37706 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37707 <rounding-mode.h>.
37708 (__printf_fphex): Determine rounding using get_rounding_mode and
37709 round_away.
37710 * stdio-common/tst-printf-round.c (struct hex_test): New
37711 structure.
37712 (hex_tests): New variable.
37713 (test_hex_in_one_mode): New function.
37714 (do_test): Also run tests for hex float output.
37715
43153109
JM
377162012-09-21 Joseph Myers <joseph@codesourcery.com>
37717
37718 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37719 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37720 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37721 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37722 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37723 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37724 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37725 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37726
8a26625d
JM
377272012-09-20 Joseph Myers <joseph@codesourcery.com>
37728
37729 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37730 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37731 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37732 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37733
f3fd569c
DL
377342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37735
37736 [BZ #14579]
37737 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37738 mode only.
37739 * elf/tst-rtld-load-self.sh: New test.
37740 * elf/Makefile: Run it.
37741
63bbedd4
JM
377422012-09-18 Joseph Myers <joseph@codesourcery.com>
37743
37744 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37745 (tst-writev-ENV): Remove.
37746 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37747
626f8b6a
CM
377482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37749
37750 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37751
b7aaa4d6
JM
377522012-09-17 Joseph Myers <joseph@codesourcery.com>
37753
37754 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37755 unconditional.
37756 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37757 Likewise.
37758 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37759 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37760 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37761 Likewise.
37762
65513990
L
377632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37764
37765 [BZ #14587]
37766 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37767 * config.make.in (have-cpp-asm-debuginfo): Removed.
37768 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37769 * configure: Regenerated.
37770
784761be
JM
377712012-09-14 Joseph Myers <joseph@codesourcery.com>
37772
37773 [BZ #5044]
37774 * stdio-common/printf_fp.c: Include <stdbool.h> and
37775 <rounding-mode.h>.
37776 (___printf_fp): Determine rounding using get_rounding_mode and
37777 round_away.
37778 * stdio-common/tst-printf-round.c: New file.
37779 * stdio-common/Makefile (tests): Add tst-printf-round.
37780 (link-libm): New variable.
37781 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37782
9503345f
L
377832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37784
37785 [BZ #14576]
37786 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37787 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37788 Likewise.
37789 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37790 Likewise.
37791
ad35fc00
JM
377922012-09-13 Joseph Myers <joseph@codesourcery.com>
37793
37794 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37795 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37796 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37797 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37798
6c9b0f68
JM
377992012-09-12 Joseph Myers <joseph@codesourcery.com>
37800
37801 [BZ #14518]
37802 * include/rounding-mode.h: New file.
37803 * sysdeps/generic/get-rounding-mode.h: Likewise.
37804 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37805 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37806 (MAX_VALUE): New macro.
37807 (MIN_VALUE): Likewise.
37808 (overflow_value): New function.
37809 (underflow_value): Likewise.
37810 (round_and_return): Use overflow_value and underflow_value to
37811 determine return values in overflow and underflow cases. Use
37812 round_away to determine rounding depending on rounding mode.
37813 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37814 determine return values in overflow and underflow cases.
37815 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37816 (struct test_results): New structure.
37817 (struct test): Use struct test_results to store expected results
37818 for all rounding modes.
37819 (TEST): Include expected results for all rounding modes.
37820 (test_in_one_mode): New function.
37821 (do_test): Use test_in_one_mode to compute and check results.
37822 Check results for all rounding modes.
37823 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37824 $(link-libm).
37825
19fcedd5
AM
378262012-12-09 Allan McRae <allan@archlinux.org>
37827
1e9d84cd 37828 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37829
8bbfd2f1
JM
378302012-09-11 Joseph Myers <joseph@codesourcery.com>
37831
37832 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37833 (_G_int32_t): Likewise.
37834 (_G_uint16_t): Likewise.
37835 (_G_uint32_t): Likewise.
37836 (_G_HAVE_BOOL): Likewise.
37837 (_G_HAVE_ATEXIT): Likewise.
37838 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37839 (_G_HAVE_IO_FILE_OPEN): Likewise.
37840 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37841 (_G_int32_t): Likewise.
37842 (_G_uint16_t): Likewise.
37843 (_G_uint32_t): Likewise.
37844 (_G_HAVE_BOOL): Likewise.
37845 (_G_HAVE_ATEXIT): Likewise.
37846 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37847 (_G_HAVE_IO_FILE_OPEN): Likewise.
37848 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37849 (_G_int32_t): Likewise.
37850 (_G_uint16_t): Likewise.
37851 (_G_uint32_t): Likewise.
37852 (_G_HAVE_BOOL): Likewise.
37853 (_G_HAVE_ATEXIT): Likewise.
37854 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37855 (_G_HAVE_IO_FILE_OPEN): Likewise.
37856
b1dc5912
L
378572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37858
37859 * csu/libc-tls.c: Update copyright years.
37860
0e886ef9
JM
378612012-09-10 Joseph Myers <joseph@codesourcery.com>
37862
28361c5e
JM
37863 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37864 [!_G_USING_THUNKS]: Remove conditional code.
37865 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37866 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37867
0e886ef9
JM
37868 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37869 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37870 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37871 (_G_VTABLE_LABEL_PREFIX): Likewise.
37872 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37873 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37874 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37875 (_G_VTABLE_LABEL_PREFIX): Likewise.
37876 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37877 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37878 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37879 (_G_VTABLE_LABEL_PREFIX): Likewise.
37880 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37881
bcba7aa2
L
378822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37883
37884 * libio/Makefile: Include ../Makeconfig before tests.
37885 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37886 only if $(build-shared) is yes.
37887
06585ee8
L
37888 * iconv/gconv_db.c: Update copyright years.
37889
80ccd52c
LD
378902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37891
37892 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37893 unwind info if defined PIC. Fix special cases description.
37894 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37895
37896 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37897 DP_HI_MASK entry.
37898 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37899
691bc9c1
L
379002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37901
3d9b46b3
L
37902 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37903
de2139a9
L
37904 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37905 is NULL.
37906
5ca78dd0
L
37907 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37908 (LDLIBS-tst-chk4): This.
37909 (LDFLAGS-tst-chk5): Renamed to ...
37910 (LDLIBS-tst-chk5): This.
37911 (LDFLAGS-tst-chk6): Renamed to ...
37912 (LDLIBS-tst-chk6): This.
37913 (LDFLAGS-tst-lfschk4): Renamed to ...
37914 (LDLIBS-tst-lfschk4): This.
37915 (LDFLAGS-tst-lfschk5): Renamed to ...
37916 (LDLIBS-tst-lfschk5): This.
37917 (LDFLAGS-tst-lfschk6): Renamed to ...
37918 (LDLIBS-tst-lfschk6): This.
37919
691bc9c1
L
37920 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37921 on $(common-objpfx)soversions.mk.
37922
65cafb1c
JM
379232012-09-07 Joseph Myers <joseph@codesourcery.com>
37924
37925 [BZ #10014]
37926 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37927 example host name.
37928
c78ab094
SP
379292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37930
37931 * malloc/arena.c (arena_get_retry): New function that gets
37932 another arena for the caller to try its request on.
37933 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37934 current arena cannot fulfill the request.
37935 (__libc_memalign): Likewise.
37936 (__libc_memalign): Likewise.
37937 (__libc_pvalloc): Likewise.
37938 (__libc_calloc): Likewise.
37939
01f49f59
JT
379402012-09-05 John Tobey <john.tobey@gmail.com>
37941
37942 [BZ #13542]
37943 * manual/arith.texi (Operations on Complex): Fix description
37944 of carg branch cut.
37945
4c23fed5
JM
379462012-09-06 Joseph Myers <joseph@codesourcery.com>
37947
1d3c8572
JM
37948 [BZ #10014]
37949 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37950 host name.
37951
4c23fed5
JM
37952 [BZ #10038]
37953 * manual/memory.texi (Memory): Make order of menu items match
37954 order of sections.
37955
04570aaa
L
379562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37959 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37960 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37961
b80af2f4
L
379622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37963
37964 * csu/libc-tls.c (static_dtv): Renamed to ...
37965 (_dl_static_dtv): This. Make it global.
37966 (_dl_initial_dtv): Removed.
37967 (__libc_setup_tls): Updated.
37968 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37969 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37970 DL_INITIAL_DTV.
37971
2abe9f15
PM
379722012-09-06 Petr Machata <pmachata@redhat.com>
37973
37974 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37975 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37976 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37977 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37978
0948c3af
L
379792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37980
37981 [BZ #14545]
37982 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37983 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37984 freeing dtv[-1].
37985
a5055ad1
L
379862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37987
37988 [BZ #14544]
37989 * Makeconfig (link-static-before-libc): Replace $(+prector)
37990 with $(+prectorT).
37991 (link-static-after-libc): Replace $(+postctor) with
37992 $(+postctorT).
37993 (link-bounded): Replace $(+prector)/$(+postctor) with
37994 $(+prectorT)/$(+postctorT).
37995 (+prectorT): New macro.
37996 (+postctorT): Likewise.
37997
ed8c2ecd
JM
379982012-09-06 Joseph Myers <joseph@codesourcery.com>
37999
38000 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38001 (round_str): Handle values above the maximum for IBM long double
38002 as inexact.
38003 * stdlib/tst-strtod-round.c (tests): Regenerated.
38004
14c996c8
AK
380052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38006
38007 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38008 assembler flag.
38009 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38010 zarch_nohighgprs around the zarch optimized routines.
38011 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38012 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38013 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38014 for zarch.
38015
430d6ce6
DM
380162012-09-05 David S. Miller <davem@davemloft.net>
38017
38018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38019
57f41c40
AS
38020 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38021 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38022 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38023 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38024 entries.
38025
24d4e01b
AO
380262012-09-05 Alexandre Oliva <aoliva@redhat.com>
38027
38028 * malloc/arena.c: Fold copyright years.
38029 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38030
61d58174
AO
380312012-09-05 Alexandre Oliva <aoliva@redhat.com>
38032
38033 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38034
20196a5e
AO
380352012-09-05 Alexandre Oliva <aoliva@redhat.com>
38036
38037 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38038
5c447383
AO
380392012-09-05 Alexandre Oliva <aoliva@redhat.com>
38040
38041 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38042 change internal state upon failure.
38043
fad64255
AO
380442012-09-05 Alexandre Oliva <aoliva@redhat.com>
38045
38046 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38047 * malloc/memusage.c (mmap): Likewise.
38048 (mmap64, mremap): Likewise. Adjust name in comment.
38049
1ffb8c90
SP
380502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38051
38052 * libio/fileops.c: Fix typos in comments.
38053 * libio/oldfileops.c: Likewise.
38054 * libio/wfileops.c: Likewise.
38055
6ef9cc37
SP
380562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38057
38058 [BZ #1349]
38059 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38060 (tst-malloc-usable-ENV): Set environment for test case.
38061 * malloc/hooks.c (malloc_check_get_size): New function to get
38062 requested size.
38063 * malloc/malloc.c (musable): Use malloc_check_get_size.
38064 * malloc/tst-malloc-usable.c: New test case.
38065
4d038ae3
AS
380662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38067
38068 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38069
c4e85184
AM
380702012-09-05 Allan McRae <allan@archlinux.org>
38071
b9dafc56 38072 [BZ #13966]
c4e85184
AM
38073 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38074 determine header location.
38075 * configure: Regenerated.
38076
e1343020
AS
380772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38078
38079 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38080 float format.
38081 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38082 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38083 format.
e1343020
AS
38084 (test): Regenerate.
38085
0a9f1987
DM
380862012-09-04 David S. Miller <davem@davemloft.net>
38087
38088 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38089 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38090 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38091
29237804
FW
380922012-09-04 Florian Weimer <fweimer@redhat.com>
38093
38094 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38095 failures.
38096
edb3cb88
FW
38097 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38098
60160d83
JM
380992012-09-04 Joseph Myers <joseph@codesourcery.com>
38100
38101 [BZ #9914]
38102 * libio/iogetdelim.c: Include <limits.h>.
38103 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38104 + len + 1 would overflow.
38105
bcd6c8dc
AJ
381062012-09-03 Andreas Jaeger <aj@suse.de>
38107
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38109 * sysdeps/i386/fpu/libm-test-ulps: Update.
38110
4ffffbd2
LD
381112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38112
38113 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38114 Add s_sinf-sse2, s_conf-sse2.
38115
38116 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38117 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38118 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38119 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38120
38121 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38122 for using routine as __sinf_ia32.
38123 Use macro for function declaration and weak_alias.
38124 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38125 for using routine as __cosf_ia32.
38126 Use macro for function declaration and weak_alias.
38127
38128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38129 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38130
38131 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38132 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38134
38135 * math/libm-test.inc (cos_test): Add more test cases.
38136 (sin_test): Likewise.
38137 (sincos_test): Likewise.
38138
511fa286
AK
381392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38140
38141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38142 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38143 hidden.
38144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38145
5f30cfec
L
381462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38147
38148 [BZ #14538]
38149 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38150 first element of the GOT.
38151 (elf_machine_load_address): Return the difference between
38152 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38153
0786794f
AM
381542012-09-01 Allan McRae <allan@archlinux.org>
38155
5f30cfec
L
38156 [BZ #13412]
38157 * configure.in (AWK): Require gawk version 3.0 or later.
38158 * configure: Regenerated.
0786794f 38159
26889eac
JM
381602012-09-01 Joseph Myers <joseph@codesourcery.com>
38161
38162 * sysdeps/unix/sysv/linux/kernel-features.h
38163 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38165 [__NR_clock_getres]: Make code unconditional.
38166 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38167 (clock_getcpuclockid): Remove code left unreachable by removal of
38168 conditionals.
38169 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38170 code unconditional.
38171 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38172 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38173 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38174 Make code unconditional.
38175 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38176 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38177 * sysdeps/unix/sysv/linux/clock_settime.c
38178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38179 conditional code.
38180 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38181 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38182
d22e28b0
L
381832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38184
38185 [BZ #14476]
38186 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38187 scripts/test-installation.pl.
38188
38189 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38190 and $ld_so_version if it is set.
38191
050af9c4
SP
381922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38193
38194 [BZ #14516]
38195 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38196 failure if reading from procfs failed.
38197 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38198
ad845c0b
JM
381992012-08-27 Joseph Myers <joseph@codesourcery.com>
38200
38201 * sysdeps/unix/sysv/linux/kernel-features.h
38202 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38203 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38204 Remove conditional code.
38205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38206 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38207 Remove conditional code.
38208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38209 * sysdeps/unix/sysv/linux/i386/fxstat.c
38210 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38212 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38213 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38215 * sysdeps/unix/sysv/linux/i386/lxstat.c
38216 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38218 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38219 Remove conditional code.
38220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38221 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38222 Remove conditional code.
38223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38224 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38225 <kernel-features.h>.
38226 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38227 Remove.
38228 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38229 Remove conditional code.
38230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38231 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38232 Remove conditional.
38233
5dbf56af
MF
382342012-08-27 Mike Frysinger <vapier@gentoo.org>
38235
38236 [BZ #5400]
38237 * NEWS: Add fixed bug number.
38238
d6e70f43
JM
382392012-08-27 Joseph Myers <joseph@codesourcery.com>
38240
7efb4737
JM
38241 [BZ #14519]
38242 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38243 underflowing exponent in case of negative sign.
38244 * stdlib/tst-strtod-round-data: Add more tests.
38245 * stdlib/tst-strtod-round.c (tests): Regenerated.
38246
af92131a
JM
38247 [BZ #3479]
38248 * stdlib/strtod_l.c (NDIG): Remove.
38249 (HEXNDIG): Likewise.
38250 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38251 smallest representable value.
38252 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38253 lie within an exact representation of 1/2 ulp of the result.
38254 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38255 unconditionally.
38256 (TENS_P9_IDX): Define unconditionally.
38257 (TENS_P9_SIZE): Likewise.
38258 (TENS_P10_IDX): Likewise.
38259 (TENS_P10_SIZE): Likewise.
38260 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38261 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38262 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38263 entries for 10^2^13 and 10^2^14.
38264 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38265 (TENS_P13_IDX): Define.
38266 (TENS_P13_SIZE): Likewise.
38267 (TENS_P14_IDX): Likewise.
38268 (TENS_P14_SIZE): Likewise.
38269 (_fpioconst_pow10): Change array size to
38270 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38271 unconditional.
38272 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38273 1024]: Add entries for 10^2^13 and 10^2^14.
38274 [LAST_POW10 > _LAST_POW10]: Remove #error.
38275 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38276 (_fpioconst_pow10): Change array size to
38277 FPIOCONST_POW10_ARRAY_SIZE.
38278 * stdlib/gen-fpioconst.c: New file.
38279 * stdlib/gen-tst-strtod-round.c: Likewise.
38280 * stdlib/tst-strtod-round-data: Likewise.
38281 * stdlib/tst-strtod-round.c: Likewise.
38282 * stdlib/Makefile (tests): Add tst-strtod-round.
38283
d6e70f43
JM
38284 [BZ #14459]
38285 * stdlib/strtod_l.c: Include <stdint.h>.
38286 (NDEBUG): Do not define.
38287 (round_and_return): Change EXPONENT parameter to type intmax_t.
38288 Rearrange calculations to avoid internal overflow possibilities.
38289 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38290 Rearrange calculations to avoid internal overflow possibilities.
38291 Assert that number fits inside MPNSIZE limbs.
38292 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38293 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38294 calculations and add assertions to avoid internal overflow
38295 possibilities. Add casts to avoid signed/unsigned operations.
38296 * stdlib/tst-strtod-overflow.c: New file.
38297 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38298
1f529f7d
MP
382992012-08-25 Marek Polacek <polacek@redhat.com>
38300
38301 * time/time.h: Fix some typos in comments.
38302
59a629f1
RM
383032012-08-23 Roland McGrath <roland@hack.frob.com>
38304
38305 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38306 * posix/tst-rfc3484-2.c: Likewise.
38307 * posix/tst-rfc3484-3.c: Likewise.
38308
d3bafbc9
SM
383092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38310
38311 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38312 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38313
4efcc022
JM
383142012-08-23 Joseph Myers <joseph@codesourcery.com>
38315
38316 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38317 #include of fxstatat64.c.
38318
3cc3ef96
RM
383192012-08-22 Roland McGrath <roland@hack.frob.com>
38320
f04e2132
RM
38321 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38322 * shadow/getspent_r.c: Likewise.
38323 * shadow/getspnam.c: Likewise.
38324 * shadow/getspnam_r.c: Likewise.
38325 * gshadow/getsgent.c: Likewise.
38326 * gshadow/getsgent_r.c: Likewise.
38327 * gshadow/getsgnam.c: Likewise.
38328 * gshadow/getsgnam_r.c: Likewise.
38329 * inet/getnetbyad.c: Likewise.
38330 * inet/getnetbyad_r.c: Likewise.
38331 * inet/getnetbynm.c: Likewise.
38332 * inet/getnetbynm_r.c: Likewise.
38333 * inet/getnetent.c: Likewise.
38334 * inet/getnetent_r.c: Likewise.
38335 * inet/getproto.c: Likewise.
38336 * inet/getproto_r.c: Likewise.
38337 * inet/getprtent.c: Likewise.
38338 * inet/getprtent_r.c: Likewise.
38339 * inet/getprtname.c: Likewise.
38340 * inet/getprtname_r.c: Likewise.
38341 * inet/getrpcbyname.c: Likewise.
38342 * inet/getrpcbyname_r.c: Likewise.
38343 * inet/getrpcbynumber.c: Likewise.
38344 * inet/getrpcbynumber_r.c: Likewise.
38345 * inet/getrpcent.c: Likewise.
38346 * inet/getrpcent_r.c: Likewise.
38347 * inet/getaliasent.c: Likewise.
38348 * inet/getaliasent_r.c: Likewise.
38349 * inet/getaliasname.c: Likewise.
38350 * inet/getaliasname_r.c: Likewise.
38351 * nscd/getgrgid_r.c: Likewise.
38352 * nscd/getgrnam_r.c: Likewise.
38353 * nscd/gethstbyad_r.c: Likewise.
38354 * nscd/gethstbynm3_r.c: Likewise.
38355 * nscd/getpwnam_r.c: Likewise.
38356 * nscd/getpwuid_r.c: Likewise.
38357 * nscd/getsrvbynm_r.c: Likewise.
38358 * nscd/getsrvbypt_r.c: Likewise.
38359 * nscd/gai.c: Likewise.
38360
c53d909c
RM
38361 * configure.in (build_nscd): New substituted variable, set
38362 by --disable-build-nscd and defaults to $use_nscd.
38363 * configure: Regenerated.
38364 * config.make.in (build-nscd): New substituted variable.
38365 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38366 Change conditional to require [$(build-nscd) = yes] as well.
38367 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38368
3cc3ef96
RM
38369 [BZ# 13696]
38370 * configure.in (use_nscd): New substituted variable, set by
38371 --disable-nscd. If enabled, define USE_NSCD.
38372 * configure: Regenerated.
38373 * config.h.in: Add USE_NSCD.
38374 * config.make.in (use-nscd): New substituted variable.
38375 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38376 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38377 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38378 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38379 (CFLAGS-getgrnam_r.c): Likewise.
38380 (CFLAGS-initgroups.c): Likewise.
38381 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38382 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38383 Variables removed.
38384 * inet/getnetgrent_r.c
38385 (nscd_setnetgrent): New function, broken out of ...
38386 (setnetgrent): ... here. Call it.
38387 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38388 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38389 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38390 * nscd/Makefile (routines, aux): Move definitions after include of
38391 Makeconfig. Conditionalize on [$(use-nscd) != no].
38392 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38393 Conditionalize on [USE_NSCD].
38394 (is_nscd, nscd_init_cb): Likewise.
38395 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38396 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38397 * nss/nss_db/db-init.c: Likewise.
38398 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38399 [USE_NSCD].
38400 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38401 (make_request): Use it.
38402 (cache_valid_p): New function.
38403 (__check_pf): Use it.
38404 * NEWS: Add item for --disable-nscd.
38405
07e51550
DL
384062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38407
38408 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38409 to support sed >= 4.2.1-20-ga9bf076.
38410 * configure: Regenerated.
38411
35a5b08b
RM
384122012-08-22 Roland McGrath <roland@hack.frob.com>
38413
38414 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38415 Conditionalize whole body on [IREL].
38416
8479f23a
JL
384172012-08-22 Jeff Law <law@redhat.com>
38418
38419 [BZ #14505]
38420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38421 if the family is PF_UNSPEC.
38422
48da0b21
MF
384232012-08-22 Mike Frysinger <vapier@gentoo.org>
38424
38425 * Makerules (lib-version): Rename from V.
38426 (install-lib-nosubdir): Change V to lib-version.
38427
15d0da8c
WS
384282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38429
38430 [BZ #14252]
38431 * powerpc32/power6/wcschr.c: New file.
38432 * powerpc32/power6/wcscpy.c: New file.
38433 * powerpc32/power6/wcsrchr.c: New file.
38434 * powerpc64/power6/wcschr.c: New file.
38435 * powerpc64/power6/wcscpy.c: New file.
38436 * powerpc64/power6/wcsrchr.c: New file.
38437
bcca0895
MK
384382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38439
38440 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38441 (two_way_short_needle): Use it.
5a4aaa33
RM
38442 * string/strstr.c (AVAILABLE1_USES_J): Define.
38443 * string/strcasestr.c: Likewise.
99677e57
MK
38444
38445 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38446 array references.
38447 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38448
400726de
MK
38449 [BZ #11607]
38450 * NEWS: Add an entry.
38451 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38452 define their defaults.
38453 (two_way_short_needle): Detect end-of-string on-the-fly.
38454 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38455 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38456 * string/bug-strcasestr1.c: New test.
38457 * string/Makefile: Run it.
38458
20a71f2c
MK
384592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38460
38461 [BZ #11607]
38462 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38463 the first character.
38464
21ad0558
RM
384652012-08-21 Roland McGrath <roland@hack.frob.com>
38466
38467 * csu/elf-init.c (__libc_csu_irel): Function removed.
38468 * csu/libc-start.c (apply_irel): New function.
38469 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38470
0e1d9911
JM
384712012-08-21 Joseph Myers <joseph@codesourcery.com>
38472
38473 * sysdeps/unix/sysv/linux/kernel-features.h
38474 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38475 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38476 <kernel-features.h>.
38477 [__NR_fadvise64_64]: Make code unconditional.
38478 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38479 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38480 !__NR_fadvise64_64)]: Likewise.
38481 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38482 !__NR_fadvise64_64))]: Likewise.
38483 [__NR_fadvise64]: Make code unconditional.
38484 [!__NR_fadvise64]: Remove conditional code.
38485 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38486 <kernel-features.h>.
38487 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38488 unconditional.
38489 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38490 conditional code.
38491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38492 not include <kernel-features.h>.
38493 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38494 unconditional.
38495 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38496 conditional code.
38497 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38498 include <kernel-features.h>.
38499 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38500 unconditional.
38501 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38502 conditional code.
38503
14a50c9d
WS
385042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38505
38506 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38507 slight instruction rearrangements per scrollpipe analysis.
38508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38509
c0f4faf0
RM
385102012-08-20 Roland McGrath <roland@hack.frob.com>
38511
696da859
RM
38512 * manual/syslog.texi (syslog; vsyslog, closelog):
38513 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38514 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38515
c0f4faf0
RM
38516 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38517 DSOCAPS to match condition on defining it.
38518
348363b2
JM
385192012-08-20 Joseph Myers <joseph@codesourcery.com>
38520
a35cbf28
JM
38521 * sysdeps/unix/sysv/linux/kernel-features.h
38522 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38524 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38525 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38527 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38528 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38530 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38531 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38532
445f7ecd
JM
38533 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38534 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38535
348363b2
JM
38536 * sysdeps/unix/sysv/linux/kernel-features.h
38537 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38538 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38539 unconditional.
38540 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38541 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38542 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38543 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38544 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38545 Make code unconditional.
38546 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38547 (__mmap64) [!__NR_mmap2]: Likewise.
38548 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38549 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38550 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38551 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38552 [__NR_mmap2]: Make code unconditional.
38553 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38554 (__mmap64) [!__NR_mmap2]: Likewise.
38555
bc5bc0e5
AK
385562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38557
38558 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38559
88d506de
AJ
385602012-08-18 Andreas Jaeger <aj@suse.de>
38561
38562 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38563
493387d2
MF
385642012-08-18 Mike Frysinger <vapier@gentoo.org>
38565
38566 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38567 * include/unistd.h (__have_sock_cloexec): Likewise.
38568 (__have_pipe2): Likewise.
38569 (__have_dup3): Likewise.
38570
a277af22
MF
385712012-08-18 Mike Frysinger <vapier@gentoo.org>
38572
38573 [BZ #9685]
38574 * include/unistd.h (__have_pipe2): Change define into an extern int.
38575 (__have_dup3): Likewise.
38576 * socket/have_sock_cloexec.c: Include fcntl.h.
38577 (__have_pipe2): New variable.
38578 (__have_dup3): Likewise.
38579
fdab8fd3
MF
385802012-08-17 Mike Frysinger <vapier@gentoo.org>
38581
38582 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38583
31035e80
MP
385842012-08-17 Marek Polacek <polacek@redhat.com>
38585
38586 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38587 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38588
3bd9e993
RM
385892012-08-17 Roland McGrath <roland@hack.frob.com>
38590
c91c505f
RM
38591 * configure.in: Add AC_SUBST for sysheaders.
38592 * configure: Regenerated.
38593 * config.make.in (sysheaders): New substituted variable.
38594
7c6f9d53
RM
38595 * sysdeps/unix/mkfifo.c: Moved ...
38596 * sysdeps/posix/mkfifo.c: ... here.
38597 * sysdeps/unix/mkfifoat.c: Moved ...
38598 * sysdeps/posix/mkfifoat.c: ... here.
38599
38600 * sysdeps/unix/utime.c: Moved ...
38601 * sysdeps/posix/utime.c: ... here.
38602
38603 * sysdeps/unix/time.c: Moved ...
38604 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38605 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38606 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38607
38608 * sysdeps/unix/nice.c: Moved ...
38609 * sysdeps/posix/nice.c: ... here.
38610
38611 * sysdeps/unix/alarm.c: Moved ...
38612 * sysdeps/posix/alarm.c: ... here.
38613
3bd9e993
RM
38614 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38615
d1f09384
JL
386162012-08-17 Jeff Law <law@redhat.com>
38617
38618 * intl/Makefile (codeset_mo): New variable.
38619 ($(codeset_mo)): New target.
38620 (tst-codeset.out): Depend on that. Remove explicit rule.
38621 (tst-gettext3.out, tst-gettext5.out): Likewise.
38622 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38623 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38624 * intl/tst-codeset.sh: Remove.
38625 * intl/tst-gettext3.sh: Likewise.
38626 * intl/tst-gettext5.sh: Likewise.
38627
2ae1ae5c
RM
386282012-08-17 Roland McGrath <roland@hack.frob.com>
38629
c31fdb83
RM
38630 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38631 * sysdeps/unix/syscalls.list: ... here.
38632
a0844057
RM
38633 * sysdeps/posix/getaddrinfo.c
38634 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38635 (gaiconf_init, gaiconf_reload): Use them.
38636 [!_STATBUF_ST_NSEC]
38637 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38638 Define using time_t rather than struct timespec.
38639
750c1f2a
RM
38640 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38641 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38642 Macros removed.
38643 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38644 [!NO_THREADS].
38645 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38646 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38647 Likewise.
38648
2ae1ae5c
RM
38649 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38650 __libc_cleanup_push argument.
38651
e66a42f5
RM
38652 * bits/param.h: New file.
38653 * misc/sys/param.h: New file.
38654 * include/sys/param.h: New file.
38655 * misc/Makefile (headers): Add bits/param.h.
38656 * sysdeps/generic/sys/param.h: File removed.
38657 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38658 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38659 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38660 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38661
b7c08a66
RM
38662 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38663 last change.
38664
b2e1c562
RM
38665 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38666 [_IO_MTSAFE_IO].
38667 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38668 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38669 New macros.
38670
c75ccd4c
RM
38671 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38672 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38673 rather than -D_IO_MTSAFE_IO conditionally.
38674 * stdio-common/Makefile (CPPFLAGS): Likewise.
38675 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38676 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38677 Use $(libio-mtsafe).
38678 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38679 of -D_IO_MTSAFE_IO.
38680 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38681 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38682 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38683 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38684 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38685 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38686 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38687 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38688 (CFLAGS-fread_u_chk.c): Likewise.
38689 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38690 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38691 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38692 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38693 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38694 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38695 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38696 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38697 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38698
38699 * libio/Makefile: Test [$(libc-reentrant) = yes]
38700 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38701
38702 * Makeconfig
38703 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38704 * sysdeps/pthread/configure: File removed.
38705 * sysdeps/pthread/Makeconfig: New file.
38706 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38707 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38708
d9195db8
GB
387092012-08-16 Gary Benson <gbenson@redhat.com>
38710
38711 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38712 unmapping the first object in a namespace.
38713
86466cd9
RM
387142012-08-16 Roland McGrath <roland@hack.frob.com>
38715
38716 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38717 (__internal_setnetgrent): ... this. Add internal_function to
38718 definition. Add libc_hidden_def.
38719 (setnetgrent): Update caller.
38720 (internal_endnetgrent): Renamed to ...
38721 (__internal_endnetgrent): ... this. Add internal_function to
38722 definition. Add libc_hidden_def.
38723 (endnetgrent): Update caller.
38724 (internal_getnetgrent_r): Renamed to ...
38725 (__internal_getnetgrent_r): ... this. Add internal_function to
38726 definition. Add libc_hidden_def.
38727 (__getnetgrent_r): Update caller.
38728 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38729
c3c8283c
JM
387302012-08-16 Joseph Myers <joseph@codesourcery.com>
38731
38732 * stdlib/longlong.h: Update from GCC.
38733
db1ee0a8
RM
387342012-08-16 Roland McGrath <roland@hack.frob.com>
38735
38736 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38737 on _QL, which is set by umul_ppmm but never used.
38738 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38739 variables, which are set by GMP macros but never used.
38740 * stdio-common/_itowa.c (_itowa): Likewise.
38741 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38742 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38743
30f69637
CD
387442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38745
38746 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38747 struct La_sh_regs is not constant.
38748 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38749 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38750 and struct La_sparc64_regs are not constant.
38751
93a78ac4
JM
387522012-08-16 Joseph Myers <joseph@codesourcery.com>
38753
38754 * sysdeps/unix/sysv/linux/kernel-features.h
38755 (__ASSUME_POSIX_TIMERS): Remove.
38756 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38757 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38758 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38759 Make code unconditional.
38760 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38761 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38762 Make code unconditional.
38763 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38764 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38765 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38767 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38768 Make code unconditional.
38769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38770 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38771 (__libc_missing_posix_timers): Remove.
38772
dd924cd7
RM
387732012-08-15 Roland McGrath <roland@hack.frob.com>
38774
4b4f2771
RM
38775 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38776 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38777
601c888b
RM
38778 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38779
176790a7
RM
38780 * elf/dl-sym.c: Include <stdlib.h>.
38781
329bc018
RM
38782 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38783 constants, which avoids warnings in 32-bit builds.
38784
e04e272d
RM
38785 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38786 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38787
952bf94a
RM
38788 * misc/lseek.c: File moved to ...
38789 * io/lseek.c: ... here.
38790
7c99b50a
RM
38791 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38792
dd924cd7
RM
38793 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38794 shifting LEN more than 31 bits at once.
38795
b3f479a8
LD
387962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38797
38798 [BZ #14195]
8c4ae0d4
RM
38799 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38800 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38801 * string/test-strncasecmp.c (check1): Renamed to...
38802 (bz12205): ...this.
38803 (bz14195): Add new testcase for two empty input strings and N > 0.
38804 (test_main): Call new testcase, adapt for renamed function.
38805
9c55864e
AJ
388062012-08-15 Andreas Jaeger <aj@suse.de>
38807
38808 [BZ #14090]
38809 * crypt/md5test2.c: New test, based on test supplied by Serge
38810 Belyshev <belyshev@depni.sinp.msu.ru>.
38811 * crypt/Makefile (xtests): Add md5test-giant..
38812 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38813
02dcb6c5
PE
388142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38815
38816 [BZ #14090]
38817 * crypt/md5.c (md5_process_block): Don't assume the buffer
38818 length is less than 2**32.
38819 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38820 length is less than 2**64.
38821
a3f95dcc
RM
388222012-08-15 Roland McGrath <roland@hack.frob.com>
38823
be75d758
RM
38824 * string/str-two-way.h: Include <sys/param.h>.
38825 (MAX): Macro removed.
38826
7312ca90
RM
38827 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38828 Move #define and #undef of memmove to just before and after
38829 including <string.h>.
38830
9a0a5486
RM
38831 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38832 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38833 and after including <string.h>. Move declarations of
38834 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38835 to before #include "string/memmove.c".
38836
67cc348d
RM
38837 * include/dirent.h: Declare __getdirentries.
38838
a3f95dcc
RM
38839 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38840 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38841
ca98e171
MF
388422012-08-14 Mike Frysinger <vapier@gentoo.org>
38843
38844 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38845 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38846 * sysdeps/i386/configure: Regenerated.
38847 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38848 STABS_CURRENT_FILE, and STABS_FUN.
38849 (END): Remove call to STABS_FUN_END.
38850 (STABS_CURRENT_FILE1): Delete.
38851 (STABS_CURRENT_FILE): Likewise.
38852 (STABS_FUN): Likewise.
38853 (STABS_FUN_END): Likewise.
38854 (STABS_FUN2): Likewise.
38855 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38856 * sysdeps/x86_64/configure: Regenerated.
38857
5908bf46
RM
388582012-08-14 Roland McGrath <roland@hack.frob.com>
38859
38860 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38861 * elf/dl-lookup.c: Likewise.
5908bf46 38862
f2c05b9e
JM
388632012-08-14 Joseph Myers <joseph@codesourcery.com>
38864
38865 * sysdeps/unix/sysv/linux/kernel-features.h
38866 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38867 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38868 unconditionally.
38869 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38870 unconditionally.
38871 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38872 condition on __ASSUME_CLONE_THREAD_FLAGS.
38873
e11f5155
AJ
388742012-08-14 Andreas Jaeger <aj@suse.de>
38875
38876 * sysdeps/i386/fpu/libm-test-ulps: Update.
38877
51a9ba86
MK
388782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38879
2fdd4f78
AJ
38880 * include/atomic.h (atomic_exchange_and_add): Split into ...
38881 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38882 New atomic macros.
51a9ba86 38883
ba6cba9e
MT
388842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38885
38886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38887
42443a47
JL
388882012-08-13 Jeff Law <law@redhat.com>
38889
38890 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38891 null byte in the output string.
38892
121dce05
JM
388932012-08-10 Joseph Myers <joseph@codesourcery.com>
38894
38895 * sysdeps/unix/sysv/linux/kernel-features.h
38896 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38897 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38898 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38899 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38900 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38901 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38902 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38903
bf51f568
JL
389042012-08-09 Jeff Law <law@redhat.com>
38905
38906 [BZ #13939]
38907 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38908 When avoid_arena is set, don't retry in the that arena. Pick the
38909 next one, whatever it might be.
38910 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38911 (arena_lock): Pass in new parameter to arena_get2.
38912 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38913 arena_get2.
38914 (__libc_malloc): Unify retrying after main arena failure with
38915 __libc_memalign version.
38916 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38917
f85fa270
L
389182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38919
38920 [BZ #14166]
38921 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38922 to __redirect_strstr.
38923 (__strstr_sse42): Use typeof __redirect_strstr.
38924 (__strstr_ia32): Likewise.
38925 (__libc_strstr): New prototype.
38926 (strstr): Renamed to ...
38927 (__libc_strstr): This.
38928 (strstr): New strong alias of __libc_strstr.
38929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38930 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38931 __redirect_time.
38932 Include <time.h>.
38933 (__libc_time): New prototype.
38934 (time_ifunc): Replace time with __libc_time.
38935 (time): New strong alias and hidden definition of __libc_time.
38936 (__GI_time): Remove strong alias.
38937 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38938 Include <stddef.h>.
38939 (memmove): Redefined to __redirect_memmove.
38940 (__memmove_sse2): Use typeof __redirect_memmove.
38941 (__memmove_ssse3): Likewise.
38942 (__memmove_ssse3_back): Likewise.
38943 (__libc_memmove): New prototype.
38944 (memmove): Renamed to ...
38945 (__libc_memmove): This.
38946 (memmove): New strong alias of __libc_memmove.
38947
33b4a91e
MS
389482012-08-08 Mark Salter <msalter@redhat.com>
38949
38950 * elf/elf.h
38951 (R_MN10300_TLS_GD): Define.
38952 (R_MN10300_TLS_LD): Likewise.
38953 (R_MN10300_TLS_LDO): Likewise.
38954 (R_MN10300_TLS_GOTIE): Likewise.
38955 (R_MN10300_TLS_IE): Likewise.
38956 (R_MN10300_TLS_LE): Likewise.
38957 (R_MN10300_TLS_DTPMOD): Likewise.
38958 (R_MN10300_TLS_DTPOFF): Likewise.
38959 (R_MN10300_TLS_TPOFF): Likewise.
38960 (R_MN10300_SYM_DIFF): Likewise.
38961 (R_MN10300_ALIGN): Likewise.
38962 (R_MN10300_NUM): Update.
38963
b36137f1
JM
389642012-08-08 Joseph Myers <joseph@codesourcery.com>
38965
38966 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38967 Remove.
38968
cdd915fd
RM
389692012-08-08 Roland McGrath <roland@hack.frob.com>
38970
a2433aac
RM
38971 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38972
cdd915fd
RM
38973 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38974 sysdeps/unix -> sysdeps/posix move.
38975 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38976
bf9b740a
AM
389772012-08-07 Allan McRae <allan@archlinux.org>
38978
38979 [BZ #14303]
38980 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38981 (SUNOS_CPP): Likewise.
38982 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38983 not found.
38984 (open_input): Call CPP using execvp.
38985
93df14ee
JM
389862012-08-07 Joseph Myers <joseph@codesourcery.com>
38987
38988 * sysdeps/unix/sysv/linux/kernel-features.h
38989 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38990 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38991 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38992 (__ASSUME_WAITID_SYSCALL): Likewise.
38993 * sysdeps/unix/sysv/linux/dl-execstack.c
38994 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38995 code unconditional.
38996 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38997 conditional code.
38998 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38999 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39000 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39001 code.
39002 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39003 unconditional.
39004 [__ASSUME_WAITID_SYSCALL]: Likewise.
39005 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39006
d34689de
RM
390072012-08-07 Roland McGrath <roland@hack.frob.com>
39008
a281decc
RM
39009 * sysdeps/unix/closedir.c: Renamed to ...
39010 * sysdeps/posix/closedir.c: ... here.
39011 * sysdeps/unix/dirfd.c: Renamed to ...
39012 * sysdeps/posix/dirfd.c: ... here.
39013 * sysdeps/unix/dirstream.h: Renamed to ...
39014 * sysdeps/posix/dirstream.h: ... here.
39015 * sysdeps/unix/fdopendir.c: Renamed to ...
39016 * sysdeps/posix/fdopendir.c: ... here.
39017 * sysdeps/unix/opendir.c: Renamed to ...
39018 * sysdeps/posix/opendir.c: ... here.
39019 * sysdeps/unix/readdir.c: Renamed to ...
39020 * sysdeps/posix/readdir.c: ... here.
39021 * sysdeps/unix/readdir_r.c: Renamed to ...
39022 * sysdeps/posix/readdir_r.c: ... here.
39023 * sysdeps/unix/rewinddir.c: Renamed to ...
39024 * sysdeps/posix/rewinddir.c: ... here.
39025 * sysdeps/unix/seekdir.c: Renamed to ...
39026 * sysdeps/posix/seekdir.c: ... here.
39027 * sysdeps/unix/telldir.c: Renamed to ...
39028 * sysdeps/posix/telldir.c: ... here.
39029 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39030 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39031 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39032 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39033
22895b47
RM
39034 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39035 * bits/fcntl.h: ... here.
39036
707a53b6
RM
39037 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39038 not 0.
39039 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39040 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39041 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39042 (struct flock): Move l_start, l_len to the beginning.
39043 Use __pid_t for l_pid.
39044 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39045 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39046 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39047 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39048 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39049 [__USE_LARGEFILE64] (struct flock64): New type.
39050 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39051
f0bd3e25
RM
39052 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39053 * bits/dirent.h: ... here.
39054
d34689de
RM
39055 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39056 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39057
6dad2c06
JM
390582012-08-07 Joseph Myers <joseph@codesourcery.com>
39059
39060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39061 Change from 2.6.0 to 2.6.16.
39062 * sysdeps/unix/sysv/linux/configure: Regenerated.
39063 * sysdeps/unix/sysv/linux/kernel-features.h
39064 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39065 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39066 version.
39067 (__ASSUME_UTIMES): Likewise.
39068 (__ASSUME_CLONE_STOPPED): Remove.
39069 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39070 architectures, not kernel version.
39071 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39072 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39073 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39074 (__ASSUME_WAITID_SYSCALL): Likewise.
39075 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39076 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39077 * README: State 2.6.16 as minimum Linux kernel version. Do not
39078 refer to older versions.
39079
03af9520
RM
390802012-08-06 Roland McGrath <roland@hack.frob.com>
39081
8e49df1d
RM
39082 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39083 Define alphasort64 as an alias.
39084 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39085 Define versionsort64 as an alias.
39086 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39087 Define scandir64 as an alias.
39088 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39089 Define scandirat64 as an alias.
39090 * dirent/alphasort64.c (alphasort64):
39091 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39092 * dirent/versionsort64.c: Likewise.
39093 * dirent/scandir64.c: Likewise.
39094 * dirent/scandirat64.c: Likewise.
39095 * sysdeps/wordsize-64/alphasort.c: File removed.
39096 * sysdeps/wordsize-64/alphasort64.c: File removed.
39097 * sysdeps/wordsize-64/scandir.c: File removed.
39098 * sysdeps/wordsize-64/scandir64.c: File removed.
39099 * sysdeps/wordsize-64/scandirat.c: File removed.
39100 * sysdeps/wordsize-64/scandirat64.c: File removed.
39101 * sysdeps/wordsize-64/versionsort.c: File removed.
39102 * sysdeps/wordsize-64/versionsort64.c: File removed.
39103 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39111
39112 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39114 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39116 [defined __arch64__ || defined __sparcv9]
39117 (__INO_T_MATCHES_INO64_T): New macro.
39118 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39119 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39120 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39121 * sysdeps/unix/sysv/linux/bits/dirent.h
39122 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39123 (_DIRENT_MATCHES_DIRENT64): New macro.
39124
03af9520
RM
39125 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39126 Define lockf64 as an alias.
39127 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39128 Define fseeko64 as an alias.
39129 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39130 Define ftello64 as an alias.
39131 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39132 Define _IO_fgetpos64 and fgetpos64 as aliases.
39133 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39134 Define _IO_fsetpos64 and fsetpos64 as aliases.
39135 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39136 Conditionalize body on this.
39137 * libio/fseeko64.c: Likewise.
39138 * libio/ftello64.c: Likewise.
39139 * libio/iofgetpos64.c: Likewise.
39140 * libio/iofsetpos64.c: Likewise.
39141 * sysdeps/wordsize-64/lockf.c: File removed.
39142 * sysdeps/wordsize-64/lockf64.c: File removed.
39143 * sysdeps/wordsize-64/fseeko.c: File removed.
39144 * sysdeps/wordsize-64/fseeko64.c: File removed.
39145 * sysdeps/wordsize-64/ftello.c: File removed.
39146 * sysdeps/wordsize-64/ftello64.c: File removed.
39147 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39148 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39149 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39150 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39153 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39155 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39161
39162 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39164 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39166 [defined __arch64__ || defined __sparcv9]
39167 (__OFF_T_MATCHES_OFF64_T): New macro.
39168 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39169 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39171 (__OFF_T_MATCHES_OFF64_T): New macro.
39172
c5757acd
L
391732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39174
39175 * stdlib/secure-getenv.c (__secure_getenv): Replace
39176 GLIBC_2_16 with GLIBC_2_17.
39177
3a31811e
L
391782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39179
39180 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39181 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39182
faa2bccb
DM
391832012-08-03 David S. Miller <davem@davemloft.net>
39184
39185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39186
85fe1997
JM
391872012-08-03 Joseph Myers <joseph@codesourcery.com>
39188
39189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39190 Remove.
39191 (__ASSUME_CORRECT_SI_PID): Likewise.
39192 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39193 (__ASSUME_TMPFS_NAME): Likewise.
39194 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39195 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39196 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39197 (HAVE_AUX_SECURE): Make definition unconditional.
39198 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39199 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39200
4f75b7a0
RM
392012012-08-03 Roland McGrath <roland@hack.frob.com>
39202
39203 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39204 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39205 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39206 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39207 __eloop_threshold instead of SYMLOOP_MAX.
39208
39209 * sysdeps/generic/eloop-threshold.h: New file.
39210 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39211 of MAXSYMLINKS.
39212 * elf/chroot_canon.c (chroot_canon): Likewise.
39213
7aab07e4
JM
392142012-08-03 Joseph Myers <joseph@codesourcery.com>
39215
39216 [BZ #13717]
39217 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39218 Change to 2.6.0 everywhere.
39219 * sysdeps/unix/sysv/linux/configure: Regenerated.
39220 * sysdeps/unix/sysv/linux/kernel-features.h
39221 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39222 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39223 kernel versions.
39224 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39225 (__ASSUME_FUTEX_REQUEUE): Remove.
39226 (__ASSUME_STATFS64): Define unconditionally.
39227 (__ASSUME_AT_SECURE): Likewise.
39228 (__ASSUME_CORRECT_SI_PID): Likewise.
39229 (__ASSUME_TGKILL): Define without depending on kernel version for
39230 i386.
39231 (__ASSUME_UTIMES): Likewise.
39232 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39233 kernel version.
39234 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39235 (__ASSUME_TMPFS_NAME): Likewise.
39236 * README: Update reference to Linux kernel versions.
39237
b67e9372
MP
392382012-08-02 Marek Polacek <polacek@redhat.com>
39239
1f529f7d 39240 [BZ# 14150]
b67e9372
MP
39241 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39242 libc_cv_asm_type_prefix with %.
39243 * configure: Regenerated.
d2441631
RM
39244 * include/libc-symbols.h: Remove comment about
39245 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39246 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39247 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39248 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39249 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39250 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39251 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39252 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39253 * elf/tst-unique2mod1.c: Likewise.
39254 * elf/tst-unique1mod2.c: Likewise.
39255 * elf/tst-unique1mod1.c: Likewise.
39256 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39257 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39258 Replace ASM_TYPE_DIRECTIVE with .type.
39259 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39260 * sysdeps/i386/sysdep.h: Likewise.
39261 * sysdeps/x86_64/sysdep.h: Likewise.
39262 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39264 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39265 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39266 * sysdeps/powerpc/powerpc32/sysdep.h:
39267 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39268 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39269 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39270 * sysdeps/i386/fpu/e_powf.S: Likewise.
39271 * sysdeps/i386/fpu/e_expl.S: Likewise.
39272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39273 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39274 * sysdeps/i386/fpu/e_pow.S: Likewise.
39275 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39276 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39277 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39278 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39279 * sysdeps/i386/fpu/e_log2.S: Likewise.
39280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39281 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39282 * sysdeps/i386/fpu/e_powl.S: Likewise.
39283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39284 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39285 * sysdeps/i386/fpu/e_logl.S: Likewise.
39286 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39287 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39288 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39289 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39290 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39291 * sysdeps/i386/fpu/e_log.S: Likewise.
39292 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39293 * sysdeps/i386/fpu/e_logf.S: Likewise.
39294 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39295 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39296 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39297 * sysdeps/i386/fpu/e_log10.S: Likewise.
39298 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39299 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39300 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39301 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39302 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39303 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39304 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39305 * sysdeps/i386/i686/strtok.S: Likewise.
39306 * sysdeps/i386/i386-mcount.S: Likewise.
39307 * sysdeps/i386/strtok.S: Likewise.
39308 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39309 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39310 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39312 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39314 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39315 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39316 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39317 * sysdeps/x86_64/_mcount.S: Likewise.
39318 * sysdeps/x86_64/strtok.S: Likewise.
39319 * sysdeps/sh/_mcount.S: Likewise.
39320
2747bf9a
RM
393212012-08-01 Roland McGrath <roland@hack.frob.com>
39322
39323 * libio/iofopen.c: Include <fcntl.h>.
39324 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39325 (_IO_fopen64, fopen64): Define as aliases.
39326 * libio/iofopen64.c: Include <fcntl.h>.
39327 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39328 Conditionalize body on this.
39329 * sysdeps/wordsize-64/iofopen.c: File removed.
39330 * sysdeps/wordsize-64/iofopen64.c: File removed.
39331
3fb791b8
MP
393322012-08-01 Marek Polacek <polacek@redhat.com>
39333
39334 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39335 Use dlfcn directly instead of a variable.
39336 (binfmt-subdir): Do not define.
39337 (dlfcn): Likewise.
39338
a9f1039f
JM
393392012-08-01 Joseph Myers <joseph@codesourcery.com>
39340
23bddc06
JM
39341 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39342 Remove all definitions.
39343 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39344 <kernel-features.h>.
39345 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39346 (miss_F_GETOWN_EX): Remove all definitions.
39347 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39348 macro definition.
39349 [!__ASSUME_FCNTL64]: Remove conditional code.
39350 [__ASSUME_FCNTL64]: Make code unconditional.
39351 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39352 <kernel-features.h>.
39353 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39354 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39355 (lockf64) [__NR_fcntl64]: Make code unconditional.
39356 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39357
a9f1039f
JM
39358 * sysdeps/unix/sysv/linux/kernel-features.h
39359 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39360 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39361 Make code unconditional.
39362 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39363 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39365 [__NR_vfork]: Make code unconditional.
39366 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39367 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39369 [__NR_vfork]: Make code unconditional.
39370 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39371 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39372
09c0ee5f
RM
393732012-08-01 Roland McGrath <roland@hack.frob.com>
39374
48aec5b9
RM
39375 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39376 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39377
cd97c966
RM
39378 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39379 Define mkstemp64 as an alias.
3f55550c
RM
39380 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39381 Define mkstemps64 as an alias.
cd97c966
RM
39382 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39383 Define mkostemp64 as an alias.
b8625cfc
RM
39384 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39385 Define mkostemps64 as an alias.
cd97c966
RM
39386 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39387 Conditionalize body on this.
39388 * misc/mkostemp64.c: Likewise.
b8625cfc 39389 * misc/mkostemps64.c: Likewise.
3f55550c 39390 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39391 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39392 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39393 * sysdeps/wordsize-64/mkostemp.c: File removed.
39394 * sysdeps/wordsize-64/mkstemp.c: File removed.
39395 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39398 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39399
09c0ee5f
RM
39400 [BZ #14138]
39401 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39402 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39403 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39404 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39405
39406 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39407 compat_symbol macros from <shlib-compat.h> rather than the underlying
39408 default_symbol_version and symbol_version macros, so that DEFAULT
39409 lines in shlib-versions are respected.
39410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39411
7e66ee51
FW
394122012-08-01 Florian Weimer <fweimer@redhat.com>
39413
39414 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39415 Declare with warn_unused_result.
39416 (setgid, setregid, setegid, setresgid): Likewise.
39417 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39418 Likewise.
39419 * WUR-REPORT: Remove set*id functions.
39420
d2a54255
PT
394212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39422
39423 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39424
7ecdb005
RM
394252012-07-31 Roland McGrath <roland@hack.frob.com>
39426
b4180a5e 39427 [BZ #10191]
789bd351
RM
39428 * include/sys/socket.h (__libc_accept, __libc_accept4):
39429 Add attribute_hidden.
39430 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39431
40ce302d
RM
39432 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39433 use of PTR_MANGLE.
39434 * inet/getnetgrent_r.c (setup): Likewise.
39435
7ecdb005
RM
39436 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39437
e2eabb2c
DM
394382012-07-31 David S. Miller <davem@davemloft.net>
39439
39440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39441
d0419dbf
JM
394422012-07-31 Joseph Myers <joseph@codesourcery.com>
39443
39444 [BZ #13629]
39445 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39446 value between 1.0 and 2.0 and smaller part has absolute value less
39447 than 1.0.
39448 * math/s_clog10.c (__clog10): Likewise.
39449 * math/s_clog10f.c (__clog10f): Likewise.
39450 * math/s_clog10l.c (__clog10l): Likewise.
39451 * math/s_clogf.c (__clogf): Likewise.
39452 * math/s_clogl.c (__clogl): Likewise.
39453 * math/libm-test.inc (clog_test): Add more tests.
39454 (clog10_test): Likewise.
39455 * sysdeps/i386/fpu/libm-test-ulps: Update.
39456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39457
2bc13872
FW
394582012-07-31 Florian Weimer <fweimer@redhat.com>
39459
39460 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39461 Exit with zero in case no suitable GID is found, and write a
39462 message to standard error.
39463
bea9b193
RM
394642012-07-30 Roland McGrath <roland@hack.frob.com>
39465
39466 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39467 rather than to 1.
39468 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39469 (MAXPATHLEN): Removed.
39470 (NOGROUP, NODEV): New macros.
39471 (setbit, clrbit, isset, isclr): New macros.
39472 (howmany, roundup, powerof2): New macros.
39473 (DEV_BSIZE): New macro.
39474
39475 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39476 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39477
39478 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39479 definition on [!__NO_LONG_DOUBLE_MATH].
39480
39481 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39482 PTR_MANGLE and PTR_DEMANGLE.
39483
39484 * socket/accept4.c (accept4): Rename to __libc_accept4.
39485 Define accept4 as a weak alias.
39486
39487 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39488 on [_DIRENT_HAVE_D_TYPE].
39489 * io/ftw.c (ftw_dir): Likewise.
39490
39491 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39492
39493 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39494
39495 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39496 Use the BSD numbers rather than the arbitrary ones we had.
39497 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39498 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39499 (SIGXCPU, SIGXFSZ): New macros.
39500 (_NSIG): Now 32.
39501
39502 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39503 initializer on [_LIBC_REENTRANT].
39504
39505 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39506 definitions inside [_POSIX_MAPPED_FILES].
39507
39508 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39509
39510 * dirent/opendir.c: Include <fcntl.h>.
39511
39512 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39513 (__libc_getspecific): Likewise.
39514 (__libc_key_create): Likewise.
39515
39516 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39517 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39518 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39519 (tmpfile64): Define as alias.
39520 * sysdeps/wordsize-64/tmpfile.c: File removed.
39521 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39524
39525 * stdio-common/vfscanf.c: Include <stdbool.h>.
39526 * nss/makedb.c: Likewise.
39527 * stdio-common/_i18n_number.h: Likewise.
39528 * argp/argp-help.c: Likewise.
39529 * posix/wordexp.c: Likewise.
39530 * sysdeps/posix/spawni.c: Likewise.
39531 * nss/nss_files/files-initgroups.c: Likewise.
39532 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39533 * nss/nss_files/files-initgroups.c: Likewise.
39534 * nss/nss_db/db-netgrp.c: Likewise.
39535 * nss/nss_db/db-initgroups.c: Likewise.
39536 * io/fchmodat.c: Include <sys/stat.h>.
39537
39538 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39539 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39540
39541 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39542 [HAVE_MMAP].
39543
39544 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39545 Add multiple inclusion protection.
39546
e5abc686
DM
395472012-07-27 David S. Miller <davem@davemloft.net>
39548
39549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39550
815e6fa3
GB
395512012-07-27 Gary Benson <gbenson@redhat.com>
39552
39553 [BZ #14298]
39554 * elf/rtld.c: Include <stap-probe.h>.
39555 (dl_main): Added static probes "init_start" and "init_complete".
39556 * elf/dl-load.c: Include <stap-probe.h>.
39557 (lose): Take new parameter "nsid".
39558 Added static probe "map_failed".
39559 (_dl_map_object_from_fd): Pass namespace id to lose.
39560 Added static probe "map_start".
39561 (open_verify): Pass namespace id to lose.
39562 * elf/dl-open.c: Include <stap-probe.h>.
39563 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39564 and "reloc_complete".
39565 * elf/dl-close.c: Include <stap-probe.h>.
39566 (_dl_close_worker): Added static probes "unmap_start" and
39567 "unmap_complete".
39568 * elf/rtld-debugger-interface.txt: New file documenting the above.
39569
9f98c16c
RM
395702012-07-26 Roland McGrath <roland@hack.frob.com>
39571
39572 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39573 rather than a string variable.
39574 * sunrpc/rpc_main.c (h_output): Likewise.
39575 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39576
f3c22df3
PT
395772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39578
39579 * inet/check_native.c: New file.
39580
3129cfc6
JM
395812012-07-26 Joseph Myers <joseph@codesourcery.com>
39582
da865e95
JM
39583 [BZ #13629]
39584 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39585 if larger part has absolute value 1.0.
39586 * math/s_clog10.c (__clog10): Likewise.
39587 * math/s_clog10f.c (__clog10f): Likewise.
39588 * math/s_clog10l.c (__clog10l): Likewise.
39589 * math/s_clogf.c (__clogf): Likewise.
39590 * math/s_clogl.c (__clogl): Likewise.
39591 * math/libm-test.inc (clog_test): Add more tests.
39592 (clog10_test): Likewise.
39593 * sysdeps/i386/fpu/libm-test-ulps: Update.
39594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39595
3129cfc6
JM
39596 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39597 (pltexit): Likewise.
39598 (La_regs): Likewise.
39599 (La_retval): Likewise.
39600 (int_retval): Likewise.
39601 Update #error for removed macros to refer only to definitions in
39602 tst-audit.h.
39603 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39604 macro.
39605 (pltexit): Likewise.
39606 (La_regs): Likewise.
39607 (La_retval): Likewise.
39608 (int_retval): Likewise.
39609 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39610 macro.
39611 (pltexit): Likewise.
39612 (La_regs): Likewise.
39613 (La_retval): Likewise.
39614 (int_retval): Likewise.
39615 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39616 macro.
39617 (pltexit): Likewise.
39618 (La_regs): Likewise.
39619 (La_retval): Likewise.
39620 (int_retval): Likewise.
39621 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39622 macro.
39623 (pltexit): Likewise.
39624 (La_regs): Likewise.
39625 (La_retval): Likewise.
39626 (int_retval): Likewise.
39627 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39628 macro.
39629 (pltexit): Likewise.
39630 (La_regs): Likewise.
39631 (La_retval): Likewise.
39632 (int_retval): Likewise.
39633 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39634 macro.
39635 (pltexit): Likewise.
39636 (La_regs): Likewise.
39637 (La_retval): Likewise.
39638 (int_retval): Likewise.
39639 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39640 macro definitions in tst-audit.h.
39641 * sysdeps/i386/tst-audit.h: New file.
39642 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39643 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39644 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39645 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39646 * sysdeps/sh/tst-audit.h: Likewise.
39647 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39648 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39649 * sysdeps/x86_64/tst-audit.h: Likewise.
39650
bfc07087
AJ
396512012-07-26 Andreas Jaeger <aj@suse.de>
39652
b1b2aaf8
AJ
39653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39654 ptrace.
39655
39656 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39657 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39658 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39659 PTRACE_O_MASK.
39660 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39661 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39662 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39663
bfc07087
AJ
39664 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39665 value.
39666
39667 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39668 _sigsys.
39669 (si_call_addr, si_syscall, si_arch): Define new macro.
39670 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39671 _sigsys.
39672 (si_call_addr, si_syscall, si_arch): Define new marcro.
39673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39674 _sigsys.
39675 (si_call_addr, si_syscall, si_arch): Define new macro.
39676 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39677 _sigsys.
39678 (si_call_addr, si_syscall, si_arch): Define new macro.
39679
89b4b02f
JM
396802012-07-25 Joseph Myers <joseph@codesourcery.com>
39681
39682 [BZ #13717]
39683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39684 Change to 2.4.21 where previously 2.4.1.
39685 * sysdeps/unix/sysv/linux/configure: Regenerated.
39686 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39687 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39688 Linux kernel version.
39689 (__ASSUME_STD_AUXV): Remove.
39690 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39691 kernel version.
39692 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39693 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39694 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39695 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39696 (__ASSUME_NETLINK_SUPPORT): Likewise.
39697 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39698 (__no_netlink_support): Remove conditional definition.
39699 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39700 Remove.
39701 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39702 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39703 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39704 (if_nameindex_ioctl): Remove.
39705 (if_nameindex_netlink): Do not handle __no_netlink_support.
39706 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39707 code.
39708 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39709 Remove conditional code.
39710 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39711 code.
39712 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39713 unconditional.
39714 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39715 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39716 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39717 Remove.
39718 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39719 [!__ASSUME_STD_AUXV]: Remove conditional code.
39720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39721 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39722 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39724 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39725 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39726 code.
39727 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39729 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39730 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39731 conditional code.
39732 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39734 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39735 code.
39736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39737 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39738 conditional code.
39739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39740 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39741 code unconditional.
39742 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39743 conditional code.
39744 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39745 unconditional.
39746 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39747 conditional code.
39748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39749 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39750 unconditional.
39751 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39752 conditional code.
39753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39754 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39755 code unconditional.
39756 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39757 conditional code.
39758 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39759 unconditional.
39760 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39761 conditional code.
39762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39763 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39764 code unconditional.
39765 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39766 conditional code.
39767 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39768 unconditional.
39769 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39770 conditional code.
39771
842a39cd
AS
397722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39773
39774 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39775 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39776 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39777 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39778 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39779 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39780 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39781 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39782 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39783 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39784 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39785 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39786 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39787 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39789 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39790 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39792 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39794 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39795 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39796 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39797
84b3fd84
FW
397982012-07-25 Florian Weimer <fweimer@redhat.com>
39799
39800 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39801 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39802 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39803 Introduce __libc_secure_getenv.
0c7936d5
FW
39804 * stdlib/Versions (2.17): Add secure_getenv
39805 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39806 * stdlib/secure-getenv.c: Rename __secure_getenv to
39807 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39808 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39809 * stdlib/tst-secure-getenv.c: New.
39810 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39811 * manual/startup.texi (Environment Access): Document
39812 secure_getenv.
84b3fd84
FW
39813 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39814 __libc_secure_getenv.
39815 * inet/ruserpass.c (ruserpass): Likewise.
39816 * malloc/mtrace.c (mtrace): Likewise.
39817 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39818 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39819 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39820 * sysdeps/posix/tempname.c: Likewise. Evaluate
39821 HAVE_SECURE_GETENV.
39822 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39823 __secure_getenv to __libc_secure_getenv.
84b3fd84 39824 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39826 Likewise.
39827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39828 Likewise.
39829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39836
56e49b71
JM
398372012-07-25 Joseph Myers <joseph@codesourcery.com>
39838
39839 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39840 (struct La_i86_retval): Likewise.
39841 (struct La_x86_64_regs): Likewise.
39842 (struct La_x86_64_retval): Likewise.
39843 (struct La_x32_regs): Likewise.
39844 (struct La_x32_retval): Likewise.
39845 (struct La_ppc32_regs): Likewise.
39846 (struct La_ppc32_retval): Likewise.
39847 (struct La_ppc64_regs): Likewise.
39848 (struct La_ppc64_retval): Likewise.
39849 (struct La_sh_regs): Likewise.
39850 (struct La_sh_retval): Likewise.
39851 (struct La_s390_32_regs): Likewise.
39852 (struct La_s390_32_retval): Likewise.
39853 (struct La_s390_64_regs): Likewise.
39854 (struct La_s390_64_retval): Likewise.
39855 (struct La_sparc32_regs): Likewise.
39856 (struct La_sparc32_retval): Likewise.
39857 (struct La_sparc64_regs): Likewise.
39858 (struct La_sparc64_retval): Likewise.
39859 (struct audit_ifaces): Remove architecture-specific pltenter and
39860 pltexit members.
39861 * sysdeps/i386/ldsodefs.h: New file.
39862 * sysdeps/powerpc/ldsodefs.h: Likewise.
39863 * sysdeps/s390/ldsodefs.h: Likewise.
39864 * sysdeps/sh/ldsodefs.h: Likewise.
39865 * sysdeps/sparc/ldsodefs.h: Likewise.
39866 * sysdeps/x86_64/ldsodefs.h: Likewise.
39867
354691b7
MP
398682012-07-25 Marek Polacek <polacek@redhat.com>
39869
39870 [BZ #6808]
39871 * math/libm-test.inc (yn_test): Add another test.
39872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39873 to ERANGE when the result is +-Inf.
39874 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39875 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39876 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39877 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39878
bf9e2071
JM
398792012-07-24 Joseph Myers <joseph@codesourcery.com>
39880
39881 * conform/data/time.h-data (NULL): Use macro-constant. Require
39882 equal to 0.
39883 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39884 clock_t.
39885 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39886
57633811
TS
398872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39888
39889 * configure.in <sysdeps resolving>: Correct printing
39890 Implies_before.
39891 * configure: Regenerate.
39892
c23c33b0
TS
398932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39894
39895 * math/w_ilogb.c: Include <limits.h>.
39896 * math/w_ilogbl.c: Likewise.
39897
b5982523
JM
398982012-07-20 Joseph Myers <joseph@codesourcery.com>
39899
39900 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39901 va_copy. Document allowing for unavailable va_copy only as
39902 pre-C99 compatibility.
39903 * manual/string.texi (Copying and Concatenation): Use va_copy
39904 instead of __va_copy in concat example.
39905
ac4ea442
PT
399062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39907
39908 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39909 (__sendto): Use create_address_port. Initialize APORT and deallocate
39910 it if not null.
39911
f98eafbd
PT
39912 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39913 with O_NOLINK passed to __file_name_lookup.
39914
898c7aab
PT
39915 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39916 with O_NOLINK passed to __file_name_lookup.
39917
0ced335a
PT
39918 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39919 negative N or less than NGIDS.
39920
b3404dbd
PT
39921 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39922 type to string_t. Set ERANGE as errno and return it if NAME is not big
39923 enough. Use memcpy instead of strncpy.
39924
0f48659e
JM
399252012-07-20 Joseph Myers <joseph@codesourcery.com>
39926
39927 * elf/Makefile (check-data): Remove.
39928 (localplt.data): New vpath directive.
39929 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39930 instead of $(check-data).
39931 * scripts/data/localplt-generic.data: Move to ...
39932 * sysdeps/generic/localplt.data: ... here.
39933 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39934 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39935 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39937 ... here.
39938 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39940 ... here.
39941 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39943 ... here.
39944 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39946 ... here.
39947 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39949 ... here.
39950 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39952 ... here.
39953
d37cbdaa
AZ
399542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39955
39956 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39957 PPC32 and PPC64 files.
39958 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39959 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39960
46f85fc2
AK
399612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39962
39963 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39964 __makecontext_ret to ...
39965 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39966 ... here and call exit if uc_link is NULL. New file.
39967 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39968 __makecontext_ret.S.
39969 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39970 __makecontext_ret to ...
39971 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39972 ... here and call exit if uc_link is NULL. New file.
39973 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39974 __makecontext_ret.S.
39975
08f43f9b
AK
399762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39977
39978 * elf/elf.h (R_390_IRELATIVE): New definition.
39979 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39980 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39981 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39983 (elf_machine_lazy_rel): Likewise.
39984 * sysdeps/s390/dl-irel.h: New file.
39985 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39986 * sysdeps/s390/s390-64/memset.S: New asm code.
39987 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39988 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39989 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39990 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39991 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39992 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39993 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39994 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39995 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39996 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39997 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39998 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39999 * sysdeps/s390/s390-32/memset.S: New asm code.
40000 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40001
3b05db33
MP
400022012-07-17 Marek Polacek <polacek@redhat.com>
40003
40004 [BZ #14349]
40005 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40006 * sysdeps/s390/s390-64/configure.in: Likewise.
40007 * sysdeps/sparc/configure.in: Likewise.
40008 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40009 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40010 * sysdeps/i386/configure.in: Likewise.
40011 * sysdeps/x86_64/configure.in: Likewise.
40012 * sysdeps/sh/configure.in: Likewise.
40013 * sysdeps/s390/s390-32/configure: Regenerated.
40014 * sysdeps/s390/s390-64/configure: Likewise.
40015 * sysdeps/x86_64/configure: Likewise.
40016 * sysdeps/sh/configure: Likewise.
40017 * sysdeps/powerpc/powerpc64/configure: Likewise.
40018 * sysdeps/powerpc/powerpc32/configure: Likewise.
40019 * sysdeps/sparc/configure: Likwise.
40020 * sysdeps/i386/configure: Likewise.
40021
a66877c6
MP
40022 * elf/dl-open.c: Comment fixes.
40023
cfc82fd8
JM
400242012-07-17 Joseph Myers <joseph@codesourcery.com>
40025
bd29910a
JM
40026 * Makefile [CXX] (check-data): Remove.
40027 [CXX] (c++-types.data): New vpath directive.
40028 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40029 vpath. Do not allow for C++ type data being missing.
40030 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40031 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40032 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40033 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40034 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40035 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40036 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40038 ... here.
40039 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40041 ... here.
40042 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40044 ... here.
40045 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40047 ... here.
40048 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40050 ... here.
40051 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40053 ... here.
40054 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40056 ... here.
40057 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40059
cfc82fd8
JM
40060 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40061 definitions to architecture-specific files.
40062 (TLS_IE): Likewise.
40063 (TLS_LD): Likewise.
40064 (TLS_GD): Likewise.
40065 * sysdeps/i386/tls-macros.h: New file.
40066 * sysdeps/powerpc/tls-macros.h: Likewise.
40067 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40068 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40069 * sysdeps/sh/tls-macros.h: Likewise.
40070 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40071 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40072 * sysdeps/x86_64/tls-macros.h: Likewise.
40073
f7db3170
TS
400742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40075
07cbfc23
TS
40076 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40077 zero value for regular exit case.
40078
f7db3170
TS
40079 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40080 (__start_context): Preserve zero value for regular exit case.
40081
dc97c227
TS
400822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40083 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40084
40085 * manual/setjmp.texi (setcontext): Clarify normal process
40086 termination when uc_link is the null pointer.
40087 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40088 exit call.
40089
d0cd7d02
AS
400902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40091
40092 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40093 preprocessor. Test for each exception mask separately.
40094
dd318934
AJ
400952012-07-16 Andreas Jaeger <aj@suse.de>
40096
40097 * po/ru.po: Update from translation team.
40098
8048311a
JM
400992012-07-15 Joseph Myers <joseph@codesourcery.com>
40100
40101 * conform/data/string.h-data (NULL): Use macro-constant. Require
40102 equal to 0.
40103 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40104 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40105 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40106 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40108
b637d46e
AJ
401092012-07-13 Andreas Jaeger <aj@suse.de>
40110
40111 * po/fr.po: Update from translation team.
40112
541428fe
MP
401132012-07-12 Marek Polacek <polacek@redhat.com>
40114
40115 [BZ #14173]
40116 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40117 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40118 loop condition.
40119
ec332e94
JM
401202012-07-12 Joseph Myers <joseph@codesourcery.com>
40121
40122 [BZ #13717]
40123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40124 Change to 2.4.1 where previously 2.4.0.
40125 * sysdeps/unix/sysv/linux/configure: Regenerated.
40126 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40127 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40128 version.
40129 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40130 (__ASSUME_AT_CLKTCK): Remove.
40131 (__ASSUME_AT_PAGESIZE): Likewise.
40132 (__ASSUME_AT_XID): Likewise.
40133 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40134 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40135 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40136 unconditionally.
40137 (HAVE_AUX_PAGESIZE): Likewise.
40138 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40139 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40140 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40141
7b6e99be
JB
401422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40143
40144 [BZ #14307]
40145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40146 the temporary buffer used to invoke __gethostbyname2_r,
40147 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40148 host_data / struct gaih_addrtuple.
40149 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40150 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40151 header file nss/nsswitch.h.
40152 * nss/nsswitch.h (global scope): Add definition of implementation
40153 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40154 resolv/nss_dns/dns-host.c).
40155
608404eb
AJ
401562012-07-11 Andreas Jaeger <aj@suse.de>
40157
40158 * po/fr.po: Update from translation team.
40159
71220aca
AJ
40160 * po/sv.po: Update from translation team
40161 * po/fr.po: Another update from translation team.
40162
28cfe843
AZ
401632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40164
40165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40166 for subnormals or multiply small sinh result by itself.
40167 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40169
6b90f981
DM
401702012-07-11 David S. Miller <davem@davemloft.net>
40171
40172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40173
c6825772
AS
401742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40175
40176 [BZ #14347]
40177 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40178 (INTERNAL_MARK): Shift it here.
40179
7b8e0d49
MP
401802012-07-10 Marek Polacek <polacek@redhat.com>
40181
40182 [BZ #14151]
40183 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40184 libc_cv_asm_global_directive with .globl.
40185 * configure: Regenerated.
40186 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40187 with .globl.
40188 * sysdeps/i386/configure: Regenerated.
40189 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40190 with .globl.
40191 * sysdeps/x86_64/configure: Regenerated.
40192 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40193 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40194 * elf/tst-unique2mod2.c: Likewise.
40195 * elf/tst-unique2mod1.c: Likewise.
40196 * elf/tst-unique1mod2.c: Likewise.
40197 * elf/tst-unique1mod1.c: Likewise.
40198 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40199 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40201 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40202 * sysdeps/mach/sysdep.h: Likewise.
40203 * sysdeps/i386/sysdep.h: Likewise.
40204 * sysdeps/i386/i386-mcount.S: Likewise.
40205 * sysdeps/x86_64/_mcount.S: Likewise.
40206 * sysdeps/x86_64/sysdep.h: Likewise.
40207 * sysdeps/sh/_mcount.S: Likewise.
40208 * sysdeps/sh/sysdep.h: Likewise.
40209 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40210 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40211 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40212 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40213 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40214 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40215 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40216 * locale/localeinfo.h: Likewise.
40217 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40218 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40219
6c55cda3
RM
402202012-07-09 Roland McGrath <roland@hack.frob.com>
40221
40222 [BZ #14336]
40223 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40224 system".
40225 * manual/message.texi (The Uniforum approach): Likewise.
40226 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40227 (glibc iconv Implementation): Likewise.
40228
638a572e
JM
402292012-07-09 Joseph Myers <joseph@codesourcery.com>
40230
40231 [BZ #14337]
40232 * math/s_clog.c (__clog): Avoid scaling a value down where that
40233 could result in underflow.
40234 * math/s_clog10.c (__clog10): Likewise.
40235 * math/s_clog10f.c (__clog10f): Likewise.
40236 * math/s_clog10l.c (__clog10l): Likewise.
40237 * math/s_clogf.c (__clogf): Likewise.
40238 * math/s_clogl.c (__clogl): Likewise.
40239 * math/libm-test.inc (clog_test): Add more tests.
40240 (clog10_test): Likewise.
40241 * sysdeps/i386/fpu/libm-test-ulps: Update.
40242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40243
261f4859
AS
402442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40245
0abaf3e4
AS
40246 [BZ #14283]
40247 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40248 by 7 not 8 to examine high bit of fractional part.
40249
261f4859
AS
40250 [BZ #14042]
40251 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40252 for call to __mcount_internal.
40253 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40254 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40255 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40256
f17ac40d
JM
402572012-07-06 Joseph Myers <joseph@codesourcery.com>
40258
9ad63c23
JM
40259 [BZ #14154]
40260 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40261 approximation for values within 0x1p-13f of an odd multiple of
40262 pi/4.
40263 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40264 exception. Add more tests.
40265 * sysdeps/i386/fpu/libm-test-ulps: Update.
40266
f17ac40d
JM
40267 [BZ #6778]
40268 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40269 inputs and return -1 for them. Do not check for +Inf in case not
40270 reachable for +Inf.
40271 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40272 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40273 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40274 and return -1 for them. Do not check for +Inf in case not
40275 reachable for +Inf.
40276 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40277 define.
40278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40279 and return -1 for them. Do not check for +Inf in case not
40280 reachable for +Inf.
40281 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40282 spurious underflow.
40283 * sysdeps/i386/fpu/libm-test-ulps: Update.
40284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40285
fb21f89b
MF
402862012-07-06 Mike Frysinger <vapier@gentoo.org>
40287
40288 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40289
cdfe2c5e
JM
402902012-07-05 Joseph Myers <joseph@codesourcery.com>
40291
40292 [BZ #14157]
40293 [BZ #14331]
40294 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40295 could result in spurious underflow. Scale down values above
40296 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40297 * math/s_csqrtf.c (__csqrtf): Likewise.
40298 * math/s_csqrtl.c (__csqrtl): Likewise.
40299 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40300 spurious underflow.
40301 * sysdeps/i386/fpu/libm-test-ulps: Update.
40302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40303
70d35b67
AS
403042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40305
704bc459
AS
40306 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40307 xopen-msg.sed.
40308 * catgets/xopen-msg.awk: New file.
40309 * catgets/xopen-msg.sed: Removed.
40310
70d35b67
AS
40311 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40312 po2text.sed.
40313 * intl/po2test.awk: New file.
40314 * intl/po2test.sed: Removed.
40315
ca61cf32
JM
403162012-07-04 Joseph Myers <joseph@codesourcery.com>
40317
40318 [BZ #14328]
40319 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40320 or multiply small sinh result by itself.
40321 * math/s_ctanf.c (__ctanf): Likewise.
40322 * math/s_ctanh.c (__ctanh): Likewise.
40323 * math/s_ctanhf.c (__ctanhf): Likewise.
40324 * math/s_ctanhl.c (__ctanhl): Likewise.
40325 * math/s_ctanl.c (__ctanl): Likewise.
40326 * math/libm-test.inc (ctan_test_tonearest): New function.
40327 (ctan_test_towardzero): Likewise.
40328 (ctan_test_downward): Likewise.
40329 (ctan_test_upward): Likewise.
40330 (ctanh_test_tonearest): Likewise.
40331 (ctanh_test_towardzero): Likewise.
40332 (ctanh_test_downward): Likewise.
40333 (ctanh_test_upward): Likewise.
40334 (main): Call these new functions.
40335 * sysdeps/i386/fpu/libm-test-ulps: Update.
40336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40337
ca48a46a
MF
403382012-07-03 Mike Frysinger <vapier@gentoo.org>
40339
40340 * .gitignore: Delete /ports entry.
40341
9d63d37d
AJ
403422012-07-03 Andreas Jaeger <aj@suse.de>
40343
40344 * po/bg.po: Update from translation team.
40345 * po/cs.po: Likewise.
40346 * po/de.po: Likewise.
40347 * po/hr.po: Likewise.
40348 * po/nl.pl: Likewise.
40349 * po/pl.po: Likewise.
40350 * po/vi.po: Likewise.
40351
370ca3d2
JM
403522012-07-03 Joseph Myers <joseph@codesourcery.com>
40353
95f5a9a8
JM
40354 * Makeconfig [!+link] (+link-before-libc): New variable.
40355 [!+link] (+link-after-libc): Likewise.
40356 [!+link] (+link-tests): Likewise.
40357 [!+link] (+link): Define in terms of $(+link-before-libc) and
40358 $(+link-after-libc).
40359 [!+link-static] (+link-static-before-libc): New variable.
40360 [!+link-static] (+link-static-after-libc): Likewise.
40361 [!+link-static] (+link-static-tests): Likewise.
40362 [!+link-static] (+link-static): Define in terms of
40363 $(+link-static-before-libc) and $(+link-static-after-libc).
40364 [build-shared] (link-libc-before-gnulib): New variable.
40365 [build-shared] (link-libc-tests): Likewise.
40366 [build-shared] (link-libc): Define in terms of
40367 $(link-libc-before-gnulib).
40368 [!build-shared] (link-libc-tests): New variable.
40369 (link-libc-static-tests): New variable.
40370 [!gnulib] (gnulib-arch): New variable.
40371 [!gnulib] (gnulib-tests): Likewise.
40372 [!gnulib] (static-gnulib-arch): Likewise.
40373 [!gnulib] (static-gnulib-tests): Likewise.
40374 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40375 Define with "=" instead of ":=".
40376 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40377 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40378 * Rules (binaries-all-notests): New variable.
40379 (binaries-all-tests): Likewise.
40380 (binaries-static-notests): Likewise.
40381 (binaries-static-tests): Likewise.
40382 (binaries-all): Define using $(binaries-all-notests) and
40383 $(binaries-all-tests).
40384 (binaries-static): Define using $(binaries-static-notests) and
40385 $(binaries-static-tests).
40386 (binaries-shared-tests): New variable.
40387 (binaries-shared-notests): Likewise.
40388 (binaries-shared): Remove variable.
40389 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40390 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40391 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40392 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40393 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40394 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40395 * elf/Makefile (sln-modules): New variable.
40396 (extra-objs): Add $(sln-modules:=.o).
40397 (ldconfig-modules): Add static-stubs.
40398 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40399 * elf/static-stubs.c: New file.
40400
7a845b2c
JM
40401 [BZ #14283]
40402 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40403 by 7 not 8 to examine high bit of fractional part. Use volatile
40404 variables when splitting into final array of floats if
40405 __FLT_EVAL_METHOD__ != 0.
40406 * math/libm-test.inc (cos_test): Add another test.
40407 (sin_test): Likewise.
40408 * sysdeps/i386/fpu/libm-test-ulps: Update.
40409
e2283f38
JM
40410 [BZ #14273]
40411 * math/libm-test.inc (cosh_test): Add more tests.
40412
370ca3d2
JM
40413 * version.h (RELEASE): Set to "development".
40414 (VERSION): Set to "2.16.90".
40415
ee9247c3
CD
404162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40417
40418 * NEWS: Update copyright. Remove last-updated date.
40419 Mention math library bug fixes and timezone data changes.
40420 * README: Mention GNU/Hurd, x32, and HPPA support status.
40421
4648c381
TS
404222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40423
40424 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40425
aac78a43
AJ
404262012-06-27 Andreas Jaeger <aj@suse.de>
40427
40428 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40429
ed3dbfad
AJ
404302012-06-25 Andreas Jaeger <aj@suse.de>
40431
40432 * sysdeps/s390/fpu/libm-test-ulps: Update.
40433
4d0ee855
AS
404342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40435 Thomas Schwinge <thomas@codesourcery.com>
40436
40437 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40438 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40440 fanotify_mark.
40441
af1bce34
TS
404422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40443
a9fa33ba
TS
40444 * sysdeps/mach/start.c: Remove file.
40445 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40446 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40447 * sysdeps/sh/init-first.c: Likewise.
40448
58f902b8
TS
40449 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40450 registers for frame unwinding purposes, add CFI directives.
40451 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40452 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40453 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40454 Likewise.
40455
1518f58b
TS
40456 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40457 __fortify_fail returning.
40458 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40459
db9b5059
TS
40460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40461 sysdeps/sh/____longjmp_chk.S.
40462 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40463 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40464 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40465 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40466
967705fe
TS
40467 * sysdeps/sh/abort-instr.h: New file.
40468 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40469 process in case exit returns.
40470
a9def8c4
TS
40471 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40472 initialize the GOT register before use.
40473
2a649725
TS
40474 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40475 calculation of ARGC > 4.
40476
af1bce34
TS
40477 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40478 meaningful names to some local labels.
40479
d230f50a
KK
404802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40481 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40482
40483 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40484 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40485 (__arch_compare_and_exchange_val_16_acq): Likewise.
40486 (__arch_compare_and_exchange_val_32_acq): Likewise.
40487 (atomic_exchange_and_add): Fix gUSA sequence.
40488 (atomic_add): Likewise.
40489 (atomic_add_negative): Likewise.
40490 (atomic_add_zero): Likewise.
40491 (atomic_bit_test_set): Likewise.
40492
0479b305
AS
404932012-06-22 Andreas Schwab <schwab@redhat.com>
40494
40495 [BZ #13579]
40496 * include/link.h (struct link_map): Add l_free_initfini.
40497 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40498 l_initfini.
40499 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40500 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40501 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40502 set.
40503
0e3933b9
CD
405042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40505
40506 * configure.in: Use AC_LANG_SOURCE.
40507 * configure: Regenerate.
40508
4248b1b1
RM
405092012-06-22 Roland McGrath <roland@hack.frob.com>
40510
40511 * configure.in (libc_cv_localstatedir): New substituted variable.
40512 * configure: Regenerated.
40513 * config.make.in (localstatedir): New variable, substituted from
40514 libc_cv_localstatedir.
40515 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40516 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40517 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40518 * sysdeps/gnu/configure: Regenerated.
40519
006dd861
JL
405202012-06-21 Jeff Law <law@redhat.com>
40521
40522 [BZ #14277]
40523 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40524 free. Simplify list management for _LIBC case.
40525
79662d42
JM
405262012-06-21 Joseph Myers <joseph@codesourcery.com>
40527
b7abb4bf
JM
40528 [BZ #14273]
40529 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40530 Clear sign bit of 64-bit integer value before comparing against
40531 overflow value.
40532
79662d42
JM
40533 * sysdeps/mach/configure: Regenerated.
40534
1f150908
L
405352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40536
40537 [BZ #14278]
40538 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40539
28363bbf
JL
405402012-06-21 Jeff Law <law@redhat.com>
40541
40542 [BZ #13882]
40543 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40544 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40545 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40546 * elf/dl-open.c (dl_open_worker): Likewise.
40547
09615db4
CD
405482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40549
40550 * scripts/list-sources.sh: Scan PORTS for translations.
40551 * po/libc.pot: Regenerated.
40552
2174c6dd
AJ
405532012-06-21 Andreas Jaeger <aj@suse.de>
40554
40555 [BZ #12194]
40556 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40557 warning.
40558 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40559 * bits/byteswap-16.h (__bswap_16): Likewise.
40560 * bits/byteswap.h (__bswap_constant_16): Likewise.
40561
3ee947b1
L
405622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40563
40564 [BZ #14117]
a2f34833
L
40565 * sysdeps/i386/fpu_control.h: Removed.
40566 * sysdeps/x86_64/fpu_control.h: Moved to ...
40567 * sysdeps/x86/fpu_control.h: Here.
40568
3ee947b1
L
40569 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40570 (_FPU_SETCW): Likewise.
40571
ed1825f8
L
405722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40573
25f1282a
L
40574 [BZ #14117]
40575 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40576 * sysdeps/x86/fpu/bits/mathinline.h: This.
40577 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40578
ed1825f8
L
40579 [BZ #14050]
40580 [BZ #14117]
40581 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40582 functions if __x86_64__ is defined.
40583
36d54b74
CLT
405842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40585
40586 * string/endian.h: Add !__ASSEMBLER__ condition for including
40587 conversion interfaces.
40588
10285c21
JM
405892012-06-15 Joseph Myers <joseph@codesourcery.com>
40590
40591 [BZ #14241]
40592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40593 of ABS(x) in calculating zero to negative powers other than odd
40594 integers.
40595 * math/libm-test.inc (pow_test): Add more tests.
40596
06c5abbd
AJ
405972012-06-15 Andreas Jaeger <aj@suse.de>
40598
40599 * manual/contrib.texi (Contributors): Update entry of Liubov
40600 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40601 Machado Filho.
40602
a3aeac40
CH
406032012-06-15 Cyril Hrubis <metan@ucw.cz>
40604
40605 * string/string.h: Add __wur to GNU version of strerror_r.
40606
49bdf4c1
L
406072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40608
40609 [BZ #14229]
40610 * string/Makefile (tests): Add tst-strtok_r.
40611 * string/tst-strtok_r.c: New file.
40612 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40613 RAX_LP/RDX_LP on SAVE_PTR.
40614
834f9b8d
RM
406152012-06-14 Roland McGrath <roland@hack.frob.com>
40616
40617 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40618
75fa1921
JM
406192012-06-14 Joseph Myers <joseph@codesourcery.com>
40620
40621 * libm_test.inc (csqrt_test): Allow more spurious underflow
40622 exceptions.
40623 (j0_test): Likewise.
40624 (j1_test): Likewise.
40625 (y0_test): Likewise.
40626 (y1_test): Likewise.
40627
771766df
CD
406282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40629
40630 * po/Makefile (libc.pot): Use UTF-8 charset.
40631
ceb9e56b
PP
406322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40633
40634 [BZ #14210]
40635 Suppress sign-conversion warning from FD_SET.
40636 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40637 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40638 not unsigned long int.
40639 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40640
ddb28975
L
406412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40642
40643 [BZ #14050]
40644 [BZ #14117]
40645 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40646 __extern_always_inline instead of __extern_inline.
40647 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40648 (__signbit): Likewise.
40649 (__signbitl): Support C++ namespace.
40650 (lrintf): New inline function.
40651 (lrint): Likewise.
40652 (llrintf): Likewise.
40653 (llrint): Likewise.
40654 (fmaxf): Likewise.
40655 (fmax): Likewise.
40656 (fminf): Likewise.
40657 (fmin): Likewise.
40658 (rint): Likewise.
40659 (rintf): Likewise.
40660 (ceil): Likewise.
40661 (ceilf): Likewise.
40662 (floor): Likewise.
40663 (floorf): Likewise.
40664 (nearbyint): Likewise.
40665 (nearbyintf): Likewise.
40666
d7b4fb26
TS
406672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40668
40669 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40670 non-default versions.
40671
eb55f5c2
RM
406722012-06-11 Roland McGrath <roland@hack.frob.com>
40673
40674 [BZ #14218]
40675 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40676
366af02c
TS
406772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40678
99ff6e5c
TS
40679 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40680 (FE_UPWARD, FE_DOWNWARD): Don't define.
40681 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40682 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40683
366af02c
TS
40684 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40685 reading it.
40686 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40687 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40688
793ea851
KK
406892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40690
40691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40693 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40694 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40695
a728a38f
L
406962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40697
40698 [BZ #14117]
c08010c7
L
40699 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40700 * sysdeps/i386/fpu/Implies: New file.
40701 * sysdeps/x86_64/fpu/Implies: Likewise.
40702 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40703 * sysdeps/x86/fpu/bits/fenv.h: This.
40704
a728a38f
L
40705 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40706 __SSE_MATH__.
40707
6e230d11
SP
407082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40709
40710 [BZ #14134]
40711 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40712 character 0xffff that matches the last element of the
40713 conversion table.
40714
1b671feb
AZ
407152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40716
40717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40718 fmodl commit.
40719
6043738b
AZ
407202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40721
40722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40723 values higher than 25.6283.
40724
34ae0b32
AZ
407252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40726
40727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40728 subnormal exponent extraction and add some __builtin_expect.
40729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40730 Fix for subnormal mantissa calculation.
40731
1214ec8f
MF
407322012-06-04 Mike Frysinger <vapier@gentoo.org>
40733
40734 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40735 cpu2 is -1 and errno is not ENOSYS.
40736
f3d1f93c
L
407372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40738
40739 [BZ #14117]
0e4a3cd7
L
40740 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40741 * sysdeps/x86/bits/string.h: This.
40742 * sysdeps/x86_64/bits/string.h: Removed.
40743
6704c645
L
40744 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40745 if not compiling for x86-64, but compiling for >= i486.
40746
48495318
L
40747 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40748 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40749
14adcbfc
L
40750 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40751 New macro from Linux kernel 3.4.0.
40752 (FP_XSTATE_MAGIC2): Likewise.
40753 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40754 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40755 (struct _fpx_sw_bytes): New struct.
40756 (struct _xsave_hdr): Likewise.
40757 (struct _ymmh_state): Likewise.
40758 (struct _xstate): Likewise.
40759
68e408ab
L
40760 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40761 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40763 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40764 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40765 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40766
f3d1f93c
L
40767 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40768 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40769 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40770 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40771 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40772 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40773
d9dc34cd
TMQMF
407742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40775
40776 [BZ #13743]
40777 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40778 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40779 (sysdep_headers): Include sys/platform/ppc.h.
40780 * sysdeps/powerpc/test-gettimebase.c: Test for
40781 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40782 * manual/Makefile (appendices): Include platform.texi.
40783 * manual/contrib.texi (Contributors): Update @node pointers.
40784 * manual/maint.texi (Maintenance): Likewise.
40785 (Platform): New node.
40786 * manual/platform.texi: New file. Document the new features.
40787
4af3879c
SP
407882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40789 Jakub Jelinek <jakub@redhat.com>
40790
40791 [BZ #14188]
40792 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40793 where __builtin_expect is unavailable.
40794
2fd6ff13
DM
407952012-06-03 David S. Miller <davem@davemloft.net>
40796
40797 * stdlib/longlong.h: Updated from GCC.
40798
173f7220
AS
407992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40800
40801 [BZ #14042]
40802 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40803 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40804 __mcount_internal.
40805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40806 (GLIBC_2.16): Likewise.
40807
f34a1c6f
L
408082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40809
40810 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40811
88a4576f
JM
408122012-06-01 Joseph Myers <joseph@codesourcery.com>
40813
ea32bcdd
JM
40814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40815 (default-abi): New variable.
40816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40817 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40818 variable.
40819 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40820 Likewise.
40821 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40822 Likewise.
40823 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40824 Likewise.
40825
88a4576f
JM
40826 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40827 definition. Document in comment.
40828
402fe938
DM
408292012-06-01 David S. Miller <davem@davemloft.net>
40830
40831 * stdlib/longlong.h: Updated from GCC.
40832
3553723f
L
408332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40834
40835 [BZ #14117]
3bd872c4
L
40836 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40837 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40838 sys/debugreg.h sys/io.h here.
40839 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40840 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40841 sys/io.h.
40842 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40843 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40844 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40845 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40846 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40847 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40848
3553723f
L
40849 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40850 Define only if __x86_64__ is defined.
40851
4842e4fe
JM
408522012-06-01 Joseph Myers <joseph@codesourcery.com>
40853
c5bfe3d5
JM
40854 [BZ #14048]
40855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40856 Use int64_t for variable i.
40857 * math/libm-test.inc (fmod_test): Add more tests.
40858
4842e4fe
JM
40859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40860 z computation is not scheduled after fetestexcept.
40861 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40862 Use math_force_eval instead of asm to ensure calculation scheduled
40863 before exception test.
40864 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40865 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40866
efb73488
AJ
408672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40868
40869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40870 computation is not scheduled after fetestexcept.
40871
29bcce7c
L
408722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40873
40874 [BZ #14117]
40875 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40876 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40877
73a68f94
AZ
408782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40879
40880 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40881 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40882
67b6df78
L
408832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40884
edf2933a 40885 [BZ #14117]
ebc64a18
L
40886 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40887 <bits/wordsize.h>.
40888 (__WCHAR_MIN): Support __WORDSIZE == 64.
40889 (__WCHAR_MAX): Likewise.
40890
edf2933a
L
40891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40892 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40893
57c6cf40
L
40894 [BZ #14183]
40895 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40896 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40897
67b6df78 40898 [BZ #14117]
8eb6281e
L
40899 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40900 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40901
aac639f4
L
40902 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40903 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40904
67b6df78
L
40905 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40906 Defined to 1 if __x86_64__ isn't defined.
40907 (_STAT_VER_LINUX_OLD): New.
40908 (st_atime): Remove duplicate.
40909 (st_mtime): Likewise.
40910 (st_ctime): Likewise.
40911
1c2cfe81
DM
409122012-05-31 David S. Miller <davem@davemloft.net>
40913
40914 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40915 entries.
40916
5be8418c
AS
409172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40918
e7725326
AS
40919 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40920 gen-libm-test.pl.
40921
5be8418c
AS
40922 [BZ #14132]
40923 * elf/dl-reloc.c: Include <_itoa.h>.
40924 (_dl_reloc_bad_type): Remove use of INTUSE.
40925 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40926 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40927 * stdio-common/psiginfo.c (psiginfo): Likewise.
40928 * stdio-common/psignal.c (psignal): Likewise.
40929 * string/strsignal.c (strsignal): Likewise.
40930 * include/signal.h (_sys_siglist): Declare hidden proto.
40931 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40932 INTVARDEF with libc_hidden_data_def.
40933 * stdio-common/itoa-udigits.c: Likewise.
40934 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40935 (_itoa_lower_digits_internal): Remove declaration.
40936 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40937 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40938 (_sys_sigabbrev_internal): Remove aliases.
40939 (_sys_siglist): Define hidden alias.
40940
507352f1
MT
409412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40942
40943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40944 bits/sysctl.h.
40945
42bbb1c3
L
409462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40947
40948 [BZ #14117]
6bd784b6
L
40949 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40950 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40951
8bca20f0
L
40952 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40953 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40954 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40955 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40957 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40958
f9e890a9
L
40959 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40960 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40961 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40962
471101a1
L
40963 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40964 with __addr.
40965 (insw): Likewise.
40966 (insl): Likewise.
40967 (outsb): Likewise.
40968 (outsw): Likewise.
40969 (outsl): Likewise.
40970
6451c862
L
40971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40973 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40974
a254b8c9
L
40975 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40976 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40977 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40978 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40979 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40980 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40981
b8dfdd92
L
40982 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40983 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40984
578cd270
L
40985 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40986 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40987
de662f5f
L
40988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40990 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40991
25653439
L
40992 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40993 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40994 to ...
40995 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40996
6bad24a0
L
40997 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40998 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40999 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41000
42bbb1c3
L
41001 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41002 for x86-64.
41003 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41004
2d10d547
JM
410052012-05-31 Joseph Myers <joseph@codesourcery.com>
41006
41007 * math/math.h (M_El): Use two more decimal places.
41008 (M_LOG2El): Likewise.
41009 (M_LOG10El): Likewise.
41010 (M_LN2l): Likewise.
41011 (M_LN10l): Likewise.
41012 (M_PIl): Likewise.
41013 (M_PI_2l): Likewise.
41014 (M_PI_4l): Likewise.
41015 (M_1_PIl): Likewise.
41016 (M_2_PIl): Likewise.
41017 (M_2_SQRTPIl): Likewise.
41018 (M_SQRT2l): Likewise.
41019 (M_SQRT1_2l): Likewise.
41020
f230c29b
DM
410212012-05-31 David S. Miller <davem@davemloft.net>
41022
41023 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41024 values between float registers.
41025 * sysdeps/sparc/sparc64/memset.S: Likewise.
41026 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41027
fed806c3
MF
410282012-05-31 Mike Frysinger <vapier@gentoo.org>
41029
41030 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41031 -D_FORTIFY_SOURCE=1.
41032 (CPPFLAGS-tst-longjmp_chk.c): Define.
41033 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41034 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41035 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41036 CFLAGS-tst-wchar-h.c.
41037
30917259
MP
410382012-05-31 Marek Polacek <polacek@redhat.com>
41039
41040 [BZ #14132]
41041 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41042 __endmntent_internal): Remove declaration.
41043 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41044 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41045 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41046
1c58d5dc
DM
410472012-05-30 David S. Miller <davem@davemloft.net>
41048
41049 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41050 (___Q_simulate_exceptions): Use real FP ops rather than writing
41051 into the %fsr.
41052 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41053 Likewise.
41054
7dc00e0d
L
410552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41056
41057 [BZ #14117]
0bd53985
L
41058 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41059 * sysdeps/x86/bits/xtitypes.h: This.
41060
3a257e66
L
41061 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41062 * sysdeps/x86/bits/wordsize.h: This.
41063
62f62904
L
41064 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41065 * sysdeps/x86/bits/huge_vall.h: This.
41066
404fe9d9
L
41067 * sysdeps/i386/bits/select.h: Removed.
41068 * sysdeps/x86_64/bits/select.h: Renamed to ...
41069 * sysdeps/x86/bits/select.h: This.
41070
d48d0446
L
41071 * sysdeps/i386/bits/setjmp.h: Removed.
41072 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41073 * sysdeps/x86/bits/setjmp.h: This.
41074
7dc00e0d
L
41075 * sysdeps/i386/bits/mathdef.h: Removed.
41076 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41077 * sysdeps/x86/bits/mathdef.h: This.
41078
03277f8f
AS
410792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41080
41081 [BZ #14132]
41082 * include/sys/socket.h (__connect_internal)
41083 (__libc_sa_len_internal): Remove declaration.
41084 (__connect, __libc_sa_len): Declare hidden_proto.
41085 (SA_LEN): Remove use of INTUSE.
41086 * socket/connect.c: Add libc_hidden_def.
41087 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41088 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41089 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41090 alias.
41091 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41092 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41093 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41094 of adding _internal alias.
41095
13764867
L
410962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41097
41098 [BZ #14117]
6bd97696
L
41099 * sysdeps/i386/bits/link.h: Removed.
41100 * sysdeps/i386/bits/linkmap.h: Likewise.
41101 * sysdeps/x86_64/bits/link.h: Renamed to ...
41102 * sysdeps/x86/bits/link.h: This.
41103 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41104 * sysdeps/x86/bits/linkmap.h: This.
41105
f726f0bb
L
41106 * sysdeps/i386/bits/endian.h: Removed.
41107 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41108 * sysdeps/x86/bits/endian.h: This.
41109
13764867
L
41110 * sysdeps/i386/bits/byteswap.h: Removed.
41111 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41112 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41113 * sysdeps/x86/bits/byteswap.h: This.
41114 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41115 * sysdeps/x86/bits/byteswap-16.h: This.
41116 * sysdeps/i386/Implies: Add x86.
41117 * sysdeps/x86_64/Implies: Likewise.
41118
ae251b0b
DM
411192012-05-30 David S. Miller <davem@davemloft.net>
41120
41121 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41122 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41123 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41124 (FP_TRAPPING_EXCEPTIONS): Define.
41125 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41126 (FP_TRAPPING_EXCEPTIONS): Define.
41127 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41128 subnormals only when inexact has been signalled or underflow
41129 exceptions are enabled.
41130 (_FP_PACK_CANONICAL): Likewise.
41131
d5c90867
L
411322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41133
41134 [BZ #14183]
41135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41136 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41137
63f1549e
RH
411382012-05-30 Richard Henderson <rth@twiddle.net>
41139
8d8f2279
RH
41140 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41141 with #ifndef NOT_IN_libc.
41142
63f1549e
RH
41143 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41144 marked to avoid plt entry.
41145
0ab0291b
L
411462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41147
41148 [BZ #14112]
41149 * Makeconfig (default-abi): New macro.
41150 (abi-includes): Likewise.
41151 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41152 $(abi-$(default-abi)-lib-soname) for soname if defined.
41153 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41154 abi-variants.
41155 * Makefile (installed-stubs): Likewise.
41156 * include/stubs-biarch.h: Removed.
41157 * scripts/lib-names.awk: Only handle one library at a time.
41158 * scripts/soversions.awk: Remove WORDSIZE support.
41159 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41160 entries.
41161 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41162 Removed.
41163 (syscall-list-default-condition): Likewise.
41164 (syscall-list-default-condition): Likewise.
41165 (syscall-list-includes): Likewise.
41166 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41167 syscall-list-* with abi-*. Handle undefined abi-variants.
41168 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41169 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41170 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41171 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41172 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41173 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41174 Removed.
41175 (syscall-list-32-options): Likewise.
41176 (syscall-list-32-condition): Likewise.
41177 (syscall-list-64-options): Likewise.
41178 (syscall-list-64-condition): Likewise.
41179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41180 macro.
41181 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41182 Renamed to ...
41183 (abi-*): This.
41184 (abi-64-ld-soname): New macro.
41185 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41186 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41187 Renamed to ...
41188 (abi-*): This.
41189 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41190 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41191
4da0431d
JM
411922012-05-30 Joseph Myers <joseph@codesourcery.com>
41193
3a85279c
JM
41194 * sysdeps/unix/sysv/linux/kernel-features.h
41195 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41196 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41197 include <kernel-features.h>.
41198 [!__NR_ftruncate64]: Remove conditional code.
41199 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41200 [__NR_ftruncate64]: Make code unconditional.
41201 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41202 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41203 include <kernel-features.h>.
41204 [!__NR_ftruncate64]: Remove conditional code.
41205 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41206 [__NR_ftruncate64]: Make code unconditional.
41207 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41209 include <kernel-features.h>.
41210 [!__NR_ftruncate64]: Remove conditional code.
41211 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41212 [__NR_ftruncate64]: Make code unconditional.
41213 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41215 include <kernel-features.h>.
41216 [!__NR_ftruncate64]: Remove conditional code.
41217 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41218 [__NR_ftruncate64]: Make code unconditional.
41219 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41220
4da0431d
JM
41221 * configure.in (libc_cv_fpie): Weaken to a compile test using
41222 LIBC_TRY_CC_OPTION.
41223 * configure: Regenerated.
41224
11ef492c
AK
412252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41226
41227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41231 Refreshed.
41232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41238 Refreshed.
41239
d66ef399
DM
412402012-05-27 David S. Miller <davem@davemloft.net>
41241
41242 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41243 (___Q_zero): New.
41244 (__Q_simulate_exceptions): Return void. Change to simulate
41245 exceptions by writing into the %fsr.
41246 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41247 (__Qp_handle_exceptions): Likewise.
41248 (numbers): Delete.
41249 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41250 __Qp_handle_exceptions.
41251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41252 __Qp_handle_exceptions.
41253 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41254 as unused and give dummy FP_RND_NEAREST initializer.
41255 (FP_INHIBIT_RESULTS): Define.
41256 (___Q_simulate_exceptions): Update declaration.
41257 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41258 formatting.
41259 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41260 as unused and give dummy FP_RND_NEAREST initializer.
41261 (__Qp_handle_exceptions): Update declaration.
41262 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41263 formatting.
41264
04fb54b5
TS
412652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41266
41267 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41268 the temporary FPU control word.
41269 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41270 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41271 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41272 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41273 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41274 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41275 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41277 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41278 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41279 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41280
3f99608f
KK
412812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41282
41283 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41284 fields.
41285
65a4de4e
CLT
412862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41287
41288 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41289 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41290 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41291 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41292 Likewise.
41293 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41294 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41295 Likewise.
41296
15749d40
UD
412972012-05-27 Ulrich Drepper <drepper@gmail.com>
41298
41299 * po/h.po: Update from translation team.
41300
25dbcb27
AS
413012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41302
3d3f8e55
AS
41303 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41304
25dbcb27
AS
41305 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41306 handling of denormals.
41307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41308 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41309 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41310 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41314 Likewise.
41315
7ad47a80 413162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41317
41318 [BZ #14152]
41319 * math/libm-test.inc (fma_test): Don't always expect underflow
41320 exception.
41321
9c6ea9fa
SP
413222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41323
41324 [BZ #12416]
41325 * elf/tst-execstack.c: Include stackinfo.h.
41326 (do_test): Adjust test case to ensure that pthread_getattr_np
41327 behaviour remains the same after marking stack executable.
41328
a8239222
JM
413292012-05-25 Joseph Myers <joseph@codesourcery.com>
41330
41331 * sysdeps/unix/sysv/linux/kernel-features.h
41332 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41333 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41334 kernel-features.h.
41335 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41336 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41337 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41338 kernel-features.h.
41339 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41340 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41341
918b5606
L
413422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41343
41344 * configure.in: Define the default includes to being none.
41345 * configure: Regenerated.
41346
3a097cc7
RM
413472012-05-25 Roland McGrath <roland@hack.frob.com>
41348
8422c9a5
RM
41349 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41350 * sysdeps/x86_64/setjmp.S: Likewise.
41351 * sysdeps/i386/bsd-setjmp.S: Likewise.
41352 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41353 * sysdeps/i386/setjmp.S: Likewise.
41354 * sysdeps/i386/__longjmp.S: Likewise.
41355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41356 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41357
3a097cc7
RM
41358 * include/stap-probe.h: New file.
41359 * configure.in: Handle --enable-systemtap.
41360 * configure: Regenerated.
41361 * config.h.in (USE_STAP_PROBE): New #undef.
41362 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41363 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41364 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41365
21708942
JM
413662012-05-25 Joseph Myers <joseph@codesourcery.com>
41367
41368 [BZ #13717]
41369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41370 to 2.4.0 where earlier.
41371 * sysdeps/unix/sysv/linux/configure: Regenerated.
41372 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41373 <kernel-features.h>.
41374 [__ASSUME_32BITUIDS]: Make code unconditional.
41375 [!__ASSUME_32BITUIDS]: Remove conditional code.
41376 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41377 <kernel-features.h>.
41378 [__ASSUME_32BITUIDS]: Make code unconditional.
41379 [!__ASSUME_32BITUIDS]: Remove conditional code.
41380 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41381 [__ASSUME_32BITUIDS]: Make code unconditional.
41382 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41383 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/i386/setegid.c: Do not include
41424 <kernel-features.h>.
41425 [__NR_setresgid] (__setresgid): Do not declare.
41426 [__ASSUME_32BITUIDS]: Make code unconditional.
41427 [!__ASSUME_32BITUIDS]: Remove conditional code.
41428 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41429 <kernel-features.h>.
41430 [__NR_setresuid] (__setresuid): Do not declare.
41431 [__ASSUME_32BITUIDS]: Make code unconditional.
41432 [!__ASSUME_32BITUIDS]: Remove conditional code.
41433 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41434 <kernel-features.h>.
41435 [__ASSUME_32BITUIDS]: Make code unconditional.
41436 [!__ASSUME_32BITUIDS]: Remove conditional code.
41437 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41438 <kernel-features.h>.
41439 [__ASSUME_32BITUIDS]: Make code unconditional.
41440 [!__ASSUME_32BITUIDS]: Remove conditional code.
41441 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41442 <kernel-features.h>.
41443 [__ASSUME_32BITUIDS]: Make code unconditional.
41444 [!__ASSUME_32BITUIDS]: Remove conditional code.
41445 * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.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/i386/setresgid.c: Do not include
41454 <kernel-features.h>.
41455 [__ASSUME_32BITUIDS]: Make code unconditional.
41456 [!__ASSUME_32BITUIDS]: Remove conditional code.
41457 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41458 <kernel-features.h>.
41459 [__ASSUME_32BITUIDS]: Make code unconditional.
41460 [!__ASSUME_32BITUIDS]: Remove conditional code.
41461 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41462 <kernel-features.h>.
41463 [__ASSUME_32BITUIDS]: Make code unconditional.
41464 [!__ASSUME_32BITUIDS]: Remove conditional code.
41465 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41466 <kernel-features.h>.
41467 [__ASSUME_32BITUIDS]: Make code unconditional.
41468 [!__ASSUME_32BITUIDS]: Remove conditional code.
41469 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41470 <kernel-features.h>.
41471 [__ASSUME_32BITUIDS]: Make code unconditional.
41472 [!__ASSUME_32BITUIDS]: Remove conditional code.
41473 * sysdeps/unix/sysv/linux/kernel-features.h
41474 (__ASSUME_SETRESUID_SYSCALL): Remove.
41475 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41476 (__ASSUME_32BITUIDS): Likewise.
41477 (__ASSUME_LDT_WORKS): Likewise.
41478 (__ASSUME_O_DIRECTORY): Likewise.
41479 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41480 architecture but not kernel version.
41481 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41482 (__ASSUME_MMAP2_SYSCALL): Likewise.
41483 (__ASSUME_STAT64_SYSCALL): Likewise.
41484 (__ASSUME_IPC64): Likewise.
41485 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41486 <kernel-features.h>.
41487 [__ASSUME_32BITUIDS]: Make code unconditional.
41488 [!__ASSUME_32BITUIDS]: Remove conditional code.
41489 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41490 <kernel-features.h>.
41491 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41492 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41493 132096]: Remove conditional code.
41494 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41495 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41496 <kernel-features.h>.
41497 [__ASSUME_32BITUIDS]: Make code unconditional.
41498 [!__ASSUME_32BITUIDS]: Remove conditional code.
41499 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41500 <kernel-features.h>.
41501 [__ASSUME_32BITUIDS]: Make code unconditional.
41502 [!__ASSUME_32BITUIDS]: Remove conditional code.
41503 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41504 <kernel-features.h>.
41505 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41506 unconditional.
41507 (__setresgid): Do not declare.
41508 [__ASSUME_32BITUIDS]: Make code unconditional.
41509 [!__ASSUME_32BITUIDS]: Remove conditional code.
41510 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41511 <kernel-features.h>.
41512 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41513 unconditional.
41514 (__setresuid): Do not declare.
41515 [__ASSUME_32BITUIDS]: Make code unconditional.
41516 [!__ASSUME_32BITUIDS]: Remove conditional code.
41517 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41518 <kernel-features.h>.
41519 [__ASSUME_32BITUIDS]: Make code unconditional.
41520 [!__ASSUME_32BITUIDS]: Remove conditional code.
41521 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41522 <kernel-features.h>.
41523 [__ASSUME_32BITUIDS]: Make code unconditional.
41524 [!__ASSUME_32BITUIDS]: Remove conditional code.
41525
a386f1cc
RH
415262012-05-25 Richard Henderson <rth@twiddle.net>
41527
41528 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41529 dl_hwcap to ifunc resolver.
41530 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41531 elf_ifunc_invoke.
41532 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41533 dl_hwcap to ifunc resolver.
41534 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41535
b6550497
JM
415362012-05-24 Joseph Myers <joseph@codesourcery.com>
41537
41538 [BZ #14153]
41539 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41540 for |x| <= 2**-26, not 2**-57.
41541 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41542 exception.
41543
b0bc23a1
JL
415442012-05-24 Jeff Law <law@redhat.com>
41545
41546 * stdio-common/Makefile (tests): Add bug25.
41547 * stdio-common/bug25.c: New test.
41548
347c92e9
L
415492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41550
41551 [BZ #13576]
41552 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41553 multiple of MALLOC_ALIGNMENT in size.
41554 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41555
6bcc8b3f
JM
415562012-05-24 Joseph Myers <joseph@codesourcery.com>
41557
41558 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41559 Require >= 256.
41560 (FILENAME_MAX): Use macro-int-constant.
41561 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41562 (_IOFBF): Use macro-int-constant.
41563 (_IOLBF): Likewise.
41564 (_IONBF): Likewise.
41565 (SEEK_CUR): Likewise.
41566 (SEEK_END): Likewise.
41567 (SEEK_SET): Likewise.
41568 (TMP_MAX): Likewise.
41569 (EOF): Use macro-int-constant. Require < 0.
41570 (NULL): Use macro-constant. Require == 0.
41571 (stdin): Require type to be FILE *.
41572 (stdout): Likewise.
41573 (stderr): Likewise.
41574 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41575 macro-int-constant.
41576 (EXIT_SUCCESS): Likewise.
41577 (NULL): Use macro-constant. Require == 0.
41578 (RAND_MAX): Use macro-int-constant.
41579 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41580 [C99-based standards] (strtof): Require function.
41581 [C99-based standards] (strtold): Likewise.
41582 [C99-based standards] (strtoll): Likewise.
41583 [C99-based standards] (strtoull): Likewise.
41584 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41585 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41586 [ISO || ISO99 || ISO11] (math.h): Likewise.
41587 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41588 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41590
d18ea0c5
AS
415912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41592
41593 [BZ #14132]
56d25bb8
AS
41594 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41595 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41596 * intl/dgettext.c (DCGETTEXT): Likewise.
41597 * intl/gettext.c (DCGETTEXT): Likewise.
41598 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41599 * posix/regex_internal.h (gettext): Likewise.
41600 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41601 Remove declaration.
41602 * include/argz.h (__argz_count_internal)
41603 (__argz_stringify_internal): Remove declaration.
41604 (__argz_count, __argz_stringify): Declare hidden proto.
41605 * intl/dcgettext.c: Remove use of INTDEF.
41606 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41607 * string/argz-stringify.c: Likewise.
41608 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41609 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41610 Declare hidden proto.
d18ea0c5
AS
41611 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41612 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41613 Declare hidden proto.
41614 * include/stdio.h (__asprintf_internal): Don't declare.
41615 (__asprintf): Don't define as macro. Declare hidden proto.
41616 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41617 (__fsetlocking): Declare hidden proto.
41618 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41619 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41620 hidden proto.
41621 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41622 (_IO_setlinebuf): Remove use of INTUSE.
41623 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41624 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41625 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41626 Remove declaration.
41627 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41628 (_IO_do_flush): Remove use of INTUSE.
41629 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41630 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41631 (_IO_adjust_column, _IO_least_wmarker)
41632 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41633 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41634 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41635 (_IO_default_doallocate, _IO_wdefault_doallocate)
41636 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41637 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41638 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41639 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41640 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41641 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41642 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41643 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41644 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41645 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41646 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41647 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41648 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41649 proto.
41650 (_IO_flush_all_internal, _IO_adjust_column_internal)
41651 (_IO_default_uflow_internal, _IO_default_finish_internal)
41652 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41653 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41654 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41655 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41656 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41657 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41658 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41659 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41660 (_IO_file_close_internal, _IO_file_close_it_internal)
41661 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41662 (_IO_file_init_internal, _IO_file_attach_internal)
41663 (_IO_file_fopen_internal, _IO_file_read_internal)
41664 (_IO_file_sync_internal, _IO_file_seek_internal)
41665 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41666 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41667 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41668 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41669 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41670 (_IO_list_all_internal, _IO_link_in_internal)
41671 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41672 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41673 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41674 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41675 (_IO_do_write_internal, _IO_padn_internal)
41676 (_IO_getline_info_internal, _IO_getline_internal)
41677 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41678 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41679 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41680 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41681 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41682 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41683 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41684 with libc_hidden_ver, remove use of INTUSE.
41685 * libio/genops.c: Likewise.
41686 * libio/freopen.c: Likewise.
41687 * libio/freopen64.c: Likewise.
41688 * libio/iofclose.c: Likewise.
41689 * libio/iofdopen.c: Likewise.
41690 * libio/iofflush.c: Likewise.
41691 * libio/iofflush_u.c: Likewise.
41692 * libio/iofgets.c: Likewise.
41693 * libio/iofgets_u.c: Likewise.
41694 * libio/iofopen.c: Likewise.
41695 * libio/iofopncook.c: Likewise.
41696 * libio/iofread.c: Likewise.
41697 * libio/iofread_u.c: Likewise.
41698 * libio/ioftell.c: Likewise.
41699 * libio/iofwrite.c: Likewise.
41700 * libio/iogetline.c: Likewise.
41701 * libio/iogets.c: Likewise.
41702 * libio/iogetwline.c: Likewise.
41703 * libio/iopadn.c: Likewise.
41704 * libio/iopopen.c: Likewise.
41705 * libio/ioseekoff.c: Likewise.
41706 * libio/ioseekpos.c: Likewise.
41707 * libio/iosetbuffer.c: Likewise.
41708 * libio/iosetvbuf.c: Likewise.
41709 * libio/ioungetc.c: Likewise.
41710 * libio/ioungetwc.c: Likewise.
41711 * libio/iovdprintf.c: Likewise.
41712 * libio/iovsprintf.c: Likewise.
41713 * libio/iovsscanf.c: Likewise.
41714 * libio/memstream.c: Likewise.
41715 * libio/obprintf.c: Likewise.
41716 * libio/oldfileops.c: Likewise.
41717 * libio/oldiofclose.c: Likewise.
41718 * libio/oldiofdopen.c: Likewise.
41719 * libio/oldiofopen.c: Likewise.
41720 * libio/oldiopopen.c: Likewise.
41721 * libio/oldstdfiles.c: Likewise.
41722 * libio/putc.c: Likewise.
41723 * libio/setbuf.c: Likewise.
41724 * libio/setlinebuf.c: Likewise.
41725 * libio/stdfiles.c: Likewise.
41726 * libio/strops.c: Likewise.
41727 * libio/vasprintf.c: Likewise.
41728 * libio/vscanf.c: Likewise.
41729 * libio/vsnprintf.c: Likewise.
41730 * libio/vswprintf.c: Likewise.
41731 * libio/wfiledoalloc.c: Likewise.
41732 * libio/wfileops.c: Likewise.
41733 * libio/wgenops.c: Likewise.
41734 * libio/wmemstream.c: Likewise.
41735 * libio/wstrops.c: Likewise.
41736 * libio/__fpurge.c: Likewise.
41737 * libio/__fsetlocking.c: Likewise.
41738 * assert/assert.c: Likewise.
41739 * debug/fgets_chk.c: Likewise.
41740 * debug/fgets_u_chk.c: Likewise.
41741 * debug/fread_chk.c: Likewise.
41742 * debug/fread_u_chk.c: Likewise.
41743 * debug/gets_chk.c: Likewise.
41744 * debug/obprintf_chk.c: Likewise.
41745 * debug/vasprintf_chk.c: Likewise.
41746 * debug/vdprintf_chk.c: Likewise.
41747 * debug/vsnprintf_chk.c: Likewise.
41748 * debug/vsprintf_chk.c: Likewise.
41749 * malloc/mtrace.c: Likewise.
41750 * misc/error.c: Likewise.
41751 * misc/syslog.c: Likewise.
41752 * stdio-common/asprintf.c: Likewise.
41753 * stdio-common/fxprintf.c: Likewise.
41754 * stdio-common/getw.c: Likewise.
41755 * stdio-common/isoc99_fscanf.c: Likewise.
41756 * stdio-common/isoc99_scanf.c: Likewise.
41757 * stdio-common/isoc99_vfscanf.c: Likewise.
41758 * stdio-common/isoc99_vscanf.c: Likewise.
41759 * stdio-common/isoc99_vsscanf.c: Likewise.
41760 * stdio-common/printf-prs.c: Likewise.
41761 * stdio-common/printf_fp.c: Likewise.
41762 * stdio-common/printf_fphex.c: Likewise.
41763 * stdio-common/printf_size.c: Likewise.
41764 * stdio-common/putw.c: Likewise.
41765 * stdio-common/scanf.c: Likewise.
41766 * stdio-common/sprintf.c: Likewise.
41767 * stdio-common/tmpfile.c: Likewise.
41768 * stdio-common/vfprintf.c: Likewise.
41769 * stdio-common/vfscanf.c: Likewise.
41770 * stdlib/strfmon_l.c: Likewise.
41771 * sunrpc/openchild.c: Likewise.
41772 * sunrpc/xdr_stdio.c: Likewise.
41773 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41774 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41775
d6c33fda
RM
417762012-05-24 Roland McGrath <roland@hack.frob.com>
41777
c1487492
RM
41778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41779
41780 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41781 in the third column, to generate for the shared library an IFUNC
41782 that uses _dl_vdso_vsym.
41783 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41784 * Makeconfig (object-suffixes-noshared): New variable.
41785
41786 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41787 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41788 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41789 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41790
d6c33fda
RM
41791 [BZ #14132]
41792 * include/sys/time.h (__gettimeofday): Remove macro.
41793 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41794 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41795 Remove INTDEF.
41796 (__gettimeofday): Add libc_hidden_def.
41797 (gettimeofday): Add libc_hidden_weak.
41798 * sysdeps/mach/gettimeofday.c: Likewise.
41799 * sysdeps/posix/gettimeofday.c: Likewise.
41800 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41801 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41803 (__gettimeofday_internal): Remove strong_alias.
41804 (__gettimeofday): Add libc_hidden_def.
41805 (gettimeofday): Add libc_hidden_weak.
41806 * sysdeps/unix/syscalls.list (gettimeofday):
41807 Remove __gettimeofday_internal alias.
41808
b5a2bbe6
L
418092012-05-24 Daniel Jacobowitz <drow@false.org>
41810 H.J. Lu <hongjiu.lu@intel.com>
41811
41812 [BZ #12495]
41813 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41814 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41815 (largebin_index_32_big): New.
41816 (largebin_index): Use it for 16-byte alignment.
41817 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41818 correction with front_misalign.
41819
cfba4fda
L
418202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41821
7f907421
L
41822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41824 Likewise.
41825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41826 Likewise.
41827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41828 Likewise.
41829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41830 Likewise.
41831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41832 Likewise.
41833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41834 Likewise.
41835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41836 Likewise.
41837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41838 Likewise.
41839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41840 Likewise.
41841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41842 Likewise.
41843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41844 Likewise.
41845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41846 Likewise.
41847
cfba4fda
L
41848 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41849 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41850
80bad0cc
JM
418512012-05-24 Joseph Myers <joseph@codesourcery.com>
41852
7a25eb06
JM
41853 [BZ #10846]
41854 [BZ #14036]
41855 * math/libm-test.inc (exp_test): Add test from bug 14036.
41856 (pow_test): Add test from bug 10846.
41857
795405f9
JM
41858 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41859 and other flags.
41860 (special_function): Do not include flags in test name.
41861 (parse_args): Likewise.
41862 * sysdeps/i386/fpu/libm-test-ulps: Update.
41863 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41864 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41865 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867
80bad0cc
JM
41868 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41869 exceptions.
41870 * math/libm-test.inc ("Philosophy"): Update comment about
41871 exception testing.
41872 (UNDERFLOW_EXCEPTION): New macro.
41873 (UNDERFLOW_EXCEPTION_OK): Likewise.
41874 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41875 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41876 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41877 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41878 (INVALID_EXCEPTION_OK): Update value.
41879 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41880 (OVERFLOW_EXCEPTION_OK): Likewise.
41881 (IGNORE_ZERO_INF_SIGN): Likewise.
41882 (test_exceptions): Handle underflow exceptions.
41883 (acos_test): Update for underflow exception expectations.
41884 (cexp_test): Likewise.
41885 (clog_test): Likewise.
41886 (clog10_test): Likewise.
41887 (csqrt_test): Likewise.
41888 (ctan_test): Likewise.
41889 (ctanh_test): Likewise.
41890 (exp_test): Likewise.
41891 (exp10_test): Likewise.
41892 (exp2_test): Likewise.
41893 (expm1_test): Likewise.
41894 (fma_test): Likewise.
41895 (j0_test): Likewise.
41896 (jn_test): Likewise.
41897 (nexttoward_test): Likewise.
41898 (pow_test): Likewise.
41899 (scalbn_test): Likewise.
41900 (scalbln_test): Likewise.
41901 (tan_test): Likewise.
41902 (y1_test): Likewise.
41903 * sysdeps/i386/fpu/libm-test-ulps: Update.
41904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41905
9e0e3d0b
DM
419062012-05-23 David S. Miller <davem@davemloft.net>
41907
41908 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41909 (__libc_sigaction): Remove unused local variables.
41910
ccd0a08f
L
419112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41912
41913 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41914
62bdf9a6
PE
419152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41916
f8591f80
PE
41917 mktime: avoid signed integer overflow
41918 * time/mktime.c (__mktime_internal): Do not mishandle the case
41919 where diff == INT_MIN.
41920
94c7d826
PE
41921 mktime: simplify computation of average
41922 * time/mktime.c (ranged_convert): Use new time_t_avg function
41923 instead of rolling our own (probably-slower) code.
41924
ce73d683
PE
41925 mktime: do not assume signed right shift propagates sign bit
41926 * time/mktime.c (isdst_differ): New static function.
41927 (__mktime_internal): No need to normalize tm_isdst now.
41928 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41929 tm_isdst values.
41930
72a22e59
PE
41931 mktime: merge another wrapv change from gnulib
41932 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41933 from some compilers.
41934
68605433
PE
41935 mktime: remove incorrect attempt at unusual arithmetics
41936 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41937 The code didn't really work on such machines anyway.
41938 (TYPE_MINIMUM): Assume two's complement.
41939 (twos_complement_arithmetic): Verify that long_int and time_t
41940 are two's complement (or unsigned, in the latter case).
41941
03cf7fe3
PE
41942 mktime: check signed shifts on long_int and time_t, too
41943 * time/mktime.c (SHR): Check that shifts work as desired
41944 on the types long_int and time_t too, as SHR is used on
41945 such types.
41946
f04dfbc2
PE
41947 mktime: do not assume 'long' is wide enough
41948 * time/mktime.c (verify): Move decl up.
41949 (long_int): New type.
41950 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41951 to remove assumption in the code that 'long' is wide enough to
41952 store year values. This assumption is not true on x32 and on
41953 some non-glibc platforms.
41954
62bdf9a6
PE
41955 mktime: merge wrapv change from gnulib
41956 * time/mktime.c (WRAPV): New macro.
41957 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41958 (guess_time_tm, __mktime_internal): Do not assume that signed
41959 integer overflow wraps around; modern compilers generate code
41960 where this assumption is no longer valid.
41961
5e292e4f
L
419622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41963
41964 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41965 Replace "jmp L(pseudo_end)" with "ret".
41966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41967 Likewise.
41968
8caf8c87
AJ
419692012-05-23 Andreas Jaeger <aj@suse.de>
41970
41971 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41972 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41973
1a09dc56
AJ
419742012-05-23 Andreas Jaeger <aj@suse.de>
41975 Maximilian Attems <max@stro.at>
41976
41977 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41978 New macros.
41979
1c87aba0
L
419802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41981
41982 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41983 code so that pseudo_end is just ret and the stack pointer is
41984 correct also for static library in error case.
41985
40e45bd5
JM
419862012-05-23 Joseph Myers <joseph@codesourcery.com>
41987
c2670533
JM
41988 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41989 move to syscalls.list.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41994
40e45bd5
JM
41995 * manual/install.texi (Running make install): Do not mention Linux
41996 kernel version for which pt_chown is not needed.
41997 (Linux): Do not mention problems with nscd with 2.0 kernels.
41998 * INSTALL: Regenerated.
41999
be08eda5
AJ
420002012-05-23 Andreas Jaeger <aj@suse.de>
42001
42002 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42003 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42004 macro.
42005 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42007 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42008 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42009 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42010 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42012 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42014 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42015 * sysdeps/unix/sysv/linux/bits/in.h
42016 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42017
a6a056bb
RM
420182012-05-22 Roland McGrath <roland@hack.frob.com>
42019
42020 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42021 (PREPARE_VERSION): Just use assert instead, it will be elided
42022 under [NDEBUG] anyway.
42023
c9009328
L
420242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 * sysdeps/unix/sysv/linux/Makefile: Include
42027 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42028 (sysdep_routines): Remove sysctl.
c9009328
L
42029 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42030 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42031 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42033 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42034
73338355
AJ
420352012-05-22 Andreas Jaeger <aj@suse.de>
42036
42037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42038 that pseudo_end is just ret and the stack pointer is correct also
42039 for static library in error case.
42040
d44638b0
PP
420412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42042
42043 [BZ #14122]
42044 * nss/nsswitch.c (defconfig_entries): New variable.
42045 (__nss_database_lookup): Don't leak defconfig entries.
42046 (nss_parse_service_list): Don't leak on error paths.
42047 (free_database_entries): New function.
42048 (free_defconfig): New function.
42049 (free_mem): Move common code to free_database_entries.
42050
31a39bd8
L
420512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42052
da0331a8
L
42053 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42054 Add arch_prctl.
42055 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42056
31a39bd8
L
42057 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42058 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42060 New macro.
42061 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42062 (INTERNAL_SYSCALL_TYPES): Likewise.
42063 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42064 (LOAD_REGS_TYPES_[1-6]): Likewise.
42065 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42066 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42067
45470df3
AZ
420682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42069
42070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42071 copysignl for GLIBC_2_0.
42072 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42073 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42075 logbl for GLIBC_2_0.
42076 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42077 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42078
98a61bcb
L
420792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42080
a4f6e481
L
42081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42082 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42083
f63d5db6
L
42084 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42085 Use "neg %eax".
42086
98a61bcb
L
42087 * time/mktime.c: Update copyright years.
42088
95770f14
PE
420892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42090
6226efbd
PE
42091 mktime: merge comment-quoting-style change from gnulib
42092 * time/mktime.c: Quote 'like this' in comments.
42093 The GNU coding standards suggest that we no longer quote `like this',
42094 as "`" and "'" are typically rendered asymmetrically nowadays.
42095 The typical gnulib style is to quote 'like this' when quoting
42096 code, and "like this" when quoting English.
42097
b99e4f78
PE
42098 * time/mktime.c (compile-command): Add "-I.".
42099
643e01e6
PE
42100 mktime: merge mktime-internal.h change from gnulib
42101 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42102
2554247d
PE
42103 mktime: merge time_r change from gnulib
42104 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42105
826dd0ab
PE
42106 mktime: merge DEBUG change from gnulib
42107 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42108 case system <time.h> has a #define.
42109
bd83aabe
PE
42110 mktime: merge <sys/types.h> change from gnulib
42111 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42112 since <time.t> is now guaranteed to define time_t.
42113
95770f14
PE
42114 mktime: merge HAVE_CONFIG_H change from gnulib
42115 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42116
5e1a27a9
L
421172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42118
0e44a77e
L
42119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42120 Use "neg %eax".
42121
5e1a27a9
L
42122 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42123 __rlim_t cast.
42124 (struct rusage): Use anonymous union to pad each field to
42125 __syscall_slong_t.
42126
46259bec
DM
421272012-05-21 David S. Miller <davem@davemloft.net>
42128
42129 * Makefules (o-iterator): Remove .s cases.
42130 (compile-command.s): Delete.
42131 (COMPILE.s): Delete.
42132 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42133
59f0c22e
JM
421342012-05-21 Joseph Myers <joseph@codesourcery.com>
42135
42136 * configure.in (libc_cv_predef_stack_protector): Only consider
42137 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42138 * configure: Regenerated.
42139
20c07380
L
421402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42141
bbb3154b
L
42142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42143 New macro. Use R*LP on int and pointer.
42144 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42145 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42146 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42147 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42148
20c07380
L
42149 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42150 [__WORDSIZE_TIME64_COMPAT32] instead of
42151 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42152 (struct utmp): Likewise.
42153 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42154 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42155 Renamed to ...
42156 (__WORDSIZE_TIME64_COMPAT32): This.
42157 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42158 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42159 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42160 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42161 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42162 (__WORDSIZE_TIME64_COMPAT32): New macro.
42163
d8d1017e
AJ
421642012-05-21 Andreas Jaeger <aj@suse.de>
42165
42166 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42167 only if [SHARED]. Add prototype for __wcschr_ia32.
42168
6c7fb145
RM
421692012-05-21 Roland McGrath <roland@hack.frob.com>
42170
42171 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42172 of %rbp unmolested in the jmp_buf while mangling the low bits.
42173 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42174 unmolested high bits of %rbp while demangling the low bits.
42175 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42176
66274218
AJ
421772012-05-21 Andreas Jaeger <aj@suse.de>
42178
07c58f8f
AJ
42179 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42180 * sunrpc/svc_simple.c: Use it for registerrpc.
42181 * sunrpc/xcrypt.c: Use it for passwd2des.
42182
66274218
AJ
42183 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42184
61f65140
L
421852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42186
42187 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42188 Don't define if [__SYSCALL_WORDSIZE != 32].
42189 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42190 New macro.
42191
5fefb436
AJ
421922012-05-21 Bruno Haible <bruno@clisp.org>
42193 Andreas Jaeger <aj@suse.de>
42194
42195 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42196 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42197 inptr and inend for must_buffer_ch.
42198 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42199 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42200 * stdio-common/Makefile (tests): Remove bug15.
42201 (bug15-ENV): Remove macro.
42202 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42203 anymore.
42204
d8e272ab
AJ
422052012-05-19 Andreas Jaeger <aj@suse.de>
42206 Roland McGrath <roland@hack.frob.com>
42207
42208 * manual/contrib.texi: Completely rewritten. It contains now an
42209 alphabetical list of contributors and their contributions.
42210
4a56a162
RH
422112012-05-21 Richard Henderson <rth@twiddle.net>
42212
42213 * misc/getauxval.c (__getauxval): Use unsigned long int.
42214 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42215 (getauxval): Use unsigned long int.
42216
d024d23c
L
422172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42218
42219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42220
cbc00a03
RM
422212012-05-21 Roland McGrath <roland@hack.frob.com>
42222
42223 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42224 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42225 __alignof__ (long double).
42226
478143fa
AZ
422272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42228
42229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42230
c7683a6d
RH
422312012-05-20 Richard Henderson <rth@twiddle.net>
42232
42233 * misc/getauxval.c: New file.
42234 * misc/sys/auxv.h: New file.
42235 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42236 (routines): Add getauxval.
42237 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42239 * elf/dl-sysdep.c (_dl_auxv): Remove.
42240 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42241 * elf/dl-support.c (_dl_auxv): New variable.
42242 (_dl_aux_init): Initialize it.
42243 * manual/startup.texi (Auxiliary Vector): New node.
42244 * sysdeps/generic/bits/hwcap.h: New file.
42245 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42246 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42247 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42248 * sysdeps/sparc/sysdep.h: ... here. Include it.
42249 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42250 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42252 Update.
c7683a6d
RH
42253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42256 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42261
a6f1845d
AZ
422622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42263
42264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42265
cbcbe830
DM
422662012-05-19 David S. Miller <davem@davemloft.net>
42267
42268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42269
e0b16cc2
JM
422702012-05-19 Joseph Myers <joseph@codesourcery.com>
42271
42272 [BZ #14123]
42273 * math/s_ccosh.c: Include <float.h>
42274 (__ccosh): Avoid internal overflow calculating sinh and cosh
42275 values before multiplying by sin and cos values.
42276 * math/s_ccoshf.c: Likewise.
42277 * math/s_ccoshl.c: Likewise.
42278 * math/s_csin.c: Likewise.
42279 * math/s_csinf.c: Likewise.
42280 * math/s_csinl.c: Likewise.
42281 * math/s_csinh.c: Likewise.
42282 * math/s_csinhf.c: Likewise.
42283 * math/s_csinhl.c: Likewise.
42284 * math/libm-test.inc (ccos_test): Add more tests.
42285 (ccosh_test): Likewise.
42286 (csin_test): Likewise.
42287 (csinh_test): Likewise.
42288 * sysdeps/i386/fpu/libm-test-ulps: Update.
42289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42290
6ad13e08
L
422912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42292
f66f0ce8
L
42293 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42294 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42295
6ad13e08
L
42296 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42297
b1d072a7
JM
422982012-05-19 Joseph Myers <joseph@codesourcery.com>
42299
42300 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42301 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42302 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42303 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42304 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42305 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42306 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42307 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42308 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42309 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42310 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42311 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42312 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42313 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42314 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42315 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42316 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42317 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42318 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42319 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42320 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42321 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42322 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42323 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42324 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42325 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42326 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42327 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42328 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42329 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42330 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42331
9eae47cb
AJ
423322012-05-18 Andreas Jaeger <aj@suse.de>
42333
42334 * csu/.gitignore: Delete.
42335
bb07f69f
L
423362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42337
42338 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42339 (timex): Use __syscall_slong_t.
42340
e6bdb741
AJ
423412012-05-18 Andreas Jaeger <aj@suse.de>
42342 Carlos O'Donell <carlos_odonell@mentor.com>
42343
42344 * manual/install.texi (Configuring and compiling): Update
42345 description about files modified in the source directory.
d6c33fda 42346 * INSTALL: Regenerated.
e6bdb741 42347
1b74487e
L
423482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42349
42350 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42351 value. Use "or" to set return value to -1.
42352 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42353 negate return value.
42354
a88b64b9
TMQMF
423552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42356
57f41c40
AS
42357 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42358 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42359 failure if the compiler has Graphite support disabled.
42360 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42361 Likewise.
57f41c40
AS
42362 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42363 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42364 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42365 Likewise.
42366
3707636e
L
423672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42368
610b8622
L
42369 * sysdeps/x86_64/x32/_itoa.h: New file.
42370
7cd195df
L
42371 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42372 getdents system call only if kernel and user dirents have the
42373 same d_ino and d_off.
42374
94b07d20
L
42375 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42376 LLONG_MAX != LONG_MAX.
42377 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42378 (_fitoa_word): Likewise.
42379
18298070
L
42380 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42381 years.
42382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42383 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42384 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42385
553c7ea4
L
42386 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42387 include <bits/wordsize.h>. Check __x86_64__ instead of
42388 __WORDSIZE.
42389 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42390 if __x86_64__ is defined. Use anonymous union on fpstate.
42391
3707636e
L
42392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42393 anonymous union.
42394
b53ef01a
AS
423952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42396
37fb1dc0
AS
42397 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42398 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42399 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42400 Refer to _rtld_local_ro instead of _rtld_global_ro.
42401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42402 Likewise.
42403 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42404 Likewise.
42405 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42406 Likewise.
42407 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42408 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42409 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42410
b53ef01a
AS
42411 * sysdeps/powerpc/powerpc32/dl-machine.c
42412 (__elf_machine_runtime_setup) [PROF]: Don't reference
42413 _dl_prof_resolve.
42414
7a185db2
AJ
424152012-05-18 Andreas Jaeger <aj@suse.de>
42416
42417 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42418 function only available for GCCs before 3.4 since GCC 3.4
42419 introduced a builtin.
42420 (lrint): Likewise.
42421 (llrintf): Likewise.
42422 (llrint): Likewise.
42423 (fmaxf): Likewise.
42424 (fmax): Likewise.
42425 (fminf): Likewise.
42426 (fmin): Likewise.
42427 (rint): Likewise.
42428 (rintf): Likewise.
42429 (nearbyint): Likewise.
42430 (nearbyintf): Likewise.
42431 (ceil): Likewise.
42432 (ceilf): Likewise.
42433 (floor): Likewise.
42434 (floorf): Likewise.
42435
3e5aef87
L
424362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42437
428bd707
L
42438 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42439 on both fields and cast pointer to __syscall_ulong_t.
42440
3e5aef87
L
42441 * bits/types.h (__fsword_t): New type.
42442 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42443 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42445 (__FSWORD_T_TYPE): Likewise.
42446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42447 (__FSWORD_T_TYPE): Likewise.
42448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42449 (__FSWORD_T_TYPE): Likewise.
42450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42451 (__FSWORD_T_TYPE): Likewise.
42452 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42453 __SWORD_TYPE with __fsword_t.
42454 (statfs64): Likewise.
42455
1ba7c3dc
DM
424562012-05-17 David S. Miller <davem@davemloft.net>
42457
42458 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42459
59910343
AJ
424602012-05-17 Andreas Jaeger <aj@suse.de>
42461
42462 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42463 warning.
42464
2e4c1e9e
L
424652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42466
42467 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42468
de7f5ce7
AJ
424692012-05-17 Andreas Jaeger <aj@suse.de>
42470
42471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42472 when it is used.
42473
286abc3d
CM
424742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42475
42476 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42477
477cc68e
L
424782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42479
42480 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42481 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42482
1a0994f5
CD
424832012-05-17 Andreas Jaeger <aj@suse.de>
42484 Carlos O'Donell <carlos_odonell@mentor.com>
42485
42486 [BZ #14059]
42487 * sysdeps/x86_64/multiarch/init-arch.h
42488 (bit_YMM_Usable): Rename to...
42489 (bit_AVX_Usable): ... this.
42490 (bit_FMA4_Usable): New macro.
42491 (bit_XMM_state): New macro.
42492 (bit_YMM_state): New macro.
42493 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42494 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42495 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42496 (CPUID_OSXSAVE): New macro.
42497 (CPUID_AVX): New macro.
42498 (CPUID_FMA4): New macro.
42499 (index_YMM_Usable): Rename to...
42500 (index_AVX_Usable): ... this.
42501 (HAS_AVX): Use HAS_ARCH_FEATURE.
42502 (HAS_FMA4): Likewise.
42503 (HAS_YMM_USABLE): Remove.
42504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42505 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42506 are present.
42507 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42508 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42509 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42510 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42511 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42512
0af797de
CM
425132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42514
42515 * math/libm-test.c: Support platforms without multiple rounding modes.
42516 * math/bug-nextafter.c: Support platforms without FP exceptions.
42517 * math/bug-nexttoward.c: Likewise.
42518 * math/test-fenv.c: Likewise.
42519 * math/test-misc.c: Likewise.
42520 * stdlib/bug-getcontext.c: Likewise.
42521
e39745ff
AJ
425222012-05-17 Andreas Jaeger <aj@suse.de>
42523
42524 * manual/examples/search.c (critter_cmp): Change signature to
42525 avoid warnings.
42526 * manual/string.texi (Collation Functions): Likewise.
42527
48970aba
L
425282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42529
42530 * bits/types.h: Fold copyright years.
42531 * bits/typesizes.h: Likewise.
42532 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42536 * time/time.h: Likewise.
42537
bedee953
PP
425382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42539
42540 [BZ #208]
42541 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42542 in instead of returning them. Return void.
42543 (__libc_mallinfo): Accumulate over all arenas.
42544 (__malloc_stats): Adjust for change in int_mallinfo interface.
42545
61653dfb
RM
425462012-05-16 Roland McGrath <roland@hack.frob.com>
42547
30b99d79
RM
42548 [BZ #10375]
42549 * configure.in (NM): Add AC_CHECK_TOOL for it.
42550 (libc_extra_cflags): New substituted variable.
42551 Check for -fstack-protector being used implicitly.
42552 * configure: Regenerated.
42553 * config.make.in (config-extra-cflags): New variable,
42554 gets @libc_extra_cflags@.
42555 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42556
61653dfb
RM
42557 [BZ #10375]
42558 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42559 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42560 * configure: Regenerated.
42561 * config.make.in (CPPUNDEFS): New substituted variable.
42562 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42563 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42564 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42565
661768bb
L
425662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42567
42568 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42569 (mq_attr): Use __syscall_slong_t.
42570
d4261567
L
425712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42572
42573 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42574 Check __x86_64__ instead of __WORDSIZE.
42575 (_STAT_VER_LINUX): Likewise.
42576 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42577 __syscall_ulong_t and __syscall_slong_t.
42578 (stat64): Likewise.
42579
cf3ff365
L
425802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42581
42582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42583
76cf3e4d
L
425842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42585
42586 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42587
a637753a
L
425882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42589
42590 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42591 __syscall_ulong_t.
42592
d5e05119
L
42593 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42594 include <bits/wordsize.h>. Check __x86_64__ instead of
42595 __WORDSIZE.
42596 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42597 defined.
42598 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42599
f62ee380
L
42600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42601 include <bits/wordsize.h>. Check __x86_64__ instead of
42602 __WORDSIZE.
42603 (user_regs_struct): Use "__extension__ unsigned long long"
42604 instead of "unsigned long" if __x86_64__ is defined.
42605 (user): Likewise. Pad after pointer field if __ILP32__ is
42606 defined.
42607
4e124ced
JM
426082012-05-16 Joseph Myers <joseph@codesourcery.com>
42609
6a3951a0
JM
42610 * configure.in (makeinfo): Require version 4.5 or later. Allow
42611 versions 5 to 9.
42612 * configure: Regenerated.
42613 * manual/install.texi (texinfo): Increase version requirement to
42614 4.5 or later.
42615 * INSTALL: Regenerated.
42616
4e124ced
JM
42617 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42618
953ca31a
L
426192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42620
42621 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42622
617aca05
L
42623 * sysdeps/x86_64/x32/ffs.c: New file.
42624
5762f7ae
L
42625 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42626 __syscall_ulong_t.
42627 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42628 defined. Use __syscall_ulong_t.
42629 (shminfo): Use __syscall_ulong_t.
42630 (shm_info): Likewise.
42631
a26b6856
L
42632 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42633 __syscall_ulong_t.
42634
cb2b9ef7
L
42635 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42636 <bits/wordsize.h>.
42637 (msgqnum_t): Use __syscall_ulong_t.
42638 (msglen_t): Likewise.
42639 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42640 __syscall_ulong_t.
42641
34683bb0
L
42642 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42643 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42644
84a68786
L
42645 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42646
48baa5f1
L
42647 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42648 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42649
180be88b
L
42650 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42651 __syscall_slong_t.
42652
5e90c8ad
L
42653 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42654 include <bits/wordsize.h>. Check __x86_64__ instead of
42655 __WORDSIZE.
42656
23dfb58b
L
42657 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42658 "unsigned long long int" if __x86_64__ is defined.
42659 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42660
ce5d54b0
L
42661 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42662 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42663 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42664
13dc9eac
L
42665 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42666 <stdint.h>.
42667 (GET_PC): Cast to uintptr_t first.
42668 (GET_FRAME): Likewise.
42669 (GET_STACK): Likewise.
42670
a7895d15
L
42671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42672 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42674 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42676 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42677 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42678 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42679 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42680 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42681 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42682 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42688 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42689 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42700
656416c9
AS
427012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42702
5bd66283
AS
42703 * Makerules (+depfiles): Also collect depfiles from .oS in
42704 $(extra-objs).
42705 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42706 .oS, $(libnldbl-routines)).
42707
656416c9
AS
42708 * Makerules (native-compile-mkdep-flags): Define.
42709 * sunrpc/Makefile (extra-objs): Add $(addprefix
42710 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42711 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42712 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42713 calling $(make-target-directory).
42714
a46f2169
L
427152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42716
42717 * bits/types.h (__snseconds_t): Removed.
42718 * time/time.h (struct timespec): Replace __snseconds_t with
42719 __syscall_slong_t.
42720 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42721 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42722 Likewise.
42723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42724 (__SNSECONDS_T_TYPE): Likewise.
42725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42726 (__SNSECONDS_T_TYPE): Likewise.
42727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42728 (__SNSECONDS_T_TYPE): Likewise.
42729
6af6528b
L
427302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42731
42732 * sysdeps/mach/hurd/bits/typesizes.h
42733 (__SYSCALL_SLONG_TYPE): New macro.
42734 (__SYSCALL_ULONG_TYPE): Likewise.
42735
de986b56
L
427362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42737
42738 * bits/types.h (__syscall_slong_t): New type.
42739 (__syscall_ulong_t): Likewise.
42740
42741 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42742 (__SYSCALL_ULONG_TYPE): Likewise.
42743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42744 (__SYSCALL_SLONG_TYPE): Likewise.
42745 (__SYSCALL_ULONG_TYPE): Likewise.
42746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42747 (__SYSCALL_SLONG_TYPE): Likewise.
42748 (__SYSCALL_ULONG_TYPE): Likewise.
42749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42750 (__SYSCALL_SLONG_TYPE): Likewise.
42751 (__SYSCALL_ULONG_TYPE): Likewise.
42752
85736dc7
L
427532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42754
42755 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42756 Add sigaltstack-offsets.sym.
42757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42758 <sigaltstack-offsets.h>.
42759 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42760 longjmp_msg pointer.
42761 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42762 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42763 signal stack.
42764 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42765
cc03b296
JM
427662012-05-15 Joseph Myers <joseph@codesourcery.com>
42767
a9538892
JM
42768 * elf/stackguard-macros.h: Remove file.
42769 * sysdeps/generic/stackguard-macros.h: New file.
42770 * sysdeps/i386/stackguard-macros.h: Likewise.
42771 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42772 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42773 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42774 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42775 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42776 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42777 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42778 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42779 <elf/stackguard-macros.h>.
42780
cc03b296
JM
42781 [BZ #14109]
42782 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42783 __aligned__ in attribute.
42784 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42785 (gregset_t): Likewise.
42786
93171016
L
427872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42788
42789 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42790 * sysdeps/x86_64/64/Implies-after: Here. New file.
42791 * sysdeps/x86_64/x32/Implies-after: New file.
42792
d86813a0
L
427932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42794
42795 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42796 and access return value for _dl_profile_fixup. Use R10_LP to
42797 load frame size.
42798
2953ec75
L
427992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42800
42801 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42802
3b550e9e
L
428032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42804
42805 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42806 * sysdeps/x86_64/x32/sysdep.h: New file.
42807
eda41706
L
428082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42809
42810 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42811 * sysdeps/x86_64/setjmp.S: Likewise.
42812
9ea01d93
AZ
428132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42814
42815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42816 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42817 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42818 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42819 remove unused global constant.
42820
02a91938
CM
428212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42822
42823 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42824 include of <not-cancel.h>.
42825
6540185f
RM
428262012-05-15 Roland McGrath <roland@hack.frob.com>
42827
42828 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42829
509072a0
AJ
428302012-05-15 Jeff Law <law@redhat.com>
42831 Andreas Jaeger <aj@suse.de>
42832
42833 [BZ #13594]
42834 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42835 out from...
42836 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42837 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42838 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42839 code changing __hst_map_handle.map.
42840
ba75122d
RM
428412012-05-15 Roland McGrath <roland@hack.frob.com>
42842
42843 * configure.in (sysnames): Look for Implies-before and Implies-after
42844 files.
42845 * configure: Regenerated.
42846
890d8bd8
L
428472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42848
42849 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42850 8-byte data alignment with LP_SIZE alignment.
42851
f6ee6623
L
428522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42853
42854 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42855 into R10_LP.
42856
ea2626f6
L
428572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42858
42859 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42860
085f715e
L
428612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42862
42863 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42864 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42865 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42866 Likewise.
42867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42868
be8498fc
L
428692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42870
42871 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42872 (stackinfo_sub_sp): Likewise.
42873
70bc83b9
L
428742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42875
42876 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42877 RAX_LP.
42878
9bc0b730
L
428792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42882 into R*_LP.
42883
6d2850e7
L
428842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42887 sizes into R*_LP.
42888
3cb84561
L
428892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42890
42891 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42892
54e2ed81
L
428932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42896 into R11_LP and load __x86_64_shared_cache_size_half into
42897 R8_LP.
42898
8a17f349
L
428992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42900
42901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42902 R8_LP.
42903
777b1eea
AZ
429042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42905
42906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42907 logb for POWER7.
42908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42909 logbf for POWER7.
42910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42911 logbl for POWER7.
42912 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42913 powerpc32/power7/fpu/s_logb.c via #include.
42914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42915 powerpc32/power7/fpu/s_logbf.c via #include.
42916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42917 powerpc32/power7/fpu/s_logbl.c via #include.
42918
d20d4ac2
JM
429192012-05-15 Joseph Myers <joseph@codesourcery.com>
42920
42921 * README.libm: Remove file.
42922
6cdef1ab
L
429232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42924
42925 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42926 count for x32. Use R*_LP and omit operand-size suffix.
42927
0b254d8f
L
429282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42929
42930 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42931 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42932 * sysdeps/x86_64/x32/shlib-versions: New file.
42933
ceb809dc
RM
429342012-05-14 Roland McGrath <roland@hack.frob.com>
42935
42936 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42937 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42938 Use _dl_fatal_printf instead.
42939
37f1abd4
JM
429402012-05-14 Joseph Myers <joseph@codesourcery.com>
42941
42942 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42943 set if not set by the user. Do not allow for being unset.
42944 * sysdeps/unix/sysv/linux/configure: Regenerated.
42945
11de3a33
L
429462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42947
42948 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42949 the `q' suffix from lea and replace .quad with ASM_ADDR.
42950
e02f153a
L
429512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42952
42953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42954 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42955 instead of $17.
42956 (PTR_DEMANGLE): Likewise.
42957
520ae0fd
L
429582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42959
42960 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42961 (LP_OP): Likewise.
42962 (ASM_ADDR): Likewise.
42963 (RAX_LP): Likewise.
42964 (RBP_LP): Likewise.
42965 (RBX_LP): Likewise.
42966 (RCX_LP): Likewise.
42967 (RDI_LP): Likewise.
42968 (RSI_LP): Likewise.
42969 (RSP_LP): Likewise.
42970 (R8_LP): Likewise.
42971 (R9_LP): Likewise.
42972 (R10_LP): Likewise.
42973 (R10_LP): Likewise.
42974 (R11_LP): Likewise.
42975 (R12_LP): Likewise.
42976 (R13_LP): Likewise.
42977 (R14_LP): Likewise.
42978 (R15_LP): Likewise.
42979
b985be81
L
429802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42981
42982 * sysdeps/x86_64/x32/dl-machine.h: New file.
42983
6a4888ff
AJ
429842012-05-14 Andreas Jaeger <aj@suse.de>
42985
42986 * manual/Makefile (subdir): Remove export of subdir.
42987 (all): Remove target.
42988 (.PHONY): Remove all from list.
42989 (mkinstalldirs): Remove.
42990 (.PHONY): Remove installdirs from list.
42991 ($(inst_infodir)/libc.info): Use make-target-directory.
42992 (installdirs): Remove.
42993 (subdir_%): Remove.
42994 (glibc-targets): Remove.
42995 (lib): Remove.
42996 (stubs): Remove.
42997 ($(objpfx)stubs ../po/manual.pot): Remove.
42998 ($(objpfx)stamp%): Remove.
42999 (make-target-directory): Remove.
43000 (subdir_install): Remove.
43001 (routines): Remove.
43002 (aux): Remove.
43003 (sources): Remove.
43004 (objects): Remove.
43005 (headers): Remove.
43006
43007 [BZ #13750]
43008 * manual/.gitignore: Remove, it's not needed anymore.
43009 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43010 all files in it.
43011 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43012 directory.
43013 (texis): Renamed to $(objpfx)texis.
43014 (texis-path): New, contains path to generated files.
43015 (chapters.%): Use texis-path for complete path, add extra argument
43016 libc-texinfo.sh.
43017 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43018 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43019 (summary,texi, stamp-summary): Use complete path of
43020 files. Generate files in build dir.
43021 (dir-add.texi): Build in build dir.
43022 (libm-err.texi,stamp-libm-err): Likewise.
43023 (version.texi, stamp-version): Likewise.
43024 (.%c.texi): Likewise.
43025 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43026 (mostlyclean): Remove target.
43027 (realclean): Remove target.
43028 (generated): Add new variable with contents from mostlyclean and
43029 realclean, remove entries duplicated in common-mostlyclean, add
43030 stamp-libm-err and stamp-version.
43031 (generated-dirs): Add libc directory.
43032 ($(inst_infodir)/libc.info): Install files from build dir.
43033
43034 * manual/install.texi (Configuring and compiling): Adjust since
43035 the info files are not part of the tar ball anymore.
43036
7ac77294
AJ
430372012-05-14 Andreas Jaeger <aj@suse.de>
43038
43039 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43040 variable.
43041
ffb7875d
JM
430422012-05-14 Joseph Myers <joseph@codesourcery.com>
43043
43044 [BZ #13717]
43045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43046 to 2.2.0 where earlier.
43047 * sysdeps/unix/sysv/linux/configure: Regenerated.
43048 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43049 Remove conditional code.
43050 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43051 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43052 Remove conditional code.
43053 [!__NR_lchown]: Likewise.
43054 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43055 [__NR_lchown]: Likewise.
43056 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43057 comment referencing __ASSUME_LCHOWN_SYSCALL.
43058 * sysdeps/unix/sysv/linux/i386/sigaction.c
43059 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43060 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43061 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43062 Remove conditional code.
43063 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43064 (__protocol_available): Remove #if 0 code.
43065 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43066 conditional code.
43067 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43068 * sysdeps/unix/sysv/linux/kernel-features.h
43069 (__ASSUME_GETCWD_SYSCALL): Don't define.
43070 (__ASSUME_REALTIME_SIGNALS): Likewise.
43071 (__ASSUME_PREAD_SYSCALL): Likewise.
43072 (__ASSUME_PWRITE_SYSCALL): Likewise.
43073 (__ASSUME_POLL_SYSCALL): Likewise.
43074 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43075 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43076 non-SPARC.
43077 (__ASSUME_SIOCGIFNAME): Don't define.
43078 (__ASSUME_MSG_NOSIGNAL): Likewise.
43079 (__ASSUME_SENDFILE): Define unconditionally.
43080 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43081 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43082 conditional code.
43083 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43084 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43085 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43086 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43087 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43088 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43089 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43091 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43094 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43097 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43103 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43106 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43114 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43115 Remove conditional code.
43116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43117 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43118 Remove conditional code.
43119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43120 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43121 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43122 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43123 Remove conditional code.
43124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43125 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43126 Remove conditional code.
43127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43128 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43129 Remove conditional code.
43130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43131 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43132 Remove conditional code.
43133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43134 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43135 Remove conditional code.
43136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43137 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43140 * sysdeps/unix/sysv/linux/sigaction.c
43141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43143 * sysdeps/unix/sysv/linux/sigpending.c
43144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43146 * sysdeps/unix/sysv/linux/sigprocmask.c
43147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43149 * sysdeps/unix/sysv/linux/sigsuspend.c
43150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43152 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43153 (__libc_missing_rt_sigs): Remove.
43154 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43155 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43156 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43157 Remove conditional code.
43158 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43159 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43160 return 1.
43161 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43162 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43163 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43164 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43165
1bfb7291
AJ
431662012-05-14 Andreas Jaeger <aj@suse.de>
43167
caae5a81
AJ
43168 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43169 it's not used in glibc.
43170 (__coshm1): Likewise.
43171 (__acosh1p): Likewise.
43172 (__sgn): Likewise.
43173
1bfb7291
AJ
43174 * manual/string.texi (Copying and Concatenation): Add missing
43175 variable in concat example.
43176 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43177
c044d724
L
431782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43179
144c5467 43180 [BZ #14103]
c044d724
L
43181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43182 __builtin_clzl with __builtin_clzll.
43183
2523c62b
L
431842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43185
43186 [BZ #14104]
43187 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43188 libc_freeres_ptr.
43189
d7bb4c42
LD
431902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43191
43192 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43193 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43194 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43195 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43196
9dc4e1fb
MF
431972012-05-14 Mike Frysinger <vapier@gentoo.org>
43198
43199 * NEWS: Update ia64 info.
43200
c7df0112
AS
432012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43202
43203 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43204 used as bcopy.
43205
dc70356c
TS
432062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43207
43208 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43209 * sysdeps/unix/syscalls.list (dup3): Likewise.
43210 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43211 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43212
9fb1a21f
L
432132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43214
43215 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43216 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43217
4822a2a5
L
432182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43219
43220 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43221 thread pointer.
43222 (TLS_IE): Use mov/add instead of movq/addq to load thread
43223 pointer.
43224 (TLS_GD_PREFIX): New.
43225 (TLS_GD): Use it.
43226
842b81d6
DM
432272012-05-11 David S. Miller <davem@davemloft.net>
43228
43229 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43230 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43231 (_FPU_SETCW): Likewise.
43232
1cf463cd
L
432332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43234
43235 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43236 is 32-byte aligned.
43237
60cc4a18
AS
432382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43239
43240 [BZ #11837]
43241 * iconvdata/gb18030.c: Update tables.
43242 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43243 characters specially.
43244 (BODY for TO_LOOP): Add encoding of missing ranges.
43245
febb44a4
TS
432462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43247
43248 [BZ #13673]
43249 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43250 * sysdeps/mach/hurd/dup3.c: Likewise.
43251 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43252 * sysdeps/powerpc/memmove.c:: Likewise.
43253
0a10fb9e
L
432542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43255
43256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43257 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43258
df8a552f
L
432592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * elf/elf.h (R_X86_64_RELATIVE64): New.
43262 (R_X86_64_NUM): Updated.
43263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43264 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43265 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43266 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43267 tst-quad1pie tst-quad2pie
43268 (modules-names): Add tst-quadmod1 tst-quadmod2.
43269 ($(objpfx)tst-quad1): New dependency.
43270 ($(objpfx)tst-quad2): Likewise.
43271 ($(objpfx)tst-quad1pie): Likewise.
43272 ($(objpfx)tst-quad2pie): Likewise.
43273 * sysdeps/x86_64/tst-quad1.c: New file.
43274 * sysdeps/x86_64/tst-quad1pie.c: New file.
43275 * sysdeps/x86_64/tst-quad2.c: Likewise.
43276 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43277 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43278 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43279 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43280 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43281
f34d6f84
ST
432822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43283
f42d41d1
ST
43284 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43285 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43286 * streams/stropts.h (t_scalar_t): Define type.
43287
3c3571fc
ST
43288 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43289 (_PATH_PRESERVE): Set to "/var/lib".
43290 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43291
61f06bd3
ST
43292 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43293 instead of int.
43294
918d4d71
ST
43295 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43296 if __dir_mkfile succeeded.
43297
f34d6f84
ST
43298 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43299 checking for _hurd_dtablesize. Unlock it right after having
43300 finished _hurd_dtable allocation.
43301
10589b4a
TS
433022012-05-10 Thomas Schwinge <thomas@schwinge.name>
43303
674cdbc7
TS
43304 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43305 * sysdeps/mach/hurd/configure: Regenerated.
43306 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43307 special-casing to...
43308 * sysdeps/gnu/configure.in: ... this new file.
43309 * sysdeps/unix/sysv/linux/configure: Regenerated.
43310 * sysdeps/gnu/configure: New generated file.
43311
8e41b99f
TS
43312 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43313 for Linux: use nsec instead of usec, as well as:
43314 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43315 members of type struct timespec.
43316 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43317 New macros.
43318 (struct stat64): Likewise.
43319 (_STATBUF_ST_NSEC): New macro.
43320 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43321
10589b4a
TS
43322 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43323 __strtoul_internal rather than strtoul.
43324
63643c85
PT
433252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43326
43327 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43328 and reject them.
43329
3faebe6a
ST
433302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43331
43332 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43333 which preserves existing values.
43334 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43335
c6474b07
PT
433362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43337
43338 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43339 TIMEOUT values. Return EINVAL for NFDS values either negative or
43340 greater than FD_SETSIZE.
43341
1043890b
ST
433422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43343
43344 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43345 allocated, call __vm_protect to finish enabling the existing space, and
43346 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43347 allocate the remainder.
43348
37ed8b9b
PT
433492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43350
43351 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43352 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43353
db653660
ST
433542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43355
37ed8b9b
PT
43356 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43357 sysdeps/mach/hurd/readlink.c.
b29d4053 43358
db653660
ST
43359 * posix/tst-sysconf.c (posix_options): Only use
43360 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43361 _POSIX_SYNCHRONIZED_IO when they are defined
43362 * sysdeps/mach/hurd/bits/posix_opt.h:
43363 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43364 (_XOPEN_REALTIME): Undefine macro.
43365 (_XOPEN_REALTIME_THREADS): Undefine macro.
43366 (_XOPEN_SHM): Undefine macro.
43367 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43368 macro to -1.
43369 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43370 macro to -1.
43371 (_POSIX_ASYNC_IO): Undefine macro.
43372 (_POSIX_PRIORITIZED_IO): Undefine macro.
43373 (_POSIX_SPIN_LOCKS): Define macro to -1.
43374
ee16e894
ST
43375 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43376 SA_NODEFER, SA_RESETHAND.
43377 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43378 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43379 F_DUPFD_CLOEXEC.
43380
6103ae3b
TS
433812012-05-10 Thomas Schwinge <thomas@schwinge.name>
43382
43383 * elf/Makefile (pldd-modules): Define unconditionally.
43384
80b4e5f3
TS
433852012-05-10 Thomas Schwinge <thomas@schwinge.name>
43386
43387 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43388
edadcbd6
ST
433892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43390
43391 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43392 Return ENOENT when name is empty.
43393 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43394
80694780
TS
433952012-05-10 Thomas Schwinge <thomas@schwinge.name>
43396
1792c087
TS
43397 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43398
80694780
TS
43399 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43400
6b645f0d
ST
434012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43402
80694780
TS
43403 Fix mlock in all cases except non-readable pages.
43404 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43405 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43406
6b645f0d
ST
43407 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43408 (__mkdir): When path is `/', just fail with EEXIST.
43409 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43410
e468f8a3
TS
434112012-05-10 Thomas Schwinge <thomas@schwinge.name>
43412
43413 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43414 <sys/uio.h> (for writev).
43415 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43416 and <sys/param.h> (for MIN).
43417
a4186cff
PT
434182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43419
43420 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43421 REQUESTED_TIME. Properly set the remaining time and return EINTR
43422 if interrupted.
43423
510bbf14
TS
434242012-05-10 Thomas Schwinge <thomas@schwinge.name>
43425
43426 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43427 Depend on against $(link-rpcuserlibs).
43428
5d5722e8
ST
434292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43430
a4186cff
PT
43431 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43432 (__libc_stack_end): Do not use attribute_relro.
43433 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43434 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43435 to libthread-provided value.
a4186cff
PT
43436 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43437 attribute_relro.
5d5722e8 43438
37233df9
TS
434392012-05-10 Thomas Schwinge <thomas@schwinge.name>
43440
be971a2b
TS
43441 [BZ #3748]
43442 * bits/libc-lock.h (__libc_once_get): New macro.
43443 * sysdeps/mach/bits/libc-lock.h: Likewise.
43444 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43445 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43446 instead of using implementation details.
43447
37233df9
TS
43448 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43449 * libio/freopen.c: Likewise.
43450 * libio/freopen64.c: Likewise.
43451 * misc/syslog.c: Likewise.
43452 * nscd/connections.c: Likewise.
43453 * nscd/netgroupcache.c: Likewise.
43454 * sysdeps/posix/getcwd.c: Likewise.
43455
38de94a5
RM
434562012-05-10 Roland McGrath <roland@hack.frob.com>
43457
43458 * math/w_ilogbf.c: Add #include <limits.h>.
43459
67530489
ST
434602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43461
a4186cff 43462 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43463 path instead of returning without unlocking.
43464
67530489
ST
43465 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43466 immediate-write ioctls.
43467 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43468
5aa3a74a
TS
434692012-05-10 Thomas Schwinge <thomas@schwinge.name>
43470
18bad2ae
TS
43471 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43472 __builtin_frame_address instead of making assumptions about the
43473 location of the return address relative to DATA. Force early load of
43474 the return address.
43475 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43476 __builtin_frame_address.
43477
5aa3a74a
TS
43478 dup3 for GNU Hurd.
43479 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43480 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43481 implement dup3 and do some further code clean-ups.
43482 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43483 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43484
ecd0de9a
ST
434852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43486
cd9fa985
ST
43487 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43488
a4186cff
PT
43489 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43490 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43491 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43492 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43493 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43494 d->port.lock.
802ca5a5 43495
a4186cff
PT
43496 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43497 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43498 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43499
bcf55240
TS
435002012-05-10 Thomas Schwinge <thomas@schwinge.name>
43501
6960eb42
TS
43502 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43503 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43504 definitions.
43505
eb43375f
TS
43506 accept4 for GNU Hurd.
43507 * include/sys/socket.h (__libc_accept4): New prototype.
43508 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43509 to implement __libc_accept4.
43510 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43511 __libc_accept4.
43512 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43513
bcf55240
TS
43514 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43515 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43516 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43517 signal-defines.sym.
43518
6178c55b
ST
435192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43520
a4186cff 43521 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43522
6f080c2f
TS
435232012-05-10 Thomas Schwinge <thomas@schwinge.name>
43524
43525 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43526 assertion on O_CLOEXEC flag.
43527 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43528 * hurd/intern-fd.c: Likewise.
43529 * hurd/port2fd.c: Likewise.
43530
bcfe3a54
ST
435312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43532
43533 [BZ #3906]
43534 * bits/in.h (IPV6_PKTINFO): Define new macro.
43535 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43536
89c9aa49
AZ
435372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43538
43539 [BZ #13954]
43540 [BZ #13955]
43541 [BZ #13956]
43542 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43544 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43545 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43547 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43548 * math/libm-test.inc (logb_test) : Additional logb tests.
43549
021db4be
AJ
435502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43551 Andreas Jaeger <aj@suse.de>
43552
43553 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43554 * configure: Regenerated.
43555 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43556 * config.make.in (link-obsolete-rpc): New substituted variable.
43557 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43558 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43559 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43560 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43561 so that libc.a contains the symbols.
43562 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43563 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43564 * sunrpc/auth_none.c: Likewise.
43565 * sunrpc/auth_unix.c: Likewise.
43566 * sunrpc/authdes_prot.c: Likewise.
43567 * sunrpc/authuxprot.c: Likewise.
43568 * sunrpc/clnt_gen.c: Likewise.
43569 * sunrpc/clnt_perr.c: Likewise.
43570 * sunrpc/clnt_raw.c: Likewise.
43571 * sunrpc/clnt_simp.c: Likewise.
43572 * sunrpc/clnt_tcp.c: Likewise.
43573 * sunrpc/clnt_udp.c: Likewise.
43574 * sunrpc/clnt_unix.c: Likewise.
43575 * sunrpc/des_crypt.c: Likewise.
43576 * sunrpc/des_soft.c: Likewise.
43577 * sunrpc/get_myaddr.c: Likewise.
43578 * sunrpc/key_call.c: Likewise.
43579 * sunrpc/key_prot.c: Likewise.
43580 * sunrpc/netname.c: Likewise.
43581 * sunrpc/pm_getmaps.c: Likewise.
43582 * sunrpc/pm_getport.c: Likewise.
43583 * sunrpc/pmap_clnt.c: Likewise.
43584 * sunrpc/pmap_prot.c: Likewise.
43585 * sunrpc/pmap_prot2.c: Likewise.
43586 * sunrpc/pmap_rmt.c: Likewise.
43587 * sunrpc/publickey.c: Likewise.
43588 * sunrpc/rpc_cmsg.c: Likewise.
43589 * sunrpc/rpc_common.c: Likewise.
43590 * sunrpc/rpc_dtable.c: Likewise.
43591 * sunrpc/rpc_prot.c: Likewise.
43592 * sunrpc/rpc_thread.c: Likewise.
43593 * sunrpc/rtime.c: Likewise.
43594 * sunrpc/svc.c: Likewise.
43595 * sunrpc/svc_auth.c: Likewise.
43596 * sunrpc/svc_raw.c: Likewise.
43597 * sunrpc/svc_run.c: Likewise.
43598 * sunrpc/svc_tcp.c: Likewise.
43599 * sunrpc/svc_udp.c: Likewise.
43600 * sunrpc/svc_unix.c: Likewise.
43601 * sunrpc/svcauth_des.c: Likewise.
43602 * sunrpc/xcrypt.c: Likewise.
43603 * sunrpc/xdr.c: Likewise.
43604 * sunrpc/xdr_array.c: Likewise.
43605 * sunrpc/xdr_float.c: Likewise.
43606 * sunrpc/xdr_intXX_t.c: Likewise.
43607 * sunrpc/xdr_mem.c: Likewise.
43608 * sunrpc/xdr_rec.c: Likewise.
43609 * sunrpc/xdr_ref.c: Likewise.
43610 * sunrpc/xdr_sizeof.c: Likewise.
43611 * sunrpc/xdr_stdio.c: Likewise.
43612
b5c086a2
RM
436132012-05-10 Roland McGrath <roland@hack.frob.com>
43614
43615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43616 change. Update copyright years.
43617
6d74dd09
JM
436182012-05-10 Joseph Myers <joseph@codesourcery.com>
43619
43620 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43621
28e72501
MK
436222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43623 Joseph Myers <joseph@codesourcery.com>
43624 Paul Pluzhnikov <ppluzhnikov@google.com>
43625
43626 [BZ #14012]
43627 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43628 requiring rpcgen.
43629 [cross-compiling] (extra-libs): Likewise.
43630 [cross-compiling] (extra-libs-others): Likewise.
43631 [cross-compiling] (librpcsvc-routines): Likewise.
43632 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43633 [cross-compiling] (omit-deps): Likewise.
43634 (sunrpc-CPPFLAGS): New variable.
43635 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43636 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43637 (cross-rpcgen-objs): New variable.
43638 (extra-objs): Append $(cross-rpcgen-objs).
43639 ($(cross-rpcgen-objs)): New rule.
43640 ($(objpfx)cross-rpcgen): Likewise.
43641 (rpcgen-cmd): Define to use $(built-program-file). Expand
43642 comment.
43643 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43644 ($(objpfx)x%.stmp): Likewise.
43645 * sunrpc/proto.h [IS_IN_build] (_): Define.
43646 [IS_IN_build] (_libc_intl_domainname): Likewise.
43647
c8c59454
L
436482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43649
43650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43651 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43652 and R_X86_64_TPOFF64.
43653
6f27cd16
JM
436542012-05-10 Joseph Myers <joseph@codesourcery.com>
43655
43656 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43657 sysdeps/unix/sysv/syscalls.list.
43658 (stime): Likewise.
43659 (utime): Likewise.
43660 * sysdeps/unix/sysv/syscalls.list: Remove file.
43661
02467e1c
PE
436622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43663
43664 [BZ #3440]
43665 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43666 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43667 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43668 (__LC_IDENTIFICATION): Make these macros useful in #if
43669 expressions, as required by C99.
43670
da392631
AS
436712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43672
43673 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43674 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43675 after this.
43676
8115f29b
L
436772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43678
43679 * stdlib/longlong.h: Updated from GCC.
43680
bdd74070
AJ
436812012-05-09 Andreas Jaeger <aj@suse.de>
43682
edfe0dbe
AJ
43683 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43684 default is first entry.
43685 (run_mode): Set type.
43686 (main): Remove informal message about syslog.
43687 (options): Fix typo.
43688
bcfe3a54
ST
43689 [BZ #14053]
43690 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43691 to asm.
bcfe3a54
ST
43692 (lrint): Likewise.
43693 (llrintf): Likewise.
43694 (llrint): Likewise.
43695 (rint): Likewise.
43696 (rintf): Likewise.
43697 (nearbyint): Likewise.
43698 (nearbyintf): Likewise.
bdd74070 43699
91d8d69e
AJ
437002012-05-09 Andreas Jaeger <aj@suse.de>
43701 Pedro Alves <palves@redhat.com>
43702
43703 * nscd/nscd.c (run_mode): Use enum.
43704 (main): Cleanup coding style issue.
43705
bb90b80b
AJ
437062012-05-09 Alexandre Oliva <aoliva@redhat.com>
43707 Andreas Jaeger <aj@suse.de>
43708
bcfe3a54
ST
43709 * nscd/nscd.c (go_background): Replaced with...
43710 (run_mode): ... this.
bb90b80b 43711 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43712 (options): Add -F --foreground.
43713 (main): Implement it.
43714 (parse_opt): Parse it.
bb90b80b 43715
1a4b75a1
AJ
437162012-05-09 Andreas Jaeger <aj@suse.de>
43717
43718 [BZ #14083]
43719 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43720 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43721 -Wconversion warning.
43722 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43723 Likewise.
43724
b1cc2472
JM
437252012-05-09 Joseph Myers <joseph@codesourcery.com>
43726
43727 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43728 == 0.
43729 (LC_ALL): Use macro-int-constant.
43730 (LC_COLLATE): Likewise.
43731 (LC_CTYPE): Likewise.
43732 (LC_MESSAGES): Likewise.
43733 (LC_MONETARY): Likewise.
43734 (LC_NUMERIC): Likewise.
43735 (LC_TIME): Likewise.
43736 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43737 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43739 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43740 Specify type.
43741 [C99-based standards] (float_t): Expect type.
43742 [C99-based standards] (double_t): Expect type.
43743 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43744 type.
43745 [C99-based standards] (HUGE_VALL): Likewise.
43746 [C99-based standards] (INFINITY): Likewise.
43747 [C99-based standards] (NAN): Likewise.
43748 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43749 [C99-based standards] (FP_NAN): Likewise.
43750 [C99-based standards] (FP_NORMAL): Likewise.
43751 [C99-based standards] (FP_SUBNORMAL): Likewise.
43752 [C99-based standards] (FP_ZERO): Likewise.
43753 [C99-based standards] (FP_FAST_FMA): Use
43754 optional-macro-int-constant. Specify type. Require == 1.
43755 [C99-based standards] (FP_FAST_FMAF): Likewise.
43756 [C99-based standards] (FP_FAST_FMAL): Likewise.
43757 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43758 [C99-based standards] (FP_ILOGBNAN): Likewise.
43759 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43760 Specify type.
43761 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43762 [C99-based standards] (math_errhandling): Specify type.
43763 [ISO99 || ISO11] (signgam): Do not allow.
43764 [non-C99-based standards] (copysignf): Do not allow.
43765 [non-C99-based standards] (exp2f): Likewise.
43766 [non-C99-based standards] (log2f): Likewise.
43767 [non-C99-based standards] (modff): Allow.
43768 [non-C99-based standards] (erff): Do not allow.
43769 [non-C99-based standards] (erfcf): Likewise.
43770 [non-C99-based standards] (gammaf): Likewise.
43771 [non-C99-based standards] (hypotf): Likewise.
43772 [non-C99-based standards] (j0f): Likewise.
43773 [non-C99-based standards] (j1f): Likewise.
43774 [non-C99-based standards] (jnf): Likewise.
43775 [non-C99-based standards] (lgammaf): Likewise.
43776 [non-C99-based standards] (tgammaf): Likewise.
43777 [non-C99-based standards] (y0f): Likewise.
43778 [non-C99-based standards] (y1f): Likewise.
43779 [non-C99-based standards] (ynf): Likewise.
43780 [non-C99-based standards] (isnanf): Likewise.
43781 [non-C99-based standards] (acoshf): Likewise.
43782 [non-C99-based standards] (asinhf): Likewise.
43783 [non-C99-based standards] (atanhf): Likewise.
43784 [non-C99-based standards] (cbrtf): Likewise.
43785 [non-C99-based standards] (expm1f): Likewise.
43786 [non-C99-based standards] (ilogbf): Likewise.
43787 [non-C99-based standards] (log1pf): Likewise.
43788 [non-C99-based standards] (logbf): Likewise.
43789 [non-C99-based standards] (nextafterf): Likewise.
43790 [non-C99-based standards] (remainderf): Likewise.
43791 [non-C99-based standards] (rintf): Likewise.
43792 [non-C99-based standards] (scalbf): Likewise.
43793 [non-C99-based standards] (copysignl): Likewise.
43794 [non-C99-based standards] (exp2l): Likewise.
43795 [non-C99-based standards] (log2l): Likewise.
43796 [non-C99-based standards] (modfl): Allow.
43797 [non-C99-based standards] (erfl): Do not allow.
43798 [non-C99-based standards] (erfcl): Likewise.
43799 [non-C99-based standards] (gammal): Likewise.
43800 [non-C99-based standards] (hypotl): Likewise.
43801 [non-C99-based standards] (j0l): Likewise.
43802 [non-C99-based standards] (j1l): Likewise.
43803 [non-C99-based standards] (jnl): Likewise.
43804 [non-C99-based standards] (lgammal): Likewise.
43805 [non-C99-based standards] (tgammal): Likewise.
43806 [non-C99-based standards] (y0l): Likewise.
43807 [non-C99-based standards] (y1l): Likewise.
43808 [non-C99-based standards] (ynl): Likewise.
43809 [non-C99-based standards] (isnanl): Likewise.
43810 [non-C99-based standards] (acoshl): Likewise.
43811 [non-C99-based standards] (asinhl): Likewise.
43812 [non-C99-based standards] (atanhl): Likewise.
43813 [non-C99-based standards] (cbrtl): Likewise.
43814 [non-C99-based standards] (expm1l): Likewise.
43815 [non-C99-based standards] (ilogbl): Likewise.
43816 [non-C99-based standards] (log1pl): Likewise.
43817 [non-C99-based standards] (logbl): Likewise.
43818 [non-C99-based standards] (nextafterl): Likewise.
43819 [non-C99-based standards] (remainderl): Likewise.
43820 [non-C99-based standards] (rintl): Likewise.
43821 [non-C99-based standards] (scalbl): Likewise.
43822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43823 [non-C99-based standards] (FP_*): Do not allow.
43824 [C99-based standards] (FP_*): Change to
43825 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43826 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43827 allow.
43828 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43829 (SIG_ERR): Likewise.
43830 [X/Open-based standards] (SIG_HOLD): Likewise.
43831 (SIG_IGN): Likewise.
43832 (SIGABRT): Use macro-int-constant. Specify type. Require
43833 positive value.
43834 (SIGFPE): Likewise.
43835 (SIGILL): Likewise.
43836 (SIGINT): Likewise.
43837 (SIGSEGV): Likewise.
43838 (SIGTER): Likewise.
43839 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43848 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43857 [X/Open-based standards] (SIGTRAP): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43862 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43863 allow.
43864
b9f1922d
IW
438652012-05-08 Ian Wienand <ianw@vmware.com>
43866
43867 [BZ #14080]
43868 * time/tzset.c (__tzset_parse_tz): Update default rules for
43869 daylight time changes in the Energy Policy Act of 2005.
43870
1db86e88
AJ
438712012-05-09 Andreas Jaeger <aj@suse.de>
43872
43873 [BZ #13983]
43874 * elf/ldconfig.c (parse_conf): Change string to make clear that
43875 ldconfig only issued a warning if ld.so.conf does not exist.
43876
dee4a4e3
DM
438772012-05-08 David S. Miller <davem@davemloft.net>
43878
ee0db190
DM
43879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43880 movxtod instead of popping the value on the stack.
43881
dee4a4e3
DM
43882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43883
6a43ec98
CD
438842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43885
43886 * config.h.in: Add HAVE_ARM_PCS_VFP.
43887
05c2c961
RMG
438882012-05-08 Roland Mc Grath <roland@hack.frob.com>
43889
bcfe3a54
ST
43890 [BZ #13979]
43891 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43892 checking but the checks are disabled for any reason.
05c2c961 43893
4b30f61a
L
438942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43895
43896 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43897 and ELF64_R_TYPE with ELFW(R_TYPE).
43898
eee2bc67
JM
438992012-05-08 Joseph Myers <joseph@codesourcery.com>
43900
7ea5391a
JM
43901 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43902 (ulimit): Likewise.
43903
eee2bc67
JM
43904 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43905 (settimeofday): Likewise.
43906
abb66a67
MF
439072012-05-08 Mike Frysinger <vapier@gentoo.org>
43908
43909 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43910 a struct th_u2 inside the union, and move tu_block/tu_code into
43911 a new th_u3 union of tu_block/tu_code inside of that. Move
43912 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43913 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43914 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43915 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43916 (th_stuff): Change to th_u1.tu_stuff.
43917 (th_data): Define.
43918 (th_msg): Change to th_u1.th_u2.tu_data.
43919
7f18b530
DM
439202012-05-07 David S. Miller <davem@davemloft.net>
43921
05760585
DM
43922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43923
7f18b530
DM
43924 [BZ #14074]
43925 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43926 (SETUP_PIC_REG): Use it.
43927 (SETUP_PIC_REG_LEAF): Use it.
43928
495fd99f
JM
439292012-05-07 Joseph Myers <joseph@codesourcery.com>
43930
43931 [BZ #13885]
43932 [BZ #13923]
43933 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43934 USE_AS_EXPM1L.
43935 (EXPL_FINITE): Likewise.
43936 (FLDLOG): Likewise.
43937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43938 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43939 e_expl.S.
43940 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43941 USE_AS_EXPM1L.
43942 (EXPL_FINITE): Likewise.
43943 (FLDLOG): Likewise.
43944 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43945 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43946 e_expl.S.
43947 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43948 test of -max_value argument for long double.
43949 * sysdeps/i386/fpu/libm-test-ulps: Update.
43950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43951
6693d694
DM
439522012-05-06 David S. Miller <davem@davemloft.net>
43953
43954 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43955 quad soft-float symbols whose references which are compiler
43956 generated.
43957 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43958
6c23e11c
JM
439592012-05-06 Joseph Myers <joseph@codesourcery.com>
43960
d8b82cad
JM
43961 [BZ #13884]
43962 [BZ #13914]
43963 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43964 USE_AS_EXP10L.
43965 (EXPL_FINITE): Likewise.
43966 (FLDLOG): Likewise.
43967 (c0): Likewise.
43968 (c1): Likewise.
43969 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43970 Adjust comments for base varying.
43971 (__expl_finite): Change alias to EXPL_FINITE.
43972 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43973 e_expl.S.
43974 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43975 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43977 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43979 USE_AS_EXP10L.
43980 (EXPL_FINITE): Likewise.
43981 (FLDLOG): Likewise.
43982 (c0): Likewise.
43983 (c1): Likewise.
43984 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43985 Adjust comments for base varying.
43986 (__expl_finite): Change alias to EXPL_FINITE.
43987 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43988 tests for bugs.
43989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43990
6c23e11c
JM
43991 [BZ #14064]
43992 * math/libm-test.inc (check_float_internal): Correct ulp
43993 calculation for subnormal expected results.
43994
29ba805c
AJ
439952012-05-06 Andreas Jaeger <aj@suse.de>
43996
43997 * Makeconfig (+math-flags): New, set to -frounding-math.
43998 (+cflags): Add +math-flags so that all of glibc gets compiled with
43999 it.
44000
44001 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44002
7b17aeda
JM
440032012-05-05 Joseph Myers <joseph@codesourcery.com>
44004
5779f134
JM
44005 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44006 Disable one test.
44007
41498f4d
JM
44008 [BZ #13787]
44009 [BZ #13922]
44010 [BZ #14036]
44011 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44012 (__ieee754_expl): Allow for and saturate large arguments.
44013 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44014 (u_threshold): Likewise.
44015 (__exp): Call __ieee754_exp before checking for overflow and
44016 underflow.
44017 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44018 (u_threshold): Likewise.
44019 (__expf): Call __ieee754_expf before checking for overflow and
44020 underflow.
44021 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44022 (u_threshold): Likewise.
44023 (__expl): Call __ieee754_expl before checking for overflow and
44024 underflow.
44025 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44026 (__ieee754_expl): Allow for and saturate large arguments.
44027 * math/libm-test.inc (exp_test): Add another test. Do not allow
44028 missing overflow exception on overflow.
44029 (expm1_test): Do not allow missing overflow exception on overflow.
44030
6698b8bf
JM
44031 * sysdeps/i386/fpu/e_expl.c: Move to ...
44032 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44033 rather than using inline asm.
44034 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44035 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44036 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44037
7b17aeda
JM
44038 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44039 (nice): Likewise.
44040 (poll): Likewise.
44041 (signal): Likewise.
44042 (time): Likewise.
44043 (times): Likewise.
44044
f7c85819
JM
440452012-05-04 Joseph Myers <joseph@codesourcery.com>
44046
44047 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44048 sysdeps/unix/common/syscalls.list.
44049 (fchmod): Likewise.
44050 (fchown): Likewise.
44051 (ftruncate): Likewise.
44052 (getrusage): Likewise.
44053 (gettimeofday): Likewise.
44054 (setpgid): Likewise.
44055 (setregid): Likewise.
44056 (setreuid): Likewise.
44057 (sigaction): Likewise.
44058 (truncate): Likewise.
44059 (vhangup): Likewise.
44060 * sysdeps/unix/common/syscalls.list: Remove file.
44061 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44062 * sysdeps/unix/sysv/linux/Implies: Likewise.
44063
336270d0
L
440642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44065
44066 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44068 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44069 Moved to ...
44070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44071 Here.
44072 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44073 to ...
44074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44075 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44076 to ...
44077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44078 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44079 to ...
44080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44081 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44082 to ...
44083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44084 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44085 to ...
44086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44087 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44088 to ...
44089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44090 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44091 to ...
44092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44093 Here.
44094 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44095 to ...
44096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44097 Here.
44098 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44099 to ...
44100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44101 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44102 Moved to ...
44103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44104 Here.
44105 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44106 to ...
44107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44108
d128e450
JM
441092012-05-04 Joseph Myers <joseph@codesourcery.com>
44110
fa8ee516
JM
44111 * sysdeps/unix/common/bits/dirent.h: Remove file.
44112 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44113
d128e450
JM
44114 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44115 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44116 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44117 * sysdeps/unix/bsd/isatty.c: Likewise.
44118 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44119 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44120 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44121
ff8faaf0 441222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44123
62881be4 44124 [BZ #13563]
31dc8730
AZ
44125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44126 long double comparison inaccuracies.
44127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44129
6fef930c
AS
441302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44131
44132 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44134
8f203e6c
JM
441352012-05-04 Joseph Myers <joseph@codesourcery.com>
44136
44137 [BZ #14049]
44138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44139 nonzero digits before rounding a hex value.
44140 * stdlib/tst-strtod.c (tests): Add another test.
44141
5197d9c2
AK
441422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44143
44144 * sysdeps/s390/fpu/libm-test-ulps: Update.
44145
f0c1dedf
AJ
441462012-05-03 Andreas Jaeger <aj@suse.de>
44147
44148 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44149 does not get optimized out.
44150 (malloc_opt_barrier): New.
44151
a65ef2ae 441522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44153 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44154
2b942cb7 44155 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44156 intermediate file deletion.
2b942cb7 44157 (generated): Add .symlist files.
a65ef2ae 44158
54b71e02
JM
441592012-05-03 Joseph Myers <joseph@codesourcery.com>
44160
44161 [BZ #13775]
44162 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44163 Redirect under this condition.
44164 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44165 [__USE_GNU] (__dprintf_chk): Not under this condition.
44166 [__USE_GNU] (__vdprintf_chk): Likewise.
44167 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44168 under this condition.
44169 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44170 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44171 [__USE_XOPEN2K8] (vdprintf): Likewise.
44172 [__USE_GNU] (__dprintf_chk): Not under this condition.
44173 [__USE_GNU] (__vdprintf_chk): Likewise.
44174 [__USE_GNU] (dprintf): Likewise.
44175 [__USE_GNU] (vdprintf): Likewise.
44176
d3dfcc41
RM
441772012-05-03 Roland McGrath <roland@hack.frob.com>
44178
44179 * elf/Makefile (common-generated): Set this instead of generated for
44180 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44181 $(all-built-dso)-derived lists.
44182
7ac30cc5
AJ
441832012-05-03 Andreas Jaeger <aj@suse.de>
44184
0c51e550
AJ
44185 * sysdeps/i386/fpu/libm-test-ulps: Update.
44186
7ac30cc5
AJ
44187 * FAQ: Removed.
44188 * FAQ.in: Likewise.
44189 * scripts/gen-FAQ.pl: Likewise.
44190 * manual/install.texi (Installation): Point to online location of
44191 FAQ.
44192 * Makefile (files-for-dist): Remove FAQ.
44193 (FAQ): Remove.
44194
d4c2917f
AM
441952012-05-02 Allan McRae <allan@archlinux.org>
44196
44197 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44198 (LDFLAGS-reldepmod5.so): Likewise.
44199 (LDFLAGS-reldep6mod1.so): Likewise.
44200 (LDFLAGS-reldep6mod4.so): Likewise.
44201 (LDFLAGS-reldep8mod3.so): Likewise.
44202 (LDFLAGS-unload4mod1.so): Likewise.
44203 (LDFLAGS-unload4mod2.so): Likewise.
44204 (LDFLAGS-tst-initorder): Likewise.
44205 (LDFLAGS-tst-initordera2.so): Likewise.
44206 (LDFLAGS-tst-initordera3.so): Likewise.
44207 (LDFLAGS-tst-initordera4.so): Likewise.
44208 (LDFLAGS-tst-initorderb2.so): Likewise.
44209 (LDFLAGS-noload): Likewise.
44210 (LDFLAGS-next): Likewise.
44211 (LDFLAGS-order2mod1.so): Likewise.
44212 (LDFLAGS-order2mod2.so): Likewise.
44213 (LDFLAGS-tst-initorder2): Likewise.
44214 (LDFLAGS-tst-initorder2a.so): Likewise.
44215 (LDFLAGS-tst-initorder2b.so): Likewise.
44216 (LDFLAGS-tst-initorder2c.so): Likewise.
44217 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44218
d77f993f
DM
442192012-05-02 David S. Miller <davem@davemloft.net>
44220
44221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44222
171a70b4
PP
442232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44224
44225 [BZ #14055]
44226 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44227
0be196ad
AJ
442282012-05-02 Andreas Jaeger <aj@suse.de>
44229
44230 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44231 since we manipulate rounding mode.
44232 (CPPFLAGS-test-idouble.c): Likewise.
44233 (CPPFLAGS-test-ifloat.c): Likewise.
44234 (CFLAGS-test-ldouble.c): Likewise.
44235 (CFLAGS-test-double.c): Likewise.
44236 (CFLAGS-test-float.c): Likewise.
44237 (CFLAGS-test-misc.c): Likewise.
44238 (CFLAGS-test-test-fenv.c): Likewise.
44239
4f9d04aa
AZ
442402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44241
2b942cb7
RM
44242 [BZ #2550]
44243 [BZ #2570]
44244 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44245 comparisons to determine direction to adjust input.
4f9d04aa 44246
82a79e7d
RM
442472012-05-01 Roland McGrath <roland@hack.frob.com>
44248
f5a01ca9
RM
44249 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44250 output to the target.
44251
90fe4186
RM
44252 * scripts/localplt.awk: New file.
44253 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44254 (check-localplt-CFLAGS): Variable removed.
44255 ($(all-built-dso:=.jmprel)): New static pattern rule.
44256 (generated): Add those targets.
44257 (localplt-built-dso): New variable.
44258 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44259
44260 * elf/check-localplt.c: File removed.
44261
82397ed6
RM
44262 * scripts/check-execstack.awk: New file.
44263 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44264 (check-execstack-CFLAGS): Variable removed.
44265 ($(objpfx)check-execstack.h): Target removed.
44266 ($(objpfx)execstack-default): New target.
44267 (generated): Add that instead of check-execstack.h.
44268 ($(all-built-dso:=.phdr)): New static pattern rule.
44269 (generated): Add those targets.
44270 * elf/check-execstack.c: File removed.
44271
82a79e7d
RM
44272 * scripts/check-textrel.awk: New file.
44273 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44274 (check-textrel-CFLAGS): Variable removed.
44275 (all-built-dso): Use := to define.o
44276 ($(all-built-dso:=.dyn)): New static pattern rule.
44277 (generated): Add those targets.
44278 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44279 * config.make.in (READELF): New substituted variable.
44280 * elf/check-textrel.c: File removed.
44281
62fde54f 442822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44283
615605c9
JM
44284 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44285 allow.
44286 * conform/data/ctype.h-data [C99-based standards] (isblank):
44287 Expect function.
44288 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44289 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44291 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44292 Specify type. Require positive value.
44293 (EILSEQ): Likewise.
44294 (ERANGE): Likewise.
44295 [ISO || POSIX] (EILSEQ): Do not expect.
44296 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44297 Specify type. Require positive value.
44298 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44299 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44300 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44301 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44302 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44303 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44304 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44305 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44306 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44307 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44308 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44309 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44310 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44311 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44312 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44313 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44314 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44315 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44316 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44317 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44318 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44319 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44320 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44321 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44322 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44323 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44324 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44325 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44326 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44327 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44328 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44329 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44330 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44331 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44332 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44333 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44334 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44335 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44336 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44337 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44338 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44339 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44340 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44341 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44342 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44343 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44344 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44345 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44346 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44347 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44348 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44349 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44350 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44351 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44352 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44353 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44354 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44355 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44356 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44357 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44358 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44359 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44360 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44361 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44362 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44363 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44364 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44365 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44366 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44367 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44368 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44369 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44370 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44371 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44372 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44373 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44374 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44375 Require >= 2.
44376 (FLT_ROUNDS): Expect as macro, not constant.
44377 (FLT_MANT_DIG): Use macro-int-constant.
44378 (DBL_MANT_DIG): Likewise.
44379 (LDBL_MANT_DIG): Likewise.
44380 (FLT_DIG): Likewise.
44381 (DBL_DIG): Likewise.
44382 (LDBL_DIG): Likewise.
44383 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44384 (DBL_MIN_EXP): Likewise.
44385 (LDBL_MIN_EXP): Likewise.
44386 (FLT_MAX_EXP): Use macro-int-constant.
44387 (DBL_MAX_EXP): Likewise.
44388 (LDBL_MAX_EXP): Likewise.
44389 (FLT_MAX_10_EXP): Likewise.
44390 (DBL_MAX_10_EXP): Likewise.
44391 (LDBL_MAX_10_EXP): Likewise.
44392 (FLT_MAX): Use macro-constant.
44393 (DBL_MAX): Likewise.
44394 (LDBL_MAX): Likewise.
44395 (FLT_EPSILON): Use macro-constant. Give upper bound.
44396 (DBL_EPSILON): Likewise.
44397 (LDBL_EPSILON): Likewise.
44398 (FLT_MIN): Likewise.
44399 (DBL_MIN): Likewise.
44400 (LDBL_MIN): Likewise.
44401 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44402 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44403 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44404 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44405 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44406 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44407 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44408 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44409 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44410 [ISO11] (FLT_TRUE_MIN): Likewise.
44411 [ISO11] (LDBL_TRUE_MIN): Likewise.
44412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44413 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44414 (SCHAR_MIN): Use macro-int-constant. Specify type.
44415 (SCHAR_MAX): Likewise.
44416 (UCHAR_MAX): Likewise.
44417 (CHAR_MIN): Likewise.
44418 (CHAR_MAX): Likewise.
44419 (MB_LEN_MAX): Use macro-int-constant.
44420 (SHRT_MIN): Use macro-int-constant. Specify type.
44421 (SHRT_MAX): Likewise.
44422 (USHRT_MAX): Likewise.
44423 (INT_MAX): Likewise.
44424 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44425 bound negative.
44426 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44427 bound with "U".
44428 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44429 bound with "L".
44430 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44431 bound negative. Suffix upper bound with "L".
44432 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44433 bound with "UL".
44434 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44435 Specify type.
44436 [C99-based standards] (LLONG_MAX): Likewise.
44437 [C99-based standards] (ULLONG_MAX): Likewise.
44438 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44439 == 0.
44440 [ISO11] (max_align_t): Require type.
44441 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44442
c9140a62
JM
44443 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44444 from $CFLAGS, without defining away __attribute__ calls.
44445 (checknamespace): Use $CFLAGS_namespace.
44446
9af0bf29
JM
44447 * conform/conformtest.pl (@keywords): Only include C99 keywords
44448 for standards based on C99 or C11.
44449
343222a2
JM
44450 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44451 Disable tests.
44452 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44453 UNIX98]: Likewise.
44454
661f8cf0
JM
44455 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44456 usability of symbols in #if.
44457
ee74b9cb
JM
44458 * conform/conformtest.pl: If macro or constant types start
44459 "promoted:", expect the symbol to be of the following type
44460 promoted by the integer promotions.
62fde54f 44461
aafc49b3
JM
44462 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44463 in one place. Also handle "macro-constant".
44464
fefdf574
JM
44465 * conform/conformtest.pl: Only accept expected macro values with
44466 "==". Parse all "macro" lines in one place.
44467 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44468
f2d922fe
JM
44469 * conform/conformtest.pl: Handle braced types on "constant" lines
44470 instead of handling "typed-constant".
44471 * conform/data/signal.h-data: Use "constant" instead of
44472 "typed-constant".
44473
d22956c9
JM
44474 * conform/conformtest.pl: Handle "optional-" at start of lines in
44475 one place rather than duplicating several cases. Handle each
44476 format of "macro" line with initial "optional-".
44477
028e2e38
JM
44478 * conform/conformtest.pl: Only accept expected constant or
44479 optional-constant values with "==". Parse all "constant" lines in
44480 one place. Parse all "optional-constant" lines in one place.
44481 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44482 * conform/data/fmtmsg.h-data: Likewise.
44483 * conform/data/netinet/in.h-data: Likewise.
44484 * conform/data/tar.h-data: Likewise.
44485 * conform/data/limits.h-data: Use "==" form on "constant" and
44486 "optional-constant" lines.
44487
1b8f2850
JM
44488 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44489 Use -std=c99 for XOPEN2K.
44490 (@knownproblems): Remove.
44491 (newtoken): Don't check %isknown.
44492
a05a144b
JM
44493 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44494 Do not expect macro.
44495 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44496 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44497 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44498 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44499 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44500 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44501 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44502 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44503 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44504 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44505 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44506 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44507 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44508 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44509 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44510 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44511 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44512 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44513 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44514 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44515 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44516 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44519 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44520 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44521 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44522 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44523 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44524 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44525 [XPG3] (acosh): Likewise.
44526 [XPG3] (asinh): Likewise.
44527 [XPG3] (atanh): Likewise.
44528 [XPG3] (cbrt): Likewise.
44529 [XPG3] (expm1): Likewise.
44530 [XPG3] (ilogb): Likewise.
44531 [XPG3] (log1p): Likewise.
44532 [XPG3] (logb): Likewise.
44533 [XPG3] (nextafter): Likewise.
44534 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44535 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44536 [XPG3] (remainder): Likewise.
44537 [XPG3] (rint): Likewise.
44538 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44539 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44540 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44541 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44542 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44543 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44544 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44545 [UNIX98 || XOPEN2K] (scalb): Expect.
44546 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44547 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44548 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44549 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44550 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44551 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44552 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44553 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44554 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44555 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44556 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44557 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44558 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44559 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44560 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44561 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44562 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44563 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44564 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44565 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44566 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44567 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44568 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44569 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44570 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44571 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44572 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44573 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44574 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44575 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44576 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44577 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44578 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44579 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44580 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44581 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44582 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44583 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44584 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44585 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44586 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44587 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44588 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44590 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44591 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44592 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44593 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44594 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44595 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44596 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44597 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44598 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44599 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44600 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44601 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44602 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44603 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44604 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44605 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44606 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44607 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44608 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44609 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44610 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44611 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44612 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44613 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44614 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44615 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44616 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44617 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44618 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44621 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44630 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44633 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44634 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44647 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44648 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44649 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44650 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44651 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44652 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44653 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44654 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44655 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44656 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44657 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44658 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44659 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44662 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44663 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44683
73c5ebe3
JM
44684 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44685 _XOPEN_SOURCE_EXTENDED for XPG4.
44686
39c33b6c
JM
44687 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44688
62fde54f
JM
44689 * Makeconfig (localtime): Remove variable.
44690 (inst_localtime-file): Likewise.
44691
0741d64c
AS
446922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44693
44694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44695 Update.
44696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44697 Update.
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44699 Update.
44700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44701 Update.
44702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44703 Update.
44704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44705 Update.
44706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44707 Update.
44708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44709 Update.
44710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44711 Update.
44712
7cb029ee
JM
447132012-05-01 Joseph Myers <joseph@codesourcery.com>
44714
44715 [BZ #2550]
44716 [BZ #2570]
44717 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44718 comparisons to determine direction to adjust input.
44719 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44720 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44722 Likewise.
44723 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44724 Likewise.
44725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44726 Likewise.
44727 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44728 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44729 Likewise.
44730 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44731 Likewise.
44732 * math/libm-test.inc (nexttoward_test): Add more tests.
44733
412bd966
AS
447342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44735
44736 [BZ #14040]
44737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44738 in version GLIBC_2.1, not GLIBC_2.0.
44739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44740 Likewise.
44741
9568c0c2
JM
447422012-04-30 Joseph Myers <joseph@codesourcery.com>
44743
adfbc8ac
JM
44744 [BZ #13942]
44745 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44746 (1 - x) * (1 + x).
44747 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44748 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44749 * math/libm-test.inc (acos_test): Add more tests.
44750 (asin_test): Likewise.
44751 * sysdeps/i386/fpu/libm-test-ulps: Update.
44752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44753
5ba3cc69
JM
44754 [BZ #14034]
44755 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44756 of square root.
44757 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44758 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44759 * math/libm-test.inc (acos_test_tonearest): New function.
44760 (acos_test_towardzero): Likewise.
44761 (acos_test_downward): Likewise.
44762 (acos_test_upward): Likewise.
44763 (asin_test_tonearest): Likewise.
44764 (asin_test_towardzero): Likewise.
44765 (asin_test_downward): Likewise.
44766 (asin_test_upward): Likewise.
44767 (main): Call the new functions.
44768 * sysdeps/i386/fpu/libm-test-ulps: Update.
44769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44770
9568c0c2
JM
44771 [BZ #13884]
44772 [BZ #13924]
44773 * math/e_exp10.c: Include <float.h>.
44774 (__ieee754_exp10): Handle underflow here rather than multiplying
44775 large negative argument by M_LN10.
44776 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44777 of __ieee754_expf.
44778 * math/e_exp10l.c: Include <float.h>.
44779 (__ieee754_exp10l): Handle underflow here rather than multiplying
44780 large negative argument by M_LN10l.
44781 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44782 spurious overflow exception on underflow.
44783
5ac3ea17
MP
447842012-04-29 Marek Polacek <polacek@redhat.com>
44785
44786 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44787 (__fortify_function): New macro.
44788 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44789 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44790 __extern_always_inline.
44791 * libio/bits/stdio2.h: Likewise.
44792 * libio/bits/stdio.h: Likewise.
44793 * string/string.h: Likewise.
44794 * string/bits/string3.h: Likewise.
44795 * include/stdio.h: Likewise.
44796 * stdlib/bits/stdlib.h: Likewise.
44797 * stdlib/stdlib.h: Likewise.
44798 * rt/bits/mqueue2.h: Likewise.
44799 * rt/mqueue.h: Likewise.
44800 * posix/bits/unistd.h: Likewise.
44801 * posix/unistd.h: Likewise.
44802 * io/bits/poll2.h: Likewise.
44803 * io/bits/fcntl2.h: Likewise.
44804 * io/fcntl.h: Likewise.
44805 * io/sys/poll.h: Likewise.
44806 * misc/bits/syslog.h: Likewise.
44807 * misc/bits/syslog-ldbl.h: Likewise.
44808 * misc/sys/syslog.h: Likewise.
44809 * socket/bits/socket2.h: Likewise.
44810 * socket/sys/socket.h: Likewise.
44811 * debug/tst-chk1.c: Likewise.
44812 * wcsmbs/bits/wchar2.h: Likewise.
44813 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44814 * wcsmbs/wchar.h: Likewise.
44815
ecf0ebfb
AJ
448162012-04-29 Andreas Jaeger <aj@suse.de>
44817
44818 * Makerules (tests): Remove enable-check-abi protection.
44819 (check-abi-warn): Remove.
44820 (check-abi-%): Remove check-abi-warn usage.
44821
44822 * configure.in: Remove check-abi configure option.
44823 * configure: Regenerated.
44824 * config.make.in (enable-check-abi): Remove.
44825
6d5c57fa
AS
448262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44827
24c5d07e 44828 [BZ #14033]
ded5180a
AS
44829 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44830 double functions to double *_finite functions.
44831
7e0d315d
AS
44832 [BZ #13941]
44833 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44834 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44835 LDBL_MIN_EXP.
44836 * stdio-common/Makefile (tests): Add tst-sprintf3.
44837 * stdio-common/tst-sprintf3.c: New file.
44838
6d5c57fa
AS
44839 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44840 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44841
0749ff8b
JM
448422012-04-28 Joseph Myers <joseph@codesourcery.com>
44843
44844 * conform/conformtest.pl: Remove duplicate typed-constant
44845 handling.
44846
8dbd5d7b
DM
448472012-04-28 David S. Miller <davem@davemloft.net>
44848
44849 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44850 (check-abi-%): Remove AWK script prerequisite and explicit
44851 abilist directory.
44852 (check-abi): Rewrite to just diff the symlist with the abilist.
44853 (config-tls, config-abi-config): Delete, no longer used.
44854 (update-abi-%): Remove AWK script and explicit abilist directory.
44855 (update-abi): Rewrite to simply compare and conditionally copy the
44856 symlist and the sysdep abilist file. Remove update-abi-config
44857 checks.
44858 * abilist/ld.abilist: Remove.
44859 * abilist/libBrokenLocale.abilist: Remove.
44860 * abilist/libanl.abilist: Remove.
44861 * abilist/libcrypt.abilist: Remove.
44862 * abilist/libdl.abilist: Remove.
44863 * abilist/librt.abilist: Remove.
44864 * abilist/libthread_db.abilist: Remove.
44865 * abilist/libutil.abilist: Remove.
44866 * scripts/extract-abilist.awk: Remove.
44867 * scripts/merge-abilist.awk: Remove.
44868 * sysdeps/generic/libcidn.abilist: New file.
44869 * sysdeps/generic/libnss_compat.abilist: New file.
44870 * sysdeps/generic/libnss_db.abilist: New file.
44871 * sysdeps/generic/libnss_dns.abilist: New file.
44872 * sysdeps/generic/libnss_files.abilist: New file.
44873 * sysdeps/generic/libnss_hesiod.abilist: New file.
44874 * sysdeps/generic/libnss_nis.abilist: New file.
44875 * sysdeps/generic/libnss_nisplus.abilist: New file.
44876 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44877 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44878 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44879 file.
44880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44881 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44882 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44883 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44884 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44885 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44886 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44887 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44888 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44889 file.
44890 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44891 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44892 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44893 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44894 file.
44895 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44896 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44897 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44898 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44899 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44900 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44901 file.
44902 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44903 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44904 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44905 file.
44906 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44908 New file.
44909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44910 New file.
44911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44912 New file.
44913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44914 New file.
44915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44916 New file.
44917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44918 New file.
44919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44920 New file.
44921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44922 New file.
44923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44924 New file.
44925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44926 New file.
44927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44928 New file.
44929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44930 New file.
44931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44932 New file.
44933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44934 file.
44935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44936 New file.
44937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44938 New file.
44939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44940 file.
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44942 New file.
44943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44944 New file.
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44946 file.
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44948 New file.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44950 New file.
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44952 New file.
44953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44954 New file.
44955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44956 New file.
44957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44958 New file.
44959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44961 file.
44962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44963 New file.
44964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44965 file.
44966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44967 file.
44968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44969 file.
44970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44971 file.
44972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44973 file.
44974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44975 New file.
44976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44977 file.
44978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44979 file.
44980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44981 New file.
44982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44983 file.
44984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44986 file.
44987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44988 New file.
44989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44990 file.
44991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44992 file.
44993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44994 file.
44995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44996 file.
44997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44998 file.
44999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45000 New file.
45001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45002 file.
45003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45004 file.
45005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45006 New file.
45007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45008 file.
45009 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45010 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45011 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45012 file.
45013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45014 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45015 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45016 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45017 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45018 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45019 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45020 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45021 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45022 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45025 file.
45026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45027 New file.
45028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45029 file.
45030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45031 file.
45032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45033 file.
45034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45035 file.
45036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45037 file.
45038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45039 New file.
45040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45041 New file.
45042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45043 file.
45044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45045 New file.
45046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45047 file.
45048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45050 file.
45051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45052 New file.
45053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45054 file.
45055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45056 file.
45057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45058 file.
45059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45060 file.
45061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45062 file.
45063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45064 New file.
45065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45066 New file.
45067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45068 file.
45069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45070 New file.
45071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45072 file.
45073
41d73a1b
JM
450742012-04-28 Joseph Myers <joseph@codesourcery.com>
45075
45076 * conform/conformtest.pl: Fix typo in handling typed-constant from
45077 allow-header.
45078
28aeeda4
JM
450792012-04-27 Joseph Myers <joseph@codesourcery.com>
45080
adae8f5e
JM
45081 * README: Cut down references to pre-2.6 Linux kernels and
45082 Linuxthreads. Update lists of configurations in libc and ports
45083 and sort alphabetically. Say "or newer" with Linux kernel version
45084 requirements.
45085
28aeeda4
JM
45086 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45087
a462cb63
RA
450882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45089
45090 [BZ #887]
45091 * math/libm-test.inc (logb_test_downward): New test to expose
45092 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45093 rounding mode.
45094
6ad3493e
JM
450952012-04-27 Joseph Myers <joseph@codesourcery.com>
45096
45097 [BZ #14027]
45098 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45099 to be done.
45100 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45101 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45102
2ce4f015
JM
451032012-04-26 Joseph Myers <joseph@codesourcery.com>
45104
5aeb141a
JM
45105 * sysdeps/unix/i386/brk.S: Remove file.
45106 * sysdeps/unix/i386/dl-brk.S: Likewise.
45107 * sysdeps/unix/i386/pipe.S: Likewise.
45108 * sysdeps/unix/i386/sigreturn.S: Likewise.
45109 * sysdeps/unix/i386/syscall.S: Likewise.
45110 * sysdeps/unix/i386/vfork.S: Likewise.
45111 * sysdeps/unix/i386/wait.S: Likewise.
45112
7143acae
JM
45113 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45114 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45115
2ce4f015
JM
45116 * configure.in (arm*-none*): Do not allow without
45117 --enable-hacker-mode.
45118 (netbsd*): Remove case setting base_os.
45119 (386bsd*): Likewise.
45120 (freebsd*): Likewise.
45121 (bsdi*): Likewise.
45122 (osf*): Likewise.
45123 (sunos*): Likewise.
45124 (ultrix*): Likewise.
45125 (newsos*): Likewise.
45126 (dynix*): Likewise.
45127 (*bsd*): Likewise.
45128 (sysv*): Likewise.
45129 (isc*): Likewise.
45130 (esix*): Likewise.
45131 (sco*): Likewise.
45132 (minix*): Likewise.
45133 (irix4*): Likewise.
45134 (irix6*): Likewise.
45135 (solaris[2-9]*): Likewise.
45136 (none): Likewise.
45137 * configure: Regenerated.
45138
0ac229c8
AZ
451392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45140
45141 [BZ #11521]
45142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45143 overflow or cancellation in calculating denominator.
45144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45146 down expression to avoid unexpected rounding in newer GCCs.
45147 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45148
33f244f4
DM
451492012-04-26 David S. Miller <davem@davemloft.net>
45150
45151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45152 long-double compat symbols.
45153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45166
cfa1f3e8
DM
451672012-04-25 David S. Miller <davem@davemloft.net>
45168
45169 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45170 HWCAP_* values only after the memory barriers have been defined.
45171 (atomic_full_barrier): Define.
45172 (atomic_read_barrier): Define.
45173 (atomic_write_barrier): Define.
45174
6e236b92
SP
451752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45176
45177 * shlib-versions: Add libgcc_s version information.
45178 * sysdeps/generic/libgcc_s.h: Remove.
45179 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45180 libgcc_s.h.
45181 * sysdeps/gnu/unwind-resume.c: Likewise.
45182 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45183
aab39a09
DM
451842012-04-25 David S. Miller <davem@davemloft.net>
45185
45186 * sysdeps/unix/sparc/brk.S: Delete.
45187 * sysdeps/unix/sparc/dl-brk.S: Delete.
45188 * sysdeps/unix/sparc/pipe.S: Delete.
45189 * sysdeps/unix/sparc/sysdep.S: Delete.
45190 * sysdeps/unix/sparc/sysdep.h: Delete.
45191 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45192 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45193 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45194 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45195 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45196 (JUMPTARGET): Remove.
45197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45198 sysdeps/unix/sparc/sysdep.h
45199 (ENTRY, END): Remove.
45200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45201
a3cc4f48
JM
452022012-04-25 Joseph Myers <joseph@codesourcery.com>
45203
2ed8cda2
JM
45204 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45205 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45206 -DIS_IN_build.
45207
35d76d59
JM
45208 * timezone/README: Update upstream location and email address for
45209 tzcode and tzdata.
45210 * timezone/zdump.c: Update from tzcode 2012b.
45211 * timezone/zic.c: Likewise.
45212
a3cc4f48
JM
45213 * configure.in (libc_cv_as_needed): Remove test.
45214 * configure: Regenerated.
45215 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45216 conditional definition.
45217 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45218 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45219 * config.make.in (have-as-needed): Remove variable.
45220
ceab42c3
SP
452212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45222 Paul Pluzhnikov <ppluzhnikov@google.com>
45223
45224 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45225 strings correctly.
45226
3ce2865f
CLT
452272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45228
45229 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45230 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45231 * sysdeps/sh/strlen.S: Likewise.
45232
f37e0d68
JM
452332012-04-24 Joseph Myers <joseph@codesourcery.com>
45234
ae186e9a
JM
45235 * sysdeps/unix/fork.S: Remove file.
45236 * sysdeps/unix/i386/fork.S: Likewise.
45237 * sysdeps/unix/sparc/fork.S: Likewise.
45238
b96914af
JM
45239 * sysdeps/unix/system.c: Remove file.
45240 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45241
f37e0d68
JM
45242 * sysdeps/unix/getegid.S: Remove file.
45243 * sysdeps/unix/geteuid.S: Likewise.
45244
87ef29ca
RM
452452012-04-24 Roland McGrath <roland@hack.frob.com>
45246
83bcd236
RM
45247 * scripts/check-localplt.awk: New file.
45248 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45249 of diff.
45250 * scripts/data/localplt-generic.data: Add a comment.
45251
87ef29ca
RM
45252 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45253 NODE when __dir_mkfile failed.
45254 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45255 Reported by Ludovic Courtès <ludo@gnu.org>.
45256
e5a6e567
AJ
452572012-04-24 Andreas Jaeger <aj@suse.de>
45258
45259 * Makerules (common-clean): Also remove gen-as-const-headers
45260 files.
45261
c1820385
JM
452622012-04-24 Joseph Myers <joseph@codesourcery.com>
45263
45264 * Makerules (native-compile): Do not change working directory for
45265 build. Use $(OUTPUT_OPTION) in command.
45266 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45267
94e02fc4
AZ
452682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45269
45270 [BZ #13886]
45271 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45272 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45273 * math/libm-test.inc (floor_test): Add more tests.
45274 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45275
3a533ca3
JM
452762012-04-24 Joseph Myers <joseph@codesourcery.com>
45277
940ab4b3
JM
45278 * sysdeps/unix/getdents.c: Remove file.
45279 * sysdeps/unix/sysv/getdents.c: Likewise.
45280 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45281
90e037bd
JM
45282 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45283 sysdeps/unix/mman/syscalls.list.
45284 (mmap): Likewise.
45285 (mprotect): Likewise.
45286 (msync): Likewise.
45287 (munmap): Likewise.
45288 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45289 * sysdeps/unix/mman/syscalls.list: Remove.
45290 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45291
3a533ca3
JM
45292 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45293 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45294 * configure: Regenerated.
45295 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45296 $(libgcc_s_suffix).
45297 * config.make.in (libgcc_s_suffix): Remove variable.
45298
1ad743de
JM
452992012-04-23 Joseph Myers <joseph@codesourcery.com>
45300
4ad451e2
JM
45301 * sysdeps/unix/sysv/gethostname.c: Move to ...
45302 * sysdeps/posix/gethostname.c: ... here.
45303
5e37ce39
JM
45304 * sysdeps/unix/execve.S: Remove file.
45305
1ad743de
JM
45306 * sysdeps/unix/_exit.S: Remove file.
45307
4e681b5b
AJ
453082012-04-23 Andreas Jaeger <aj@suse.de>
45309
45310 [BZ #13739]
45311 * manual/Makefile: Remove make dist support, there's no
45312 need for a stand-alone documentation tar ball.
45313 (TEXI2DVI): Define always, it's not in Makeconfig.
45314 (dist): Removed.
45315 (tar-it): Removed.
45316 (edition): Removed.
45317 (glibc-doc-$(edition).tar): Removed
45318 (%.Z): Removed.
45319 (%.gz): Removed.
45320 (%.uu): Removed.
45321 (ETAGS): Remove, it's in Makeconfig.
45322 (move-if-change): Remove, it's in Makeconfig.
45323
38686a03 453242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45325
45326 [BZ #13970]
45327 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45328 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45329 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45330 (strtod_l, strtof_l, strtold_l): Remove __wur.
45331 It is not necessarily an error to ignore strtol's return value.
45332 One can reliably look at the stored endptr to decide whether
45333 the number had valid syntax.
45334
7c0616fa
AJ
453352012-04-21 Andreas Jaeger <aj@suse.de>
45336
803cb6b7 45337 [BZ #13739]
7c0616fa
AJ
45338 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45339
b0fe253f
JM
453402012-04-21 Joseph Myers <joseph@codesourcery.com>
45341
45342 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45343 * sysdeps/unix/sysv/Versions: Remove file.
45344
8280f22d
MT
453452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45346
45347 [BZ #13927]
45348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45349
75ce411f 453502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45351
45352 [BZ #7064]
45353 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45354 version from __vm86.
45355
097d59fa
JM
453562012-04-20 Joseph Myers <joseph@codesourcery.com>
45357
a90f3bcb
JM
45358 * sysdeps/unix/common/lxstat.c: Remove file.
45359 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45360
edc7ea78
JM
45361 * sysdeps/unix/sysv/Makefile: Remove file.
45362
cb78c221
JM
45363 * sysdeps/unix/sysv/direct.h: Remove file.
45364
efa6a45f
JM
45365 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45366 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45367 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45368 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45369 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45370 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45371 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45372
9c9f2d0c
JM
45373 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45374
4541c83b
JM
45375 * sysdeps/unix/xmknod.c: Remove file.
45376 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45377
f5d153a0
JM
45378 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45379
aa746595
JM
45380 * sysdeps/unix/sysv/i386/time.S: Remove file.
45381
cce5905e
JM
45382 * sysdeps/unix/fxstat.c: Remove file.
45383 * sysdeps/unix/xstat.c: Likewise.
45384 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45385
37fa3841
JM
45386 * sysdeps/unix/sysv/sigaction.c: Remove file.
45387
ff1962a3
JM
45388 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45389 (sysdep_headers): Remove variable.
45390 [termio.h not in sysdep_headers] (generated): Likewise.
45391 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45392 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45393 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45394 * sysdeps/unix/sysv/tcflow.c: Likewise.
45395 * sysdeps/unix/sysv/tcflush.c: Likewise.
45396 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45397 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45398 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45399 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45400 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45401
e7740d31
JM
45402 * sysdeps/unix/siglist.c: Remove file.
45403
ee06f18b
JM
45404 * sysdeps/unix/getppid.S: Remove file.
45405
097d59fa
JM
45406 * sysdeps/unix/mkdir.c: Remove file.
45407 * sysdeps/unix/rmdir.c: Likewise.
45408
ff3d51ec
AS
454092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45410
45411 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45412 ERR_MAX value.
45413 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45414 errlist-compat value.
45415
50f81fd7
DM
454162012-04-18 David S. Miller <davem@davemloft.net>
45417
45418 * sysdeps/generic/memcopy.h (reg_char): Delete.
45419 * debug/strcat_chk.c: Use char, not reg_char.
45420 * debug/strcpy_chk.c: Likewise.
45421 * debug/strncat_chk.c: Likewise.
45422 * debug/strncpy_chk.c: Likewise.
45423 * string/memchr.c: Likewise.
45424 * string/memrchr.c: Likewise.
45425 * string/rawmemchr.c: Likewise.
45426 * string/strcat.c: Likewise.
45427 * string/strchr.c: Likewise.
45428 * string/strchrnul.c: Likewise.
45429 * string/strcmp.c: Likewise.
45430 * string/strcpy.c: Likewise.
45431 * string/strncat.c: Likewise.
45432 * string/strncmp.c: Likewise.
45433 * string/strncpy.c: Likewise.
45434
8ff41c46
WS
454352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45436
45437 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45438 __builtin_memcopy is called when src and dest ranges are known to not
45439 overlap.
45440
6b652f46
WS
454412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45442
45443 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45444 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45445 fwd_align_merge macro call.
45446 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45447 bwd_align_merge macro call.
45448 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45449
b282631e
WS
454502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45451
45452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45453 bwd_align_merge macros.
45454 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45455 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45456 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45457
95aa737c
DM
454582012-04-18 David S. Miller <davem@davemloft.net>
45459
45460 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45461
7a99a614
AJ
454622012-04-18 Andreas Jaeger <aj@suse.de>
45463
45464 [BZ# 6794]
45465 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45466 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45467 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45468
45469 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45470 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45471 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45472
45473 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45474 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45475 Adjust for changed ldbl-128 files.
45476
45477 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45478 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45479 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45480
e5270c23
DM
454812012-04-17 David S. Miller <davem@davemloft.net>
45482
45483 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45484
fb5e92c9
AS
454852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45486
45487 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45488 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45489 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45490 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45491 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45492 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45493
76da7265
AZ
454942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45495
45496 [BZ #6794]
45497 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45498 * math/libm-test.inc: Add ilogb errno and exception tests.
45499 * math/w_ilogb.c: New file: ilogb wrapper.
45500 * math/w_ilogbf.c: New file: ilogbf wrapper.
45501 * math/w_ilogbl.c: New file: ilogbl wrapper.
45502 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45503 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45504 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45505 exception being thrown with 0.0 as argument.
45506 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45507 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45508 exception being thrown with 0.0 as argument.
45509 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45510 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45511 exception being thrown with 0.0 as argument.
45512 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45513 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45514 exception being thrown with 0.0 as argument.
45515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45516 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45517 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45518 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45520 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45521 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45522 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45523 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45524
0396e69d
PB
455252012-04-17 Petr Baudis <pasky@ucw.cz>
45526
45527 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45528 with altivec.
45529
750b5926
MP
455302012-04-16 Marek Polacek <polacek@redhat.com>
45531
45532 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45533
751728a1
MP
455342012-04-16 Marek Polacek <polacek@redhat.com>
45535
45536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45537 operands of fdivp instruction.
45538
34a27407
L
455392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45540
45541 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45542 * elf/tst-auditmod3b.c: Likewise.
45543 * elf/tst-auditmod4b.c: Likewise.
45544 * elf/tst-auditmod5b.c: Likewise.
45545 * elf/tst-auditmod6b.c: Likewise.
45546 * elf/tst-auditmod6c.c: Likewise.
45547 * elf/tst-auditmod7b.c: Likewise.
45548 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45549 * sysdeps/x86_64/preconfigure.in: Likewise.
45550 * sysdeps/x86_64/preconfigure: Regenerated.
45551
7e73e17d
L
455522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45553
45554 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45555 __ILP32__.
45556
c7a6ab72
AB
455572012-04-13 Antoine Balestrat <merkil33@gmail.com>
45558
45559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45560 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45561
a9e8e0e0
CL
455622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45563
45564 [BZ #13973]
45565 * locale/iso-639.def: Fix gl language name. Spotted by
45566 Yaron Shahrabani.
45567
ec98af7d
RM
455682012-04-12 Roland McGrath <roland@hack.frob.com>
45569
45570 [BZ #2074]
45571 * libio/libio.h (__io_write_fn): Update comment.
45572
247c3ede
PB
455732012-04-12 Petr Baudis <pasky@ucw.cz>
45574
45575 [BZ #2074]
45576 * stdio.texi (Hook Functions): The user provided writer function
45577 is not allowed to return -1.
45578
55939d6d
DM
455792012-04-11 David S. Miller <davem@davemloft.net>
45580
45581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45582
90020f5a
MF
455832012-04-11 Mike Frysinger <vapier@gentoo.org>
45584
45585 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45586 Add a leading slash to rtkaio.
45587
288f9098
JM
455882012-04-11 Jim Meyering <meyering@redhat.com>
45589
90020f5a
MF
45590 [BZ #11959]
45591 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45592 It is not necessarily an error to ignore fwrite's return
45593 value. One can reliably use ferror to test for errors after
45594 the fact.
288f9098 45595
4be2b570
L
455962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45597
45598 * bits/types.h (__snseconds_t): New type.
45599 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45600
45601 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45603 (__SNSECONDS_T_TYPE): Likewise.
45604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45605 (__SNSECONDS_T_TYPE): Likewise.
45606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45607 (__SNSECONDS_T_TYPE): Likewise.
45608
288f9098 456092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45610
45611 [BZ #2636]
45612 * manual/time.texi (Processor Time): Return type of times is
45613 elapsed real time since an arbitrary point in the past.
45614 (CPU Time): Move CLK_TCK from here...
45615 (Processor Time): ...to here. Correct description.
45616 * manual/conf.texi (Constants for Sysconf): Correct description of
45617 _SC_CLK_TCK.
45618
d7dd4413
DM
456192012-04-10 David S. Miller <davem@davemloft.net>
45620
45621 [BZ #13967]
45622 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45623 where the is a gap between DT_REL(A) and DT_JMPREL.
45624
b46068fc
L
456252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45626
45627 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45628 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45629 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45630
73d65cc3
SP
456312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45632
45633 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45634 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45635 (dl_main): Handle --inhibit-cache.
45636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45637 _dl_inhibit_cache.
45638 * elf/dl-load.c (_dl_map_object): Use it.
45639 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45640
bcc8d661
JM
456412012-04-09 Joseph Myers <joseph@codesourcery.com>
45642
8f9a2fae
JM
45643 [BZ #13872]
45644 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45645 (__ieee754_powl): Saturate large exponents rather than testing for
45646 overflow of y*log2(x).
45647 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45648 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45649 exceptions.
45650
bcc8d661
JM
45651 [BZ #11521]
45652 * math/s_ctan.c: Include <float.h>.
45653 (__ctan): Avoid internal overflow or cancellation in calculating
45654 denominator.
45655 * math/s_ctanf.c: Likewise.
45656 * math/s_ctanl.c: Likewise.
45657 * math/s_ctanh.c: Likewise.
45658 * math/s_ctanhf.c: Likewise.
45659 * math/s_ctanhl.c: Likewise.
45660 * math/libm-test.inc (ctan_test): Add more tests.
45661 (ctanh_test): Likewise.
45662 * sysdeps/i386/fpu/libm-test-ulps: Update.
45663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45664
823fbbb4
AJ
456652012-04-09 Andreas Jaeger <aj@suse.de>
45666
03879793
AJ
45667 [BZ #6894]
45668 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45669 is an optional BSD extension.
45670
823fbbb4
AJ
45671 [BZ #10254]
45672 * manual/stdio.texi (Opening Streams): Document additional fopen
45673 parameters.
45674
8de131cb
RM
456752012-04-09 Roland McGrath <roland@hack.frob.com>
45676
45677 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45678 %eax without telling the compiler.
45679
c0ed9d7d
CD
456802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45681
45682 [BZ # 13963]
45683 * manual/install.texi: Use sourceware.org.
45684
c483f6b4
JM
456852012-04-09 Joseph Myers <joseph@codesourcery.com>
45686
d7dd9453
JM
45687 [BZ #13873]
45688 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45689 (__ieee754_pow): Generate overflow and underflow using huge*huge
45690 and tiny*tiny rather than just returning constant infinity or zero
45691 for large exponents.
45692 * math/libm-test.inc (pow_test): Require overflow exceptions for
45693 applicable cases of large exponents.
45694
c483f6b4
JM
45695 [BZ #706]
45696 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45697 (__ieee754_pow): Use iterative multiplication algorithm only for
45698 integer exponents with absolute value below 1024. Check for odd
45699 integer exponents when using algorithm for real exponents.
45700 * math/libm-test.inc (pow_test): Add more tests.
45701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45702
d2de7579
JM
457032012-04-08 Joseph Myers <joseph@codesourcery.com>
45704
45705 [BZ #13705]
45706 * math/libm-test.inc (exp_test): Do not allow overflow exception
45707 on underflow test.
45708
f77f1232
AJ
457092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45710
45711 [BZ #13705]
45712 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45713 instead of __kernel_standard_f.
45714
3884932b
MF
457152012-04-08 Mike Frysinger <vapier@gentoo.org>
45716
45717 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45718 * sysdeps/x86_64/memset_chk.S: Likewise.
45719
54472e9c
AJ
457202012-04-08 Andreas Jaeger <aj@suse.de>
45721
6ab0fbfc
AJ
45722 [BZ #10153]
45723 * manual/startup.texi (Environment Access): Describe return value
45724 for putenv and setenv.
45725
61efba8c
AJ
45726 [BZ #6895]
45727 * manual/filesys.texi (Directory Entries): Add description for
45728 DT_LNK.
45729
95c3f29a
AJ
45730 [BZ #6890]
45731 * manual/filesys.texi (Directory Entries): Clarify that it's file
45732 system not operating system in the description of DT_UNKNOWN.
45733
54472e9c
AJ
45734 [BZ #6578]
45735 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45736
624254b1
SC
457372012-04-08 Stephen Compall <s11@member.fsf.org>
45738
45739 [BZ #6649]
45740 * manual/llio.texi (Opening and Closing Files): Add cross
45741 reference to explain mode argument.
45742
1e4920e0
MF
457432012-04-07 Mike Frysinger <vapier@gentoo.org>
45744
45745 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45746 * sysdeps/x86_64/memset_chk.S: Likewise.
45747
5ed848f3
DM
457482012-04-07 David S. Miller <davem@davemloft.net>
45749
45750 * elf/elf.h (R_SPARC_WDISP10): Define.
45751 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45752 R_SPARC_SIZE32.
45753 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45754 R_SPARC_SIZE64 and R_SPARC_H34.
45755
96154cd8
CD
457562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45757
45758 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45759 conditions and remove no longer applicable assertion.
45760
9904dc47
L
457612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45762
45763 * bits/byteswap.h: Include <features.h>.
45764 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45765 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45766
f8887d0a
L
457672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45768
45769 * bits/byteswap.h (__bswap_16): Removed.
45770 Include <bits/byteswap-16.h> to get __bswap_16.
45771 * sysdeps/i386/bits/byteswap.h: Likewise.
45772 * sysdeps/s390/bits/byteswap.h: Likewise.
45773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45774 * bits/byteswap-16.h: New file.
45775 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45776 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45777 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45778 * string/Makefile (headers): Add bits/byteswap-16.h.
45779
62470f60
PP
457802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45781
45782 [BZ #13895]
45783 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45784 extra indirection.
45785 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45786 * nss/tst-nss-static.c: New.
45787
4dad7bab
RM
457882012-04-06 Robert Millan <rmh@gnu.org>
45789
45790 [BZ #6486]
45791 * manual/llio.texi (File Position Primitive): lseek
45792 refers to WHENCE when it really means OFFSET.
45793
e9142a17
AJ
457942012-04-06 Andreas Jaeger <aj@suse.de>
45795
2c040eff
AJ
45796 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45797 strncmp declarations.
45798
e9142a17
AJ
45799 * abilist/libc.abilist: Add __poll and __ppoll.
45800
ff9f1c5f
DM
458012012-04-05 David S. Miller <davem@davemloft.net>
45802
dcd2ae90
DM
45803 * scripts/check-local-headers.sh: Accept a host triplet in the
45804 path matched by the exclude regexp.
45805
993eb054
DM
45806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45807 definition.
45808 * sysdeps/powerpc/powerpc32/dl-machine.h
45809 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45810 * sysdeps/s390/s390-32/dl-machine.h
45811 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45812 * sysdeps/sparc/sparc32/dl-machine.h
45813 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45814 * sysdeps/sparc/sparc64/dl-machine.h
45815 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45816
ff9f1c5f
DM
45817 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45818 lazy binding.
48e2e132 45819 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45820 undefined symbol errors.
45821
48e2e132 45822 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45823 DT_NEEDED entries.
45824
e80d6f94
MM
458252012-04-05 Michael Matz <matz@suse.de>
45826
45827 [BZ #13592]
45828 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45829
349fa79f
AJ
458302012-04-05 Andreas Jaeger <aj@suse.de>
45831
45832 [BZ #13908]
45833 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45834 comment.
45835
f402708f
KK
458362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45837
45838 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45839 which ROUND is no valid rounding mode.
45840
2ecccfc9
KK
458412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45842
45843 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45844 read again.
45845 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45846
8a53f50f
KK
458472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45848
45849 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45850 an exception using FPU order intentionally.
45851
458522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45853
45854 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45855 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45856 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45857 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45858
d653abb7
SJ
458592012-04-05 Simon Josefsson <simon@josefsson.org>
45860
45861 [BZ #12340]
45862 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45863 EINVAL when BUFLEN is too smal.
45864
c3b1bf7d
TS
458652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45866
45867 [BZ #13553]
45868 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45869 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45870
b1aa60f3
AJ
458712012-04-03 Andreas Jaeger <aj@suse.de>
45872
c3b1bf7d 45873 [BZ #13938]
67f60a26
AJ
45874 * manual/setjmp.texi (System V contexts): Fix sentence.
45875
b1aa60f3
AJ
45876 [BZ #13926]
45877 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45878 New macro for this case.
45879 [!__GNUC__] (__bswap_64): New inline function for this case.
45880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45881 * bits/byteswap.h: Likewise.
45882 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45883 ull, guard with __GLIBC_HAVE_LONG_LONG.
45884
45885 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45886 __GLIBC_HAVE_LONG_LONG.
45887
45888 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45889 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45890
39c59c35
TMQMF
458912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45892
45893 [BZ #13691]
45894 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45895 inptr and inend, rather than using last_ch.
45896
135ffda8
DM
458972012-04-02 David S. Miller <davem@davemloft.net>
45898
45899 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45900 * stdio-common/printf-parse.h (read_int): Change return type to
45901 'int', return -1 on INT_MAX overflow.
45902 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45903 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45904 overflows INT_MAX. Check for overflow of in-format-string precision
45905 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45906 SIZE_MAX not INT_MAX for integer overflow test.
45907 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45908 skip the construct in the format string but do not record anything.
45909 * stdio-common/bug22.c: Adjust to test both width/prevision
45910 INT_MAX overflow as well as total length INT_MAX overflow. Check
45911 explicitly for proper errno values.
45912
228c019e
TS
459132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45914
302cadd3
TS
45915 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45916 CHAR_MAX.
45917 * string/test-strcmp.c [! WIDE]: Likewise.
45918 * time/tst-mktime2.c: Likewise for INT_MAX.
45919 * string/test-string.h: #include <sys/param.h> for MIN.
45920
228c019e
TS
45921 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45922 * sysdeps/i386/init-first.c (init): Likewise.
45923 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45924 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45925 * sysdeps/sh/init-first.c (init): Likewise.
45926
cfa633f5
UD
459272012-04-01 Ulrich Drepper <drepper@gmail.com>
45928
45929 * po/ru.po: Update from translation team.
d1635ef8 45930 * po/vi.po: Likewise.
cfa633f5 45931
6cd0a5ea
SP
459322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45933
45934 * resolv/nss_dns/dns-host.c: Merge copyright years.
45935
4b43400f
LD
459362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45937
45938 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45939 Optimize memcpy with prefetch if
45940 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45941 src, dst pointers have unequal 16 byte alignments.
45942
48c41d04
SP
459432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45944
45945 [BZ #13928]
45946 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45947 from a CNAME entry and return the minimum ttl for the query.
45948 (gaih_getanswer_slice): Likewise.
45949
b8dc394d
JL
459502012-03-30 Jeff Law <law@redhat.com>
45951
45952 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45953 due to long keys.
45954 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45955 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45956
2f5a5ed0
JL
45957 * resolv/nss_dns/dns-host.c: Update copyright year.
45958
1d39e359
UD
459592012-03-30 Ulrich Drepper <drepper@gmail.com>
45960
c030f70c 45961 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45962 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45963
1d39e359
UD
45964 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45965 comments for sendmmsg.
45966
459672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45968
45969 [BZ #13691]
45970 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45971 with only 1 character between 0x0041 and 0x01b0.
45972 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45973 * wcsmbs/tst-mbsnrtowcs.c: New file.
45974
20fde227
DM
459752012-03-29 David S. Miller <davem@davemloft.net>
45976
45977 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45978 small copies by hand.
45979
984a4237
JL
459802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45981
45982 [BZ #13761]
57f41c40
AS
45983 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45984 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45985 group memberships.
984a4237 45986
18c9d62b
DM
459872012-03-28 David S. Miller <davem@davemloft.net>
45988
88d85d4f
DM
45989 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45990 that branches into memcpy.
45991 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45994 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45996 bits.
45997 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45998 implementation too.
45999 * sysdeps/sparc/mempcpy.S: New file.
46000
e5aa83e1
DM
46001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46002 the IFUNC routine in the libc case.
46003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46004
88570753
DM
46005 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46006 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46007 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46008 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46009 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46010 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46011 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46012 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46013
249d7567
DM
46014 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46015 loop to 256 bytes instead of 64 bytes and fix test signedness.
46016
18c9d62b
DM
46017 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46018 * sysdeps/sparc/sparc32/Makefile: rather than here...
46019 * sysdeps/sparc/sparc64/Makefile: and here.
46020
05f3d1f6
UD
460212012-03-28 Ulrich Drepper <drepper@gmail.com>
46022
46023 * malloc/mallocbug.c: Avoid warnings about unused variables.
46024
86ae07a8
JL
460252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46026
46027 [BZ #13760]
46028 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46029 in the right place. Discard and retry query if response is
46030 larger than input buffer size.
46031
41bf21a1
JM
460322012-03-28 Joseph Myers <joseph@codesourcery.com>
46033
d6270972
JM
46034 [BZ #369]
46035 [BZ #2678]
46036 [BZ #3866]
46037 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46038 x for large integer exponent.
46039 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46040 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46041 sign of result as needed afterwards.
46042 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46043 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46044 result for underflowing pow the same as for overflow.
46045 (__kernel_standard_l): Handle powl overflow and underflow here
46046 rather than calling __kernel_standard.
46047 * math/libm-test.inc (pow_test): Add more tests.
46048
414fca03 46049 [BZ #3868]
41bf21a1
JM
46050 [BZ #13879]
46051 [BZ #13910]
46052 [BZ #13911]
46053 [BZ #13912]
46054 [BZ #13913]
46055 [BZ #13915]
46056 [BZ #13916]
46057 [BZ #13917]
46058 [BZ #13918]
46059 [BZ #13919]
46060 [BZ #13920]
46061 [BZ #13921]
46062 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46063 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46064 (__kernel_standard_l): New function.
46065 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46066 __kernel_standard.
46067 * math/w_acosl.c (__acosl): Likewise.
46068 * math/w_asinl.c (__asinl): Likewise.
46069 * math/w_atan2l.c (__atan2l): Likewise.
46070 * math/w_atanhl.c (__atanhl): Likewise.
46071 * math/w_coshl.c (__coshl): Likewise.
46072 * math/w_exp10l.c (__exp10l): Likewise.
46073 * math/w_exp2l.c (__exp2l): Likewise.
46074 * math/w_fmodl.c (__fmodl): Likewise.
46075 * math/w_hypotl.c (__hypotl): Likewise.
46076 * math/w_j0l.c (__j0l, __y0l): Likewise.
46077 * math/w_j1l.c (__j1l, __y1l): Likewise.
46078 * math/w_jnl.c (__jnl, __ynl): Likewise.
46079 * math/w_lgammal.c (__lgammal): Likewise.
46080 * math/w_log10l.c (__log10l): Likewise.
46081 * math/w_log2l.c (__log2l): Likewise.
46082 * math/w_logl.c (__logl): Likewise.
46083 * math/w_powl.c (__powl): Likewise.
46084 * math/w_remainderl.c (__remainderl): Likewise.
46085 * math/w_scalbl.c (sysv_scalbl): Likewise.
46086 * math/w_sinhl.c (__sinhl): Likewise.
46087 * math/w_sqrtl.c (__sqrtl): Likewise.
46088 * math/w_tgammal.c (__tgammal): Likewise.
46089 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46090 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46091 * math/libm-test.inc (acos_test): Add more tests.
46092 (acosh_test): Likewise.
46093 (asin_test): Likewise.
46094 (atanh_test): Likewise.
46095 (exp_test): Likewise.
46096 (exp10_test): Likewise.
46097 (exp2_test): Likewise.
46098 (expm1_test): Likewise.
46099 (lgamma_test): Likewise.
46100 (log_test): Likewise.
46101 (log10_test): Likewise.
46102 (log1p_test): Likewise.
46103 (log2_test): Likewise.
46104 (pow_test): Do not allow some spurious overflow exceptions.
46105 (sqrt_test): Add more tests.
46106 (tgamma_test): Likewise.
46107 (y0_test): Likewise.
46108 (y1_test): Likewise.
46109 (yn_test): Likewise.
46110
dd62fda6
AB
461112012-03-27 Anton Blanchard <anton@samba.org>
46112
46113 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46114 MAP_HUGETLB.
46115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46118
1e3cdfda
AJ
461192012-03-27 David S. Miller <davem@davemloft.net>
46120
b855ab85
DM
46121 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46122
1e3cdfda
AJ
46123 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46124 have-as-vis3 check.
46125
461262012-03-27 Andreas Jaeger <aj@suse.de>
46127
46128 * sysdeps/x86_64/elf/configure.in: Moved to ...
46129 * sysdeps/x86_64/configure.in: ... here.
46130 * sysdeps/x86_64/elf/start.S: Moved to ...
46131 * sysdeps/x86_64/start.S: ... here.
46132 * sysdeps/x86_64/elf/configure: Delete.
46133
46134 * sysdeps/x86_64/configure.in: Merge contents from
46135 sysdeps/i386/configure.in (without i686 check).
46136
46137 * sysdeps/i386/elf/Versions: Merge into ...
46138 * sysdeps/i386/Versions: ... this.
46139 * sysdeps/i386/elf/Versions: Delete file.
46140 * sysdeps/i386/elf/start.S: Moved to ...
46141 * sysdeps/i386/start.S: ...here.
46142 * sysdeps/i386/elf/configure.in: Merge into...
46143 * sysdeps/i386/configure.in: ...here.
46144 * sysdeps/i386/elf/configure.in: Delete file.
46145 * sysdeps/i386/elf/configure: Delete file.
46146
46147 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46148 * debug/backtracesyms.c: ... here.
46149 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46150 * debug/backtracesymsfd.c: ... here.
46151 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46152 * sysdeps/generic/ifunc-sel.h: ... here.
46153
46154 * sysdeps/unix/i386/start.c: Delete file.
46155 * sysdeps/unix/sparc/start.c: Delete file.
46156 * sysdeps/unix/start.c: Delete file.
46157
46158 * sysdeps/sh/elf/configure.in: Moved to ...
46159 * sysdeps/sh/configure.in: ... here.
46160 * sysdeps/sh/elf/start.S: Moved to ...
46161 * sysdeps/sh/start.S: ... here.
46162 * sysdeps/sh/elf/configure: Delete file.
46163
46164 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46165 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46166 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46167 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46168 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46169 * sysdeps/powerpc/powerpc64/start.S: here.
46170 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46171 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46172 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46173 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46174 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46175
46176 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46177 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46178 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46179 * sysdeps/powerpc/powerpc32/start.S: ... here.
46180 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46181 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46182 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46183
46184 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46185 * sysdeps/powerpc/ifunc-sel.h: ... here.
46186 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46187 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46188
46189 * sysdeps/sparc/elf/configure.in: Moved to ...
46190 * sysdeps/sparc/configure.in: ... here.
46191 * sysdeps/sparc/elf/configure: Delete file.
46192 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46193 * sysdeps/sparc/sparc32/start.S: ... here.
46194 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46195 * sysdeps/sparc/sparc64/start.S: ... here.
46196 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46197 * sysdeps/sparc/sparc32/Makefile: ... this.
46198 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46199 * sysdeps/sparc/sparc64/Makefile: ... this.
46200
46201 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46202 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46203 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46204 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46205 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46206 * sysdeps/s390/s390-32/setjmp.S: ... here.
46207 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46208 * sysdeps/s390/s390-32/configure.in: ... here.
46209 * sysdeps/s390/s390-32/elf/configure: Delete file.
46210 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46211 * sysdeps/s390/s390-32/start.S: ... here.
46212
46213 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46214 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46215 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46216 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46217 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46218 * sysdeps/s390/s390-64/setjmp.S: ... here.
46219 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46220 * sysdeps/s390/s390-64/configure.in: ... here
46221 * sysdeps/s390/s390-64/elf/configure: Delete file.
46222 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46223 * sysdeps/s390/s390-64/start.S: ... here.
46224 * sysdeps/s390/s390-64/elf/configure: Delete.
46225
46226 * configure.in: Remove support for elf directories in sysdeps.
46227
46228 * configure: Regenerated.
46229 * sysdeps/i386/configure: Regenerated.
46230 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46231 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46232 * sysdeps/s390/s390-32/configure: Regenerated.
46233 * sysdeps/s390/s390-64/configure: Regenerated.
46234 * sysdeps/sh/configure: Regenerated.
46235 * sysdeps/sparc/configure: Regenerated.
46236 * sysdeps/x86_64/configure: Regenerated.
46237
a3f61311
AS
462382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46239
c876e002
AS
46240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46241
a3f61311
AS
46242 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46243 denormal result into account.
46244
ac4c54f0
RM
462452012-03-25 Roland McGrath <roland@hack.frob.com>
46246
46247 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46248 Reported by Allan McRae <allan@archlinux.org>.
46249
6a9b9c02
JL
462502012-03-23 Jeff Law <law@redhat.com>
46251
46252 * nss/getnssent.c (__nss_getent): Fix typo.
46253
4c42a0c1
DM
462542012-03-23 David S. Miller <davem@davemloft.net>
46255
46256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46257
1532c7ac
L
462582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46259
46260 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46261 to pad to uint64_t for each field.
46262 (dl_tls_index): Replace unsigned long with uint64_t.
46263
3ff42526
PP
462642012-03-23 Daniel Jacobowitz <dmj@google.com>
46265 Paul Pluzhnikov <ppluzhnikov@google.com>
46266
46267 [BZ #6528]
46268 * grp/Makefile (otherlibs): Don't set it.
46269 * inet/Makefile (otherlibs): Likewise.
46270 * login/Makefile (otherlibs): Likewise.
46271 * nscd/Makefile (otherlibs): Likewise.
46272 * posix/Makefile (otherlibs): Likewise.
46273 * pwd/Makefile (otherlibs): Likewise.
46274 * rt/Makefile (otherlibs): Likewise.
46275 * sunrpc/Makefile (otherlibs): Likewise.
46276 * nss/Makefile (otherlibs): Likewise.
46277 Add libnss_files to routines and static-only-routines.
46278 ($(objpfx)getent): Remove rule.
46279 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46280 static-only-routines.
46281
7c69cd14
JM
462822012-03-22 Joseph Myers <joseph@codesourcery.com>
46283
46284 [BZ #13892]
46285 * math/s_cexp.c: Include <float.h>.
46286 (__cexp): Handle exp result overflowing not necessarily
46287 overflowing both real and imaginary parts of result.
46288 * math/s_cexpf.c: Likewise.
46289 * math/s_cexpl.c: Likewise.
46290 * math/libm-test.inc (cexp_test): Add more tests.
46291 * sysdeps/i386/fpu/libm-test-ulps: Update.
46292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46293
81b035fe
L
462942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46295
46296 * include/link.h (ELFW): New macro.
46297 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46298 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46299
1da7940c
L
463002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46301
46302 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46303 with uint64_t.
46304
b749dbb9
L
463052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46306
46307 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46308 declaration.
46309 (struct La_x32_retval): Likewise.
46310
2ff87f3f
L
463112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46312
46313 * sysdeps/x86_64/preconfigure.in: New file.
46314 * sysdeps/x86_64/preconfigure: New generated file.
46315
c0df8e69
JM
463162012-03-22 Joseph Myers <joseph@codesourcery.com>
46317
48e44791
JM
46318 [BZ #13824]
46319 * math/e_exp2l.c: Include <float.h>.
46320 (__ieee754_exp2l): Handle overflow and underflow cases
46321 separately. Only pass fractional part of argument to
46322 __ieee754_expl.
46323 * math/libm-test.inc (exp2_test): Add more tests.
46324
c0df8e69
JM
46325 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46326 negating x to take absolute value.
46327 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46328 Likewise.
46329 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46331 Likewise.
46332 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46333 computing low part if x was negated.
46334 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46335
c8e43ba7
L
463362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46337
46338 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46339 la_x32_gnu_pltexit.
46340 (pltexit): Cast int_retval to ptrdiff_t.
46341 * elf/tst-auditmod3b.c: Likewise.
46342 * elf/tst-auditmod4b.c: Likewise.
46343 * elf/tst-auditmod5b.c: Likewise.
46344 * elf/tst-auditmod6b.c: Likewise.
46345 * elf/tst-auditmod6c.c: Likewise.
46346 * elf/tst-auditmod7b.c: Likewise.
46347
46348 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46349 and x32_gnu_pltexit.
46350
46351 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46352 __ELF_NATIVE_CLASS.
46353 (La_x32_regs): New macro.
46354 (La_x32_retval): Likewise.
46355 (la_x32_gnu_pltenter): New function prototype.
46356 (la_x32_gnu_pltexit): Likewise.
46357
7998fa78
AS
463582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46359
dcb33988
AS
46360 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46361 exponent.
46362
233fc563
AS
46363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46364
7998fa78
AS
46365 * configure.in (libc_cv_cc_nofma): Check for option to disable
46366 generation of FMA instructions.
46367 * configure: Regenerate.
46368 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46369 * sysdeps/ieee754/dbl-64/Makefile: New file.
46370 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46371 Remove brandred-fma4.
46372 (CFLAGS-brandred-fma4.c): Remove.
46373 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46375 define.
46376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46377 define.
46378
8e95c99a
L
463792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46380
46381 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46382 LLONG_MAX != LONG_MAX.
46383 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46384 (_fitoa_word): Likewise.
46385 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46386 LLONG_MAX != LONG_MAX.
46387 * stdio-common/_itowa.h: Include <_itoa.h>.
46388 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46389 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46390 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46391 only if not defined.
46392 (_ITOA_WORD_TYPE): Likewise.
46393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46394 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46395
6f4db457
DM
463962012-03-21 David S. Miller <davem@davemloft.net>
46397
46398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46399
7785fe5a
L
464002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46401
46402 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46403 of x86_64 when setting libc_cv_slibdir, libdir and
46404 libc_cv_localedir.
46405 * sysdeps/unix/sysv/linux/configure: Regenerated.
46406
4535cd55
JM
464072012-03-21 Joseph Myers <joseph@codesourcery.com>
46408
46409 * manual/lang.texi (Old Varargs): Remove section.
46410 (How Variadic): Update menu.
46411 (va_start): Do not mention varargs.h.
46412
17228132
TS
464132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46414 Joseph Myers <joseph@codesourcery.com>
46415
46416 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46417 link test.
46418 * configure: Regenerated.
46419
8149f976
TS
464202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46421
05f3d1f6
UD
46422 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46423 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46424 conformtest.pl
8149f976 46425
1a4ac776
JM
464262012-03-21 Joseph Myers <joseph@codesourcery.com>
46427
be22ce65
JM
46428 * NOTES: Remove.
46429 * Makefile (files-for-dist): Remove NOTES.
46430 (NOTES): Remove rule.
46431 * README: Don't refer to NOTES.
46432 * manual/creature.texi: Don't include macros.texi.
46433 * manual/intro.texi (creature.texi): Remove comment referring to
46434 NOTES.
46435
40b601fb
JM
46436 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46437 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46438 * configure: Regenerated.
46439 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46440 LIBC_TRY_CC_OPTION.
46441 (libc_cv_as_i686): Likewise.
46442 (libc_cv_cc_avx): Likewise.
46443 (libc_cv_cc_sse2avx): Likewise.
46444 (libc_cv_cc_fma4): Likewise.
46445 (libc_cv_cc_novzeroupper): Likewise.
46446 * sysdeps/i386/configure: Regenerated.
46447
1a4ac776
JM
46448 [BZ #13883]
46449 * sysdeps/i386/fpu/s_cexp.S: Remove.
46450 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46451 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46452 * math/libm-test.inc (cexp_test): Add more tests.
46453 * sysdeps/i386/fpu/libm-test-ulps: Update.
46454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46455
a458e7fe
AM
464562012-03-21 Allan McRae <allan@archlinux.org>
46457
46458 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46459
0cb7efc5
JM
464602012-03-21 Joseph Myers <joseph@codesourcery.com>
46461
46462 [BZ #13871]
46463 * math/w_exp2.c: Do not include <float.h>.
46464 (o_threshold, u_threshold): Remove.
46465 (__exp2): Calculate result before checking finiteness and calling
46466 __kernel_standard.
46467 * math/w_exp2f.c: Likewise.
46468 * math/w_exp2l.c: Likewise.
46469 * math/libm-test.inc (exp2_test): Require overflow exception for
46470 1e6 input.
2460d3aa
JM
46471
46472 [BZ #3866]
46473 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46474 range of signed 64-bit integers before using fistpll. Remove
46475 checks for whether integers fit in mantissa bits.
46476 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46477 the range of signed 32-bit integers before using fistpl. Remove
46478 checks for whether integers fit in mantissa bits.
46479 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46480 (__ieee754_powl): Test for y outside the range of signed 64-bit
46481 integers before using fistpll. Reduce 64-bit values to 63-bit
46482 ones as needed.
46483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46484 divide-by-zero is raised for zero to large negative powers.
46485 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46486 (__ieee754_powl): Test for y outside the range of signed 64-bit
46487 integers before using fistpll. Reduce 64-bit values to 63-bit
46488 ones as needed.
46489 * math/libm-test.inc (pow_test): Add more tests.
46490
eb96ffb0
L
464912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46492
46493 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46494 <stdio-common/_itoa.h>.
46495 * debug/segfault.c: Likewise.
46496 * elf/dl-cache.c: Likewise.
46497 * elf/dl-minimal.c: Likewise.
46498 * elf/dl-misc.c: Likewise.
46499 * elf/dl-sysdep.c: Likewise.
46500 * elf/dl-version.c: Likewise.
46501 * elf/rtld.c: Likewise.
46502 * hurd/hurdsock.c: Likewise.
46503 * hurd/lookup-retry.c: Likewise.
46504 * malloc/malloc.c: Likewise.
46505 * malloc/mtrace.c: Likewise.
46506 * nscd/nscd_getgr_r.c: Likewise.
46507 * nscd/nscd_getpw_r.c: Likewise.
46508 * nscd/nscd_getserv_r.c: Likewise.
46509 * posix/getopt_init.c: Likewise.
46510 * posix/wordexp.c: Likewise.
46511 * stdio-common/_itoa.c: Likewise.
46512 * stdio-common/printf_fphex.c: Likewise.
46513 * stdio-common/vfprintf.c: Likewise.
46514 * string/_strerror.c: Likewise.
46515 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46516 * sysdeps/i386/i686/hp-timing.h: Likewise.
46517 * sysdeps/mach/_strerror.c: Likewise.
46518 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46519 * sysdeps/mach/hurd/sethostid.c: Likewise.
46520 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46521 * sysdeps/mach/xpg-strerror.c: Likewise.
46522 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46524 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46525 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46526 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46527 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46528 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46529 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46530 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46531 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46532 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46533 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46534 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46535 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46536 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46537 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46538 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46539 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46540 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46541 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46542 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46543
46544 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46545
46546 * stdio-common/_itoa.h: Moved to ...
46547 * sysdeps/generic/_itoa.h: Here.
46548
46549 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46550
46551 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46552 instead of "_itoa.h" and "_itowa.h".
46553 * stdio-common/vfprintf.: Likewise.
46554
d1af992d
L
465552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46556
46557 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46558 <bits/wordsize.h>.
46559 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46560 (__signbit): Likwise.
46561 (llrintf): Likwise.
46562 (llrint): Likwise.
46563
114883e0
L
465642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46565
46566 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46567 __WORDSIZE != 64.
46568
c135cc1b
JM
465692012-03-20 Joseph Myers <joseph@codesourcery.com>
46570
46571 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46572 OVERFLOW_EXCEPTION_OK.
46573 * math/libm-test.inc ("Philosophy"): Update comment about
46574 exception testing.
46575 (OVERFLOW_EXCEPTION): Define.
46576 (OVERFLOW_EXCEPTION_OK): Likewise.
46577 (INVALID_EXCEPTION_OK): Renumber.
46578 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46579 (IGNORE_ZERO_INF_SIGN): Likewise.
46580 (test_exceptions): Handle FE_OVERFLOW.
46581 (exp10_test): Expect overflow exceptions.
46582 (exp2_test): Likewise.
46583 (expm1_test): Likewise.
46584 (nextafter_test): Likewise.
46585 (pow_test): Likewise.
46586 (scalbn_test): Likewise.
46587 (scalbln_test): Likewise.
46588
95443d88
L
465892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46590
46591 * sysdeps/x86_64/bits/atomic.h
46592 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46593 64bit integer.
46594 (atomic_exchange_acq): Likewise.
46595 (__arch_exchange_and_add_body): Likewise.
46596 (__arch_add_body): Likewise.
46597 (atomic_add_negative): Likewise.
46598 (atomic_add_zero): Likewise.
46599
490df6c4
L
466002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46601
c2722551 46602 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46603 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46604
5e52b189
L
466052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46606
46607 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46608 Check __x86_64__ instead of __WORDSIZE.
46609
a9879d4c
L
466102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46611
46612 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46613
5df98260
DM
466142012-03-19 David S. Miller <davem@davemloft.net>
46615
e1497744
DM
46616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46617
5df98260
DM
46618 * sysdeps/sparc/fpu/fenv_private.h: New file.
46619 * sysdeps/sparc/fpu/math_private.h: Use it.
46620 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46621 Remove.
57f41c40 46622 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46623 (libc_feholdexcept_setroundl): Remove.
46624 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46625 Remove.
46626 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46627 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46628
b4c35121
L
466292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46630
46631 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46632 int64_t instead of long int.
46633 (INSERT_WORDS64): Likwise.
46634
56965fd7
L
466352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46636
46637 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46638 _Unwind_GetCFA return to _Unwind_Ptr first.
46639
83d1aec8
JM
466402012-03-19 Joseph Myers <joseph@codesourcery.com>
46641
1897ad44
JM
46642 [BZ #13629]
46643 * math/s_clog.c: Include <float.h>.
46644 (__clog): Scale large or subnormal inputs.
46645 * math/s_clogf.c: Likewise.
46646 * math/s_clogl.c: Likewise.
46647 * math/s_clog10.c: Include <float.h>.
46648 (M_LOG10_2): Define.
46649 (__clog10): Scale large or subnormal inputs.
46650 * math/s_clog10f.c: Likewise.
46651 * math/s_clog10l.c: Likewise.
46652 * math/libm-test.inc (clog_test): Add more tests.
46653 (clog10_test): Likewise.
46654 * sysdeps/i386/fpu/libm-test-ulps: Update.
46655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46656
7726d6a9
JM
46657 [BZ #11451]
46658 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46659 x and y.
46660 * math/libm-test.inc (atan2_test): Add another test.
46661
83d1aec8
JM
46662 * Makerules (common-objdir-compile): Remove.
46663 * sysdeps/unix/Makefile (config-generated): Do not add
46664 $(unix-generated) to variable.
46665 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46666 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46667 Remove rule.
46668 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46669 Likewise.
46670 [generic bits/local_lim.h] (before-compile): Do not append to
46671 variable.
46672 [generic bits/local_lim.h] (common-generated): Likewise.
46673 [generic sys/param.h] (before-compile): Do not append to variable.
46674 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46675 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46676 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46677 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46678 include.
46679 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46680 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46681 [generic sys/param.h] ($(addprefix
46682 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46683 [generic sys/param.h] (common-generated): Do not append to
46684 variable.
46685 [generic sys/param.h] (sysdep_headers): Likewise.
46686 [generic bits/errno.h] (before-compile): Do not append to
46687 variable.
46688 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46689 rule.
46690 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46691 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46692 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46693 [generic bits/errno.h] (common-generated): Do not append to
46694 variable.
46695 [generic bits/ioctls.h] (before-compile): Do not append to
46696 variable.
46697 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46698 rule.
46699 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46700 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46701 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46702 rule.
46703 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46704 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46705 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46706 [generic bits/ioctls.h] (common-generated): Do not append to
46707 variable.
46708 [generic sys/syscall.h] (syscall.h): Remove variable.
46709 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46710 rule.
46711 [generic sys/syscall.h] (before-compile): Do not append to
46712 variable.
46713 [generic sys/syscall.h] (common-generated): Likewise.
46714 * sysdeps/unix/errnos-tmpl.c: Remove file.
46715 * sysdeps/unix/errnos.awk: Likewise.
46716 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46717 * sysdeps/unix/ioctls.awk: Likewise.
46718 * sysdeps/unix/mk-local_lim.c: Likewise.
46719 * sysdeps/unix/snarf-ioctls: Likewise.
46720
4851a949
RH
467212012-03-19 Richard Henderson <rth@twiddle.net>
46722
bd37f2ee
RH
46723 * sysdeps/i386/fpu/fenv_private.h: New file.
46724 * sysdeps/i386/fpu/math_private.h: Use it.
46725 (math_opt_barrier, math_force_eval): Remove.
46726 (libc_feholdexcept_setround_53bit): Remove.
46727 (libc_feupdateenv_53bit): Remove.
46728 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46729 (math_opt_barrier, math_force_eval): Remove.
46730 (libc_feholdexcept): Remove.
46731 (libc_feholdexcept_setround): Remove.
46732 (libc_fetestexcept, libc_fesetenv): Remove.
46733 (libc_feupdateenv_test): Remove.
46734 (libc_feupdateenv, libc_feholdsetround): Remove.
46735 (libc_feresetround): Remove.
46736
d0adc922
RH
46737 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46738 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46739
0fe0f1f8
RH
46740 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46741 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46742 (libc_feupdateenv_testl): New.
46743 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46744 (libc_feupdateenv_testf): New.
46745 (libc_feupdateenv): Use libc_feupdateenv_test.
46746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46747 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46748
eb92c487
RH
46749 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46750 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46751 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46752 (libc_feresetround_noex): New.
46753 (libc_feresetround_noexf): New.
46754 (libc_feresetround_noexl): New.
46755 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46756 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46757 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46758 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46759 SET_RESTORE_ROUND.
46760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46762 (__cos): Likewise.
46763 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46764 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46765 SET_RESTORE_ROUND_NOEX.
46766 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46767 SET_RESTORE_ROUND_NOEXF.
46768 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46769 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46770 (libc_feholdsetroundf): New.
46771 (libc_feresetround, libc_feresetroundf): New.
46772
7d2e8012
RH
46773 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46774 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46775 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46776
b4dabbb4
RH
46777 * sysdeps/generic/math_private.h: Include <fenv.h>.
46778 (default_libc_feholdexcept): New.
46779 (default_libc_feholdexcept_setround): New.
46780 (default_libc_fesetenv, default_libc_feupdateenv): New.
46781 (libc_feholdexcept): Only define if undefined.
46782 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46783 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46784 (libc_feholdexcept_setroundl): Likewise.
46785 (libc_feholdexcept_setround_53bit): Likewise.
46786 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46787 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46788 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46789 (libc_feupdateenv_53bit): Likewise.
46790 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46791 (libc_feholdexcept): Convert from macro to inline function.
46792 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46793 (libc_fesetenv, libc_feupdateenv): Likewise.
46794
4851a949
RH
46795 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46796 not previously defined.
46797 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46798 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46799 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46800 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46801 * sysdeps/ieee754/flt-32/math_private.h: New file.
46802 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46803 math_private.h below SET_FLOAT_WORD.
46804 (__isnan, __isinf_ns, __finite): Remove.
46805 (__isnanf, __isinf_nsf, __finitef): Remove.
46806
e79d442e
AS
468072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46808
46809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46810
90b80344
DM
468112012-03-17 David S. Miller <davem@davemloft.net>
46812
46813 [BZ #6471]
46814 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46815 for 2.16.
46816
edc21804
DM
468172012-03-16 David S. Miller <davem@davemloft.net>
46818
77e927af
DM
46819 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46820 warnings.
46821
374976dd
DM
46822 [BZ #6471]
46823 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46824 properly.
46825 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46826 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46827 sysdep_routines when subdir is sysvipc.
46828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46829 __getshmlba helper.
46830
edc21804
DM
46831 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46832
473c3ef3
L
468332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46834
46835 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46836 [__LP64__].
46837
eb0f39b6
L
468382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46839
46840 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46841 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46842 (__lround): Renamed to ...
46843 (__llround): This. Replace long int with long long int.
46844 Define lround functions as aliases of llround functions.
46845 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46846
6b6cd74b
L
468472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46848
46849 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46850 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46851 adresses to uintptr_t. Replace "long int" and "unsigned long
46852 int" with "greg_t" on va_arg.
46853
f1a77b01
L
468542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46855
46856 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46857 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46858
46859 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46860 Move e_machine check before EI_CLASS check. Handle x32
46861 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46862 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46863 SKIP_EM_IA_64 and include
46864 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46865
46866 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46867 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46868 (add_system_dir): New macro.
46869
46870 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46871 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46872
11b90b9f
JM
468732012-03-16 Joseph Myers <joseph@codesourcery.com>
46874
c36e1d23
JM
46875 [BZ #2551]
46876 [BZ #2552]
46877 [BZ #2553]
46878 [BZ #2554]
46879 [BZ #2562]
46880 [BZ #2563]
46881 [BZ #2565]
46882 [BZ #2566]
46883 [BZ #2576]
46884 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46885 (y0): Likewise.
46886 * math/w_j0f.c (j0f): Likewise.
46887 (y0f): Likewise.
46888 * math/w_j0l.c (__j0l): Likewise.
46889 (__y0l): Likewise.
46890 * math/w_j1.c (j1): Likewise.
46891 (y1): Likewise.
46892 * math/w_j1f.c (j1f): Likewise.
46893 (y1f): Likewise.
46894 * math/w_j1l.c (__j1l): Likewise.
46895 (__y1l): Likewise.
46896 * math/w_jn.c (jn): Likewise.
46897 (yn): Likewise.
46898 * math/w_jnf.c (jnf): Likewise.
46899 (ynf): Likewise.
46900 * math/w_jnl.c (__jnl): Likewise.
46901 (__ynl): Likewise.
46902 * math/libm-test.inc (j0_test): Add more tests.
46903 (j1_test): Likewise.
46904 (jn_test): Likewise. Add trailing semicolon to existing test.
46905 (y0_test): Likewise.
46906 (y1_test): Likewise.
46907 * sysdeps/i386/fpu/libm-test-ulps: Update.
46908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46909
11b90b9f
JM
46910 [BZ #13851]
46911 [BZ #13854]
46912 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46913 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46914 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46915 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46916 (__tanl): Set errno for infinite argument.
46917 * sysdeps/i386/fpu/mptan.c: Remove.
46918 * sysdeps/i386/fpu/s_tan.S: Likewise.
46919 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46920 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46921 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46922 * math/libm-test.inc (tan_test): Add more tests and enable more
46923 tests for double and long double.
46924 * sysdeps/i386/fpu/libm-test-ulps: Update.
46925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46926
6a1bd2a1
JK
469272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46928
46929 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46930 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46931
10a803e0
RM
469322012-03-16 Roland McGrath <roland@hack.frob.com>
46933
46934 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46935 * configure.in: Use it for both main tree and add-ons.
46936 * configure: Regenerated.
46937
f196c7f7
L
469382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46939
46940 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46941
8848d99d
JM
469422012-03-16 Joseph Myers <joseph@codesourcery.com>
46943
96cbe7f4
JM
46944 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46945 in comment.
46946
8848d99d
JM
46947 [BZ #13851]
46948 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46949 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46951 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46952 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46953 infinite argument.
46954 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46956 != 0 for prec == 2.
46957 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46958 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46959 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46960 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46961 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46962 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46963 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46964 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46965 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46966 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46967 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46968 * math/libm-test.inc (cos_test): Add more tests and enable more
46969 tests for long double.
46970 (sin_test): Likewise.
46971 (sincos_test): Likewise.
46972 * sysdeps/i386/fpu/libm-test-ulps: Update.
46973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46974
dd7f4703
DM
469752012-03-16 David S. Miller <davem@davemloft.net>
46976
46977 * sysdeps/sparc/fpu/math_private.h: New file.
46978
006f1daa
DM
469792012-03-15 David S. Miller <davem@davemloft.net>
46980
c0c83bc8
DM
46981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46982 file.
e6a62e18 46983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46985 file.
e6a62e18
DM
46986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46992 sysdep routines.
46993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46994
88cb87d9
DM
46995 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46996 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46997
006f1daa 46998 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47000 sparc-ifunc.h
006f1daa 47001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47003 Likewise.
47004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47005 Likewise.
006f1daa
DM
47006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47010 Likewise.
006f1daa
DM
47011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47016 Likewise.
47017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47018 Likewise.
006f1daa
DM
47019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47043
11e0098e
AS
470442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47045
47046 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47047 scaling.
47048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47049
e85b09d0
AJ
470502012-03-15 Andreas Jaeger <aj@suse.de>
47051
47052 [BZ #13852]
47053 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47054 ieee754/flt-32 implementation for sin, cos and sincos.
47055 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47056 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47057 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47058 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47059 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47060 ieee754/flt-32 implementation for tan.
47061
47062 * math/libm-test.inc (cos_test): Enable some large input tests for
47063 float as well
47064 (sin_test): Likewise.
47065 (sincos_test): Likewise.
47066 (tan_test): Add tests for large input.
47067
47068 * sysdeps/i386/fpu/libm-test-ulps: Update.
47069
81c64153
AJ
470702012-03-15 Andreas Jaeger <aj@suse.de>
47071
47072 [BZ #13658]
47073 * math/libm-test.inc (cos_test): Add more test cases.
47074 (sin_test): Likewise.
47075 (sincos_test): Likewise.
47076
7bbfa5c6
AJ
470772012-03-15 Andreas Jaeger <aj@suse.de>
47078
47079 [BZ #13837]
47080 * math/libm-test.inc (cos_test): Add a test case for large input
47081 value.
47082 (sin_test): Likewise.
47083 (sincos_test): Likewise.
47084
57f41c40
AS
470852012-03-15 Andreas Jaeger <aj@suse.de>
47086 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47087
47088 [BZ #13658]
0671f479 47089 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47090 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47091 * sysdeps/i386/fpu/branred.c: Likewise.
47092 * sysdeps/i386/fpu/dosincos.c: Likewise.
47093 * sysdeps/i386/fpu/mpa.c: Likewise.
47094 * sysdeps/i386/fpu/s_cos.S: Likewise.
47095 * sysdeps/i386/fpu/s_sin.S: Likewise.
47096 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47097 * sysdeps/i386/fpu/sincos32.c: Likewise.
47098
47099 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47100 Define.
47101 (libc_feupdateenv_53bit): Define.
47102 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47103 Define.
47104 (libc_feupdateenv_53bit): Define.
47105
47106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47107 53 bit (without extend i386 double precision).
47108
47109 * math/libm-test.inc (sincos_test): Add tests for large input.
47110 (sin): Likewise.
47111 (cos): Likewise.
47112
47113 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47114
9cad04ea
AS
471152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47116
47117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47118
f7062b9a
DM
471192012-03-15 David S. Miller <davem@davemloft.net>
47120
47121 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47122 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47123 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47124 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47137 file.
f7062b9a 47138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47140 file.
f7062b9a 47141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47143 file.
f7062b9a 47144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47146 file.
f7062b9a
DM
47147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47149 fmin/fmax sysdep routines.
47150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47151
7bd951ff
DM
471522012-03-14 David S. Miller <davem@davemloft.net>
47153
559398ab
DM
47154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47183 routines.
47184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47185 file.
559398ab 47186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47188 file.
559398ab 47189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47191 file.
559398ab 47192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47194 file.
559398ab 47195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47197 file.
559398ab 47198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47200 file.
47201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47202 file.
47203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47204 file.
47205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47206 file.
47207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47208 New file.
47209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47210 file.
47211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47212 file.
559398ab 47213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47215 file.
559398ab 47216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47218 file.
559398ab 47219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47221 file.
559398ab 47222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47224 VIS3 routines.
559398ab
DM
47225
47226 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47227 New file.
47228
5a1c1e32
DM
47229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47230
eae47a36
DM
47231 * sysdeps/sparc/configure.in: New file.
47232 * sysdeps/sparc/configure: Generate.
47233 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47234 * configure: Regenerate.
47235 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47236 * config.make.in (have-as-vis3): New.
47237 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47238 available use -Av9d instead of -Av9a.
47239 * sysdeps/sparc/sparc64/Makefile: Likewise.
47240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47242 New file.
47243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47244 file.
47245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47246 New file.
47247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47248 file.
eae47a36
DM
47249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47254
c0c83bc8
DM
47255 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47256 fzeros/fnegs to load 0x80000000 into a float register instead of
47257 using the stack.
7bd951ff
DM
47258 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47259
bd951ccb
JM
472602012-03-14 Joseph Myers <joseph@codesourcery.com>
47261
47262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47263 bits/syscall.h.
47264 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47265 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47266 ($(inst_includedir)/bits/syscall.h): Remove rule.
47267 ($(objpfx)bits/syscall.d): Include instead of
47268 $(objpfx)syscall-list.d.
47269 (generated): Change syscall-list.h and syscall-list.d to
47270 bits/syscall.h and bits/syscall.d.
47271
bb4e6db2
RM
472722012-03-14 Roland McGrath <roland@hack.frob.com>
47273
47274 [BZ #13846]
47275 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47276
aa4a2ae1
JM
472772012-03-14 Joseph Myers <joseph@codesourcery.com>
47278
e456826d
JM
47279 [BZ #13841]
47280 * math/s_csqrt.c: Include <float.h>.
47281 (__csqrt): Scale large or subnormal inputs.
47282 * math/s_csqrtf.c: Likewise.
47283 * math/s_csqrtl.c: Likewise.
47284 * math/libm-test.inc (csqrt_test): Add more tests.
47285 * sysdeps/i386/fpu/libm-test-ulps: Update.
47286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47287
aa4a2ae1
JM
47288 [BZ #13840]
47289 * math/libm-test.inc (hypot_test): Add more tests.
47290
7c10fd35
DM
472912012-03-13 David S. Miller <davem@davemloft.net>
47292
47293 [BZ #13840]
47294 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47295 double-precision for the calculation instead of scaling.
47296
f453b98b
JM
472972012-03-13 Joseph Myers <joseph@codesourcery.com>
47298
47299 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47300 manipulate bits before adding and subtracting TWO52[sx].
47301 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47303 Likewise.
47304 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47305
09a3453f
DM
473062012-03-13 David S. Miller <davem@davemloft.net>
47307
8e59da90
DM
47308 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47309 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47311 rtld-global-offsets.h
47312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47313
2a8ab7f2
DM
47314 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47315 large parameters.
47316
10f62770
DM
47317 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47318
5f0bdb18
DM
47319 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47320 'err' in the ifdef scope in which it is actually used.
47321
09a3453f
DM
47322 * nss/nss_db/db-init.c: Include string.h
47323
b4b2eb5e
DM
473242012-03-12 David S. Miller <davem@davemloft.net>
47325
98bb2f1c
DM
47326 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47327 masking out of the most significant byte of random value used.
47328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47329 Fix coding style in previous change.
47330
b4b2eb5e
DM
47331 * sysdeps/unix/sysv/linux/kernel-features.h
47332 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47333 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47334 expression.
47335 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47336 later.
47337
6e226b09
DM
473382012-03-11 David S. Miller <davem@davemloft.net>
47339
a1bcbd40
DM
47340 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47341 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47343 for 'resultvar' otherwise things get truncated on 64-bit.
47344
cb9d6174
DM
47345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47346 Fix masking out of the most significant byte of random value used.
47347
6e226b09
DM
47348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47349
058c132d
AS
473502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47351
47352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47353
2d2cd515
DM
473542012-03-09 David S. Miller <davem@davemloft.net>
47355
47356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47357 variables with appropriate CPP guards.
57f41c40
AS
47358 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47359 from the frame pointer, not the stack pointer. Correct layout
47360 comments. Fix test on resulting framesize and the management of
47361 the outregs buffer for pltexit. Preserve floating point return
47362 values across _dl_call_pltexit call.
2d2cd515
DM
47363 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47364 framesize and the management of the outregs buffer for pltexit.
47365 Preserve floating point return values across _dl_call_pltexit
47366 call.
57f41c40
AS
47367 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47368 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47369 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47370 (print_exit): Fix format string for return register value.
47371
9a07f9d0
JM
473722012-03-10 Joseph Myers <joseph@codesourcery.com>
47373
47374 * sunrpc/Makefile (others): Add rpcgen.
47375 ($(objpfx)rpcgen): Remove special build rule and dependency on
47376 libc.
47377 * sunrpc/rpcgen.c: New file.
47378
547b5e30
PE
473792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47380
c524201a
PE
47381 [BZ #13673]
47382 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47383 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47384 * sysdeps/i386/crti.S: Likewise.
47385 * sysdeps/i386/crtn.S: Likewise.
47386 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47387 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47388 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47389 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47390 * sysdeps/sh/crti.S: Likewise.
47391 * sysdeps/sh/crtn.S: Likewise.
47392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47393
7b6235f2
PE
47394 [BZ #13673]
47395 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47396 with URL.
47397 * locale/programs/locfile-kw.gperf: Likewise.
47398 * locale/programs/charmap-kw.h: Regenerated.
47399 * locale/programs/locfile-kw.h: Likewise.
47400
547b5e30
PE
47401 [BZ #13673]
47402 * intl/plural.y: Replace FSF snail mail address with URL.
47403 * intl/plural.c: Regenerated.
47404
5f0a5dae
RH
474052012-03-09 Richard Henderson <rth@twiddle.net>
47406
47407 * include/math_private.h: Remove file.
47408 * math/math_private.h: Move file ...
47409 * sysdeps/generic/math_private.h: ... here.
47410
b8c03620
RH
47411 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47412 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47414
4e234f5d 47415 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47416 and <math_private.h>.
47417 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47418 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47419 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47420 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47421 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47422 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47423 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47425 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47429 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47431 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47443 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47447 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47449 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47450 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47453 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47454 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47455 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47457 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47458 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47459 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47460 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47461 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47462 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47463 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47464 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47466 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47478 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47481 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47482 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47483 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47484 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47485 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47491 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47504 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47505 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47508 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47510 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47511 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47512 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47514 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47516 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47517 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47518 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47519 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47520 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47521 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47522 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47523 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47524 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47529 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47530 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47531 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47532 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47533 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47534 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47535 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47536 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47537 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47538 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47540 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47541 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47542 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47543 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47544 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47545 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47546 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47547 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47548 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47550 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47551 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47553 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47555 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47556 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47557 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47558 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47559 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47560 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47561 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47562 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47563 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47564 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47565 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47566 * sysdeps/ieee754/k_standard.c: Likewise.
47567 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47568 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47570 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47572 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47573 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47574 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47579 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47580 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47581 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47582 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47584 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47585 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47586 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47587 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47588 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47589 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47590 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47592 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47593 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47594 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47598 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47599 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47600 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47601 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47604 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47606 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47608 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47609 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47670 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47694 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47699 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47706 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47716 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47722 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47724 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47726 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47727 * sysdeps/ieee754/s_lib_version.c: Likewise.
47728 * sysdeps/ieee754/s_matherr.c: Likewise.
47729 * sysdeps/ieee754/s_signgam.c: Likewise.
47730 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47733 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47736 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47737 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47738 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47739 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47740 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47741 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47742 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47743 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47744 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47748 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47751
1991fa03
JM
477522012-03-09 Joseph Myers <joseph@codesourcery.com>
47753
47754 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47755 * sunrpc/rpc_main.c: Likewise.
47756 * sunrpc/rpc_svcout.c: Likewise.
47757
60d6f5a6
DM
477582012-03-09 David S. Miller <davem@davemloft.net>
47759
47760 * include/math_private.h: New file.
47761
4962050e
JM
477622012-03-09 Joseph Myers <joseph@codesourcery.com>
47763
02a6f887
JM
47764 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47765 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47766 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47767 from <bits/socket_type.h>.
47768 (enum __socket_type): Don't define here.
47769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47771 bits/socket_type.h.
47772
c6e013c1
JM
47773 [BZ #13566]
47774 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47775 checking __USE_GNU.
47776
4962050e
JM
47777 * Makerules ($(inst_includedir)/%.h): New rule.
47778 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47779 (install-others): Remove variable setting.
47780 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47781
38842f45
RH
477822012-03-08 Richard Henderson <rth@twiddle.net>
47783
67bb6da6
RH
47784 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47785 from macro to inline function; merge with the
47786 !__LIBC_INTERNAL_MATH_INLINES version.
47787 (__ieee754_sqrtf): Likewise.
47788
15194b4b
RH
47789 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47790 to inline function.
47791 (__rintf, __floor, __floorf): Likewise.
47792
64e21ede
RH
47793 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47794 macro to inline function.
47795 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47796
38842f45
RH
47797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47798 not <math/math_private.h>.
47799
c64bf5fe
DM
478002012-03-08 David S. Miller <davem@davemloft.net>
47801
47802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47803 copyright year.
47804 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47805
82d86f28
TS
478062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47807
47808 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47809 normalization.
47810 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47811 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47812
aea5d727
UD
478132012-03-08 Ulrich Drepper <drepper@gmail.com>
47814
47815 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47816 be defined individually, they must be defined as a block. Define
47817 S for printing a string instead of hidint the different by using a
47818 macro for adding the 'l'.
47819 * stdio-common/tst-fphex-wide.c: Adjust.
47820
70bca0a3
MP
478212012-03-07 Marek Polacek <polacek@redhat.com>
47822
47823 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47824
65b81130
MP
478252012-03-08 Marek Polacek <polacek@redhat.com>
47826
47827 [BZ #13806]
47828 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47829 * stdio-common/tst-fphex.c: Define a few macros to make the
47830 test reusable. Use them.
47831 * stdio-common/tst-fphex-wide.c: New file.
47832
07037eeb
JM
478332012-03-08 Joseph Myers <joseph@codesourcery.com>
47834
a7a93d50
JM
47835 [BZ #6911]
47836 * manual/macros.texi (gnusystems): New macro.
47837 (nongnusystems): Likewise.
47838 (gnulinuxhurdsystems): Likewise.
47839 (gnuhurdsystems): Likewise..
47840 (gnulinuxsystems): Likewise.
47841 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47842 variants of the GNU system, not "GNU system".
47843 * manual/conf.texi: Likewise.
47844 * manual/errno.texi: Likewise. Update example of errno macro
47845 expansion.
47846 * manual/filesys.texi: Likewise.
47847 (getumask): Document as specific to GNU/Hurd.
47848 * manual/install.texi: Likewise. Reword some references to
47849 GNU/Linux.
47850 * manual/intro.texi: Likewise.
47851 * manual/io.texi: Likewise.
47852 (File Name Portability): Detail which constraints are inapplicable
47853 to all GNU systems and which are only inapplicable to GNU/Hurd.
47854 * manual/job.texi: Likewise.
47855 * manual/llio.texi: Likewise.
47856 (O_NOCTTY): Document as present on GNU/Linux.
47857 * manual/maint.texi: Likewise.
47858 * manual/memory.texi: Likewise.
47859 * manual/pattern.texi: Likewise.
47860 * manual/pipe.texi: Likewise.
47861 * manual/process.texi: Likewise.
47862 * manual/resource.texi: Likewise.
47863 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47864 child on GNU/Hurd.
47865 * manual/setjmp.texi: Likewise.
47866 * manual/signal.texi: Likewise.
47867 * manual/startup.texi: Likewise.
47868 * manual/stdio.texi: Likewise.
47869 * manual/terminal.texi: Likewise.
47870 (ONLCR): Document as POSIX.
47871 (OXTABS): Document availability on GNU/Linux as XTABS.
47872 (ONOEOT): Document availability separately from other bits.
47873 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47874 * manual/time.texi: Likewise.
47875 * manual/users.texi: Likewise.
47876 * INSTALL: Regenerated.
47877 * sysdeps/gnu/errlist.c: Regenerated.
47878
07037eeb
JM
47879 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47880 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47881 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47882 puts.
47883 * configure: Regenerated.
47884
d1d3431a
JM
478852012-03-07 Joseph Myers <joseph@codesourcery.com>
47886
af6a1e37
JM
47887 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47888 default includes instead of AC_HEADER_CHECK.
47889 * sysdeps/i386/configure: Regenerated.
47890
d1d3431a
JM
47891 [BZ #10716]
47892 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47893 * math/s_cacoshf.c (__cacoshf): Likewise.
47894 * math/s_cacoshl.c (__cacoshl): Likewise.
47895 * math/s_casinh.c (__casinh): Set signs of result from argument.
47896 * math/s_casinhf.c (__casinhf): Likewise.
47897 * math/s_casinhl.c (__casinhl): Likewise.
47898 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47899 (casinh_test): Add more tests.
47900 * sysdeps/i386/fpu/libm-test-ulps: Update.
47901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47902
482ff4da
UD
479032012-03-07 Ulrich Drepper <drepper@gmail.com>
47904
872fda05
UD
47905 * po/zh_TW.po: Update from translation team.
47906
a4300c7a
UD
47907 * login/Makefile (distribute): Remove variable.
47908 * catgets/Makefile: Likewise.
47909 * mach/Makefile: Likewise.
47910 * malloc/Makefile: Likewise.
47911 * misc/Makefile: Likewise.
47912 * iconv/Makefile: Likewise.
47913 * nscd/Makefile: Likewise.
47914 * hurd/Makefile: Likewise.
47915 * manual/Makefile: Likewise.
47916 * locale/Makefile: Likewise.
47917 * intl/Makefile: Likewise.
47918 * conform/Makefile: Likewise.
47919 * nss/Makefile: Likewise.
47920 * time/Makefile: Likewise.
47921 * soft-fp/Makefile: Likewise.
47922 * dirent/Makefile: Likewise.
47923 * gmon/Makefile: Likewise.
47924 * po/Makefile: Likewise.
47925 * rt/Makefile: Likewise.
47926 * socket/Makefile: Likewise.
47927 * math/Makefile: Likewise.
47928 * signal/Makefile: Likewise.
47929 * debug/Makefile: Likewise.
47930 * elf/Makefile: Likewise.
47931 * timezone/Makefile: Likewise.
47932 * stdlib/Makefile: Likewise.
47933 * iconvdata/Makefile: Likewise.
47934 * sunrpc/Makefile: Likewise.
47935 * io/Makefile: Likewise.
47936 * argp/Makefile: Likewise.
47937 * inet/Makefile: Likewise.
47938 * hesiod/Makefile: Likewise.
47939 * grp/Makefile: Likewise.
47940 * csu/Makefile: Likewise.
47941 * wctype/Makefile: Likewise.
47942 * crypt/Makefile: Likewise.
47943 * libio/Makefile: Likewise.
47944 * string/Makefile: Likewise.
47945 * nis/Makefile: Likewise.
47946 * resolv/Makefile: Likewise.
47947 * stdio-common/Makefile: Likewise.
47948 * wcsmbs/Makefile: Likewise.
47949 * dlfcn/Makefile: Likewise.
47950 * posix/Makefile: Likewise.
47951
3b7c4e74 47952 [BZ #6959]
482ff4da
UD
47953 * timezone/Makefile: Don't install timezone files, just the programs
47954 and scripts.
47955
f72ed77d
UD
479562012-03-06 Ulrich Drepper <drepper@gmail.com>
47957
a000466f
UD
47958 * nss/databases.def: Add missing gshadow entry.
47959
f72ed77d
UD
47960 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47961
a53b7a4e
MP
479622012-03-06 Marek Polacek <polacek@redhat.com>
47963
47964 [BZ #13726]
47965 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47966 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47967 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47968 * stdio-common/tst-long-dbl-fphex.c: New file.
47969
e9258400
DM
479702012-03-06 David S. Miller <davem@davemloft.net>
47971
47972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47973 (set_obp_int): New function.
47974 (get_obp_int): New function.
47975 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47977 Avoid unused variable warnings on 'val' and use builtin_expect.
47978 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47979 __builtin_expect.
e9258400
DM
47980 (INLINE_CLONE_SYSCALL): Likewise.
47981
3bd2c723
DM
479822012-03-05 David S. Miller <davem@davemloft.net>
47983
47984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47985
bbb78d03
AS
479862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47987
884c5db4
AS
47988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47989
bbb78d03
AS
47990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47991 only for |x| >= 40.
47992 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47993
1c9f702a 479942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47995
47996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47997 Replace gettimeofday with __vdso_gettimeofday.
47998
7be16f82
RM
47999 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48000 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48001 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48002
48003 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48004 time with __vdso_time.
48005
ed58a00f
JM
480062012-03-05 Joseph Myers <joseph@codesourcery.com>
48007
48008 * manual/lang.texi (size_t): Note types to which size_t may be
48009 equivalent with the GNU C Library, but do not describe when
48010 differences between them are significant.
48011
30ee4ced
AJ
480122012-03-05 Andreas Jaeger <aj@suse.de>
48013
48014 * sysdeps/i386/fpu/libm-test-ulps: Update.
48015
b7cd39e8
JM
480162012-03-05 Joseph Myers <joseph@codesourcery.com>
48017
48018 [BZ #3976]
48019 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48020 (__ieee754_pow): Save and restore rounding mode and use
48021 round-to-nearest for main computations.
48022 * math/libm-test.inc (pow_test_tonearest): New function.
48023 (pow_test_towardzero): Likewise.
48024 (pow_test_downward): Likewise.
48025 (pow_test_upward): Likewise.
48026 (main): Call the new functions.
48027 * sysdeps/i386/fpu/libm-test-ulps: Update.
48028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48029
48030 [BZ #3976]
48031 * math/libm-test.inc (cosh_test_tonearest): New function.
48032 (cosh_test_towardzero): Likewise.
48033 (cosh_test_downward): Likewise.
48034 (cosh_test_upward): Likewise.
48035 (sinh_test_tonearest): Likewise.
48036 (sinh_test_towardzero): Likewise.
48037 (sinh_test_downward): Likewise.
48038 (sinh_test_upward): Likewise.
48039 (main): Call the new functions.
48040 * sysdeps/i386/fpu/libm-test-ulps: Update.
48041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48042
6c6a98c9
TV
480432012-03-05 Tom de Vries <tom@codesourcery.com>
48044
48045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48046 default stack guard is set in last bytes.
48047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48048
21bb2d2e 480492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48050
21bb2d2e 48051 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48052
21bb2d2e
AJ
48053 [BZ #13656]
48054 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48055 possibly allocate from heap instead of stack.
48056 * stdio-common/bug-vfprintf-nargs.c: New file.
48057 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48058
c6922934
AS
480592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48060
48061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48062
bc957d53
MP
480632012-03-03 Marek Polacek <polacek@redhat.com>
48064
48065 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48066 * math/math_private.h: Likewise.
48067 * stdlib/tst-strtod.c: Likewise.
48068 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48069 * sysdeps/x86_64/bits/atomic.h: Likewise.
48070
6358490d
DM
480712012-03-02 David S. Miller <davem@davemloft.net>
48072
48073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48077 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48078 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48079 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48080 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48081
01ae168d
RM
480822012-03-02 Roland McGrath <roland@hack.frob.com>
48083
d9a17c07
RM
48084 [BZ #13792]
48085 * manual/examples/README: New file, says the example source files
48086 can be used under GPL>=2.
48087 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48088 line containing just "*/".
48089 * manual/examples/add.c: Add copyright header (GPL>=2).
48090 * manual/examples/argp-ex1.c: Likewise.
48091 * manual/examples/argp-ex2.c: Likewise.
48092 * manual/examples/argp-ex3.c: Likewise.
48093 * manual/examples/argp-ex4.c: Likewise.
48094 * manual/examples/atexit.c: Likewise.
48095 * manual/examples/db.c: Likewise.
48096 * manual/examples/dir.c: Likewise.
48097 * manual/examples/dir2.c: Likewise.
48098 * manual/examples/execinfo.c: Likewise.
48099 * manual/examples/filecli.c: Likewise.
48100 * manual/examples/filesrv.c: Likewise.
48101 * manual/examples/fmtmsgexpl.c: Likewise.
48102 * manual/examples/genpass.c: Likewise.
48103 * manual/examples/inetcli.c: Likewise.
48104 * manual/examples/inetsrv.c: Likewise.
48105 * manual/examples/isockad.c: Likewise.
48106 * manual/examples/longopt.c: Likewise.
48107 * manual/examples/memopen.c: Likewise.
48108 * manual/examples/memstrm.c: Likewise.
48109 * manual/examples/mkfsock.c: Likewise.
48110 * manual/examples/mkisock.c: Likewise.
48111 * manual/examples/mygetpass.c: Likewise.
48112 * manual/examples/pipe.c: Likewise.
48113 * manual/examples/popen.c: Likewise.
48114 * manual/examples/rprintf.c: Likewise.
48115 * manual/examples/search.c: Likewise.
48116 * manual/examples/select.c: Likewise.
48117 * manual/examples/setjmp.c: Likewise.
48118 * manual/examples/sigh1.c: Likewise.
48119 * manual/examples/sigusr.c: Likewise.
48120 * manual/examples/stpcpy.c: Likewise.
48121 * manual/examples/strdupa.c: Likewise.
48122 * manual/examples/strftim.c: Likewise.
48123 * manual/examples/strncat.c: Likewise.
48124 * manual/examples/subopt.c: Likewise.
48125 * manual/examples/swapcontext.c: Likewise.
48126 * manual/examples/termios.c: Likewise.
48127 * manual/examples/testopt.c: Likewise.
48128 * manual/examples/testpass.c: Likewise.
48129 * manual/examples/timeval_subtract.c: Likewise.
48130
01ae168d
RM
48131 [BZ #13792]
48132 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48133 function to ...
48134 * manual/timeval_subtract.c.texi: ... here, new file.
48135
49efa33d
DM
481362012-03-02 David S. Miller <davem@davemloft.net>
48137
48138 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48139
28afd92d
JM
481402012-03-02 Joseph Myers <joseph@codesourcery.com>
48141
804360ed
JM
48142 [BZ #3976]
48143 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48144 (__sin): Save and restore rounding mode and use round-to-nearest
48145 for all computations.
48146 (__cos): Save and restore rounding mode and use round-to-nearest
48147 for all computations.
48148 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48149 <fenv.h>.
48150 (tan): Save and restore rounding mode and use round-to-nearest for
48151 all computations.
48152 * math/libm-test.inc (cos_test_tonearest): New function.
48153 (cos_test_towardzero): Likewise.
48154 (cos_test_downward): Likewise.
48155 (cos_test_upward): Likewise.
48156 (sin_test_tonearest): Likewise.
48157 (sin_test_towardzero): Likewise.
48158 (sin_test_downward): Likewise.
48159 (sin_test_upward): Likewise.
48160 (tan_test_tonearest): Likewise.
48161 (tan_test_towardzero): Likewise.
48162 (tan_test_downward): Likewise.
48163 (tan_test_upward): Likewise.
48164 (main): Call the new functions.
48165 * sysdeps/i386/fpu/libm-test-ulps: Update.
48166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48167
a6d06d7b
JM
48168 [BZ #10135]
48169 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48170 small n, then large n, before computing and testing k+n.
48171 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48173 Likewise.
48174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48175 Likewise.
48176 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48177 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48182 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48184 * math/libm-test.inc (scalbn_test): Add more tests.
48185 (scalbln_test): Likewise.
48186
07e12bb3
JM
48187 * manual/filesys.texi (mode_t): Describe constraints on size and
48188 signedness, not exact equivalence to a particular type.
48189 (ino_t): Likewise.
48190 (ino64_t): Likewise.
48191 (dev_t): Likewise.
48192 (nlink_t): Likewise.
48193 (blkcnt_t): Likewise.
48194 (blkcnt64_t): Likewise.
48195 * manual/llio.texi (off_t): Likewise.
48196
28afd92d
JM
48197 [BZ #3976]
48198 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48199 (__ieee754_exp): Save and restore rounding mode and use
48200 round-to-nearest for all computations.
48201 * math/libm-test.inc (exp_test_tonearest): New function.
48202 (exp_test_towardzero): Likewise.
48203 (exp_test_downward): Likewise.
48204 (exp_test_upward): Likewise.
48205 (main): Call the new functions.
48206 * sysdeps/i386/fpu/libm-test-ulps: Update.
48207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48208
b1eeb65d
CD
482092012-03-01 Chris Demetriou <cgd@google.com>
48210
48211 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48212 have predictable order.
48213
53362a4b
DM
482142012-03-01 David S. Miller <davem@davemloft.net>
48215
3c969083
DM
48216 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48217
759707de
DM
48218 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48219 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48220 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48221 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48222
dfdb8ff2
DM
48223 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48224 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48225 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48227 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48228 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48229 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48230 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48231 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48232
ead89f96
DM
48233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48234
7f66bd07
DM
48235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48236 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48238
53362a4b
DM
48239 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48240 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48241 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48242 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48243 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48247 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48248 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48249 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48250 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48255 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48256 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48257 * sysdeps/sparc/elf/configure: Regenerated.
48258
7b1902cb
JM
482592012-03-01 Joseph Myers <joseph@codesourcery.com>
48260
bec039bc
JM
48261 * configure.in (AS, LD): Require binutils 2.20 or later.
48262 * configure: Regenerated.
48263 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48264 as required minimum version.
48265 * INSTALL: Regenerated.
48266
7b1902cb
JM
48267 [BZ #2541]
48268 [BZ #4108]
48269 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48270 before squaring exponent.
48271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48272 bottom long double and 27 bits of top long double before squaring
48273 exponent.
48274 * math/libm-test.inc (erfc_test): Add more tests.
48275 * sysdeps/i386/fpu/libm-test-ulps: Update.
48276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48278
f775c276
KT
482792012-03-01 Kai Tietz <ktietz@redhat.com>
48280
48281 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48282 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48283 containing bit-fields.
48284 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48285 * soft-fp/single.h (_FP_UNION_S): Likewise.
48286 * soft-fp/double.h (_FP_UNION_D): Likewise.
48287
5b8a4d4a
JM
482882012-02-29 Joseph Myers <joseph@codesourcery.com>
48289
0bab47b6
JM
48290 [BZ #13786]
48291 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48292 not include ../strcmp.S.
48293 [USE_AS_STRNCASECMP_L]: Likewise.
48294 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48295 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48296 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48297 (__strncasecmp_l_ia32): Define as alias to
48298 __strncasecmp_l_nonascii.
48299
0fcad3e2
JM
48300 [BZ #5794]
48301 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48302 * sysdeps/i386/fpu/libm-test-ulps: Update.
48303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48304
5b8a4d4a
JM
48305 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48307
8fdceb2e
JL
483082012-02-29 Jeff Law <law@redhat.com>
48309
48310 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48311 out of bounds read.
48312
1f393a11
MP
483132012-02-29 Marek Polacek <polacek@redhat.com>
48314
48315 [BZ #13706]
48316 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48317 * elf/Makefile: Add rules to run tst-unused-dep.out.
48318
8847f037
DM
483192012-02-28 David S. Miller <davem@davemloft.net>
48320
48321 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48322 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48327
169d7f11
JM
483282012-02-29 Joseph Myers <joseph@codesourcery.com>
48329
48330 * math/libm-test.inc (llround_test): Move one test from
48331 lround_test. Use TEST_f_L in moved test.
48332 (lround_test): Move misplaced test to llround_test. Add testcase
48333 from bug 2561.
48334
39adf059
UD
483352012-02-28 Ulrich Drepper <drepper@gmail.com>
48336
48337 * sysdeps/x86_64/fpu/e_expf.S: New file.
48338 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48339
71b5d1c5
SB
483402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48341
48342 [BZ #13637]
48343 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48344 of remain_len that may cause incomplete multi-byte character and
48345 false match.
48346 * posix/bug-regex33.c: New file.
48347 * posix/Makefile (tests): Add bug-regex33.
48348
1f77f049
JM
483492012-02-28 Joseph Myers <joseph@codesourcery.com>
48350
48351 * manual/macros.texi: New file.
48352 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48353 * manual/libc.texinfo: Include macros.texi.
48354 * manual/creatute.texi: Likewise.
48355 * manual/install.texi: Likewise.
48356 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48357 @glibcadj{} in references to the GNU C Library.
48358 * manual/charset.texi: Likewise.
48359 * manual/conf.texi: Likewise.
48360 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48361 when not using those macros.
48362 * manual/creature.texi: Likewise.
48363 * manual/crypt.texi: Likewise.
48364 * manual/errno.texi: Likewise.
48365 * manual/filesys.texi: Likewise.
48366 * manual/header.texi: Likewise.
48367 * manual/install.texi: Likewise.
48368 * manual/intro.texi: Likewise.
48369 * manual/io.texi: Likewise.
48370 * manual/job.texi: Likewise.
48371 * manual/lang.texi: Likewise.
48372 * manual/libc.texiinfo: Likewise.
48373 * manual/llio.texi: Likewise.
48374 * manual/locale.texi: Likewise.
48375 * manual/maint.texi: Likewise.
48376 * manual/math.texi: Likewise.
48377 * manual/memory.texi: Likewise.
48378 * manual/message.texi: Likewise.
48379 * manual/nss.texi: Likewise.
48380 * manual/pattern.texi: Likewise.
48381 * manual/process.texi: Likewise.
48382 * manual/resource.texi: Likewise.
48383 * manual/search.texi: Likewise.
48384 * manual/setjmp.texi: Likewise.
48385 * manual/signal.texi: Likewise.
48386 * manual/socket.texi: Likewise.
48387 * manual/startup.texi: Likewise.
48388 * manual/stdio.texi: Likewise.
48389 * manual/string.texi: Likewise.
48390 * manual/sysinfo.texi: Likewise.
48391 * manual/syslog.texi: Likewise.
48392 * manual/terminal.texi: Likewise.
48393 * manual/time.texi: Likewise.
48394 * manual/users.texi: Likewise.
48395 * INSTALL: Regenerated.
48396 * NOTES: Regenerated.
d40c5d54 48397 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48398
450bf206
AS
483992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48400
48401 * include/dirent.h: Include <dirstream.h> before
48402 <dirent/dirent.h>.
48403
741a235b
DM
484042012-02-28 David S. Miller <davem@davemloft.net>
48405
48406 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48407 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48408 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48409 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48410
d6b5aa58
DM
484112012-02-27 David S. Miller <davem@davemloft.net>
48412
1aff59a3
DM
48413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48415 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48416 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48417
d6b5aa58
DM
48418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48419 frame pointer instead of stack pointer relative arg slot.
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48421 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48422 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48423
433f48bf
CD
484242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48425
48426 [BZ #3992]
48427 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48428
d674b76d
DM
484292012-02-27 David S. Miller <davem@davemloft.net>
48430
48431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48435 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48436 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48437 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48438 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48439
0e7727f7
JM
484402012-02-27 Joseph Myers <joseph@codesourcery.com>
48441
48442 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48443 later. Allow versions 5-9.
43be4ca2 48444 * configure: Regenerated.
0e7727f7
JM
48445 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48446 required minimum version and 4.6 as recommended version. Do not
48447 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48448 * INSTALL: Regenerated.
0e7727f7 48449
a78bc654
DM
484502012-02-27 David S. Miller <davem@davemloft.net>
48451
428d5830
DM
48452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48458 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48460
a78bc654
DM
48461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48462 manipulate bits before adding and subtracting TWO112[sx].
48463 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48464
4579f81c
RM
484652012-02-27 Roland McGrath <roland@hack.frob.com>
48466
36c8acb4
RM
48467 [BZ #13775]
48468 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48469 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48470 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48471 being in POSIX, because they are in 1003.1-2008.
48472
84ad622b
RM
48473 * rt/tst-aio.c: Include <fcntl.h>.
48474 * rt/tst-aio7.c: Likewise.
48475 * rt/tst-aio64.c: Likewise.
48476
4579f81c
RM
48477 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48478
abd923db
JM
484792012-02-27 Joseph Myers <joseph@codesourcery.com>
48480
48481 * manual/install.texi (--with-headers): Describe headers as
48482 interface headers, not private headers.
48483 (Specific advice for GNU/Linux systems): Describe use of headers
48484 from "make headers_install", not private headers from older
48485 kernels.
43be4ca2 48486 * INSTALL: Regenerated.
abd923db
JM
48487 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48488 Change to 2.6.19.
48489 * sysdeps/unix/sysv/linux/configure: Regenerated.
48490
6664049b
JM
48491 * manual/llio.texi (fclean): Remove documentation.
48492
bb8b6697
JM
48493 * manual/Makefile (libc-texi-generated): New variable. Include
48494 version.texi.
48495 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48496 $(libc-texi-generated), not duplicated list of files.
48497 (version.texi, stamp-version): New rules.
48498 (realclean): Remove $(libc-texi-generated), not individual files
48499 from that list. Do not remove dir-add.texinfo.
48500 * manual/libc.texinfo: Comment out uses of edition numbers and
48501 references to printed manual. Remove last-updated dates.
48502 (EDITION): Comment out.
48503 (ISBN): Likewise.
48504 (VERSION, UPDATED): Remove.
48505 (version.texi): Include.
48506
12e5c3b9
AS
485072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48508
48509 * sysdeps/posix/spawni.c: Include <signal.h>.
48510 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48511 * sysdeps/pthread/aio_fsync.c: Likewise.
48512
4efeffc1 485132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48514
ba63ba08
UD
48515 * conform/Makefile (tests): Run only when not cross-compiling and
48516 when fast-check is not defined.
48517
d94a4670
UD
48518 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48519 * conform/data/limits.h-data: Fixes for POSIX2008.
48520 * conform/run-conformtest.sh: Run all tests.
48521 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48522 headers.
48523 * include/bits/dlfcn.h: Likewise.
48524 * include/langinfo.h: Likewise.
48525 * include/monetary.h: Likewise.
48526 * include/sys/poll.h: Likewise.
48527
48528 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48529 for __USE_GNU.
48530 * posix/spawn.h: Define __need_sigset_t.
48531 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48532 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48533 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48534 to get sigevent_t only.
48535 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48536 only for __USE_GNU.
48537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48538 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48539 process_vm_writev only for __USE_GNU.
48540 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48541
48542 * conform/Makefile: For now ignore errors from run-conformtest.
48543 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48544 POSIX to avoid namespace pollution. Don't prepend headers.
48545 * conform/data/aio.h-data: Fixes for POSIX testing.
48546 * conform/data/fcntl.h-data: Likewise.
48547 * conform/data/glob.h-data: Likewise.
48548 * conform/data/grp.h-data: Likewise.
48549 * conform/data/pthread.h-data: Likewise.
48550 * conform/data/pwd.h-data: Likewise.
48551 * conform/data/signal.h-data: Likewise.
48552 * conform/data/spawn.h-data: Likewise.
48553 * conform/data/stdio.h-data: Likewise.
48554 * conform/data/stdlib.h-data: Likewise.
48555 * conform/data/stropts.h-data: Likewise.
48556 * conform/data/sys/mman.h-data: Likewise.
48557 * conform/data/sys/stat.h-data: Likewise.
48558 * conform/data/sys/types.h-data: Likewise.
48559 * conform/data/sys/wait.h-data: Likewise.
48560 * conform/data/time.h-data: Likewise.
48561 * conform/data/unistd.h-data: Likewise.
48562 * conform/data/utime.h-data: Likewise.
48563
48564 * io/sys/stat.h: fchmod was always in POSIX.
48565 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48566 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48567 * rt/aio.h: Define __need_timespec before including <time.h>.
48568 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48569 struct. Add forward declaration of pthread_attr_t and use it in
48570 sigevent.
48571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48572 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48573 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48574 always remove CLK_TCK definition.
48575
c20105c3
AS
485762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48577
48578 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48579
7a270350
UD
485802012-02-25 Ulrich Drepper <drepper@gmail.com>
48581
31341567
UD
48582 * conform/run-conformtest.sh: New file.
48583 * conform/Makefile: Run run-conformtest for tests.
48584 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48585 support.
48586
48587 * conform/data/uchar.h-data: New file.
48588 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48589 * conform/data/arpa/inet.h-data: Likewise.
48590 * conform/data/assert.h-data: Likewise.
48591 * conform/data/complex.h-data: Likewise.
48592 * conform/data/cpio.h-data: Likewise.
48593 * conform/data/ctype.h-data: Likewise.
48594 * conform/data/dirent.h-data: Likewise.
48595 * conform/data/dlfcn.h-data: Likewise.
48596 * conform/data/errno.h-data: Likewise.
48597 * conform/data/fcntl.h-data: Likewise.
48598 * conform/data/float.h-data: Likewise.
48599 * conform/data/fmtmsg.h-data: Likewise.
48600 * conform/data/fnmatch.h-data: Likewise.
48601 * conform/data/ftw.h-data: Likewise.
48602 * conform/data/glob.h-data: Likewise.
48603 * conform/data/grp.h-data: Likewise.
48604 * conform/data/iconv.h-data: Likewise.
48605 * conform/data/inttypes.h-data: Likewise.
48606 * conform/data/langinfo.h-data: Likewise.
48607 * conform/data/libgen.h-data: Likewise.
48608 * conform/data/limits.h-data: Likewise.
48609 * conform/data/locale.h-data: Likewise.
48610 * conform/data/math.h-data: Likewise.
48611 * conform/data/monetary.h-data: Likewise.
48612 * conform/data/mqueue.h-data: Likewise.
48613 * conform/data/ndbm.h-data: Likewise.
48614 * conform/data/net/if.h-data: Likewise.
48615 * conform/data/netdb.h-data: Likewise.
48616 * conform/data/netinet/in.h-data: Likewise.
48617 * conform/data/nl_types.h-data: Likewise.
48618 * conform/data/poll.h-data: Likewise.
48619 * conform/data/pthread.h-data: Likewise.
48620 * conform/data/pwd.h-data: Likewise.
48621 * conform/data/regex.h-data: Likewise.
48622 * conform/data/sched.h-data: Likewise.
48623 * conform/data/search.h-data: Likewise.
48624 * conform/data/semaphore.h-data: Likewise.
48625 * conform/data/setjmp.h-data: Likewise.
48626 * conform/data/signal.h-data: Likewise.
48627 * conform/data/spawn.h-data: Likewise.
48628 * conform/data/stdarg.h-data: Likewise.
48629 * conform/data/stdio.h-data: Likewise.
48630 * conform/data/stdlib.h-data: Likewise.
48631 * conform/data/string.h-data: Likewise.
48632 * conform/data/strings.h-data: Likewise.
48633 * conform/data/stropts.h-data: Likewise.
48634 * conform/data/sys/ipc.h-data: Likewise.
48635 * conform/data/sys/mman.h-data: Likewise.
48636 * conform/data/sys/msg.h-data: Likewise.
48637 * conform/data/sys/resource.h-data: Likewise.
48638 * conform/data/sys/select.h-data: Likewise.
48639 * conform/data/sys/sem.h-data: Likewise.
48640 * conform/data/sys/shm.h-data: Likewise.
48641 * conform/data/sys/socket.h-data: Likewise.
48642 * conform/data/sys/stat.h-data: Likewise.
48643 * conform/data/sys/statvfs.h-data: Likewise.
48644 * conform/data/sys/time.h-data: Likewise.
48645 * conform/data/sys/timeb.h-data: Likewise.
48646 * conform/data/sys/times.h-data: Likewise.
48647 * conform/data/sys/types.h-data: Likewise.
48648 * conform/data/sys/uio.h-data: Likewise.
48649 * conform/data/sys/un.h-data: Likewise.
48650 * conform/data/sys/utsname.h-data: Likewise.
48651 * conform/data/sys/wait.h-data: Likewise.
48652 * conform/data/syslog.h-data: Likewise.
48653 * conform/data/tar.h-data: Likewise.
48654 * conform/data/termios.h-data: Likewise.
48655 * conform/data/utime.h-data: Likewise.
48656 * conform/data/utmpx.h-data: Likewise.
48657 * conform/data/varargs.h-data: Likewise.
48658 * conform/data/wchar.h-data: Likewise.
48659 * conform/data/wctype.h-data: Likewise.
48660 * conform/data/wordexp.h-data: Likewise.
48661
48662 * include/stropts.h: New file.
48663 * include/uchar.h: New file.
48664 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48665 * include/assert.h: Likewise.
48666 * include/ctype.h: Likewise.
48667 * include/dirent.h: Likewise.
48668 * include/dlfcn.h: Likewise.
48669 * include/fcntl.h: Likewise.
48670 * include/fnmatch.h: Likewise.
48671 * include/glob.h: Likewise.
48672 * include/grp.h: Likewise.
48673 * include/libio.h: Likewise.
48674 * include/locale.h: Likewise.
48675 * include/math.h: Likewise.
48676 * include/net/if.h: Likewise.
48677 * include/netdb.h: Likewise.
48678 * include/netinet/in.h: Likewise.
48679 * include/pthread.h: Likewise.
48680 * include/pwd.h: Likewise.
48681 * include/regex.h: Likewise.
48682 * include/sched.h: Likewise.
48683 * include/search.h: Likewise.
48684 * include/setjmp.h: Likewise.
48685 * include/signal.h: Likewise.
48686 * include/stdio.h: Likewise.
48687 * include/stdlib.h: Likewise.
48688 * include/string.h: Likewise.
48689 * include/sys/cdefs.h: Likewise.
48690 * include/sys/mman.h: Likewise.
48691 * include/sys/msg.h: Likewise.
48692 * include/sys/resource.h: Likewise.
48693 * include/sys/select.h: Likewise.
48694 * include/sys/socket.h: Likewise.
48695 * include/sys/stat.h: Likewise.
48696 * include/sys/statvfs.h: Likewise.
48697 * include/sys/time.h: Likewise.
48698 * include/sys/times.h: Likewise.
48699 * include/sys/uio.h: Likewise.
48700 * include/sys/utsname.h: Likewise.
48701 * include/sys/wait.h: Likewise.
48702 * include/termios.h: Likewise.
48703 * include/time.h: Likewise.
48704 * include/ulimit.h: Likewise.
48705 * include/unistd.h: Likewise.
48706 * include/utime.h: Likewise.
48707 * include/wchar.h: Likewise.
48708 * include/wctype.h: Likewise.
48709 * include/wordexp.h: Likewise.
48710
48711 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48712
7a270350
UD
48713 * time/time.h: TIME_UTC must be a macro.
48714 Make timespec_get available for ISO C11 only as well.
48715
7724defc
UD
487162012-02-24 Ulrich Drepper <drepper@gmail.com>
48717
48718 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48719 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48720
6b1d1d46
JM
487212012-02-24 Joseph Myers <joseph@codesourcery.com>
48722
48723 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48724
0f8bbd69
JM
487252012-02-24 Joseph Myers <joseph@codesourcery.com>
48726
48727 * manual/texinfo.tex: Update to version 2012-01-19.16.
48728
66ab80bc
JM
487292012-02-24 Joseph Myers <joseph@codesourcery.com>
48730
48731 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48732
74981cc5
RM
487332012-02-24 Roland McGrath <roland@hack.frob.com>
48734
ee968201
RM
48735 [BZ #13738]
48736 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48737 * manual/fdl-1.3.texi: New file.
48738 * manual/fdl-1.1.texi: File removed.
48739
74981cc5
RM
48740 [BZ #13738]
48741 * manual/libc.texinfo (FDL_VERSION): New @set.
48742 Use it for mention of FDL in cover text.
48743 (Documentation License): Use it in @include file name.
48744
7bb764bc
JM
487452012-02-22 Joseph Myers <joseph@codesourcery.com>
48746 Roland McGrath <roland@hack.frob.com>
48747
48748 [BZ #5461]
57f41c40
AS
48749 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48750 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48751 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48752 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48753 name.
48754 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48755
6cbeae47
JM
487562012-02-22 Joseph Myers <joseph@codesourcery.com>
48757
48758 [BZ #2547]
48759 [BZ #11365]
48760 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48761 manipulate bits before adding and subtracting TWO23[sx].
48762 * math/libm-test.inc (nearbyint_test): Add more tests.
48763
fe45ce09
JM
487642012-02-22 Joseph Myers <joseph@codesourcery.com>
48765
48766 [BZ #2548]
48767 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48768 bits before adding and subtracting TWO23[sx].
48769 * math/libm-test.inc (rint_test): Add more tests.
48770 (rint_test_tonearest): Likewise.
48771 (rint_test_towardzero): Likewise.
48772 (rint_test_downward): Likewise.
48773 (rint_test_upward: Likewise.
48774
ff3b3d82
JM
487752012-02-22 Joseph Myers <joseph@codesourcery.com>
48776
48777 [BZ #10110]
48778 * include/stdc-predef.h: New file. Extracted from features.h.
48779 * include/features.h: Include stdc-predef.h.
48780 * Makefile (headers): Add stdc-predef.h.
48781 * CONFORMANCE (Compiler limitations): Update.
48782
ef0aab35
JM
487832012-02-22 Joseph Myers <joseph@codesourcery.com>
48784
48785 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48786
58639409
DM
487872012-02-21 David S. Miller <davem@davemloft.net>
48788
48789 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48791
c0e70b25
DM
487922012-02-20 David S. Miller <davem@davemloft.net>
48793
48794 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48795 using a normal save/restore sequence, rather than allocating a
48796 dummy stack frame just to store a frame pointer and restore.
48797 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48798
fb06851d
JM
487992012-02-21 Joseph Myers <joseph@codesourcery.com>
48800
48801 * manual/install.texi: Fix stray word in line-wrapped comment.
48802
7a8b71c3
DM
488032012-02-20 David S. Miller <davem@davemloft.net>
48804
d510c123
DM
48805 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48806 both binutils and gcc support GOTDATA.
48807
0722d7c2
DM
48808 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48809 "rd %pc" in the PIC register setup sequences.
48810
3d2b3019
DM
48811 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48812 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48813 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48814 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48815 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48820 (SYSCALL_ERROR_HANDLER): Likewise.
48821 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48822 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48824 (SYSCALL_ERROR_HANDLER): Likewise.
48825
c80098a9
DM
48826 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48827 (HAVE_GCC_GOTDATA): New.
48828 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48829 relocation support in both binutils and gcc.
48830 * sysdeps/sparc/elf/configure: Regenerate.
48831
3a2545a0
DM
48832 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48833 * sysdeps/sparc/sparc32/elf/configure: Delete.
48834 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48835 * sysdeps/sparc/sparc64/elf/configure: Delete.
48836 * sysdeps/sparc/elf/configure.in: New file.
48837 * sysdeps/sparc/elf/configure: Generate.
48838
7a8b71c3
DM
48839 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48840 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48841 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48842 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48843 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48844
f1e86fca
JM
488452012-02-21 Joseph Myers <joseph@codesourcery.com>
48846
48847 * manual/install.texi: Do not mention specific glibc version
48848 numbers.
48849 * manual/libc.texinfo (VERSION, UPDATED): Update.
48850 (@copying): Use @copyright{} and range of years.
48851
0e7dfaef
JM
488522012-02-21 Joseph Myers <joseph@codesourcery.com>
48853
48854 [BZ #13695]
48855 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48856 [crti.S not in sysdirs] (generated): Do not append.
48857 [crti.S not in sysdirs] (omit-deps): Likewise.
48858 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48859 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48860 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48861 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48862 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48863 Likewise.
48864 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48865 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48866 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48867 * csu/defs.awk: Remove file.
48868 * sysdeps/generic/initfini.c: Likewise.
48869 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48870 variable.
48871 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48872 Likewise.
48873
599af3ca
JM
488742012-02-20 Joseph Myers <joseph@codesourcery.com>
48875
48876 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48877 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48878 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48879 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48881 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48882 <bits/epoll.h>.
48883 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48884 (__EPOLL_PACKED): Define to empty if not defined by
48885 <bits/epoll.h>.
48886 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48888 bits/epoll.h.
48889
0e499750
JM
488902012-02-20 Joseph Myers <joseph@codesourcery.com>
48891
48892 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48893 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48894 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48895 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48896 <bits/timerfd.h>.
48897 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48899 bits/timerfd.h.
48900
5ad91f6e
JM
489012012-02-20 Joseph Myers <joseph@codesourcery.com>
48902
48903 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48904 in C locale.
48905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48909
06b99b02
AJ
489102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48911
48912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48913 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48914
7638c0fd
AS
489152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48916
48917 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48918 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48919 defined.
48920 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48921 Likewise.
48922 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48923 entry for 2.16.
48924
92221550
AJ
489252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48926
48927 * math/w_acos.c: Use non-signaling floating-point comparisons.
48928 * math/w_acosf.c: Likewise.
48929 * math/w_acosh.c: Likewise.
48930 * math/w_acoshf.c: Likewise.
48931 * math/w_acoshl.c: Likewise.
48932 * math/w_acosl.c: Likewise.
48933 * math/w_asin.c: Likewise.
48934 * math/w_asinf.c: Likewise.
48935 * math/w_asinl.c: Likewise.
48936 * math/w_atanh.c: Likewise.
48937 * math/w_atanhf.c: Likewise.
48938 * math/w_atanhl.c: Likewise.
48939 * math/w_exp2.c: Likewise.
48940 * math/w_exp2f.c: Likewise.
48941 * math/w_exp2l.c: Likewise.
48942 * math/w_j0.c: Likewise.
48943 * math/w_j0f.c: Likewise.
48944 * math/w_j0l.c: Likewise.
48945 * math/w_j1.c: Likewise.
48946 * math/w_j1f.c: Likewise.
48947 * math/w_j1l.c: Likewise.
48948 * math/w_jn.c: Likewise.
48949 * math/w_jnf.c: Likewise.
48950 * math/w_log.c: Likewise.
48951 * math/w_log10.c: Likewise.
48952 * math/w_log10f.c: Likewise.
48953 * math/w_log10l.c: Likewise.
48954 * math/w_log2.c: Likewise.
48955 * math/w_log2f.c: Likewise.
48956 * math/w_log2l.c: Likewise.
48957 * math/w_logf.c: Likewise.
48958 * math/w_logl.c: Likewise.
48959 * math/w_sqrt.c: Likewise.
48960 * math/w_sqrtf.c: Likewise.
48961 * math/w_sqrtl.c: Likewise.
48962 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48963 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48966 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48967
ebaf36eb
JM
489682012-02-19 Joseph Myers <joseph@codesourcery.com>
48969
48970 [BZ #9739]
48971 * manual/string.texi (strnlen): Use correct parameter name in
48972 equivalent expression.
48973
71c254a6
JM
489742012-02-19 Joseph Myers <joseph@codesourcery.com>
48975
48976 [BZ #11174]
48977 * manual/users.texi (seteuid): Consistently use neweuid for
48978 argument name.
48979
16d2c631
JM
489802012-02-19 Joseph Myers <joseph@codesourcery.com>
48981
48982 [BZ #13704]
48983 * manual/nss.texi (Services in the NSS configuration): Correct
48984 list of services in example configuration file.
48985
cd837b09
NB
489862012-02-19 Nick Bowler <nbowler@draconx.ca>
48987
48988 [BZ #11322]
48989 * manual/arith.texi: Remove statements about negative zero
48990 behaving identically to zero.
48991
02c4bbad
JM
489922012-02-18 Joseph Myers <joseph@codesourcery.com>
48993
48994 [BZ #5993]
48995 * manual/install.texi: Do not document upgrading from libc5.
48996
366842e7
JM
489972012-02-18 Joseph Myers <joseph@codesourcery.com>
48998
48999 [BZ #4596]
49000 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49001
dd54084d
DM
490022012-02-18 David S. Miller <davem@davemloft.net>
49003
49004 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49005 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49006 %o7 across the call.
49007 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49008 instead.
49009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49010 SETUP_PIC_REG_LEAF.
49011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49012 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49013 * sysdeps/sparc/crtn.S: Likewise.
49014
2bcc53a3
UD
490152012-02-17 Ulrich Drepper <drepper@gmail.com>
49016
49017 * aout/Makefile: Remove.
49018
09c093b5
RK
490192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49020
49021 [BZ #13058]
49022 * manual/examples/argp-ex1.c (main): Format definition in GNU
49023 style.
49024 * manual/examples/argp-ex2.c (main): Likewise.
49025 * manual/examples/argp-ex3.c (main): Likewise.
49026 * manual/examples/argp-ex4.c (main): Likewise.
49027 * manual/examples/longopt.c (main): Use new-style prototype
49028 definition.
49029 * manual/examples/strncat.c (main): Specify return type and use
49030 (void) for arguments.
49031 * manual/examples/subopt.c (main): Use char **argv argument.
49032
2ee633a2
JM
490332012-02-17 Joseph Myers <joseph@codesourcery.com>
49034
49035 [BZ #5077]
49036 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49037 rounding modes.
49038
0520adde
FB
490392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49040
49041 [BZ #6907]
49042 * manual/string.texi (strchr): Change when strchrnul is
49043 recommended.
49044
3f4081cd
DGM
490452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49046
49047 [BZ #174]
49048 * manual/locale.texi (setlocale): Document LOCPATH.
49049
d1b10e78
JM
490502012-02-17 Joseph Myers <joseph@codesourcery.com>
49051
49052 [BZ #10210]
49053 * manual/process.texi (execle): Move @dots{} before last argument.
49054
79c6869c
PB
490552012-02-17 Paul Bolle <pebolle@tiscali.nl>
49056
49057 [BZ #12047]
49058 * manual/charset.texi (Generic Charset Conversion): Fix typo
49059 (LC_TYPE -> LC_CTYPE).
49060
cc6e48bc
NB
490612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49062
49063 [BZ #5805]
49064 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49065 (scalbnf): Likewise.
49066 (scalbnl): Likewise.
49067 (scalbln): Likewise.
49068 (scalblnf): Likewise.
49069 (scalblnl): Likewise.
49070 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49071 (vwarnx): Likewise.
49072 (verr): Likewise.
49073 (verrx): Likewise.
49074 * manual/filesys.texi (telldir): Use braces around return type.
49075 * manual/llio.texi (mmap): Add space after comma.
49076 (mmap64): Likewise.
49077 * manual/math.texi (jn): Use @var{} on parameter names.
49078 (jnf): Likewise.
49079 (jnl): Likewise.
49080 (yn): Likewise.
49081 (ynf): Likewise.
49082 (ynl): Likewise.
49083 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49084 line.
49085 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49086 "...".
49087 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49088 (sched_get_priority_max): Likewise.
49089 * manual/signal.texi (sigvec): Add space after comma.
49090 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49091 names.
49092 (if_indextoname): Likewise.
49093 (if_freenameindex): Likewise.
49094 (sendto): Use ',' instead of '.' in prototype.
49095 * manual/startup.texi (syscall): Use @dots{} instead of literal
49096 "...".
49097 * manual/stdio.texi (__fpending): Separate initial words of
49098 paragraph from @deftypefun line.
49099 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49100 "...".
49101 (vsyslog): Use @var{} on parameter names.
49102 * manual/terminal.texi (stty): Use @var{} on parameter names.
49103 * manual/users.texi (getutmp): Use @var{} on parameter names.
49104 (getutmpx): Likewise.
49105
5b23062f
JM
491062012-02-17 Joseph Myers <joseph@codesourcery.com>
49107
49108 [BZ #6884]
49109 * manual/stdio.texi (fopen): Fix typos in description of
49110 ",ccs=STRING".
49111
8dee4833
AJ
491122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49113
49114 [BZ #4026]
49115 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49116 get clock_id definition.
49117
9078ce93
TS
491182012-02-17 Thomas Schwinge <thomas@schwinge.name>
49119
49120 [BZ #4822]
49121 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49122 (madvise): Cast every argument to void on its own.
49123
3835c55f
JM
491242012-02-17 Joseph Myers <joseph@codesourcery.com>
49125
49126 [BZ #9902]
49127 * manual/startup.texi (Exit Status): Fix typo.
49128
35c47e37
JM
491292012-02-17 Joseph Myers <joseph@codesourcery.com>
49130
49131 [BZ #10140]
49132 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49133 * manual/examples/argp-ex2.c: Likewise.
49134 * manual/examples/argp-ex3.c: Likewise.
49135
e3b69ca7
RH
491362012-02-16 Richard Henderson <rth@redhat.com>
49137
49138 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49139 * sysdeps/s390/s390-32/initfini.c: Remove.
49140 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49141 * sysdeps/s390/s390-64/initfini.c: Remove.
49142
df83af67
KK
491432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49144
49145 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49146 compiler output for sysdeps/generic/initfini.c.
49147 * sysdeps/sh/elf/initfini.c: Remove file.
49148
f63f3380
DM
491492012-02-16 David S. Miller <davem@davemloft.net>
49150
fb59b3a4
DM
49151 [BZ #11494]
49152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49153
f63f3380
DM
49154 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49155 * sysdeps/sparc/crti.S: New file.
49156 * sysdeps/sparc/crtn.S: New file.
49157 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49158 * sysdeps/sparc/sparc64/Makefile: Likewise.
49159
df6a4a4a
MF
491602012-02-15 Mike Frysinger <vapier@gentoo.org>
49161
6dd8f3dc 49162 [BZ #3335]
df6a4a4a
MF
49163 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49164
1cac7236
RM
491652012-02-15 Roland McGrath <roland@hack.frob.com>
49166
d2c736f8
RM
49167 [BZ #4822]
49168 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49169
1cac7236
RM
49170 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49171 (write, read, close): Likewise.
49172 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49173
8e475601
JM
491742012-02-15 Joseph Myers <joseph@codesourcery.com>
49175
49176 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49177 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49178 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49179 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49180 <bits/signalfd.h>.
49181 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49183 bits/signalfd.h.
49184
ed656b40
MP
491852012-02-14 Marek Polacek <polacek@redhat.com>
49186
49187 * sysdeps/x86_64/crti.S: New file.
49188 * sysdeps/x86_64/crtn.S: New file.
49189 * sysdeps/x86_64/elf/initfini.c: Remove file.
49190
2a979d3a
JM
491912012-02-13 Joseph Myers <joseph@codesourcery.com>
49192
49193 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49194 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49195 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49196 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49197 <bits/inotify.h>.
49198 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49200 bits/inotify.h.
49201
2a418ac3
JM
492022012-02-13 Joseph Myers <joseph@codesourcery.com>
49203
49204 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49205 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49206 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49207 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49208 <bits/eventfd.h>.
49209 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49211 bits/eventfd.h.
49212
fb779be7
TS
492132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49214
e19e83c5
RM
49215 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49216 __feraiseexcept instead of feraiseexcept.
7c35ffed 49217
fb779be7
TS
49218 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49219 nanosleep invocations.
49220 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49221 strings, and add error checking for a nanosleep invocations.
49222
59ba27a6
PE
492232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49224
49225 Replace FSF snail mail address with URLs, as per GNU coding standards.
49226 Most of the snail mail addresses were wrong anyway, and omitting
49227 them makes the source code easier to maintain. Almost all of the
49228 changes are to license notices and to locale LC_IDENTIFICATION
49229 addresses, except for this one:
49230 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49231 not its snail mail address.
49232
57b957eb
RH
492332012-02-09 Richard Henderson <rth@twiddle.net>
49234
af850b1c
RH
49235 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49236 of kernel-features.h.
49237
57b957eb
RH
49238 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49239
6b73181a
MP
492402012-02-08 Marek Polacek <polacek@redhat.com>
49241
49242 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49243 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49244 * sysdeps/gnu/_G_config.h: Likewise.
49245 * sysdeps/generic/_G_config.h: Likewise.
49246
26ecc33a
AS
492472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49248
6c6dbc63
AS
49249 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49250 tests.
49251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49252
e216c012
AS
49253 * sysdeps/powerpc/powerpc32/crti.S: New file.
49254 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49255 * sysdeps/powerpc/powerpc64/crti.S: New file.
49256 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49257
26ecc33a
AS
49258 * Makeconfig (have-initfini): Don't set.
49259 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49260 * configure.in (nopic_initfini): Don't substitute.
49261 * config.h.in (HAVE_INITFINI): Don't #undef.
49262 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49263 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49264
3add8e13
JM
492652012-02-08 Joseph Myers <joseph@codesourcery.com>
49266
49267 Support crti.S and crtn.S provided directly by architectures.
49268 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49269 [crti.S in sysdirs] (omit-deps): Likewise.
49270 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49271 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49272 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49273 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49274 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49275 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49276 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49277 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49278 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49279 compiler output for sysdeps/generic/initfini.c.
49280 * sysdeps/i386/elf/Makefile: Remove file.
49281 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49282
a22f12b4
MP
492832012-02-07 Marek Polacek <polacek@redhat.com>
49284
49285 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49286 * sysdeps/gnu/_G_config.h: Likewise.
49287 * sysdeps/mach/hurd/_G_config.h: Likewise.
49288
148cf100
MP
492892012-02-07 Marek Polacek <polacek@redhat.com>
49290
49291 * math/Makefile (tests): Add tst-CMPLX2.
49292 * math/tst-CMPLX2.c: New file.
49293
cfdc0dd7
AS
492942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49295
84ba42c4
AS
49296 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49297
cfdc0dd7
AS
49298 * math/libm-test.inc (jn_test): Add missing L suffix.
49299
622c86f4
MP
493002012-02-06 Marek Polacek <polacek@redhat.com>
49301
49302 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49303 * sysdeps/i386/fpu/e_powf.S: Likewise.
49304 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49305 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49307 * sysdeps/i386/fpu/e_pow.S: Likewise.
49308 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49309 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49310 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49311 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49312 * sysdeps/i386/fpu/e_log2.S: Likewise.
49313 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49314 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49315 * sysdeps/i386/fpu/e_powl.S: Likewise.
49316 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49317 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49318 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49319 * sysdeps/i386/fpu/e_logl.S: Likewise.
49320 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49321 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49322 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49323 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49324 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49326 * sysdeps/i386/fpu/e_log.S: Likewise.
49327 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49328 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49329 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49330 * sysdeps/i386/fpu/e_logf.S: Likewise.
49331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49332 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49333 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49334 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49335 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49336 * sysdeps/i386/fpu/e_log10.S: Likewise.
49337 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49339 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49340 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49341 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49342 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49343 * sysdeps/i386/asm-syntax.h: Likewise.
49344 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49347 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49348 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49349 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49350 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49351 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49353 * sysdeps/powerpc/sysdep.h: Likewise.
49354 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49355 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49356
d4a54ac6
JM
493572012-02-06 Joseph Myers <joseph@codesourcery.com>
49358
49359 [BZ #411]
49360 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49361
314054ea
JM
493622012-02-06 Joseph Myers <joseph@codesourcery.com>
49363
49364 * sysdeps/i386/sysdep.h: Include <features.h>.
49365 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49366 version.
49367
d8e0ca50
JM
493682012-02-05 Joseph Myers <joseph@codesourcery.com>
49369
49370 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49371 Define.
49372 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49373 LOAD_PIC_REG_STR.
49374
b1da7dd9
JM
493752012-02-03 Joseph Myers <joseph@codesourcery.com>
49376
49377 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49378 (SETUP_PIC_REG): Use GET_PC_THUNK.
49379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49380 macro.
49381
9a1d9254
JM
493822012-02-03 Joseph Myers <joseph@codesourcery.com>
49383
49384 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49385 for non-PIC compilation.
49386 (SETUP_PIC_REG): Add .p2align directive.
49387 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49388 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49389 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49390 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49392 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49393 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49395 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49396 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49397 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49398 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49399 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49400 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49401 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49402 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49403 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49404 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49405 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49406 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49409 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49410 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49411 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49415 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49416 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49417 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49419 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49420 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49421 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49422 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49423 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49424 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49425 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49426 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49427 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49428
65dc3b75
JM
494292012-02-03 Joseph Myers <joseph@codesourcery.com>
49430
49431 * math/tst-CMPLX.c: Include <stdio.h>.
49432
d55bf177
JM
494332012-01-31 Joseph Myers <joseph@codesourcery.com>
49434
49435 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49436 float.
49437 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49438 * sysdeps/sparc/bits/mathdef.h: Likewise.
49439
69db4f8f
MP
494402012-01-31 Marek Polacek <polacek@redhat.com>
49441
49442 * libio/libio.h: Don't define _PARAMS.
49443 * locale/programs/config.h: Don't define PARAMS.
49444 * stdlib/strtol_l.c: Likewise.
49445 (__strtol_l): Remove PARAMS from the prototype.
49446
41b81892
UD
494472012-01-31 Ulrich Drepper <drepper@gmail.com>
49448
3b49edc0
UD
49449 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49450 names. Just use the correct names. Remove unnecessary wrapper
49451 functions.
49452 * malloc/arena.c: Likewise.
49453 * malloc/hooks.c: Likewise.
49454
41b81892
UD
49455 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49456 ARENA_TEST says not to. Simplify test for creation of a new arena.
49457 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49458
27a25b6e
UD
494592012-01-30 Ulrich Drepper <drepper@gmail.com>
49460
49461 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49462 into tail calls.
49463 (update_get_addr): New function.
49464 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49465 GET_ADDR_MODULE parameter.
49466
c8a89e7d
JM
494672012-01-30 Joseph Myers <joseph@codesourcery.com>
49468
49469 * crypt/cert.c: Remove __STDC__ conditionals.
49470 * crypt/crypt-entry.c: Likewise.
49471 * crypt/crypt_util.c: Likewise.
49472 * libio/filedoalloc.c: Likewise.
49473 * libio/fileops.c: Likewise.
49474 * libio/genops.c: Likewise.
49475 * libio/iofclose.c: Likewise.
49476 * libio/iofdopen.c: Likewise.
49477 * libio/iofopen.c: Likewise.
49478 * libio/iofopen64.c: Likewise.
49479 * libio/iogetdelim.c: Likewise.
49480 * libio/iopopen.c: Likewise.
49481 * libio/obprintf.c: Likewise.
49482 * libio/oldfileops.c: Likewise.
49483 * libio/oldiofclose.c: Likewise.
49484 * libio/oldiofdopen.c: Likewise.
49485 * libio/oldiofopen.c: Likewise.
49486 * libio/oldiopopen.c: Likewise.
49487 * libio/wfiledoalloc.c: Likewise.
49488 * libio/wgenops.c: Likewise.
49489 * locale/programs/xmalloc.c: Likewise.
49490 * misc/syslog.c: Likewise.
49491 * stdio-common/xbug.c: Likewise.
49492 * string/memchr.c: Likewise.
49493 * string/memcmp.c: Likewise.
49494 * string/memrchr.c: Likewise.
49495 * string/rawmemchr.c: Likewise.
49496 * sysdeps/posix/getcwd.c: Likewise.
49497 * time/strftime_l.c: Likewise.
49498
3b100462
JM
494992012-01-30 Joseph Myers <joseph@codesourcery.com>
49500
49501 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49502 * config.make.in (config-cflags-sse2avx): Define.
49503 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49504 Fix typo.
49505
607998af
CM
495062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49507
49508 * scripts/config.guess: Update from upstream config git repository.
49509 * scripts/config.sub: Likewise.
49510
3601428f
CM
495112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49512
3ac8b282
CM
49513 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49514 (EM_NUM): Update.
49515 (R_TILEPRO_*, R_TILEGX_*): New macros.
49516
e034841e
CM
49517 * scripts/firstversions.awk: Fix bug in version range handling.
49518
540d7568
CM
49519 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49520
3601428f
CM
49521 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49522
463de862
CM
49523 * include/sys/epoll.h: New file.
49524 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49525 libc_hidden_def.
49526
73139a76
UD
495272012-01-28 Ulrich Drepper <drepper@gmail.com>
49528
96bc5b45
UD
49529 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49530 Avoid unnecessary __WORDSIZE == 64 test.
49531 (fmaxf): Use VEX format if possible.
49532 (fmax): Likewise.
49533 (fminf): Likewise.
49534 (fmin): Likewise.
49535
56f6f6a2
UD
49536 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49537 * math/math_private.h: Remove libc_fegetround* and
49538 libc_fesetround*.
49539 * sysdeps/i386/configure.in: Check for -msse2avx.
49540 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49541 also if SSE2AVX is defined.
49542 Remove libc_fegetround* and libc_fesetround*.
49543 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49544 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49546 of HAS_YMM_USABLE.
49547 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49548 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49551 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49552
73139a76
UD
49553 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49554
d73f93a4
AZ
495552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49556
49557 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49558 size is not set.
49559 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49560
6ee65ed6
UD
495612012-01-27 Ulrich Drepper <drepper@gmail.com>
49562
49563 [BZ #13618]
49564 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49565 relocation.
49566 * Makeconfig (libm): Define.
49567 * elf/Makefile: Add rules to build and run tst-relsort1.
49568 * elf/tst-relsort1.c: New file.
49569 * elf/tst-relsort1mod1.c: New file.
49570 * elf/tst-relsort1mod2.c: New file.
49571
8db21882
JM
495722012-01-27 Joseph Myers <joseph@codesourcery.com>
49573
49574 * math/s_ldexp.c: Remove __STDC__ conditionals.
49575 * math/s_ldexpf.c: Likewise.
49576 * math/s_ldexpl.c: Likewise.
49577 * math/s_nextafter.c: Likewise.
49578 * math/s_nexttowardf.c: Likewise.
49579 * math/s_significand.c: Likewise.
49580 * math/s_significandf.c: Likewise.
49581 * math/s_significandl.c: Likewise.
49582 * math/w_jnl.c: Likewise.
49583 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49584 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49585 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49586 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49587 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49589 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49590 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49591 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49592 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49593 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49597 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49604 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49613 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49614 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49615 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49616 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49617 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49619 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49623 * sysdeps/ieee754/k_standard.c: Likewise.
49624 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49625 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49626 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49627 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49630 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49631 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49632 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49633 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49634 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49635 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49636 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49637 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49638 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49640 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49641 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49642 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49643 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49644 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49645 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49649 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49653 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49654 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49655 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49656 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49657 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49659 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49660 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49664 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49666 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49667 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49669 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49673 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49674 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49677 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49678 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49679 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49680 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49682 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49683 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49684 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49685 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49686 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49691 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49692 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49693 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49694 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49696 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49697 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49698 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49699 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49703 * sysdeps/ieee754/s_matherr.c: Likewise.
49704 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49705 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49708
965a54a4
JM
497092012-01-26 Joseph Myers <joseph@codesourcery.com>
49710
49711 * crypt/md5.h: Remove __STDC__ conditionals.
49712 * libio/libioP.h: Likewise.
49713 * locale/programs/config.h: Likewise.
49714 * sysdeps/generic/sysdep.h: Likewise.
49715 * sysdeps/i386/asm-syntax.h: Likewise.
49716 * sysdeps/s390/asm-syntax.h: Likewise.
49717 * sysdeps/unix/sysdep.h: Likewise.
49718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49720
7071ad79
JM
497212012-01-26 Joseph Myers <joseph@codesourcery.com>
49722
49723 * libio/libio.h: Remove __STDC__ conditionals.
49724 * malloc/obstack.h: Likewise.
49725 * math/complex.h: Likewise.
49726 * math/math.h: Likewise.
49727 * sysdeps/generic/_G_config.h: Likewise.
49728 * sysdeps/gnu/_G_config.h: Likewise.
49729 * sysdeps/mach/hurd/_G_config.h: Likewise.
49730 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49731 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49732 * sysdeps/sparc/bits/mathdef.h: Likewise.
49733
afc5ed09
UD
497342012-01-26 Ulrich Drepper <drepper@gmail.com>
49735
49736 [BZ #13583]
49737 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49738 Clean up HAS_* macros.
afc5ed09 49739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49740 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49741 possible.
49742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49743 HAS_AVX.
49744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49745 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49749
bdb6de1d
JM
497502012-01-25 Joseph Myers <joseph@codesourcery.com>
49751
49752 * elf/tst-unique3.cc (gets): Remove declaration.
49753 * elf/tst-unique3lib.cc (gets): Likewise.
49754 * elf/tst-unique3lib2.cc (gets): Likewise.
49755 * elf/tst-unique4.cc (gets): Likewise.
49756
b15549e6
UD
497572012-01-24 Ulrich Drepper <drepper@gmail.com>
49758
49759 * include/stdio.h: Add C++ protection. Add gets declarations and
49760 definitions.
49761 * debug/tst-chk1.c: Don't declare gets here.
49762 * stdio-common/tst-gets.c: Likewise.
49763
a037381f
JM
497642012-01-24 Joseph Myers <joseph@codesourcery.com>
49765
49766 * posix/glob: Remove directory.
49767
f1d4aa75
JM
497682012-01-24 Joseph Myers <joseph@codesourcery.com>
49769
49770 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49771
81c0c964
PT
497722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49773
49774 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49775 of the non-standard EPFNOSUPPORT.
49776
0ea698ae
ST
497772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49778
49779 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49780 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49781 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49782
d220b117
UD
497832012-01-21 Ulrich Drepper <drepper@gmail.com>
49784
49785 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49786
3e1aa84e
UD
497872012-01-20 Ulrich Drepper <drepper@gmail.com>
49788
49789 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49790 transient errors.
49791 * nscd/grpcache.c (cache_addgr): Likewise.
49792 * nscd/hstcache.c (cache_addhst): Likewise.
49793 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49794 * nscd/pwdcache.c (cache_addpw): Likewise.
49795 * nscd/servicescache.c (cache_addserv): Likewise.
49796
400aa020
UD
497972012-01-16 Ulrich Drepper <drepper@gmail.com>
49798
d77e7869
UD
49799 * malloc/malloc.c: Various cleanups.
49800 * malloc/hooks.c: Likewise.
49801
400aa020
UD
49802 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49803 * stdlib/bug-fmtmsg1.c: New file.
49804
49805 * stdlib/fmtmsg.c (init): Add missing unlock.
49806 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49807
e0a309cf
MP
498082012-01-12 Marek Polacek <polacek@redhat.com>
49809
49810 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49811 and _GNU_SOURCE.
49812
929d11c7
WS
498132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49814
49815 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49816 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49817 macro to ensure uniqueness of label name.
49818 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49819 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49820
41d0e869
UD
498212012-01-11 Ulrich Drepper <drepper@gmail.com>
49822
0cc5ed3b
UD
49823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49824
41d0e869
UD
49825 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49827 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49829
a47a831a
UD
498302012-01-10 Ulrich Drepper <drepper@gmail.com>
49831
daa891c0
UD
49832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49833
49834 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49835 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49836 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49837
e58ef0f2
UD
49838 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49839
a47a831a 49840 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49841 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49844
49845 * math/bits/math-finite.h: Add ldexp support.
49846
a0bfc9c7
MP
498472012-01-10 Marek Polacek <polacek@redhat.com>
49848
49849 * locale/programs/localedef.h (show_archive_content): Add noreturn
49850 attribute.
49851
d6e97a1d
UD
498522012-01-09 Ulrich Drepper <drepper@gmail.com>
49853
49854 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49855
d5835c26
UD
498562012-01-08 Ulrich Drepper <drepper@gmail.com>
49857
e5f484c6
UD
49858 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49859
d5835c26
UD
49860 * io/Makefile (headers): Add bits/poll2.h.
49861
d1f741e9
WS
498622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49863
49864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49865 typo #include statement.
49866
ec09c1c4
UD
498672012-01-08 Ulrich Drepper <drepper@gmail.com>
49868
49869 * include/sys/cdefs.h: Define __attribute_alloc_size.
49870 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49871 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49872 * elf/pldd.c: Likewise.
49873 * iconv/iconv_charmap.c: Likewise.
49874 * iconv/iconvconfig.c: Likewise.
49875 * iconv/strtab.c: Likewise.
49876 * locale/programs/locale.c: Likewise.
49877 * locale/programs/localedef.h: Likewise.
49878 * locale/programs/simple-hash.c: Likewise.
49879 * nscd/nscd.h: Likewise.
49880 * nss/makedb.c: Likewise.
49881 * sysdeps/generic/ldconfig.h: Likewise.
49882 * locale/programs/localedef.c: Remove xmalloc prototype.
49883 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49884
20b38e03
PP
498852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49886
49887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49888 appropriate.
49889
a0da5fe1
UD
498902012-01-08 Ulrich Drepper <drepper@gmail.com>
49891
1d5a644a 49892 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49893 * math/tst-CMPLX.c: New file.
1d5a644a 49894
8784a6db
UD
49895 * math/complex.h (CMPLXL): Fix typo.
49896
d9a216c0
UD
49897 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49898 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49899 GLIBC_2.16.
49900 * debug/tst-chk1.c: Add poll and ppoll tests.
49901 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49902 * include/sys/poll.h: Add hidden proto for ppoll.
49903 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49904 * sysdeps/mach/hurd/ppoll.c: Likewise.
49905 * io/ppoll.c: Likewise.
49906 * debug/poll_chk.c: New file.
49907 * debug/ppoll_chk.c: New file.
49908 * include/bits/poll2.h: New file.
49909 * io/bits/poll2.h: New file.
49910
ac097f5c
UD
49911 [BZ #1350]
49912 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49913
2119dcfa
UD
49914 * configure.in: static is always set to yes. Remove.
49915 * config.make.in: Don't set build-static.
49916 * Makeconfig: Remove use of build-static.
49917 * dlfcn/Makefile: Likewise.
49918 * elf/Makefile: Likewise.
49919 * math/Makefile: Likewise.
49920 * misc/Makefile: Likewise.
49921 * nptl/Makefile: Likewise.
49922 * sysdeps/mach/hurd/Makefile: Likewise.
49923
121766a9
UD
49924 * configure.in: PWD_P is not used anymore.
49925 * config.make.in: Remove PWD_P entry.
49926
51a1d39c 49927 * configure.in: Remove last remnants of RANLIB.
8720d066 49928 No need to check for signed size_t anymore.
215f4bdc
UD
49929 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49930 and IA-64.
3857022a 49931 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49932 * aclocal.m4: Likewise.
49933
d3ed7225
UD
49934 * wcsmbs/mbrtoc16.c: Implement using towc function.
49935 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49936 * wcsmbs/wcsmbsload.c: Likewise.
49937 * iconv/gconv_simple.c: Likewise.
49938 * iconv/gconv_int.h: Likewise.
49939 * iconv/gconv_builtin.h: Likewise.
49940 * iconv/iconv_prog.c: Remove CHAR16 handling.
49941
49942 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49943
49944 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49945
a0da5fe1
UD
49946 * configure.in: Remove --with-elf and --enable-bounded options.
49947 Dont set base_machine for ia64. More non-ELF conditions removed.
49948 Remove testing and setting of leading underscore information.
49949 * config.make.in (build-bounded): Set to no.
49950 * config.h.in: Remove NO_UNDERSCORES entry.
49951 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49952 them.
49953 * csu/start.c: Remove !NO_UNDERSCORE code.
49954 * locale/localeinfo.h: Likewise.
49955 * sysdeps/generic/machine-gmon.h: Likewise.
49956 * sysdeps/generic/sysdep.h: Likewise.
49957 * sysdeps/i386/sysdep.h: Likewise.
49958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49959 * sysdeps/mach/sysdep.h: Likewise.
49960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49962 * sysdeps/sh/sysdep.h: Likewise.
49963 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49964 * sysdeps/unix/i386/sysdep.S: Likewise.
49965 * sysdeps/unix/sparc/start.c: Likewise.
49966 * sysdeps/unix/sparc/sysdep.S: Likewise.
49967 * sysdeps/unix/sparc/sysdep.h: Likewise.
49968 * sysdeps/unix/start.c: Likewise.
49969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49970 * sysdeps/x86_64/sysdep.h: Likewise.
49971
df78418a
UD
499722012-01-07 Ulrich Drepper <drepper@gmail.com>
49973
a784e502
UD
49974 [BZ #13553]
49975 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49976 for non-gcc.
49977 * argp/argp-fmtstream.h: Use const instead __const.
49978 * argp/argp.h: Likewise.
49979 * assert/assert.h: Likewise.
49980 * bits/fenv.h: Likewise.
49981 * bits/sched.h: Likewise.
49982 * bits/sigset.h: Likewise.
49983 * bits/sigthread.h: Likewise.
49984 * catgets/nl_types.h: Likewise.
49985 * conform/data/pthread.h-data: Likewise.
49986 * crypt/crypt-private.h: Likewise.
49987 * crypt/crypt.h: Likewise.
49988 * crypt/crypt_util.c: Likewise.
49989 * ctype/ctype.h: Likewise.
49990 * debug/execinfo.h: Likewise.
49991 * debug/mbsnrtowcs_chk.c: Likewise.
49992 * debug/mbsrtowcs_chk.c: Likewise.
49993 * debug/wcsnrtombs_chk.c: Likewise.
49994 * debug/wcsrtombs_chk.c: Likewise.
49995 * debug/wcstombs_chk.c: Likewise.
49996 * dirent/dirent.h: Likewise.
49997 * dlfcn/dlfcn.h: Likewise.
49998 * elf/neededtest4.c: Likewise.
49999 * grp/grp.h: Likewise.
50000 * gshadow/gshadow.h: Likewise.
50001 * iconv/gconv.h: Likewise.
50002 * iconv/gconv_int.h: Likewise.
50003 * iconv/gconv_simple.c: Likewise.
50004 * iconv/iconv.h: Likewise.
50005 * iconv/loop.c: Likewise.
50006 * iconv/skeleton.c: Likewise.
50007 * include/aio.h: Likewise.
50008 * include/aliases.h: Likewise.
50009 * include/argz.h: Likewise.
50010 * include/arpa/inet.h: Likewise.
50011 * include/assert.h: Likewise.
50012 * include/dirent.h: Likewise.
50013 * include/dlfcn.h: Likewise.
50014 * include/execinfo.h: Likewise.
50015 * include/fcntl.h: Likewise.
50016 * include/fenv.h: Likewise.
50017 * include/glob.h: Likewise.
50018 * include/grp.h: Likewise.
50019 * include/libintl.h: Likewise.
50020 * include/mntent.h: Likewise.
50021 * include/netdb.h: Likewise.
50022 * include/pwd.h: Likewise.
50023 * include/rpc/netdb.h: Likewise.
50024 * include/sched.h: Likewise.
50025 * include/search.h: Likewise.
50026 * include/shadow.h: Likewise.
50027 * include/signal.h: Likewise.
50028 * include/stdio.h: Likewise.
50029 * include/stdlib.h: Likewise.
50030 * include/string.h: Likewise.
50031 * include/sys/socket.h: Likewise.
50032 * include/sys/stat.h: Likewise.
50033 * include/sys/statfs.h: Likewise.
50034 * include/sys/statvfs.h: Likewise.
50035 * include/sys/syslog.h: Likewise.
50036 * include/sys/time.h: Likewise.
50037 * include/sys/uio.h: Likewise.
50038 * include/time.h: Likewise.
50039 * include/unistd.h: Likewise.
50040 * include/utmp.h: Likewise.
50041 * include/wchar.h: Likewise.
50042 * include/wctype.h: Likewise.
50043 * inet/aliases.h: Likewise.
50044 * inet/arpa/inet.h: Likewise.
50045 * inet/netinet/ether.h: Likewise.
50046 * inet/netinet/in.h: Likewise.
50047 * intl/libintl.h: Likewise.
50048 * io/bits/fcntl2.h: Likewise.
50049 * io/fcntl.h: Likewise.
50050 * io/ftw.h: Likewise.
50051 * io/sys/poll.h: Likewise.
50052 * io/sys/stat.h: Likewise.
50053 * io/sys/statfs.h: Likewise.
50054 * io/sys/statvfs.h: Likewise.
50055 * io/utime.h: Likewise.
50056 * libio/bits/stdio.h: Likewise.
50057 * libio/bits/stdio2.h: Likewise.
50058 * libio/libio.h: Likewise.
50059 * libio/libioP.h: Likewise.
50060 * libio/stdio.h: Likewise.
50061 * locale/lc-ctype.c: Likewise.
50062 * locale/locale.h: Likewise.
50063 * login/utmp.h: Likewise.
50064 * malloc/arena.c: Likewise.
50065 * malloc/malloc.c: Likewise.
50066 * malloc/malloc.h: Likewise.
50067 * malloc/mcheck.c: Likewise.
50068 * malloc/mtrace.c: Likewise.
50069 * math/bits/mathcalls.h: Likewise.
50070 * math/fenv.h: Likewise.
50071 * math/math_private.h: Likewise.
50072 * misc/bits/error.h: Likewise.
50073 * misc/bits/syslog.h: Likewise.
50074 * misc/err.h: Likewise.
50075 * misc/error.h: Likewise.
50076 * misc/fstab.h: Likewise.
50077 * misc/mntent.h: Likewise.
50078 * misc/regexp.h: Likewise.
50079 * misc/search.h: Likewise.
50080 * misc/sgtty.h: Likewise.
50081 * misc/sys/mman.h: Likewise.
50082 * misc/sys/syslog.h: Likewise.
50083 * misc/sys/uio.h: Likewise.
50084 * misc/sys/xattr.h: Likewise.
50085 * misc/ttyent.h: Likewise.
50086 * nis/rpcsvc/ypclnt.h: Likewise.
50087 * nss/nss.h: Likewise.
50088 * posix/bits/unistd.h: Likewise.
50089 * posix/fnmatch.h: Likewise.
50090 * posix/glob.h: Likewise.
50091 * posix/sched.h: Likewise.
50092 * posix/spawn.h: Likewise.
50093 * posix/sys/wait.h: Likewise.
50094 * posix/unistd.h: Likewise.
50095 * posix/wordexp.h: Likewise.
50096 * pwd/pwd.h: Likewise.
50097 * resolv/netdb.h: Likewise.
50098 * resource/sys/resource.h: Likewise.
50099 * rt/aio.h: Likewise.
50100 * rt/bits/mqueue2.h: Likewise.
50101 * rt/mqueue.h: Likewise.
50102 * shadow/shadow.h: Likewise.
50103 * signal/signal.h: Likewise.
50104 * socket/send.c: Likewise.
50105 * socket/sendto.c: Likewise.
50106 * socket/sys/socket.h: Likewise.
50107 * stdio-common/printf.h: Likewise.
50108 * stdlib/bits/stdlib.h: Likewise.
50109 * stdlib/fmtmsg.h: Likewise.
50110 * stdlib/monetary.h: Likewise.
50111 * stdlib/stdlib.h: Likewise.
50112 * stdlib/ucontext.h: Likewise.
50113 * streams/stropts.h: Likewise.
50114 * string/argz.h: Likewise.
50115 * string/bits/string2.h: Likewise.
50116 * string/string.h: Likewise.
50117 * string/strings.h: Likewise.
50118 * sunrpc/rpc/auth.h: Likewise.
50119 * sunrpc/rpc/auth_des.h: Likewise.
50120 * sunrpc/rpc/clnt.h: Likewise.
50121 * sunrpc/rpc/netdb.h: Likewise.
50122 * sunrpc/rpc/pmap_clnt.h: Likewise.
50123 * sunrpc/rpc/xdr.h: Likewise.
50124 * sysdeps/generic/inttypes.h: Likewise.
50125 * sysdeps/generic/net/if.h: Likewise.
50126 * sysdeps/generic/sys/swap.h: Likewise.
50127 * sysdeps/gnu/net/if.h: Likewise.
50128 * sysdeps/gnu/utmpx.h: Likewise.
50129 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50130 * sysdeps/i386/i486/bits/string.h: Likewise.
50131 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50132 * sysdeps/s390/bits/string.h: Likewise.
50133 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50134 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50135 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50136 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50137 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50138 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50139 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50140 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50141 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50142 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50143 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50144 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50145 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50146 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50147 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50148 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50149 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50154 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50155 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50156 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50157 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50158 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50160 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50161 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50163 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50164 * sysvipc/sys/ipc.h: Likewise.
50165 * sysvipc/sys/msg.h: Likewise.
50166 * sysvipc/sys/sem.h: Likewise.
50167 * sysvipc/sys/shm.h: Likewise.
50168 * termios/termios.h: Likewise.
50169 * time/sys/time.h: Likewise.
50170 * time/time.h: Likewise.
50171 * wcsmbs/bits/wchar2.h: Likewise.
50172 * wcsmbs/uchar.h: Likewise.
50173 * wcsmbs/wchar.h: Likewise.
50174 * wctype/wctype.h: Likewise.
50175
0269750c
UD
50176 [BZ #13551]
50177 * Makeconfig: Remove all but ELF support including AIX support.
50178 * Makerules: Likewise.
50179 * config.h.in: Likewise.
50180 * config.make.in: Likewise.
50181 * configure: Likewise.
50182 * configure.in: Likewise.
50183 * csu/Makefile: Likewise.
50184 * csu/version.c: Likewise.
50185 * debug/Makefile: Likewise.
50186 * dlfcn/Makefile: Likewise.
50187 * elf/Makefile: Likewise.
50188 * extra-lib.mk: Likewise.
50189 * iconv/Makefile: Likewise.
50190 * include/libc-symbols.h: Likewise.
50191 * include/shlib-compat.h: Likewise.
50192 * resolv/Makefile: Likewise.
50193 * resolv/res_libc.c: Likewise.
50194 * rt/Makefile: Likewise.
50195 * sysdeps/i386/asm-syntax.h: Likewise.
50196 * sysdeps/i386/sysdep.h: Likewise.
50197 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50198 * sysdeps/mach/sysdep.h: Likewise.
50199 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50200 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50201 * sysdeps/s390/asm-syntax.h: Likewise.
50202 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50204 * sysdeps/sh/sysdep.h: Likewise.
50205 * sysdeps/unix/sparc/sysdep.h: Likewise.
50206 * sysdeps/wordsize-32/divdi3.c: Likewise.
50207 * sysdeps/x86_64/sysdep.h: Likewise.
50208
00bbd29b
UD
50209 * argp/Versions: Remove _argp_unlock_xxx.
50210
50211 [BZ #13559]
50212 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50213 * abilist/libBrokenLocale.abilist: Likewise.
50214 * abilist/libanl.abilist: Likewise.
50215 * abilist/libc.abilist: Likewise.
50216 * abilist/libcrypt.abilist: Likewise.
50217 * abilist/libdl.abilist: Likewise.
50218 * abilist/libm.abilist: Likewise.
50219 * abilist/libnsl.abilist: Likewise.
50220 * abilist/libpthread.abilist: Likewise.
50221 * abilist/libresolv.abilist: Likewise.
50222 * abilist/librt.abilist: Likewise.
50223 * abilist/libthread_db.abilist: Likewise.
50224 * abilist/libutil.abilist: Likewise.
50225 * abilist/libnss_db.abilist: New file.
50226
50227 * scripts/abilist.awk: Add support for indirect functions.
50228
a2693a0e
UD
50229 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50230
3f05895f
UD
50231 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50232
ecb6fb48
UD
50233 * shlib-versions: Remove entries for ports architectures.
50234
664f8cb9
UD
50235 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50236 files in ports.
50237 * elf/stackguard-macros.h: Remove support for IA-64.
50238 * elf/tst-auditmod1.c: Likewise.
50239 * sysdeps/generic/ldsodefs.h: Likewise.
50240
7ae81d88
UD
50241 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50242 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50243 configure files.
50244
bdeba135
UD
50245 [BZ #13552]
50246 * configure.in: Remove --enable-omitfp support.
50247 * FAQ.in: Adjust.
50248 * config.make.in: Likewise.
50249 * Makeconfig: Likewise.
50250 * manual/install.texi: Likewise.
50251
d75a0a62
UD
50252 In case anyone cares, the IA-64 architecture could move to ports.
50253 * sysdeps/ia64/*: Removed.
50254 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50255 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50256
dcc9756b
UD
50257 [BZ #13555]
50258 * configure.in: Remove entries for unsupported architectures.
50259
d3761ebc 50260 [BZ #13533]
9954432e
UD
50261 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50262 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50263 routines.
50264 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50265 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50266 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50267 fall back to using wcrtomb.
50268 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50269 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50270 renaming.
50271 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50272 * wcsmbs/tst-c16c32-1.c: New file.
50273
50274 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50275 local variable.
50276
c3a87236
UD
50277 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50278
28926a1b
UD
50279 * elf/tst-unique3.cc: Add explicit declaration of gets.
50280 * elf/tst-unique3lib.cc: Likewise.
50281 * elf/tst-unique3lib2.cc: Likewise.
50282 * elf/tst-unique4.cc: Likewise.
50283
df78418a
UD
50284 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50285
8ecd6b2a
JM
502862012-01-06 Joseph Myers <joseph@codesourcery.com>
50287
50288 [BZ #13566]
50289 * assert/assert.h (static_assert): Don't define for C++.
50290 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50291 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50292
9f115170
UD
502932012-01-03 Ulrich Drepper <drepper@gmail.com>
50294
5e0d0300
UD
50295 * iconv/loop.c (single loop): Fix assertion in storing of
50296 remaining bytes.
50297
9f115170
UD
50298 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50299
81fb02b0
UD
503002012-01-01 Ulrich Drepper <drepper@gmail.com>
50301
50302 * posix/getconf.c: Update copyright year.
50303 * nss/getent.c: Likewise.
a316c1f6 50304 * nss/makedb.c: Likewise.
81fb02b0
UD
50305 * iconv/iconvconfig.c: Likewise.
50306 * iconv/iconv_prog.c: Likewise.
50307 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50308 * elf/pldd.c: Likewise.
50309 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50310 * catgets/gencat.c: Likewise.
50311 * csu/version.c: Likewise.
50312 * elf/ldd.bash.in: Likewise.
50313 * elf/sprof.c (print_version): Likewise.
50314 * locale/programs/locale.c: Likewise.
50315 * locale/programs/localedef.c: Likewise.
a316c1f6 50316 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50317 * nscd/nscd.c (print_version): Likewise.
50318 * debug/xtrace.sh: Likewise.
50319 * malloc/memusage.sh: Likewise.
50320 * malloc/mtrace.pl: Likewise.
50321 * debug/catchsegv.sh: Likewise.
50322
2ba92745
JJ
503232011-12-30 Jakub Jelinek <jakub@redhat.com>
50324
50325 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50326 pure attribute.
50327
dadebdae
UD
503282011-12-24 Ulrich Drepper <drepper@gmail.com>
50329
d3761ebc 50330 [BZ #13533]
db6af3eb
UD
50331 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50332 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50333 transformations.
50334 * iconv/gconv_int.h: Likewise.
50335 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50336 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50337 from libc for GLIBC_2.16.
50338 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50339 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50340 * wcsmbs/uchar.h: Really define mbstate_t.
50341 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50342 * wcsmbs/c16rtomb.c: New file.
50343 * wcsmbs/mbrtoc16.c: New file.
50344 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50345 for C/POSIX locale.
50346 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50347 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50348
dadebdae
UD
50349 * wcsmbs/wchar.h: Add missing __restrict.
50350
67371b56
UD
503512011-12-23 Ulrich Drepper <drepper@gmail.com>
50352
74033a25
UD
50353 [BZ #13532]
50354 * time/Makefile (routines): Add timespec_get.
50355 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50356 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50357 timespec for ISO C11.
50358 * time/timespec_get.c: New file.
50359 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50360 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50361
380d7e87
UD
50362 [BZ #13531]
50363 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50364 * stdlib/stdlib.h: Declare aligned_alloc.
50365 * Versions.def: Add GLIBC_2.16 for libc.
50366 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50367
4e9e7a35
UD
50368 [BZ 13527]
50369 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50370 ISO C11.
50371
380d7e87 50372 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50373 code.
50374
03a71829
UD
50375 [BZ #13528]
50376 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50377
839e283e
UD
50378 [BZ #13529]
50379 * assert/assert.h (static_assert): Define.
50380
ce5294e2 50381 * version.h: Update for 2.16 development version.
90fa7312 50382
8d44e150 50383 [BZ #13526]
d7809905
UD
50384 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50385 _ISOC11_SOURCE.
50386
c0da14cd
UD
50387 * version.h (RELEASE): Bump for 2.15 release.
50388 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50389
530a3249
MP
50390 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50391 Patch by Marek Polacek <mpolacek@redhat.com>.
50392
67371b56
UD
50393 * bits/byteswap.h: Protect long long constants with __extension__.
50394 * sysdeps/i386/bits/byteswap.h: Likewise.
50395 * sysdeps/ia64/bits/byteswap.h: Likewise.
50396 * sysdeps/s390/bits/byteswap.h: Likewise.
50397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50398
15db4de1
LD
503992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50400
50401 [BZ #13540]
bbe315ea
LD
50402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50403 destination buffer.
15db4de1
LD
50404 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50405
2b2596b1
MP
504062011-12-23 Marek Polacek <polacek@redhat.com>
50407
50408 * elf/dl-addr.c (determine_info): Add inline keyword.
50409 * elf/tst-auditmod4b.c (check_avx): Likewise.
50410 * elf/tst-auditmod6b.c (check_avx): Likewise.
50411 * elf/tst-auditmod6c.c (check_avx): Likewise.
50412 * elf/tst-auditmod7b.c (check_avx): Likewise.
50413
70c6c246
UD
504142011-12-23 Ulrich Drepper <drepper@gmail.com>
50415
50416 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50417 !__SSE_MATH__.
50418
c044cf14
LD
504192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50420
15db4de1 50421 [BZ #13540]
c044cf14
LD
50422 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50423 processing for last bytes.
50424
6b13d9d9
BH
504252011-08-06 Bruno Haible <bruno@clisp.org>
50426
d455f537
BH
50427 [BZ #13061]
50428 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50429 U+0385, not to U+1FEE.
50430
6b13d9d9
BH
50431 [BZ #13062]
50432 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50433 entry for U+00A5 U+0301.
50434
db910efd
UD
504352011-12-22 Ulrich Drepper <drepper@gmail.com>
50436
27deeafc
UD
50437 [BZ #13166]
50438 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50439 buffer for the output is too small.
50440
aed9d171
UD
50441 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50442 optimization.
50443
db910efd
UD
50444 [BZ #13185]
50445 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50446 SSE flags if possible.
50447
2bd779ae
LD
504482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50449
e7f9dac3 50450 [BZ #13540]
2bd779ae
LD
50451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50452 processing for last bytes.
50453
154bfc16
JM
504542011-12-22 Joseph Myers <joseph@codesourcery.com>
50455
50456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50457 (syscall-list-default-options, syscall-list-default-condition)
50458 (syscall-list-includes): Define.
50459 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50460 list of ABIs and options and #if conditions for each ABI. Do not
50461 handle common syscalls between ABIs specially.
50462 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50463 Remove.
50464 (syscall-list-variants, syscall-list-32bit-options)
50465 (syscall-list-32bit-condition, syscall-list-64bit-options)
50466 (syscall-list-64bit-condition): Define.
50467 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50468 (syscall-list-variants, syscall-list-32bit-options)
50469 (syscall-list-32bit-condition, syscall-list-64bit-options)
50470 (syscall-list-64bit-condition): Define.
50471 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50472 Remove.
50473 (syscall-list-variants, syscall-list-32bit-options)
50474 (syscall-list-32bit-condition, syscall-list-64bit-options)
50475 (syscall-list-64bit-condition): Define.
50476 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50477 Remove.
50478 (syscall-list-variants, syscall-list-32bit-options)
50479 (syscall-list-32bit-condition, syscall-list-64bit-options)
50480 (syscall-list-64bit-condition): Define.
50481
21eaf3a5
UD
504822011-12-22 Ulrich Drepper <drepper@gmail.com>
50483
16c6f992
UD
50484 * locale/iso-639.def: Add brx entry.
50485
41043168
UD
50486 [BZ #13328]
50487 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50488 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50489
21eaf3a5
UD
50490 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50491 __feraiseexcept_renamed.
50492
e3a851a2
UD
504932011-12-21 Ulrich Drepper <drepper@gmail.com>
50494
4920765e
UD
50495 [BZ #13538]
50496 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50497 EPOLLET with unsigned values.
50498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50500
e3a851a2
UD
50501 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50502 to large cancellation.
50503 * math/s_cacoshf.c: Likewise.
50504 * math/s_cacoshl.c: Likewise.
50505
b27e24b8
RK
505062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50507
50508 [BZ #13305]
aebefeee 50509 [BZ #12786]
b27e24b8
RK
50510 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50511 * math/s_cacoshf.c: Likewise.
50512 * math/s_cacoshl.c: Likewise.
50513
ee190f67
UD
505142011-12-21 Ulrich Drepper <drepper@gmail.com>
50515
50516 [BZ #13439]
50517 * iconv/gconv.h: Define __GCONV_SWAP.
50518 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50519 * iconvdata/utf-16.c: Likewise.
50520 * iconvdata/utf-32.c: Likewise.
50521
707f25df
AS
505222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50523
50524 [BZ #13524]
50525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50526 numerator after shifting it by one limb.
50527
d2daaa1e
RÁE
505282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50529
50530 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50531 under [__USE_EXTERN_INLINES].
50532
a4647e72
UD
505332011-12-17 Ulrich Drepper <drepper@gmail.com>
50534
50535 [BZ #13446]
50536 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50537
f0b264f1
AZ
505382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50539
50540 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50541 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50542 optimized code.
50543 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50544 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50545 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50546 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50547 for strncasecmp/strncasecmp_l compilation.
50548 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50549 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50550
8ef4f244
MP
505512011-12-08 Marek Polacek <mpolacek@redhat.com>
50552
50553 [BZ #13484]
50554 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50555 of __asm__.
50556
97ac2654
UD
505572011-12-17 Ulrich Drepper <drepper@gmail.com>
50558
50559 [BZ #13506]
50560 * time/tzfile.c (__tzfile_read): Check values from file header.
50561
91d2a845
WS
505622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50563
50564 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50565 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50566 * powerpc/powerpc32/dl-start.S: Likewise.
50567 * powerpc/powerpc32/elf/start.S: Likewise.
50568 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50569 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50570 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50571 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50572 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50573 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50574 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50575 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50576 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50577 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50578 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50579 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50580 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50581 * powerpc/powerpc32/memset.S: Likewise.
50582 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50583 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50584 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50585 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50586 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50587 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50588 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50589 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50590 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50591 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50592 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50593 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50594 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50595
a1267ba1
AZ
505962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50597
50598 * math/libm-test.inc: Added more nearbyint tests.
50599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50603
ad8ac1bd
RL
506042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50605
50606 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50607 FD_CLOEXEC.
50608
1d3e4b61
UD
506092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50610
50611 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50612 Add wcscpy-ssse3 wcscpy-c.
50613 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50614 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50615 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50616 * sysdeps/x86_64/wcschr.S: New file.
50617 * sysdeps/x86_64/wcsrchr.S: New file.
50618 * string/test-strcmp.c: Remove checking of wcscmp function for
50619 wrong alignments.
50620 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50621 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50622 wcsrchr-sse2 wcsrchr-c.
50623 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50624 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50625 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50626 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50627 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50628 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50629 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50630 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50631 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50632 * wcsmbc/wcschr.c (WCSCHR): New macro.
50633
5b330a2d
UD
506342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50635
50636 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50637 * wcsmbs/test-wcsrchr.c: New file.
50638 * string/test-strrchr.c: Add wcsrchr support.
50639 (WIDE): New macro.
50640 * wcsmbs/test-wcscpy.c: New file.
50641 * string/test-strcpy.c: Add wcscpy support.
50642 (WIDE): New macro.
26428b7c 50643
f039c043
UD
506442011-12-10 Ulrich Drepper <drepper@gmail.com>
50645
50646 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50647 the inner loop.
50648
850fb039
AS
506492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50650
50651 [BZ #13472]
50652 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50653
4efbd5cb
UD
506542011-12-04 Ulrich Drepper <drepper@gmail.com>
50655
52ff5dd0 50656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50657 Minor optimizations.
52ff5dd0 50658
4efbd5cb
UD
50659 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50660 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50661 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50662
8a426e12
UD
506632011-12-03 Ulrich Drepper <drepper@gmail.com>
50664
aff2453d
UD
50665 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50666 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50667 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50668 for gcc to avoid warnings.
50669 * inet/Makefile (tests): Add tst-checks.
50670 * inet/tst-checks.c: New file.
50671
50672 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50673 warning.
50674
50675 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50676 __wmemcmp_sse2.
50677
50678 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50679 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50680
8a426e12
UD
50681 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50682
9bea3473
UD
506832011-12-02 Ulrich Drepper <drepper@gmail.com>
50684
3a965496
UD
50685 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50686 problem.
50687
9bea3473
UD
50688 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50689
f101631b
UD
506902011-11-29 Joseph Myers <joseph@codesourcery.com>
50691
50692 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50693 conditional on GCC version.
50694 (__arch_compare_and_exchange_val_8_acq)
50695 (__arch_compare_and_exchange_val_16_acq)
50696 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50697 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50698 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50699
a98275aa
UD
507002011-12-02 Joseph Myers <joseph@codesourcery.com>
50701
50702 * sysdeps/sh/backtrace.c: New file.
50703
d4cc29a2
AS
507042011-12-02 Andreas Schwab <schwab@redhat.com>
50705
50706 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50707 parenthesis.
50708
6257af2d
AS
507092011-12-01 Andreas Schwab <schwab@redhat.com>
50710
50711 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50712 falling back to utime.
50713
b5f44c1a
AS
507142011-11-30 Andreas Schwab <schwab@redhat.com>
50715
50716 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50717 expectations for float.
50718
f3a6cc0a
AS
507192011-11-29 Andreas Schwab <schwab@redhat.com>
50720
50721 * locale/weight.h (findidx): Add parameter len.
50722 * locale/weightwc.h (findidx): Likewise.
50723 * posix/fnmatch_loop.c (FCT): Adjust caller.
50724 * posix/regcomp.c (build_equiv_class): Likewise.
50725 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50726 * posix/regexec.c (check_node_accept_bytes): Likewise.
50727 * string/strcoll_l.c (STRCOLL): Likewise.
50728 * string/strxfrm_l.c (STRXFRM): Likewise.
50729
9d65ea3a
UD
507302011-11-17 Ulrich Drepper <drepper@gmail.com>
50731
50732 * Makefile.in: Remove CVSOPT handling.
50733 * configure.in: Remove use of AC_REVISION.
50734 * iconvdata/Makefile (distribute): No need to filter out CVS.
50735 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50736 handling.
50737
5583a086
AS
507382011-11-16 Andreas Schwab <schwab@redhat.com>
50739
50740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50741 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50742 [USE_AS_STRNCASECMP_L]: Likewise.
50743 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50744 NO_TLS_DIRECT_SEG_REFS.
50745 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50746 Fix argument offsets for non-PIC.
50747 [USE_AS_STRNCASECMP_L]: Likewise.
50748 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50749 NO_TLS_DIRECT_SEG_REFS.
50750
d62a8200
UD
507512011-11-15 Ulrich Drepper <drepper@gmail.com>
50752
9d65ea3a 50753 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50754 O_CLOEXEC.
50755 * locale/loadlocale.c (_nl_load_locale): Likewise.
50756
09f93bd3
AS
507572011-11-15 Andreas Schwab <schwab@redhat.com>
50758
446514f9
AS
50759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50760 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50761 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50762 (SYSCALL_GETTIME): Set errno on error.
50763
09f93bd3
AS
50764 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50765 count references to noai6ai_cached.
50766
312be3f9
UD
507672011-11-15 Ulrich Drepper <drepper@gmail.com>
50768
50769 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50770
50771 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50772 FD_CLOEXEC for /proc/self/maps.
50773
50774 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50775 FD_CLOEXEC for /proc/meminfo.
50776
50777 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50778 gai.conf.
50779
50780 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50781 FD_CLOEXEC for given file.
50782
50783 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50784
50785 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50786 FD_CLOEXEC for /etc/hosts.
50787 (_gethtent): Likewise.
50788
50789 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50790
50791 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50792 cancellation and set FD_CLOEXEC for /etc/netgroup.
50793
50794 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50795 reading /etc/publickey.
50796
50797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50798 allow cancellation when reading /etc/group.
50799
50800 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50801 cancellation.
50802 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50803
50804 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50805 when using data file.
50806
50807 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50808
50809 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50810 (write_nis_obj): Use "c" and "e" in fopen.
50811
50812 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50813
50814 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50815
50816 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50817
50818 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50819
50820 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50821 locale.alias.
50822
50823 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50824
50825 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50826
50827 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50828
50829 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50830 file parsing and set FD_CLOEXEC.
50831
82af0fa8
UD
508322011-11-14 Ulrich Drepper <drepper@gmail.com>
50833
50834 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50835
a5fb313c
AS
508362011-11-14 Andreas Schwab <schwab@redhat.com>
50837
50838 * malloc/arena.c (arena_get2): Don't call reused_arena when
50839 _int_new_arena failed.
50840
6abf3465
UD
508412011-11-14 Ulrich Drepper <drepper@gmail.com>
50842
50843 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50844 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50845 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50846 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50847 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50848 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50849 to compile strcasecmp and strncasecmp.
50850 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50851 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50852
50853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50854
76e3966e
UD
508552011-11-13 Ulrich Drepper <drepper@gmail.com>
50856
50857 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50858 locale-defines.sym to gen-as-const-headers.
50859 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50860 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50862 to compile strcasecmp and strncasecmp.
50863 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50864 strcasecmp_l and strncasecmp_l.
50865 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50866 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50867 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50868 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50869 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50870 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50871 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50872 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50873 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50874 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50875 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50876
ab26144e
UD
508772011-11-12 Ulrich Drepper <drepper@gmail.com>
50878
7edb22ef
UD
50879 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50880 result of SYSDEP_GETTIME_CPU to retval.
50881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50882 parameter list to macro. Remove trailing semicolon. Adjust users.
50883
9694fc44
UD
50884 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50885 variable.
50886
8ad89ef8
UD
50887 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50888 mantissa words.
50889 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50890
0c822ef9
UD
50891 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50892 from unused variable.
50893
874e0564
UD
50894 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50895 DWARF definitions.
50896 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50897 for assembling.
50898
3a2edc79
UD
50899 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50900 over namespaces.
50901
f3c2577f
UD
50902 * sunrpc/rpc_prot.c (rejected): Fix case value.
50903
294ce126
UD
50904 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50905 unsigned long long int to avoid warnings in shift.
50906
5e2b63c6
UD
50907 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50908 of use of trans.
50909 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50910 variable tmp.
50911
e7f4b08e
UD
50912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50913 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50914 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50915
ab26144e
UD
50916 * nis/nis_table.c (nis_list): Use variable of correct type for
50917 result of __follow_path call.
50918
8a6d5255
AZ
509192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50920
50921 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50922 of math functions ceil, trunc, floor, round, and sqrt, when
50923 avaliable on the platform.
50924 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50925 name clash.
50926 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50927 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50928 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50929
aaddc98c
MP
509302011-10-30 Marek Polacek <mpolacek@redhat.com>
50931
50932 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50934
95b7042b
RM
509352011-11-11 Roland McGrath <roland@hack.frob.com>
50936
50937 * include/unistd.h: Fix __readlink return type.
50938 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50939
57769839
UD
509402011-11-11 Ulrich Drepper <drepper@gmail.com>
50941
50942 * stdlib/ucontext.h: Undo last change for makecontext.
50943
edc5984d
AS
509442011-11-11 Andreas Schwab <schwab@redhat.com>
50945
98591e58
AS
50946 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50947
edc5984d
AS
50948 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50949 * setjmp/setjmp.h: Mark functions as non-leaf.
50950 * setjmp/bits/setjmp2.h: Likewise.
50951 * stdlib/ucontext.h: Likewise.
50952
77cdc054
AS
509532011-11-10 Andreas Schwab <schwab@redhat.com>
50954
50955 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50956 (reused_arena): Don't check arena limit.
50957 (arena_get2): Atomically check arena limit.
50958
fe72eebd
UD
509592011-11-08 Ulrich Drepper <drepper@gmail.com>
50960
5f078c32
UD
50961 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50962 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50963
fe72eebd
UD
50964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50965 instructions.
50966
ae1bc2fa
AS
509672011-11-07 Andreas Schwab <schwab@redhat.com>
50968
7583a88d
AS
50969 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50970 handler when locking.
50971
ae1bc2fa
AS
50972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50973 Fix size of allocated buffer.
50974
10fb0bfa
AS
509752011-11-04 Andreas Schwab <schwab@redhat.com>
50976
998832a4
AS
50977 [BZ #10103]
50978 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50979 declarations for long double functions.
50980 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50981
10fb0bfa
AS
50982 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50983
3d7ba52b
AS
509842011-11-03 Andreas Schwab <schwab@redhat.com>
50985
a9ae54a1
AS
50986 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50987 installed.
50988
3d7ba52b
AS
50989 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50990 is disabled.
50991
bc8db248
ST
509922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50993
50994 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50995
45b96dd6
AS
509962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50997
647776f6
AS
50998 * include/alloca.h (stackinfo_alloca_round): Define.
50999 (extend_alloca): Use it.
51000 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51001 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51002 here.
51003
d91a8b93
AS
51004 * scripts/check-local-headers.sh: Ignore libaudit.h.
51005
45b96dd6
AS
51006 * nscd/Makefile (extra-objs): Make recursively expanded.
51007
432d41ce
UD
510082011-11-01 Ulrich Drepper <drepper@gmail.com>
51009
34372fc6
UD
51010 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51012
fadb59f8
UD
51013 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51014 * posix/tst-rfc3484-2.c: Likewise.
51015 * posix/tst-rfc3484-3.c: Likewise.
51016
78239589
UD
51017 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51018 process_vm_writev.
51019 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51020 process_vm_writev.
51021 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51022 process_vm_writev from libc using GLIBC_2.15 version.
51023
432d41ce
UD
51024 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51025
02f9c6cf
PP
510262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51027
51028 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51029 stack usage.
51030
3a2c0242
UD
510312011-10-31 Ulrich Drepper <drepper@gmail.com>
51032
f4ec4833
UD
51033 [BZ #13367]
51034 * nss/getent.c (initgroups_keys): Show error message in case no group
51035 names are given.
51036
3a2c0242
UD
51037 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51038 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51039 __bump_nl_timestamp.
51040 * nscd/connections (nscd_init): When host database is served open
51041 netlink socket and request notification about configuration changes.
51042 (main_loop_poll): Track netlink file descriptor and bump timestamp
51043 in case data becomes available.
51044 (main_loop_epoll): Likewise.
51045 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51046 (database_pers_head): Add extra_data fileds.
51047 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51048 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51049 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51050 Adjust caller.
51051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51052 in6ai data, call __free_in6ai.
51053 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51054 Add -DHAVE_NETLINK.
51055 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51056 interface information. Reuse previous data if netlink timestamp
51057 is not changed.
51058 (__bump_nl_timestamp): New function.
51059 (__free_in6ai): New function.
51060
636064eb
UD
510612011-10-30 Ulrich Drepper <drepper@gmail.com>
51062
51063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51064 close_not_cancel_no_status here.
51065 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51066
9beb2334
UD
510672011-10-29 Ulrich Drepper <drepper@gmail.com>
51068
6ef76f3b
UD
51069 [BZ #13276]
51070 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51071 return value.
51072
0ffc4f3e 51073 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51074 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51075 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51076
cb95113e
UD
510772011-07-03 Andreas Jaeger <aj@suse.de>
51078
51079 [BZ #10709]
51080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51081 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51082 * math/libm-test.inc (sin_test): Add test case.
51083
a1b560ff
UD
510842011-10-29 Ulrich Drepper <drepper@gmail.com>
51085
c9aaface
UD
51086 [BZ #13337]
51087 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51088 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51089
d272e7f1
UD
51090 * elf/chroot_canon.c (chroot_canon): Cleanups.
51091
1bc33071
UD
51092 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51093
1760874d
TJ
51094 [BZ #13335]
51095 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51096 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51097
51d91b18
UD
51098 * string/test-strchr.c: Make usable for strchrnul testing.
51099 * string/test-strchrnul.c: New file.
51100 * string/Makefile (strop-tests): Add strchrnul.
51101
a1b560ff 51102 * po/it.po: Update from translation team.
b611fb81 51103 * po/es.po: Likewise.
a1b560ff 51104
a5b81e1f
UD
511052011-10-28 Ulrich Drepper <drepper@gmail.com>
51106
fd52bc6d
UD
51107 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51108 the three constants needed as parameters. Drop the others.
51109 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51110 __m128i_strloadu_tolower.
52e4b9eb
UD
51111 Create and initialize variable zero and use it in all the places
51112 where _mm_setzero_si128 was used.
fd52bc6d 51113
a5b81e1f
UD
51114 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51115 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51116 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51117 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51118 anymore.
51119 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51120 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51121 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51122 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51123 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51124 __mpranred, __mptan.
51125 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51126 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51127 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51128 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51129 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51130 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51132 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51134
b4343346
AS
511352011-10-28 Andreas Schwab <schwab@redhat.com>
51136
0c92d8a8
AS
51137 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51138 redefine if SHARED.
51139 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51140
b4343346
AS
51141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51142 wide char related routines to wcsmbs subdir.
51143
3871f58f
AS
511442011-10-27 Andreas Schwab <schwab@redhat.com>
51145
51146 [BZ #13344]
51147 * misc/sys/cdefs.h (__THROWNL): Define.
51148 * posix/unistd.h: Use __THREADNL instead of __THREAD
51149 for memory synchronization functions.
51150
94d44d9f
RM
511512011-10-26 Roland McGrath <roland@hack.frob.com>
51152
21b64b15 51153 [BZ #13349]
94d44d9f
RM
51154 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51155 doesn't exist.
51156 * manual/stdio.texi (Obstack Streams): Node removed.
51157
f6ce9294
AS
511582011-10-26 Andreas Schwab <schwab@redhat.com>
51159
80479147
AS
51160 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51162 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51163
f6ce9294
AS
51164 * math/math_private.h (math_force_eval): Allow non-addressable
51165 arguments.
51166 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51167
618280a1
UD
511682011-10-25 Ulrich Drepper <drepper@gmail.com>
51169
e0016b11
UD
51170 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51171 file is not needed.
51172
51173 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51180 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51181 Add AVX variants.
51182 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51183 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51184 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51185 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51186 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51187 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51188 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51190 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51191 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51192 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51193 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51195 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51196 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51197 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51198 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51199 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51200 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51201
51202 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51203 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51204
618280a1
UD
51205 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51206 place. Use VEX encoding when compiling for AVX.
51207
37822576
AS
512082011-10-25 Andreas Schwab <schwab@redhat.com>
51209
1f1e1947
AS
51210 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51211 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51212
37822576
AS
51213 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51214
31ea014d
UD
512152011-10-25 Ulrich Drepper <drepper@gmail.com>
51216
d7826aa1 51217 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51218 useless if() expression.
d7826aa1
UD
51219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51220 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51224 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51227 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51229 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51231 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51232 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51233 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51238
31ea014d
UD
51239 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51240
16437fec
AS
512412011-10-25 Andreas Schwab <schwab@redhat.com>
51242
51243 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51244 condition.
51245 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51246
31d3cc00
UD
512472011-10-25 Ulrich Drepper <drepper@gmail.com>
51248
51249 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51250 .text section. Avoid duplicate constants.
51251 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51253 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51259 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51260 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51261 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51263 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51265 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51267 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51271 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51273 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51274 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51275 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51276 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51277 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51278 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51279 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51280 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51281 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51282 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51284 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51285 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51287 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51288 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51289 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51290 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51293 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51294 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51295 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51296
58985aa9
UD
512972011-10-24 Ulrich Drepper <drepper@gmail.com>
51298
202c9deb
UD
51299 * sysdeps/x86_64/dla.h: Move to ...
51300 * sysdeps/x86_64/fpu/dla.h: ...here.
51301 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51302 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51303
af968f62
UD
51304 * config.make.in: Add have-mfma4 entry.
51305 * configure.in: Substitute libc_cv_cc_fma4.
51306 * math/Makefile (dbl-only-routines): Add sincostab.
51307 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51308 Use __sincostab not sincos.
51309 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51310 name is a macro.
51311 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51315 using __copysign.
51316 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51317 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51318 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51319 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51320 and __inv.
51321 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51322 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51323 __copysign.
51324 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51325 define aliases when function name is a macro.
51326 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51327 sysdeps/ieee754/dbl-64/sincos.tbl.
51328 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51329 fma4-enabled routines.
51330 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51331 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51332 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51333 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51334 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51335 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51339 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51340 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51341 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51342 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51343 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51345 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51346 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51347 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51348 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51350 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51351 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51353 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51355 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51357 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51358 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51359 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51360
58985aa9
UD
51361 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51362 rename.
51363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51371
a201fbcf
AS
513722011-10-24 Andreas Schwab <schwab@redhat.com>
51373
51374 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51375
fc2ee42a
LD
513762011-10-23 Ulrich Drepper <drepper@gmail.com>
51377
bb3129bd
UD
51378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51379
0275fff8
UD
51380 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51381 prediction.
51382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51383
2fa2ae85
UD
51384 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51385 Remove unused variable magic_bits.
51386 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51387
fc2ee42a
LD
51388 * string/strnlen.c: Define and use STRNLEN macro.
51389 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51390 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51392 * wcsmbs/wcslen.c: Define and use WCSLEN.
51393 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51394 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51395 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51396 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51397 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51398 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51399 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51400
ce7dd29f
LD
514012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51402
51403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51404 strnlen-sse2-no-bsf.
51405 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51407 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51408 Add strnlen support.
51409 (USE_AS_STRNLEN): New macro.
51410 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51411 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51412 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51413 * sysdeps/x86_64/wcslen.S: New file.
51414
979c70a3
MZ
514152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51416
51417 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51418 XMM-moves are used for copying on small sizes.
51419
2d09f82f
LD
514202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51421
51422 * wcsmbs/Makefile (strop-tests): Add wcschr.
51423 * wcsmbs/test-wcschr.c: New file.
51424 * string/test-strchr.c: Update.
51425 Add wcschr support.
51426 (WIDE): New macro.
51427
619fccca
LD
514282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51429
2d09f82f 51430 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51431 * wcsmbs/test-wcslen.c: New file.
51432 * string/test-strlen.c: Update.
51433 Add wcslen support.
51434 (WIDE): New macro.
51435
09f699ea
UD
514362011-10-23 Ulrich Drepper <drepper@gmail.com>
51437
51438 * po/it.po: Update from translation team.
51439
95584d3b
LD
514402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51441
51442 * sysdeps/x86_64/wcscmp.S: Update.
51443 Fix wrong comparison semantics.
51444 wcscmp shall use signed comparison not unsigned.
51445 Don't use substraction to avoid overflow bug.
51446 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51447 * wcsmbc/wcscmp.c: Likewise.
51448 * string/test-strcmp.c: Likewise.
51449 Add new tests to check cases with negative values.
51450
c8b3296b
UD
514512011-10-23 Ulrich Drepper <drepper@gmail.com>
51452
51453 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51454 * sysdeps/x86_64/dla.h: ...here. New file.
51455 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51460 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51464
246ad57a
AS
514652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51466
51467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51468 __ynl_finite aliases.
51469
a1a87169
UD
514702011-10-22 Ulrich Drepper <drepper@gmail.com>
51471
0d355eb7
UD
51472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51473
a1a87169
UD
51474 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51475 define DLA_FMA.
51476 [DLA_FMA] (EMULV): Use DLA_FMA.
51477 [DLA_FMA] (MUL12): Use EMULV.
51478 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51479 that are not needed.
51480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51487
ee2aafe0
AS
514882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51489
51490 * math/s_nan.c: Undef __nan.
51491 * math/s_nanf.c: Undef __nanf.
51492 * math/s_nanl.c: Undef __nanl.
51493 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51494 "math_private.h".
51495
bc62c2fb
UD
514962011-10-22 Ulrich Drepper <drepper@gmail.com>
51497
77425c63
UD
51498 * math/s_catan.c: Add branch predictions.
51499 * math/s_catanf.c: Likewise.
51500 * math/s_catanh.c: Likewise.
51501 * math/s_catanhf.c: Likewise.
51502 * math/s_catanhl.c: Likewise.
51503 * math/s_catanl.c: Likewise.
51504 * math/s_cexp.c: Likewise.
51505 * math/s_cexpf.c: Likewise.
51506 * math/s_cexpl.c: Likewise.
51507 * math/s_clog.c: Likewise.
51508 * math/s_clog10.c: Likewise.
51509 * math/s_clog10f.c: Likewise.
51510 * math/s_clog10l.c: Likewise.
51511 * math/s_clogf.c: Likewise.
51512 * math/s_clogl.c: Likewise.
51513 * math/s_csqrt.c: Likewise.
51514 * math/s_csqrtf.c: Likewise.
51515 * math/s_csqrtl.c: Likewise.
51516 * math/s_ctanf.c: Likewise.
51517 * math/s_ctanh.c: Likewise.
51518 * math/s_ctanhf.c: Likewise.
51519 * math/s_ctanhl.c: Likewise.
51520 * math/s_ctanl.c: Likewise.
51521
bc62c2fb
UD
51522 * math/math_private.h: Define __nan, __nanf, __nanl.
51523 * math/s_cacosh.c: Include <math_private.h>.
51524 * math/s_cacoshl.c: Likewise.
51525 * math/s_casinh.c: Likewise.
51526 * math/s_casinhf.c: Likewise.
51527 * math/s_casinhl.c: Likewise.
51528 * math/s_ccos.c: Rely entire on ccosh.
51529 * math/s_ccosf.c: Rely entire on ccoshf.
51530 * math/s_ccosl.c: Rely entirely on ccoshl.
51531 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51532 Remove tests for FE_INVALID.
51533 * math/s_ccoshf.c: Likewise.
51534 * math/s_ccoshl.c: Likewise.
51535 * math/s_csin.c: Likewise.
51536 * math/s_csinf.c: Likewise.
51537 * math/s_csinh.c Likewise.
51538 * math/s_csinhf.c: Likewise.
51539 * math/s_csinhl.c: Likewise.
51540 * math/s_csinl.c: Likewise.
51541 * math/s_ctan.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51543 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51545
8ec250a4
UD
515462011-10-21 Ulrich Drepper <drepper@gmail.com>
51547
c196fed8
UD
51548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51549 compilation problems.
51550
8ec250a4
UD
51551 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51552 __builtin_expect.
51553
8d4f46c6
UD
515542011-10-20 Ulrich Drepper <drepper@gmail.com>
51555
ed72b654
UD
51556 * sysdeps/i386/configure.in: Test for -mfma4 option.
51557 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51558 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51559 COMMON_CPUID_INDEX_80000001.
51560 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51561 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51562 use it if FMA3 is not supported.
51563 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51564
8d4f46c6
UD
51565 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51566 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51567
d45c60c2
AS
515682011-10-20 Andreas Schwab <schwab@redhat.com>
51569
51570 [BZ #12892]
51571 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51572 it would create a cycle with a link time dependency.
51573
d9a4d2ab
UD
515742011-10-19 Ulrich Drepper <drepper@gmail.com>
51575
855d1560
UD
51576 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51577 instruction.
51578 * string/Makefile (strop-tests): Add rawmemchr.
51579 * string/test-rawmemchr.c: New file.
51580
d9a4d2ab
UD
51581 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51583 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51584 when compiling str{,n}casecmp and when AVX is available. Hook up
51585 new optimized code in initializers.
51586
8f3b1ffe
AS
515872011-10-19 Andreas Schwab <schwab@redhat.com>
51588
51589 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51590 __feraiseexcept instead of feraiseexcept.
51591
d38f1dba
UD
515922011-10-18 Ulrich Drepper <drepper@gmail.com>
51593
d9a8d0ab
UD
51594 * math/math_private.h: Define defaults for libc_fetestexcept and
51595 libc_feupdateenv.
51596 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51597 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51598 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51599 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51600 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51601 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51602 libc_fetestexcept and libc_feupdateenv.
51603
4855e3dd
UD
51604 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51605 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51606 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51607 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51608 libc_feholdexcept_setround.
51609
581d30e3
UD
51610 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51611 Add s_nearbyint-c and s_nearbyintf-c.
51612 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51613 nearbyintf inlines.
51614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51615 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51617 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51618
d38f1dba
UD
51619 * math/math_private.h: Define defaults for libc_fegetround,
51620 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51621 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51622 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51624 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51625 standard functions.
51626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51627 Remove comments and hacks for old compiler versions.
51628 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51629 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51630 libc_feholdexceptl.
51631
caa6c9d8
AS
516322011-10-18 Andreas Schwab <schwab@redhat.com>
51633
51634 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51635 (__feraiseexcept_renamed): Add __NTH.
51636 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51637 namespace violations.
51638
97c066e6
UD
516392011-10-17 Ulrich Drepper <drepper@gmail.com>
51640
99ce7b04
UD
51641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51642
1004d182
UD
51643 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51644
228a984d
UD
51645 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51646 recently added interfaces.
51647 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51648
c8553a6a
UD
51649 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51650 about macro parameter expansion.
51651
ed22dcf6
UD
51652 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51653 __NO_MATH_INLINES is defined. Cleanups.
51654
51655 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51656 and __floorf is target has SSE4.1.
51657 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51658 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51659 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51660 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51661
b171c137
UD
51662 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51663 name.
51664 (floorf): Likewise.
51665
97c066e6
UD
51666 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51667
629f62ef
AS
516682011-10-17 Andreas Schwab <schwab@redhat.com>
51669
49a43d80
AS
51670 * misc/sys/cdefs.h: Fix last change.
51671
629f62ef
AS
51672 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51673 database lookup.
51674
e453f6cd
UD
516752011-10-16 Ulrich Drepper <drepper@gmail.com>
51676
aa78043a
UD
51677 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51678
ad0f5cad
UD
51679 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51681 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51687 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51688 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51689 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51690 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51691 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51692 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51693 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51694 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51696 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51697 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51698 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51699 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51700 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51701
51702 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51703 ceil, ceilf, floor, floorf.
51704
51705 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51706 Perform IRELATIVE relocations last.
51707
e453f6cd
UD
51708 * elf/do-rel.h: Add another parameter nrelative, replacing the
51709 local variable with the same name. Change name of the function
51710 to end in Rel or Rela (uppercase).
51711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51712 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51713 elf_dynamic_do_##reloc function.
51714
fd5bdc09
UD
517152011-10-15 Ulrich Drepper <drepper@gmail.com>
51716
79b195b5
UD
51717 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51718 is sufficient, at least on modern CPUs.
51719
d4a28569
UD
51720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51721
b61099b5
UD
51722 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51723 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51724
bcf01e6d
UD
51725 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51726 __expl_finite.
51727 * math/bits/math-finite.h: Add entries for exp.
51728 * math/e_expl.c: Add __*_finite alias.
51729 * sysdeps/i386/fpu/e_exp.S: Likewise.
51730 * sysdeps/i386/fpu/e_expf.S: Likewise.
51731 * sysdeps/i386/fpu/e_expl.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51733 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51734 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51736 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51737 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51738 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51739
ba1a0d59
UD
51740 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51741 is sufficient, at least on modern CPUs.
51742
fd5bdc09
UD
51743 * ctype/ctype-info.c (__ctype_init): Define.
51744 * include/ctype.h (__ctype_init): Declare.
51745 (__ctype_b_loc): The variable is always initialized.
51746 (__ctype_toupper_loc): Likewise.
51747 (__ctype_tolower_loc): Likewise.
51748 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51749 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51750
7872cfb0
AS
517512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51752
b468825a
AS
51753 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51754
7872cfb0
AS
51755 * configure.in: Also look in $cxxmachine/include for C++ system
51756 headers.
51757
be13f7bf
LD
517582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51759
51760 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51761 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51762 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51763 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51765 (USE_AS_WMEMCMP): New macro.
51766 Fixing indents.
51767 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51768 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51769 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51770 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51772 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51773 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51774 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51775 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51776 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51777 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51778 (USE_AS_WMEMCMP): New macro.
51779 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51780 * sysdeps/string/test-memcmp.c: Update.
51781 Fix simple_wmemcmp.
51782 Add new tests.
51783 * wcsmbs/wmemcmp.c: Update.
51784 (WMEMCMP): New macro.
51785 Fix overflow bug.
51786
556a2007
AJ
517872011-10-12 Andreas Jaeger <aj@suse.de>
51788
51789 [BZ #13268]
51790 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51791
538faaa7
UD
517922011-10-15 Ulrich Drepper <drepper@gmail.com>
51793
ab6737ff
UD
51794 * libio/iofwide.c (do_length): Avoid warning.
51795
538faaa7
UD
51796 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51797
396a21b1
UD
517982011-10-14 Ulrich Drepper <drepper@gmail.com>
51799
cdf2901f
UD
51800 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51801
38ad40ce
UD
51802 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51803 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51804 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51805 * sysdeps/i386/i686/fpu/e_log.S: New file.
51806 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51807 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51808
396a21b1
UD
51809 * ctype/ctype.h: Add support for inlined isXXX functions when
51810 compiling C++ code.
51811
6b1f68c9
AS
518122011-10-14 Andreas Schwab <schwab@redhat.com>
51813
349290c0
AS
51814 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51815
6b1f68c9
AS
51816 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51817
f2282d42
RM
518182011-10-13 Roland McGrath <roland@hack.frob.com>
51819
51820 [BZ #13291]
51821 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51822
5298ffa8
AS
518232011-10-13 Andreas Schwab <schwab@redhat.com>
51824
714fad23
AS
51825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51826 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51827 feraiseexcept.
51828
81dcc7fb
AS
51829 * sysdeps/x86_64/memrchr.S: Check for zero size.
51830
5298ffa8
AS
51831 * string/stratcliff.c: Add memrchr tests.
51832
951fbcec
LD
518332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51834
51835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51836 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51837 rawmemchr-sse2 rawmemchr-sse2-bsf.
51838 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51839 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51840 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51841 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51842 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51843 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51844 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51845 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51847 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51848 * string/memrchr.c (MEMRCHR): New macro.
51849
0ac5ae23
UD
518502011-10-12 Ulrich Drepper <drepper@gmail.com>
51851
51852 Add integration with gcc's -ffinite-math-only and optimize wrapper
51853 functions in libm.
51854 * Versions.def: Define GLIBC_2.15 version for libm.
51855 * math/Makefile (headers): Add bits/math-finite.h.
51856 * math/bits/math-finite.h: New file.
51857 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51858 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51859 * math/e_acoshl.c: Add __*_finite alias.
51860 * math/e_acosl.c: Likewise.
51861 * math/e_asinl.c: Likewise.
51862 * math/e_atan2l.c: Likewise.
51863 * math/e_atanhl.c: Likewise.
51864 * math/e_coshl.c: Likewise.
51865 * math/e_exp10.c: Likewise.
51866 * math/e_exp10f.c: Likewise.
51867 * math/e_exp10l.c: Likewise.
51868 * math/e_exp2l.c: Likewise.
51869 * math/e_fmodl.c: Likewise.
51870 * math/e_gammal_r.c: Likewise.
51871 * math/e_hypotl.c: Likewise.
51872 * math/e_j0l.c: Likewise.
51873 * math/e_j1l.c: Likewise.
51874 * math/e_jnl.c: Likewise.
51875 * math/e_lgammal_r.c: Likewise.
51876 * math/e_log10l.c: Likewise.
51877 * math/e_log2l.c: Likewise.
51878 * math/e_logl.c: Likewise.
51879 * math/e_powl.c: Likewise.
51880 * math/e_sinhl.c: Likewise.
51881 * math/e_sqrtl.c: Likewise.
51882 * math/e_scalb.c: Completely rewritten and optimized.
51883 * math/e_scalbf.c: Likewise.
51884 * math/e_scalbl.c: Likewise.
51885 * math/w_acos.c: Likewise.
51886 * math/w_acosf.c: Likewise.
51887 * math/w_acosl.c: Likewise.
51888 * math/w_acosh.c: Likewise.
51889 * math/w_acoshf.c: Likewise.
51890 * math/w_acoshl.c: Likewise.
51891 * math/w_asin.c: Likewise.
51892 * math/w_asinf.c: Likewise.
51893 * math/w_asinl.c: Likewise.
51894 * math/w_atan2.c: Likewise.
51895 * math/w_atan2f.c: Likewise.
51896 * math/w_atan2l.c: Likewise.
51897 * math/w_atanh.c: Likewise.
51898 * math/w_atanhf.c: Likewise.
51899 * math/w_atanhl.c: Likewise.
51900 * math/w_exp10.c: Likewise.
51901 * math/w_exp10f.c: Likewise.
51902 * math/w_exp10l.c: Likewise.
51903 * math/w_fmod.c: Likewise.
51904 * math/w_fmodf.c: Likewise.
51905 * math/w_fmodl.c: Likewise.
51906 * math/w_j0.c: Likewise.
51907 * math/w_j0f.c: Likewise.
51908 * math/w_j0l.c: Likewise.
51909 * math/w_j1.c: Likewise.
51910 * math/w_j1f.c: Likewise.
51911 * math/w_j1l.c: Likewise.
51912 * math/w_jn.c: Likewise.
51913 * math/w_jnf.c: Likewise.
51914 * math/w_log.c: Likewise.
51915 * math/w_logf.c: Likewise.
51916 * math/w_logl.c: Likewise.
51917 * math/w_log10.c: Likewise.
51918 * math/w_log10f.c: Likewise.
51919 * math/w_log10l.c: Likewise.
51920 * math/w_log2.c: Likewise.
51921 * math/w_log2f.c: Likewise.
51922 * math/w_log2l.c: Likewise.
51923 * math/w_pow.c: Likewise.
51924 * math/w_powf.c: Likewise.
51925 * math/w_powl.c: Likewise.
51926 * math/w_remainder.c: Likewise.
51927 * math/w_remainderf.c: Likewise.
51928 * math/w_remainderl.c: Likewise.
51929 * math/w_scalb.c: Likewise.
51930 * math/w_scalbf.c: Likewise.
51931 * math/w_scalbl.c: Likewise.
51932 * math/w_sqrt.c: Likewise.
51933 * math/w_sqrtf.c: Likewise.
51934 * math/w_sqrtl.c: Likewise.
51935 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51936 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51937 used.
51938 * math/math_private.h: Declare __kernel_standard_f.
51939 * math/w_cosh.c: Remove cruft and optimize a bit.
51940 * math/w_coshf.c: Likewise.
51941 * math/w_coshl.c: Likewise.
51942 * math/w_exp2.c: Likewise.
51943 * math/w_exp2f.c: Likewise.
51944 * math/w_exp2l.c: Likewise.
51945 * math/w_hypot.c: Likewise.
51946 * math/w_hypotf.c: Likewise.
51947 * math/w_hypotl.c: Likewise.
51948 * math/w_lgamma.c: Likewise.
51949 * math/w_lgamma_r.c: Likewise.
51950 * math/w_lgammaf.c: Likewise.
51951 * math/w_lgammaf_r.c: Likewise.
51952 * math/w_lgammal.c: Likewise.
51953 * math/w_lgammal_r.c: Likewise.
51954 * math/w_sinh.c: Likewise.
51955 * math/w_sinhf.c: Likewise.
51956 * math/w_sinhl.c: Likewise.
51957 * math/w_tgamma.c: Likewise.
51958 * math/w_tgammaf.c: Likewise.
51959 * math/w_tgammal.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51962 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51963 Minor optimizations. Pretty printing. Remove cruft.
51964 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51966 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51967 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51968 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51969 * sysdeps/i386/fpu/e_asin.S: Likewise.
51970 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51971 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51972 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51973 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51975 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51976 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51977 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51978 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51979 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51980 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51981 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51982 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51983 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51984 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51985 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51986 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51987 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51988 * sysdeps/i386/fpu/e_log.S: Likewise.
51989 * sysdeps/i386/fpu/e_log10.S: Likewise.
51990 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51992 * sysdeps/i386/fpu/e_log2.S: Likewise.
51993 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51994 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51995 * sysdeps/i386/fpu/e_logf.S: Likewise.
51996 * sysdeps/i386/fpu/e_logl.S: Likewise.
51997 * sysdeps/i386/fpu/e_pow.S: Likewise.
51998 * sysdeps/i386/fpu/e_powf.S: Likewise.
51999 * sysdeps/i386/fpu/e_powl.S: Likewise.
52000 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52001 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52002 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52004 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52005 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52006 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52007 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52008 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52026 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52030 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52031 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52032 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52033 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52034 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52035 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52036 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52038 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52039 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52040 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52041 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52042 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52043 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52044 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52045 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52046 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52047 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52048 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52049 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52050 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52051 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52052 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52053 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52054 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52055 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52056 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52057 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52058 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52059 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52060 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52061 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52062 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52063 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52064 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52065 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52066 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52067 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52068 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52073 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52075 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52077 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52080 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52085 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52086 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52087 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52088 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52089 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52090 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52091 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52096 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52098 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52100 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52101 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52102 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52103 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52104 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52105 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52106 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52107 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52108 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52109 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52110 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52111 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52112 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52114 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52115 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52117 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52118 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52119 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52120 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52121 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52122 (__isnanf): Likewise.
52123 (__isinf_ns): Likewise.
52124 (__isinf_nsf): Likewise.
52125 (__finite): Likewise.
52126 (__finitef): Likewise.
52127 (__ieee754_sqrt): Define as macro.
52128 (__ieee754_sqrtf): Define as macro.
52129 (__ieee754_sqrtl): Define as macro.
52130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52131 inlined copy.
52132 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52133 __FINITE_MATH_ONLY__ consistent.
52134 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52135
12cc2fcd
AS
521362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52137
a843a204
AS
52138 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52139 of rawmemchr.
52140
12cc2fcd
AS
52141 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52142
c853acd5
UD
521432011-10-09 Ulrich Drepper <drepper@gmail.com>
52144
52145 * po/ja.po: Update from translation team.
52146
c658d255
RM
521472011-10-08 Roland McGrath <roland@hack.frob.com>
52148
110946e4
RM
52149 * locale/programs/locarchive.c (prepare_address_space): New function.
52150 (create_archive, enlarge_archive, open_archive): Use it.
52151
50604220
RM
52152 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52153 inside [SHARED], where it is used.
52154
c658d255
RM
52155 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52156
52157 * nss/getent.c (netgroup_keys): Remove unused variable.
52158 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52159
6a621eb7
UD
521602011-10-08 Ulrich Drepper <drepper@gmail.com>
52161
7edb55ce
UD
52162 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52163 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52166 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52167 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52168 * math/Makefile (libm-calls): Add s_isinf_ns.
52169 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52170 * math/multc3.c: Likewise.
52171 * math/s_casin.c: Likewise.
52172 * math/s_casinf.c: Likewise.
52173 * math/s_casinl.c: Likewise.
52174 * math/s_ccos.c: Likewise.
52175 * math/s_ccosf.c: Likewise.
52176 * math/s_ccosl.c: Likewise.
52177 * math/s_ctan.c: Likewise.
52178 * math/s_ctanf.c: Likewise.
52179 * math/s_ctanh.c: Likewise.
52180 * math/s_ctanhf.c: Likewise.
52181 * math/s_ctanhl.c: Likewise.
52182 * math/s_ctanl.c: Likewise.
52183 * math/w_fmod.c: Likewise.
52184 * math/w_fmodf.c: Likewise.
52185 * math/w_fmodl.c: Likewise.
52186 * math/w_remainder.c: Likewise.
52187 * math/w_remainderf.c: Likewise.
52188 * math/w_remainderl.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52190 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52191 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52193 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52194 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52195 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52196 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52197
187da0ae
UD
52198 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52199 of the number.
52200 * stdio-common/printf_fphex.c: Likewise.
52201 * stdio-common/printf_size.c: Likewise.
52202
9277c064
UD
52203 * math/e_exp10.c: Include math_private.h using <...> not "...".
52204 * math/e_exp10f.c: Likewise.
52205 * math/e_exp10l.c: Likewise.
52206 * math/e_exp2l.c: Likewise.
52207 * math/e_j0l.c: Likewise.
52208 * math/e_j1l.c: Likewise.
52209 * math/e_jnl.c: Likewise.
52210 * math/e_lgammal_r.c: Likewise.
52211 * math/e_rem_pio2l.c: Likewise.
52212 * math/e_scalb.c: Likewise.
52213 * math/e_scalbf.c: Likewise.
52214 * math/e_scalbl.c: Likewise.
52215 * math/k_cosl.c: Likewise.
52216 * math/k_sinl.c: Likewise.
52217 * math/k_tanl.c: Likewise.
52218 * math/s_cacoshf.c: Likewise.
52219 * math/s_catan.c: Likewise.
52220 * math/s_catanf.c: Likewise.
52221 * math/s_catanh.c: Likewise.
52222 * math/s_catanhf.c: Likewise.
52223 * math/s_catanhl.c: Likewise.
52224 * math/s_catanl.c: Likewise.
52225 * math/s_ccosh.c: Likewise.
52226 * math/s_ccoshf.c: Likewise.
52227 * math/s_ccoshl.c: Likewise.
52228 * math/s_cexp.c: Likewise.
52229 * math/s_cexpf.c: Likewise.
52230 * math/s_cexpl.c: Likewise.
52231 * math/s_clog.c: Likewise.
52232 * math/s_clog10.c: Likewise.
52233 * math/s_clog10f.c: Likewise.
52234 * math/s_clog10l.c: Likewise.
52235 * math/s_clogf.c: Likewise.
52236 * math/s_clogl.c: Likewise.
52237 * math/s_csin.c: Likewise.
52238 * math/s_csinf.c: Likewise.
52239 * math/s_csinh.c: Likewise.
52240 * math/s_csinhf.c: Likewise.
52241 * math/s_csinhl.c: Likewise.
52242 * math/s_csinl.c: Likewise.
52243 * math/s_csqrt.c: Likewise.
52244 * math/s_csqrtf.c: Likewise.
52245 * math/s_csqrtl.c: Likewise.
52246 * math/s_ctan.c: Likewise.
52247 * math/s_ctanf.c: Likewise.
52248 * math/s_ctanh.c: Likewise.
52249 * math/s_ctanhf.c: Likewise.
52250 * math/s_ctanhl.c: Likewise.
52251 * math/s_ctanl.c: Likewise.
52252 * math/s_ldexp.c: Likewise.
52253 * math/s_ldexpf.c: Likewise.
52254 * math/s_ldexpl.c: Likewise.
52255 * math/s_significand.c: Likewise.
52256 * math/s_significandf.c: Likewise.
52257 * math/s_significandl.c: Likewise.
52258 * math/w_acos.c: Likewise.
52259 * math/w_acosf.c: Likewise.
52260 * math/w_acosh.c: Likewise.
52261 * math/w_acoshf.c: Likewise.
52262 * math/w_acoshl.c: Likewise.
52263 * math/w_acosl.c: Likewise.
52264 * math/w_asin.c: Likewise.
52265 * math/w_asinf.c: Likewise.
52266 * math/w_asinl.c: Likewise.
52267 * math/w_atan2.c: Likewise.
52268 * math/w_atan2f.c: Likewise.
52269 * math/w_atan2l.c: Likewise.
52270 * math/w_atanh.c: Likewise.
52271 * math/w_atanhf.c: Likewise.
52272 * math/w_atanhl.c: Likewise.
52273 * math/w_cosh.c: Likewise.
52274 * math/w_coshf.c: Likewise.
52275 * math/w_coshl.c: Likewise.
52276 * math/w_dremf.c: Likewise.
52277 * math/w_exp10.c: Likewise.
52278 * math/w_exp10f.c: Likewise.
52279 * math/w_exp10l.c: Likewise.
52280 * math/w_exp2.c: Likewise.
52281 * math/w_exp2f.c: Likewise.
52282 * math/w_fmod.c: Likewise.
52283 * math/w_fmodf.c: Likewise.
52284 * math/w_fmodl.c: Likewise.
52285 * math/w_hypot.c: Likewise.
52286 * math/w_hypotf.c: Likewise.
52287 * math/w_hypotl.c: Likewise.
52288 * math/w_j0.c: Likewise.
52289 * math/w_j0f.c: Likewise.
52290 * math/w_j0l.c: Likewise.
52291 * math/w_j1.c: Likewise.
52292 * math/w_j1f.c: Likewise.
52293 * math/w_j1l.c: Likewise.
52294 * math/w_jn.c: Likewise.
52295 * math/w_jnf.c: Likewise.
52296 * math/w_jnl.c: Likewise.
52297 * math/w_lgamma.c: Likewise.
52298 * math/w_lgamma_r.c: Likewise.
52299 * math/w_lgammaf.c: Likewise.
52300 * math/w_lgammaf_r.c: Likewise.
52301 * math/w_lgammal.c: Likewise.
52302 * math/w_lgammal_r.c: Likewise.
52303 * math/w_log.c: Likewise.
52304 * math/w_log10.c: Likewise.
52305 * math/w_log10f.c: Likewise.
52306 * math/w_log10l.c: Likewise.
52307 * math/w_log2.c: Likewise.
52308 * math/w_log2f.c: Likewise.
52309 * math/w_log2l.c: Likewise.
52310 * math/w_logf.c: Likewise.
52311 * math/w_logl.c: Likewise.
52312 * math/w_pow.c: Likewise.
52313 * math/w_powf.c: Likewise.
52314 * math/w_powl.c: Likewise.
52315 * math/w_remainder.c: Likewise.
52316 * math/w_remainderf.c: Likewise.
52317 * math/w_remainderl.c: Likewise.
52318 * math/w_scalb.c: Likewise.
52319 * math/w_scalbf.c: Likewise.
52320 * math/w_scalbl.c: Likewise.
52321 * math/w_sinh.c: Likewise.
52322 * math/w_sinhf.c: Likewise.
52323 * math/w_sinhl.c: Likewise.
52324 * math/w_sqrt.c: Likewise.
52325 * math/w_sqrtf.c: Likewise.
52326 * math/w_sqrtl.c: Likewise.
52327 * math/w_tgamma.c: Likewise.
52328 * math/w_tgammaf.c: Likewise.
52329 * math/w_tgammal.c: Likewise.
52330
6a621eb7
UD
52331 * po/ja.po: Update from translation team.
52332
bf582445
AJ
523332011-09-29 Andreas Jaeger <aj@suse.de>
52334
f9efbf3a
AJ
52335 [BZ #13179]
52336 * sunrpc/netname.c (netname2host): Fix logic.
52337
bf582445
AJ
52338 [BZ #6779]
52339 [BZ #6783]
52340 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52341 correctly.
52342 * math/w_remainder.c (__remainder): Likewise.
52343 * math/w_remainderf.c (__remainderf): Likewise.
52344 * math/libm-test.inc (remainder_test): Add test cases.
52345
48693bea
AK
523462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52347
52348 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52349 sdiv_qrnnd.
52350
42622229
LD
523512011-10-07 Ulrich Drepper <drepper@gmail.com>
52352
52353 * string/test-memcmp.c: Avoid unncessary #defines.
52354 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52355
093ecf92
LD
523562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52357
52358 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52359 Use new sse2 version for core i3 - i7 as it's faster
52360 than sse42 version.
52361 (bit_Prefer_PMINUB_for_stringop): New.
52362 * sysdeps/x86_64/rawmemchr.S: Update.
52363 Replace with faster SSE2 version.
52364 * sysdeps/x86_64/memrchr.S: New file.
52365 * sysdeps/x86_64/memchr.S: Update.
52366 Replace with faster SSE2 version.
52367
fde56e5c
MP
523682011-09-12 Marek Polacek <mpolacek@redhat.com>
52369
52370 * elf/dl-load.c (lose): Add cast to avoid warning.
52371
21fd49a9
UD
523722011-10-07 Ulrich Drepper <drepper@gmail.com>
52373
5a06e643
UD
52374 * po/ca.po: Update from translation team.
52375
684ae515
UD
52376 * inet/getnetgrent_r.c: Hook up nscd.
52377 * nscd/Makefile (routines): Add nscd_netgroup.
52378 (nscd-modules): Add netgroupcache.
52379 (CFLAGS-netgroupcache.c): Define.
52380 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52381 (cache_search): Add const to second parameter.
52382 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52383 INNETGR.
52384 (dbs): Add netgrdb entry.
52385 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52386 (verify_persistent_db): Handle netgrdb.
52387 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52388 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52389 GETFDNETGR.
52390 (netgroup_response_header): Define.
52391 (innetgroup_response_header): Define.
52392 (datahead): Add netgroup_response_header and innetgroup_response_header
52393 elements.
52394 * nscd/nscd.conf: Add entries for netgroup cache.
52395 * nscd/nscd.h (dbtype): Add netgrdb.
52396 (_PATH_NSCD_NETGROUP_DB): Define.
52397 (netgroup_iov_disabled): Declare.
52398 (xmalloc, xcalloc, xrealloc): Move declarations here.
52399 (cache_search): Adjust prototype.
52400 Add netgroup-related prototypes.
52401 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52402 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52403 (__nscd_innetgr): Declare.
52404 * nscd/selinux.c (perms): Use access_vector_t as element type and
52405 add netgroup-related initializers.
52406 * nscd/netgroupcache.c: New file.
52407 * nscd/nscd_netgroup.c: New file.
52408 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52409 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52410 For four parameters use innetgr.
52411 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52412 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52413 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52414 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52415
21fd49a9
UD
52416 * nscd/connections.c (register_traced_file): Don't register file
52417 for disabled databases.
52418
054c0457
UD
524192011-10-06 Ulrich Drepper <drepper@gmail.com>
52420
32b63198
UD
52421 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52422
054c0457
UD
52423 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52424 from tree and freeing node.
52425
64031225
JO
524262011-09-25 Jiri Olsa <jolsa@redhat.com>
52427
52428 * nss/nsswitch.c (__nss_database_lookup): Handle
52429 nss_parse_service_list out of memory case.
52430
0490345c
JO
524312011-09-15 Jiri Olsa <jolsa@redhat.com>
52432
52433 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52434 out of memory case.
52435
3a62d00d
AS
524362011-10-04 Andreas Schwab <schwab@redhat.com>
52437
52438 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52439 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52440 pass it down.
52441 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52442 elf_machine_rela, elf_machine_lazy_rel.
52443 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52444 (ELF_DYNAMIC_DO_REL): Likewise.
52445 (ELF_DYNAMIC_DO_RELA): Likewise.
52446 (ELF_DYNAMIC_RELOCATE): Likewise.
52447 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52448 to ELF_DYNAMIC_DO_REL.
52449 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52450 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52451 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52452 elf_machine_rela.
52453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52454 skip_ifunc, don't call ifunc function if non-zero.
52455 (elf_machine_rela): Likewise.
52456 (elf_machine_lazy_rel): Likewise.
52457 (elf_machine_lazy_rela): Likewise.
52458 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52459 (elf_machine_lazy_rel): Likewise.
52460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52461 Likewise.
52462 (elf_machine_lazy_rel): Likewise.
52463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52464 Likewise.
52465 (elf_machine_lazy_rel): Likewise.
52466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52467 (elf_machine_lazy_rel): Likewise.
52468 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52469 (elf_machine_lazy_rel): Likewise.
52470 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52471 (elf_machine_lazy_rel): Likewise.
52472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52473 (elf_machine_lazy_rel): Likewise.
52474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52475 (elf_machine_lazy_rel): Likewise.
52476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52477 (elf_machine_lazy_rel): Likewise.
52478
68577918
UD
524792011-09-28 Ulrich Drepper <drepper@gmail.com>
52480
52481 * nss/nss_files/files-init.c (_nss_files_init): Use static
52482 initialization for all the *_traced_file variables.
52483
68822d74
AS
524842011-09-28 Andreas Schwab <schwab@redhat.com>
52485
52486 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52487
2056100b
RM
524882011-09-27 Roland McGrath <roland@hack.frob.com>
52489
52490 [BZ #13226]
52491 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52492
32c76b63
AS
524932011-09-27 Andreas Schwab <schwab@redhat.com>
52494
52495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52496 Reread the line before reparsing it.
52497
bf972c9d
AS
524982011-09-26 Andreas Schwab <schwab@redhat.com>
52499
52500 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52501
e057a1b5
JM
525022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52503 Maxim Kuvyrkov <maxim@codesourcery.com>
52504 Joseph Myers <joseph@codesourcery.com>
52505
52506 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52507 if needed for __stack_chk_guard.
52508
bc7e1c36
RM
525092011-09-19 Roland McGrath <roland@hack.frob.com>
52510
ecb1482f
RM
52511 * sysdeps/posix/spawni.c (script_execute): Always define it.
52512 It will be optimized away if unused.
52513 (maybe_script_execute): New function.
52514 (__spawni): Call it.
52515
bc7e1c36
RM
52516 * Makerules: Don't include tls.make.
52517 (config-tls): Always set to thread.
52518 * tls.make.c: File removed.
52519
1c3b002b
MF
525202011-09-19 Mike Frysinger <vapier@gentoo.org>
52521
52522 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52523 * config.make.in (CPPFLAGS-config): New substituted variable.
52524
2840865d
UD
525252011-09-15 Ulrich Drepper <drepper@gmail.com>
52526
88738eb6
UD
52527 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52528
cbf645a6 52529 [BZ #13192]
2840865d
UD
52530 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52531 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52532
b402e91a
RM
525332011-09-15 Roland McGrath <roland@hack.frob.com>
52534
52535 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52536 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52538 (CALL_FAIL): Likewise.
52539 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52540 (CALL_FAIL): Macro removed.
52541 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52542
4c1a1f71
UD
525432011-09-15 Ulrich Drepper <drepper@gmail.com>
52544
52545 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52546 for __FINITE_MATH_ONLY__ == 1.
52547
edc121be
AS
525482011-09-15 Andreas Schwab <schwab@redhat.com>
52549
52550 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52551 __ieee754_sqrt instead of sqrt.
52552 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52553 __ieee754_sqrtf instead of sqrtf.
52554 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52555 __floorf instead of floorf.
52556 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52557 __floorf, __truncf instead of floorf, truncf.
52558
cd205654
UD
525592011-09-14 Ulrich Drepper <drepper@gmail.com>
52560
ee4d0315
UD
52561 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52562
cd205654
UD
52563 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52564 __extern_always_inline.
52565 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52566 32-bit.
52567
48b67d71
AS
525682011-09-14 Andreas Schwab <schwab@redhat.com>
52569
52570 * elf/rtld.c (dl_main): Also relocate in dependency order when
52571 doing symbol dependency testing.
52572
1ae12c75
AS
525732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52574
52575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52576 Always define `refsym'.
52577
995a80df
AS
525782011-09-13 Andreas Schwab <schwab@redhat.com>
52579
e529793b
AS
52580 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52581 (__FD_ELT): Renamed from __FDELT.
52582 * misc/bits/select2.h (__FD_ELT): Likewise.
52583 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52584 __FD_MASK instead of __FDELT, __FDMASK.
52585 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52586 Likewise.
52587 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52588 Likewise.
52589
52d4fef8
AS
52590 * elf/Makefile (gen-ldd): Fix pattern.
52591
995a80df
AS
52592 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52593 (init_tls): Likewise.
52594
8682f8b0
UD
525952011-09-12 Ulrich Drepper <drepper@gmail.com>
52596
52597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52598
de82006d
AS
525992011-09-12 Andreas Schwab <schwab@redhat.com>
52600
a7c8e6a1
AS
52601 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52602 `struct cmsghdr *' instead of `void *'.
52603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52604 Likewise.
52605
0f31fe77
AS
526062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52607
52608 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52609 if non-absolute.
52610 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52611 ldd_rewrite_script.
0f31fe77 52612
32b4c839
UD
526132011-09-11 Ulrich Drepper <drepper@gmail.com>
52614
83cd1420
UD
52615 * configure.in: Remove --with-tls option.
52616 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52617 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52618 out in case it is missing.
52619 * sysdeps/ia64/elf/configure.in: Likewise.
52620 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52621 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52622 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52623 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52624 * sysdeps/sh/elf/configure.in: Likewise.
52625 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52626 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52627 * sysdeps/x86_64/elf/configure.in: Likewise.
52628 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52629 * sysdeps/mach/hurd/tls.h: Likewise.
52630
633f745d
UD
52631 [BZ #13067]
52632 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52633
f318beb8
UD
52634 [BZ #13090]
52635 * configure.in: Fix use of AC_INIT.
52636
32b4c839
UD
52637 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52638
3ce1f295
UD
526392011-09-10 Ulrich Drepper <drepper@gmail.com>
52640
bb016596
UD
52641 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52642 __set_errno.
8e58439c
UD
52643 * malloc/hooks.c: Likewise.
52644
aebae053 52645 [BZ #11929]
02d46fc4
UD
52646 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52647 variables statically.
52648 (narenas): Initialize.
52649 (list_lock): Initialize.
bb016596
UD
52650 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52651 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52652 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52653 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52654 Add initializers to main_arena and mp_.
52655 (malloc_state): Remove pagesize member. Change all users to use
52656 GLRO(dl_pagesize).
52657
52658 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52659 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52660 is always initialized.
52661
22a89187
UD
52662 * malloc/malloc.c: Removed unused configurations and dead code.
52663 * malloc/arena.c: Likewise.
52664 * malloc/hooks.c: Likewise.
02d46fc4 52665 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52666
d063d164
UD
52667 * include/tls.h: Removed. USE___THREAD must always be defined.
52668 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52669 * elf/dl-libc.c: Likewise.
52670 * elf/dl-tsd.c: Likewise.
52671 * include/errno.h: Likewise.
52672 * include/netdb.h: Likewise.
52673 * include/resolv.h: Likewise.
52674 * inet/herrno-loc.c: Likewise.
52675 * inet/herrno.c: Likewise.
52676 * malloc/arena.c: Likewise.
52677 * malloc/hooks.c: Likewise.
52678 * malloc/malloc.c: Likewise.
52679 * resolv/res-state.c: Likewise.
52680 * resolv/res_libc.c: Likewise.
52681 * sysdeps/i386/dl-machine.h: Likewise.
52682 * sysdeps/ia64/dl-machine.h: Likewise.
52683 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52684 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52685 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52686 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52687 * sysdeps/sh/dl-machine.h: Likewise.
52688 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52689 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52690 * sysdeps/unix/i386/sysdep.S: Likewise.
52691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52692 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52697 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52701 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52702 * sysdeps/x86_64/dl-machine.h: Likewise.
52703 * tls.make.c: Likewise.
52704
3ce1f295
UD
52705 * configure.in: Remove --with-__thread option. Make tests for
52706 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52707 tls_model attribute fail if no support is available. Remove
52708 USE_IN_LIBIO.
52709 * Makeconfig: Adjust for dropped configure option. All features are
52710 now mandatory.
52711 * Makerules: Likewise.
52712 * Versions.def: Likewise.
52713 * argp/argp-fmtstream.c: Likewise.
52714 * argp/argp-fmtstream.h: Likewise.
52715 * argp/argp-help.c: Likewise.
52716 * assert/assert.c: Likewise.
52717 * config.h.in: Likewise.
52718 * config.make.in: Likewise.
52719 * configure: Likewise.
52720 * configure.in: Likewise.
52721 * csu/Versions: Likewise.
52722 * csu/init.c: Likewise.
52723 * elf/tst-audit2.c: Likewise.
52724 * elf/tst-tls10.c: Likewise.
52725 * elf/tst-tls10.h: Likewise.
52726 * elf/tst-tls11.c: Likewise.
52727 * elf/tst-tls12.c: Likewise.
52728 * elf/tst-tls14.c: Likewise.
52729 * elf/tst-tlsmod11.c: Likewise.
52730 * elf/tst-tlsmod12.c: Likewise.
52731 * elf/tst-tlsmod13.c: Likewise.
52732 * elf/tst-tlsmod13a.c: Likewise.
52733 * elf/tst-tlsmod14a.c: Likewise.
52734 * elf/tst-tlsmod15b.c: Likewise.
52735 * elf/tst-tlsmod16a.c: Likewise.
52736 * elf/tst-tlsmod16b.c: Likewise.
52737 * elf/tst-tlsmod7.c: Likewise.
52738 * elf/tst-tlsmod8.c: Likewise.
52739 * elf/tst-tlsmod9.c: Likewise.
52740 * gmon/gmon.c: Likewise.
52741 * grp/fgetgrent_r.c: Likewise.
52742 * grp/putgrent.c: Likewise.
52743 * hurd/fopenport.c: Likewise.
52744 * include/libc-symbols.h: Likewise.
52745 * include/tls.h: Likewise.
52746 * intl/gettextP.h: Likewise.
52747 * intl/loadinfo.h: Likewise.
52748 * locale/global-locale.c: Likewise.
52749 * locale/localeinfo.h: Likewise.
52750 * mach/devstream.c: Likewise.
52751 * malloc/arena.c: Likewise.
52752 * malloc/set-freeres.c: Likewise.
52753 * misc/err.c: Likewise.
52754 * misc/getttyent.c: Likewise.
52755 * misc/mntent_r.c: Likewise.
52756 * posix/getopt.c: Likewise.
52757 * posix/wordexp.c: Likewise.
52758 * pwd/fgetpwent_r.c: Likewise.
52759 * resolv/Versions: Likewise.
52760 * resolv/res_hconf.c: Likewise.
52761 * shadow/fgetspent_r.c: Likewise.
52762 * shadow/putspent.c: Likewise.
52763 * stdio-common/printf_fphex.c: Likewise.
52764 * stdio-common/tmpfile.c: Likewise.
52765 * stdlib/abort.c: Likewise.
52766 * stdlib/fmtmsg.c: Likewise.
52767 * sunrpc/auth_unix.c: Likewise.
52768 * sunrpc/clnt_perr.c: Likewise.
52769 * sunrpc/clnt_tcp.c: Likewise.
52770 * sunrpc/clnt_udp.c: Likewise.
52771 * sunrpc/clnt_unix.c: Likewise.
52772 * sunrpc/openchild.c: Likewise.
52773 * sunrpc/svc_simple.c: Likewise.
52774 * sunrpc/svc_tcp.c: Likewise.
52775 * sunrpc/svc_udp.c: Likewise.
52776 * sunrpc/svc_unix.c: Likewise.
52777 * sunrpc/xdr.c: Likewise.
52778 * sunrpc/xdr_array.c: Likewise.
52779 * sunrpc/xdr_rec.c: Likewise.
52780 * sunrpc/xdr_ref.c: Likewise.
52781 * sunrpc/xdr_stdio.c: Likewise.
52782
1248c1c4
PB
527832011-09-09 Ulrich Drepper <drepper@gmail.com>
52784
52785 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52786
527872011-07-03 Andreas Jaeger <aj@suse.de>
52788
52789 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52790 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52791 regenerate with gen-libm-tests.pl.
52792
527932010-05-12 Petr Baudis <pasky@suse.cz>
52794
52795 [BZ #11589]
52796 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52797 around j0() zero points by switching to j1().
52798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52801 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52802
f22e1074
UD
528032011-09-09 Ulrich Drepper <drepper@gmail.com>
52804
f19009c1
UD
52805 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52806 instead of 0.
52807 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52808 instead of 0.
f19009c1
UD
52809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52810 Patch in part by Pavel Roskin <proski@gnu.org>.
52811
3f8cc204
UD
52812 [BZ #13138]
52813 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52814 realloc.
52815 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52816 Free memory block if necessary.
52817
f22e1074
UD
52818 [BZ #12847]
52819 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52820 be NULL. Don't lock in this case.
52821
0a2349f9
RM
528222011-09-09 Roland McGrath <roland@hack.frob.com>
52823
52824 * elf/elf.h (ELFOSABI_GNU): New macro.
52825 (ELFOSABI_LINUX): Define to that.
52826
f3cdd467
DZ
528272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52828
52829 * string/strncat.c (strncat): Undef the symbol in case it has been
52830 defined in bits/string.h.
52831
74718d13
UD
528322011-09-09 Ulrich Drepper <drepper@gmail.com>
52833
633e9e0f
UD
52834 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52835
0a2349f9 52836 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52837 link map.
52838
f9924780
AJ
528392011-08-17 Andreas Jaeger <aj@suse.de>
52840
52841 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52842
7f5517aa
PP
528432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52844 Ian Lance Taylor <iant@google.com>
52845
52846 * math/libm-test.inc (lround_test): New testcase.
52847 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52848
762011fe
UD
528492011-09-08 Ulrich Drepper <drepper@gmail.com>
52850
92963737
UD
52851 * Makefile: Remove support for automatic cvs check-ins.
52852 * Makerules: Likewise.
52853 * config.make.in: Likewise.
52854 * configure.in: Likewise.
52855 * intl/Makefile: Likewise.
52856 * locale/Makefile: Likewise.
52857 * po/Makefile: Likewise.
52858 * posix/Makefile: Likewise.
52859 * sysdeps/gnu/Makefile: Likewise.
52860 * sysdeps/mach/hurd/Makefile: Likewise.
52861 * sysdeps/sparc/sparc32/Makefile: Likewise.
52862
b0727fd8
JS
52863 [BZ #13118]
52864 * posix/Makefile (bug-regex32-ENV): Define.
52865 Patch by John Stanley <jpsinthemix@verizon.net>.
52866
a0f33f99
UD
52867 * misc/Makefile (headers): Add bits/select2.h.
52868 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52869 * misc/bits/select2.h: New file.
52870 * include/bits/select2.h: New file.
52871 * debug/Makefile (routines): Add fdelt_chk.
52872 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52873 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52874 FD_ISSET.
52875 * debug/fdelt_chk.c: New file.
52876
762011fe
UD
52877 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52878 * wcsmbs/test-wmemcmp.c: Likewise.
52879 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52880 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52881
528822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52883
52884 * string/Makefile (strop-tests): Add memcmp.
52885 * string/test-wmemcmp.c: New file.
52886 * string/test-memcmp.c: Add wmemcmp support.
52887
7f513ec8
RM
528882011-09-08 Roland McGrath <roland@hack.frob.com>
52889
0442afb4
RM
52890 [BZ #13153]
52891 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52892 2011-07-19 change.
52893
7f513ec8
RM
52894 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52895 garbage value in a __mach_port_mod_refs call in the cases of the
52896 task-self and thread-self ports.
52897
a12b2239
ST
528982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52899
52900 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52901
610f9ab4
AS
529022011-09-08 Andreas Schwab <schwab@redhat.com>
52903
7f513ec8 52904 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52905
48882a1a
LD
529062011-09-07 Ulrich Drepper <drepper@gmail.com>
52907
b49865be
UD
52908 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52909
fdc86bc9
UD
52910 * elf/dl-libc.c (dlerror_run): Pass back error code from
52911 dl_catch_error.
52912
c966526a
UD
52913 [BZ #13123]
52914 * elf/dl-load.c (lose): Free l_origin if it is valid.
52915
48882a1a
LD
52916 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52917 names.
52918 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52919 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52920 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52921 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52922 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52923 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52924
77a2a8b4
AZ
529252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52926
52927 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52928 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52929 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52931 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52932 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52933 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52934 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52935 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52936 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52937
24f579d8
AM
529382011-08-15 Alan Modra <amodra@gmail.com>
52939
52940 [BZ #13092]
52941 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52942 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52943 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52944 ppc_mcount to static-only-routines.
52945 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52946 __mcount_internal.
52947 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52948 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52949
3d4837df
UD
529502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52951
52952 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52953 for finite and infinity parameters.
52954
22700377
WS
529552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52956
52957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52958 and add nop instructions for throughput optimization.
52959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52960
5025581e
WS
529612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52962
52963 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52964 aligned copy for power7 with vector-scalar instructions.
52965 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52966
08a300c9
L
529672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52968
52969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52970 AVX check.
52971
59178ef9
AS
529722011-09-07 Andreas Schwab <schwab@redhat.com>
52973
52974 [BZ #13144]
52975 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52976 last change.
52977
e38ba7ab
UD
529782011-09-07 Ulrich Drepper <drepper@gmail.com>
52979
52980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52981 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52982 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52983 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52984 clock_gettime.
52985
d53a73ac
UD
529862011-09-06 Ulrich Drepper <drepper@gmail.com>
52987
fc8bffcc
UD
52988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52989 Forgot to demangle the pointer.
52990
ceaa0c5d
UD
52991 * sysdeps/i386/sysdep.h: Define atom_text_section.
52992 * sysdeps/x86_64/sysdep.h: Likewise.
52993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52994 section with atom_text_section.
52995 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52996 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52997 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52999 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53000
a77d3c17
UD
53001 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53002 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53003 already be defined. Change to take two parameters and don't assign
53004 result to variable. Adjust all users.
53005 Define INTERNAL_GETTIME if not already defined.
53006 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53007 call.
53008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53009 HAVE_CLOCK_GETTIME_VSYSCALL.
53010 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53011
d53a73ac
UD
53012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53013 gettimeofday vsyscall, just use time.
53014
a8f84144
AS
530152011-09-06 Andreas Schwab <schwab@redhat.com>
53016
53017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53018 <errno.h>.
53019
ef606249
UD
530202011-09-06 Ulrich Drepper <drepper@gmail.com>
53021
53022 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53023 syscall on x86-64.
53024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53025 syscall.
53026 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53028 syscall if possible.
53029
6585cb60
UD
530302011-09-05 Ulrich Drepper <drepper@gmail.com>
53031
53032 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53033 e_ident. Don't pass to find_mapsXX.
53034 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53035
a5f524e4
LD
530362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53037
53038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53039 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53040 * sysdeps/x86_64/multiarch/strchr.S: Update.
53041 Check bit_slow_BSF bit.
53042 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53043 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53044 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53045
554881ef
UD
530462011-09-05 Ulrich Drepper <drepper@gmail.com>
53047
d96de963
UD
53048 [BZ #13134]
53049 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53050 before glibc 2.15.
53051 (tryshell): Define.
53052 (__spawni): Change last parameter to be flag. Test
53053 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53054 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53055 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53056 * posix/spawni.c: Likewise.
53057 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53058 * posix/spawnp.c: Likewise. Change normal version to use
53059 SPAWN_XFLAGS_USE_PATH.
53060 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53061 SPAWN_XFLAGS_TRY_SHELL.
53062
d48e5868
UD
53063 [BZ #13150]
53064 * posix/glob.h: Remove gcc 1.x support.
53065
554881ef
UD
53066 [BZ #13068]
53067 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53068
693fb948
LD
530692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53070
53071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53072 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53073 strrchr-sse2-bsf
53074 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53075 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53076 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53077 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53078 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53080
1b48c537
UD
530812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53082
49d42c37
UD
53083 * sysdeps/x86_64/wcscmp.S: New file.
53084
1b48c537
UD
53085 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53086 wcscmp-c wcscmp-sse2
53087 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53088 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53089 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53090 * wcsmbs/wcscmp.c: Allow renaming.
53091
15c95c5d
DM
530922011-09-05 David S. Miller <davem@davemloft.net>
53093
53094 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53095 stack slot, rather than the struct return pointer slot.
53096 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53097 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53099 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53100
2f0ad8f3
UD
531012011-09-05 Ulrich Drepper <drepper@gmail.com>
53102
d88ae418
UD
53103 * po/ja.po: Update from translation team.
53104
2f0ad8f3
UD
53105 [BZ #13144]
53106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53107 kernel in 64-bit binaries.
53108
5f4318d1
DM
531092011-09-01 David S. Miller <davem@davemloft.net>
53110
53111 * elf/elf.h (HWCAP_SPARC_*): Move to..
53112 * sysdeps/sparc/sysdep.h: this new file and add new values.
53113 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53114 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53115 _DL_HWCAP_COUNT to 24.
53116 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53117 entries.
53118 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53119 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53120 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53122 instead of magic constants.
53123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53124
3ba57516
DM
531252011-08-31 David S. Miller <davem@davemloft.net>
53126
53127 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53129 Reimplement to do errno handling inline.
53130 (SYSCALL_ERROR_HANDLER): New macro.
53131 (__SYSCALL_STRING): Do not do errno handling in asm.
53132 (__CLONE_SYSCALL_STRING): Delete.
53133 (__INTERNAL_SYSCALL_STRING): Delete.
53134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53135 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53136 (PSEUDO): Reimplement to do errno handling inline.
53137 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53138 (SYSCALL_ERROR_HANDLER): New macro.
53139 (__SYSCALL_STRING): Do not do errno handling in asm.
53140 (__CLONE_SYSCALL_STRING): Delete.
53141 (__INTERNAL_SYSCALL_STRING): Delete.
53142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53143 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53144 i386.
53145 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53146 (inline_syscall*): Add 'err' argument.
53147 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53148 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53149 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53150 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53151
53152 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53153 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53154
2bc17433
AS
531552011-08-30 Andreas Schwab <schwab@redhat.com>
53156
53157 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53158
fbeb5f4d
JO
531592011-08-29 Jiri Olsa <jolsa@redhat.com>
53160
53161 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53162 directive.
53163
ad69cc26
DM
531642011-08-24 David S. Miller <davem@davemloft.net>
53165
53166 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53167
39dd69df
AS
531682011-08-24 Andreas Schwab <schwab@redhat.com>
53169
53170 * elf/Makefile: Add rules to build and run unload8 test.
53171 * elf/unload8.c: New file.
53172 * elf/unload8mod1.c: New file.
53173 * elf/unload8mod1x.c: New file.
53174 * elf/unload8mod2.c: New file.
53175 * elf/unload8mod3.c: New file.
53176
53177 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53178 it wasn't used.
53179
2c0b250a
DM
531802011-08-23 David S. Miller <davem@davemloft.net>
53181
53182 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53183 subtract stack bias.
53184 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53185 %sp not %fp in calculations.
53186 (_JMPBUF_UNWINDS_ADJ): Likewise.
53187
22044b48
DM
53188 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53189 (aio_suspend): Call it to force an exception region around the
53190 AIO_MISC_WAIT() invocation.
53191
2cae4995
AS
531922011-08-23 Andreas Schwab <schwab@redhat.com>
53193
53194 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53195 backslash.
53196
873a772e
AJ
531972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53198
53199 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53200 protection macro.
53201 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53202 and <dl-machine.h>.
53203 (Elf64_FuncDesc): Remove.
53204
25ad0df1
DM
532052011-08-22 David S. Miller <davem@davemloft.net>
53206
53207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53208 sigaltstack check, add missing cfi directives.
53209 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53210 missing cfi directives, and sigaltstack handling.
53211
e888bcbe
AS
532122011-08-16 Andreas Schwab <schwab@redhat.com>
53213
53214 [BZ #11724]
53215 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53216 object is seen twice.
53217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53218
53219 * elf/Makefile (distribute): Add tst-initorder2.c.
53220 (tests): Add tst-initorder2.
53221 (modules-names): Add tst-initorder2a tst-initorder2b
53222 tst-initorder2c tst-initorder2d. Add rules to build them.
53223 ($(objpfx)tst-initorder2.out): New rule.
53224 * elf/tst-initorder2.c: New file.
53225 * elf/tst-initorder2.exp: New file.
53226
87162f46
AS
532272011-08-22 Andreas Schwab <schwab@redhat.com>
53228
70538b7f
AS
53229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53230
f55ffe58
AS
53231 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53232 dependencies back to end of function.
53233
87162f46
AS
53234 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53235 $(elfobjdir)/ld.so.
53236
91b392a4
UD
532372011-08-21 Ulrich Drepper <drepper@gmail.com>
53238
53239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53240 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53242 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53243 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53244 of __vdso_gettimeofday.
53245 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53246 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53247 attribute_hidden.
53248 (_libc_vdso_platform_setup): Remove initialization of
53249 __vdso_gettimeofday and __vdso_time.
53250
5c43483f
UD
532512011-08-20 Ulrich Drepper <drepper@gmail.com>
53252
775a77e7
UD
53253 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53254 and fgetc_unlocked.
53255 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53256 getc_unlocked.
89f447ed 53257
49c74ba9
UD
53258 * elf/dl-open.c (add_to_global): Report additions to the global scope
53259 for LD_DEBUG=scopes.
53260 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53261 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53262
5c43483f
UD
53263 [BZ #13114]
53264 * stdio-common/Makefile (tests): Add bug24.
53265 * stdio-common/bug24.c: New file.
53266
a101b025
AJ
532672011-08-19 Andreas Jaeger <aj@suse.de>
53268
53269 [BZ #13114]
53270 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53271 non-existant file when using close-on-exec mode.
53272
c88f1766
UD
532732011-08-20 Ulrich Drepper <drepper@gmail.com>
53274
0276a718
UD
53275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53276 the very first instruction.
53277
c88f1766
UD
53278 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53279 the CFI state in the end.
53280 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53281 inclusion of dl-trampoline.h.
53282 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53283
51ccffa0
AS
532842011-08-19 Andreas Schwab <schwab@redhat.com>
53285
94d7165f
AS
53286 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53287 expectations for long double.
53288
51ccffa0
AS
53289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53290 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53291
fd708658 532922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53293
53294 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53295 artificual limit depends upon the system page size.
53296
44f0a71e
UD
532972011-08-17 Ulrich Drepper <drepper@gmail.com>
53298
53299 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53300 * resolv/Makefile: Define CFLAGS-libresolv.
53301
8de79a24
AS
533022011-08-17 Andreas Schwab <schwab@redhat.com>
53303
53304 * nss/makedb.c (compute_tables): Make variables used in nested
53305 function static.
53306
27724598
UD
533072011-08-17 Ulrich Drepper <drepper@gmail.com>
53308
c5305d88
UD
53309 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53310 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53311 if buffer was too small.
53312
27724598
UD
53313 * elf/pldd.c (main): Attach to all threads in the process.
53314 Rewrite /proc handling to use *at functions.
53315
076fe015
UD
533162011-08-16 Ulrich Drepper <drepper@gmail.com>
53317
174baab3
UD
53318 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53319 specifies first scope to show.
53320 (dl_open_worker): Update callers. Move printing scope of new
53321 object to before the relocation.
44f0a71e 53322 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53323 * sysdeps/generic/ldsodefs.h: Update declaration.
53324
076fe015
UD
53325 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53326 string for the scope number.
53327
a60df2c3
UD
533282011-08-14 Ulrich Drepper <drepper@gmail.com>
53329
53330 * nscd/servicescache.c (cache_addserv): Make sure written is always
53331 initialized.
53332
5e4287d1
RM
533332011-08-14 Roland McGrath <roland@hack.frob.com>
53334
85ae0589
RM
53335 * sysdeps/i386/i486/bits/atomic.h
53336 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53337 statement expression, so as to suppress "set but not used" warning.
53338 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53339
69f63097
RM
53340 * string/strncat.c (STRNCAT): Use prototype definition.
53341
675456ef
RM
53342 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53343 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53344 -Iprograms here.
53345 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53346 (localedef-modules): Add localedef.
53347 (locale-modules): Add locale.
53348
5e4287d1
RM
53349 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53350 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53351 to avoid a warning.
53352
9c96ff23
DM
533532011-08-14 David S. Miller <davem@davemloft.net>
53354
53355 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53356 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53357
f9ddf089
UD
533582011-08-13 Ulrich Drepper <drepper@gmail.com>
53359
44f0a71e 53360 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53361 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53362 * elf/rtld.c (dl_main): Set l_name of vDSO.
53363 Call _dl_show_scope when DL_DEBUG_SCOPES.
53364 (process_dl_debug): Recognize scopes flag and also set it for all.
53365 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53366 Declare _dl_show_scope.
53367
1dc27704
UD
53368 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53369 (do_dlopen): Pass caller_dlopen to dl_open.
53370 (__libc_dlopen_mode): Initialize caller_dlopen.
53371
f9ddf089
UD
53372 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53373 of libc. Make tolower call locale-independent. Optimize a bit by
53374 using isdigit instead of isalnum.
53375 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53376
9ac533d3
UD
533772011-08-12 Ulrich Drepper <drepper@gmail.com>
53378
53379 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53380 was a dependency or dynamically loaded.
53381
89edf2e9
UD
533822011-08-11 Ulrich Drepper <drepper@gmail.com>
53383
8e999d29
UD
53384 * intl/l10nflist.c: Allow architecture-specific pop function.
53385 * sysdeps/x86_64/l10nflist.c: New file.
53386
89edf2e9
UD
53387 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53388 classification.
53389
14d96785
AS
533902011-08-10 Andreas Schwab <schwab@redhat.com>
53391
53392 * include/dirent.h: Add libc_hidden_proto for scandirat and
53393 scandirat64. Don't declare __scandirat64.
53394 * dirent/scandirat.c: Add libc_hidden_def.
53395 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53396 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53397
6761ac04
DM
533982011-08-10 David S. Miller <davem@davemloft.net>
53399
53400 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53401 enum.
53402 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53405
c55fbd1e
UD
534062011-08-09 Ulrich Drepper <drepper@gmail.com>
53407
53408 * Versions.def [libc]: Add GLIBC_2.15.
53409 * dirent/Makefile (routines): Add scandirat and scandirat64.
53410 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53411 GLIBC_2.15.
53412 * dirent/dirent.h: Declare scandirat and scandirat64.
53413 * dirent/scandirat.c: New file.
53414 * dirent/scandirat64.c: New file.
53415 * sysdeps/wordsize-64/scandirat.c: New file.
53416 * sysdeps/wordsize-64/scandirat64.c: New file.
53417 * dirent/opendir.c: Define opendirat.
53418 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53419 using scandirat.
53420 * dirent/scandir64.c: Adjust for scandir.c change.
53421 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53422 __scandirat64, and __scandir_cancel_handler.
53423 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53424 additional parameter and use openat instead of open (outside of ld.so).
53425 Add new __opendir as wrapper around __opendirat.
53426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53427 here without requiring old scandirat implementation.
53428
879165f2
UD
534292011-08-08 Ulrich Drepper <drepper@gmail.com>
53430
53431 * dirent/scandir.c (cancel_handler): Renamed to
53432 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53433 defined. Adjust users.
53434 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53436
cb7e923b
UD
534372011-08-04 Ulrich Drepper <drepper@gmail.com>
53438
16292edd
UD
53439 * string/test-string.h (IMPL): Use __STRING to expand name and then
53440 stringify it.
53441
cb7e923b
UD
53442 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53443 of cleanups.
53444
cff82933
LD
534452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53446
53447 * string/Makefile: Update.
53448 (strop-tests): Append strncat.
53449 * string/test-wcscmp.c: New file.
53450 New comprehensive test for wcscmp.
53451 * string/test-strcmp.c: Update.
53452 (WIDE): New define.
53453
9be9bfcc
AS
534542011-07-22 Andreas Schwab <schwab@redhat.com>
53455
53456 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53457 line.
53458
2e96f1c7
AS
534592011-07-26 Andreas Schwab <schwab@redhat.com>
53460
53461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53462 encoding to ACE if AI_IDN.
53463
85188888
JJ
534642011-08-01 Jakub Jelinek <jakub@redhat.com>
53465
53466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53467 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53468
5fa16e9b
LD
534692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53470
53471 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53472 Fix overflow bug in strncat.
53473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53474
53475 * string/test-strncat.c: Update.
53476 Add new tests for checking overflow bugs.
53477
534782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53479
53480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53481 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53482 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53483 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53485 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53486 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53487 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53488 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53489
53490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53491 (USE_AS_STRCAT): Define.
53492 Add strcat and strncat support.
53493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53494
8c1a459f
AS
534952011-07-25 Andreas Schwab <schwab@redhat.com>
53496
53497 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53498 __n bigger than INT_MAX+1.
53499 (__strncmp_g): Likewise.
53500
bba33c28
UD
535012011-07-23 Ulrich Drepper <drepper@gmail.com>
53502
798be72d
UD
53503 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53504 * libio/stido.h: Likewise.
53505
8accd4dc
UD
53506 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53507 (AF_NFC): Define.
53508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53509 (AF_NFC): Define.
53510
cbff0d96
UD
53511 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53512 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53514 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53516
9191c04a
UD
53517 [BZ #13021]
53518 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53519 installed.
53520
bba33c28
UD
53521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53522 typo.
53523 (_dl_x86_64_save_sse): Likewise.
53524
90f139dd
UD
535252011-07-22 Ulrich Drepper <drepper@gmail.com>
53526
1aae088a
UD
53527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53528 OSXSAVE.
53529 (_dl_x86_64_save_sse): Likewise.
53530
8e2045f5
UD
53531 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53532
90f139dd
UD
53533 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53534
1d002f25
AS
535352011-07-21 Andreas Schwab <schwab@redhat.com>
53536
53537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53538 change.
53539 (_dl_x86_64_save_sse): Use correct AVX check.
53540
21137f89
UD
535412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53542
53543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53544 bug in strncpy/strncat.
53545 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53546
a65c0b7a
UD
535472011-07-21 Ulrich Drepper <drepper@gmail.com>
53548
53549 * string/tester.c (test_strcat): Add tests for different alignments
53550 of source and destination.
53551 (test_strncat): Likewise.
53552
6986b98a
UD
535532011-07-20 Ulrich Drepper <drepper@gmail.com>
53554
90bb2039
UD
53555 [BZ #12852]
53556 * posix/glob.c (glob): Check passed in values before using them in
53557 expressions to avoid some overflows.
53558 (glob_in_dir): Likewise.
53559
5644ef54
UD
53560 [BZ #13007]
53561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53562 check for AVX enablement so that we don't crash with old kernels and
53563 new hardware.
53564 * elf/tst-audit4.c: Add same checks here.
53565 * elf/tst-audit6.c: Likewise.
53566
53567 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53568
bfc9dc9b
AS
535692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53570
53571 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53572
702e64bb
UD
535732011-07-20 Ulrich Drepper <drepper@gmail.com>
53574
53575 * po/cs.po: Update from translation team.
53576 * po/bg.po: Likewise.
53577
295e904f
MP
535782011-07-12 Marek Polacek <mpolacek@redhat.com>
53579
53580 * misc/sys/cdefs.h: Add support for const attribute.
53581 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53582 to gnu_dev_{major,minor,makedev} functions.
53583
3ff94596
MP
535842011-07-20 Marek Polacek <mpolacek@redhat.com>
53585
53586 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53587
28b59fca
AS
535882011-07-20 Andreas Schwab <schwab@redhat.com>
53589
53590 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53591 strlen results.
53592
19df733e
AK
535932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53594
53595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53596 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53597 register in order to avoid conflicts with the soft frame pointer
53598 being held in r11 when necessary.
53599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53600 (INTERNAL_VSYSCALL_NCS): Likewise.
53601
c8835729
MP
536022011-07-14 Marek Polacek <mpolacek@redhat.com>
53603
53604 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53605 * elf/dl-fini.c (_dl_fini): Adjust caller.
53606 * elf/dl-close.c (_dl_close_worker): Likewise.
53607 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53608
b902330c
MP
536092011-07-15 Marek Polacek <mpolacek@redhat.com>
53610
8991e135
MP
53611 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53612 "aux_cache->nlibs < 0".
53613
b902330c
MP
53614 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53615 in the reload-count case.
53616
99710781
LD
536172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53618
53619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53620 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53621 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53622 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53623 * sysdeps/x86_64/multiarch/strcat.S: New file.
53624 * sysdeps/x86_64/multiarch/strncat.S: New file.
53625 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53626 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53627 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53628 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53630 (USE_AS_STRCAT): Define.
53631 Add strcat and strncat support.
53632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53634 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53635 * string/strncat.c: Update.
53636 (USE_AS_STRNCAT): Define.
53637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53638 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53639 and i7.
53640 * sysdeps/x86_64/multiarch/init-arch.h
53641 (bit_Prefer_PMINUB_for_stringop): New.
53642 (index_Prefer_PMINUB_for_stringop): Likewise.
53643 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53644 bit_Prefer_PMINUB_for_stringop.
53645
7dc6bd90
UD
536462011-07-19 Ulrich Drepper <drepper@gmail.com>
53647
53648 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53649 buffer64.
53650 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53651 of casting of buffer.
53652 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53653 buffer32 and buffer64.
53654 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53655 writes instead of casting of buffer.
53656 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53657 buffer32.
53658 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53659 casting of buffer.
53660
e0e72284
AS
536612011-07-19 Andreas Schwab <schwab@redhat.com>
53662
53663 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53664
feb1eb0b
UD
536652011-07-19 Ulrich Drepper <drepper@gmail.com>
53666
53667 * nscd/nscd.c (termination_handler): Don't do anything for a database
53668 if it has not yet been initialized.
53669
298711ff
UD
536702011-07-18 Ulrich Drepper <drepper@gmail.com>
53671
53672 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53673
536742011-07-15 Marek Polacek <mpolacek@redhat.com>
53675
53676 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53677
f9d68389
UD
536782011-07-18 Ulrich Drepper <drepper@gmail.com>
53679
53680 * po/nl.po: Update from translation team.
53681 * po/sv.po: Likewise.
53682
db290cf5
RM
536832011-07-16 Roland McGrath <roland@hack.frob.com>
53684
53685 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53686 now disallowed by GCC.
5c550700 53687
fd5e21c7
RM
53688 * configure.in (use-default-link): Default to yes if a test -shared
53689 link meets our qualifications.
53690 * configure: Regenerated.
53691
5c550700
RM
53692 * config.make.in (output-format): New variable.
53693 * configure.in: Check for ld --print-output-format support.
53694 * configure: Regenerated.
53695 * Makerules ($(common-objpfx)format.lds)
53696 [$(output-format) != unknown]: Just use $(output-format),
53697 instead of the linker-script munging.
53698
9fa2c032
RM
536992011-07-14 Roland McGrath <roland@hack.frob.com>
53700
a6928d51
RM
53701 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53702 of $(common-objpfx)shlib.lds.
53703 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53704
661607b3
RM
53705 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53706 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53707
9fa2c032
RM
53708 * configure.in (-z relro check): Adjust test code to add a large
53709 writable data section after it.
53710 * configure: Regenerated.
53711
defe9061
RM
537122011-07-11 Roland McGrath <roland@hack.frob.com>
53713
53714 * configure.in (-z relro check): Fix test code to make the variable
53715 truly const.
53716 * configure: Regenerated.
53717
319b9ad4
UD
537182011-07-11 Ulrich Drepper <drepper@gmail.com>
53719
53720 * nscd/nscd.h (struct traced_file): Define.
53721 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53722 elements. Add traced_files.
53723 (inotify_fd): Declare.
53724 (register_traced_file): Declare.
53725 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53726 (inotify_fd): Export.
53727 (resolv_conf_descr): Remove.
53728 (nscd_init): Move inotify descriptor creation to main.
53729 Don't register files for notification here.
53730 (register_traced_file): New function.
53731 (invalidate_cache): Don't use reset_res to determine whether to call
53732 res_init, go through the list of registered files.
53733 (main_loop_poll): The inotify descriptors are now stored in the
53734 structures for the traced files.
53735 (main_loop_epoll): Likewise
53736 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53737 to __nss_disable_nscd.
53738 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53739 for a database anymore. Check the records for all the registered
53740 files instead.
53741 * nss/Makefile (libnss_files-routines): Add files-init.
53742 (libnss_db-routines): Add db-init.
53743 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53744 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53745 * nss/nss_db/db-init.c: New file.
53746 * nss/nss_files/files-init.c: New file.
53747 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53748 __nss_lookup_function.
53749 (__nss_lookup_function): Call nss_load_library.
53750 (nss_load_all_libraries): New function.
53751 (__nss_disable_nscd): Take parameter with callback function for files
53752 to register. Set is_nscd. Load all the DSOs for the NSS modules
53753 used for the cached services.
53754 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53755 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53756 options for features to all the files in nscd.
53757
53758 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53759
23bee3e8
RM
537602011-07-10 Roland McGrath <roland@hack.frob.com>
53761
53762 * csu/elf-init.c (__libc_csu_init): Comment typo.
53763
46a5b7f0
UD
537642011-07-09 Ulrich Drepper <drepper@gmail.com>
53765
53766 * po/pl.po: Update from translation team.
53767 * po/ja.po: Likewise.
53768 * po/ru.po: Likewise.
53769 * po/ko.po: Likewise.
53770 * po/fr.po: Likewise.
53771
d30cf5bb
RM
537722011-07-09 Roland McGrath <roland@hack.frob.com>
53773
113ddea4
RM
53774 * configure.in (.ctors/.dtors header and trailer check):
53775 Use an empirical test on a built program.
53776 * configure: Regenerated.
53777
574920b4
RM
53778 * configure.in (-z relro check): Use an empirical test on a built DSO.
53779 Detect, but do not require, on ia64.
53780 * configure: Regenerated.
53781
d30cf5bb
RM
53782 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53783 Update tests that use readelf to use $READELF instead.
53784 * configure: Regenerated.
53785
8538fdb3
UD
537862011-07-08 Ulrich Drepper <drepper@gmail.com>
53787
53788 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53789 if the result is not used.
53790
04d08991
AJ
537912011-07-05 Andreas Jaeger <aj@suse.de>
53792
53793 [BZ#9696]
53794 * stdlib/tst-strtod.c: Add testcase.
53795
de283087
AD
537962011-07-07 Ulrich Drepper <drepper@gmail.com>
53797
4e5f31c8 53798 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53799 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53800 The latter has a higher limit. Take additional parameter to pass to
53801 the new function.
53802 (__pathconf): Pass file to __statfs_link_max.
53803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53804 __statfs_link_max.
53805 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53806 __statfs_link_max.
53807
de283087
AD
53808 [BZ #12868]
53809 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53811 Handle Lustre.
53812 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53813 (__statfs_filesize_max): Likewise.
53814 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53815
c75fa153
AJ
538162011-07-05 Andreas Jaeger <aj@suse.de>
53817
53818 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53819
1a544854
UD
538202011-07-06 Marek Polacek <mpolacek@redhat.com>
53821
53822 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53823 `status' variable.
53824 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53825 Likewise.
53826
6f0eec67
UD
538272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53828
53829 * Makefile (strop-tests): Add strncat.
53830 * string/test-strncat.c: New file.
53831
aae30307
UD
538322011-06-30 Marek Polacek <mpolacek@redhat.com>
53833
53834 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53835
c0cfb5eb
UD
538362011-06-21 Andreas Jaeger <aj@suse.de>
53837
53838 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53839 Copy rule from iconvdata/Makefile.
53840
01636b21
UD
538412011-07-06 Ulrich Drepper <drepper@gmail.com>
53842
53843 [BZ #12922]
53844 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53845 but no long options are defined, just return 'W'.
53846
9895c8bc
UD
538472011-06-22 Marek Polacek <mpolacek@redhat.com>
53848
53849 [BZ #9696]
53850 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53851
5d4cf042
UD
538522011-07-06 Ulrich Drepper <drepper@gmail.com>
53853
53854 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53855 netgroups to read.
960e5535 53856 (innetgr): Likewise.
5d4cf042 53857
751eb97e
RM
538582011-07-05 Roland McGrath <roland@hack.frob.com>
53859
53860 * config.make.in (install_root): Default to $(DESTDIR).
53861
f15f1e45
UD
538622011-07-05 Ulrich Drepper <drepper@gmail.com>
53863
53864 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53865
4e34ac6a
RM
538662011-07-02 Roland McGrath <roland@hack.frob.com>
53867
5e9b6af4
RM
53868 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53869
84f9ea0f
RM
53870 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53871 containing directory rather than embedding absolute directory names.
53872
ea5ee9f7
RM
53873 * scripts/check-local-headers.sh: Rewritten using awk.
53874 Match by word, not by line. Print error messages for matches.
53875 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53876
1b74661a
RM
53877 * Makerules [shlib-lds-flags empty]:
53878 ($(common-objpfx)libc_pic.opts): New target.
53879 ($(common-objpfx)libc_pic.os.clean): New target.
53880 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53881
53882 * config.make.in (OBJCOPY): New variable.
53883 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53884 * configure: Regenerated.
53885
f781ef40
RM
53886 * config.make.in (use-default-link): New variable.
53887 * configure.in (use_default_link): Grok --with-default-link to set it.
53888 * configure: Regenerated.
53889 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53890 (shlib-lds, shlib-lds-flags): Define to empty.
53891
2d4fa81e
RM
53892 * Makerules (shlib-lds): New variable.
53893 (shlib-lds-flags): New variable.
53894 (build-shlib, build-moduile, build-module-asneeded): Use it.
53895 ($(common-objpfx)libc.so): Use $(shlib-lds).
53896 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53897 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53898
31fffa6b
RM
53899 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53900 DT_FLAGS/DT_FLAGS_1 with zero flags.
53901
4e34ac6a
RM
53902 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53903 linker script munging.
53904
fcfc776b
UD
539052011-07-02 Ulrich Drepper <drepper@gmail.com>
53906
53907 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53908 as 128-bit value.
53909 * crypt/sha512.c (sha512_process_block): Perform total addition using
53910 128-bit if possible.
53911 (__sha512_finish_ctx): Likewise.
53912 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53913 as 64-bit value.
53914 * crypt/sha256.c (SWAP64): Define.
53915 (sha256_process_block): Perform total addition using 64-bit if
53916 possible.
53917 (__sha256_finish_ctx): Likewise.
53918
99231d9a
UD
539192011-07-01 Ulrich Drepper <drepper@gmail.com>
53920
53921 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53923 * nscd/hstcache.c (cache_addhst): Likewise.
53924 * nscd/grpcache.c (cache_addgr): Likewise.
53925 * nscd/aicache.c (addhstaiX): Likewise
53926 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53927
445b4a53
TK
539282011-07-01 Thorsten Kukuk <kukuk@suse.de>
53929
53930 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53932 * nscd/hstcache.c (cache_addhst): Likewise.
53933 * nscd/grpcache.c (cache_addgr): Likewise.
53934 * nscd/aicache.c (addhstaiX): Likewise
53935
6d4d8e8e
AS
539362011-07-01 Andreas Schwab <schwab@redhat.com>
53937
53938 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53939 domain only when needed.
53940
89f654c5
AS
539412011-06-30 Andreas Schwab <schwab@redhat.com>
53942
53943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53944 is always restored.
53945
cf3b23ff
UD
539462011-06-29 Ulrich Drepper <drepper@gmail.com>
53947
53948 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53949 are re-adding the entry.
53950 * nscd/servicescache.c (cache_addserv): Likewise.
53951
751626f9
AJ
539522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53953
53954 * sysdeps/generic/dl-irel.h: fix protection against multiple
53955 inclusions.
53956 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53957
9113ea1f
UD
539582011-06-28 Ulrich Drepper <drepper@gmail.com>
53959
5c0b8d90
UD
53960 [BZ #12935]
53961 * malloc/memusage.sh: Fix quoting in message.
53962 * debug/xtrace.sh: Likewise.
53963
9113ea1f
UD
53964 * configure.in: Remove support for --experimental-malloc option, make
53965 it the default.
53966 * config.make.in: Likewise.
53967 * malloc/Makefile: Likewise.
53968
a4172181
AS
539692011-06-27 Andreas Schwab <schwab@redhat.com>
53970
53971 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53972 two-byte characters.
53973
78a7eee7
RM
539742011-06-27 Roland McGrath <roland@hack.frob.com>
53975
62bede13
RM
53976 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53977 AC_CACHE_CHECK invocation.
53978 * configure: Regenerated.
53979
78a7eee7
RM
53980 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53981
5ce33a62
UD
539822011-06-27 Ulrich Drepper <drepper@gmail.com>
53983
034807a9
UD
53984 [BZ #12350]
53985 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53986 bit from old_res_options.
53987
4902da17
UD
53988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53989
5ce33a62
UD
53990 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53991 value type for setfct.
53992
c2344f56
L
539932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53994
53995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53996 __gettimeofday instead of gettimeofday.
53997
68468076
UD
539982011-06-26 Ulrich Drepper <drepper@gmail.com>
53999
54000 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54001
acb0d739
L
540022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54003
54004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54005
54006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54007 info.
54008
8912479f
L
540092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54010
54011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54012 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54013 strcpy-sse2-unaligned strncpy-sse2-unaligned
54014 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54015 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54016 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54017 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54018 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54019 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54021 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54022 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54023 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54024 (STRCPY): Support SSE2 and SSSE3 versions.
54025
d5495a11
UD
540262011-06-24 Ulrich Drepper <drepper@gmail.com>
54027
54028 [BZ #12874]
54029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54030 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54031 kernels which artificially limit size of requests.
54032
0b1cbaae
L
540332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54034
54035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54036 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54037 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54038 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54039 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54040 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54041 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54042 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54045 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54046 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54047 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54048 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54049 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54051 Enable unaligned load optimization for Intel Core i3, i5 and i7
54052 processors.
54053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54054 Define.
54055 (index_Fast_Unaligned_Load): Define.
54056 (HAS_FAST_UNALIGNED_LOAD): Define.
54057
07f494a0
MP
540582011-06-23 Marek Polacek <mpolacek@redhat.com>
54059
54060 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54061
fa3fc0fe
UD
540622011-06-22 Ulrich Drepper <drepper@gmail.com>
54063
54064 [BZ #12907]
54065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54066 until it is clear that the information is realy needed.
54067 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54068
e12df166
AS
540692011-06-22 Andreas Schwab <schwab@redhat.com>
54070
54071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54072
852eb34d
UD
540732011-06-22 Ulrich Drepper <drepper@gmail.com>
54074
84e2a551
UD
54075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54076 /sys/devices/system/cpu/online if it is usable.
54077
852eb34d
UD
54078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54079 reading the information from the /proc filesystem to once a second.
54080
6e502e19
UD
540812011-06-21 Andreas Jaeger <aj@suse.de>
54082
54083 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54084 NULL after inclusion of kernel headers.
54085
75d39ff2
UD
540862011-06-21 Ulrich Drepper <drepper@gmail.com>
54087
51f9aa6a
UD
54088 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54089 calls to internal_setent.
54090
c0244a9d
UD
54091 [BZ #12885]
54092 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54093 addresses using gethostbyname4_r ignore IPv4 addresses.
54094
c5e3c2ae
UD
54095 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54096 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54097
75d39ff2
UD
54098 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54099
42675c6f
DM
541002011-06-20 David S. Miller <davem@davemloft.net>
54101
54102 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54103 inclusions.
54104 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54105
54106 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54107 (elf_irel): Use it.
54108 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54109 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54110 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54111 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54112 * sysdeps/x86_64/dl-irel.h: Likewise.
54113
54114 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54115 * elf/dl-sym.c: Likewise.
54116
57912a71
UD
541172011-06-15 Ulrich Drepper <drepper@gmail.com>
54118
54119 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54120 need to dereference resplen2.
54121
ee22793d
AS
541222011-06-14 Andreas Schwab <schwab@redhat.com>
54123
54124 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54125
a9e836b0
UD
541262011-06-15 Ulrich Drepper <drepper@gmail.com>
54127
77fb9117
UD
54128 * Makeconfig: Define vardbdir and inst_vardbdir.
54129 * nss/Makefile: Add rules to install db-Makefile.
54130
40c1b22c
UD
54131 * nss/nss_db/db-XXX.c: Cleanup.
54132
9f2da732
UD
54133 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54134 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54135 GLIBC_PRIVATE.
54136 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54137 * nss/makedb.c: Implement -g option to specify that value strings
54138 are generated and should not be added to table iterated over for
54139 get*ent calls.
54140 * nss/nss_db/db-initgroups.c: New file.
54141
82e9a1f7
UD
54142 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54143 interface.
54144
c41af17e
UD
54145 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54146 (internal_getgrouplist): Adjust to name change.
54147 Update use_initgroups_entry if this is not the first call.
54148 * nss/databases.def: Add initgroups entry.
54149
a9e836b0
UD
54150 * nss/makedb.c (compute_tables): Check result of multiple hash table
54151 sizes to minimize maximum chain length.
54152
2666d441
UD
541532011-06-14 Ulrich Drepper <drepper@gmail.com>
54154
54155 * Versions.def: Add entry for libnss_db.
54156 * shlib-versions: Likewise.
54157 * nss/Makefile: Add rules to build libnss_db.
54158 * nss/Versions: Add libnss_db information. Organize libnss_files
54159 entries better.
54160 * nss/db-Makefile: Add gshadow support. Change rules for the new
54161 makedb progra. Some minor improvements to generate smaller files.
54162 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54163 here from...
54164 * nss/makedb.c: ...here.
54165 Improve database format to be smaller and require less memory at
54166 runtime.
54167 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54168 db anymore.
54169 * nss/nss_db/db-netgrp.c: Likewise.
54170 * nss/nss_db/db-open.c: Likewise.
54171 * nss/nss_files/flies-XXX.x: Adjust comments.
54172 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54173 * nss/nss_files/files-grp.c: Likewise.
54174 * nss/nss_files/files-hosts.c: Likewise.
54175 * nss/nss_files/files-network.c: Likewise.
54176 * nss/nss_files/files-proto.c: Likewise.
54177 * nss/nss_files/files-pwd.c: Likewise.
54178 * nss/nss_files/files-rpc.c: Likewise.
54179 * nss/nss_files/files-service.c: Likewise.
54180 * nss/nss_files/files-sgrp.c: Likewise.
54181 * nss/nss_files/files-spwd.c: Likewise.
54182 * nss/nss_db/db-alias.c: Removed.
54183 * nss/nss_db/dummy-db.h: Removed.
54184
9ee76b5a
UD
541852011-06-02 Ulrich Drepper <drepper@gmail.com>
54186
54187 * nss/makedb.c: Rewritten to not use database library.
54188 * nss/Makefile: Update to build new makedb program.
54189
c71ca1f8
AJ
541902011-06-14 Andreas Jaeger <aj@suse.de>
54191
54192 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54193 memset declaration.
54194
3154bfb8
UD
541952011-06-10 Andreas Schwab <schwab@redhat.com>
54196
54197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54198 tmpbuf.
54199
b350afab
RM
542002011-06-10 Roland McGrath <roland@hack.frob.com>
54201
decd4e50
RM
54202 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54203 * elf/Makefile ($(objpfx)ld.so): Likewise.
54204
5615eaf2
RM
54205 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54206 Don't list ld.so twice in dependencies.
54207
54208 * posix/bug-regex31.c: Include <stdlib.h>.
54209
54210 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54211
54212 * nis/nss_compat/compat-spwd.c
54213 (getspent_next_nss_netgr): Remove unused variable.
54214 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54215
54216 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54217 nonmembers" output to use the right array.
54218
54219 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54220
54221 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54222
54223 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54224 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54225 * catgets/gencat.c (read_input_file): Likewise.
54226 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54227
54228 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54229 variable definition inside #if's controlling its use.
54230
54231 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54232
54233 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54234
54235 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54236
54237 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54238 unreachable code.
54239
54240 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54241
b68e08db
RM
54242 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54243 * configure: Regenerated.
54244
b350afab
RM
54245 * Makerules: Revert last change.
54246 * elf/Makefile: Likewise.
54247
28368601
RM
542482011-06-09 Roland McGrath <roland@hack.frob.com>
54249
54250 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54251 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54252 (reloc-link): Likewise.
54253
11988f8f
UD
542542011-06-09 Ulrich Drepper <drepper@gmail.com>
54255
54256 * elf/Makefile: Add rules to build pldd.
54257 * elf/pldd.c: New file.
54258 * elf/pldd-xx.c: New file.
54259
e80fab37
UD
542602011-06-07 Ulrich Drepper <drepper@gmail.com>
54261
54262 * version.h: Update for 2.15 development version.
54263
9b849836
DM
542642011-06-07 David S. Miller <davem@davemloft.net>
54265
54266 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54267 ifuncs.
54268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54269 elf_machine_lazy_rel): Likewise.
54270 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54271 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54272 elf_machine_lazy_rel): Likewise.
54273 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54274 dl_hwcap via passed in argument.
54275 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54276 Likewise.
54277
5a31b283
AK
542782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54279
54280 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54281
069e52f8
RM
542822011-06-06 Roland McGrath <roland@hack.frob.com>
54283
54284 [BZ #12849]
54285 * manual/fdl-1.1.texi: New file, verbatim from:
54286 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54287 * manual/lgpl-2.1.texi: New file, verbatim from:
54288 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54289 * manual/Makefile (licenses): New variable, list those new file names.
54290 (texis): Use it.
54291 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54292
54293 * manual/fdl.texi: File removed.
54294 * manual/lesser.texi: File removed.
54295 * manual/libc.texinfo (Copying, Documentation License):
54296 Use new @include file names, put @appendix directive before @include.
54297
f16846a5
JJ
542982011-06-04 Jakub Jelinek <jakub@redhat.com>
54299
54300 [BZ #12841]
54301 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54302 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54303 (mq_open): Add __NTH.
54304
3d29045b
L
543052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54306
54307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54308 Assume Intel Core i3/i5/i7 processor if AVX is available.
54309
8c297311
UD
543102011-05-31 Ulrich Drepper <drepper@gmail.com>
54311
54312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54313 typo.
54314
c8fc0c91
UD
543152011-05-31 Andreas Schwab <schwab@redhat.com>
54316
54317 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54318 memory. Use alloca_account. Fix memory leak when retrying.
54319
5b27a807
UD
543202011-05-31 Ulrich Drepper <drepper@gmail.com>
54321
356f8bc6
UD
54322 * version.h (RELEASE): Bump for 2.14 release.
54323 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54324
5b27a807
UD
54325 * config.make.in (RANLIB): Remove entry.
54326
01f16ab0
UD
543272011-05-30 Ulrich Drepper <drepper@gmail.com>
54328
41fce8bd
UD
54329 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54330 (libc.pot): Work around missing support for .ksh extension in xgettext.
54331
4769ae77
UD
54332 [BZ #12684]
54333 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54334 if both request failed.
54335 (send_dg): In case of server errors clear resplen or *resplen2.
54336
6b1e7d19
UD
54337 [BZ #12454]
54338 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54339 when there are multiple maps.
54340 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54341 (_dl_fini): Remove test here.
54342
01f16ab0
UD
54343 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54344
b1ebd700
UD
543452011-05-29 Ulrich Drepper <drepper@gmail.com>
54346
7ae22829
UD
54347 [BZ #12350]
54348 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54349 bit from old_res_options.
54350 (gaih_inet): Likewise.
54351
553149f6 54352 [BZ #11099]
18a84741 54353 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54354 as signed.
54355
652ffab1
UD
54356 * resolv/res_init.c (res_setoptions): Make the code more compact.
54357
16985fd0
UD
54358 [BZ #11558]
54359 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54360 set RES_USEVC.
54361
0464f746
UD
54362 [BZ #11634]
54363 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54364
7d17596c
UD
54365 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54366
cf6bbbd7
UD
54367 [BZ #11781]
54368 * malloc/malloc.h: Declare malloc hook variables as volatile.
54369
13f1ab36
UD
54370 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54371 in last patch.
54372
b1ebd700
UD
54373 [BZ #11799]
54374 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54375 raise in the comment.
80e2212d
UD
54376 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54377 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54378 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54379
ce67228d
UD
543802011-05-28 Ulrich Drepper <drepper@gmail.com>
54381
8887a920
UD
54382 [BZ #12811]
54383 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54384 grow the buffers more if it already has to be sufficient.
54385 (build_wcs_upper_buffer): Likewise.
54386 * posix/regexec.c (check_matching): Likewise.
54387 (clean_state_log_if_needed): Likewise.
54388 (extend_buffers): Don't enlarge buffers beyond size of the input
54389 buffer.
54390 Patches mostly by Emil Wojak <emil@wojak.eu>.
54391 * posix/bug-regex32.c: New file.
54392 * posix/Makefile (tests): Add bug-regex32.
54393
4f031072
UD
54394 * locale/findlocale.c (_nl_find_locale): Return right away if
54395 _nl_explode_name failed.
54396 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54397
d0478f0c
UD
54398 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54399
de81b246
UD
54400 * debug/xtrace.sh: Unify messages.
54401 * malloc/memusage.sh: Likewise.
54402
c738465a
UD
54403 [BZ #12813]
54404 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54405 time symbol from vDSO. Substitute with vsyscall if not available.
54406 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54407 __vdso_time.
54408
f1f929d7
UD
54409 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54410 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54411 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54412 Add sendmmsg and internal_sendmmsg.
54413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54414 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54416
ce67228d
UD
54417 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54418 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54420
e57420c6
UD
544212011-05-27 Ulrich Drepper <drepper@gmail.com>
54422
a8509ca5
UD
54423 [BZ #12813]
54424 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54425 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54426 available.
54427 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54428 __vdso_getcpu.
54429
e57420c6
UD
54430 [BZ #12814]
54431 * iconvdata/Makefile (tests): Add bug-iconv9.
54432 * iconvdata/bug-iconv9.c: New file.
54433
4d07db15
AS
544342011-05-27 Andreas Schwab <schwab@redhat.com>
54435
54436 [BZ #12814]
54437 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54438
ea486f69
JJ
544392011-05-25 Jakub Jelinek <jakub@redhat.com>
54440
54441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54442 (struct user_regs_struct): Change intcs field back to cs.
54443
6f038433
UD
544442011-05-25 Ulrich Drepper <drepper@gmail.com>
54445
54446 * po/ja.po: Update from translation team.
54447
67f86a25
UD
544482011-05-23 Ulrich Drepper <drepper@gmail.com>
54449
54450 [BZ #12795]
54451 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54452 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54453
def7fbd6
AS
544542011-05-20 Andreas Schwab <schwab@redhat.com>
54455
54456 * stdlib/longlong.h: Update from GCC.
54457
f50ef8f1
AS
544582011-05-23 Andreas Schwab <schwab@redhat.com>
54459
54460 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54461 parameter name.
54462 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54463 Add parameter name.
54464 (__sysconf): Pass it down.
54465
de7ce8f1
UD
544662011-05-22 Ulrich Drepper <drepper@gmail.com>
54467
f2962a71
UD
54468 [BZ #12671]
54469 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54470 some situations.
54471 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54472 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54473 add in in __libc_use_alloca calls. Adjust callers.
54474 (glob): Use malloc in some situations.
54475
de7ce8f1
UD
54476 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54477 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54478 pltexit.
54479
aec84f53
UD
544802011-05-21 Ulrich Drepper <drepper@gmail.com>
54481
05bb4a68
UD
54482 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54483 and CLOCK_BOOTTIME_ALARM.
54484
7ea72f99
UD
54485 [BZ #12782]
54486 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54487 is returned.
54488
7e4afad5
UD
54489 * string/_strerror.c (__strerror_r): Print negative errors as signed
54490 numbers.
54491
8e211fec
UD
54492 [BZ #12777]
54493 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54494 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54495 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54496
f7d82dc9
UD
54497 * configure.in: Fix typo in redirection and correct removal of test
54498 files in two cases.
54499
cc9e536d
UD
54500 [BZ #12788]
54501 * locale/setlocale.c (new_composite_name): Fix test to check for
54502 identical name of all categories.
54503
aec84f53
UD
54504 [BZ #12792]
54505 * libio/filedoalloc.c (local_isatty): New function.
54506 (_IO_file_doallocate): Use local_isatty.
54507 * stdio-common/perror.c (perror): In case a new stream is used
54508 forward the stream error.
54509 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54510 error flag.
54511
78e64fdc
RT
545122011-05-20 Ulrich Drepper <drepper@gmail.com>
54513
34a9094f
UD
54514 [BZ #11869]
54515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54516 alloca.
54517 * include/alloca.h (extend_alloca_account): Define.
54518
78e64fdc
RT
54519 [BZ #11857]
54520 * posix/regex.h: Fix comments with documentation of user-accessible
54521 fields after compilation and describe correct free'ing of pattern
54522 after re_compile_pattern.
54523 Patch by Reuben Thomas <rrt@sc3d.org>.
54524
457bddfc
RA
545252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54526
54527 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54528 and -mno-altivec to prevent the compiler from using Altivec and/or
54529 VSX instructions when the corresponding registers are not available.
54530
a4527b51
AS
545312011-05-19 Andreas Schwab <schwab@redhat.com>
54532
54533 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54534
ed690b2f
UD
545352011-05-19 Ulrich Drepper <drepper@gmail.com>
54536
54537 * libio/freopen.c (freopen): Use __dup2, not dup2.
54538 * libio/freopen64.c (freopen64): Likewise.
54539
8db73634
L
545402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54541
54542 [BZ #12775]
54543 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54544 * math/Makefile (tests): Add test-powl.
54545 (CFLAGS-test-powl.c): Define.
54546 * math/test-powl.c: New file.
54547
0a197a9d
L
545482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54549
54550 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54551
ee30c380
UD
545522011-05-17 Ulrich Drepper <drepper@gmail.com>
54553
54554 [BZ #11837]
54555 * iconvdata/gb18030.c: Update to GB18020-2005.
54556
6ce75379
UD
545572011-05-16 Ulrich Drepper <drepper@gmail.com>
54558
a4b89fd8
AR
54559 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54560 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54561 Patch by Aharon Robbins <arnold@skeeve.com>.
54562
ea389b12
UD
54563 [BZ #11892]
54564 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54565 on the stack.
54566
68a3f91f
UD
54567 [BZ #11895]
54568 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54569 through underflows.
54570
15cc7dd1
UD
54571 [BZ #12766]
54572 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54573 point to strings before performing equality test for error_one_per_line
54574 mode.
54575
f3799213
UD
54576 [BZ #11697]
54577 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54578
d79a9c94
UD
54579 [BZ #11820]
54580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54581 (struct user_fpregs_struct): Avoid __uint*_t types.
54582
56e5eb46
UD
54583 [BZ #6420]
54584 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54585 symbol info. Use it instead of calling _dl_addr locally.
54586 (lock_and_info): New function.
54587 (tr_freehook): Call lock_and_info and pass symbol info as additional
54588 parameter to tr_where.
54589 (tr_mallochook): Likewise.
54590 (tr_reallochook): Likewise.
54591 (tr_memalignhook): Likewise.
54592
6ce75379
UD
54593 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54594 used and couldn't be at all thread-safe.
54595
f8a3b5bf
UD
545962011-05-15 Ulrich Drepper <drepper@gmail.com>
54597
94b7cc37
UD
54598 * libio/freopen.c (freopen): Don't close old file descriptor
54599 before the new one is opened. Instead dup the new file descriptor
54600 to the old one after the new stream is created.
54601 * libio/freopen64.c (freopen64): Likewise.
54602 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54603 * libio/fileops.c (_IO_new_file_close_it): Handle new
54604 _IO_FLAGS2_NOCLOSE flag.
54605 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54606 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54607 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54608 _IO_FLAGS2_NOCLOSE flag.
54609 * include/unistd.h: Add hidden_proto for dup3.
54610 Define __have_dup3.
54611 * io/dup3.c: Define hidden symbol.
54612 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54613
bd25564e
UD
54614 [BZ #7101]
54615 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54616 when an incomplete long option is used.
54617 * posix/tst-getopt_long1.c: New file.
54618 * posix/Makefile (tests): Add tst-getopt_long1.
54619
c84cfef4
UD
54620 [BZ #10138]
54621 * scripts/config.guess: Update from autoconf-2.68.
54622 * scripts/config.sub: Likewise.
54623
3b85df27
UD
54624 [BZ #10157]
54625 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54626 tests into ...
54627 (has_cpuclock): ...this. New function.
54628 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54629 macro here based on has_cpuclock code.
54630
15a856b1
UD
54631 [BZ #10149]
54632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54633 First byte (not low byte) is now always NUL.
54634 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54635
05f399e6
UD
54636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54637 Use non-cancelable interfaces.
54638
10a52685 54639 [BZ #9809]
94ecc67d
UD
54640 * locale/iso-639.def: Add entry for Sorani.
54641
f8a3b5bf
UD
54642 [BZ #11901]
54643 * include/stdlib.h: Move include protection to the right place.
54644 Define abort_msg_s. Declare __abort_msg with it.
54645 * stdlib/abort.c (__abort_msg): Adjust type.
54646 * assert/assert.c (__assert_fail_base): New function. Majority
54647 of code from __assert_fail. Allocate memory for __abort_msg with
54648 mmap.
54649 (__assert_fail): Now call __assert_fail_base.
54650 * assert/assert-perr.c: Remove bulk of implementation. Use
54651 __assert_fail_base.
54652 * include/assert.hL Declare __assert_fail_base.
54653 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54654 mmap.
54655 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54656
1af4e298
UD
546572011-05-14 Ulrich Drepper <drepper@gmail.com>
54658
f8a3b5bf 54659 [BZ #11952]
d26dfc60
MG
54660 [BZ #12453]
54661 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54662 until all modules are registered in the DTV.
54663 * elf/Makefile: Add rules to build and run tst-tls19.
54664 * elf/tst-tls19.c: New file.
54665 * elf/tst-tls19mod1.c: New file.
54666 * elf/tst-tls19mod2.c: New file.
54667 * elf/tst-tls19mod3.c: New file.
54668 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54669
2fc54d6f
UD
54670 [BZ #12083]
54671 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54672 correctly.
54673
98d76b46
UD
54674 [BZ #12601]
54675 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54676 two-byte sequence errors.
54677 * iconvdata/Makefile (tests): Add bug-iconv8.
54678 * iconvdata/bug-iconv8.c: New file.
54679
da3c19ef
UD
54680 [BZ #12626]
54681 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54682 buf2 definition.
54683
ca408c15
UD
54684 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54685
d6f67f7d
UD
54686 [BZ #12432]
54687 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54688 (dummy_getcfa): New function.
54689 (init): Get _Unwind_GetCFA address, use dummy if not found.
54690 (backtrace_helper): In recursion check, also check whether CFA changes.
54691 (__backtrace): Completely initialize arg.
54692
1af4e298 54693 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54694 storing incomplete byte sequence in state object. Avoid testing for
54695 guaranteed too small input if we know there is enough data available.
1af4e298 54696
da62f81b
AS
546972011-05-11 Andreas Schwab <schwab@redhat.com>
54698
54699 * Makeconfig (+link-pie): Indent.
54700 * Rules (binaries-pie): Define if $(have-fpie) and
54701 $(build-shared).
54702 (binaries-shared): Also filter out $(binaries-pie).
54703 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54704 * nscd/Makefile (others-pie): Add nscd.
54705 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54706 ($(objpfx)nscd): Remove command override.
54707 * login/Makefile (others-pie): Add pt_chown.
54708 ($(objpfx)pt_chown): Remove command override.
54709 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54710 remove command overrides.
54711
fcabc0f8
UD
547122011-05-13 Ulrich Drepper <drepper@gmail.com>
54713
20030ae6
UD
54714 * libio/tst_putwc.c: Fix error messages.
54715
fcabc0f8
UD
54716 [BZ #12724]
54717 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54718 currently writing and seek to current position when not.
54719 * libio/Makefile (tests): Add bug-fclose1.
54720 * libio/bug-fclose1.c: New file.
54721
320a5dc0
PB
547222011-05-12 Ulrich Drepper <drepper@gmail.com>
54723
54724 [BZ #12511]
54725 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54726 don't set DF_1_NODELETE here.
54727 (do_lookup_x): When entering new entry test for copy relocation
54728 and if necessary set DF_1_NODELETE flag.
54729 * elf/tst-unique4.cc: New file.
54730 * elf/tst-unique4.h: New file.
54731 * elf/tst-unique4lib.cc: New file.
54732 * elf/Makefile: Add rules to build and run tst-unique4.
54733 Patch by Piotr Bury <pbury@goahead.com>.
54734
22836f52
UD
547352011-05-11 Ulrich Drepper <drepper@gmail.com>
54736
f574184a
UD
54737 [BZ #12052]
54738 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54739
e1fb097f
UD
54740 [BZ #12625]
54741 * misc/mntent_r.c (addmntent): Flush the stream after the output
54742
22836f52
UD
54743 [BZ #12393]
54744 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54745 (is_trusted_path_normalize): Skip initial colon. Append slash
54746 to empty buffer. Duplicate is_trusted_path code but allow
54747 constructed patch to be prefix.
54748 (is_dst): Allow $ORIGIN followed by /.
54749 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54750 Correct testing of result of is_trusted_path_normalize
54751 (decompose_rpath): Fix warning.
54752
7b3b0b2a
UD
547532011-05-10 Ulrich Drepper <drepper@gmail.com>
54754
54755 [BZ #11257]
54756 * grp/initgroups.c (internal_getgrouplist): When we found the service
54757 list through the initgroups entry in nsswitch.conf do not always
54758 continue on a successful lookup. Don't always use the
eac80ce2 54759 __nss_group_database value if it is set.
7b3b0b2a
UD
54760 * nss/nsswitch.conf (initgroups): Change action for successful db
54761 lookup to continue for compatibility.
54762
2a81eaa5
UD
547632011-05-09 Ulrich Drepper <drepper@gmail.com>
54764
be97a69e
UD
54765 [BZ #11532]
54766 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54767 and CP774 modules.
54768 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54769 and CP774 modules.
54770 * iconvdata/tst-tables.sh: Likewise.
54771 * iconvdata/cp770.c: New file.
54772 * iconvdata/cp771.c: New file.
54773 * iconvdata/cp772.c: New file.
54774 * iconvdata/cp773.c: New file.
54775 * iconvdata/cp774.c: New file.
54776 * iconvdata/testdata/CP770: New file.
54777 * iconvdata/testdata/CP770..UTF8: New file.
54778 * iconvdata/testdata/CP771: New file.
54779 * iconvdata/testdata/CP771..UTF8: New file.
54780 * iconvdata/testdata/CP772: New file.
54781 * iconvdata/testdata/CP772..UTF8: New file.
54782 * iconvdata/testdata/CP773: New file.
54783 * iconvdata/testdata/CP773..UTF8: New file.
54784 * iconvdata/testdata/CP774: New file.
54785 * iconvdata/testdata/CP774..UTF8: New file.
54786
54787 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54788 END CHARMAP line.
54789 * iconvdata/gen-8bit-gap.sh: Likewise.
54790 * iconvdata/gen-8bit.sh: Likewise.
54791
c1e9e399
UD
54792 * locale/iso-639.def: Add ary entry.
54793
24c55fb3 54794 [BZ #11258]
96b4b1b0
UD
54795 * locale/C-translit.h.in: Add U20A1 transliteration.
54796
bdc2f971
KB
54797 [BZ #12178]
54798 * locale/iso-639.def: Add wae entry.
54799 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54800
2952b117
UD
54801 [BZ #12545]
54802 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54803 for n.
54804
2a81eaa5
UD
54805 [BZ #12711]
54806 * locale/C-translit.h.in: Add entry for U20B9.
54807 Patch by pravin.d.s@gmail.com.
54808
28377d1b
UD
548092011-05-08 Ulrich Drepper <drepper@gmail.com>
54810
7fb90fb8
UD
54811 [BZ #12713]
54812 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54813 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54814 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54815 in rtld. Use *stat64.
7fb90fb8 54816 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54817 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54818 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54819 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54820 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54821 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54822 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54823 __fstatat64 macros.
7fb90fb8
UD
54824 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54825 * dirent/rewinddir.c: Add libc_hidden_def.
54826 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54827 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54828
28377d1b
UD
54829 * include/dirent.h (__alloc_dir): Add flags parameter.
54830 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54831 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54832 __alloc_dir.
54833 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54834 from fdopendir if O_CLOEXEC is already set.
54835
66bdbaa4
AM
548362011-03-15 Alan Modra <amodra@gmail.com>
54837
54838 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54839 l_tls_firstbyte_offset non-zero. Save padding offset in
54840 l_tls_firstbyte_offset for later use.
54841 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54842 freeing static tls block.
54843
95721191
JN
548442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54845
54846 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54847 where #ifdef was intended. The intent is to prevent ARG_MAX from
54848 being defined by the kernel headers.
54849
f87dfb1f
UD
548502011-05-07 Ulrich Drepper <drepper@gmail.com>
54851
54852 [BZ #12734]
54853 * resolv/resolv.h: Define RES_NOTLDQUERY.
54854 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54855 no-tld-query and set RES_NOTLDQUERY.
54856 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54857 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54858 modern BIND to search name as TLD unless forbidden.
54859
47c3cd7a
UD
548602011-05-07 Petr Baudis <pasky@suse.cz>
54861 Ulrich Drepper <drepper@gmail.com>
54862
54863 [BZ #12393]
54864 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54865 (is_trusted_path): ...to here.
c1e9ea35 54866 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54867 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54868 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54869
8a35c912
PP
548702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54871
54872 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54873 __BEGIN/__END_DECLS.
54874
acd41f47
UD
548752011-05-06 Ulrich Drepper <drepper@gmail.com>
54876
54877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54878 NSS_STATUS_NOTFOUND if no record was found.
54879
597df647
AS
548802011-05-05 Andreas Schwab <schwab@redhat.com>
54881
54882 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54883 (headers-not-in-tirpc): Remove rpc/netdb.h
54884 * resolv/netdb.h: Revert last change.
54885
b9af1301
PP
548862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54887
54888 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54889 circular dependency between libgcc.a and libc.a.
54890
4e34d5f5
AS
548912011-05-05 Andreas Schwab <schwab@redhat.com>
54892
54893 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54894 * nis/Makefile: Don't install rpcsvc/*.
54895 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54896 instead of <rpc/types.h>.
54897 (MAXHOSTNAMELEN): Define.
54898
00ee369c
AS
548992011-05-03 Andreas Schwab <schwab@redhat.com>
54900
54901 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54902
0b592a30
MB
549032011-04-28 Maciej Babinski <mbabinski@google.com>
54904
54905 [BZ #12714]
54906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54907 gethostbyname4_r when IPv6 results are possible.
54908
6e04cbbe
UD
549092011-05-02 Ulrich Drepper <drepper@gmail.com>
54910
54911 [BZ #12723]
54912 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54913 _PC_PIPE_BUF handling.
54914
e4ecafe0
BH
549152011-04-30 Bruno Haible <bruno@clisp.org>
54916
54917 [BZ #12717]
54918 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54919 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54920 to 'int'.
54921 * inet/getnameinfo.c (getnameinfo): Likewise.
54922
125ee683
UD
549232011-04-29 Ulrich Drepper <drepper@gmail.com>
54924
54925 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54926 to groups setting in database lookup.
54927 * nss/nsswitch.conf: Add initgroups entry.
54928
b722481a
EB
549292011-04-22 Ulrich Drepper <drepper@gmail.com>
54930
54931 [BZ #12685]
54932 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54933 mode string.
54934 Patch by Eric Blake <eblake@redhat.com>.
54935
4df46dbd
L
549362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54937
54938 * sunrpc/Makefile (need-export-routines): Add svc_run.
54939 (routines): Remove svc_run.
54940 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54941 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54942 * sunrpc/svc_run.c (svc_run): Likewise.
54943 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54944
e84142d2
UD
549452011-04-21 Ulrich Drepper <drepper@gmail.com>
54946
54947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54948 problem in reallocation in last patch.
54949
877175d8
UD
549502011-04-20 Ulrich Drepper <drepper@gmail.com>
54951
54952 * sunrpc/Makefile: Move inclusion of Rules.
54953
ab8eed78
UD
549542011-04-19 Ulrich Drepper <drepper@gmail.com>
54955
54956 * nss/nss_files/files-initgroups.c: New file.
54957 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54958 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54959 _nss_files_initgroups_dyn.
54960
e3d8f584
RS
549612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54962
54963 * elf/elf.h (R_ARM_IRELATIVE): Define.
54964
af190f45
UD
549652011-04-19 Ulrich Drepper <drepper@gmail.com>
54966
54967 * po/ru.po: Update from translation team.
54968
53cf59ef
UD
549692011-04-17 Ulrich Drepper <drepper@gmail.com>
54970
54971 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54972 dependencies.
54973
4c559bcd
MF
549742011-02-06 Mike Frysinger <vapier@gentoo.org>
54975
54976 [BZ #12653]
54977 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54978 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54982
4420675c
AS
549832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54984
54985 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54986 differing bytes.
54987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54990
75ea32ab
UD
549912011-04-17 Ulrich Drepper <drepper@gmail.com>
54992
54993 [BZ #12420]
54994 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54995 storing it.
54996 * stdlib/bug-getcontext.c: New file.
54997 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54998
27390476
AK
549992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55000
55001 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55002 instructions into .machine "z9-109".
55003 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55004 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55005
10442705
AK
550062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55007
55008 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55009 between environment variables and auxiliary vector.
55010
7b57bfe5
UD
550112011-04-16 Ulrich Drepper <drepper@gmail.com>
55012
55013 * Makefile: Add rules to build linkobj/libc.so.
55014 * include/libc-symbols.h: Define libc_hidden_nolink.
55015 * include/rpc/auth.h: Mark functions which are to be hidden.
55016 * include/rpc/auth_des.h: Likewise.
55017 * include/rpc/auth_unix.h: Likewise.
55018 * include/rpc/clnt.h: Likewise.
55019 * include/rpc/des_crypt.h: Likewise.
55020 * include/rpc/key_prot.h: Likewise.
55021 * include/rpc/pmap_clnt.h: Likewise.
55022 * include/rpc/pmap_prot.h: Likewise.
55023 * include/rpc/pmap_rmt.h: Likewise.
55024 * include/rpc/rpc_msg.h: Likewise.
55025 * include/rpc/svc.h: Likewise.
55026 * include/rpc/svc_auth.h: Likewise.
55027 * include/rpc/xdr.h: Likewise.
55028 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55029 * nss/Makefile: Likewise.
55030 * sunrpc/Makefile: Don't install headers. Build library with normal
55031 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55032 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55033 for the compat linking library. Remove use of INTDEF/INTUSE.
55034 * sunrpc/auth_none.c: Likewise.
55035 * sunrpc/auth_unix.c: Likewise.
55036 * sunrpc/authdes_prot.c: Likewise.
55037 * sunrpc/authuxprot.c: Likewise.
55038 * sunrpc/clnt_gen.c: Likewise.
55039 * sunrpc/clnt_perr.c: Likewise.
55040 * sunrpc/clnt_raw.c: Likewise.
55041 * sunrpc/clnt_simp.c: Likewise.
55042 * sunrpc/clnt_tcp.c: Likewise.
55043 * sunrpc/clnt_udp.c: Likewise.
55044 * sunrpc/clnt_unix.c: Likewise.
55045 * sunrpc/des_crypt.c: Likewise.
55046 * sunrpc/des_soft.c: Likewise.
55047 * sunrpc/get_myaddr.c: Likewise.
55048 * sunrpc/key_call.c: Likewise.
55049 * sunrpc/key_prot.c: Likewise.
55050 * sunrpc/netname.c: Likewise.
55051 * sunrpc/pm_getmaps.c: Likewise.
55052 * sunrpc/pm_getport.c: Likewise.
55053 * sunrpc/pmap_clnt.c: Likewise.
55054 * sunrpc/pmap_prot.c: Likewise.
55055 * sunrpc/pmap_prot2.c: Likewise.
55056 * sunrpc/pmap_rmt.c: Likewise.
55057 * sunrpc/publickey.c: Likewise.
55058 * sunrpc/rpc_cmsg.c: Likewise.
55059 * sunrpc/rpc_common.c: Likewise.
55060 * sunrpc/rpc_dtable.c: Likewise.
55061 * sunrpc/rpc_prot.c: Likewise.
55062 * sunrpc/rpc_thread.c: Likewise.
55063 * sunrpc/rtime.c: Likewise.
55064 * sunrpc/svc.c: Likewise.
55065 * sunrpc/svc_auth.c: Likewise.
55066 * sunrpc/svc_authux.c: Likewise.
55067 * sunrpc/svc_raw.c: Likewise.
55068 * sunrpc/svc_run.c: Likewise.
55069 * sunrpc/svc_simple.c: Likewise.
55070 * sunrpc/svc_tcp.c: Likewise.
55071 * sunrpc/svc_udp.c: Likewise.
55072 * sunrpc/svc_unix.c: Likewise.
55073 * sunrpc/svcauth_des.c: Likewise.
55074 * sunrpc/xcrypt.c: Likewise.
55075 * sunrpc/xdr.c: Likewise.
55076 * sunrpc/xdr_array.c: Likewise.
55077 * sunrpc/xdr_float.c: Likewise.
55078 * sunrpc/xdr_intXX_t.c: Likewise.
55079 * sunrpc/xdr_mem.c: Likewise.
55080 * sunrpc/xdr_rec.c: Likewise.
55081 * sunrpc/xdr_ref.c: Likewise.
55082 * sunrpc/xdr_sizeof.c: Likewise.
55083 * sunrpc/xdr_stdio.c: Likewise.
55084
e6c61494
UD
550852011-04-10 Ulrich Drepper <drepper@gmail.com>
55086
55087 [BZ #12650]
55088 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55089 * sysdeps/ia64/dl-tls.h: Likewise.
55090 * sysdeps/powerpc/dl-tls.h: Likewise.
55091 * sysdeps/s390/dl-tls.h: Likewise.
55092 * sysdeps/sh/dl-tls.h: Likewise.
55093 * sysdeps/sparc/dl-tls.h: Likewise.
55094 * sysdeps/x86_64/dl-tls.h: Likewise.
55095 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55096
34fe483e
AS
550972011-03-14 Andreas Schwab <schwab@redhat.com>
55098
55099 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55100 rpath element also skip the following colon.
55101 (expand_dynamic_string_token): Add is_path parameter and pass
55102 down to DL_DST_REQUIRED and _dl_dst_substitute.
55103 (decompose_rpath): Call expand_dynamic_string_token with
55104 non-zero is_path. Ignore empty rpaths.
55105 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55106 with zero is_path.
55107
f12a32e6
AS
551082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55109
55110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55111 Make cancelable.
55112
38a7d692
UD
551132011-04-09 Ulrich Drepper <drepper@gmail.com>
55114
55115 [BZ #12655]
55116 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55117 Patch by Filipe David Manana <fdmanana@apache.org>.
55118
e451d22b
AS
551192011-04-07 Andreas Schwab <schwab@redhat.com>
55120
55121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55122 Maintain aligned stack.
55123 (CHECK_RSP): Remove unused macro.
55124
dedc7c7b
UD
551252011-04-03 Ulrich Drepper <drepper@gmail.com>
55126
55127 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55128 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55129
94521213
UD
551302011-04-02 Ulrich Drepper <drepper@gmail.com>
55131
55132 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55133
8cb700c0 55134 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55135
0354e355
L
551362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55137
55138 [BZ #12518]
55139 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55140 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55141 * sysdeps/x86_64/memmove.c: New file.
55142 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55143 (memcpy): Renamed to ...
55144 (__new_memcpy): This.
55145 (memcpy): Provide GLIBC_2_14 memcpy.
55146 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55147 (memcpy): Provide GLIBC_2_2_5 memcpy.
55148
8593482f
UD
551492011-04-01 Ulrich Drepper <drepper@gmail.com>
55150
55151 [BZ #12631]
55152 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55153
81a5726b
AS
551542011-03-30 Andreas Schwab <schwab@redhat.com>
55155
55156 * misc/syncfs.c: New file.
55157 * misc/Makefile (routines): Add syncfs.
55158 * posix/unistd.h: Declare syncfs.
55159 * sysdeps/unix/syscalls.list: Add syncfs.
55160
00e5419f
AS
551612011-04-01 Andreas Schwab <schwab@redhat.com>
55162
55163 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55164 open_by_handle_at.
55165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55170 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55172
748876bf
UD
551732011-04-01 Ulrich Drepper <drepper@gmail.com>
55174
658e451d
UD
55175 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55177 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55182
748876bf
UD
55183 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55184 sync_file_range.c with -fexceptions.
55185 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55186 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55187 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55188 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55189 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55190 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55192 sync_file_range as cancellation point
55193 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55194 now a wrapper around __call_sync_file_range with cancellation handling.
55195 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55196 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55197 function name to __call_sync_file_range.
55198 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55199 Add call_sync_file_range.
748876bf 55200
6e63d5e1
AS
552012011-04-01 Andreas Schwab <schwab@redhat.com>
55202
55203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55204 bits/timex.h.
6e63d5e1 55205
46998f74
UD
552062011-04-01 Ulrich Drepper <drepper@gmail.com>
55207
4c1423ed
UD
55208 * iconv/iconv.h: Fix typo in comment.
55209 * io/fcntl.h: Likewise.
55210 * libio/stdio.h: Likewise.
55211 * posix/spawn.h: Likewise.
55212 * posix/unistd.h: Likewise.
55213 * stdlib/stdlib.h: Likewise.
55214 * time/time.h: Likewise.
55215 * wcsmbs/wchar.h: Likewise.
55216
158648c0
UD
55217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55218 open_by_handle): Add.
55219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55220 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55221 Augment a few comments.
55222 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55227 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55228 open_by_handle.
55229
46998f74
UD
55230 * io/fcntl.h (AT_EMPTY_PATH): Define.
55231
83fe108b
UD
552322011-03-30 Ulrich Drepper <drepper@gmail.com>
55233
55234 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55235 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55236 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55237 to...
55238 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55239 * Versions.def: Add GLIBC_2.14.
55240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55241 Export.
83fe108b 55242
bb242059
UD
552432011-03-22 Ulrich Drepper <drepper@gmail.com>
55244
55245 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55246 round counter.
55247 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55248
c97a1282
L
552492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55250
55251 [BZ #12597]
55252 * string/test-strncmp.c (do_page_test): New function.
55253 (check2): Likewise.
55254 (test_main): Call check2.
55255 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55256
2a115601
UD
552572011-03-20 Ulrich Drepper <drepper@gmail.com>
55258
55259 [BZ #12587]
55260 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55261 Handle cache information in CPU leaf 4.
55262 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55263
8126d904
UD
552642011-03-18 Ulrich Drepper <drepper@gmail.com>
55265
042c49c6 55266 [BZ #12583]
8126d904
UD
55267 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55268 character representation.
55269 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55270
ccfe366e
RA
552712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55272
55273 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55274 END(__isnan) to END(__isnanf) to match function entry point/label
55275 EALIGN(__isnanf,...).
55276
c6e13027
JJ
552772011-03-10 Jakub Jelinek <jakub@redhat.com>
55278
55279 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55280
33f85a3f
UD
552812011-03-10 Ulrich Drepper <drepper@gmail.com>
55282
028478fa
UD
55283 [BZ #12510]
55284 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55285 copy from the symbol referenced in the relocation to initialize the
55286 used variable.
55287 Patch by Piotr Bury <pbury@goahead.com>.
55288 * elf/Makefile: Add rules to build and tst-unique3.
55289 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55290 * elf/tst-unique3.cc: New file.
55291 * elf/tst-unique3.h: New file.
55292 * elf/tst-unique3lib.cc: New file.
55293 * elf/tst-unique3lib2.cc: New file.
55294
33f85a3f
UD
55295 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55296
03592fc7
MF
552972011-03-10 Mike Frysinger <vapier@gentoo.org>
55298
55299 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55300 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55301 to _start.
03592fc7 55302
6a5ee102
UD
553032011-03-06 Ulrich Drepper <drepper@gmail.com>
55304
55305 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55306 to-be-loaded object along a path to loader is ld.so.
55307
7e4ba49c
HJ
553082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55309 Ulrich Drepper <drepper@gmail.com>
55310
55311 * sysdeps/x86_64/memset.S: After aligning destination, code
55312 branches to different locations depending on the value of
55313 misalignment, when multiarch is enabled. Fix this.
55314
553152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55316
55317 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55318 Set _x86_64_preferred_memory_instruction for AMD processsors.
55319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55320 Set bit_Prefer_SSE_for_memop for AMD processors.
55321
13a804de
UD
553222011-03-04 Ulrich Drepper <drepper@gmail.com>
55323
55324 * libio/fmemopen.c (fmemopen): Optimize a bit.
55325
9d25c392
AS
553262011-03-03 Andreas Schwab <schwab@redhat.com>
55327
55328 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55329
a5543c6a
RM
553302011-03-03 Roland McGrath <roland@redhat.com>
55331
55332 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55333
012d35f7
DM
553342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55335
7e4ba49c 55336 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55337 __bzero_ultra1 instead of __memset_ultra1.
55338
4bff6e01
AS
553392011-02-23 Andreas Schwab <schwab@redhat.com>
55340 Ulrich Drepper <drepper@gmail.com>
55341
55342 [BZ #12509]
55343 * include/link.h (struct link_map): Add l_orig_initfini.
55344 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55345 returning unsuccessfully.
55346 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55347 close of a file loaded at startup, restore the original l_initfini
55348 list.
55349 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55350 list, store the pointer.
55351 * elf/Makefile ($(objpfx)noload-mem): New rule.
55352 (noload-ENV): Define.
55353 (tests): Add $(objpfx)noload-mem.
55354 * elf/noload.c: Include <memcheck.h>.
55355 (main): Call mtrace. Close all opened handles.
55356
f2092faf
AS
553572011-02-17 Andreas Schwab <schwab@redhat.com>
55358
55359 [BZ #12454]
55360 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55361 dependencies are missing.
55362
6c8a2e88
ST
553632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55364
f2092faf 55365 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55366 Hurd needs munmap.
55367 * sysdeps/mach/hurd/ifreq.h: New file.
55368
84a42118
PB
553692011-01-27 Petr Baudis <pasky@suse.cz>
55370 Ulrich Drepper <drepper@gmail.com>
55371
071f805e 55372 [BZ 12445]#
84a42118
PB
55373 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55374 to extend_alloca().
55375 * stdio-common/bug23.c: New file.
55376 * stdio-common/Makefile (tests): Add bug23.
55377
e23fe25b
AS
553782010-09-28 Andreas Schwab <schwab@redhat.com>
55379 Ulrich Drepper <drepper@gmail.com>
55380
55381 [BZ #12489]
55382 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55383 before performing relro protection. At old place add assertion
55384 to make sure nothing changed.
55385
d3f02e10
NS
553862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55387 Glauber de Oliveira Costa <glommer@gmail.com>
55388
55389 * elf/elf.h: Add new ARM TLS relocs.
55390
d55fd7a5
RA
553912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55392
55393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55394 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55395 cast from r3.
55396 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55397 'tests' variable.
55398 * sysdeps/wordsize-64/tst-writev.c: New file.
55399
2206397e
RA
554002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55401
55402 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55403 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55404 insns in _dl_start to prevent a TOC reference before relocs are
55405 resolved.
55406
e9433893
UD
554072011-02-15 Ulrich Drepper <drepper@gmail.com>
55408
55409 [BZ #12469]
55410 * Makeconfig: Remove RANLIB definition.
55411 * Makerules: Don't use RANLIB.
55412 * aclocal.m4: Remove ranlib test.
55413 * configure.in: No need to check for ranlib.
55414 * elf/rtld-Rules: Don't use RANLIB.
55415
f75286c6
ST
554162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55417
8e31c82d
ST
55418 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55419 protection macro.
55420 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55421 inclusion protection macro.
55422
f75286c6
ST
55423 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55424 SIGRTMIN and SIGRTMAX and print information in that case only when
55425 SIGRTMIN is defined.
55426
c1d0e639
JJ
554272011-02-11 Jakub Jelinek <jakub@redhat.com>
55428
55429 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55430 arginfo fn returning -1.
55431
55432 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55433 and thousands string is zero terminated.
55434
edf9294e
AS
554352011-02-03 Andreas Schwab <schwab@redhat.com>
55436
55437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55438 sysdeps/unix/sysv/linux/bits/socket.h.
55439
2b7e92df
ST
554402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55441
edf9294e
AS
55442 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55443 (__CPU_COUNT): Remove old macros.
55444 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55445 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55446 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55447 (__sched_cpualloc, __sched_cpufree): Add declarations.
55448
a4c7ea7b
UD
554492011-02-05 Ulrich Drepper <drepper@gmail.com>
55450
55451 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55452 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55453 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55454 (readdhstai): Return value of addhstaiX call.
55455 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55456 (addgrbyX): Return value returned by cache_addgr.
55457 (readdgrbyname): Return value returned by addgrbyX.
55458 (readdgrbygid): Likewise.
55459 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55460 (addpwbyX): Return value returned by cache_addpw.
55461 (readdpwbyname): Return value returned by addhstbyX.
55462 (readdpwbyuid): Likewise.
55463 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55464 (addservbyX): Return value returned by cache_addserv.
55465 (readdservbyname): Return value returned by addservbyX:
55466 (readdservbyport): Likewise.
55467 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55468 (addhstbyX): Return value returned by cache_addhst.
55469 (readdhstbyname): Return value returned by addhstbyX.
55470 (readdhstbyaddr): Likewise.
55471 (readdhstbynamev6): Likewise.
55472 (readdhstbyaddrv6): Likewise.
55473 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55474 (readdinitgroups): Return value returned by addinitgroupsX.
55475 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55476 (prune_cache): Keep track of timeout value of re-added entries.
55477 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55478 * nscd/nscd.h: Adjust prototypes of readd* functions.
55479
a0bf67cc
RM
554802011-02-04 Roland McGrath <roland@redhat.com>
55481
55482 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55483 (nis_stats): Likewise.
55484 * nis/nis_modify.c (nis_modify): Likewise.
55485 * nis/nis_remove.c (nis_remove): Likewise.
55486 * nis/nis_add.c (nis_add): Likewise.
55487
55488 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55489
55490 * posix/fnmatch_loop.c: Add some consts.
55491
55492 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55493
435b95eb
L
554942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55495
55496 [BZ #12460]
55497 * config.make.in (config-cflags-novzeroupper): Define.
55498 * configure.in: Substitute libc_cv_cc_novzeroupper.
55499 * elf/Makefile (AVX-CFLAGS): Define.
55500 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55501 (CFLAGS-tst-auditmod4a.c): Likewise.
55502 (CFLAGS-tst-auditmod4b.c): Likewise.
55503 (CFLAGS-tst-auditmod6b.c): Likewise.
55504 (CFLAGS-tst-auditmod6c.c): Likewise.
55505 (CFLAGS-tst-auditmod7b.c): Likewise.
55506 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55507
8517b15e
UD
555082011-02-02 Ulrich Drepper <drepper@gmail.com>
55509
55510 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55511 function to the callback.
55512 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55513
10a656fe
AS
555142011-02-02 Andreas Schwab <schwab@redhat.com>
55515
55516 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55517 of errno.
55518
968dad0a
UD
555192011-01-19 Ulrich Drepper <drepper@gmail.com>
55520
9f94d2ea 55521 [BZ #11724]
968dad0a
UD
55522 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55523 of constructors.
55524 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55525 of destructors.
55526 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55527
55528 [BZ #11724]
55529 * elf/Makefile: Add rules to build and run new test.
55530 * elf/tst-initorder.c: New file.
55531 * elf/tst-initorder.exp: New file.
55532 * elf/tst-initordera1.c: New file.
55533 * elf/tst-initordera2.c: New file.
55534 * elf/tst-initordera3.c: New file.
55535 * elf/tst-initordera4.c: New file.
55536 * elf/tst-initorderb1.c: New file.
55537 * elf/tst-initorderb2.c: New file.
55538 * elf/tst-order-a1.c: New file.
55539 * elf/tst-order-a2.c: New file.
55540 * elf/tst-order-a3.c: New file.
55541 * elf/tst-order-a4.c: New file.
55542 * elf/tst-order-b1.c: New file.
55543 * elf/tst-order-b2.c: New file.
55544 * elf/tst-order-main.c: New file.
55545 New test case by George Gensure <werkt0@gmail.com>.
55546
86e92359
UD
555472010-10-01 Andreas Schwab <schwab@redhat.com>
55548
55549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55550 decoding ACE if AI_CANONIDN.
55551
5d5732b0
UD
555522011-01-18 Ulrich Drepper <drepper@gmail.com>
55553
55554 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55555
a77e8cbc
UD
555562011-01-17 Ulrich Drepper <drepper@gmail.com>
55557
6392473f
UD
55558 * version.h (RELEASE): Bump for 2.13 release.
55559 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55560
620a0529
UD
55561 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55562
18ba70a5
UD
55563 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55564 MADV_NOHUGEPAGE.
32465c3e
UD
55565 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55566 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55567 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55568 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55569 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55571
c0dafcf1
UD
55572 * posix/getconf.c: Update copyright year.
55573 * catgets/gencat.c: Likewise.
55574 * csu/version.c: Likewise.
55575 * debug/catchsegv.sh: Likewise.
55576 * debug/xtrace.sh: Likewise.
55577 * elf/ldconfig.c: Likewise.
55578 * elf/ldd.bash.in: Likewise.
55579 * elf/sprof.c (print_version): Likewise.
55580 * iconv/iconv_prog.c: Likewise.
55581 * iconv/iconvconfig.c: Likewise.
55582 * locale/programs/locale.c: Likewise.
55583 * locale/programs/localedef.c: Likewise.
55584 * malloc/memusage.sh: Likewise.
55585 * malloc/mtrace.pl: Likewise.
55586 * nscd/nscd.c (print_version): Likewise.
55587 * nss/getent.c: Likewise.
55588
a77e8cbc
UD
55589 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55590 PF_CAIF, and PF_ALG.
55591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55592
77e8bddf
AS
555932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55594
1f20b93a
AS
55595 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55596 (modules-names): Use them.
55597 (ifunc-test-modules, ifunc-pie-tests): Define.
55598 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55599 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55600 (test-extras): Likewise.
55601 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55602 $(compile-command.c).
55603 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55604 (all-built-dso): Define.
55605 (check-textrel.out, check-execstack.out): Depend on it.
55606
77e8bddf
AS
55607 * configure.in: Don't override --enable-multi-arch.
55608
bc425b33
UD
556092011-01-15 Ulrich Drepper <drepper@gmail.com>
55610
55611 [BZ #6812]
55612 * nscd/hstcache.c (tryagain): Define.
55613 (cache_addhst): Return tryagain not notfound for temporary errors.
55614 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55615 failed.
55616
794c3ad3
UD
556172011-01-14 Ulrich Drepper <drepper@gmail.com>
55618
70181fdd
UD
55619 [BZ #10563]
55620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55621 to make the syscall.
55622 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55623
794c3ad3
UD
55624 [BZ #12378]
55625 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55626 and fall back to matching as normal character if the string ends before
55627 the matching ']' is found. This is what POSIX requires.
55628 * posix/testfnm.c: Adjust test result.
55629 * posix/globtest.sh: Adjust test result. Add new test.
55630 * posix/tst-fnmatch.input: Likewise.
55631 * posix/tst-fnmatch2.c: Add new test.
55632
68dc9497
AS
556332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55634
55635 * elf/Makefile (check-execstack): Revert last change. Depend on
55636 check-execstack.h.
55637 (check-execstack.h): New target.
55638 (generated): Add check-execstack.h.
55639 * elf/check-execstack.c: Include "check-execstack.h".
55640 (main): Revert last change.
55641 (handle_file): Return zero if GNU_STACK is absent and
55642 DEFAULT_STACK_PERMS doesn't include PF_X.
55643
451f001b
UD
556442011-01-13 Ulrich Drepper <drepper@gmail.com>
55645
cfa28e56
UD
55646 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55647 in child fails because the descriptor is already closed.
8cf8ce17
UD
55648 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55649 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55650 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55651
1086d70d
UD
55652 [BZ #12397]
55653 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55654 syscall.
55655
451f001b
UD
55656 [BZ #10484]
55657 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55658 temporary buffer used to handle multi lookups locally.
a85b5cb4 55659 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55660
08769175
UD
556612011-01-12 Ulrich Drepper <drepper@gmail.com>
55662
55663 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55664 loader is ld.so.
55665
5e49c52e
UD
556662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55667
55668 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55669 alignment for SSE2.
55670
60522a5f
UD
556712011-01-12 Ulrich Drepper <drepper@gmail.com>
55672
55673 [BZ #12394]
55674 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55675 characters. When rounding increased number of integer digits recompute
55676 number of groups.
55677 * stdio-common/tst-grouping.c: New file.
55678 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55679
f257bbd7
UD
556802011-01-09 Ulrich Drepper <drepper@gmail.com>
55681
55682 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55683 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55684
55685 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55686 void.
55687 * bits/select.h: Likewise.
55688
fa9c15cb
UD
556892011-01-08 Ulrich Drepper <drepper@gmail.com>
55690
55691 * po/ja.po: Update from translation team.
55692
16c2895f
DM
556932011-01-04 David S. Miller <davem@sunset.davemloft.net>
55694
55695 [BZ #11155]
55696 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55697 implementation just like for lxstat, fxstatat, et al.
55698
2543fef2
JM
556992010-12-27 Jim Meyering <meyering@redhat.com>
55700
55701 [BZ #12348]
55702 * posix/regexec.c (build_trtable): Return failure indication upon
55703 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55704
98727dbe
UD
557052010-12-25 Ulrich Drepper <drepper@gmail.com>
55706
5bd6dc5c
UD
55707 [BZ #12201]
55708 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55709 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55710 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55711 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55712
97983464
UD
55713 [BZ #12207]
55714 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55715
98727dbe
UD
55716 [BZ #12204]
55717 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55718 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55719
4a531bb0
L
557202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55721
55722 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55723 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55724 script has SORT_BY_INIT_PRIORITY.
55725 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55726 NO_CTORS_DTORS_SECTIONS is defined.
55727 * elf/soinit.c: Likewise.
55728 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55729 NO_CTORS_DTORS_SECTIONS is defined.
55730 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55731 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55732 * sysdeps/sh/init-first.c: Likewise.
55733 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55734
07eb4b71
UD
557352010-12-24 Ulrich Drepper <drepper@gmail.com>
55736
55737 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55738 always use the slow path.
55739
30950a5f
RA
557402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55741
55742 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55743 similar rule which adds the sysdep directories to the header search in
55744 order to pick up the correct platform stackinfo.h.
55745 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55746 perform test if it is, otherwise return successfully without testing.
55747 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55748 DEFAULT_STACK_PERMS define in stackinfo.h.
55749 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55750 defined in stackinfo.h.
55751 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55752 DEFAULT_STACK_PERMS defined in stackinfo.h.
55753 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55754 * sysdeps/ia64/stackinfo.h: Likewise.
55755 * sysdeps/s390/stackinfo.h: Likewise.
55756 * sysdeps/sh/stackinfo.h: Likewise.
55757 * sysdeps/sparc/stackinfo.h: Likewise.
55758 * sysdeps/x86_64/stackinfo.h: Likewise.
55759 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55760 PF_X for powerpc64. Retain PF_X for powerpc32.
55761
db753e2c
UD
557622010-12-19 Ulrich Drepper <drepper@gmail.com>
55763
14b697f7
UD
55764 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55765 accurately.
db753e2c
UD
55766 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55767 GETDENTS_64BIT_ALIGNED.
55768
28300719
UD
557692010-12-14 Ulrich Drepper <dreper@gmail.com>
55770
14b697f7 55771 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55772
4f197237
AS
557732010-12-10 Andreas Schwab <schwab@redhat.com>
55774
dbb0472f
AS
55775 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55776 _GNU_SOURCE.
55777
4f197237
AS
55778 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55779 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55780 Remove __restrict.
55781 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55782 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55783
fb88ac72
UD
557842010-12-09 Ulrich Drepper <drepper@gmail.com>
55785
55786 [BZ #11655]
55787 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55788 are initialized.
55789
42acbb92
JJ
557902010-12-09 Jakub Jelinek <jakub@redhat.com>
55791
55792 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55793
c038d98d
UD
557942010-12-03 Ulrich Drepper <drepper@gmail.com>
55795
55796 * po/it.po: Update from translation team.
55797
3a4a2499
L
557982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55799
55800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55801 unused codes.
55802
1e24cf6e
UD
558032010-11-30 Ulrich Drepper <drepper@gmail.com>
55804
55805 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55806
a7690819
AS
558072010-11-24 Andreas Schwab <schwab@redhat.com>
55808
55809 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55810 specially.
55811 (gaih_getanswer_slice): Likewise.
55812
3bf8d1b1
JJ
558132010-10-20 Jakub Jelinek <jakub@redhat.com>
55814
55815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55816
6db52fbb
PB
558172010-05-31 Petr Baudis <pasky@suse.cz>
55818
55819 [BZ #11149]
55820 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55821 silently even in the chroot mode.
55822
eaca7569
UD
558232010-11-22 Ulrich Drepper <drepper@gmail.com>
55824
55825 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55826 last patch a bit. Pretty printing
55827
3056dcdb
UD
558282010-05-31 Petr Baudis <pasky@suse.cz>
55829
55830 [BZ #10085]
55831 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55832 initialization of skip_initgroups_dyn.
55833
cf7c9078
UD
558342010-11-19 Ulrich Drepper <drepper@gmail.com>
55835
55836 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55838
a1fb5e3e
UD
558392010-11-16 Ulrich Drepper <drepper@gmail.com>
55840
55841 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55842
3540d66b
AS
558432010-11-11 Andreas Schwab <schwab@redhat.com>
55844
55845 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55846 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55847 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55848 ($(objpfx)tst-fnmatch-mem): New rule.
55849 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55850 * posix/tst-fnmatch.c (main): Call mtrace.
55851
13b69574
L
558522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55853
55854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55855 Support Intel processor model 6 and model 0x2c.
55856
da93d214
LM
558572010-11-10 Luis Machado <luisgpm@br.ibm.com>
55858
55859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55860 signed comparison.
55861
8ca52c6e
L
558622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55863
55864 [BZ #12205]
55865 * string/test-strncasecmp.c (check_result): New function.
55866 (do_one_test): Use it.
55867 (check1): New function.
55868 (test_main): Use it.
55869 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55870 Support strcasecmp and strncasecmp.
55871
69da074d
UD
558722010-11-08 Ulrich Drepper <drepper@gmail.com>
55873
55874 [BZ #12194]
55875 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55876 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55877
ff02d528
L
558782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55879
55880 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55881 IFUNC support.
55882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55883 memset-x86-64.
55884 * sysdeps/x86_64/multiarch/bzero.S: New file.
55885 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55886 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55887 * sysdeps/x86_64/multiarch/memset.S: New file.
55888 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55890 Set bit_Prefer_SSE_for_memop for Intel processors.
55891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55892 Define.
55893 (index_Prefer_SSE_for_memop): Define.
55894 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55895
344d0b54
LM
558962010-11-04 Luis Machado <luisgpm@br.ibm.com>
55897
55898 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55900
c0dde15b
UD
559012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55902
55903 [BZ #12191]
55904 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55905 (__x86_64_raw_data_cache_size_half): Likewise.
55906 (__x86_64_raw_shared_cache_size): Likewise.
55907 (__x86_64_raw_shared_cache_size_half): Likewise.
55908
55909 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55910 (__x86_64_raw_data_cache_size_half): Likewise.
55911 (__x86_64_raw_shared_cache_size): Likewise.
55912 (__x86_64_raw_shared_cache_size_half): Likewise.
55913 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55914 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55915 and __x86_64_raw_shared_cache_size_half. Round
55916 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55917 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55918 to multiple of 256 bytes.
55919
0e516e0e
MS
559202010-11-03 Ulrich Drepper <drepper@gmail.com>
55921
55922 [BZ #12167]
55923 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55924 of inacessible symlinks. Verify result of symlink before returning it.
55925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55926 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55927
0e012e87
ER
559282010-10-28 Erich Ritz <erichritz@gmail.com>
55929
55930 * math/math.h (isinf): Fix typo in comment.
55931
de0ff7bc
UD
559322010-11-01 Ulrich Drepper <drepper@gmail.com>
55933
55934 * po/da.po: Update from translation team.
55935
fa41c84d
UD
559362010-10-26 Ulrich Drepper <drepper@gmail.com>
55937
55938 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55939 is added to the list.
55940
f0967738
AK
559412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55942 Ulrich Drepper <drepper@gmail.com>
55943
55944 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55945 the global list here. Move code to...
55946 (_dl_add_to_namespace_list): ...here. New function.
55947 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55948 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55949 * elf/dl-load.c (lose): Don't remove the element from the list.
55950 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55951 (_dl_map_object): Likewise.
55952
559532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55954
55955 [BZ #12159]
55956 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55957 into all bytes of SSE register.
55958 Patch by Richard Li <richardpku@gmail.com>.
55959
f0967738 559602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55961
55962 [BZ #12140]
55963 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55964 perturbing.
55965
d0b9e94f
MB
559662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55967
55968 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55969 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55970 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55973 submachine.
55974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55975
8e9f92e9
AS
559762010-10-22 Andreas Schwab <schwab@redhat.com>
55977
55978 * include/dlfcn.h (__RTLD_SECURE): Define.
55979 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55980 mode & __RTLD_SECURE instead.
55981 (open_path): Rename preloaded parameter to secure.
55982 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55983 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55984 * elf/dl-deps.c (openaux): Likewise.
55985 * elf/rtld.c (struct map_args): Remove is_preloaded.
55986 (map_doit): Don't use it.
55987 (dl_main): Likewise.
55988 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55989 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55990
bc96fbda
AS
559912010-09-09 Andreas Schwab <schwab@redhat.com>
55992
55993 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55994 (sysd-rules-targets): Remove duplicates.
55995 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55996 rtld-%.$o dependency.
55997
22cd1c9b
AS
559982010-10-18 Andreas Schwab <schwab@redhat.com>
55999
56000 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56001 _dl_map_object do it.
56002
18edac48
UD
560032010-10-19 Ulrich Drepper <drepper@gmail.com>
56004
56005 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56006 fast fma builtins, define the macros in the C99 standard.
56007 (FP_FAST_FMAF): Likewise.
56008 (FP_FAST_FMAL): Likewise.
56009 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56010
56011 * bits/mathdef.h: Update copyright year.
56012 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56013
d2050124
MM
560142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56015
56016 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56017 builtins, define the macros in the C99 standard.
56018 (FP_FAST_FMAF): Likewise.
56019 (FP_FAST_FMAL): Likewise.
56020 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56021 multiply/add.
56022 (FP_FAST_FMAF): Likewise.
56023
475facd1
JJ
560242010-10-15 Jakub Jelinek <jakub@redhat.com>
56025
56026 [BZ #3268]
56027 * math/libm-test.inc (fma_test): Some new testcases.
56028 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56030 y and infinite z. Do multiplication by C already in long double.
56031 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56033 y and infinite z. Do bitwise or of inexact bit into u.d.
56034 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56035 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56036 * sysdeps/i386/fpu/s_fma.S: Removed.
56037 * sysdeps/i386/fpu/s_fmal.S: Removed.
56038
7c08a05c
JJ
560392010-10-16 Jakub Jelinek <jakub@redhat.com>
56040
56041 [BZ #3268]
56042 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56044 computation is not scheduled after fetestexcept. Fix value
56045 of minimum denormal long double.
56046
f3f7372d
JJ
560472010-10-14 Jakub Jelinek <jakub@redhat.com>
56048
56049 [BZ #3268]
56050 * math/libm-test.inc (fma_test): Add some more tests.
56051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56052 correctly.
56053
14d43591
AS
560542010-10-15 Andreas Schwab <schwab@redhat.com>
56055
56056 * scripts/data/localplt-s390-linux-gnu.data: New file.
56057 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56058
5e908464
JJ
560592010-10-13 Jakub Jelinek <jakub@redhat.com>
56060
56061 [BZ #3268]
56062 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56063 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56064 instead of dbl-64.
56065 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56066 inlines.
56067 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56069 if one of x and y is very large and the other is subnormal.
56070 * sysdeps/s390/fpu/s_fmaf.c: New file.
56071 * sysdeps/s390/fpu/s_fma.c: New file.
56072 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56073 * sysdeps/powerpc/fpu/s_fma.S: New file.
56074 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56075 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56076 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56077
560782010-10-12 Jakub Jelinek <jakub@redhat.com>
56079
56080 [BZ #3268]
56081 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56082 fma tests.
56083 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56084 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56085 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56086 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56087 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56088 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56089 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56090
b833d51f
UD
560912010-10-12 Ulrich Drepper <drepper@redhat.com>
56092
56093 [BZ #12078]
56094 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56095 * posix/bug-regex31.input: Add test case.
56096
1751705d
UD
560972010-10-11 Ulrich Drepper <drepper@gmail.com>
56098
e9b9cbf5
UD
56099 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56100 * posix/bug-regex31.input: New file.
56101
56102 [BZ #12078]
56103 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56104 (parse_sub_exp): Fix last change, use postorder.
56105
ef06edbe
UD
56106 * posix/bug-regex31.c: New file.
56107 * posix/Makefile: Add rules to build and run bug-regex31.
56108
a129c80d
UD
56109 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56110
56111 [BZ #12078]
56112 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56113
b76b818e
UD
56114 [BZ #12108]
56115 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56116 to have entries in sys_siglist.
56117
1751705d
UD
56118 [BZ #12093]
56119 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56120 be NULL.
56121
9ff8d36f
JJ
561222010-10-07 Jakub Jelinek <jakub@redhat.com>
56123
56124 [BZ #3268]
56125 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56126 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56127 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56128 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56129 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56130 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56131 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56132 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56133 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56134 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56135 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56136 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56137 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56138 * math/ftestexcept.c (fetestexcept): Likewise.
56139 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56140 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56141 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56142 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56143 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56144 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56145 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56146
af325969
UD
561472010-10-11 Ulrich Drepper <drepper@gmail.com>
56148
c579b202 56149 [BZ #12107]
af325969
UD
56150 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56151 newline.
56152
67a67b95
UD
561532010-10-06 Ulrich Drepper <drepper@gmail.com>
56154
56155 * string/bug-strstr1.c: New file.
56156 * string/Makefile: Add rules to build and run bug-strstr1.
56157
5fb308bc
EB
561582010-10-05 Eric Blake <eblake@redhat.com>
56159
56160 [BZ #12092]
56161 * string/str-two-way.h (two_way_long_needle): Always clear memory
56162 when skipping input due to the shift table.
56163
45db99c7
UD
561642010-10-03 Ulrich Drepper <drepper@gmail.com>
56165
3b111893
UD
56166 [BZ #12005]
56167 * malloc/mcheck.c: Handle large requests.
56168
45db99c7
UD
56169 [BZ #12077]
56170 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56171 for strncmp and strncasecmp.
56172 * string/stratcliff.c: Add tests for strcmp and strncmp.
56173 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56174
cf7a1eb8
NI
561752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56176
56177 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56178 __set_fpscr.
56179
6484ba5e
AJ
561802010-09-30 Andreas Jaeger <aj@suse.de>
56181
56182 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56183 (CGROUP_SUPER_MAGIC): Define.
56184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56185 Handle btrfs and cgroup file systems.
56186 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56187 Likewise.
56188
91c42559
LM
561892010-09-27 Luis Machado <luisgpm@br.ibm.com>
56190
56191 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56192 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56193
87a97932
AK
561942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56195
56196 [BZ #12067]
56197 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56198 trying to locate the ELF header.
56199
c21cc9bc
AS
562002010-09-27 Andreas Schwab <schwab@redhat.com>
56201
56202 [BZ #11611]
56203 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56204 Mask out sign-bit copies when constructing f_fsid.
56205
315970f6
PB
562062010-09-24 Petr Baudis <pasky@suse.cz>
56207
56208 * debug/stack_chk_fail_local.c: Add missing licence exception.
56209 * debug/warning-nop.c: Likewise.
56210
1ac7a2c7
JM
562112010-09-15 Joseph Myers <joseph@codesourcery.com>
56212
56213 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56214 implementing getdents64 using getdents syscall, set d_type if
56215 __ASSUME_GETDENTS32_D_TYPE.
56216
56801c50
AS
562172010-09-16 Andreas Schwab <schwab@redhat.com>
56218
56219 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56220 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56221
dda51327
UD
562222010-09-21 Ulrich Drepper <drepper@redhat.com>
56223
56224 [BZ #12037]
56225 * posix/unistd.h: Undo change of feature selection for ftruncate from
56226 2010-01-11.
56227
8ffcee4a
UD
562282010-09-20 Ulrich Drepper <drepper@redhat.com>
56229
a545ecd9 56230 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56231 detection.
56232
e24f0a8b
AS
562332010-09-20 Andreas Schwab <schwab@redhat.com>
56234
56235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56236 fanotify_mark.
56237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56238
7291c56f
AS
562392010-09-14 Andreas Schwab <schwab@redhat.com>
56240
56241 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56242 variables after CHECK_SP call.
56243 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56244
bc5fb037
AS
562452010-09-13 Andreas Schwab <schwab@redhat.com>
56246 Ulrich Drepper <drepper@redhat.com>
56247
56248 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56249 re-relocationg ld.so.
56250 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56251 _dl_init_paths call.
56252 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56253 here anymore.
56254
e66e7419
UD
562552010-09-14 Ulrich Drepper <drepper@redhat.com>
56256
56257 * resolv/res_init.c (__res_vinit): Count the default server we added.
56258
c044aa75
CLT
562592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56260 Ulrich Drepper <drepper@redhat.com>
56261
56262 [BZ #11968]
56263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56264 (____longjmp_chk): Use %ebx for saving value across system call.
56265 Add unwind info.
56266
32cf4069
AS
562672010-09-06 Andreas Schwab <schwab@redhat.com>
56268
56269 * manual/Makefile: Don't mix pattern rules with normal rules.
56270
817328ee
AS
562712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56272
56273 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56274 operation.
56275 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56276 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56277 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56278 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56280 Likewise.
56281
29fddf61
UD
562822010-09-04 Ulrich Drepper <drepper@redhat.com>
56283
56284 [BZ #11979]
56285 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56286 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56287
0959ffc9
UD
562882010-09-02 Ulrich Drepper <drepper@redhat.com>
56289
56290 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56291 * sysdeps/x86_64/addmul_1.S: Likewise.
56292 * sysdeps/x86_64/lshift.S: Likewise.
56293 * sysdeps/x86_64/mul_1.S: Likewise.
56294 * sysdeps/x86_64/rshift.S: Likewise.
56295 * sysdeps/x86_64/sub_n.S: Likewise.
56296 * sysdeps/x86_64/submul_1.S: Likewise.
56297
ece29840
ST
562982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56299
0959ffc9
UD
56300 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56301 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56302 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56303 * bits/sched.h [__need_schedparam]
ece29840 56304 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56305 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56306 (__defined_schedparam): Define to 1.
ece29840
ST
56307 (__sched_param): New structure, identical to sched_param.
56308 (__need_schedparam): Undefine.
56309
e53a31fe
MF
563102010-08-31 Mike Frysinger <vapier@gentoo.org>
56311
fdc0c10d
MF
56312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56313 (epoll_create1): Declare.
56314
e53a31fe
MF
56315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56316
a726d796
AS
563172010-08-31 Andreas Schwab <schwab@redhat.com>
56318
56319 [BZ #7066]
56320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56321 shifting retval into place.
56322
2f3e3dc7
UD
563232010-09-01 Ulrich Drepper <drepper@redhat.com>
56324
f2933da9
UD
56325 * nis/rpcsvc/nis.h: Update copyright notice.
56326 * nis/rpcsvc/nis.x: Likewise.
56327 * nis/rpcsvc/nis_callback.h: Likewise.
56328 * nis/rpcsvc/nis_callback.x: Likewise.
56329 * nis/rpcsvc/nis_object.x: Likewise.
56330 * nis/rpcsvc/nis_tags.h: Likewise.
56331 * nis/rpcsvc/yp.h: Likewise.
56332 * nis/rpcsvc/yp.x: Likewise.
56333 * nis/rpcsvc/ypupd.h: Likewise.
56334 * nis/yp_xdr.c: Likewise.
56335 * nis/ypupdate_xdr.c: Likewise.
56336
2f3e3dc7
UD
56337 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56338 mainly the body of pmap_getport. Add parameters to specify timeouts.
56339 (pmap_getport): Use __libc_rpc_getport.
56340 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56341 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56342 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56343
f3dcc2f9
AS
563442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56345
56346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56347 fanotify_mark.
56348
6d34eb5b
RM
563492010-08-27 Roland McGrath <roland@redhat.com>
56350
56351 * sysdeps/i386/i686/multiarch/Makefile
56352 (CFLAGS-varshift.c): New variable.
56353
9ea3de11
UD
563542010-08-27 Ulrich Drepper <drepper@redhat.com>
56355
c96d23fc
UD
56356 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56357 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56358
9ea3de11
UD
56359 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56360
56361 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56362
623aac7f
L
563632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56364
56365 * sysdeps/x86_64/strlen.S: Unroll the loop.
56366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56367 strlen-sse2 strlen-sse2-bsf.
56368 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56369 __strlen_no_bsf if bit_Slow_BSF is set.
56370 (__strlen_sse42): Removed.
56371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56372 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56373
8b2b7715
RM
563742010-08-25 Roland McGrath <roland@redhat.com>
56375
56376 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56377 * sysdeps/x86_64/multiarch/varshift.c: New file.
56378 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56379 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56380 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56381 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56382
e73015f2
L
563832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56384
56385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56386 strlen-sse2 strlen-sse2-bsf.
56387 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56388 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56389 (__strlen_sse2): Removed.
56390 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56393 bit_Slow_BSF for Atom.
56394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56395 (index_Slow_BSF): Define.
56396 (HAS_SLOW_BSF): Define.
56397
df24a73e
UD
563982010-08-25 Ulrich Drepper <drepper@redhat.com>
56399
56400 [BZ #10851]
56401 * resolv/res_init.c (__res_vinit): When no server address at all
56402 is given default to loopback.
56403
f2ac4868
RM
564042010-08-24 Roland McGrath <roland@redhat.com>
56405
09055553
RM
56406 * configure.in: Remove config-name.h generation.
56407 * configure: Regenerated.
56408 * config-name.in: File removed.
56409 * scripts/config-uname.sh: New file.
56410 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56411 ($(objdir)config-name.h): New target.
56412
f2ac4868
RM
56413 * sunrpc/rpc_parse.h: Avoid nested comment.
56414
73f27d5e
RH
564152010-08-24 Richard Henderson <rth@redhat.com>
56416 Ulrich Drepper <drepper@redhat.com>
56417 H.J. Lu <hongjiu.lu@intel.com>
56418
56419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56421 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56422 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56423 _mm_alignr_epi8 with _mm_loadu_si128.
56424 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56425 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56426 (__m128i_shift_right): Removed.
56427 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56428 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56429 * sysdeps/x86_64/multiarch/varshift.h: New file.
56430 * sysdeps/x86_64/multiarch/varshift.S: New file.
56431
84b9230c
MF
564322010-08-21 Mike Frysinger <vapier@gentoo.org>
56433
56434 * configure.in: Move assembler checks to before sysdep dir checking.
56435
9bbd0ddc
PB
564362010-08-20 Petr Baudis <pasky@suse.cz>
56437
56438 * LICENSES: Sync the sunrpc license.
56439
9da4bb31
UD
564402010-08-19 Ulrich Drepper <drepper@redhat.com>
56441
a7ab6ec8
UD
56442 * sunrpc/auth_des.c: Update copyright notice once again.
56443 * sunrpc/auth_none.c: Likewise.
56444 * sunrpc/auth_unix.c: Likewise.
56445 * sunrpc/authdes_prot.c: Likewise.
56446 * sunrpc/authuxprot.c: Likewise.
56447 * sunrpc/bindrsvprt.c: Likewise.
56448 * sunrpc/clnt_gen.c: Likewise.
56449 * sunrpc/clnt_perr.c: Likewise.
56450 * sunrpc/clnt_raw.c: Likewise.
56451 * sunrpc/clnt_simp.c: Likewise.
56452 * sunrpc/clnt_tcp.c: Likewise.
56453 * sunrpc/clnt_udp.c: Likewise.
56454 * sunrpc/clnt_unix.c: Likewise.
56455 * sunrpc/des_crypt.c: Likewise.
56456 * sunrpc/des_soft.c: Likewise.
56457 * sunrpc/get_myaddr.c: Likewise.
56458 * sunrpc/getrpcport.c: Likewise.
56459 * sunrpc/key_call.c: Likewise.
56460 * sunrpc/key_prot.c: Likewise.
56461 * sunrpc/openchild.c: Likewise.
56462 * sunrpc/pm_getmaps.c: Likewise.
56463 * sunrpc/pm_getport.c: Likewise.
56464 * sunrpc/pmap_clnt.c: Likewise.
56465 * sunrpc/pmap_prot.c: Likewise.
56466 * sunrpc/pmap_prot2.c: Likewise.
56467 * sunrpc/pmap_rmt.c: Likewise.
56468 * sunrpc/rpc/auth.h: Likewise.
56469 * sunrpc/rpc/auth_unix.h: Likewise.
56470 * sunrpc/rpc/clnt.h: Likewise.
56471 * sunrpc/rpc/des_crypt.h: Likewise.
56472 * sunrpc/rpc/key_prot.h: Likewise.
56473 * sunrpc/rpc/netdb.h: Likewise.
56474 * sunrpc/rpc/pmap_clnt.h: Likewise.
56475 * sunrpc/rpc/pmap_prot.h: Likewise.
56476 * sunrpc/rpc/pmap_rmt.h: Likewise.
56477 * sunrpc/rpc/rpc.h: Likewise.
56478 * sunrpc/rpc/rpc_des.h: Likewise.
56479 * sunrpc/rpc/rpc_msg.h: Likewise.
56480 * sunrpc/rpc/svc.h: Likewise.
56481 * sunrpc/rpc/svc_auth.h: Likewise.
56482 * sunrpc/rpc/types.h: Likewise.
56483 * sunrpc/rpc/xdr.h: Likewise.
56484 * sunrpc/rpc_clntout.c: Likewise.
56485 * sunrpc/rpc_cmsg.c: Likewise.
56486 * sunrpc/rpc_common.c: Likewise.
56487 * sunrpc/rpc_cout.c: Likewise.
56488 * sunrpc/rpc_dtable.c: Likewise.
56489 * sunrpc/rpc_hout.c: Likewise.
56490 * sunrpc/rpc_main.c: Likewise.
56491 * sunrpc/rpc_parse.c: Likewise.
56492 * sunrpc/rpc_parse.h: Likewise.
56493 * sunrpc/rpc_prot.c: Likewise.
56494 * sunrpc/rpc_sample.c: Likewise.
56495 * sunrpc/rpc_scan.c: Likewise.
56496 * sunrpc/rpc_scan.h: Likewise.
56497 * sunrpc/rpc_svcout.c: Likewise.
56498 * sunrpc/rpc_tblout.c: Likewise.
56499 * sunrpc/rpc_util.c: Likewise.
56500 * sunrpc/rpc_util.h: Likewise.
56501 * sunrpc/rpcinfo.c: Likewise.
56502 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56503 * sunrpc/rpcsvc/key_prot.x: Likewise.
56504 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56505 * sunrpc/rpcsvc/mount.x: Likewise.
56506 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56507 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56508 * sunrpc/rpcsvc/rex.x: Likewise.
56509 * sunrpc/rpcsvc/rstat.x: Likewise.
56510 * sunrpc/rpcsvc/rusers.x: Likewise.
56511 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56512 * sunrpc/rpcsvc/spray.x: Likewise.
56513 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56514 * sunrpc/rtime.c: Likewise.
56515 * sunrpc/svc.c: Likewise.
56516 * sunrpc/svc_auth.c: Likewise.
56517 * sunrpc/svc_authux.c: Likewise.
56518 * sunrpc/svc_raw.c: Likewise.
56519 * sunrpc/svc_run.c: Likewise.
56520 * sunrpc/svc_simple.c: Likewise.
56521 * sunrpc/svc_tcp.c: Likewise.
56522 * sunrpc/svc_udp.c: Likewise.
56523 * sunrpc/svc_unix.c: Likewise.
56524 * sunrpc/svcauth_des.c: Likewise.
56525 * sunrpc/xcrypt.c: Likewise.
56526 * sunrpc/xdr.c: Likewise.
56527 * sunrpc/xdr_array.c: Likewise.
56528 * sunrpc/xdr_float.c: Likewise.
56529 * sunrpc/xdr_mem.c: Likewise.
56530 * sunrpc/xdr_rec.c: Likewise.
56531 * sunrpc/xdr_ref.c: Likewise.
56532 * sunrpc/xdr_sizeof.c: Likewise.
56533 * sunrpc/xdr_stdio.c: Likewise.
56534
9da4bb31
UD
56535 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56536 handling.
56537
bdaa77bc
AS
565382010-08-19 Andreas Schwab <schwab@redhat.com>
56539
56540 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56541
fe2f79db
LM
565422010-08-19 Luis Machado <luisgpm@br.ibm.com>
56543
56544 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56545 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56546 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56547 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56548 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56549 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56550 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56551 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56552 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56553 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56554 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56555 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56556 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56557 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56558
b9b42ee0
AB
565592010-07-26 Anton Blanchard <anton@samba.org>
56560
56561 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56562 * malloc/arena.c (heap_trim): Likewise.
56563
1c06ba31
UD
565642010-08-16 Ulrich Drepper <drepper@redhat.com>
56565
56566 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56567 here. Not...
56568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56569 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56570
f8392f40
L
565712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56572
56573 * sysdeps/i386/elf/Makefile: New file.
56574
3162f12e
AS
565752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56576
56577 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56578 from fanotify_init.
56579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56581
28c90b2c
UD
565822010-08-15 Ulrich Drepper <drepper@redhat.com>
56583
56584 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56585 of strncasecmp_l.
1feccb6c 56586 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56587
ca6bb004
UD
565882010-08-14 Ulrich Drepper <drepper@redhat.com>
56589
e9f82e0d
UD
56590 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56591 strncase_l-nonascii.
56592 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56593 Add strncase_l-ssse3.
56594 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56595 * sysdeps/x86_64/strcmp.S: Likewise.
56596 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56597 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56598 * sysdeps/x86_64/strncase.S: New file.
56599 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56600 * sysdeps/x86_64/strncase_l.S: New file.
56601 * string/Makefile (strop-tests): Add strncasecmp.
56602 * string/test-strncasecmp.c: New file.
56603
56604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56605 warning.
56606
ca6bb004
UD
56607 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56608 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56609
052fa7b3
AS
566102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56611
56612 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56613
962dba78
UD
566142010-08-12 Ulrich Drepper <drepper@redhat.com>
56615
56616 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56619
bebff237
AM
566202010-05-01 Alan Modra <amodra@gmail.com>
56621
56622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56623 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56624 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56625 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56626 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56627 tidying. Don't tail-call __sigjmp_save for static lib.
56628 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56629 save location.
56630 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56631 (CALL_MCOUNT): Add eh info, and nop after bl.
56632 (TAIL_CALL_SYSCALL_ERROR): New macro.
56633 (PSEUDO_RET): Use it.
56634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56635 Correct save location of integer regs and cr.
56636 (_dl_profile_resolve): Correct cr save location. Delete nops
56637 after bl when SHARED. Reduce cfi size a little by better
56638 placement of cfi directives.
56639 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56640 make a stack frame. Instead use parm save area as a temp.
56641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56642 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56644 Don't make a stack frame for parent, use parm save area.
56645 Increase child stack frame to 112 bytes. Don't save unused reg,
56646 and adjust reg usage. Set up cfi on error recovery and
56647 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56649 (__makecontext): Add dummy nop after jump to exit.
56650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56651 Use correct parm save area and cr save, reduce stack frame.
56652 Correct cfi for possible PSEUDO_RET frame setup.
56653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56654 Branch to local label emitted by PSEUDO_RET rather than
56655 __syscall_error.
56656
02637374
AS
566572010-08-12 Andreas Schwab <schwab@redhat.com>
56658
56659 [BZ #11904]
56660 * locale/programs/locale.c (print_assignment): New function.
56661 (show_locale_vars): Use it.
56662
c3e2f19b
UD
566632010-08-11 Ulrich Drepper <drepper@redhat.com>
56664
3cdaa6ad
UD
56665 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56666 field.
56667 (struct statfs64): Likewise.
56668 (_STATFS_F_FLAGS): Define.
56669 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56671 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56672 (ST_VALID): Define locally.
56673 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56674 __statvfs_getflags, use the provided value.
56675 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56676 __ASSUME_STATFS_F_FLAGS.
56677
754f7da3
UD
56678 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56679
10b3bedc
UD
56680 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56681 Add sys/fanotify.h.
56682 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56683 fanotify_mask for GLIBC_2.13.
56684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56685 fanotify_init and fanotify_mark.
56686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56687 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56688
c08fb0d7
UD
56689 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56690 Add prlimit.
56691 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56692 prlimit64 for GLIBC_2.13.
56693 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56694 prlimit64.
56695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56696 syscall.
56697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56699 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56700 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56702 add prlimit alias.
56703 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56704
15bac72b
UD
56705 [BZ #11903]
56706 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56707 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56708
c3e2f19b
UD
56709 * nss/Makefile: Add rules to build and run tst-nss-test1.
56710 * shlib-versions: Add entry for libnss_test1.
56711 * nss/nss_test1.c: New file.
56712 * nss/tst-nss-test1.c: New file.
56713
56714 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56715 (__nss_configure_lookup): Set appropriate entry in
56716 __nss_configure_lookup to true.
56717 * nss/nsswitch.h: Define enum with indeces of databases in
56718 databases and __nss_database_custom arrays. Declare
56719 __nss_database_custom.
56720 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56721 to avoid using nscd when custom rules are installed.
56722 * nss/getXXbyYY_r.c: Likewise.
56723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56724
56725 * nss/nss_files/files-parse.c: Whitespace fixes.
56726
f15ce4d8
UD
567272010-08-09 Ulrich Drepper <drepper@redhat.com>
56728
56729 [BZ #11883]
56730 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56731 * posix/fnmatch_loop.c: Likewise.
56732
d22e4cc9
AK
567332010-07-17 Andi Kleen <ak@linux.intel.com>
56734
56735 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56736 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56737 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56738 * Versions.def [GLIBC_2.13]: Add.
56739
805bc17d
UD
567402010-08-06 Ulrich Drepper <drepper@redhat.com>
56741
56742 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56743 Also fail if tpwd after pwuid call is NULL.
56744
5a42321d
ST
567452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56746
56747 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56748 when converting to ms.
56749
fd3ebeda
ST
567502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56751
56752 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56753 EOPNOTSUPP errors with ENOTTY.
56754 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56755 EOPNOTSUPP errors with ENOTTY.
56756
73507d3a
UD
567572010-07-31 Ulrich Drepper <drepper@redhat.com>
56758
56759 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56760 Add strcasecmp_l-ssse3.
56761 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56762 strcasecmp.
56763 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56765 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56766
fe36dd02
UD
567672010-07-30 Ulrich Drepper <drepper@redhat.com>
56768
66f6765a
UD
56769 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56770
42e08a54
UD
56771 * string/Makefile (strop-tests): Add strcasecmp.
56772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56773 strcasecmp_l-nonascii.
56774 (gen-as-const-headers): Add locale-defines.sym.
56775 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56776 * sysdeps/x86_64/strcasecmp.S: New file.
56777 * sysdeps/x86_64/strcasecmp_l.S: New file.
56778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56779 * sysdeps/x86_64/locale-defines.sym: New file.
56780 * string/test-strcasecmp.c: New file.
56781
fe36dd02
UD
56782 * string/test-strcasestr.c: Test both ends of the range of characters.
56783 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56784
48cbc0d6
RM
567852010-07-29 Roland McGrath <roland@redhat.com>
56786
76e6d6bc 56787 [BZ #11856]
48cbc0d6
RM
56788 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56789
880113d9
UD
567902010-07-27 Ulrich Drepper <drepper@redhat.com>
56791
56792 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56793 for ld.so.
56794
deb9cabb
AS
567952010-07-27 Andreas Schwab <schwab@redhat.com>
56796
56797 * manual/memory.texi (Malloc Tunable Parameters): Document
56798 M_PERTURB.
56799
1c7570ff
RM
568002010-07-26 Roland McGrath <roland@redhat.com>
56801
56802 [BZ #11840]
56803 * configure.in (-fgnu89-inline check): Set and substitute
56804 gnu89_inline, not libc_cv_gnu89_inline.
56805 * configure: Regenerated.
56806 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56807
24fb0f88
UD
568082010-07-26 Ulrich Drepper <drepper@redhat.com>
56809
56810 * string/test-strnlen.c: New file.
56811 * string/Makefile (strop-tests): Add strnlen.
56812 * string/tester.c (test_strnlen): Add a few more test cases.
56813 * string/tst-strlen.c: Better error reporting.
56814
56815 * sysdeps/x86_64/strnlen.S: New file.
56816
8e96b93a
UD
568172010-07-24 Ulrich Drepper <drepper@redhat.com>
56818
56819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56820 lower-latency instructions.
56821
dbc676d4
UD
568222010-07-23 Ulrich Drepper <drepper@redhat.com>
56823
56824 * string/test-strcasestr.c: New file.
56825 * string/test-strstr.c: New file.
56826 * string/Makefile (strop-tests): Add strstr and strcasestr.
56827 * string/str-two-way.h: Don't undefine MAX.
56828 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56829
f6a31e0e
AS
568302010-07-21 Andreas Schwab <schwab@redhat.com>
56831
56832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56833 strcasestr-nonascii.
56834 (CFLAGS-strcasestr-nonascii.c): Define.
56835 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56837 Remove unused attribute.
56838
5dbc3b6c
RM
568392010-07-20 Roland McGrath <roland@redhat.com>
56840
56841 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56842 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56843 ld.so.cache was broken. With it, there is no way to disable dsocaps
56844 like LD_HWCAP_MASK can disable hwcaps.
56845
23d101d8
EPM
568462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56847
56848 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56849
cc9f2e47
UD
568502010-07-16 Ulrich Drepper <drepper@redhat.com>
56851
56852 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56853 call in strcasestr.
56854 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56855 __strcasestr_sse42_nonascii.
56856 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56857 strcasestr-nonascii.c.
56858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56859
77c1b069
LM
568602010-06-15 Luis Machado <luisgpm@br.ibm.com>
56861
56862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56865 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56866
440566c3
UD
568672010-07-09 Ulrich Drepper <drepper@redhat.com>
56868
56869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56870 fcntl.
56871
5be9d05d
AS
568722010-07-06 Andreas Schwab <schwab@redhat.com>
56873
c30b7ee2 56874 [BZ #11577]
5be9d05d
AS
56875 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56876 dl_signal_cerror.
56877
8a492a67
UD
568782010-07-06 Ulrich Drepper <drepper@redhat.com>
56879
56880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56881 _PC_PIPE_BUF using F_GETPIPE_SZ.
56882
713df3d5
RM
568832010-07-05 Roland McGrath <roland@redhat.com>
56884
56885 * manual/arith.texi (Rounding Functions): Fix rint description
56886 implicit in round description.
56887
702e8f14
UD
568882010-07-02 Ulrich Drepper <drepper@redhat.com>
56889
56890 * elf/Makefile: Fix linking for a few tests to make recent linker
56891 happy.
56892
52ed8be9
AS
568932010-06-30 Andreas Schwab <schwab@redhat.com>
56894
56895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56896 $(common-objpfx)libc_nonshared.a.
56897
f47c9a11
LM
568982010-06-21 Luis Machado <luisgpm@br.ibm.com>
56899
56900 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56901 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56902 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56903 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56904 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56905 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56906 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56907 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56922 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56923 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56924 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56925 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56926 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56927 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56928 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56929 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56930 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56931 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56932 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56933 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56948
6fb8cbcb
L
569492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56950
56951 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56952 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56953 * string/memmove.c (memmove): Renamed to ...
56954 (MEMMOVE): ...this. Default to memmove.
56955 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56956 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56957 (END_CHK): Define.
56958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56959 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56960 mempcpy-ssse3-back memmove-ssse3-back.
56961 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56964 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56965 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56966 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56967 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56968 * sysdeps/x86_64/multiarch/memmove.c: New file.
56969 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56970 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56971 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56972 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56973 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56975 Define.
56976 (index_Fast_Copy_Backward): Define.
56977 (HAS_ARCH_FEATURE): Define.
56978 (HAS_FAST_REP_STRING): Define.
56979 (HAS_FAST_COPY_BACKWARD): Define.
56980
4e733bac 569812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56982
56983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56984 Restore proper fallback handling.
56985
63c4ed22
UD
569862010-06-19 Ulrich Drepper <drepper@redhat.com>
56987
ac2b484c
UD
56988 [BZ #11701]
56989 * posix/group_member.c (__group_member): Correct checking loop.
56990
63c4ed22
UD
56991 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56992 OOM in getpwuid_r correctly. Return error number when the caller
56993 should return, otherwise -1.
56994 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56995 call returning > 0 value.
56996 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56997
765ade4b
AS
569982010-06-07 Andreas Schwab <schwab@redhat.com>
56999
57000 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57001 libc_nonshared.a from targets in modules-names.
57002
80da2e09
KS
570032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57004
57005 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57006 requires it.
57007
158db122
LM
570082010-06-10 Luis Machado <luisgpm@br.ibm.com>
57009
57010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57014
caa78cf8
AS
570152010-06-02 Andreas Schwab <schwab@redhat.com>
57016
57017 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57018
b2ef2c01
UD
570192010-06-14 Ulrich Drepper <drepper@redhat.com>
57020
57021 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57022 and F_GETPIPE_SZ.
57023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57029
fbd643b6
RM
570302010-06-14 Roland McGrath <roland@redhat.com>
57031
57032 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57033
f32f2869
JJ
570342010-06-07 Jakub Jelinek <jakub@redhat.com>
57035
57036 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57037 __REDIRECT followed by __THROW.
57038 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57039 * posix/getopt.h (getopt): Likewise.
57040
2a50c078
EPM
570412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57042
57043 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57044 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57045 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57046 in AT_FLAGS.
57047 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57048 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57049
eb5ad2eb
LM
570502010-05-28 Luis Machado <luisgpm@br.ibm.com>
57051
57052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57053
3c88fe1e
L
570542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57055
57056 [BZ #11640]
57057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57058 Properly check family and model.
57059
d2f73151
TY
570602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57061
57062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57063
ebd2e13d
LM
570642010-05-24 Luis Machado <luisgpm@br.ibm.com>
57065
57066 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57067
b32b8b45
UD
570682010-05-21 Ulrich Drepper <drepper@redhat.com>
57069
57070 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57071 symbol reference.
57072
9acbe24d
AS
570732010-05-19 Andreas Schwab <schwab@redhat.com>
57074
57075 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57076 symbol reference.
57077
f0ccf6ea
AS
570782010-05-21 Andreas Schwab <schwab@redhat.com>
57079
3d04ff3a
AS
57080 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57081 and internal_recvmmsg.
57082 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57083 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57084 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57085 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57086
f0ccf6ea
AS
57087 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57088 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57089 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57090
5b08ac57
AS
570912010-05-20 Andreas Schwab <schwab@redhat.com>
57092
57093 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57094
4828935d
LM
570952010-05-17 Luis Machado <luisgpm@br.ibm.com>
57096
57097 POWER7 optimizations.
57098 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57099 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57100
373d545e
UD
571012010-05-19 Ulrich Drepper <drepper@redhat.com>
57102
57103 * version.h: Update for 2.13 development version.
57104
21a2b1ae
AS
571052010-05-12 Andrew Stubbs <ams@codesourcery.com>
57106
57107 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57108 exceptions. Return 0.
57109
3f7dcb2b
RM
571102010-05-07 Roland McGrath <roland@redhat.com>
57111
57112 * elf/ldconfig.c (main): Add a const.
57113
5f24d53a 571142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57115
a160f8d8
UD
57116 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57117 (args_options): Add no-idn option.
57118 (ahosts_keys_int): Add idn_flags to ai_flags.
57119 (parse_option): Handle 'i' option to clear idn_flags.
57120
5f24d53a
UD
57121 * malloc/malloc.c (_int_free): Possible race in the most recently
57122 added check. Only act on the data if no current modification
57123 happened.
265bb1ce
UD
57124
57125See ChangeLog.17 for earlier changes.
This page took 8.483163 seconds and 5 git commands to generate.